John Mark Bell
86a2e0076d
Fix bug #3194007 : stop emitting duplicate READY/DONE events.
...
* Make content handlers responsible for setting READY/DONE state & emitting events.
* Stop content_convert doing this when there is a registered convert function for the content type.
svn path=/trunk/netsurf/; revision=11850
2011-02-27 20:11:39 +00:00
John Mark Bell
f42ed976e5
Constify
...
svn path=/trunk/netsurf/; revision=11680
2011-02-14 19:17:08 +00:00
Michael Drake
fe7921a387
Pass clip rect as struct through content_redraw api. Update the front ends to use this. Note only RO build tested.
...
svn path=/trunk/netsurf/; revision=11670
2011-02-13 22:25:11 +00:00
John Mark Bell
79ce683b4e
Most of a stop implementation.
...
Remaining work:
1) Clone content_html_data
2) Cloning content_css_data requires the charset of the old content
3) Calling hlcache_handle_abort() before a content has been created must clean up the retrieval context.
svn path=/trunk/netsurf/; revision=10236
2010-04-04 12:41:19 +00:00
Chris Young
07537e5240
Fix compilation when building WITH_NS_SVG
...
svn path=/trunk/netsurf/; revision=10213
2010-03-30 18:12:21 +00:00
John Mark Bell
b794d694d3
It probably helps to invert the done_parse flag
...
svn path=/trunk/netsurf/; revision=10209
2010-03-30 07:09:49 +00:00
John Mark Bell
9aca901eb1
The convert stage of a content's state progression no longer reflows the content to the provided dimensions.
...
It is now defined as converting the content into a state in which it is ready for use.
The user of the content is now responsible for performing an initial reformat (sic) of the content before it can be redrawn.
Purge width/height parameters from hlcache_handle_retrieve/content_convert/*_convert APIs.
Fix up content handlers affected by the above change in semantics.
Ensure that browser_window_callback performs an initial reformat of its content.
svn path=/trunk/netsurf/; revision=10207
2010-03-29 22:33:21 +00:00
Chris Young
5b5e15c845
Fix for new-cache
...
svn path=/trunk/netsurf/; revision=10195
2010-03-28 22:11:30 +00:00
Daniel Silverstone
270ef59a98
Merge jmb/new-cache; r=dsilvers,rs=vince
...
svn path=/trunk/netsurf/; revision=10180
2010-03-28 12:56:39 +00:00
John Mark Bell
ddeadd1c02
Merge LibCSS port to trunk.
...
svn path=/trunk/netsurf/; revision=8752
2009-07-23 23:05:34 +00:00
John Mark Bell
2565a37a52
Refactor text plotter and other font functions to remove dependency on CSS.
...
svn path=/trunk/netsurf/; revision=8641
2009-07-21 10:59:53 +00:00
Michael Drake
8365d46eb7
Rename TRANSPARENT to NS_TRANSPARENT to avoid clash on Windows. By MarkieB.
...
svn path=/trunk/netsurf/; revision=8513
2009-07-14 10:57:07 +00:00
John Mark Bell
2ba7092933
Correctly propagate plot success
...
svn path=/trunk/netsurf/; revision=7611
2009-05-28 16:21:32 +00:00
John Mark Bell
8f25d44891
Squash warning.
...
svn path=/trunk/netsurf/; revision=6935
2009-03-27 02:47:16 +00:00
François Revel
53fe38504f
C89
...
svn path=/trunk/netsurf/; revision=5837
2008-11-29 22:53:58 +00:00
John Tytgat
2d1481fafc
'unsigned long' -> 'colour' where it made sense.
...
svn path=/trunk/netsurf/; revision=5459
2008-09-28 22:37:13 +00:00
John Mark Bell
430ac1db21
Convert svgtiny colours to BGR ordering when passing them to plotter APIs.
...
svn path=/trunk/netsurf/; revision=4784
2008-07-28 23:26:54 +00:00
John Tytgat
203b3289b8
- Include utils/config.h before each WITH_* test entiry enabling/disabling the object file.
...
- Add same test in corresponding header file (if there is one)
- riscos/uri.c: include riscos/uri.h and have function definitions matching the declarations.
- Disable PDF debug logging.
svn path=/trunk/netsurf/; revision=4769
2008-07-26 23:42:24 +00:00
Michael Drake
9d3b7b43fd
Update status bar when standalone images are done.
...
svn path=/trunk/netsurf/; revision=3917
2008-03-10 12:41:41 +00:00
James Bursa
5c1f3bd8c8
Move SVG code into a new library, libsvgtiny.
...
svn path=/trunk/netsurf/; revision=3837
2008-02-03 19:11:36 +00:00
James Bursa
13d479785c
Fix coordinates when redrawing an SVG within a page.
...
svn path=/trunk/netsurf/; revision=3661
2007-12-11 02:40:33 +00:00
James Bursa
f09ea1d8f1
Implement polyline, polygon, more path segment types, and more transforms.
...
svn path=/trunk/netsurf/; revision=3659
2007-12-02 05:53:31 +00:00
James Bursa
b2c0baffcd
Implement and fix more of viewBox, path, and transform.
...
svn path=/trunk/netsurf/; revision=3655
2007-11-30 03:08:02 +00:00
James Bursa
069525fe89
Add support for transform, color none, and some colours in style attribute.
...
svn path=/trunk/netsurf/; revision=3654
2007-11-29 05:56:57 +00:00
Vincent Sanders
2f864eeecc
Update all source code file headers to reflect GPL version 2 only and contain appropriate licence text
...
svn path=/trunk/netsurf/; revision=3486
2007-08-08 16:16:03 +00:00
Rob Kendrick
59f358eb0f
Wrap internal SVG renderer with appropriate #ifdef WITH_NS_SVG
...
svn path=/trunk/netsurf/; revision=3432
2007-07-18 14:49:26 +00:00
James Bursa
fe4938d592
Start on implementing SVG <path>.
...
svn path=/trunk/netsurf/; revision=3427
2007-07-17 02:45:33 +00:00
James Bursa
9cd109060a
Add SVG support for a few basic shapes.
...
svn path=/trunk/netsurf/; revision=3420
2007-07-15 23:22:54 +00:00
James Bursa
59ecedf444
Primitive SVG render (rect, text).
...
svn path=/trunk/netsurf/; revision=3405
2007-07-13 03:53:14 +00:00