Commit Graph

5018 Commits

Author SHA1 Message Date
Daniel Silverstone
3c81d2a527 Ensure url bar is updated with in-progress URL and restored if stop/download occurs
svn path=/trunk/netsurf/; revision=10385
2010-04-12 10:57:41 +00:00
Daniel Silverstone
8fd3bb959a Make favourite icons part of the HTML content's active set so that we don't complete the fetch until the favicon is finished loading
svn path=/trunk/netsurf/; revision=10384
2010-04-12 10:40:55 +00:00
Daniel Silverstone
2a0b0dab5b Suppress issues with < 1x1 (i)frames for now in GTK frontend
svn path=/trunk/netsurf/; revision=10383
2010-04-12 09:48:36 +00:00
Michael Drake
f58fa3b2ac Revert last change.
svn path=/trunk/netsurf/; revision=10382
2010-04-12 09:31:34 +00:00
Michael Drake
de6f1a2b2e Make new cache strip the fragment identifier, like fetchcache did.
svn path=/trunk/netsurf/; revision=10381
2010-04-12 09:25:41 +00:00
John Mark Bell
6f8a8495c6 I don't understand the full_redraw flag, or the optimisation gained from not using it.
No frontend other than RISC OS ever used it, so stop the RO frontend using it, too.

svn path=/trunk/netsurf/; revision=10380
2010-04-11 23:32:38 +00:00
John Mark Bell
952682b906 Implement draw_clone()
svn path=/trunk/netsurf/; revision=10379
2010-04-11 23:11:40 +00:00
John Mark Bell
83944723c0 Now that theme_install owns hlcache handle, ensure we clean it up.
Additionally, complete port from struct content to hlcache_handle.

svn path=/trunk/netsurf/; revision=10378
2010-04-11 23:08:54 +00:00
John Mark Bell
dcd33c3798 Port to hlcache-enabled core
svn path=/trunk/netsurf/; revision=10377
2010-04-11 23:04:06 +00:00
John Mark Bell
18081664eb Provide API to enable a handle's callback to be replaced
svn path=/trunk/netsurf/; revision=10376
2010-04-11 23:02:49 +00:00
John Mark Bell
11201a1cd7 Yes, ownership of the theme content is passed to theme_install
svn path=/trunk/netsurf/; revision=10375
2010-04-11 23:01:55 +00:00
John Mark Bell
9e8849c04c Take the easy way out wrt loading messages files: leave it to the RISC OS frontend to do this.
svn path=/trunk/netsurf/; revision=10374
2010-04-11 22:40:41 +00:00
John Mark Bell
4b8c720ac5 Shrink source buffer to final length on fetch completion
svn path=/trunk/netsurf/; revision=10373
2010-04-11 21:26:20 +00:00
John Mark Bell
486731e589 Release low-level cache handle when destroying contents
svn path=/trunk/netsurf/; revision=10372
2010-04-11 20:58:50 +00:00
John Mark Bell
71de3618f1 Implement hlcache_poll(), which drives the low-level cache event loop, and attempts to clean the high-level cache.
Call this, instead of llcache_poll().

svn path=/trunk/netsurf/; revision=10371
2010-04-11 20:21:13 +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
Chris Young
eb19a649e7 Fix crash in kiosk mode
svn path=/trunk/netsurf/; revision=10369
2010-04-11 19:57:06 +00:00
John Mark Bell
88449e3328 Pedantic line break
svn path=/trunk/netsurf/; revision=10368
2010-04-11 19:51:38 +00:00
Vincent Sanders
27bd328df1 fixup windows download window
svn path=/trunk/netsurf/; revision=10366
2010-04-11 18:04:31 +00:00
John Mark Bell
cca15e14c2 Remove need to constantly type c->data.html in html_destroy().
Fix destruction of linked and inline stylesheets to ensure that the pointer is non-NULL before trying to destroy it.

svn path=/trunk/netsurf/; revision=10364
2010-04-11 17:20:07 +00:00
John Mark Bell
60d1b74099 Remove redundant todo
svn path=/trunk/netsurf/; revision=10363
2010-04-11 16:39:58 +00:00
John Mark Bell
0650096403 CSS contents may be shared
svn path=/trunk/netsurf/; revision=10362
2010-04-11 16:38:16 +00:00
John Mark Bell
ff8791a3f7 Ensure content can be shared when retrieving from cache
svn path=/trunk/netsurf/; revision=10361
2010-04-11 16:37:39 +00:00
John Mark Bell
7577e2a1e6 Ensure quirks mode matches when retrieving contents from cache
svn path=/trunk/netsurf/; revision=10360
2010-04-11 16:34:23 +00:00
John Mark Bell
ad89d5b263 Copy child charset, if any
svn path=/trunk/netsurf/; revision=10359
2010-04-11 16:23:45 +00:00
John Mark Bell
a364888ed2 Fix preprocessor definition for svgtiny
svn path=/trunk/netsurf/; revision=10358
2010-04-11 15:11:32 +00:00
John Mark Bell
6a88eaf67a Pedantic whitespace changes
svn path=/trunk/netsurf/; revision=10356
2010-04-11 14:39:26 +00:00
John Mark Bell
fe87225ccf Complete low-level cache cleaner
svn path=/trunk/netsurf/; revision=10355
2010-04-11 14:32:39 +00:00
John Mark Bell
9666787dfa Remove redundant todo
svn path=/trunk/netsurf/; revision=10354
2010-04-11 14:12:13 +00:00
John Mark Bell
a70c67fa35 Support 307 redirects for GET requests
svn path=/trunk/netsurf/; revision=10353
2010-04-11 14:11:33 +00:00
John Mark Bell
863d5c77c3 Forbid redirects to file:/// URLs
svn path=/trunk/netsurf/; revision=10352
2010-04-11 14:06:02 +00:00
John Mark Bell
40bac34ffd Bail out if we're redirected to an URL we can't handle
svn path=/trunk/netsurf/; revision=10351
2010-04-11 14:01:11 +00:00
John Mark Bell
758190f37b Reintroduce redirect limit
svn path=/trunk/netsurf/; revision=10350
2010-04-11 13:58:12 +00:00
John Mark Bell
3470764041 Remove redundant todos
svn path=/trunk/netsurf/; revision=10349
2010-04-11 13:29:02 +00:00
Michael Drake
580fa084de Fix window updates when main window is scrolled.
svn path=/trunk/netsurf/; revision=10347
2010-04-11 12:13:53 +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
Chris Young
2bcf632973 Freeing the local charset version once we've finished with it is a good idea too.
svn path=/trunk/netsurf/; revision=10345
2010-04-10 19:39:40 +00:00
Chris Young
704e7c8d44 Show warning messages in correct charset
svn path=/trunk/netsurf/; revision=10344
2010-04-10 19:37:13 +00:00
Chris Young
e2225502e9 Avoid crash
svn path=/trunk/netsurf/; revision=10343
2010-04-10 19:36:53 +00:00
John Mark Bell
b0f1b7b170 Improve const-correctness of fetch_start
svn path=/trunk/netsurf/; revision=10342
2010-04-10 17:13:53 +00:00
John Mark Bell
342fe780c6 Catch calls to html_clone, which is guaranteed to result in breakage, so it's safer to just die, rather than limp on.
svn path=/trunk/netsurf/; revision=10341
2010-04-10 12:36:21 +00:00
John Mark Bell
24c853281d Return cookies to the same level of working/brokenness as they had before new-cache.
svn path=/trunk/netsurf/; revision=10340
2010-04-10 12:24:25 +00:00
John Mark Bell
ee2a5b40ce Use computed POST data when redirecting, instead of original.
Certain redirect methods result in POST being converted to GET.

svn path=/trunk/netsurf/; revision=10339
2010-04-10 11:56:14 +00:00
Michael Drake
0613700c5e Debug window is now black on white.
svn path=/trunk/netsurf/; revision=10337
2010-04-09 23:26:27 +00:00
Michael Drake
fee9e16636 Change rendering to use plotter functions. Purge loads of magic numbers. Make the content table look prettier. Separate content table creation and rendering code from RISC OS front end code. The debug window can now trivially be moved to the core. Debug window still currently disabled as it does not work with new cache.
svn path=/trunk/netsurf/; revision=10336
2010-04-09 23:22:30 +00:00
Chris Young
b6937419e1 Fix broken event handling.
Any structures attached to the window_list *must* have a struct nsObject * as their
first entry, and handle events outside of gui.c.

svn path=/trunk/netsurf/; revision=10332
2010-04-09 22:38:51 +00:00
John Mark Bell
4a4cc0d1bc Introduce content_set_ready.
Make content_convert emit events only if content is in appropriate state.
Remove no-longer-relevant assertion from content_convert.

svn path=/trunk/netsurf/; revision=10330
2010-04-09 18:52:44 +00:00
Daniel Silverstone
b2124867db Kill uninitialized warning about 'type'
svn path=/trunk/netsurf/; revision=10329
2010-04-09 09:10:23 +00:00
Michael Drake
0b0044979c Fix warnings about scroll and value possibly getting used uninitialised.
svn path=/trunk/netsurf/; revision=10328
2010-04-09 09:02:05 +00:00
Daniel Silverstone
dfae5c33d2 Some more asserts to try and help spot multiple-release of llcache handles
svn path=/trunk/netsurf/; revision=10327
2010-04-09 00:06:36 +00:00