John Mark Bell
21c78155b5
Actually catch error and deal with it
...
svn path=/trunk/netsurf/; revision=7642
2009-05-29 23:25:38 +00:00
John Mark Bell
b03d52e6d9
Ensure we don't read beyond the end of the array of available matches. Set any remaining saved pointers to NULL.
...
svn path=/trunk/netsurf/; revision=7641
2009-05-29 23:23:02 +00:00
John Mark Bell
cda586e6dc
Add missing break statement
...
svn path=/trunk/netsurf/; revision=7640
2009-05-29 23:14:16 +00:00
John Mark Bell
0fee18ebdc
Add missing return statement.
...
svn path=/trunk/netsurf/; revision=7639
2009-05-29 23:13:28 +00:00
John Mark Bell
1db6b5d93e
Tidy up somewhat. Lose redundant assignment.
...
svn path=/trunk/netsurf/; revision=7638
2009-05-29 23:12:18 +00:00
John Mark Bell
8d2688e121
Add missing return statement.
...
svn path=/trunk/netsurf/; revision=7637
2009-05-29 23:05:44 +00:00
John Mark Bell
f0adddc334
Lose redundant variable
...
svn path=/trunk/netsurf/; revision=7636
2009-05-29 23:04:26 +00:00
John Mark Bell
d09d540fff
Add missing return.
...
svn path=/trunk/netsurf/; revision=7635
2009-05-29 23:02:59 +00:00
John Mark Bell
80ae7c78b3
Remove redundant variable
...
svn path=/trunk/netsurf/; revision=7634
2009-05-29 23:02:13 +00:00
John Mark Bell
63d4f28487
Add missing return statement.
...
svn path=/trunk/netsurf/; revision=7633
2009-05-29 23:00:34 +00:00
John Mark Bell
7c0ded8972
Lose redundant assignment
...
svn path=/trunk/netsurf/; revision=7632
2009-05-29 22:59:42 +00:00
John Mark Bell
7eed46e1fa
Add missing return in error case.
...
svn path=/trunk/netsurf/; revision=7631
2009-05-29 22:58:13 +00:00
Chris Young
c277afc6d9
This really fixes the resize bug ( #63 )
...
svn path=/trunk/netsurf/; revision=7630
2009-05-29 22:56:49 +00:00
John Mark Bell
9b4a382d68
Insert a redundant return, as scan-build fails to notice that die() never returns.
...
svn path=/trunk/netsurf/; revision=7629
2009-05-29 22:56:09 +00:00
Chris Young
6770f7b9f9
Re-check window dimensions before copying contents in. This stops window borders
...
getting corrupted and crashes when resizing (unsat bug#63)
svn path=/trunk/netsurf/; revision=7628
2009-05-29 22:30:15 +00:00
John Mark Bell
b0962da79a
Much tidying, additional commentary, and fix for insane bit mask calculation.
...
svn path=/trunk/netsurf/; revision=7623
2009-05-29 13:26:58 +00:00
Michael Drake
798f421a88
When computing relative offset values for floats, use block formatting context for containing block, rather than parent.
...
svn path=/trunk/netsurf/; revision=7614
2009-05-28 18:06:49 +00:00
John Mark Bell
a070f24913
Lose more redundancy
...
svn path=/trunk/netsurf/; revision=7613
2009-05-28 16:38:17 +00:00
John Mark Bell
6471f83c19
We don't care about the result of regexec(); only that it was successful or not
...
svn path=/trunk/netsurf/; revision=7612
2009-05-28 16:25:01 +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
18654c78b0
Revert accidental commit of hacked Makefile
...
svn path=/trunk/netsurf/; revision=7610
2009-05-28 16:20:29 +00:00
John Mark Bell
73a89e8a0f
Lose redundant variable.
...
Ensure name_t is used in tree_delete_node_internal()
svn path=/trunk/netsurf/; revision=7609
2009-05-28 16:16:16 +00:00
John Mark Bell
2730814c27
Remove redundant statements
...
svn path=/trunk/netsurf/; revision=7608
2009-05-28 16:13:02 +00:00
John Mark Bell
abc3603feb
And again
...
svn path=/trunk/netsurf/; revision=7607
2009-05-28 16:05:17 +00:00
John Mark Bell
e9e3649648
Make some vague attempt at detecting failure to write output.
...
svn path=/trunk/netsurf/; revision=7606
2009-05-28 16:03:48 +00:00
Michael Drake
666506689f
Remove redundant assign, and make case indentation style guide complient.
...
svn path=/trunk/netsurf/; revision=7605
2009-05-28 15:59:02 +00:00
John Mark Bell
07c557a25d
Report memory exhaustion -- the whole tree loading stuff needs an overhaul as it's pretty lax about dealing with memory exhaustion.
...
svn path=/trunk/netsurf/; revision=7604
2009-05-28 15:57:54 +00:00
John Mark Bell
d81a949cdd
Remove unused code
...
svn path=/trunk/netsurf/; revision=7603
2009-05-28 15:51:03 +00:00
John Mark Bell
dda592c870
Remove redundant code from browser_window_mouse_action_html().
...
Tidy up browser_window_mouse_track().
svn path=/trunk/netsurf/; revision=7602
2009-05-28 14:35:12 +00:00
John Mark Bell
8e545756f0
Tidy up background-position parsing
...
svn path=/trunk/netsurf/; revision=7601
2009-05-28 14:05:47 +00:00
John Mark Bell
c1e3fb0bec
Remove spurious "domain" variable from urldb_iterate_partial().
...
Lose unnecessary increment of rptr in cookie domain prefix matching.
Record that, in the long term, we need some kind of TLD service to consult so that (e.g.) .co.uk is not considered a valid domain prefix.
svn path=/trunk/netsurf/; revision=7600
2009-05-28 13:19:07 +00:00
John Mark Bell
5d75e40700
Lose redundant code. Actually ensure that mode is initialised in ro_gui_theme_update_toolbar_icon().
...
svn path=/trunk/netsurf/; revision=7598
2009-05-28 12:38:36 +00:00
John Mark Bell
059b6a0e15
Make logic surrounding extraction of URL + referer scheme more sensible.
...
Always require the fetch URL to have a scheme -- without it, we can't find a fetcher.
svn path=/trunk/netsurf/; revision=7597
2009-05-28 11:56:56 +00:00
Michael Drake
8f9b03578f
Remove redundant increment.
...
svn path=/trunk/netsurf/; revision=7596
2009-05-28 11:48:32 +00:00
Michael Drake
a7c3c7bf15
Remove redundant calculation.
...
svn path=/trunk/netsurf/; revision=7595
2009-05-28 11:46:14 +00:00
Michael Drake
b595970d82
Reorganise some conditions and only try to deal with min-height and max-height where it should be done.
...
svn path=/trunk/netsurf/; revision=7594
2009-05-28 11:14:32 +00:00
John Mark Bell
243c1ba03f
Limit scope of manually-defined NDEBUG. Purge a bunch of redundant #undef NDEBUG.
...
svn path=/trunk/netsurf/; revision=7593
2009-05-28 10:39:53 +00:00
John Mark Bell
89396e7d2a
Avoid dereferencing NULL pointer. Tighten up other icon string initialisation, too.
...
svn path=/trunk/netsurf/; revision=7592
2009-05-28 00:55:04 +00:00
Michael Drake
ee4beae9e2
Remove unused code.
...
svn path=/trunk/netsurf/; revision=7591
2009-05-27 20:14:36 +00:00
Michael Drake
223818b84c
Make layout_apply_minmax_height assert if it's called with a box that shouldn't exist.
...
svn path=/trunk/netsurf/; revision=7590
2009-05-27 19:43:03 +00:00
Michael Drake
50219b81e6
Pedantic wrap.
...
svn path=/trunk/netsurf/; revision=7589
2009-05-27 19:17:16 +00:00
Michael Drake
7bb2aa7cbb
Remove a couple of superfluous conditions.
...
svn path=/trunk/netsurf/; revision=7588
2009-05-27 19:11:07 +00:00
Michael Drake
5b33c1e723
Remove dead assignment
...
svn path=/trunk/netsurf/; revision=7587
2009-05-27 18:43:14 +00:00
Chris Young
0e880815f7
Custom apha-supporting backfill hook for tiled bitmaps that require it.
...
svn path=/trunk/netsurf/; revision=7553
2009-05-26 22:39:23 +00:00
Chris Young
772bbec9e8
Super whizzy fast shiny new tile plotter
...
Massively speeds up www.amigaimpact.org, slight improvement on other sites.
Unfortunately alpha plotting on tiled btimaps is broken again (makes amigaworld.net
difficult to read).
May need to reimplement the old tile plotter for alpha bitmaps only, or write my own
alpha-supporting backfill hook
svn path=/trunk/netsurf/; revision=7550
2009-05-26 19:02:51 +00:00
Chris Young
6ac80f3e05
Vague attempt at direct rendering
...
THIS IS NOT AND PROBABLY NEVER WILL BE IN ANY WAY USEFUL EXCEPT FOR DEBUGGING!
In particular it will probably crash when opening/closing multiple windows and the
display is offset incorrectly.
svn path=/trunk/netsurf/; revision=7547
2009-05-25 22:32:38 +00:00
Chris Young
181615779d
Change back to Smart Refresh windows
...
svn path=/trunk/netsurf/; revision=7543
2009-05-25 10:13:53 +00:00
Chris Young
27b4580644
Reduce flicker
...
svn path=/trunk/netsurf/; revision=7542
2009-05-24 14:50:21 +00:00
Chris Young
8ac6d344f5
Prevent gadget and menu disable/enable magic from acting on frames (this fixes bug#207
...
at bugs.os4depot.net)
svn path=/trunk/netsurf/; revision=7541
2009-05-24 13:13:27 +00:00
Chris Young
dc9fc39972
Add link to changelog
...
svn path=/trunk/netsurf/; revision=7539
2009-05-23 19:22:18 +00:00