summaryrefslogtreecommitdiff
path: root/content/fetchcache.c
Commit message (Collapse)AuthorAgeFilesLines
* Update all source code file headers to reflect GPL version 2 only and ↵Vincent Sanders2007-08-081-3/+14
| | | | | | contain appropriate licence text svn path=/trunk/netsurf/; revision=3486
* Remove the netsurf/ from the include paths and rationalise use of <> vs "" ↵Daniel Silverstone2007-05-301-9/+9
| | | | | | | | | | | | | | 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
* Fix handling of cookies in unverifiable transactions caused by a redirect ↵John Mark Bell2007-02-021-3/+4
| | | | | | from a fetch into a browser window which was varifiable. svn path=/trunk/netsurf/; revision=3165
* Make GTK build compile on FreeBSD.James Bursa2007-01-291-0/+1
| | | | svn path=/trunk/netsurf/; revision=3154
* Handle cookies in unverifiable transactionsJohn Mark Bell2007-01-271-8/+25
| | | | svn path=/trunk/netsurf/; revision=3151
* Fix parsing error when an empty HTML data is returned. Add HTTP status and ↵James Bursa2007-01-131-0/+1
| | | | | | other information to status bar. svn path=/trunk/netsurf/; revision=3140
* Update project URL.Michael Drake2006-11-271-1/+1
| | | | svn path=/trunk/netsurf/; revision=3073
* Detect attempted fetches using protocols we can't handle.John Mark Bell2006-08-061-4/+36
| | | | | | Mark content in error in a couple of cases that I'd missed ages ago. svn path=/trunk/netsurf/; revision=2816
* Implement component-wise URL comparisonJohn Mark Bell2006-07-021-1/+5
| | | | svn path=/trunk/netsurf/; revision=2697
* Fix conversion of URLs beginning "file://". Additionally, John Mark Bell2006-07-011-6/+2
| | | | | | | file://host/... isn't likely, so assume file://path & convert to file:///path svn path=/trunk/netsurf/; revision=2685
* Fix URL file loading and add support for file:/// URLs to urldbJohn Mark Bell2006-04-121-2/+29
| | | | | | Convert file:/... to file:///... (the former isn't a valid URL) svn path=/trunk/netsurf/; revision=2524
* Unify information databasesJohn Mark Bell2006-04-091-1/+0
| | | | svn path=/trunk/netsurf/; revision=2519
* [project @ 2006-02-23 15:06:53 by jmb]John Mark Bell2006-02-231-6/+20
| | | | | | | | | | 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
* [project @ 2006-02-08 00:35:05 by jmb]John Mark Bell2006-02-081-5/+10
| | | | | | 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
* [project @ 2006-02-06 00:10:09 by jmb]John Mark Bell2006-02-061-23/+249
| | | | | | Implement HTTP caching algorithm; this should avoid stale cache entries being used. svn path=/import/netsurf/; revision=2059
* [project @ 2006-01-03 23:26:58 by jmb]John Mark Bell2006-01-031-2/+14
| | | | | | | | 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
* [project @ 2005-12-31 04:30:49 by rjw]Richard Wilson2005-12-311-5/+0
| | | | | | Updates to work with new url_store system. svn path=/import/netsurf/; revision=1909
* [project @ 2005-12-11 21:54:30 by bursa]James Bursa2005-12-111-5/+0
| | | | | | Disable some log messages. svn path=/import/netsurf/; revision=1896
* [project @ 2005-08-21 12:04:17 by bursa]James Bursa2005-08-211-11/+11
| | | | | | Change void * parameters to intptr_t to make them correct for storing integers or pointers. svn path=/import/netsurf/; revision=1852
* [project @ 2005-05-01 22:20:40 by jmb]John Mark Bell2005-05-011-1/+11
| | | | | | Work around invalid Content-Type headers svn path=/import/netsurf/; revision=1707
* [project @ 2005-04-18 21:40:29 by bursa]James Bursa2005-04-181-3/+3
| | | | | | Fix bug with redirected contents being reused (as triggered by looping redirects). svn path=/import/netsurf/; revision=1670
* [project @ 2005-04-01 02:25:11 by jmb]John Mark Bell2005-04-011-2/+2
| | | | | | | application/xhtml+xml -> CONTENT_HTML Fix minor issue with mimetype matching regexp. svn path=/import/netsurf/; revision=1587
* [project @ 2005-02-03 13:18:22 by rjw]Richard Wilson2005-02-031-1/+7
| | | | | | Implementation of URL suggestion svn path=/import/netsurf/; revision=1488
* [project @ 2005-01-24 23:02:37 by bursa]James Bursa2005-01-241-0/+5
| | | | | | Reformat pages loaded from memory cache to window width. svn path=/import/netsurf/; revision=1467
* [project @ 2005-01-13 20:28:50 by bursa]James Bursa2005-01-131-1/+2
| | | | | | Fix some compilation warnings in the debug build. Update nsgtk_plot_rectangle() with the new parameters. svn path=/import/netsurf/; revision=1447
* [project @ 2005-01-03 16:09:11 by jmb]John Mark Bell2005-01-031-2/+2
| | | | | | Fix race condition caused by introduction of downloads svn path=/import/netsurf/; revision=1431
* [project @ 2005-01-03 02:09:20 by jmb]John Mark Bell2005-01-031-3/+9
| | | | | | Shift + Click == download svn path=/import/netsurf/; revision=1429
* [project @ 2005-01-02 03:58:20 by jmb]John Mark Bell2005-01-021-3/+7
| | | | | | xcalloc/xrealloc/xstrdup-purge - Lose remaining calls (and purge the relevant functions from utils.c) svn path=/import/netsurf/; revision=1419
* [project @ 2005-01-01 22:26:34 by bursa]James Bursa2005-01-011-11/+41
| | | | | | xcalloc/xrealloc/xstrdup-purge week. svn path=/import/netsurf/; revision=1418
* [project @ 2004-12-31 15:54:15 by jmb]John Mark Bell2004-12-311-5/+0
| | | | | | Fix scrollbar issue when fetching cached HTML contents. svn path=/import/netsurf/; revision=1414
* [project @ 2004-12-09 10:30:43 by rjw]Richard Wilson2004-12-091-0/+5
| | | | | | 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
* [project @ 2004-08-14 14:30:10 by joty]John Tytgat2004-08-141-8/+6
| | | | | | Removed a chunk of Norcroft compiler warnings. Re-ident some pieces. svn path=/import/netsurf/; revision=1231
* [project @ 2004-08-09 16:11:58 by jmb]John Mark Bell2004-08-091-2/+3
| | | | | | | 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
* [project @ 2004-07-30 16:14:43 by bursa]James Bursa2004-07-301-3/+2
| | | | | | Plug some minor leaks. svn path=/import/netsurf/; revision=1163
* [project @ 2004-07-10 02:35:30 by jmb]John Mark Bell2004-07-101-2/+14
| | | | | | | 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
* [project @ 2004-06-23 15:41:50 by bursa]James Bursa2004-06-231-3/+6
| | | | | | Fix fetchcache_go() treatment of contents which the initiator loses interest in (eg. wrong content-type). svn path=/import/netsurf/; revision=997
* [project @ 2004-06-23 11:40:29 by bursa]James Bursa2004-06-231-0/+6
| | | | | | Fix destroying of contents after redirects. svn path=/import/netsurf/; revision=996
* [project @ 2004-06-22 17:37:51 by bursa]James Bursa2004-06-221-4/+6
| | | | | | Fix aborting of fetches. svn path=/import/netsurf/; revision=990
* [project @ 2004-06-21 15:09:58 by bursa]James Bursa2004-06-211-19/+9
| | | | | | Merge memory cache into content module. svn path=/import/netsurf/; revision=986
* [project @ 2004-06-10 23:55:23 by bursa]James Bursa2004-06-101-59/+107
| | | | | | Split fetchcache() into fetchcache() and fetchcache_go() to solve problems of callbacks being called before fetchcache() returns. Fix <style> breakage. Error handling fixes & improvements. svn path=/import/netsurf/; revision=957
* [project @ 2004-06-10 20:41:26 by bursa]James Bursa2004-06-101-15/+26
| | | | | | Add global content list. Better error handling in content code. Improved code documentation. Remove some obsolete functions. Implement debug window listing contents. svn path=/import/netsurf/; revision=951
* [project @ 2004-06-08 20:25:04 by joty]John Tytgat2004-06-081-12/+16
| | | | | | | - fetchcache_error_page() : small optimisation. - removed compiler warning svn path=/import/netsurf/; revision=936
* [project @ 2004-06-05 15:03:59 by joty]John Tytgat2004-06-051-4/+4
| | | | | | | Created content_set_status() : one centralised place where status_message in the content struct is updated in a fail safe way. svn path=/import/netsurf/; revision=928
* [project @ 2004-05-05 16:33:15 by bursa]James Bursa2004-05-051-1/+0
| | | | | | Fix some compiler warnings. Ignore size attribute for file inputs. svn path=/import/netsurf/; revision=828
* [project @ 2004-05-02 00:21:40 by jmb]John Mark Bell2004-05-021-1/+1
| | | | | | Minimal fixes to allow compilation with Norcroft svn path=/import/netsurf/; revision=813
* [project @ 2004-04-25 11:40:05 by matthewh]Matthew Hambley2004-04-251-4/+4
| | | | | | A more human face to download bytecounts. Needs someone who can speak French to correct the fr messages file. svn path=/import/netsurf/; revision=803
* [project @ 2004-04-24 23:42:31 by bursa]James Bursa2004-04-241-9/+13
| | | | | | Replace void pointer in content callbacks with union content_msg_data. Fix animated gif flickering (except for scaled or masked gifs). Add gif to the debug builds. svn path=/import/netsurf/; revision=801
* [project @ 2004-04-10 12:57:17 by jmb]John Mark Bell2004-04-101-0/+2
| | | | | | Remove download contents from the cache svn path=/import/netsurf/; revision=742
* [project @ 2004-03-11 02:19:13 by bursa]James Bursa2004-03-111-7/+5
| | | | | | Add source_data to content structure and remove equivalents from individual contents. svn path=/import/netsurf/; revision=606
* [project @ 2004-03-02 18:02:17 by bursa]James Bursa2004-03-021-0/+1
| | | | | | Add new url functions and modify to use them. svn path=/import/netsurf/; revision=578