| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
fetch. Make it a member instead of pointer in struct content.
svn path=/trunk/netsurf/; revision=4246
|
|
|
|
| |
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=4098
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=3982
|
|
|
|
|
|
| |
flushed from the cache as soon as they're unused.
svn path=/trunk/netsurf/; revision=3872
|
|
|
|
|
|
| |
cache ASAP.
svn path=/trunk/netsurf/; revision=3871
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
contain appropriate licence text
svn path=/trunk/netsurf/; revision=3486
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
from a fetch into a browser window which was varifiable.
svn path=/trunk/netsurf/; revision=3165
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=3154
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=3151
|
|
|
|
|
|
| |
other information to status bar.
svn path=/trunk/netsurf/; revision=3140
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=3073
|
|
|
|
|
|
| |
Mark content in error in a couple of cases that I'd missed ages ago.
svn path=/trunk/netsurf/; revision=2816
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=2697
|
|
|
|
|
|
|
| |
file://host/... isn't likely, so assume file://path & convert to
file:///path
svn path=/trunk/netsurf/; revision=2685
|
|
|
|
|
|
| |
Convert file:/... to file:///... (the former isn't a valid URL)
svn path=/trunk/netsurf/; revision=2524
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=2519
|
|
|
|
|
|
|
|
|
|
| |
Handle invalid SSL certificates better - UI still needs work.
Modify fetch callback data parameter type to remove compiler warnings.
Constify things.
Lose global ssl_verify_certificates option.
Fix issue when closing a dialog without input focus.
svn path=/import/netsurf/; revision=2092
|
|
|
|
|
|
| |
Handle case where no cache expiry headers are sent; use (now - last_modified) / 10. This should reduce the frequency of cache entry validation.
svn path=/import/netsurf/; revision=2064
|
|
|
|
|
|
| |
Implement HTTP caching algorithm; this should avoid stale cache entries being used.
svn path=/import/netsurf/; revision=2059
|
|
|
|
|
|
|
|
| |
Detect and prevent self-referential redirects.
This is not a complete solution as it does not handle the likes of page1 -> page2 -> page1 -> ...
To solve that probably requires counting the number of redirects a given fetch has made and then bailing once it exceeds some fixed value. From what I can see at present, this will have to be done at the top-level (i.e. browser_window_callback and suchlike).
svn path=/import/netsurf/; revision=1978
|
|
|
|
|
|
| |
Updates to work with new url_store system.
svn path=/import/netsurf/; revision=1909
|
|
|
|
|
|
| |
Disable some log messages.
svn path=/import/netsurf/; revision=1896
|
|
|
|
|
|
| |
Change void * parameters to intptr_t to make them correct for storing integers or pointers.
svn path=/import/netsurf/; revision=1852
|
|
|
|
|
|
| |
Work around invalid Content-Type headers
svn path=/import/netsurf/; revision=1707
|
|
|
|
|
|
| |
Fix bug with redirected contents being reused (as triggered by looping redirects).
svn path=/import/netsurf/; revision=1670
|
|
|
|
|
|
|
| |
application/xhtml+xml -> CONTENT_HTML
Fix minor issue with mimetype matching regexp.
svn path=/import/netsurf/; revision=1587
|
|
|
|
|
|
| |
Implementation of URL suggestion
svn path=/import/netsurf/; revision=1488
|
|
|
|
|
|
| |
Reformat pages loaded from memory cache to window width.
svn path=/import/netsurf/; revision=1467
|
|
|
|
|
|
| |
Fix some compilation warnings in the debug build. Update nsgtk_plot_rectangle() with the new parameters.
svn path=/import/netsurf/; revision=1447
|
|
|
|
|
|
| |
Fix race condition caused by introduction of downloads
svn path=/import/netsurf/; revision=1431
|
|
|
|
|
|
| |
Shift + Click == download
svn path=/import/netsurf/; revision=1429
|
|
|
|
|
|
| |
xcalloc/xrealloc/xstrdup-purge - Lose remaining calls (and purge the relevant functions from utils.c)
svn path=/import/netsurf/; revision=1419
|
|
|
|
|
|
| |
xcalloc/xrealloc/xstrdup-purge week.
svn path=/import/netsurf/; revision=1418
|
|
|
|
|
|
| |
Fix scrollbar issue when fetching cached HTML contents.
svn path=/import/netsurf/; revision=1414
|
|
|
|
|
|
| |
Re-implementation of hotlist via general tree code. Animations can be stopped once more. Purged a few xcalloc() calls.
svn path=/import/netsurf/; revision=1394
|
|
|
|
|
|
| |
Removed a chunk of Norcroft compiler warnings. Re-ident some pieces.
svn path=/import/netsurf/; revision=1231
|
|
|
|
|
|
|
| |
Rework the interface of the URL handing module to allow for multiple error types.
Modify save_complete URL rewriting appropriately.
svn path=/import/netsurf/; revision=1206
|
|
|
|
|
|
| |
Plug some minor leaks.
svn path=/import/netsurf/; revision=1163
|
|
|
|
|
|
|
| |
Use libcurl's progress callback functionality to display fetch status.
This will update the status line once a second, more frequently requires hacking libcurl.
svn path=/import/netsurf/; revision=1066
|
|
|
|
|
|
| |
Fix fetchcache_go() treatment of contents which the initiator loses interest in (eg. wrong content-type).
svn path=/import/netsurf/; revision=997
|
|
|
|
|
|
| |
Fix destroying of contents after redirects.
svn path=/import/netsurf/; revision=996
|
|
|
|
|
|
| |
Fix aborting of fetches.
svn path=/import/netsurf/; revision=990
|