path: root/content/fetchers
Commit message (Collapse)AuthorAgeFilesLines
* Move sys_uptime() inside kolibrios dirAshish Gupta2017-06-101-14/+0
* Release nightly for KolibriOS.Ashish Gupta2017-06-102-1/+40
| | | | Check forum thread for Netsurf for more details.
* Clean up debug board logging and other crapAshish Gupta2017-06-101-17/+2
* Do multiple FETCH_DATA callbacks from http fetcher instead of just one large ↵Ashish Gupta2017-06-101-8/+27
| | | | callback
* Tidy up some things.Ashish Gupta2017-06-101-13/+16
* Fix description for FETCH_HEADERAshish Gupta2017-06-101-18/+2
| | | | Remove redundant FETCH_XXX description from the curl fetcher.
* Add http kolibrios fetcherAshish Gupta2017-06-102-0/+350
* Move port for kolibrios ahead.Ashish Gupta2017-06-101-0/+1
| | | | Look at diff from master and reconcile.
* Step 2 : Abuse _TARGET_IS_KOLIBRIOS and build with make TARGET=kolibriosAshish Gupta2017-06-101-0/+6
* create netsurf inttypes header to have portable integer formatting macrosVincent Sanders2017-01-213-0/+3
* Fix OpenSSL X509 cert API detectionVincent Sanders2016-11-211-2/+4
| | | | | LibreSSL defines a OPENSSL_VERSION_NUMBER of 2.1 but only provides the old OpenSSL 1.0.x API.
* fix openSSL 1.1.0 X509 certificate handlingVincent Sanders2016-11-201-9/+23
* fix unecessary base64 header includeVincent Sanders2016-11-191-1/+1
* Remove internal BASE64 in favour of nsutils' oneDaniel Silverstone2016-11-191-3/+6
* document file fetcher being locale dependantVincent Sanders2016-09-101-1/+5
* Buildsystem: Make curl/openssl usage build-time options.Michael Drake2016-08-131-2/+4
* URL unescape: return the new length to the caller.Michael Drake2016-07-241-3/+2
| | | | | | | | The avoids situations were we threw away the length, only for the caller to have to strlen the returned string. Note, there seems to be a case of the amiga front end writing beyond end of allocation. Added a TODO for now.
* Data URL handling: Use url_unescape rather than curl.Michael Drake2016-07-241-13/+10
* Whitespace: Convert spaces to tab for indent.Michael Drake2016-07-241-3/+3
* Refactor the fdset acquisition into the fetchers to stop fetch.c including ↵Daniel Silverstone2016-06-271-0/+18
| | | | curl.h
* Fix handling of certificate chainsVincent Sanders2016-06-271-145/+251
| | | | | | | When processing a x509 certificate chain from openssl it is necessary to allow teh entire chain to be processed rather than halting processing at the first certificate with an error. This allows errors with a certificate authority to be examined.
* Allow include directories to be added by sub makefilesVincent Sanders2016-06-061-1/+1
* Update content to split public and internal APIVincent Sanders2016-06-061-1/+0
* move fetch header into public APIVincent Sanders2016-05-303-3/+3
* move misc header into public APIVincent Sanders2016-05-301-1/+1
* move image content handlers to accomodate core build changesVincent Sanders2016-05-231-1/+1
* remove all core usage of warn_user APIVincent Sanders2016-04-261-1/+2
* need strings.h for strncasecmp on freebsdVincent Sanders2016-04-212-0/+2
* Split utils header into string functions and everything elseVincent Sanders2016-04-215-63/+25
| | | | | split out the string handling API from the rest of the utils header and fix up all the fallout.
* remove curl fetchers use of the wallclock APIVincent Sanders2016-04-191-13/+15
| | | | | | | | | | The wallclock() API uses gettimeofday which can be affected by the the systems clock being changed etc. The curl fetcher usage of this API is to generate a timing delta and does not cope with the gettimeofday issues. This changes the fetcher to use the nsutils library monotonic time function which does not suffer from the issues with gettimeofday.
* move dir_sort_alpha function from generic utils to one specific place it is usedVincent Sanders2016-04-191-0/+43
* Reduce unecessary use of directory entry headersVincent Sanders2016-04-193-4/+3
| | | | | | | The config header was causing many source files to unecessarily include the dirent headers causing extra dependancies. This has been fixed by providing a utility dirent header that provides a common API across all platforms while removing the unecessary dirent header usage.
* Reduce unecessary use of networking headersVincent Sanders2016-04-171-1/+2
| | | | | | | | The utility configuration header dragged in a number of bsd sockets and related API as a side effect of setting up the configuration. By splitting the header and API setup into a separate header only the small number of places that need the functionality explitly include it.
* Fix size_t printf formattingVincent Sanders2016-03-173-18/+30
| | | | | | | The printf formatting for size_t is set in c99 as %zu but in windows it is %Iu this is solved by adding and inttypes style PRI macro for size_t This also uses this macro everywhere size_t is formatted.
* Tiny simplification of curl debug logging.Michael Drake2016-01-211-1/+1
* Add extra logging to curl poll fn when not suppressing curl debug.Michael Drake2015-11-111-0/+38
* Add support for retrying timed-out cURL fetches.Daniel Silverstone2015-11-101-4/+12
| | | | | | | | | | | | | This is an attempt to amelioriate the situation found in #2384 where we see the cURL connect() failing to complete. Based on the pcap from the bug log, we believe that RISC OS is likely failing to signal the completion of the connection to cURL. As such, cURL times out. This change permits retries of timed out connections in the hope that a fresh socket FD might subsequently function correctly. The defaults chosen mean that the previous behaviour of 30 seconds before timeout is reported will remain the same, but in that time we will make 3 separate attempts to connect the socket.
* Allow the resource scheme to provide data directly.Vincent Sanders2015-06-171-48/+151
| | | | | | This allows front ends to provide resources from compiled in data instead of requiring the resources to be available on disc and forcing a redirect.
* Change LOG() macro to be varadicVincent Sanders2015-05-282-39/+31
| | | | | | | | | | | | 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.
* Move win32 window operations into their own moduleVincent Sanders2015-03-121-1/+2
| | | | | | This splits up a great deal of the win32 window code out from other gui code. It also remove large quantities of unused and junk variables and functions.
* Fix my spelling of teh everywhereVincent Sanders2014-11-181-1/+1
* Improve data scheme fetcher allocationVincent Sanders2014-11-171-10/+8
| | | | | | The data scheme fetcher was over allocating the space for decoded base64 encoded urls and not using the base64 API that allocated the correct size storage.
* Remove unecessary form debugVincent Sanders2014-11-151-1/+1
| | | | | Additionaly we make the curl fetcher report errors instead of uninitialised buffer.
* Doxygen cleanupsVincent Sanders2014-11-091-3/+3
* Improve Doxygen documentationVincent Sanders2014-11-081-2/+7
* update fetcher registration API to return an error code.Vincent Sanders2014-10-256-528/+523
| | | | | | | | 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.
* Add trivial maps facilitator at about:mapsMichael Drake2014-10-222-0/+18
| | | | | | | | This is a simple HTML front end for the Google Static Maps API, since we don't yet have enough JS support for the full Google Maps. See:
* Update the core to use the split operations table headersVincent Sanders2014-10-163-4/+11
| | | | Second in the series to decouple the core API usage from the frontends.
* HTTPS: disable all SSL versions; emit fallback SCSV on downgrade.John-Mark Bell2014-10-151-1/+5
| | | | | | This removes all support for SSL and (with help from servers that support the fallback SCSV) protects against inappropriate protocol downgrade.
* split version info into its own header and remove unnecessary nesurf.h includesVincent Sanders2014-10-134-4/+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.