| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
svn path=/trunk/netsurf/; revision=5174
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=4815
|
|
|
|
|
|
| |
any side effect.
svn path=/trunk/netsurf/; revision=4788
|
|
|
|
|
|
| |
now call it no more frequently than once every 5 seconds. Additionally, we cache the result of talloc_total_size() in content_clean() rather than calculating it twice. On large documents, this function took 25% of CPU time. This makes the fetching/rendering/scrolling/redrawing of large documents over twice as fast.
svn path=/trunk/netsurf/; revision=4527
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=4333
|
|
|
|
|
|
| |
instead of exiting.
svn path=/trunk/netsurf/; revision=4329
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=4288
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=4257
|
|
|
|
|
|
| |
fetch. Make it a member instead of pointer in struct content.
svn path=/trunk/netsurf/; revision=4246
|
|
|
|
|
|
| |
removed from here).
svn path=/trunk/netsurf/; revision=4232
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=4231
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=4229
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=4227
|
|
|
|
|
|
| |
parsing as possible from fetch_curl.c to fetchcache.c. This simplifies fetch_curl.c and will make it possible to store response headers in future.
svn path=/trunk/netsurf/; revision=4226
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=4225
|
|
|
|
|
|
|
| |
- enforce result of url_normalize() being NULL on failure
- plug memory leak when url_normalize() fails
svn path=/trunk/netsurf/; revision=4200
|
|
|
|
|
|
|
| |
This fixes all those sites that brokenly assume that it's required and thus break when the client doesn't send one (here's looking at you royalmail.com).
libcurl's default Accept header is "*/*", which is semantically equivalent to not sending a header at all (no header implies the client accepts all content types).
svn path=/trunk/netsurf/; revision=4196
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=4166
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=4144
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=4098
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=4083
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=4051
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=3988
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=3983
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=3982
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=3945
|
|
|
|
|
|
| |
Reduce amount of magic numbers
svn path=/trunk/netsurf/; revision=3944
|
|
|
|
|
|
| |
page asset fetch. Have the time selected vary depending on how long the last reflow took.
svn path=/trunk/netsurf/; revision=3925
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=3890
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=3889
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=3888
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=3885
|
|
|
|
|
|
| |
using free()
svn path=/trunk/netsurf/; revision=3884
|
|
|
|
|
|
| |
that I'm using the fetcher API correctly. Appears to work, though.
svn path=/trunk/netsurf/; revision=3882
|
|
|
|
|
|
| |
regression testing.
svn path=/trunk/netsurf/; revision=3877
|
|
|
|
|
|
| |
all rendering default.
svn path=/trunk/netsurf/; revision=3874
|
|
|
|
|
|
| |
flushed from the cache as soon as they're unused.
svn path=/trunk/netsurf/; revision=3872
|
|
|
|
|
|
| |
cache ASAP.
svn path=/trunk/netsurf/; revision=3871
|
|
|
|
|
|
|
|
| |
appropriate members)
Fix up CONTENT_MSG_REFRESH scheduled events to gracefully the refresh URL disappearing from under them.
svn path=/trunk/netsurf/; revision=3870
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=3830
|
|
|
|
|
|
|
|
| |
Optionally allow url_compare to ignore fragments in comparison
Fix handling of url_compare result in a few places
Fix redirects which contain fragments in the Location header
svn path=/trunk/netsurf/; revision=3826
|
|
|
|
|
|
|
|
| |
Make core fetching code be responsible for inserting cookies into the urldb
Provide accessor to a fetch's parent url (this is defined as being the URL of the verifiable fetch which caused this one to occur)
Make fetchcache's 3xx handling use the parent url when spawning new fetches
svn path=/trunk/netsurf/; revision=3809
|
|
|
|
|
|
| |
Ensure fetchcache_redirect() normalizes the redirect destination.
svn path=/trunk/netsurf/; revision=3807
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
+ 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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
bar.bat.foo.com, then expecting domain matching to succeed. This causes me pain.
svn path=/trunk/netsurf/; revision=3637
|
|
|
|
|
|
| |
contain appropriate licence text
svn path=/trunk/netsurf/; revision=3486
|