summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Rework handling of HTTP redirects -- we now count the number of redirects ↵John Mark Bell2008-01-2811-169/+145
| | | | | | | | | | | | | | | | | | | | 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
* Replace accidentally checked in files with previous ones.Michael Drake2008-01-283-23/+15
| | | | svn path=/trunk/netsurf/; revision=3786
* Fix vertical position of images with margin/borders/padding.Michael Drake2008-01-284-16/+25
| | | | svn path=/trunk/netsurf/; revision=3785
* Ensure images within inline-blocks are shown properly. Fixed by zamez.Michael Drake2008-01-271-1/+1
| | | | svn path=/trunk/netsurf/; revision=3783
* Revert r3781.Michael Drake2008-01-271-4/+0
| | | | svn path=/trunk/netsurf/; revision=3782
* Background area extends to border edge.Michael Drake2008-01-271-0/+4
| | | | svn path=/trunk/netsurf/; revision=3781
* Background area extends to border edge.Michael Drake2008-01-271-34/+38
| | | | svn path=/trunk/netsurf/; revision=3780
* Make inline-blocks have margins. Add defualt margin around form inputs.Michael Drake2008-01-272-5/+5
| | | | svn path=/trunk/netsurf/; revision=3779
* Hopefully fix inline-block positioning. (Stops form elements from overlapping.)Michael Drake2008-01-271-2/+6
| | | | svn path=/trunk/netsurf/; revision=3778
* No need to reduce box height when adding scrollbar.Michael Drake2008-01-261-1/+0
| | | | svn path=/trunk/netsurf/; revision=3777
* Fixes for targetting NetBSD (Thanks to Adam Hoka)John Mark Bell2008-01-262-1/+2
| | | | svn path=/trunk/netsurf/; revision=3775
* Remove old TODO docs.Michael Drake2008-01-222-115/+0
| | | | svn path=/trunk/netsurf/; revision=3761
* Add icon to distinguish online links.Michael Drake2008-01-211-0/+0
| | | | svn path=/trunk/netsurf/; revision=3744
* Update to real new welcome page path.Michael Drake2008-01-191-3/+3
| | | | svn path=/trunk/netsurf/; revision=3735
* Fix symlinksJohn Mark Bell2008-01-197-6/+1
| | | | svn path=/trunk/netsurf/; revision=3734
* Oops; missed default homepageJohn Mark Bell2008-01-191-1/+1
| | | | svn path=/trunk/netsurf/; revision=3733
* Fix menu entriesJohn Mark Bell2008-01-191-6/+4
| | | | svn path=/trunk/netsurf/; revision=3732
* Link to new welcome page.Michael Drake2008-01-191-1/+1
| | | | svn path=/trunk/netsurf/; revision=3731
* Update some paths. (Not all done.)Michael Drake2008-01-191-3/+3
| | | | svn path=/trunk/netsurf/; revision=3730
* Rename about pageJohn Mark Bell2008-01-191-0/+0
| | | | svn path=/trunk/netsurf/; revision=3728
* Remove old filesJohn Mark Bell2008-01-199-376/+0
| | | | svn path=/trunk/netsurf/; revision=3723
* Update about page to use new CSS file and tidy.Michael Drake2008-01-195-0/+65
| | | | svn path=/trunk/netsurf/; revision=3719
* Remove unused directoriesJohn Mark Bell2008-01-190-0/+0
| | | | svn path=/trunk/netsurf/; revision=3718
* More work on cookie parser. Our junk value handling is now significantly ↵John Mark Bell2008-01-191-19/+97
| | | | | | | | | | | | | closer to that of other browsers. + Fix infinite loop when encountering a spurious \r + Values are only treated as quoted if the first non-whitespace character is " + Cookies are inserted into the db in the order of receipt. This brings our Cookie: header ordering closer to other browsers (though this strictly shouldn't matter -- no ordering is defined, other than by path specificity) + Fix testcase assertions to cope with new output ordering svn path=/trunk/netsurf/; revision=3709
* Work on cookies to bring our behaviour closer to the spec and other browsers:John Mark Bell2008-01-172-97/+315
| | | | | | | | | | | | | | | | + Improve handling of quoted cookies -- now processes nested quotes correctly + Improve cookie output -- now knows which version it's outputting for and processes things appropriately + Add assertion that we're dealing with a domain cookie in the case where the cookie domain and URL host part don't match during validation. + Tidy up fix for broken domain cookie setting -- it's now less confusing to read. + Preserve cookie value quoting, regardless of its necessity. + Modify Cookie file format to save value_was_quoted flag -- version number bumped to 101. + Add more testcases. svn path=/trunk/netsurf/; revision=3708
* The previous fix was broken -- URI paths include the leafname.John Mark Bell2008-01-072-70/+36
| | | | | | | | | Make url_path() return the full path (including the leafname). Defaulted cookie path attributes have the leafname and trailing slash stripped. Add testcase for defaulted path. Fix testcase conditions for paths with leafnames. svn path=/trunk/netsurf/; revision=3693
* Fix potential crash in urldb_dump()John Mark Bell2008-01-071-13/+92
| | | | | | | | Relax 4.3.2(i) checking (Cookie path must be a prefix of URL path). We now permit a cookie path containing the document leafname -- we strip the leafname from the path. Make testsuite build again. Add tests for cookie path checking. svn path=/trunk/netsurf/; revision=3692
* Add url_leafname()John Mark Bell2008-01-072-1/+34
| | | | | | Remove spurious * from url_host_is_ip_address() svn path=/trunk/netsurf/; revision=3691
* GCCSDK 4 build support.John Tytgat2007-12-282-5/+6
| | | | svn path=/trunk/netsurf/; revision=3674
* Protect <pre> fix in cases where c->style is NULLDaniel Silverstone2007-12-231-3/+5
| | | | svn path=/trunk/netsurf/; revision=3673
* An INLINE_CONTAINER which contains a TEXT which is zero chars long but *is* ↵Daniel Silverstone2007-12-231-3/+7
| | | | | | in a PRE white-space rule *DOES* contain a text child. svn path=/trunk/netsurf/; revision=3672
* Initial work on new makesystem. See top of Makefile.unix for notes. Not yet ↵Daniel Silverstone2007-12-222-0/+310
| | | | | | finished, will make ML posting when done. svn path=/trunk/netsurf/; revision=3671
* Set SVG filetype's name.Michael Drake2007-12-161-0/+1
| | | | svn path=/trunk/netsurf/; revision=3670
* Updated Dutch translation by Simon Voortman and Gerard van Katwijk.Michael Drake2007-12-122-68/+68
| | | | svn path=/trunk/netsurf/; revision=3669
* Fix non-ASCII text input for GTK build (Dmitry Artamonow)John Mark Bell2007-12-111-1/+2
| | | | svn path=/trunk/netsurf/; revision=3667
* Implement ro_save_draw_path() to enable Draw export of SVGs.James Bursa2007-12-111-1/+88
| | | | svn path=/trunk/netsurf/; revision=3666
* Plug a memory leak in ro_plot_path().James Bursa2007-12-111-8/+12
| | | | svn path=/trunk/netsurf/; revision=3665
* Fix warnings and remove some logging.James Bursa2007-12-111-7/+3
| | | | svn path=/trunk/netsurf/; revision=3664
* Implement path plotter (for SVGs within a page).James Bursa2007-12-111-6/+4
| | | | svn path=/trunk/netsurf/; revision=3663
* Clear background when redrawing for all except HTML.James Bursa2007-12-111-2/+4
| | | | svn path=/trunk/netsurf/; revision=3662
* Fix coordinates when redrawing an SVG within a page.James Bursa2007-12-111-39/+21
| | | | svn path=/trunk/netsurf/; revision=3661
* Increase default font size and line spacing.Michael Drake2007-12-094-8/+8
| | | | svn path=/trunk/netsurf/; revision=3660
* Implement polyline, polygon, more path segment types, and more transforms.James Bursa2007-12-021-51/+222
| | | | svn path=/trunk/netsurf/; revision=3659
* Implement and fix more of viewBox, path, and transform.James Bursa2007-11-301-19/+29
| | | | svn path=/trunk/netsurf/; revision=3655
* Add support for transform, color none, and some colours in style attribute.James Bursa2007-11-291-13/+109
| | | | svn path=/trunk/netsurf/; revision=3654
* Add empty path plotters to stop crashes.James Bursa2007-11-292-3/+24
| | | | svn path=/trunk/netsurf/; revision=3653
* Put alignment stuff back to how it was in the release branch. However it is ↵Michael Drake2007-11-051-22/+15
| | | | | | done in the default CSS file, there are problems. We may as well have the same problems in the release and development builds. svn path=/trunk/netsurf/; revision=3651
* Update interactive help text for links.Michael Drake2007-11-054-4/+4
| | | | svn path=/trunk/netsurf/; revision=3650
* Add break; (these things help, now and again)John Mark Bell2007-11-041-11/+13
| | | | | | Add ACTION_NONE case to the deferred action switch (shuts GCC up) svn path=/trunk/netsurf/; revision=3649
* Fix frame-related crash (images.google) caused by destruction of current ↵Adrian Lees2007-11-041-11/+22
| | | | | | window when clicking URL/submitting form svn path=/trunk/netsurf/; revision=3644