summaryrefslogtreecommitdiff
path: root/content
Commit message (Collapse)AuthorAgeFilesLines
* Fix fetch_curl_post_convert() for filename_from_path() returning NULL.Michael Drake2010-04-071-0/+3
| | | | svn path=/trunk/netsurf/; revision=10265
* Add mime-type getter.Michael Drake2010-04-073-0/+21
| | | | svn path=/trunk/netsurf/; revision=10259
* Make downloads work again.John Mark Bell2010-04-056-49/+128
| | | | svn path=/trunk/netsurf/; revision=10243
* Remove redundant content message types and associated dataJohn Mark Bell2010-04-051-13/+0
| | | | svn path=/trunk/netsurf/; revision=10241
* Make the high-level cache drop contents of unacceptable type on the floor.John Mark Bell2010-04-042-13/+87
| | | | svn path=/trunk/netsurf/; revision=10238
* Most of a stop implementation.John Mark Bell2010-04-046-94/+391
| | | | | | | | | Remaining work: 1) Clone content_html_data 2) Cloning content_css_data requires the charset of the old content 3) Calling hlcache_handle_abort() before a content has been created must clean up the retrieval context. svn path=/trunk/netsurf/; revision=10236
* Constify data parameter to *_process_dataJohn Mark Bell2010-04-031-2/+3
| | | | svn path=/trunk/netsurf/; revision=10234
* Use mutator to modify content's title field.John Mark Bell2010-04-032-0/+15
| | | | svn path=/trunk/netsurf/; revision=10231
* rationalise the usage of the file schemeVincent Sanders2010-03-311-4/+5
| | | | svn path=/trunk/netsurf/; revision=10221
* Do not abort fetch on receipt of FETCH_ERROR: the fetch has already been ↵John Mark Bell2010-03-302-2/+9
| | | | | | | | destroyed. Implement LLCACHE_EVENT_ERROR case of hlcache_llcache_callback(). svn path=/trunk/netsurf/; revision=10218
* Fix compilation when building WITH_NS_SVGChris Young2010-03-301-1/+1
| | | | svn path=/trunk/netsurf/; revision=10213
* The convert stage of a content's state progression no longer reflows the ↵John Mark Bell2010-03-293-18/+6
| | | | | | | | | | | | | content to the provided dimensions. It is now defined as converting the content into a state in which it is ready for use. The user of the content is now responsible for performing an initial reformat (sic) of the content before it can be redrawn. Purge width/height parameters from hlcache_handle_retrieve/content_convert/*_convert APIs. Fix up content handlers affected by the above change in semantics. Ensure that browser_window_callback performs an initial reformat of its content. svn path=/trunk/netsurf/; revision=10207
* Use hlcache_child_ctx, instead of just hoping that we replicate its members ↵John Mark Bell2010-03-291-47/+8
| | | | | | | | correctly. Ensure public API documentation is not duplicated. svn path=/trunk/netsurf/; revision=10206
* Disable llcache tracingJohn Mark Bell2010-03-291-1/+1
| | | | svn path=/trunk/netsurf/; revision=10201
* Fix broken linked list removal.John Mark Bell2010-03-291-1/+1
| | | | svn path=/trunk/netsurf/; revision=10200
* Forbid contents with active fetches from being cleaned.John Mark Bell2010-03-291-3/+5
| | | | svn path=/trunk/netsurf/; revision=10199
* Exceptionally verbose tracing of llcache operation.John Mark Bell2010-03-291-6/+99
| | | | svn path=/trunk/netsurf/; revision=10198
* Fixup per reviewJohn Mark Bell2010-03-282-75/+23
| | | | svn path=/trunk/netsurf/; revision=10196
* Allow us to cache foo?bar when it explicitly allows it. as per rfc2616 13.9Daniel Silverstone2010-03-281-8/+15
| | | | svn path=/trunk/netsurf/; revision=10190
* Ensure that finished redirection objects in llcache do not get found by ↵Daniel Silverstone2010-03-281-1/+6
| | | | | | subsequent fetch attempts. svn path=/trunk/netsurf/; revision=10188
* Replace fetch_poll with llcache_poll throughout. Allow CONTENT_OTHER to ↵Daniel Silverstone2010-03-282-80/+80
| | | | | | complete properly. svn path=/trunk/netsurf/; revision=10187
* Remove fetchcache.[ch]Daniel Silverstone2010-03-283-1384/+0
| | | | svn path=/trunk/netsurf/; revision=10183
* Merge jmb/new-cache; r=dsilvers,rs=vinceDaniel Silverstone2010-03-2813-824/+3465
| | | | svn path=/trunk/netsurf/; revision=10180
* Move code which extracts the filename from a given path into frontend.Chris Young2010-03-211-32/+3
| | | | svn path=/trunk/netsurf/; revision=10139
* Rate limit fetch progress notifications.John Mark Bell2010-02-101-1/+14
| | | | svn path=/trunk/netsurf/; revision=9962
* remove uneccissary includesVincent Sanders2010-01-295-9/+4
| | | | svn path=/trunk/netsurf/; revision=9931
* Don't set proxy option for file: URLs to workaround some versions of libcurl ↵James Bursa2009-12-251-1/+4
| | | | | | attempting to use it (fixed in latest libcurl). Also unset curl proxy option if it's disabled so the previous xfer's setting isn't retained. svn path=/trunk/netsurf/; revision=9759
* Merge r9731:HEAD from branches/MarkieB/gtkmain to trunk.John Mark Bell2009-12-181-1/+2
| | | | svn path=/trunk/netsurf/; revision=9737
* Merge branches/MarkieB/gtkmain to trunk.John Mark Bell2009-12-176-69/+161
| | | | svn path=/trunk/netsurf/; revision=9729
* Squash leak.John Mark Bell2009-12-021-0/+2
| | | | svn path=/trunk/netsurf/; revision=9711
* Treat decomposed URLs with no path component as being for the path "/".John Mark Bell2009-11-221-0/+7
| | | | svn path=/trunk/netsurf/; revision=9703
* This optimisation was so simple that it was broken.John Mark Bell2009-11-221-1/+1
| | | | svn path=/trunk/netsurf/; revision=9696
* Fix the other half of this NULL dereference issueJohn Mark Bell2009-11-221-1/+2
| | | | svn path=/trunk/netsurf/; revision=9695
* Ensure urldb file handle is closed on error.John Mark Bell2009-11-221-1/+6
| | | | svn path=/trunk/netsurf/; revision=9693
* Avoid potential NULL deferenceJohn Mark Bell2009-11-221-3/+5
| | | | svn path=/trunk/netsurf/; revision=9688
* Don't call memcpy when p->segment is NULLJohn Mark Bell2009-11-221-1/+2
| | | | svn path=/trunk/netsurf/; revision=9687
* Realm may be NULL iff there's no WWW-Authenticate header served up with a 401.John Mark Bell2009-11-031-2/+6
| | | | | | | | Default the realm to the fetch URL in this case. Fixes #2890933 Note for new cache implementation (which is actually capable of utilising response bodies in this situation): if there is no WWW-Authenticate header, serve up the response body immediately -- don't present an authentication dialogue. svn path=/trunk/netsurf/; revision=9659
* svgtiny requires separate contentsJohn Mark Bell2009-10-081-1/+1
| | | | svn path=/trunk/netsurf/; revision=9615
* Hack around cache issue. The entire cache layer needs a redesign asap.John Mark Bell2009-08-261-0/+27
| | | | svn path=/trunk/netsurf/; revision=9460
* - content/urldb.c(auth_data): Removed;John Tytgat2009-08-046-68/+219
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (prot_space_data): Added, it lives linked in the leaf host_part struct and together with its scheme and port (which defins canonical root url) and realm this defines a protection space. (path_data): Removed auth_data field and replaced by a prot_space_data pointer. (host_part::prot_space): Added linked list of protection space data structs. (urldb_get_auth_details): Given an URL fetch fetches its auth. (urldb_set_auth_details): Creates or updates the contents of a protection space to which given URL belongs. (urldb_destroy_host_tree): Delete protection data space structures using urldb_destroy_prot_space. (urldb_destroy_prot_space): Added. - content/urldb.h(urldb_get_auth_details): Added realm parameter. - content/fetchers/fetch_curl.c(fetch_curl_set_options): Update urldb_get_auth_details call (we don't know realm at this point). - content/fetchcache.c(fetchcache_callback, fetchcache_auth): At FETCH_AUTH, use realm to determine if we really don't know auth data and if so, refetch content. - content/content.h(struct content): Add content::tried_with_auth. - content/content.c(content_create): Initialize content::tried_with_auth. - riscos/401login.c(ro_gui_401login_open): Show known authentication data in dialogue so user can see what was wrong with it and correct it. Solves bug #2830829. svn path=/trunk/netsurf/; revision=9045
* Drop pkg-config on cairo, not needed here. Added const.John Tytgat2009-08-021-2/+2
| | | | svn path=/trunk/netsurf/; revision=8985
* Correct definitionChris Young2009-07-291-1/+1
| | | | svn path=/trunk/netsurf/; revision=8899
* Keep a copy of the next_fetcher pointer to avoid a situation where the fetch ↵Chris Young2009-07-291-1/+3
| | | | | | | | gets freed during the poll routine and the next pointer can no longer be read. svn path=/trunk/netsurf/; revision=8898
* Merge LibCSS port to trunk.John Mark Bell2009-07-233-7/+14
| | | | svn path=/trunk/netsurf/; revision=8752
* Replace parent_url with a pointer to the parent content.John Mark Bell2009-07-105-71/+32
| | | | svn path=/trunk/netsurf/; revision=8428
* Fix serialisation of page titles.John Mark Bell2009-07-041-1/+1
| | | | svn path=/trunk/netsurf/; revision=8313
* Permit referer to propagate to https hosts from httpJohn Mark Bell2009-06-191-3/+17
| | | | svn path=/trunk/netsurf/; revision=7875
* Remove spurious "domain" variable from urldb_iterate_partial().John Mark Bell2009-05-281-4/+4
| | | | | | | Lose unnecessary increment of rptr in cookie domain prefix matching. Record that, in the long term, we need some kind of TLD service to consult so that (e.g.) .co.uk is not considered a valid domain prefix. svn path=/trunk/netsurf/; revision=7600
* Make logic surrounding extraction of URL + referer scheme more sensible.John Mark Bell2009-05-281-37/+30
| | | | | | Always require the fetch URL to have a scheme -- without it, we can't find a fetcher. svn path=/trunk/netsurf/; revision=7597
* Limit scope of manually-defined NDEBUG. Purge a bunch of redundant #undef ↵John Mark Bell2009-05-282-2/+0
| | | | | | NDEBUG. svn path=/trunk/netsurf/; revision=7593