Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Time: Add date string to time_t parser. | Michael Drake | 2016-08-13 | 1 | -3/+810 |
| | |||||
* | url: Use ascii module, rather than ctype for locale safetly. | Michael Drake | 2016-08-13 | 1 | -1/+3 |
| | |||||
* | nsurl: Update to use ascii_* helper functions. | Michael Drake | 2016-08-13 | 1 | -112/+15 |
| | |||||
* | Utils: Add a set of ASCII string parsing helpers. | Michael Drake | 2016-08-13 | 1 | -0/+358 |
| | | | | These are not affected by the current locale. | ||||
* | Time: Expose arrays of weekday and month names. | Michael Drake | 2016-08-13 | 1 | -6/+72 |
| | |||||
* | Treeview: Add `treeview_font_size` to options. | Michael Drake | 2016-08-11 | 1 | -0/+8 |
| | | | | Default is 11pt, and RISC OS overrides to 12pt. | ||||
* | Add header that may be needed for Windows build. (CI fix attempt.) | Michael Drake | 2016-08-08 | 1 | -0/+1 |
| | |||||
* | Utils: Split time handling functions out of `utils.c` into `time.c`. | Michael Drake | 2016-08-07 | 3 | -111/+154 |
| | |||||
* | Indentation: spaces to tabs. | Michael Drake | 2016-08-07 | 1 | -3/+3 |
| | |||||
* | remove erroneous parameter check to nsoption_snoptionf | Vincent Sanders | 2016-08-06 | 1 | -1/+1 |
| | | | | | | The API check and bounds check for option indexes was from an unsigned enum so checking for negative numbers was causing "comparison is always false" errors in compilation. | ||||
* | improve option test coverage futher | Vincent Sanders | 2016-08-06 | 1 | -3/+11 |
| | |||||
* | Improve user option testing and API parameter checking | Vincent Sanders | 2016-08-05 | 1 | -9/+38 |
| | |||||
* | add tests for utility string handling | Vincent Sanders | 2016-08-04 | 1 | -2/+4 |
| | |||||
* | Improve percent escaping testing, parameter checking and documentation | Vincent Sanders | 2016-08-03 | 1 | -4/+17 |
| | |||||
* | URL escape: Improve API documentation. | Michael Drake | 2016-07-25 | 1 | -4/+6 |
| | |||||
* | URL escape: Simplify to avoid unnecessary allocation. | Michael Drake | 2016-07-25 | 3 | -37/+33 |
| | | | | | | | | This removes the toskip parameter, which was only used by the RISC OS front end. The toskip param was used to skip 8 characters which did not need to be escaped from the start of the URL. The RISC OS front end now orders the steps of its URL construction to avoid the need for this. | ||||
* | Improve comments. | Michael Drake | 2016-07-24 | 2 | -2/+3 |
| | |||||
* | URL module: Remove unused curl #include. | Michael Drake | 2016-07-24 | 1 | -1/+0 |
| | |||||
* | URL unescape: Calculate new_len at end, rather than maintaining it. | Michael Drake | 2016-07-24 | 1 | -4/+2 |
| | |||||
* | URL unescape: return the new length to the caller. | Michael Drake | 2016-07-24 | 3 | -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 Drake | 2016-07-24 | 1 | -10/+66 |
| | | | | This moves us towards working without curl. | ||||
* | URL unescape: Use size_t for length. | Michael Drake | 2016-07-24 | 2 | -2/+2 |
| | |||||
* | Doxygen: Fix instance of bad function comment syntax. | Michael Drake | 2016-07-24 | 1 | -1/+1 |
| | |||||
* | reduce curl usage to fetcher, url unescaping and time parsing | Vincent Sanders | 2016-06-29 | 3 | -5/+8 |
| | |||||
* | move utf8 header into public API | Vincent Sanders | 2016-05-30 | 1 | -1/+1 |
| | |||||
* | store toolbar config in standard options instead of a separate file | Vincent Sanders | 2016-05-21 | 1 | -2/+6 |
| | |||||
* | Fix several doxygen errors | Vincent Sanders | 2016-05-05 | 2 | -2/+4 |
| | |||||
* | remove unused warn_user API | Vincent Sanders | 2016-05-02 | 2 | -24/+0 |
| | |||||
* | message get API should not raise user errors itself | Vincent Sanders | 2016-04-29 | 1 | -4/+1 |
| | |||||
* | use the miscellaneous table warning entry | Vincent Sanders | 2016-04-25 | 2 | -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 beforehand | Vincent Sanders | 2016-04-21 | 2 | -4/+1 |
| | |||||
* | attempt to fix haiku headers | Vincent Sanders | 2016-04-21 | 1 | -0/+4 |
| | |||||
* | Split utils header into string functions and everything else | Vincent Sanders | 2016-04-21 | 6 | -86/+119 |
| | | | | | split out the string handling API from the rest of the utils header and fix up all the fallout. | ||||
* | remove unused wallclock API | Vincent Sanders | 2016-04-21 | 2 | -21/+0 |
| | |||||
* | cleanup unneeded includes in utils.h after API simplification | Vincent Sanders | 2016-04-20 | 2 | -4/+2 |
| | |||||
* | move remove underscores utility to alongside the single gtk call site | Vincent Sanders | 2016-04-20 | 2 | -31/+0 |
| | |||||
* | move regex helper to be with teh single remaining call site | Vincent Sanders | 2016-04-20 | 2 | -24/+0 |
| | |||||
* | add missing explicit dirent includes | Vincent Sanders | 2016-04-19 | 1 | -0/+1 |
| | |||||
* | move dir_sort_alpha function from generic utils to one specific place it is used | Vincent Sanders | 2016-04-19 | 2 | -46/+0 |
| | |||||
* | Reduce unecessary use of directory entry headers | Vincent Sanders | 2016-04-19 | 4 | -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 header | Vincent Sanders | 2016-04-19 | 2 | -8/+8 |
| | |||||
* | move sys/time.h support functionality out of generic header | Vincent Sanders | 2016-04-19 | 4 | -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 headers | Vincent Sanders | 2016-04-17 | 3 | -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 function | Vincent Sanders | 2016-04-16 | 2 | -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 formatting | Vincent Sanders | 2016-03-17 | 2 | -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 implementation | Vincent Sanders | 2016-03-14 | 1 | -110/+224 |
| | |||||
* | Initial pass removing gtk frontend theme code | Vincent Sanders | 2016-03-08 | 1 | -5/+0 |
| | |||||
* | Add script for setting files to git last touched date. | Michael Drake | 2016-02-19 | 1 | -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 OS | Vincent Sanders | 2016-02-15 | 1 | -0/+3 |
| | |||||
* | Use compiler environment to control riscos header usage | Vincent Sanders | 2016-02-15 | 2 | -5/+5 |
| | | | | | Instead of relying on building the RISC OS frontend to determine correct include compatability use the compiler __riscos__ macro. |