summaryrefslogtreecommitdiff
path: root/utils
Commit message (Collapse)AuthorAgeFilesLines
...
* move sys/time.h support functionality out of generic headerVincent Sanders2016-04-194-29/+54
| | | | | | | The utils header is a large collection of functionality for several system headers and API. This splits out the ones from sys/time.h into a separate header reducing the need for many unconnected source files to include the system header unecessarily.
* Reduce unecessary use of networking headersVincent Sanders2016-04-173-10/+65
| | | | | | | | 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.
* create date and time to seconds since epoch processing utility functionVincent Sanders2016-04-162-17/+64
| | | | | | | currently NetSurf uses curl_getdate to convert textural date and time strings into seconds since epoch. It is betetr to move this functionality to a utility function so curl_getdate can easily be replaced if required.
* Fix size_t printf formattingVincent Sanders2016-03-172-7/+17
| | | | | | | 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.
* fixup nsurl handling to avoid locale specific character type implementationVincent Sanders2016-03-141-110/+224
|
* Initial pass removing gtk frontend theme codeVincent Sanders2016-03-081-5/+0
|
* Add script for setting files to git last touched date.Michael Drake2016-02-191-0/+36
| | | | | | | | | This may help with whatever issue is causing a problem with RISC OS !Boot and !System distributions. From the base of the netsurf repo, you can run it like this: $ ./utils/git-date.sh riscos/distribution/
* setup flags for building monkey on RISC OSVincent Sanders2016-02-151-0/+3
|
* Use compiler environment to control riscos header usageVincent Sanders2016-02-152-5/+5
| | | | | Instead of relying on building the RISC OS frontend to determine correct include compatability use the compiler __riscos__ macro.
* Ensure fetch attempts is not reduced to less than 1.Michael Drake2016-02-151-2/+3
|
* Fix constraints on curl_fetch_timeout option.Michael Drake2016-02-151-2/+2
| | | | 5 <= n <= 60 seconds.
* enable monkey to be built everywhere it is completely generic nowVincent Sanders2016-02-121-18/+2
|
* fix coverity build generated tar handlingVincent Sanders2016-02-111-4/+6
|
* fix coverity submission for netsurfVincent Sanders2016-02-091-3/+5
|
* remove possible null dereference on allocation faliureVincent Sanders2016-02-091-2/+2
| | | | fix null dereference is calloc fails. coverity 1316339
* ensure mac os x path is correctVincent Sanders2016-02-071-0/+1
|
* update jenkins build script for yosemiteVincent Sanders2016-02-071-0/+3
|
* update for aarch64Vincent Sanders2016-02-011-0/+9
|
* remove javascript build option from jenkins scriptVincent Sanders2016-01-251-28/+20
|
* move the container code to gtk directory as its only ever used there.Vincent Sanders2016-01-192-816/+0
|
* Add 'mailto' lwc corestring.Michael Drake2016-01-082-0/+4
|
* remove necessity for header change in libutf8procVincent Sanders2016-01-032-2/+7
| | | | | The combining character class definition was put in the libutf8proc header instead of being local to the IDNA implementation.
* Revert "Skip invalid commandline args instead of aborting"Chris Young2015-11-271-4/+2
| | | | This reverts commit 4ad94124a693528f2ac47a9b4b2e12880586aedf.
* Skip invalid commandline args instead of abortingChris Young2015-11-241-2/+4
|
* Ensure that those events listed in 8.1.5.2 as forwarded from body to window, ↵Daniel Silverstone2015-11-222-0/+31
| | | | don't get registered for listeners on body
* Add support for retrying timed-out cURL fetches.Daniel Silverstone2015-11-101-0/+14
| | | | | | | | | | | | | 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.
* Fix segmentation fault when a string option is set to NULLVincent Sanders2015-11-051-1/+4
| | | | | The check for a user option being a default value was not protecting against the value being set to NULL.
* Stop utf8 conversion leaking its strings.Michael Drake2015-10-311-8/+16
|
* Don't fail on URLs with no host.Michael Drake2015-10-311-8/+4
|
* Style guide adherence.Michael Drake2015-10-311-11/+16
|
* Make nsurl utf8 string conversion function consistent with nsurl API.Michael Drake2015-10-252-3/+3
|
* Update gtk frontend to new APIChris Young2015-10-241-1/+1
|
* Rework IDN URL retrieval to return an nserrorChris Young2015-10-242-32/+37
|
* Add URL fragmentChris Young2015-10-241-1/+1
|
* Check we've obtained the host stringChris Young2015-10-241-0/+5
|
* Show the IDN decoded form in the URL bar on GTK if the option is set.Chris Young2015-10-242-2/+2
|
* Add a function to retrieve the decoded version of IDNA URLsChris Young2015-10-242-0/+59
|
* Fix BeOS buildAdrien Destugues2015-10-121-0/+2
| | | | | | | Mainly C/C++ conflicts: * Designated initializer are not part of C++ * C++ already defines min() and max() * Force C99 and remove -O0 since we now use a decent compiler
* Fix checking of distccVincent Sanders2015-08-121-2/+3
|
* Add support for builders with distcc installedVincent Sanders2015-08-121-2/+10
|
* Fixup jenkins build scripts to cope with duktape for javascriptVincent Sanders2015-08-091-6/+13
|
* Add support for BODY, HEAD, html namespaces and keying of html content dataDaniel Silverstone2015-08-092-0/+25
|
* Fix build on 64-bit HaikuAdrien Destugues2015-07-141-1/+1
| | | | | | | - Fix path to look for libnetwork to work also on non-hybrid systems - Remove references to /boot/common as it is not used anymore - Fix a few type errors - Use compiler provided va_copy when available
* Update jenkins build script to cope with arm linux buildsVincent Sanders2015-07-131-37/+17
|
* Complete hash table tests and clean up ineterface.Vincent Sanders2015-07-122-174/+57
|
* Add unit test for bloom filterVincent Sanders2015-07-101-57/+4
| | | | | | | Adds check based unit test for teh bloom filter implementation. This is based on Roberts original test code in utils/bloom.c and uses /usr/share/dict as a source of strings to check bloom creation, no false negatives and the false positive rate is below 15%.
* Add tests for all asserts in nsurl API and for access and access_leafVincent Sanders2015-07-091-0/+4
|
* Add asserts to ensure operations not passed bad pointersVincent Sanders2015-07-091-0/+4
|
* Improve component documentation.Michael Drake2015-07-091-3/+12
|
* Fix mention of nsurl_destroy.Michael Drake2015-07-091-6/+6
|