Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add asserts to ensure operations not passed bad pointers | Vincent Sanders | 2015-07-09 | 1 | -0/+4 |
| | |||||
* | Improve component documentation. | Michael Drake | 2015-07-09 | 1 | -3/+12 |
| | |||||
* | Fix mention of nsurl_destroy. | Michael Drake | 2015-07-09 | 1 | -6/+6 |
| | |||||
* | Fix logging to stderr if verbose_log was set before nslog_init was called | Vincent Sanders | 2015-07-05 | 1 | -2/+5 |
| | |||||
* | Fix a signed comparison error in nsurl parsing. | Vincent Sanders | 2015-07-04 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | In utils/nsurl.c the function nsurl__create_from_section() has a section dealing with non-redundant ports (starting line 973). lwc_intern_string() was being called with negative lengths and as it takes a size_t (unsigned) so is getting passed a very large length which causes a segfault. this is supposed to be protected by the flag setting on line 969 however the arithmetic is all *unsigned* so the condition never matches (gdb) p length - (colon - pegs->at + skip) $9 = 18446744073709551608 changing the check arithmetic to be a simple comparison against length prevents this issue and reduces the amount of computation required. | ||||
* | Allow translation messages to be compiled in as GTK resources | Vincent Sanders | 2015-06-21 | 2 | -9/+116 |
| | |||||
* | This moves message loading out of netsurf_init into each frontend | Vincent Sanders | 2015-06-21 | 2 | -4/+23 |
| | | | | | | | | | | 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 Sanders | 2015-06-21 | 1 | -0/+20 |
| | | | | | | | | 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. | ||||
* | use logfile as variable name as cocoa gives an error about the symbol type ↵ | Vincent Sanders | 2015-05-29 | 1 | -8/+8 |
| | | | | of logf | ||||
* | Improve logging interface to reduce overhead | Vincent Sanders | 2015-05-29 | 2 | -22/+20 |
| | | | | | | | | | | | | | This reduces logging overhead by only calling the log output function once instead of three times. Additionally the nslog_gettime interface no longer needs to be exported and the static function is directly inlined further reducing function call overhead. Finally the appending of a newline uses fputc instead of a full printf call which is considerably more simple and further reduces overhead time. | ||||
* | Allow verbose logging to be directed to a file | Vincent Sanders | 2015-05-29 | 1 | -1/+34 |
| | |||||
* | fixup all the remaining logging macro callsites | Vincent Sanders | 2015-05-28 | 2 | -9/+9 |
| | | | | | The semantic patch tool appears to have missed some difficult to reason about callsites which have now been manually cleaned up | ||||
* | Change LOG() macro to be varadic | Vincent Sanders | 2015-05-28 | 11 | -100/+93 |
| | | | | | | | | | | | | 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. | ||||
* | utility to translate public suffix data into a c code | Vincent Sanders | 2015-05-06 | 1 | -0/+378 |
| | |||||
* | Update posix source version on monkey frontend to reflect oyr usage of scandir | Vincent Sanders | 2015-05-03 | 1 | -1/+1 |
| | |||||
* | Revert "Fix RISC OS not having a pread/pwrite implementation." | Vincent Sanders | 2015-04-02 | 2 | -45/+0 |
| | | | | | | | This reverts commit 82c7a7a4baf4a7a15381ee720799dc41c3d54909. Conflicts: content/fs_backing_store.c | ||||
* | Fix RISC OS not having a pread/pwrite implementation. | Vincent Sanders | 2015-03-31 | 2 | -3/+49 |
| | |||||
* | Remove fragment from nsurl hash. | Michael Drake | 2015-03-27 | 1 | -3/+0 |
| | |||||
* | Move win32 window operations into their own module | Vincent Sanders | 2015-03-12 | 1 | -0/+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. | ||||
* | Remove unused #include. | Michael Drake | 2015-03-05 | 1 | -1/+0 |
| | |||||
* | Remove include of nsurl from corestrings.h | Michael Drake | 2015-02-26 | 2 | -2/+2 |
| | |||||
* | Move FILE_SCHEME_PREFIX to corestrings. | Michael Drake | 2015-02-26 | 2 | -7/+8 |
| | |||||
* | add missing errno include | Vincent Sanders | 2015-01-30 | 1 | -0/+1 |
| | |||||
* | Updated time_t fallback reading to not fail if the value is 0 | Vincent Sanders | 2015-01-30 | 1 | -2/+5 |
| | | | | | | | The non strptime fallback reading of time_t values would report faliure if the value it read was 0 which is a valid time. This fixes this path to only fail if there was an actual error processing the value. | ||||
* | Cast timeval.usec calculations to int as AmigaOS3 has some conflicting ↵ | Chris Young | 2015-01-19 | 1 | -3/+3 |
| | | | | | | headers which means it can be treated as an unsigned value. This ensures the log time is always correct. | ||||
* | jenkins helper script quoting in shell wilidcard case was wrong | Vincent Sanders | 2014-12-21 | 1 | -6/+6 |
| | |||||
* | add freebsd to jenkins build script for gtk, framebuffer and monkey | Vincent Sanders | 2014-12-21 | 1 | -1/+26 |
| | |||||
* | remove some warnings from freebsd build | Vincent Sanders | 2014-12-21 | 2 | -0/+2 |
| | |||||
* | Update the coverity build script for buildsystem HOST/BUILD changes | Vincent Sanders | 2014-12-19 | 1 | -3/+3 |
| | |||||
* | fix BUILD/HOST usage to work with fixed buildsystem | Vincent Sanders | 2014-12-19 | 1 | -45/+45 |
| | |||||
* | Improve message split generation | Vincent Sanders | 2014-12-02 | 1 | -35/+99 |
| | | | | | | | | | | This changes the message splitting code to ensure that a translation is generated for every different key using a specified language as a fallback if no translation is available. This also allows for a messages to be generated when there is no fallback at all and when the translation is the same as the fallback language | ||||
* | make coverity build script use updated environment variables | Vincent Sanders | 2014-11-30 | 1 | -4/+2 |
| | |||||
* | Fix my spelling of teh everywhere | Vincent Sanders | 2014-11-18 | 2 | -2/+2 |
| | |||||
* | uipdate jenkins build script to confirm to new core buildsystem | Vincent Sanders | 2014-11-16 | 1 | -45/+45 |
| | |||||
* | USe the externally built conveniance utf8proc library | Vincent Sanders | 2014-11-14 | 5 | -14374/+5 |
| | |||||
* | doxygen cleanups in utils | Vincent Sanders | 2014-11-12 | 9 | -13/+21 |
| | |||||
* | Doxygen fixes | Vincent Sanders | 2014-11-09 | 1 | -6/+9 |
| | |||||
* | Improve Doxygen documentation | Vincent Sanders | 2014-11-08 | 1 | -1/+1 |
| | |||||
* | Fix several doxygen issues | Vincent Sanders | 2014-11-08 | 3 | -7/+8 |
| | |||||
* | fix dumb mistake in missing a close bracket. | Vincent Sanders | 2014-11-04 | 1 | -1/+1 |
| | |||||
* | change logic to check for false instead of not true to fix coverity 1250328 | Vincent Sanders | 2014-11-04 | 2 | -5/+5 |
| | |||||
* | remove unecessary utils/types.h | Vincent Sanders | 2014-11-02 | 2 | -53/+6 |
| | | | | | | This cleans up this header and moves the functionality into more useful places while reducing the include complexity but only pulling in whats required. | ||||
* | Change contextual content retrieval to browser features. | Vincent Sanders | 2014-11-02 | 1 | -15/+0 |
| | | | | | | | | | | | | | Update the API which allows frontends to acquire the page features (images, link urls or form elements) present at the given coordinates within a browser window. By making this an explicit browser_window API and using the browser.h header for the associated data structure with a more appropriate API naming the usage is much more obvious and contained. Additionally the link url is now passed around as a nsurl stopping it being converted from nsurl to text and back again several times. | ||||
* | Move host_is_ip_address into urldb, as that's the only thing that cares. | Michael Drake | 2014-10-31 | 2 | -98/+0 |
| | |||||
* | remove unused url_init function | Vincent Sanders | 2014-10-31 | 2 | -37/+0 |
| | |||||
* | use nsurl_nice and remove url_nice | Vincent Sanders | 2014-10-31 | 2 | -113/+0 |
| | | | | | change all callers over to using new API for generating nice filenames from a url and remove the old API. | ||||
* | Remove unused variable. | Michael Drake | 2014-10-30 | 1 | -1/+0 |
| | |||||
* | Add a nsurl_nice, which can replace url_nice. | Michael Drake | 2014-10-30 | 2 | -0/+117 |
| | |||||
* | Add a lwc corestring for "/". | Michael Drake | 2014-10-30 | 2 | -0/+10 |
| | |||||
* | update nsurl file header to contain references to the specifications it ↵ | Vincent Sanders | 2014-10-29 | 1 | -2/+8 |
| | | | | implements |