Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Duktape: Attempt to squash aarch64 cast increases required alignment warnings. | Michael Drake | 2017-10-30 | 1 | -1/+5 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | content/handlers/javascript/duktape/duktape.c: In function 'duk_resolve_nonbound_function': content/handlers/javascript/duktape/duktape.c:14585:25: error: cast increases required alignment of target type [-Werror=cast-align] duk_push_tval(thr, &((duk_hboundfunc *) h)->target); ^ content/handlers/javascript/duktape/duktape.c: In function 'duk_bi_function_prototype_bind': content/handlers/javascript/duktape/duktape.c:32399:20: error: cast increases required alignment of target type [-Werror=cast-align] h_boundtarget = (duk_hboundfunc *) h_target; ^ content/handlers/javascript/duktape/duktape.c: In function 'duk_free_hobject': content/handlers/javascript/duktape/duktape.c:46048:23: error: cast increases required alignment of target type [-Werror=cast-align] duk_hboundfunc *f = (duk_hboundfunc *) h; ^ content/handlers/javascript/duktape/duktape.c: In function 'duk__mark_hobject': content/handlers/javascript/duktape/duktape.c:47865:23: error: cast increases required alignment of target type [-Werror=cast-align] duk_hboundfunc *f = (duk_hboundfunc *) h; ^ content/handlers/javascript/duktape/duktape.c: In function 'duk_hobject_refcount_finalize_norz': content/handlers/javascript/duktape/duktape.c:49842:23: error: cast increases required alignment of target type [-Werror=cast-align] duk_hboundfunc *f = (duk_hboundfunc *) h; ^ content/handlers/javascript/duktape/duktape.c: In function 'duk__handle_bound_chain_for_call': content/handlers/javascript/duktape/duktape.c:61509:14: error: cast increases required alignment of target type [-Werror=cast-align] h_bound = (duk_hboundfunc *) func; ^ content/handlers/javascript/duktape/duktape.c: In function 'duk_js_instanceof': content/handlers/javascript/duktape/duktape.c:78117:24: error: cast increases required alignment of target type [-Werror=cast-align] duk_push_tval(thr, &((duk_hboundfunc *) func)->target); ^ | |||||
* | Duktape: Use align-by-8 on all platforms by default | Michael Drake | 2017-10-29 | 1 | -51/+0 | |
| | | | | | | | | | | | This reproduces upstream commit de7ae8a2ecc597e1c2024c15dbeae4d28c9f2a2c. * https://github.com/svaarala/duktape/commit/de7ae8a2ecc597e1c2024c15dbeae4d28c9f2a2c It was applied to master after the release of Duktape 2.2.0. See also: * https://github.com/svaarala/duktape/issues/1783 * https://github.com/svaarala/duktape/issues/812#issuecomment-337058737 | |||||
* | Duktape: Revert alignment of `struct duk_hobject`. | Michael Drake | 2017-10-29 | 1 | -5/+1 | |
| | ||||||
* | Duktape: Another attempt to squash aarch64 increases required alignment ↵ | Michael Drake | 2017-10-29 | 1 | -3/+1 | |
| | | | | warnings. | |||||
* | Duktape: Attempt to squash aarch64 cast increases required alignment warnings. | Michael Drake | 2017-10-29 | 1 | -1/+7 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | content/handlers/javascript/duktape/duktape.c: In function 'duk_resolve_nonbound_function': content/handlers/javascript/duktape/duktape.c:14585:25: error: cast increases required alignment of target type [-Werror=cast-align] duk_push_tval(thr, &((duk_hboundfunc *) h)->target); ^ content/handlers/javascript/duktape/duktape.c: In function 'duk_bi_function_prototype_bind': content/handlers/javascript/duktape/duktape.c:32399:20: error: cast increases required alignment of target type [-Werror=cast-align] h_boundtarget = (duk_hboundfunc *) h_target; ^ content/handlers/javascript/duktape/duktape.c: In function 'duk_free_hobject': content/handlers/javascript/duktape/duktape.c:46048:23: error: cast increases required alignment of target type [-Werror=cast-align] duk_hboundfunc *f = (duk_hboundfunc *) h; ^ content/handlers/javascript/duktape/duktape.c: In function 'duk__mark_hobject': content/handlers/javascript/duktape/duktape.c:47865:23: error: cast increases required alignment of target type [-Werror=cast-align] duk_hboundfunc *f = (duk_hboundfunc *) h; ^ content/handlers/javascript/duktape/duktape.c: In function 'duk_hobject_refcount_finalize_norz': content/handlers/javascript/duktape/duktape.c:49842:23: error: cast increases required alignment of target type [-Werror=cast-align] duk_hboundfunc *f = (duk_hboundfunc *) h; ^ content/handlers/javascript/duktape/duktape.c: In function 'duk__handle_bound_chain_for_call': content/handlers/javascript/duktape/duktape.c:61509:14: error: cast increases required alignment of target type [-Werror=cast-align] h_bound = (duk_hboundfunc *) func; ^ content/handlers/javascript/duktape/duktape.c: In function 'duk_js_instanceof': content/handlers/javascript/duktape/duktape.c:78117:24: error: cast increases required alignment of target type [-Werror=cast-align] duk_push_tval(thr, &((duk_hboundfunc *) func)->target); ^ | |||||
* | Squash remaining GCC7 -Wimplicit-fallthrough warnings. | Michael Drake | 2017-10-23 | 1 | -3/+1 | |
| | ||||||
* | Duktape: Make declarations match definitions for inline functions. | Michael Drake | 2017-10-21 | 1 | -4/+4 | |
| | ||||||
* | Duktape: Make declarations match definitions for fastint-enabled functions. | Michael Drake | 2017-10-21 | 1 | -2/+2 | |
| | | | | Restore ff20edbfbe35ce2be631456ffbe8ae6ca9fd05f5 for 2.2.0 import. | |||||
* | Duktape: Make declaration match definition for duk_refzero_check_fast() | Michael Drake | 2017-10-21 | 1 | -1/+1 | |
| | | | | Restore 9a8577feadd13d0634f773953096a0ec3e7cb1eb for 2.2.0 import. | |||||
* | Duktape: Make declarations match definitions for duk_raw_read_xxx_be | Michael Drake | 2017-10-21 | 1 | -6/+6 | |
| | | | | Restore 6d63f7959af64a45b0643d0610fcbdb0c07bfbc4 for 2.2.0 import. | |||||
* | Duktape: Prevent clang static analysis. | Michael Drake | 2017-10-21 | 1 | -0/+3 | |
| | | | | Restore 336326af3aab93f31474fa6de28782457ae4a1c0 for 2.2.0 import. | |||||
* | Duktape: Update to 2.2.0 release. | Michael Drake | 2017-10-21 | 3 | -12439/+14327 | |
| | ||||||
* | CSS: Wrappers for computed style getters that return unsupported values. | Michael Drake | 2017-10-20 | 2 | -3/+73 | |
| | | | | We don't yet handle the Flexbox-related values for certain properties. | |||||
* | CSS hints: Ensure length and unit are initialised for vertical-align. | Michael Drake | 2017-10-13 | 1 | -0/+2 | |
| | ||||||
* | fix image cache format specifiers signedness | Vincent Sanders | 2017-09-11 | 1 | -6/+9 | |
| | ||||||
* | rationalise history icon bitmap handling to ensure correct lifetime | Vincent Sanders | 2017-09-10 | 2 | -57/+0 | |
| | ||||||
* | fix time_t logging | Vincent Sanders | 2017-09-08 | 1 | -1/+1 | |
| | ||||||
* | Hopefully quash warning about time_t formatting on openbsd | Daniel Silverstone | 2017-09-08 | 1 | -1/+1 | |
| | ||||||
* | Fixup everything the semantic patch missed | Vincent Sanders | 2017-09-07 | 2 | -7/+7 | |
| | ||||||
* | update fetch debug logging to use catagory | Vincent Sanders | 2017-09-06 | 1 | -40/+40 | |
| | ||||||
* | add low level cache category and use it | Vincent Sanders | 2017-09-06 | 1 | -76/+69 | |
| | ||||||
* | update bindings with logging changes | Vincent Sanders | 2017-09-06 | 6 | -18/+23 | |
| | ||||||
* | 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. |