Commit Graph

2804 Commits

Author SHA1 Message Date
Daniel Silverstone
25e22eb1f5 Add a -v option to enable debug logging. Pass -v by default to the RO runimage.
svn path=/trunk/netsurf/; revision=3306
2007-05-30 22:27:58 +00:00
Rob Kendrick
7bc1a41ea0 Add UNIX-specific fetch_filetype() support. Uses /etc/mime.types by default, but can build minimal mappings if it doesn't exist. New code allows file:// directory listings to be generated, although these are not sorted unlike under RISC OS, as POSIX dirent() doesn't specify sorting.
svn path=/trunk/netsurf/; revision=3305
2007-05-29 23:53:35 +00:00
John Mark Bell
01316168fc Fix bugs in charset detection.
Strip BOM from parser input, as it confuses libxml.
Ignore non-ASCII-compatible charsets declared in meta tag (the parser 
defaults to 8 bit, so if it's managed to extract a meta charset, then it 
must be ASCII-compatible, so a non-ASCII-compatible meta charset is lies).

Fixes WightLink timetable and 1726341.

svn path=/trunk/netsurf/; revision=3304
2007-05-29 18:03:07 +00:00
James Bursa
15be8d1ade Switch version to "2.0 (Development)".
svn path=/trunk/netsurf/; revision=3300
2007-05-22 04:11:34 +00:00
Rob Kendrick
6bcae05b66 Tweak default hotlist entries to be more up-to-date
svn path=/trunk/netsurf/; revision=3299
2007-05-21 16:02:42 +00:00
Michael Drake
65d727b190 More alignment changes.
svn path=/trunk/netsurf/; revision=3298
2007-05-21 12:58:14 +00:00
Michael Drake
87836a2b3d Treat CENTER like other browsers do.
svn path=/trunk/netsurf/; revision=3297
2007-05-21 10:59:55 +00:00
Michael Drake
b6087556e5 Update development build !Help file.
svn path=/trunk/netsurf/; revision=3288
2007-05-18 11:16:43 +00:00
Rob Kendrick
f0f1c4adc7 New NetSurf logo for nsgtk
svn path=/trunk/netsurf/; revision=3285
2007-05-17 20:02:43 +00:00
John Mark Bell
00377eec58 Import font containing symbols we need for list items.
(Un)Install font appropriately at runtime.
Make list markers use the right characters.

svn path=/trunk/netsurf/; revision=3280
2007-05-14 22:57:11 +00:00
Michael Drake
7f88d46d98 Mention Uniboot and OS version support.
svn path=/trunk/netsurf/; revision=3276
2007-05-13 17:49:58 +00:00
Michael Drake
990708701f Fix underlines.
svn path=/trunk/netsurf/; revision=3275
2007-05-13 17:39:27 +00:00
Michael Drake
d8e8274344 RISC OS ReadMe file.
svn path=/trunk/netsurf/; revision=3274
2007-05-13 17:34:40 +00:00
Rob Kendrick
14049f1c3e Make nsgtk warn_user fflush(stdout) rather fflush(stderr)
svn path=/trunk/netsurf/; revision=3271
2007-05-06 19:27:04 +00:00
Rob Kendrick
04d8cae4c8 nsgtk warning squashes
svn path=/trunk/netsurf/; revision=3270
2007-05-06 17:50:28 +00:00
Rob Kendrick
dbf2c37f89 GTK warn_user() implementation
svn path=/trunk/netsurf/; revision=3269
2007-05-06 16:39:34 +00:00
James Bursa
73281a7add Log libxml2 version in lib_init().
svn path=/trunk/netsurf/; revision=3268
2007-05-06 06:11:00 +00:00
James Bursa
5d2a2c42b2 Log curl_version() in fetch_init().
svn path=/trunk/netsurf/; revision=3267
2007-05-06 05:55:13 +00:00
James Bursa
7c43ff2537 Return an error from html_convert() if the base stylesheet fails to load, instead of continuing to layout which will assert.
svn path=/trunk/netsurf/; revision=3266
2007-05-06 00:41:12 +00:00
Rob Kendrick
0b763a04f7 Initialise some of the gui_window structure for nsgtk to remove a conditional jump on uninitalised data later on
svn path=/trunk/netsurf/; revision=3265
2007-05-05 13:59:16 +00:00
James Bursa
d27f5c65da Fix warning: format '%u' expects type 'unsigned int', but argument 3 has type 'size_t'.
svn path=/trunk/netsurf/; revision=3264
2007-05-02 03:20:01 +00:00
James Bursa
828bac39e4 Fix various warnings.
svn path=/trunk/netsurf/; revision=3263
2007-05-02 03:17:19 +00:00
James Bursa
d0db5ed413 Fix warning: field precision should have type 'int', but argument 4 has type 'long int'.
svn path=/trunk/netsurf/; revision=3262
2007-05-02 03:06:52 +00:00
James Bursa
21407fe8ab Fix some warnings in recent gcc.
svn path=/trunk/netsurf/; revision=3261
2007-05-02 02:47:39 +00:00
James Bursa
0547422534 Move user-agent generation into fetch.c and simplify.
svn path=/trunk/netsurf/; revision=3260
2007-05-02 02:38:38 +00:00
James Bursa
6e6d397e9d Remove defines that were never or are no longer used.
svn path=/trunk/netsurf/; revision=3259
2007-04-30 03:18:17 +00:00
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