Commit Graph

5896 Commits

Author SHA1 Message Date
John Mark Bell 2e04c57929 Fix WWW-Authenticate parsing to leave f->realm alone if there is no realm specified in the header
svn path=/trunk/netsurf/; revision=11793
2011-02-25 00:41:16 +00:00
Michael Drake 38ec3a917d Don't consider top/left of descendant box when applying box overflow scrollbars.
svn path=/trunk/netsurf/; revision=11792
2011-02-24 22:00:24 +00:00
John Mark Bell d25a88145b Make no-cache a tristate. In the case of a forced reload, we want to revalidate once only.
svn path=/trunk/netsurf/; revision=11791
2011-02-24 21:22:24 +00:00
John Mark Bell 00bf0fbd24 Revert the functional change from r11789: the no-cache directive forces us to revalidate a cached object, not reject it entirely.
svn path=/trunk/netsurf/; revision=11790
2011-02-24 21:06:45 +00:00
John Mark Bell 4f740f5a32 Ensure cache hits after a forced reload -- don't even attempt to reuse objects with the no_cache flag set (as they'll never be considered fresh, thus requiring a round trip to the server every time they're used). Instead, we'll fetch a new object, which will be considered fresh for caching purposes.
svn path=/trunk/netsurf/; revision=11789
2011-02-24 20:51:35 +00:00
Michael Drake 9125bd1fa4 Apply margin before clear.
svn path=/trunk/netsurf/; revision=11786
2011-02-24 15:45:10 +00:00
Michael Drake b68dc734e1 Handle text-indent in layout_minmax_line(). (Fixes #3187505; scattering of social networking icons on BBC News.)
svn path=/trunk/netsurf/; revision=11785
2011-02-24 13:46:12 +00:00
Sven Weidauer c392e4606e Get filename for downloads from core.
svn path=/trunk/netsurf/; revision=11784
2011-02-24 11:43:08 +00:00
John Mark Bell 6b26f77bb1 Use cache control data invalidation function everywhere we want the cache control data reset.
Fix cache control data invalidation to reset the age and max_age fields to INVALID_AGE.
Fix cache control data reset on encountering an HTTP response line to occur before we fill in the response time, rather than after it.

svn path=/trunk/netsurf/; revision=11783
2011-02-24 10:14:50 +00:00
John Mark Bell c74936c3e8 Castrate favicon fetching. I've lost count of how much pain this has caused.
svn path=/trunk/netsurf/; revision=11782
2011-02-24 00:03:19 +00:00
Chris Young 8bda9725b8 Very basic resource selection (resource: simply points to PROGDIR:Resources)
svn path=/trunk/netsurf/; revision=11781
2011-02-23 23:29:24 +00:00
Chris Young eb338c3c89 Updates required to build with previous commit
svn path=/trunk/netsurf/; revision=11780
2011-02-23 23:15:12 +00:00
Chris Young 124de0c84a Disable fast scrolling for scaled contents for now
svn path=/trunk/netsurf/; revision=11779
2011-02-23 23:11:26 +00:00
John Mark Bell b967824575 Improve commentary.
Stop leaking object_scheme in error cases.

svn path=/trunk/netsurf/; revision=11778
2011-02-23 23:05:36 +00:00
John Mark Bell b193361d8f Make resource paths global static, as it's only used in here
svn path=/trunk/netsurf/; revision=11777
2011-02-23 22:58:21 +00:00
John Mark Bell fc09f79aa4 Remove unnecessary debug
svn path=/trunk/netsurf/; revision=11776
2011-02-23 22:55:39 +00:00
John Mark Bell 308f549f78 Fix backend fetcher poll loops
svn path=/trunk/netsurf/; revision=11775
2011-02-23 22:41:17 +00:00
Steve Fryatt 79d9d6abab Get download filenames from the core.
svn path=/trunk/netsurf/; revision=11774
2011-02-23 22:36:47 +00:00
John Mark Bell e591889566 The frontend has no business calling fetch_poll(). Stop it.
svn path=/trunk/netsurf/; revision=11773
2011-02-23 22:30:31 +00:00
Vincent Sanders 0231675abf add resource handling
move gtk and framebuffer to use generic resource handling

svn path=/trunk/netsurf/; revision=11772
2011-02-23 22:27:55 +00:00
Chris Young b49669d17e Get filename from core
svn path=/trunk/netsurf/; revision=11771
2011-02-23 18:45:08 +00:00
Michael Drake 2ef37af60c When box has no style, handle descendant calc as for overflow: visible.
svn path=/trunk/netsurf/; revision=11770
2011-02-23 13:11:19 +00:00
John Mark Bell 5c2d8c35f7 Hide implementation detail
svn path=/trunk/netsurf/; revision=11769
2011-02-23 08:23:02 +00:00
John Mark Bell ec1b92cf24 Obtain download filename from the core
svn path=/trunk/netsurf/; revision=11768
2011-02-23 08:19:10 +00:00
John Mark Bell 6878eba295 Consider filename in Content-Disposition header when downloading, or generate reasonably sane default if there isn't one.
svn path=/trunk/netsurf/; revision=11767
2011-02-23 00:54:29 +00:00
François Revel e8ce7bd953 Fix the build.
svn path=/trunk/netsurf/; revision=11766
2011-02-22 23:50:18 +00:00
John Mark Bell c550ae0e69 Parser for Content-Disposition header
svn path=/trunk/netsurf/; revision=11765
2011-02-22 23:46:03 +00:00
Michael Drake cbaada8305 Fix silly.
svn path=/trunk/netsurf/; revision=11764
2011-02-22 22:14:22 +00:00
Michael Drake 8a223ef1b2 Fix text clipping bug.
svn path=/trunk/netsurf/; revision=11763
2011-02-22 22:07:28 +00:00
Steve Fryatt bf77abd2f5 Fix bug #3189352: ensure vertical extent of toolbars is set correctly.
svn path=/trunk/netsurf/; revision=11762
2011-02-22 21:19:23 +00:00
Ole Loots e4e9c115a8 Merged Makefile
svn path=/trunk/netsurf/; revision=11761
2011-02-22 21:10:23 +00:00
Ole Loots 804aa6259e Updated package script ( reduced stack size )
svn path=/trunk/netsurf/; revision=11760
2011-02-22 21:08:09 +00:00
Ole Loots 890d1d00fd Updated resources
svn path=/trunk/netsurf/; revision=11759
2011-02-22 21:07:39 +00:00
Ole Loots d4bb6718d6 Updated docs
svn path=/trunk/netsurf/; revision=11758
2011-02-22 21:06:43 +00:00
Michael Drake 4a80554406 Zero-pad colours in plain text output.
svn path=/trunk/netsurf/; revision=11757
2011-02-22 15:53:12 +00:00
Michael Drake 7eaa663d74 Child bbox is relative to current box.
svn path=/trunk/netsurf/; revision=11756
2011-02-22 15:34:36 +00:00
Michael Drake 7f1108df32 Child's descendant bbox only affects current box's bbox if the child has overflow:visible.
svn path=/trunk/netsurf/; revision=11755
2011-02-22 15:12:18 +00:00
Michael Drake 474cbe917e Add function to get a box's border edge bbox, and use it to find initial descendant bbox.
svn path=/trunk/netsurf/; revision=11754
2011-02-22 14:57:04 +00:00
Michael Drake 9a8341cb39 Simplify descendant bbox calculations.
svn path=/trunk/netsurf/; revision=11753
2011-02-22 11:38:19 +00:00
Steve Fryatt b077f15485 Reduce redraw flicker when changing URL bar extent.
svn path=/trunk/netsurf/; revision=11752
2011-02-21 23:50:40 +00:00
Ole Loots b445ddd6ca Fixed drawing of dotted lines.
svn path=/trunk/netsurf/; revision=11751
2011-02-21 23:23:31 +00:00
John Mark Bell 593b35997b Slightly more useful behaviour if we can't handle an URL when downloading
svn path=/trunk/netsurf/; revision=11750
2011-02-21 21:47:55 +00:00
John Mark Bell 63f902e995 Fix bug #3188385: ensure that options_snoptionf terminates its output
svn path=/trunk/netsurf/; revision=11749
2011-02-21 21:25:47 +00:00
John Mark Bell 66247f5b37 Fix bug #3188376: there may be no window for a download if there were no headers or data.
Additionally, ensure we clean up on error.

svn path=/trunk/netsurf/; revision=11748
2011-02-21 20:56:58 +00:00
Sven Weidauer 7fb4e84c77 Fix typo so the mac port compiles
svn path=/trunk/netsurf/; revision=11747
2011-02-21 18:28:28 +00:00
Michael Drake cd40c260b9 Remove knockout from html_redraw, and use it in browser_window_redraw and thumbnail_redraw.
svn path=/trunk/netsurf/; revision=11746
2011-02-21 14:48:55 +00:00
John Mark Bell 1b5d9f07c8 Squash warnings
svn path=/trunk/netsurf/; revision=11745
2011-02-20 23:41:50 +00:00
John Mark Bell c70ed3d5ad Ensure returned length is initialised
svn path=/trunk/netsurf/; revision=11744
2011-02-20 23:40:42 +00:00
Michael Drake c16b6ba8fa Fix comment typo and update formatting.
svn path=/trunk/netsurf/; revision=11743
2011-02-20 23:22:31 +00:00
Michael Drake c422f860e5 Fix wrap.
svn path=/trunk/netsurf/; revision=11742
2011-02-20 23:19:18 +00:00