summaryrefslogtreecommitdiff
path: root/content/fetch.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix error reporting from fetch_startVincent Sanders2015-06-241-6/+12
| | | | | | | Any fetch start error was being reported as "out of memory" which was clearly insufficient. Foe example bad urls (reported was file:// with a missing /) were causing a warn_user with out of memory. This change now at least causes a "bad url" message.
* fixup all the remaining logging macro callsitesVincent Sanders2015-05-281-21/+21
| | | | | The semantic patch tool appears to have missed some difficult to reason about callsites which have now been manually cleaned up
* Change LOG() macro to be varadicVincent Sanders2015-05-281-7/+5
| | | | | | | | | | | | This changes the LOG macro to be varadic removing the need for all callsites to have double bracketing and allows for future improvement on how we use the logging macros. The callsites were changed with coccinelle and the changes checked by hand. Compile tested for several frontends but not all. A formatting annotation has also been added which allows the compiler to check the parameters and types passed to the logging.
* Doxygen cleanups and documentation additionsVincent Sanders2014-11-101-1/+2
|
* update fetcher registration API to return an error code.Vincent Sanders2014-10-251-7/+29
| | | | | | | | By using an error code return we can gracefully handle fetcher registration faliures instead of just immediately aborting. The curl handler was also cleaned up and documentation improved as a side effect.
* Update the core to use the split operations table headersVincent Sanders2014-10-161-1/+2
| | | | Second in the series to decouple the core API usage from the frontends.
* split version info into its own header and remove unnecessary nesurf.h includesVincent Sanders2014-10-131-1/+0
| | | | | | | | | The netsurf.h header should *only* contain the registration, core initialisation and finalisation methods. Version information is best placed in its own header. Also remove any unneeded inclusion of this header limiting it to solely the places the relevant API is required.
* fixup haiku rsrc fetcher initialisationVincent Sanders2014-09-051-1/+1
|
* add incomplete scheme fetcher for javascript urlsVincent Sanders2014-08-251-0/+2
|
* fix leak on error path (coverity 1224429)Vincent Sanders2014-07-081-0/+1
|
* turn off verbose fetch debuggingVincent Sanders2014-07-021-6/+16
|
* fix dumb error in previous commit and get scheme name element correctVincent Sanders2014-07-021-3/+3
|
* fix unhelpful assert at quitVincent Sanders2014-07-021-3/+22
|
* convert all frontends to scheduled fetch operationVincent Sanders2014-06-261-0/+1
|
* make fetchers scheduledVincent Sanders2014-06-261-77/+140
|
* clean up the fetcher factory and improve its APIVincent Sanders2014-06-191-159/+154
|
* Use corestrings for fetch module's lwc strings.Michael Drake2014-01-241-23/+3
|
* remove forward refs from content/fetch.c and cleanup doc commentsVincent Sanders2014-01-191-262/+200
|
* Support cloning rawfile dataDaniel Silverstone2014-01-041-0/+15
|
* Add a bunch of logging to try and help track down the issue with rawfile ↵Daniel Silverstone2014-01-041-1/+3
| | | | handling, sorry guys
* In theory, store raw filenames and pass them through for file upload. ↵Daniel Silverstone2014-01-041-0/+2
| | | | Untested due to no file-upload in GTK frontend just yet
* Pedantic wrap fix.Michael Drake2013-10-231-3/+6
|
* move options includeVincent Sanders2013-05-281-1/+1
|
* Downgrade TLS version support if it turns out the server can't cope with ↵John-Mark Bell2013-01-041-3/+5
| | | | TLSv1.1.
* Cleanup.Michael Drake2012-10-111-8/+4
|
* Port to new urldb.Michael Drake2012-10-081-3/+2
|
* check all return values of string comparisonsVincent Sanders2012-08-091-7/+12
|
* NetSurf options rework (a=vince r=daniels,jmb)Vincent Sanders2012-03-221-3/+3
| | | | svn path=/trunk/netsurf/; revision=13548
* return;John Mark Bell2011-11-271-5/+7
| | | | | | Fix bug #3442642: allow scheme-specific fetchers to have a say in whether an URL can be fetched. svn path=/trunk/netsurf/; revision=13182
* Clean up fetch callback API. Inject some long-needed type safety.John Mark Bell2011-11-081-5/+2
| | | | svn path=/trunk/netsurf/; revision=13137
* prevent odd curl non completion behaviourVincent Sanders2011-10-091-3/+5
| | | | svn path=/trunk/netsurf/; revision=13024
* Build resource: map at start timeJohn Mark Bell2011-10-051-2/+0
| | | | | | Remove stylesheet url globals -- the core will always use resource:{default,quirks,adblock}.css as appropriate svn path=/trunk/netsurf/; revision=12949
* Optimise fetch item selection when fetching many items from same host.Michael Drake2011-10-021-0/+10
| | | | svn path=/trunk/netsurf/; revision=12920
* Convert fetchers to nsurl.Michael Drake2011-09-291-2/+1
| | | | svn path=/trunk/netsurf/; revision=12910
* fetch_can_fetch can take const nsurl.Michael Drake2011-09-271-1/+1
| | | | svn path=/trunk/netsurf/; revision=12902
* Port fetch layer to nsurl. Remove unused fetch_get_referer function.Michael Drake2011-09-271-95/+75
| | | | svn path=/trunk/netsurf/; revision=12899
* Fetchers register with an lwc_string, rather than a string.Michael Drake2011-09-261-14/+20
| | | | svn path=/trunk/netsurf/; revision=12891
* Disable fetch debug loops when not debugging.Michael Drake2011-09-261-5/+3
| | | | svn path=/trunk/netsurf/; revision=12890
* Remember to free host, now it's not kept for anything.Michael Drake2011-09-261-0/+1
| | | | svn path=/trunk/netsurf/; revision=12886
* Remove unused host from fetch info struct.Michael Drake2011-09-261-3/+0
| | | | svn path=/trunk/netsurf/; revision=12885
* Revert r12412, the doi: URI scheme hasn't been kept around it seems, even ↵François Revel2011-05-161-2/+0
| | | | | | ACM doesn't use it. And kyllikki was jumping on his seat anyway... It's still in the svn history if needed. I have some stuff for view-source: and man: but I'm not use they would be appreciated either :-D svn path=/trunk/netsurf/; revision=12414
* Add a redirecting fetcher for the doi: URI scheme. Not much used but just in ↵François Revel2011-05-151-0/+2
| | | | | | case... svn path=/trunk/netsurf/; revision=12412
* add resource handlingVincent Sanders2011-02-231-0/+2
| | | | | | move gtk and framebuffer to use generic resource handling svn path=/trunk/netsurf/; revision=11772
* Add missing includeJohn Mark Bell2011-02-151-0/+1
| | | | svn path=/trunk/netsurf/; revision=11694
* add about: fetcher Vincent Sanders2011-02-151-3/+4
| | | | | | rename fetchers to be more sensible svn path=/trunk/netsurf/; revision=11692
* Revert r10650/1. We no longer require noisy fetch/cache logging.John Mark Bell2011-01-061-1/+1
| | | | svn path=/trunk/netsurf/; revision=11223
* Make fetch.c use new RING_COUNTBYLWCHOSTDaniel Silverstone2010-12-201-4/+15
| | | | svn path=/trunk/netsurf/; revision=11108
* Merge branches/vince/netsurf-file-fetcher to trunkJohn Mark Bell2010-09-091-0/+2
| | | | | | r=jmb svn path=/trunk/netsurf/; revision=10750
* Enable noisy loggingJohn Mark Bell2010-07-171-1/+1
| | | | svn path=/trunk/netsurf/; revision=10650
* Improve const-correctness of fetch_startJohn Mark Bell2010-04-101-3/+3
| | | | svn path=/trunk/netsurf/; revision=10342