summaryrefslogtreecommitdiff
path: root/content/fetchcache.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
* [project @ 2004-02-27 17:45:19 by bursa]James Bursa2004-02-271-5/+11
| | | | | | Move English text to Messages file for translation. svn path=/import/netsurf/; revision=576
* [project @ 2004-01-26 14:16:23 by bursa]James Bursa2004-01-261-14/+44
| | | | | | Fix crashes related to content_destroy() by adding lock, implement no_error_pages. svn path=/import/netsurf/; revision=508
* [project @ 2004-01-23 20:46:29 by bursa]James Bursa2004-01-231-8/+34
| | | | | | Add error pages for fetch failures. svn path=/import/netsurf/; revision=498
* [project @ 2004-01-20 19:08:34 by jmb]John Mark Bell2004-01-201-3/+13
| | | | | | | Allow toggling of POST support. Add new toolbar icon numbers to riscos/gui.h svn path=/import/netsurf/; revision=490
* [project @ 2004-01-05 02:10:59 by jmb]John Mark Bell2004-01-051-4/+13
| | | | | | | Add ability to turn off browser features in build. This may be useful when hunting down bugs. svn path=/import/netsurf/; revision=480
* [project @ 2003-12-27 20:15:22 by bursa]James Bursa2003-12-271-7/+68
| | | | | | Use charset from Content-Type header. svn path=/import/netsurf/; revision=460
* [project @ 2003-12-26 16:20:57 by bursa]James Bursa2003-12-261-2/+2
| | | | | | Enable cookies. svn path=/import/netsurf/; revision=443
* [project @ 2003-12-26 00:17:55 by bursa]James Bursa2003-12-261-2/+6
| | | | | | New url_join using liburi, <base href=...>. svn path=/import/netsurf/; revision=441
* [project @ 2003-10-25 19:20:13 by jmb]John Mark Bell2003-10-251-0/+8
| | | | | | | HTTP Auth login improved (greatly). Addresses all three issues in the previous version. svn path=/import/netsurf/; revision=382