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
Michael Drake
dc3ce6372f
Try to handle nonsense status bar width option settings. This is probably only mildly better than just leaving people with almost no status bar by default.
...
svn path=/trunk/netsurf/; revision=10326
2010-04-08 21:27:55 +00:00
Michael Drake
169e8e3f91
Status bar width now set in proportion to actual window width. Correctly retain status bar proportion as window is resized.
...
svn path=/trunk/netsurf/; revision=10325
2010-04-08 20:17:57 +00:00
Michael Drake
ee12fb211f
Slightly clearer comment.
...
svn path=/trunk/netsurf/; revision=10324
2010-04-08 18:55:38 +00:00
Michael Drake
ce57df5bd0
Remove min status bar width limitation. Set initial status bar width when gui_window is created. Note the TODOs in gtk_window.c gui_create_browser_window().
...
svn path=/trunk/netsurf/; revision=10323
2010-04-08 18:47:51 +00:00
Michael Drake
3c12281565
Remove dead special case for gtk status bar width.
...
svn path=/trunk/netsurf/; revision=10322
2010-04-08 17:51:31 +00:00
Michael Drake
c1d0f32875
Turn on smooth scaling by default, since it doesn't make much difference to preformance and looks better. Align columns in options table.
...
svn path=/trunk/netsurf/; revision=10321
2010-04-08 17:37:08 +00:00
Michael Drake
9d38a66299
Make scaled bitmap plotting much faster by only scaling the portion of the bitmap we need to plot.
...
svn path=/trunk/netsurf/; revision=10320
2010-04-08 17:07:49 +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
Michael Drake
3b5dbecaf4
Increase scroll increment.
...
svn path=/trunk/netsurf/; revision=10317
2010-04-08 14:59:13 +00:00
Daniel Silverstone
2dc7d37a43
GTK's source suggests scroll wheels generally get twice as much scrollypower as arrow keys
...
svn path=/trunk/netsurf/; revision=10316
2010-04-08 14:49:36 +00:00
Daniel Silverstone
1bbba38519
Ensure the h/v scrollbars default to 16px step increment
...
svn path=/trunk/netsurf/; revision=10315
2010-04-08 14:45:24 +00:00
Daniel Silverstone
2e3d7a2648
Add scroll event support
...
svn path=/trunk/netsurf/; revision=10314
2010-04-08 14:36:09 +00:00
Rob Kendrick
b4c3765e34
Pass an empty string as the label for the local history button. While the GTK docs say NULL is reasonable, it causes the ATK layer to produce runtime assertions.
...
svn path=/trunk/netsurf/; revision=10313
2010-04-08 14:28:04 +00:00
Michael Drake
5b1cbd9686
Update for renamed launch script.
...
svn path=/trunk/netsurf/; revision=10312
2010-04-08 14:18:50 +00:00
Rob Kendrick
64d6093631
Don't bother trying to fetch search provider icons when BMP support is disabled. This code could do with a little rearrangement to make this cleaner.
...
svn path=/trunk/netsurf/; revision=10311
2010-04-08 14:14:27 +00:00
Daniel Silverstone
8b1cde1bb5
Some X servers set MOD2 for some reason. Limit arrow/pgup/down to 'not alt/control/shift'
...
svn path=/trunk/netsurf/; revision=10310
2010-04-08 14:07:41 +00:00
Rob Kendrick
c60d5113d8
Oh, and remove this.
...
svn path=/trunk/netsurf/; revision=10309
2010-04-08 13:50:40 +00:00
Rob Kendrick
3d714aa366
Rename nsgtk test launcher, enabled creation of core files, tee log file. Should make it obvious this script is for testing only.
...
svn path=/trunk/netsurf/; revision=10308
2010-04-08 13:50:24 +00:00
Daniel Silverstone
2b8adb0c8a
Move the removal of the retrieval context to prevent a re-entrancy race causing double-release of llcache handles
...
svn path=/trunk/netsurf/; revision=10307
2010-04-08 13:39:07 +00:00
Daniel Silverstone
8f1dec6f1d
Add missing setting which was preventing gtk tabs from working
...
svn path=/trunk/netsurf/; revision=10306
2010-04-08 13:29:04 +00:00
Michael Drake
19a38aa18e
Manually clip for scaled plots too. Doesn't make much difference to performance because the creation of scaled bitmaps is so slow.
...
svn path=/trunk/netsurf/; revision=10305
2010-04-08 13:22:32 +00:00
Daniel Silverstone
4262232956
Fix missing 'break' introduced by 10300
...
svn path=/trunk/netsurf/; revision=10304
2010-04-08 13:18:50 +00:00
Daniel Silverstone
92bd0d4ce0
Add an assert to clarify a segfault I'm investigating
...
svn path=/trunk/netsurf/; revision=10303
2010-04-08 13:12:30 +00:00
Daniel Silverstone
5c55264217
Remove todo -- no longer appropriate
...
svn path=/trunk/netsurf/; revision=10302
2010-04-08 12:24:29 +00:00
Daniel Silverstone
45faa483e5
Ensure an error'd fetch's llcache object is implicitly stale so it is not reused
...
svn path=/trunk/netsurf/; revision=10301
2010-04-08 12:20:20 +00:00
Daniel Silverstone
6c9e4bea8e
Purge FETCH_TYPE which is unused throughout NetSurf. Clearing a todo in llcachec.
...
svn path=/trunk/netsurf/; revision=10300
2010-04-08 12:16:52 +00:00
Daniel Silverstone
2b1146bcb3
Remove parent from fetches, clearing a todo from llcache.c
...
svn path=/trunk/netsurf/; revision=10299
2010-04-08 11:47:05 +00:00
Daniel Silverstone
6948496d45
Ensure that aborting or releasing hlcache handles will result in nascent retrieval contexts being cleaned up
...
svn path=/trunk/netsurf/; revision=10298
2010-04-08 11:21:50 +00:00
Michael Drake
51b27bdf54
Manually clip bitmap area to be plotted. This speeds up rendering considerably. Currently only done for unscaled images.
...
svn path=/trunk/netsurf/; revision=10297
2010-04-08 11:20:16 +00:00
John Mark Bell
bba7fbbd9b
Abort and release llcache handle on failure to process data.
...
Make hlcache retrieval ignore erroneous contents.
svn path=/trunk/netsurf/; revision=10296
2010-04-08 07:09:09 +00:00
John Mark Bell
4682f0ccd8
When we've snapshotted an object, make sure we add the *new* object into the list of uncacheable objects, and not the old one. Otherwise, our cache chains end up being corrupted.
...
svn path=/trunk/netsurf/; revision=10295
2010-04-08 07:08:16 +00:00
James Bursa
92bf8b1a7b
Partly fix tab closing.
...
svn path=/trunk/netsurf/; revision=10294
2010-04-07 22:28:19 +00:00
Michael Drake
fb8fdb4db1
More fixing for new cache.
...
svn path=/trunk/netsurf/; revision=10292
2010-04-07 19:52:23 +00:00
Michael Drake
26f75ad18f
More fixing for new cache.
...
svn path=/trunk/netsurf/; revision=10291
2010-04-07 19:40:27 +00:00
Michael Drake
a3977f1521
More fixing for new cache.
...
svn path=/trunk/netsurf/; revision=10290
2010-04-07 19:23:53 +00:00
Michael Drake
6381200226
More fixing for new cache.
...
svn path=/trunk/netsurf/; revision=10289
2010-04-07 19:06:48 +00:00
Michael Drake
d334b18386
More fixing for new cache.
...
svn path=/trunk/netsurf/; revision=10288
2010-04-07 18:54:44 +00:00
Michael Drake
2fba2249ee
Add function to test whether hlcache_handle's content is locked.
...
svn path=/trunk/netsurf/; revision=10287
2010-04-07 18:50:18 +00:00