John Mark Bell
7a2454a40a
Fix callback prototype
...
svn path=/trunk/netsurf/; revision=4208
2008-05-26 10:40:00 +00:00
John Mark Bell
78d194cb77
Rework handling of HTTP redirects -- we now count the number of redirects followed for a given item and abort if a fixed limit is reached. This fixes sites which have pages that redirect to themselves.
...
Redirect handling is now transparent to clients of fetchcache.
The new scheme works as follows:
1) Request content for URL (fetchcache()
2) Start fetch of content (fetchcache_go()
3) If no redirect, continue through LOADING, READY, DONE etc. states as before
If redirect, receive NEWPTR for each redirect that occurs, then continue
through LOADING, READY, DONE etc. states as before.
The upshot of this is that redirects result in extra contents being created. It also means that, until LOADING has been received, the content (and thus the URL being fetched) may change. Therefore, fetchcache clients should expect to have to deal with transient data prior to LOADING occurring.
As a necessary side-effect of this, the HTML object URLs and CSS @import URLs are no longer stored alongside the relevant contents. These URLs can be accessed by interrogating the url member of struct content anyway, so it was a rather redundant scheme before.
svn path=/trunk/netsurf/; revision=3787
2008-01-28 01:35:00 +00:00
James Bursa
21db9de5f8
Make F9 dump box tree to an editor for easier debugging.
...
svn path=/trunk/netsurf/; revision=3529
2007-08-20 02:39:49 +00:00
Vincent Sanders
2f864eeecc
Update all source code file headers to reflect GPL version 2 only and contain appropriate licence text
...
svn path=/trunk/netsurf/; revision=3486
2007-08-08 16:16:03 +00:00
John Mark Bell
7ec7ba37db
Fix debug build
...
svn path=/trunk/netsurf/; revision=3477
2007-08-06 22:17:42 +00:00
Daniel Silverstone
6807b4208a
Remove the netsurf/ from the include paths and rationalise use of <> vs "" in includes
...
NetSurf includes are now done with ""s and other system includes with <>s as C intended.
The scandeps tool has been updated to only look for ""ed includes, and to verify that the
files exist in the tree before adding them to the dependency lines. The depend rule has
therefore been augmented to make sure the autogenerated files are built before it is run.
This is untested under self-hosted RISC OS builds. All else tested and works.
svn path=/trunk/netsurf/; revision=3307
2007-05-30 22:39:54 +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
ba23e4b693
Update project URL.
...
svn path=/trunk/netsurf/; revision=3073
2006-11-27 15:35:18 +00:00
James Bursa
8e530e68ae
Fix debug build.
...
svn path=/trunk/netsurf/; revision=3072
2006-11-26 21:06:14 +00:00
James Bursa
985c82a46c
Fix debug build.
...
svn path=/trunk/netsurf/; revision=2790
2006-07-23 16:49:19 +00:00
James Bursa
74b6dce0be
Fix debug build.
...
svn path=/trunk/netsurf/; revision=2761
2006-07-16 01:07:29 +00:00
John Mark Bell
ef301b8619
Fix URL file loading and add support for file:/// URLs to urldb
...
Convert file:/... to file:///... (the former isn't a valid URL)
svn path=/trunk/netsurf/; revision=2524
2006-04-12 08:09:27 +00:00
John Mark Bell
c09eb457df
Unify information databases
...
svn path=/trunk/netsurf/; revision=2519
2006-04-09 23:21:13 +00:00
James Bursa
f7634e18c7
[project @ 2006-03-10 08:08:45 by bursa]
...
Fix debug build.
svn path=/import/netsurf/; revision=2121
2006-03-10 08:08:45 +00:00
James Bursa
4b3d4f97a8
[project @ 2006-03-09 18:55:30 by bursa]
...
Partly fix debug build.
svn path=/import/netsurf/; revision=2113
2006-03-09 18:55:30 +00:00
James Bursa
6af1e81e52
[project @ 2005-04-17 16:42:05 by bursa]
...
Fix the debug and gtk builds.
svn path=/import/netsurf/; revision=1661
2005-04-17 16:42:05 +00:00
John Mark Bell
77de9c1336
[project @ 2005-01-03 02:09:20 by jmb]
...
Shift + Click == download
svn path=/import/netsurf/; revision=1429
2005-01-03 02:09:20 +00:00
James Bursa
7114e4b4af
[project @ 2005-01-02 11:46:29 by bursa]
...
Fix debug and riscos_debug builds.
svn path=/import/netsurf/; revision=1423
2005-01-02 11:46:29 +00:00
John Mark Bell
b1399acea2
[project @ 2004-08-15 19:54:24 by jmb]
...
Make debug builds compile
svn path=/import/netsurf/; revision=1239
2004-08-15 19:54:24 +00:00
James Bursa
233f6cc3dd
[project @ 2004-07-28 23:13:39 by bursa]
...
Make debug build compile again.
svn path=/import/netsurf/; revision=1160
2004-07-28 23:13:39 +00:00
James Bursa
b4723c1d05
[project @ 2004-06-21 15:09:58 by bursa]
...
Merge memory cache into content module.
svn path=/import/netsurf/; revision=986
2004-06-21 15:09:59 +00:00
James Bursa
a454eaa527
[project @ 2004-06-11 00:03:11 by bursa]
...
Bring debug build up-to-date.
svn path=/import/netsurf/; revision=958
2004-06-11 00:03:11 +00:00
James Bursa
08177fa581
[project @ 2004-06-10 20:41:26 by bursa]
...
Add global content list. Better error handling in content code. Improved code documentation. Remove some obsolete functions. Implement debug window listing contents.
svn path=/import/netsurf/; revision=951
2004-06-10 20:41:26 +00:00
James Bursa
d250ff9f82
[project @ 2004-06-02 21:01:52 by bursa]
...
Call gif_decode_frame() for testing. Misc updates.
svn path=/import/netsurf/; revision=912
2004-06-02 21:01:52 +00:00
Matthew Hambley
67faa03448
[project @ 2004-05-20 20:10:42 by matthewh]
...
A stub function which should have returned a value wasn't.
svn path=/import/netsurf/; revision=871
2004-05-20 20:10:42 +00:00
James Bursa
01586b4ab9
[project @ 2004-05-13 14:41:50 by bursa]
...
Minor fixes to the debug build.
svn path=/import/netsurf/; revision=860
2004-05-13 14:41:50 +00:00
James Bursa
1f07fc6de5
[project @ 2004-04-24 23:42:31 by bursa]
...
Replace void pointer in content callbacks with union content_msg_data. Fix animated gif flickering (except for scaled or masked gifs). Add gif to the debug builds.
svn path=/import/netsurf/; revision=801
2004-04-24 23:42:32 +00:00
James Bursa
ac7c95a641
[project @ 2004-04-14 12:54:20 by bursa]
...
Add loginlist to the debug build and schedule to the debugro build.
svn path=/import/netsurf/; revision=783
2004-04-14 12:54:20 +00:00
James Bursa
3fb3866dfb
[project @ 2004-03-27 18:47:21 by bursa]
...
Add save_complete to the debug build.
svn path=/import/netsurf/; revision=679
2004-03-27 18:47:21 +00:00
James Bursa
b0fdba3f59
[project @ 2004-03-27 00:53:19 by bursa]
...
Add imagemap and jpeg to the debug build.
svn path=/import/netsurf/; revision=675
2004-03-27 00:54:03 +00:00
James Bursa
7897a98a4c
[project @ 2004-02-25 15:12:57 by bursa]
...
Implement scaling; rewrite desktop/browser; add riscos/thumbnail; rewrite history.
svn path=/import/netsurf/; revision=566
2004-02-25 15:12:58 +00:00
James Bursa
1319ff78c8
[project @ 2004-02-13 16:09:12 by bursa]
...
Clean up and rewrite options code.
svn path=/import/netsurf/; revision=536
2004-02-13 16:09:12 +00:00
John Mark Bell
0dab93fe76
[project @ 2004-01-20 19:08:34 by jmb]
...
Allow toggling of POST support.
Add new toolbar icon numbers to riscos/gui.h
svn path=/import/netsurf/; revision=490
2004-01-20 19:08:34 +00:00
John Mark Bell
62245d13ec
[project @ 2004-01-05 02:10:59 by jmb]
...
Add ability to turn off browser features in build.
This may be useful when hunting down bugs.
svn path=/import/netsurf/; revision=480
2004-01-05 02:10:59 +00:00
James Bursa
9f2c43718b
[project @ 2004-01-02 12:02:01 by bursa]
...
Add debugro build.
svn path=/import/netsurf/; revision=476
2004-01-02 12:02:01 +00:00
James Bursa
ce0d5294d5
[project @ 2003-12-27 20:15:22 by bursa]
...
Use charset from Content-Type header.
svn path=/import/netsurf/; revision=460
2003-12-27 20:15:23 +00:00
John Mark Bell
c617bbd432
[project @ 2003-11-15 00:15:40 by jmb]
...
Fix debug build.
svn path=/import/netsurf/; revision=417
2003-11-15 00:15:40 +00:00
James Bursa
044c050ff6
[project @ 2003-11-07 23:52:08 by bursa]
...
Add dummy login_list_get().
svn path=/import/netsurf/; revision=409
2003-11-07 23:52:08 +00:00
James Bursa
28f974f00f
[project @ 2003-10-25 14:13:49 by bursa]
...
URL encoded POST support.
svn path=/import/netsurf/; revision=375
2003-10-25 14:13:49 +00:00
James Bursa
4b45cf75a9
[project @ 2003-10-08 20:50:18 by bursa]
...
Exit on EOF.
svn path=/import/netsurf/; revision=355
2003-10-08 20:50:18 +00:00
James Bursa
9c2e649290
[project @ 2003-09-10 17:10:25 by bursa]
...
Set graphics window when rendering objects.
svn path=/import/netsurf/; revision=279
2003-09-10 17:10:25 +00:00
James Bursa
5c310d84dc
[project @ 2003-08-29 12:57:14 by bursa]
...
Better handling of server HTTP errors.
svn path=/import/netsurf/; revision=259
2003-08-29 12:57:14 +00:00
James Bursa
294fa48d3d
[project @ 2003-08-25 16:17:11 by bursa]
...
Fix 774165 (redirects with empty body).
svn path=/import/netsurf/; revision=249
2003-08-25 16:17:11 +00:00
James Bursa
c7520629b0
[project @ 2003-07-16 17:38:46 by bursa]
...
Make fetchcache return 0 on failure to parse URL.
svn path=/import/netsurf/; revision=225
2003-07-16 17:38:46 +00:00
James Bursa
18bf9706dd
[project @ 2003-07-15 18:11:25 by bursa]
...
Fix debug build.
svn path=/import/netsurf/; revision=222
2003-07-15 18:11:25 +00:00
James Bursa
017fc4eb4b
[project @ 2003-06-30 12:44:02 by bursa]
...
New file headers.
svn path=/import/netsurf/; revision=190
2003-06-30 12:44:03 +00:00
James Bursa
1145b231d4
[project @ 2003-06-26 11:41:26 by bursa]
...
Implement HTTP redirects.
svn path=/import/netsurf/; revision=187
2003-06-26 11:41:26 +00:00
James Bursa
94073c9bf6
[project @ 2003-06-21 13:18:00 by bursa]
...
Add debug command line build.
svn path=/import/netsurf/; revision=181
2003-06-21 13:18:00 +00:00