Commit Graph

2878 Commits

Author SHA1 Message Date
James Bursa 3d91ed1ab5 Add a few asserts to catch some bugs.
svn path=/trunk/netsurf/; revision=3258
2007-04-30 02:31:38 +00:00
Michael Drake 976213b579 Update NetSurf URL.
svn path=/trunk/netsurf/; revision=3257
2007-04-20 19:11:08 +00:00
James Bursa 859ccf007b Fix null pointer use when a content with no title is in the local history (history_update() was making title null).
svn path=/trunk/netsurf/; revision=3256
2007-04-18 02:52:26 +00:00
James Bursa c01d270250 Fix casts in parameter to gdk_window_raise().
svn path=/trunk/netsurf/; revision=3255
2007-04-18 01:58:09 +00:00
Richard Wilson bc0c4c4f3e Don't block new windows for Adjust-click on target='_blank' links.
svn path=/trunk/netsurf/; revision=3253
2007-04-08 17:49:42 +00:00
John Mark Bell 81ef52dd22 Revert last change
svn path=/trunk/netsurf/; revision=3252
2007-04-07 23:53:10 +00:00
John Mark Bell c010f30e09 Add logging
svn path=/trunk/netsurf/; revision=3251
2007-04-07 23:44:15 +00:00
Rob Kendrick 0619d34bc3 nsgtk warning squashes
svn path=/trunk/netsurf/; revision=3250
2007-04-07 23:27:31 +00:00
John Mark Bell a27a1e425a Fix return value check
svn path=/trunk/netsurf/; revision=3249
2007-04-07 23:27:28 +00:00
Richard Wilson 00af899230 Open window targets with a new name in a new window. Fix handling of Adjust-click on a form submit when new window opening is disabled.
svn path=/trunk/netsurf/; revision=3248
2007-04-07 23:08:31 +00:00
Richard Wilson 9e3c519c2e Remove redundant close window calls.
svn path=/trunk/netsurf/; revision=3247
2007-04-07 22:53:59 +00:00
Richard Wilson 9c3dc045a0 Set minimum META refresh delay to 1s
svn path=/trunk/netsurf/; revision=3246
2007-04-07 22:51:06 +00:00
John Mark Bell 3bc2fdc652 Construct cookies treeview correctly (fixes 1675328)
svn path=/trunk/netsurf/; revision=3245
2007-04-07 22:44:46 +00:00
John Mark Bell 4aa1c867f5 Silence noisy logging
svn path=/trunk/netsurf/; revision=3244
2007-04-07 21:33:54 +00:00
John Mark Bell b229c41e9c 1) Fix corruption of history data structure on cloning
2) Only destroy urldb's thumbnail bitmap if it's not the same as the new 
   one. This needs revisiting at a later date such that the mess 
   surrounding who owns bitmap objects is sorted (and so that urldb 
   doesn't need to know about bitmaps)

svn path=/trunk/netsurf/; revision=3243
2007-04-07 20:30:39 +00:00
John Mark Bell cc0f1c7e28 Add logging
svn path=/trunk/netsurf/; revision=3242
2007-04-07 17:58:42 +00:00
John Mark Bell 4d55f43a3d Object sizes do not apply when calculating the extent of descendent
bounding boxes. (fixes 1601881)

svn path=/trunk/netsurf/; revision=3240
2007-04-07 02:29:32 +00:00
John Mark Bell f1fba1908f Fix embedded object + display: none; crash (1695751) (c.f r3236)
svn path=/trunk/netsurf/; revision=3239
2007-04-06 23:48:26 +00:00
John Mark Bell 1e118e02a3 Support insertion into textbox after optional trailing space.
svn path=/trunk/netsurf/; revision=3237
2007-04-06 17:39:20 +00:00
John Mark Bell 94d12a96e7 Squash access to freed memory.
Actually process form inputs which have been styled display:none;
This needs revisiting after 1.0 as the following will still break:
<form ..>
  <div style="display:none;">
    <input type="hidden" name="foo" value="bar"/>
  </div>
  <input type="submit" name="submit" value="submit"/>
</form>
The children of the div are not processed (which is correct for display 
purposes, but results in the hidden input being ignored entirely). A 
more correct fix would be to perform form input -> gadget creation 
orthogonally from box tree generation; then styling will have no effect.

svn path=/trunk/netsurf/; revision=3236
2007-04-06 12:05:25 +00:00
John Mark Bell f059818d74 Squash memory leak
svn path=/trunk/netsurf/; revision=3235
2007-04-05 12:33:12 +00:00
John Mark Bell 6eba75b1c6 Recognise <image> as a synonym for <img> (fixes 1692426)
svn path=/trunk/netsurf/; revision=3231
2007-04-01 20:21:58 +00:00
John Mark Bell 0ee2843948 Lose duplicate entry
svn path=/trunk/netsurf/; revision=3230
2007-04-01 16:48:53 +00:00
John Mark Bell e7fe3678f0 Deal with more ways in which meta refresh URLs can be invalid.
svn path=/trunk/netsurf/; revision=3229
2007-04-01 16:41:22 +00:00
John Mark Bell ccfc0e7516 Fix abort on attempted destruction of CONTENT_DIRECTORY (1690222)
svn path=/trunk/netsurf/; revision=3228
2007-03-28 22:56:54 +00:00
John Mark Bell 932765df96 Remove collusion between window, menus and search code in order to clear
search selection state - this should happen automagically through 
wimp_event callbacks now.
Also tidy search.c so I can read it better ;)

svn path=/trunk/netsurf/; revision=3227
2007-03-26 21:09:25 +00:00
Richard Wilson 933c642019 Call close function for submenu windows.
svn path=/trunk/netsurf/; revision=3226
2007-03-26 20:33:50 +00:00
Richard Wilson e5129294c0 Call close functions when automatically closing child windows and when automatically handlign Cancel buttons.
svn path=/trunk/netsurf/; revision=3225
2007-03-26 12:28:19 +00:00
John Mark Bell 9d32795b47 Minor tidying
svn path=/trunk/netsurf/; revision=3224
2007-03-25 19:32:41 +00:00
John Mark Bell a96ef2a906 Fix assertion when table has negative mbp (1579981)
svn path=/trunk/netsurf/; revision=3222
2007-03-25 16:20:10 +00:00
John Mark Bell cabed36421 Fix handling of scrollbar addition to blocks which have height/width ==
AUTO (fixes 1567430)

svn path=/trunk/netsurf/; revision=3220
2007-03-24 23:47:44 +00:00
John Mark Bell 5e0bec495c Fix FP exception when right-aligned tables with margin: auto are nested
(interaction with floats, resulting in margin[TOP] == AUTO) (fixes 
1662931)

svn path=/trunk/netsurf/; revision=3218
2007-03-24 21:03:36 +00:00
John Mark Bell 91cfb11592 Fix crash on WWW-Authenticate header with no realm (1686714)
svn path=/trunk/netsurf/; revision=3216
2007-03-23 22:39:10 +00:00
John Mark Bell 64b229d0d6 Make <object> attribute handling more spec compliant
svn path=/trunk/netsurf/; revision=3215
2007-03-22 22:47:24 +00:00
John Mark Bell 9c048ad076 Fix invalidation of unwanted contents.
svn path=/trunk/netsurf/; revision=3214
2007-03-19 00:04:09 +00:00
John Mark Bell f261e4426a Lose noisy logging
svn path=/trunk/netsurf/; revision=3213
2007-03-18 23:48:12 +00:00
John Mark Bell 947ab0dcd2 Ensure content structures are zero initialised.
Make css_destroy check that the stylesheet pointer exists (content 
destructors may be called whilst the content is still loading - e.g. if 
the content type isn't permissable in the context it was loaded from).
Fixes 1627413, 1580980.

svn path=/trunk/netsurf/; revision=3212
2007-03-18 20:19:13 +00:00
John Mark Bell 703b5fea73 Ensure content owners check that they are still interested in a content
when receiving notification that the content's in error. This prevents 
content pointers being corrupted when redirects occur. Fixes 1522002, 
1551475.

svn path=/trunk/netsurf/; revision=3211
2007-03-18 17:09:55 +00:00
John Mark Bell 0d750eac73 Improve debug output so that content usage may be traced
svn path=/trunk/netsurf/; revision=3210
2007-03-18 17:04:18 +00:00
John Mark Bell 6d0795b923 Handle redirects with partial bodies.
svn path=/trunk/netsurf/; revision=3209
2007-03-18 13:02:07 +00:00
John Mark Bell 8ffe5f5392 Fix pasting into writables via IcnClipBrd (fixes 1582072)
svn path=/trunk/netsurf/; revision=3208
2007-03-17 14:18:11 +00:00
John Mark Bell e80ce80a98 Default form field maxlength to UINT_MAX (fixes 1620540)
svn path=/trunk/netsurf/; revision=3205
2007-03-11 23:48:29 +00:00
John Mark Bell 9cf5122797 Content handlers should not call warn_user - they should broadcast the
error using content_broadcast and leave it to the content owner(s) to 
decide what to do about it.

Only use warn_user for top-level contents.


svn path=/trunk/netsurf/; revision=3204
2007-03-11 22:08:57 +00:00
John Mark Bell 58c217cbee Transliterate form submissions (requires an iconv implementation that
understands //TRANSLIT - both glibc & libiconv's do, as do Iconv 
modules >= 0.08)
Require Iconv 0.08

svn path=/trunk/netsurf/; revision=3203
2007-03-11 13:58:15 +00:00
Rob Kendrick 2df3d592f3 Apply Darren Salt's keypress callbacl claiming patch, with addition of doc comment updates
svn path=/trunk/netsurf/; revision=3201
2007-03-06 23:50:06 +00:00
Rob Kendrick a6ab365cbb Apply Darren Salt's patch to implement Open Location/Ctrl-L in nsgtk
svn path=/trunk/netsurf/; revision=3200
2007-03-06 23:33:05 +00:00
Rob Kendrick 212b92f66e Reformat and apply Darren Salt's scrollwheel and keyboard scrolling patch, although I still can't get the keyboard scrolling to work.
svn path=/trunk/netsurf/; revision=3199
2007-03-06 21:29:51 +00:00
Michael Drake 3dea2a3987 Stop iframe contents from appearing in global history. Fix by JMB.
svn path=/trunk/netsurf/; revision=3198
2007-03-06 20:25:27 +00:00
Rob Kendrick b113bf6b15 Add mention of libmng-dev dependancy
svn path=/trunk/netsurf/; revision=3197
2007-03-06 17:15:05 +00:00
Richard Wilson 6c65fea9b6 Position new folders correctly for global history (fix 1547523)
svn path=/trunk/netsurf/; revision=3196
2007-03-03 22:47:45 +00:00