Commit Graph

3320 Commits

Author SHA1 Message Date
John Mark Bell
54da4474f7 Remove old files
svn path=/trunk/netsurf/; revision=3723
2008-01-19 23:01:32 +00:00
Michael Drake
33ea795dea Update about page to use new CSS file and tidy.
svn path=/trunk/netsurf/; revision=3719
2008-01-19 22:42:48 +00:00
John Mark Bell
f8d8a7ef38 Remove unused directories
svn path=/trunk/netsurf/; revision=3718
2008-01-19 22:17:16 +00:00
John Mark Bell
02e2fab6a3 More work on cookie parser. Our junk value handling is now significantly 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
2008-01-19 01:51:39 +00:00
John Mark Bell
e5e2eb09f6 Work on cookies to bring our behaviour closer to the spec and other browsers:
+ 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
2008-01-17 20:00:55 +00:00
John Mark Bell
2fa8e656a1 The previous fix was broken -- URI paths include the leafname.
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
2008-01-07 12:01:11 +00:00
John Mark Bell
74078b6e36 Fix potential crash in urldb_dump()
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
2008-01-07 04:58:06 +00:00
John Mark Bell
252ad5c476 Add url_leafname()
Remove spurious * from url_host_is_ip_address()

svn path=/trunk/netsurf/; revision=3691
2008-01-07 04:54:08 +00:00
John Tytgat
76416f1964 GCCSDK 4 build support.
svn path=/trunk/netsurf/; revision=3674
2007-12-28 15:43:57 +00:00
Daniel Silverstone
13b91169fd Protect <pre> fix in cases where c->style is NULL
svn path=/trunk/netsurf/; revision=3673
2007-12-23 16:09:02 +00:00
Daniel Silverstone
23781fb862 An INLINE_CONTAINER which contains a TEXT which is zero chars long but *is* in a PRE white-space rule *DOES* contain a text child.
svn path=/trunk/netsurf/; revision=3672
2007-12-23 14:15:11 +00:00
Daniel Silverstone
6ee6a8c8dc Initial work on new makesystem. See top of Makefile.unix for notes. Not yet finished, will make ML posting when done.
svn path=/trunk/netsurf/; revision=3671
2007-12-22 21:15:58 +00:00
Michael Drake
6a11f56dca Set SVG filetype's name.
svn path=/trunk/netsurf/; revision=3670
2007-12-16 19:36:28 +00:00
Michael Drake
99596c7751 Updated Dutch translation by Simon Voortman and Gerard van Katwijk.
svn path=/trunk/netsurf/; revision=3669
2007-12-12 20:07:03 +00:00
John Mark Bell
aaa9eba48b Fix non-ASCII text input for GTK build (Dmitry Artamonow)
svn path=/trunk/netsurf/; revision=3667
2007-12-11 19:34:49 +00:00
James Bursa
5fdbe77e3e Implement ro_save_draw_path() to enable Draw export of SVGs.
svn path=/trunk/netsurf/; revision=3666
2007-12-11 04:07:35 +00:00
James Bursa
4525ffbd91 Plug a memory leak in ro_plot_path().
svn path=/trunk/netsurf/; revision=3665
2007-12-11 04:06:49 +00:00
James Bursa
9125ffa7d8 Fix warnings and remove some logging.
svn path=/trunk/netsurf/; revision=3664
2007-12-11 02:48:04 +00:00
James Bursa
b650b2379f Implement path plotter (for SVGs within a page).
svn path=/trunk/netsurf/; revision=3663
2007-12-11 02:45:38 +00:00
James Bursa
87a4dc07fd Clear background when redrawing for all except HTML.
svn path=/trunk/netsurf/; revision=3662
2007-12-11 02:42:11 +00:00
James Bursa
13d479785c Fix coordinates when redrawing an SVG within a page.
svn path=/trunk/netsurf/; revision=3661
2007-12-11 02:40:33 +00:00
Michael Drake
d13ac3b066 Increase default font size and line spacing.
svn path=/trunk/netsurf/; revision=3660
2007-12-09 11:13:25 +00:00
James Bursa
f09ea1d8f1 Implement polyline, polygon, more path segment types, and more transforms.
svn path=/trunk/netsurf/; revision=3659
2007-12-02 05:53:31 +00:00
James Bursa
b2c0baffcd Implement and fix more of viewBox, path, and transform.
svn path=/trunk/netsurf/; revision=3655
2007-11-30 03:08:02 +00:00
James Bursa
069525fe89 Add support for transform, color none, and some colours in style attribute.
svn path=/trunk/netsurf/; revision=3654
2007-11-29 05:56:57 +00:00
James Bursa
f386520ff2 Add empty path plotters to stop crashes.
svn path=/trunk/netsurf/; revision=3653
2007-11-29 05:50:21 +00:00
Michael Drake
ac084adfb2 Put alignment stuff back to how it was in the release branch. However it is 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
2007-11-05 15:39:54 +00:00
Michael Drake
cf77c922db Update interactive help text for links.
svn path=/trunk/netsurf/; revision=3650
2007-11-05 15:29:28 +00:00
John Mark Bell
8afe0caedd Add break; (these things help, now and again)
Add ACTION_NONE case to the deferred action switch (shuts GCC up)

svn path=/trunk/netsurf/; revision=3649
2007-11-04 13:47:36 +00:00
Adrian Lees
ac6946ef83 Fix frame-related crash (images.google) caused by destruction of current window when clicking URL/submitting form
svn path=/trunk/netsurf/; revision=3644
2007-11-04 01:16:50 +00:00
Michael Drake
189f9f7492 Update alignment rules again.
svn path=/trunk/netsurf/; revision=3640
2007-11-01 21:59:35 +00:00
Michael Drake
e5d3a2e792 Update alignment rules.
svn path=/trunk/netsurf/; revision=3639
2007-11-01 21:44:44 +00:00
John Mark Bell
6eeeee1778 Ignore SIGPIPE on all platforms, not just RISC OS.
svn path=/trunk/netsurf/; revision=3638
2007-10-31 15:39:55 +00:00
John Mark Bell
d1bf94dc4d Work around sites sending domain cookies for .foo.com from hosts such as bar.bat.foo.com, then expecting domain matching to succeed. This causes me pain.
svn path=/trunk/netsurf/; revision=3637
2007-10-30 23:19:03 +00:00
James Bursa
d8b810b46b Bug fixes by Franz Korntner.
svn path=/trunk/netsurf/; revision=3636
2007-10-28 17:05:39 +00:00
James Bursa
aa24cdff0d Bug fixes in parse_length, parse_clip, css_dump_style, css_dump_length by Franz Korntner.
svn path=/trunk/netsurf/; revision=3635
2007-10-28 17:01:53 +00:00
James Bursa
aff93727ab Fix doc typo.
svn path=/trunk/netsurf/; revision=3634
2007-10-28 16:40:14 +00:00
Adrian Lees
0e8a03dc36 Fix recursion when search string is pure wildcard
svn path=/trunk/netsurf/; revision=3633
2007-10-15 22:48:24 +00:00
Richard Wilson
08ea9e706b Allow interactive help to be turned off (implement 1793020)
svn path=/trunk/netsurf/; revision=3631
2007-10-10 21:22:36 +00:00
Richard Wilson
cab5913aee Don't remove table rows with no children (fix 1753365)
svn path=/trunk/netsurf/; revision=3630
2007-10-10 20:34:02 +00:00
Richard Wilson
14c30d64a6 Remove legacy code.
svn path=/trunk/netsurf/; revision=3629
2007-10-10 20:33:15 +00:00
Richard Wilson
693051471b Check the RAM sprite pool before the ROM sprite pool (fix 1781184)
svn path=/trunk/netsurf/; revision=3628
2007-10-09 17:49:48 +00:00
Richard Wilson
e0ac355853 Correctly terminate the plot group of a clipped box. Clip visible children of hidden elements (fix 1808893).
svn path=/trunk/netsurf/; revision=3627
2007-10-09 17:24:02 +00:00
Richard Wilson
8df0a5ad40 No longer assert on invalid input to hex_colour.
svn path=/trunk/netsurf/; revision=3626
2007-10-09 16:41:57 +00:00
Richard Wilson
7163f5aadd Fix parsing of invalid colour values becoming CSS_COLOR_NONE. Make all colour parsing code common.
svn path=/trunk/netsurf/; revision=3625
2007-10-09 16:25:25 +00:00
Rob Kendrick
c8c7fb53d7 Change curse type used for links to the correct one (GTK 2.12/GNOME 2.20 changes what we used to something inappropriate)
svn path=/trunk/netsurf/; revision=3622
2007-10-04 21:19:39 +00:00
Michael Drake
686c98fafd Allow hex CSS colour values with omitted hash. Fix #rgb and #rrggbb handling to only accept hex characters.
svn path=/trunk/netsurf/; revision=3620
2007-10-03 06:47:45 +00:00
Rob Kendrick
3c8c4e7378 Add mockup nsgtk downloads window and some support code, remove warning on recent nsgtk select changes
svn path=/trunk/netsurf/; revision=3619
2007-10-02 22:22:17 +00:00
James Bursa
09b1dcb23d Remove restriction of @import coming at the start, because multiple inline stylesheets are parsed as one stylesheet, so may contain @import in the middle.
svn path=/trunk/netsurf/; revision=3616
2007-10-02 04:50:25 +00:00
James Bursa
db7a0824d3 Process inline stylesheets anywhere in document, not just in <head>.
svn path=/trunk/netsurf/; revision=3615
2007-10-02 04:48:30 +00:00