summaryrefslogtreecommitdiff
path: root/content/hlcache.c
Commit message (Collapse)AuthorAgeFilesLines
* clean up the fetcher factory and improve its APIVincent Sanders2014-06-191-9/+0
|
* attempt to purge low level cache on out of memory during fetchVincent Sanders2014-05-291-1/+1
|
* Extend low level source data cache with persistant storageVincent Sanders2014-05-131-6/+5
|
* remove unecessary utils/url.h includesVincent Sanders2014-05-091-4/+4
|
* move scheduleing into browser operation tableVincent Sanders2014-03-091-4/+4
|
* remove all forward declarations from hlcache.cVincent Sanders2014-01-191-424/+414
|
* Pedantic wrap fix.Michael Drake2013-10-231-1/+3
|
* Pass fetch redirect info up to content layer as content_msg. Mark redirect ↵Michael Drake2013-05-271-0/+11
| | | | origin URLs as visited in browser window content callback. Note this doesn't mean we track redirects, it just lets us get the :visited link style on links that redirect.
* add content handler for javascriptVincent Sanders2012-06-191-1/+1
| | | | svn path=/trunk/netsurf/; revision=13971
* Bypass full type sniffer if only images are acceptableJohn Mark Bell2012-02-081-1/+3
| | | | svn path=/trunk/netsurf/; revision=13436
* Fix bug #3454606: prevent double free of retrieval context when downloadingJohn Mark Bell2011-12-081-11/+21
| | | | svn path=/trunk/netsurf/; revision=13260
* Fix bug #3452421: retain hlcache retrieval context when reporting errors & ↵John Mark Bell2011-12-061-9/+7
| | | | | | rely on clients correctly releasing handles to clean up. svn path=/trunk/netsurf/; revision=13250
* content_get_url -> hlcache_handle_get_url, content__get_url -> content_get_urlJohn Mark Bell2011-12-041-1/+28
| | | | svn path=/trunk/netsurf/; revision=13236
* Sort out hiccough in hlcache finalisation debugDaniel Silverstone2011-10-091-1/+1
| | | | svn path=/trunk/netsurf/; revision=13017
* Port more internals to nsurl. Front ends may need updating.Michael Drake2011-10-031-31/+3
| | | | svn path=/trunk/netsurf/; revision=12926
* Port llcache to nsurl.Michael Drake2011-09-281-1/+29
| | | | svn path=/trunk/netsurf/; revision=12904
* Make high level cache, low level cache and image cache all be initialised ↵Vincent Sanders2011-09-101-67/+76
| | | | | | | | | from passed parameters Calculate all cache sizes from single memory cache size option and sanity check have a single global struct to hold all parameters instead of several individual variables svn path=/trunk/netsurf/; revision=12784
* make high level cache take a parameter structureVincent Sanders2011-09-081-40/+70
| | | | | | make hlcache have a single global container svn path=/trunk/netsurf/; revision=12779
* Handle zero-length documents correctlyJohn Mark Bell2011-09-081-2/+19
| | | | svn path=/trunk/netsurf/; revision=12778
* Sniff content types where appropriate.John Mark Bell2011-09-041-82/+133
| | | | | | We never sniff for CSS, nor for non-page artefacts (e.g. treeview icons) svn path=/trunk/netsurf/; revision=12707
* Refactor http utilitiesJohn Mark Bell2011-07-081-7/+4
| | | | svn path=/trunk/netsurf/; revision=12595
* Merge branches/jmb/content-factory to trunkJohn Mark Bell2011-05-061-27/+12
| | | | svn path=/trunk/netsurf/; revision=12283
* Stop gtk printing from exploding if its unable to initialise the jobVincent Sanders2011-03-151-0/+6
| | | | | | | add interface to clone a high level cache handle make generic printing core call new hlcache interface svn path=/trunk/netsurf/; revision=12068
* Move schedule.h to utils/John Mark Bell2011-03-131-1/+1
| | | | svn path=/trunk/netsurf/; revision=12039
* Ensure we stop the hlcache schedule before we quit the guiDaniel Silverstone2011-03-131-3/+6
| | | | svn path=/trunk/netsurf/; revision=12036
* Shunt the schedule function definitions to desktop/schedule.h. Shunt the ↵Daniel Silverstone2011-03-131-20/+32
| | | | | | hlcache/llcache to using schedule to get their cleanups run. svn path=/trunk/netsurf/; revision=12029
* Do not attempt to destroy contents that are still loadingJohn Mark Bell2011-03-031-0/+4
| | | | svn path=/trunk/netsurf/; revision=11898
* A little more debug to help us spot how many users of locked contents there ↵Daniel Silverstone2011-01-201-3/+5
| | | | | | are, during shutdown svn path=/trunk/netsurf/; revision=11418
* Fix cleanup of hlcache_retrieval_ctx_ringJohn Mark Bell2010-10-281-1/+2
| | | | svn path=/trunk/netsurf/; revision=10915
* Rate-limit cache clean attemptsJohn Mark Bell2010-08-101-3/+16
| | | | svn path=/trunk/netsurf/; revision=10686
* Clean up caches on exitJohn Mark Bell2010-04-271-5/+66
| | | | svn path=/trunk/netsurf/; revision=10494
* Ensure we propagate the error to our client, and then abort the llcache ↵Daniel Silverstone2010-04-221-1/+11
| | | | | | handle, should we fail to find a content when converting a nascent hlcache context into an object svn path=/trunk/netsurf/; revision=10453
* Add assertionJohn Mark Bell2010-04-161-0/+1
| | | | svn path=/trunk/netsurf/; revision=10414
* Stop leaking hlcache handles.John Mark Bell2010-04-131-1/+1
| | | | svn path=/trunk/netsurf/; revision=10395
* Revert last change.Michael Drake2010-04-121-5/+0
| | | | svn path=/trunk/netsurf/; revision=10382
* Make new cache strip the fragment identifier, like fetchcache did.Michael Drake2010-04-121-0/+5
| | | | svn path=/trunk/netsurf/; revision=10381
* Provide API to enable a handle's callback to be replacedJohn Mark Bell2010-04-111-0/+10
| | | | svn path=/trunk/netsurf/; revision=10376
* Implement hlcache_poll(), which drives the low-level cache event loop, and ↵John Mark Bell2010-04-111-0/+52
| | | | | | | | attempts to clean the high-level cache. Call this, instead of llcache_poll(). svn path=/trunk/netsurf/; revision=10371
* Remove redundant todoJohn Mark Bell2010-04-111-1/+0
| | | | svn path=/trunk/netsurf/; revision=10363
* Ensure content can be shared when retrieving from cacheJohn Mark Bell2010-04-111-1/+4
| | | | svn path=/trunk/netsurf/; revision=10361
* Ensure quirks mode matches when retrieving contents from cacheJohn Mark Bell2010-04-111-1/+5
| | | | svn path=/trunk/netsurf/; revision=10360
* Copy child charset, if anyJohn Mark Bell2010-04-111-6/+21
| | | | svn path=/trunk/netsurf/; revision=10359
* Kill uninitialized warning about 'type'Daniel Silverstone2010-04-091-1/+1
| | | | svn path=/trunk/netsurf/; revision=10329
* Move the removal of the retrieval context to prevent a re-entrancy race ↵Daniel Silverstone2010-04-081-3/+7
| | | | | | causing double-release of llcache handles svn path=/trunk/netsurf/; revision=10307
* Ensure that aborting or releasing hlcache handles will result in nascent ↵Daniel Silverstone2010-04-081-16/+57
| | | | | | retrieval contexts being cleaned up svn path=/trunk/netsurf/; revision=10298
* Abort and release llcache handle on failure to process data.John Mark Bell2010-04-081-0/+5
| | | | | | Make hlcache retrieval ignore erroneous contents. svn path=/trunk/netsurf/; revision=10296
* Make downloads work again.John Mark Bell2010-04-051-11/+41
| | | | svn path=/trunk/netsurf/; revision=10243
* Make the high-level cache drop contents of unacceptable type on the floor.John Mark Bell2010-04-041-4/+74
| | | | svn path=/trunk/netsurf/; revision=10238
* Most of a stop implementation.John Mark Bell2010-04-041-3/+59
| | | | | | | | | 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
* Do not abort fetch on receipt of FETCH_ERROR: the fetch has already been ↵John Mark Bell2010-03-301-1/+8
| | | | | | | | destroyed. Implement LLCACHE_EVENT_ERROR case of hlcache_llcache_callback(). svn path=/trunk/netsurf/; revision=10218