Commit Graph

2753 Commits

Author SHA1 Message Date
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
Richard Wilson 284368c50e Implement keyboard scrolling for tree views.
svn path=/trunk/netsurf/; revision=3195
2007-03-03 21:57:51 +00:00
Richard Wilson 15ff0c9cf9 Fix failing window update for large extents.
svn path=/trunk/netsurf/; revision=3194
2007-03-03 21:57:24 +00:00
Richard Wilson b5a14773ff Correctly calculate maximised frame heights (fix 1644216)
svn path=/trunk/netsurf/; revision=3193
2007-03-03 20:49:49 +00:00
Richard Wilson 5e783e1266 Ignore common GIF screen size errors (fix 1650225)
svn path=/trunk/netsurf/; revision=3192
2007-03-03 20:02:09 +00:00
Richard Wilson 7368688642 Dynamically update scale view (implement 1556975) and prevent double redraws.
svn path=/trunk/netsurf/; revision=3191
2007-03-03 19:46:20 +00:00
John Mark Bell cd3fb4a7cc Ensure multipart/form-data submissions are in the correct charset.
(fixes 1617129).
There are issues with unrepresentable characters, which I'm 
investigating; they appear to be due to Iconv/UnicodeLib and not 
NetSurf's usage of them.

svn path=/trunk/netsurf/; revision=3190
2007-02-26 00:32:07 +00:00
John Mark Bell cf17b38065 Ensure handle options are reset appropriately (fixes 1668354)
svn path=/trunk/netsurf/; revision=3189
2007-02-25 16:52:53 +00:00
Rob Kendrick 0f50dc77d9 Fix nsgtk bitmap code warnings
svn path=/trunk/netsurf/; revision=3188
2007-02-23 02:32:43 +00:00
Daniel Silverstone 657e384a84 Fix RING_FINDBYHOST to actually find things. jmb found the bug, I verified his patch and committed it
svn path=/trunk/netsurf/; revision=3186
2007-02-22 11:48:39 +00:00
John Mark Bell d3718bd4a7 Fix debug build.
svn path=/trunk/netsurf/; revision=3185
2007-02-21 21:23:01 +00:00
Michael Drake f0cd19dedc Correct SharedUnixLibrary version number. Thanks to Richard Mellish.
svn path=/trunk/netsurf/; revision=3184
2007-02-20 11:38:55 +00:00
John Mark Bell e57a90e91c Fix handling of % signs in textarea initial value. (Fixes 1617123)
svn path=/trunk/netsurf/; revision=3180
2007-02-11 23:21:05 +00:00
John Mark Bell d1b79f3e41 Bring percent-encoding closer to what other browsers do.
svn path=/trunk/netsurf/; revision=3179
2007-02-11 22:28:00 +00:00
John Mark Bell 6ae4b59a4b Fix stupidity
svn path=/trunk/netsurf/; revision=3178
2007-02-11 12:24:13 +00:00
John Mark Bell b54332fd58 Rewrite utf8_[to,from]_local_encoding to not have arbitrary limit in the
number of special characters permitted in the input. (fixes 1651343, 
1649247, 1644745, 1607934)

Should also be rather more efficient, too, as it now conducts only a 
single pass over the input data.

svn path=/trunk/netsurf/; revision=3177
2007-02-11 11:19:42 +00:00
John Mark Bell 3b40e0f5fc Reparse entire document if meta charset resulting in changed document
encoding is encountered (fixes 1389126)

svn path=/trunk/netsurf/; revision=3176
2007-02-10 21:34:22 +00:00
John Mark Bell a9b34bd990 Work around libxml oddness in allowing document meta encoding to
override external charset information.

svn path=/trunk/netsurf/; revision=3175
2007-02-10 19:53:41 +00:00
Rob Kendrick 9549165a2b Another warning squash in gtk/
svn path=/trunk/netsurf/; revision=3174
2007-02-10 02:27:06 +00:00
Rob Kendrick bdf7affb19 Fix almost all warnings in gtk/
svn path=/trunk/netsurf/; revision=3173
2007-02-10 02:21:32 +00:00
Rob Kendrick 75b673644d Add default icon for nsgtk windows, tidy default locations for resources a little
svn path=/trunk/netsurf/; revision=3172
2007-02-10 01:56:27 +00:00
Rob Kendrick 55eb0a51dd Misc nsgtk window improvements, smaller shipped NetSurf logo
svn path=/trunk/netsurf/; revision=3171
2007-02-09 18:10:33 +00:00
Rob Kendrick a6664dfa0c Remove optimisation settings accidentally checked in. I will examine my diffs more carefully in future. I promise.
svn path=/trunk/netsurf/; revision=3170
2007-02-06 21:49:59 +00:00
Rob Kendrick b4033ff643 Reduce warnings caused by GTK and XML2 library headers
svn path=/trunk/netsurf/; revision=3169
2007-02-06 21:48:22 +00:00
Rob Kendrick 86770e00b5 Make makefile delete nsgtk binary on clean
svn path=/trunk/netsurf/; revision=3168
2007-02-06 21:25:20 +00:00
Rob Kendrick 356ff18153 Remove bashism and improve nsgtk launcher shell script, add simple BUILDING-GTK document.
svn path=/trunk/netsurf/; revision=3167
2007-02-06 16:52:47 +00:00