path: root/desktop/netsurf.c
Commit message (Collapse)AuthorAgeFilesLines
* complete transition to locale independant core operationVincent Sanders2016-09-291-2/+1
| | | | | | | | | | | | The netsurf core no longer uses any locale dependant operations excepting the mall number or cases where such operations are explicitly wanted. the netsurf_init now calls setlocale with the empty string and lets the c library setup as per its specific implementation. any core functionality that specificaly processes ascii text must use the utils/ascii.h header to do so.
* Allow certificate verification user prompt creation to return errorsVincent Sanders2016-07-311-2/+6
* Allow include directories to be added by sub makefilesVincent Sanders2016-06-061-3/+3
* move desktop window header into public APIVincent Sanders2016-05-301-1/+1
* move netsurf header into public APIVincent Sanders2016-05-301-2/+2
* move misc header into public APIVincent Sanders2016-05-301-1/+1
* move the CSS content handlerVincent Sanders2016-05-261-1/+1
* move image content handlers to accomodate core build changesVincent Sanders2016-05-231-2/+2
* complete the rename of the gui browser tableVincent Sanders2016-04-161-3/+3
| | | | | | When the operations tables were created the browser table was renamed to miscellaneous except the actual rename patch was never applied, this fixes that situation.
* Fix size_t printf formattingVincent Sanders2016-03-171-1/+2
| | | | | | | 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.
* Add support for retrying timed-out cURL fetches.Daniel Silverstone2015-11-101-0/+3
| | | | | | | | | | | | | 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.
* This moves message loading out of netsurf_init into each frontendVincent Sanders2015-06-211-3/+1
| | | | | | | | | | The translated message loading is dependant on configuration of resource location in each frontend, additionally they should have the ability to deal with errors in this loading in a implementation specific manner. This also extends the message loading API to be capable of loading from an inline memory buffer instead of from a file.
* Move the browser identification and machine info logging.Vincent Sanders2015-06-211-9/+0
| | | | | | | | Previously this information was logged when netsurf_init was called which might be many lines out output into the log. It is useful to have this information at the beginning of the log to make it easily found. In addition it makes netsurf_init less complex.
* Change LOG() macro to be varadicVincent Sanders2015-05-281-19/+15
| | | | | | | | | | | | 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.
* Improve llcache writeout stratagyVincent Sanders2014-11-281-8/+16
* Remove old URL header includes.Michael Drake2014-10-311-1/+0
* remove unused url_init functionVincent Sanders2014-10-311-2/+0
* Update the core to use the split operations table headersVincent Sanders2014-10-161-9/+3
| | | | 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-14/+13
| | | | | | | | | 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.
* remove netsurf_poll callback and netsurf main loopVincent Sanders2014-10-131-14/+0
* make fetchers scheduledVincent Sanders2014-06-261-4/+1
* clean up the fetcher factory and improve its APIVincent Sanders2014-06-191-4/+4
* fix disc cache size option to be unsignedVincent Sanders2014-06-091-1/+1
* Completely re-write web search provider handlingVincent Sanders2014-05-251-2/+2
* add backing store storage path to browser initialisationVincent Sanders2014-05-131-3/+2
* Extend low level source data cache with persistant storageVincent Sanders2014-05-131-42/+67
* ensure operations tables are registered as early as possible.Vincent Sanders2014-05-101-9/+8
* move verbose log global into logging module and remove netsurf.h includeVincent Sanders2014-01-291-1/+0
* remove forward refs from content/fetch.c and cleanup doc commentsVincent Sanders2014-01-191-1/+4
* move 401 login into operation tableVincent Sanders2014-01-161-3/+1
* split browser gui operations upVincent Sanders2014-01-151-3/+3
* move remaining gui operations to tableVincent Sanders2014-01-141-1/+1
* Initial conversion of netsurf gui to callback vtableVincent Sanders2014-01-111-3/+9
* stop system colours being anything to do with frontendsVincent Sanders2014-01-101-2/+5
* move option init out of netsurf_initVincent Sanders2013-05-281-12/+3
* move options includeVincent Sanders2013-05-281-1/+1
* move the logging initialisation out to be call by frontendsVincent Sanders2013-05-231-9/+0
| | | | | This allows each frontend to pass a distinct callback to configure the output file stream appropriately for their use.
* removed unsuded memdebug utilitiesVincent Sanders2013-05-231-5/+2
* Fix "error setting certificate verify locations" problem when the Choices ↵Michael Drake2012-10-171-0/+1
| | | | file doesn't exist. Now there's a single place for front ends to set options overrides. Fix nsoption_setnull_charp leak.
* Fix up ripples from urldb change.Michael Drake2012-10-111-3/+2
* Show refcnt in lwc iterator at netsurf exit.Daniel Silverstone2012-07-221-1/+1
* Interned string cleanup, phase 2: Create utils/corestrings and use it in css ↵Michael Drake2012-07-221-0/+7
| | | | handler.
* Move js_finalise(). Fix provided by Ole Loots (mono)Daniel Silverstone2012-06-291-2/+3
| | | | svn path=/trunk/netsurf/; revision=14014
* improve javascript supportVincent Sanders2012-06-101-1/+3
| | | | svn path=/trunk/netsurf/; revision=13962
* remove unecessary includesVincent Sanders2012-03-231-4/+0
| | | | svn path=/trunk/netsurf/; revision=13556
* NetSurf options rework (a=vince r=daniels,jmb)Vincent Sanders2012-03-221-3/+3
| | | | svn path=/trunk/netsurf/; revision=13548
* Totaly prefunctry binding to spidermonkeyVincent Sanders2012-01-011-0/+5
| | | | svn path=/trunk/netsurf/; revision=13360
* Port llcache to nsurl.Michael Drake2011-09-281-2/+3
| | | | svn path=/trunk/netsurf/; revision=12904
* Virtualise content handler finalisation calls. Remove pointless implementations.John Mark Bell2011-09-151-7/+2
| | | | svn path=/trunk/netsurf/; revision=12797
* Make high level cache, low level cache and image cache all be initialised ↵Vincent Sanders2011-09-101-7/+22
| | | | | | | | | 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