John Mark Bell
dc6c58ec41
Fix transition from LOADING to ERROR state after content has been locked for conversion
...
svn path=/trunk/netsurf/; revision=12614
2011-07-20 21:39:51 +00:00
John Mark Bell
b34502af82
Refactor http utilities
...
svn path=/trunk/netsurf/; revision=12595
2011-07-08 08:38:17 +00:00
Vincent Sanders
83f9e707eb
refactor content handler initilisation to use named initialisors
...
svn path=/trunk/netsurf/; revision=12341
2011-05-09 15:32:34 +00:00
Vincent Sanders
8be1e85e91
consolidate content redraw
...
more cleanups ready for image content refactor
svn path=/trunk/netsurf/; revision=12317
2011-05-08 19:54:35 +00:00
John Mark Bell
e71691bae8
Merge branches/jmb/content-factory to trunk
...
svn path=/trunk/netsurf/; revision=12283
2011-05-06 20:40:09 +00:00
John Mark Bell
b652e1f36e
Sync with versioned libcss ABI
...
svn path=/trunk/netsurf/; revision=12008
2011-03-13 09:32:13 +00:00
John Mark Bell
ffd2e6095d
Fix matching of universal element selectors
...
svn path=/trunk/netsurf/; revision=11979
2011-03-12 18:29:40 +00:00
John Mark Bell
1bfb8c9f89
Sync API with modern libcss
...
svn path=/trunk/netsurf/; revision=11977
2011-03-12 17:51:59 +00:00
Vincent Sanders
74f108ee4d
Saturated maths in css fixed point
...
svn path=/trunk/netsurf/; revision=11975
2011-03-12 17:46:11 +00:00
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
ceadbafcbc
Clean up blank_import on exit
...
svn path=/trunk/netsurf/; revision=11818
2011-02-26 01:19:11 +00:00
John Mark Bell
daa8697651
Parallelise fetch and conversion of imported stylesheets
...
svn path=/trunk/netsurf/; revision=11817
2011-02-26 00:58:54 +00:00
John Mark Bell
28d1817bdd
Fix bug #3171370 : initialise font resolution callback pointers
...
svn path=/trunk/netsurf/; revision=11608
2011-02-03 09:31:11 +00:00
John Mark Bell
a8bc5d3916
Fix :root detection
...
svn path=/trunk/netsurf/; revision=11571
2011-01-31 23:14:13 +00:00
John Mark Bell
7661829e60
Various fixes for selection callbacks
...
svn path=/trunk/netsurf/; revision=11570
2011-01-31 22:31:47 +00:00
John Mark Bell
cf561c8a6e
Sync selection engine binding with latest libcss
...
svn path=/trunk/netsurf/; revision=11561
2011-01-31 08:49:39 +00:00
Vincent Sanders
fbb1139214
add default system colour handlers to each frontend
...
svn path=/trunk/netsurf/; revision=11530
2011-01-30 13:40:47 +00:00
John Mark Bell
cd5950936a
Add ability to dump opacity property, too
...
svn path=/trunk/netsurf/; revision=11528
2011-01-29 21:54:35 +00:00
John Mark Bell
5d27aa256f
Port to latest libcss
...
svn path=/trunk/netsurf/; revision=11526
2011-01-29 19:22:12 +00:00
John Mark Bell
850160c40f
Reflect new css_stylesheet_create API
...
svn path=/trunk/netsurf/; revision=11523
2011-01-29 14:53:18 +00:00
Michael Drake
12a9c138e6
Fix attempt to destroy selection resutls that don't exist.
...
svn path=/trunk/netsurf/; revision=11216
2011-01-05 19:53:35 +00:00
Michael Drake
08ed4c207f
Update to new libcss API for simultanious selection for base element and its pseudo elements.
...
svn path=/trunk/netsurf/; revision=11215
2011-01-05 19:36:05 +00:00
Michael Drake
3c698793a0
Make function only used in the selection code private.
...
svn path=/trunk/netsurf/; revision=11193
2011-01-04 18:02:55 +00:00
John Mark Bell
08ca689172
Reflect changes to libcss API
...
svn path=/trunk/netsurf/; revision=11001
2010-12-05 14:24:29 +00:00
John Mark Bell
73ace49c5a
Fix colours
...
svn path=/trunk/netsurf/; revision=10989
2010-12-04 21:52:26 +00:00
John Mark Bell
89683af529
Only invoke callback when we successfully converted CSS data.
...
svn path=/trunk/netsurf/; revision=10592
2010-07-01 19:42:02 +00:00
Daniel Silverstone
5e887908b3
Consolidate several 'myrealloc' functions into ns_realloc, rename one which *is* different, thereby eliminating the word 'myrealloc' from the NS codebase
...
svn path=/trunk/netsurf/; revision=10530
2010-04-30 16:06:03 +00:00
John Mark Bell
000e6ad3de
It turns out that realloc(ptr, 0) --> free(ptr) is not actually required by the C standard (whereas realloc(NULL, size) --> malloc(size) is).
...
Therefore, explicitly model the behaviour expected by our libraries (that realloc of 0 size is equivalent to free).
svn path=/trunk/netsurf/; revision=10524
2010-04-30 07:00:58 +00:00
Daniel Silverstone
c1c25e479a
Unref uri after sending it to hlcache when requesting a css pending import, so that we don't leak the uris
...
svn path=/trunk/netsurf/; revision=10503
2010-04-27 22:25:41 +00:00
Daniel Silverstone
3d31372b9d
Fix it so that empty charset strings fall back properly. Fixes http://www.arm.com/community/partners/all_partners.php
...
svn path=/trunk/netsurf/; revision=10452
2010-04-22 12:19:17 +00:00
John Mark Bell
69d0119a48
Check correct variable for error.
...
svn path=/trunk/netsurf/; revision=10428
2010-04-18 16:07:34 +00:00
John Mark Bell
7dcc15cbd4
Now that we own imported stylesheets, we can get away with allocating a single blank import and registering that.
...
svn path=/trunk/netsurf/; revision=10370
2010-04-11 19:59:59 +00:00
John Mark Bell
88449e3328
Pedantic line break
...
svn path=/trunk/netsurf/; revision=10368
2010-04-11 19:51:38 +00:00
John Mark Bell
737d6ad557
Merge jmb/kill-reentrancy. r=vince
...
svn path=/trunk/netsurf/; revision=10346
2010-04-11 10:52:18 +00:00
Daniel Silverstone
291b4480f1
Cover our backs in the charset == NULL case
...
svn path=/trunk/netsurf/; revision=10319
2010-04-08 15:41:36 +00:00
Daniel Silverstone
832ecb9ce3
Allow nscss to retain charset and nscss_clone to use it
...
svn path=/trunk/netsurf/; revision=10318
2010-04-08 15:40:17 +00:00
John Mark Bell
1c6d8c7e47
Prevent assertion when imported stylesheet fails to load.
...
svn path=/trunk/netsurf/; revision=10256
2010-04-06 19:31:23 +00:00
John Mark Bell
69f02e926f
Make the high-level cache drop contents of unacceptable type on the floor.
...
svn path=/trunk/netsurf/; revision=10238
2010-04-04 17:17:24 +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
John Mark Bell
43a99ab683
Constify data parameter to *_process_data
...
svn path=/trunk/netsurf/; revision=10234
2010-04-03 16:37:36 +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
Rob Kendrick
974f42f8cf
Only obey size property on input elements that are either text or password. Fixes submit buttons with size properties being too small/large.
...
svn path=/trunk/netsurf/; revision=10191
2010-03-28 18:33:10 +00:00
Daniel Silverstone
cb7412181f
Replace fetch_poll with llcache_poll throughout. Allow CONTENT_OTHER to complete properly.
...
svn path=/trunk/netsurf/; revision=10187
2010-03-28 16:00:54 +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
aaa14e7672
Fix erroneous switch fallthrough
...
svn path=/trunk/netsurf/; revision=9694
2009-11-22 14:12:49 +00:00
John Mark Bell
9e742f13da
Log failures
...
svn path=/trunk/netsurf/; revision=9629
2009-10-12 17:38:22 +00:00
John Mark Bell
d442d4ff9f
Yet more case insensitivity
...
svn path=/trunk/netsurf/; revision=9549
2009-09-06 22:49:32 +00:00
Michael Drake
cd07aa9d31
Fix for percentage values.
...
svn path=/trunk/netsurf/; revision=9546
2009-09-05 16:36:44 +00:00
Michael Drake
3dd906c813
Remove redundant line.
...
svn path=/trunk/netsurf/; revision=9545
2009-09-05 16:24:17 +00:00
Michael Drake
d8f4c0d029
Fix table border=0.
...
svn path=/trunk/netsurf/; revision=9544
2009-09-05 16:23:00 +00:00