summaryrefslogtreecommitdiff
path: root/utils
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* Fix logging to stderr if verbose_log was set before nslog_init was calledVincent Sanders2015-07-051-2/+5
|
* Fix a signed comparison error in nsurl parsing.Vincent Sanders2015-07-041-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 resourcesVincent Sanders2015-06-212-9/+116
|
* This moves message loading out of netsurf_init into each frontendVincent Sanders2015-06-212-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 Sanders2015-06-211-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 Sanders2015-05-291-8/+8
| | | | of logf
* Improve logging interface to reduce overheadVincent Sanders2015-05-292-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 fileVincent Sanders2015-05-291-1/+34
|
* fixup all the remaining logging macro callsitesVincent Sanders2015-05-282-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 varadicVincent Sanders2015-05-2811-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 codeVincent Sanders2015-05-061-0/+378
|
* Update posix source version on monkey frontend to reflect oyr usage of scandirVincent Sanders2015-05-031-1/+1
|
* Revert "Fix RISC OS not having a pread/pwrite implementation."Vincent Sanders2015-04-022-45/+0
| | | | | | | This reverts commit 82c7a7a4baf4a7a15381ee720799dc41c3d54909. Conflicts: content/fs_backing_store.c
* Fix RISC OS not having a pread/pwrite implementation.Vincent Sanders2015-03-312-3/+49
|
* Remove fragment from nsurl hash.Michael Drake2015-03-271-3/+0
|
* Move win32 window operations into their own moduleVincent Sanders2015-03-121-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 Drake2015-03-051-1/+0
|
* Remove include of nsurl from corestrings.hMichael Drake2015-02-262-2/+2
|
* Move FILE_SCHEME_PREFIX to corestrings.Michael Drake2015-02-262-7/+8
|
* add missing errno includeVincent Sanders2015-01-301-0/+1
|
* Updated time_t fallback reading to not fail if the value is 0Vincent Sanders2015-01-301-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 Young2015-01-191-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 wrongVincent Sanders2014-12-211-6/+6
|
* add freebsd to jenkins build script for gtk, framebuffer and monkeyVincent Sanders2014-12-211-1/+26
|
* remove some warnings from freebsd buildVincent Sanders2014-12-212-0/+2
|
* Update the coverity build script for buildsystem HOST/BUILD changesVincent Sanders2014-12-191-3/+3
|
* fix BUILD/HOST usage to work with fixed buildsystemVincent Sanders2014-12-191-45/+45
|
* Improve message split generationVincent Sanders2014-12-021-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