Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Use NSLOG rather than LOG/JS_LOG | Daniel Silverstone | 2019-02-17 | 2 | -3/+3 | |
| | | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | |||||
* | fix logging level in duktape binding | Vincent Sanders | 2018-11-06 | 1 | -6/+6 | |
| | ||||||
* | Slightly nicer handling of js_exec() and errors | Daniel Silverstone | 2018-11-04 | 1 | -19/+47 | |
| | ||||||
* | Duktape: Make declaration match definition for memcmp and double_div. | Michael Drake | 2018-08-10 | 1 | -3/+3 | |
| | ||||||
* | Duktape: Make declaration match definition for duk_refzero_check_fast() | Michael Drake | 2018-08-10 | 1 | -1/+1 | |
| | ||||||
* | Duktape: Make declarations match definitions for fastint-enabled functions. | Michael Drake | 2018-08-10 | 1 | -2/+2 | |
| | ||||||
* | Duktape: Make declarations match definitions for duk_raw_read_xxx_be | Michael Drake | 2018-08-10 | 1 | -6/+6 | |
| | ||||||
* | Duktape: Make declarations match definitions for inline functions. | Michael Drake | 2018-08-10 | 1 | -4/+4 | |
| | ||||||
* | Duktape: Prevent clang static analysis. | Michael Drake | 2018-08-10 | 1 | -0/+3 | |
| | ||||||
* | Duktape: Update to version 2.3.0 release. | Michael Drake | 2018-08-10 | 3 | -2292/+3974 | |
| | ||||||
* | Browser: Rename function to access bw URL. | Michael Drake | 2018-07-23 | 1 | -1/+1 | |
| | ||||||
* | move html and text content handlers where they belong | Vincent Sanders | 2018-05-10 | 2 | -3/+3 | |
| | ||||||
* | Duktape: Squash armhf warnings. | Michael Drake | 2018-05-08 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | content/handlers/javascript/duktape/duktape.c: In function 'duk_resolve_nonbound_function': content/handlers/javascript/duktape/duktape.c:14609:25: warning: cast increases required alignment of target type [-Wcast-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:32423:20: warning: cast increases required alignment of target type [-Wcast-align] h_boundtarget = (duk_hboundfunc *) h_target; ^ content/handlers/javascript/duktape/duktape.c: In function 'duk_free_hobject': content/handlers/javascript/duktape/duktape.c:46072:23: warning: cast increases required alignment of target type [-Wcast-align] duk_hboundfunc *f = (duk_hboundfunc *) h; ^ content/handlers/javascript/duktape/duktape.c: In function 'duk__mark_hobject': content/handlers/javascript/duktape/duktape.c:47889:23: warning: cast increases required alignment of target type [-Wcast-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:49866:23: warning: cast increases required alignment of target type [-Wcast-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:61533:14: warning: cast increases required alignment of target type [-Wcast-align] h_bound = (duk_hboundfunc *) func; ^ content/handlers/javascript/duktape/duktape.c: In function 'duk_js_instanceof': content/handlers/javascript/duktape/duktape.c:78165:24: warning: cast increases required alignment of target type [-Wcast-align] duk_push_tval(thr, &((duk_hboundfunc *) func)->target); ^ | |||||
* | Duktape: Squash -Wcast-align warnings on armhf. | Michael Drake | 2018-05-05 | 1 | -2/+26 | |
| | ||||||
* | Duktape: Make declarations match definitions for inline functions. | Michael Drake | 2018-05-04 | 1 | -4/+4 | |
| | ||||||
* | Duktape: Make declarations match definitions for fastint-enabled functions. | Michael Drake | 2018-05-04 | 1 | -2/+2 | |
| | ||||||
* | Duktape: Make declaration match definition for duk_refzero_check_fast() | Michael Drake | 2018-05-04 | 1 | -1/+1 | |
| | ||||||
* | Duktape: Make declarations match definitions for duk_raw_read_xxx_be | Michael Drake | 2018-05-04 | 1 | -6/+6 | |
| | ||||||
* | Duktape: Prevent clang static analysis. | Michael Drake | 2018-05-04 | 1 | -0/+3 | |
| | ||||||
* | Duktape: Update to 2.2.1 release. | Michael Drake | 2018-05-04 | 3 | -165/+213 | |
| | ||||||
* | Fix dependency declaration for dukky.c | Vincent Sanders | 2018-04-21 | 1 | -1/+1 | |
| | ||||||
* | Duktape: Squash -Wcast-align warnings on armhf. | Michael Drake | 2017-11-02 | 1 | -2/+26 | |
| | ||||||
* | Revert "Duktape: Attempt to squash aarch64 cast increases required alignment ↵ | Michael Drake | 2017-11-01 | 1 | -5/+1 | |
| | | | | | | | | warnings." This reverts commit 8cc3adee5aabd3b6ad1c6c897c9c31a8136e61cc. These warnings don't show up with the CI updated to Debian Stretch. | |||||
* | 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); ^ | |||||
* | 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 | |
| | ||||||
* | 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 | 1 | -54/+77 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | |
| | ||||||
* | 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 | |
| | ||||||
* | 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 |