Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use coccinelle to change logging macro calls in c files | Vincent Sanders | 2017-09-06 | 19 | -336/+483 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for F in $(git ls-files '*.c');do spatch --sp-file foo.cocci --in-place ${F};done @@ expression E; @@ -LOG(E); +NSLOG(netsurf, INFO, E); @@ expression E, E1; @@ -LOG(E, E1); +NSLOG(netsurf, INFO, E, E1); @@ expression E, E1, E2; @@ -LOG(E, E1, E2); +NSLOG(netsurf, INFO, E, E1, E2); @@ expression E, E1, E2, E3; @@ -LOG(E, E1, E2, E3); +NSLOG(netsurf, INFO, E, E1, E2, E3); @@ expression E, E1, E2, E3, E4; @@ -LOG(E, E1, E2, E3, E4); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4); @@ expression E, E1, E2, E3, E4, E5; @@ -LOG(E, E1, E2, E3, E4, E5); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5); @@ expression E, E1, E2, E3, E4, E5, E6; @@ -LOG(E, E1, E2, E3, E4, E5, E6); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5, E6); @@ expression E, E1, E2, E3, E4, E5, E6, E7; @@ -LOG(E, E1, E2, E3, E4, E5, E6, E7); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5, E6, E7); | ||||
* | use nslog library for logging if available. | Vincent Sanders | 2017-09-03 | 1 | -1/+3 |
| | |||||
* | Errorcodes: Add SPRITE_ERROR and use it in sprite content handler. | Michael Drake | 2017-08-30 | 1 | -1/+1 |
| | |||||
* | Sprite content handler: Ensure we broadcast error on librosprite error. | Michael Drake | 2017-08-29 | 1 | -0/+1 |
| | |||||
* | Sprite content handler: Fix leaked rosprite_mem_context on rosprite_load error. | Michael Drake | 2017-08-29 | 1 | -4/+11 |
| | |||||
* | RSVG content handler: Remove unused assignement. | Michael Drake | 2017-08-28 | 1 | -1/+0 |
| | |||||
* | hlcache content callback: Use designated initialiser for hlcache_event. | Michael Drake | 2017-08-28 | 1 | -4/+3 |
| | |||||
* | SVG content handler: Convert to using content_broadcast_errorcode(). | Michael Drake | 2017-08-28 | 1 | -4/+1 |
| | |||||
* | RSVG content handler: Convert to using content_broadcast_errorcode(). | Michael Drake | 2017-08-28 | 1 | -15/+6 |
| | |||||
* | PNG content handler: Convert to using content_broadcast_errorcode(). | Michael Drake | 2017-08-28 | 1 | -11/+4 |
| | |||||
* | Sprite content handler: Convert to using content_broadcast_errorcode(). | Michael Drake | 2017-08-28 | 1 | -5/+2 |
| | |||||
* | initialise event struct correctly to avoid compiler warning | Vincent Sanders | 2017-08-27 | 1 | -1/+3 |
| | |||||
* | ICO content handler: Convert to using content_broadcast_errorcode(). | Michael Drake | 2017-08-27 | 1 | -8/+3 |
| | |||||
* | GIF content handler: Convert to using content_broadcast_errorcode(). | Michael Drake | 2017-08-27 | 1 | -9/+6 |
| | |||||
* | BMP content handler: Convert to using content_broadcast_errorcode(). | Michael Drake | 2017-08-27 | 1 | -9/+4 |
| | |||||
* | CSS content handler: Convert to using content_broadcast_errorcode(). | Michael Drake | 2017-08-27 | 1 | -12/+5 |
| | |||||
* | Content API: Avoid content message copy in content user callback. | Michael Drake | 2017-08-26 | 4 | -22/+47 |
| | |||||
* | Content API: Make content_broadcast take pointer to content_msg_data. | Michael Drake | 2017-08-26 | 11 | -44/+46 |
| | |||||
* | fix coverity issue 1372473 Out-of-bounds write | Vincent Sanders | 2017-06-09 | 1 | -2/+2 |
| | |||||
* | Update documentation removing junk and moving to markdown for most text files | Vincent Sanders | 2017-06-09 | 1 | -1/+1 |
| | |||||
* | Duktape: Make declarations match definitions for fastint-enabled functions. | Michael Drake | 2017-04-21 | 1 | -2/+2 |
| | |||||
* | Duktape: Enable fastints. | Michael Drake | 2017-04-20 | 1 | -0/+1 |
| | | | | Suggested by svaarala. | ||||
* | Duktape: Make declaration match definition for duk_refzero_check_fast() | Michael Drake | 2017-04-16 | 1 | -1/+1 |
| | |||||
* | Duktape: Make declarations match definitions for duk_raw_read_xxx_be | Michael Drake | 2017-04-16 | 1 | -6/+6 |
| | | | | Restore 6d63f7959af64a45b0643d0610fcbdb0c07bfbc4 for 2.1.0 import. | ||||
* | Duktape: Prevent clang static analysis. | Michael Drake | 2017-04-16 | 1 | -0/+3 |
| | | | | Restore 336326af3aab93f31474fa6de28782457ae4a1c0 for 2.1.0 import. | ||||
* | Duktape: Update to 2.1.0 release. | Michael Drake | 2017-04-16 | 3 | -5539/+7089 |
| | |||||
* | CSS: Handle presentational hint for HR's "width" attribute. | Michael Drake | 2017-04-10 | 1 | -0/+1 |
| | |||||
* | Presentational hints: Ensure length is initialised for auto margins. | Michael Drake | 2017-04-06 | 1 | -0/+2 |
| | | | | | | | | | | | Although the length is unused when margin is auto, having uninitialised values present in a computed style means that the style hashing may give the same style different hashes depending on the unintitialised info. The effect of this would have been be to reduce the chance of computed style sharing. It would have had no effect on page rendering. | ||||
* | fix doc comment spelling mistake | Vincent Sanders | 2017-03-28 | 1 | -1/+1 |
| | |||||
* | Duktape: Suppress warnings about increasing alignment of pointer type. | Michael Drake | 2017-03-23 | 1 | -2/+2 |
| | |||||
* | Duktape: Atari Mint lacks trunc, log2 and cbrt. | Michael Drake | 2017-03-23 | 1 | -1/+7 |
| | | | | | | | | build/Linux-atari/content_handlers_javascript_duktape_duktape.o:build/Linux-atari/content_handlers_javascript_duktape_duktape.o:(.text+0x978): undefined reference to `_trunc' build/Linux-atari/content_handlers_javascript_duktape_duktape.o:build/Linux-atari/content_handlers_javascript_duktape_duktape.o:(.text+0x990): undefined reference to `_log2' build/Linux-atari/content_handlers_javascript_duktape_duktape.o:build/Linux-atari/content_handlers_javascript_duktape_duktape.o:(.text+0x99c): undefined reference to `_cbrt' | ||||
* | Duktape: Make declarations match definitions for duk_raw_read_xxx_be | Michael Drake | 2017-03-23 | 1 | -6/+6 |
| | | | | Restore 6d63f7959af64a45b0643d0610fcbdb0c07bfbc4 for 2.0.2 import. | ||||
* | Duktape: Prevent clang static analysis. | Michael Drake | 2017-03-23 | 1 | -0/+3 |
| | | | | Restore 336326af3aab93f31474fa6de28782457ae4a1c0 for 2.0.2 import. | ||||
* | Duktape 2.X: duk_error now returns a duk_ret_t | Michael Drake | 2017-03-23 | 3 | -10/+6 |
| | | | | | | https://github.com/svaarala/duktape/blob/master/doc/release-notes-v2-0.rst#duk_error-duk_error_va-duk_throw-duk_fatal-have-a-return-value This also changes Console.bnd to return on error, rather than ignoring it. | ||||
* | Duktape 2.x: duk_safe_call callbacks now have a void ptr user data param. | Michael Drake | 2017-03-23 | 1 | -5/+5 |
| | | | | https://github.com/svaarala/duktape/blob/master/doc/release-notes-v2-0.rst#duk_safe_call-userdata | ||||
* | Duktape 2.X: Update to Duktape 2.0.2. | Michael Drake | 2017-03-23 | 3 | -21021/+24871 |
| | | | | | | | | | | | | | | | | Note that DUK_OPT_XXX feature selection has been removed. This means we can't use `DUK_OPT_HAVE_CUSTOM_H`, so we need another way to tell duktape about our custom header. This means assembling our own duktape distribution with a duktape "tools/configure.py" invocation. Instructions for updating duktape have been added to NetSurf's `Docs/` directory. See: https://github.com/svaarala/duktape/blob/master/doc/release-notes-v2-0.rst#duk_opt_xxx-feature-option-support-removed | ||||
* | Improve content logging with content IDs (pointer values). | Michael Drake | 2017-03-23 | 1 | -1/+1 |
| | | | | This makes it easier to track a content by its ID through a log. | ||||
* | mimimal mime sniffing test | Vincent Sanders | 2017-03-20 | 1 | -3/+7 |
| | |||||
* | reduce hlcache handle api usage in mimesniff | Vincent Sanders | 2017-03-19 | 4 | -13/+12 |
| | |||||
* | make mimesniffing use core strings | Vincent Sanders | 2017-03-19 | 2 | -222/+134 |
| | |||||
* | fix urldb numerical v6 address handling | Vincent Sanders | 2017-03-13 | 1 | -4/+12 |
| | |||||
* | make the urldb content type setting API return an error | Vincent Sanders | 2017-03-13 | 2 | -4/+8 |
| | |||||
* | make urldb persistance setting API return an error | Vincent Sanders | 2017-03-13 | 2 | -8/+12 |
| | |||||
* | change urldb_set_title API to return an error status | Vincent Sanders | 2017-03-13 | 2 | -14/+24 |
| | |||||
* | actually check the generated database files against reference test data | Vincent Sanders | 2017-03-08 | 1 | -1/+0 |
| | |||||
* | remove urldb_add_host and path from public API | Vincent Sanders | 2017-03-08 | 2 | -180/+174 |
| | | | | | | | | | | The urldb_add_host and urldb_add_path API were only public for the urldb test code which was calling them incorrectly in any case as the url bloom filters were not updated so serialising and adding data to entries was inconsistent. This also changes the tests to use the urldb_add_url API which is less buggy and results in a smaller, cleaner urldb API. | ||||
* | make update data api return an result | Vincent Sanders | 2017-03-08 | 2 | -4/+8 |
| | |||||
* | use robust handling of time_t value (de)serialisation | Vincent Sanders | 2017-03-08 | 1 | -6/+35 |
| | | | | | | The previous implementation was wrong on systems where time_t was not an int type. This changes urldb to use the portable implementation netsurf has available. | ||||
* | clean up url database documentation comments and formatting | Vincent Sanders | 2017-03-06 | 1 | -334/+467 |
| | |||||
* | Revert "make urldb internal parse macros less prone to control flow errors" | Vincent Sanders | 2017-03-05 | 1 | -4/+4 |
| | | | | | This reverts commit 718da3ffffd1181a0b5b2d590214bc408ca44117. These macros are used in a way that causes safe macros to break |