summaryrefslogtreecommitdiff
path: root/utils
Commit message (Collapse)AuthorAgeFilesLines
* Improve comments.Michael Drake2016-07-242-2/+3
|
* URL module: Remove unused curl #include.Michael Drake2016-07-241-1/+0
|
* URL unescape: Calculate new_len at end, rather than maintaining it.Michael Drake2016-07-241-4/+2
|
* URL unescape: return the new length to the caller.Michael Drake2016-07-243-5/+14
| | | | | | | | 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.
* Avoid using curl for URL unescaping.Michael Drake2016-07-241-10/+66
| | | | This moves us towards working without curl.
* URL unescape: Use size_t for length.Michael Drake2016-07-242-2/+2
|
* Doxygen: Fix instance of bad function comment syntax.Michael Drake2016-07-241-1/+1
|
* reduce curl usage to fetcher, url unescaping and time parsingVincent Sanders2016-06-293-5/+8
|
* move utf8 header into public APIVincent Sanders2016-05-301-1/+1
|
* store toolbar config in standard options instead of a separate fileVincent Sanders2016-05-211-2/+6
|
* Fix several doxygen errorsVincent Sanders2016-05-052-2/+4
|
* remove unused warn_user APIVincent Sanders2016-05-022-24/+0
|
* message get API should not raise user errors itselfVincent Sanders2016-04-291-4/+1
|
* use the miscellaneous table warning entryVincent Sanders2016-04-252-2/+22
| | | | | | | change all the frontends to provide the warning callback in the miscelaneous table instead of using the warn_user function. Changing all the warn_user callsites still requires completion.
* for strtof to be redefined on haiku stdlib must be included beforehandVincent Sanders2016-04-212-4/+1
|
* attempt to fix haiku headersVincent Sanders2016-04-211-0/+4
|
* Split utils header into string functions and everything elseVincent Sanders2016-04-216-86/+119
| | | | | split out the string handling API from the rest of the utils header and fix up all the fallout.
* remove unused wallclock APIVincent Sanders2016-04-212-21/+0
|
* cleanup unneeded includes in utils.h after API simplificationVincent Sanders2016-04-202-4/+2
|
* move remove underscores utility to alongside the single gtk call siteVincent Sanders2016-04-202-31/+0
|
* move regex helper to be with teh single remaining call siteVincent Sanders2016-04-202-24/+0
|
* add missing explicit dirent includesVincent Sanders2016-04-191-0/+1
|
* move dir_sort_alpha function from generic utils to one specific place it is usedVincent Sanders2016-04-192-46/+0
|
* Reduce unecessary use of directory entry headersVincent Sanders2016-04-194-7/+51
| | | | | | | 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.
* move time function to apropriate headerVincent Sanders2016-04-192-8/+8
|
* 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