summaryrefslogtreecommitdiff
path: root/content/handlers/javascript/duktape/duktape.c
Commit message (Collapse)AuthorAgeFilesLines
* Duktape: Make declaration match definition for memcmp and double_div.Michael Drake2018-08-101-3/+3
|
* Duktape: Make declaration match definition for duk_refzero_check_fast()Michael Drake2018-08-101-1/+1
|
* Duktape: Make declarations match definitions for fastint-enabled functions.Michael Drake2018-08-101-2/+2
|
* Duktape: Make declarations match definitions for duk_raw_read_xxx_beMichael Drake2018-08-101-6/+6
|
* Duktape: Make declarations match definitions for inline functions.Michael Drake2018-08-101-4/+4
|
* Duktape: Prevent clang static analysis.Michael Drake2018-08-101-0/+3
|
* Duktape: Update to version 2.3.0 release.Michael Drake2018-08-101-2205/+3833
|
* Duktape: Squash -Wcast-align warnings on armhf.Michael Drake2018-05-051-2/+26
|
* Duktape: Make declarations match definitions for inline functions.Michael Drake2018-05-041-4/+4
|
* Duktape: Make declarations match definitions for fastint-enabled functions.Michael Drake2018-05-041-2/+2
|
* Duktape: Make declaration match definition for duk_refzero_check_fast()Michael Drake2018-05-041-1/+1
|
* Duktape: Make declarations match definitions for duk_raw_read_xxx_beMichael Drake2018-05-041-6/+6
|
* Duktape: Prevent clang static analysis.Michael Drake2018-05-041-0/+3
|
* Duktape: Update to 2.2.1 release.Michael Drake2018-05-041-161/+158
|
* Duktape: Squash -Wcast-align warnings on armhf.Michael Drake2017-11-021-2/+26
|
* Revert "Duktape: Attempt to squash aarch64 cast increases required alignment ↵Michael Drake2017-11-011-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 Drake2017-10-301-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: Revert alignment of `struct duk_hobject`.Michael Drake2017-10-291-5/+1
|
* Duktape: Another attempt to squash aarch64 increases required alignment ↵Michael Drake2017-10-291-3/+1
| | | | warnings.
* Duktape: Attempt to squash aarch64 cast increases required alignment warnings.Michael Drake2017-10-291-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 Drake2017-10-211-4/+4
|
* Duktape: Make declarations match definitions for fastint-enabled functions.Michael Drake2017-10-211-2/+2
| | | | Restore ff20edbfbe35ce2be631456ffbe8ae6ca9fd05f5 for 2.2.0 import.
* Duktape: Make declaration match definition for duk_refzero_check_fast()Michael Drake2017-10-211-1/+1
| | | | Restore 9a8577feadd13d0634f773953096a0ec3e7cb1eb for 2.2.0 import.
* Duktape: Make declarations match definitions for duk_raw_read_xxx_beMichael Drake2017-10-211-6/+6
| | | | Restore 6d63f7959af64a45b0643d0610fcbdb0c07bfbc4 for 2.2.0 import.
* Duktape: Prevent clang static analysis.Michael Drake2017-10-211-0/+3
| | | | Restore 336326af3aab93f31474fa6de28782457ae4a1c0 for 2.2.0 import.
* Duktape: Update to 2.2.0 release.Michael Drake2017-10-211-12365/+14108
|
* Duktape: Make declarations match definitions for fastint-enabled functions.Michael Drake2017-04-211-2/+2
|
* Duktape: Make declaration match definition for duk_refzero_check_fast()Michael Drake2017-04-161-1/+1
|
* Duktape: Make declarations match definitions for duk_raw_read_xxx_beMichael Drake2017-04-161-6/+6
| | | | Restore 6d63f7959af64a45b0643d0610fcbdb0c07bfbc4 for 2.1.0 import.
* Duktape: Prevent clang static analysis.Michael Drake2017-04-161-0/+3
| | | | Restore 336326af3aab93f31474fa6de28782457ae4a1c0 for 2.1.0 import.
* Duktape: Update to 2.1.0 release.Michael Drake2017-04-161-5042/+6895
|
* Duktape: Suppress warnings about increasing alignment of pointer type.Michael Drake2017-03-231-2/+2
|
* Duktape: Make declarations match definitions for duk_raw_read_xxx_beMichael Drake2017-03-231-6/+6
| | | | Restore 6d63f7959af64a45b0643d0610fcbdb0c07bfbc4 for 2.0.2 import.
* Duktape: Prevent clang static analysis.Michael Drake2017-03-231-0/+3
| | | | Restore 336326af3aab93f31474fa6de28782457ae4a1c0 for 2.0.2 import.
* Duktape 2.X: Update to Duktape 2.0.2.Michael Drake2017-03-231-19491/+24115
| | | | | | | | | | | | | | | | 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
* Duktape: Prevent clang static analysis.Michael Drake2016-12-281-0/+3
| | | | Restore 336326af3aab93f31474fa6de28782457ae4a1c0 for 1.6.0 import.
* Duktape: Make declarations match definitions for duk_raw_read_xxx_beMichael Drake2016-12-281-6/+6
| | | | Restore 6d63f7959af64a45b0643d0610fcbdb0c07bfbc4 for 1.6.0 import.
* Duktape: Update to version 1.6.0.Michael Drake2016-12-281-118/+304
|
* Duktape: Prevent clang static analysis.Michael Drake2016-08-311-0/+3
| | | | Restore 336326af3aab93f31474fa6de28782457ae4a1c0 for 1.5.1 import.
* Duktape: Make declarations match definitions for duk_raw_read_xxx_beMichael Drake2016-08-311-6/+6
| | | | Restore 6d63f7959af64a45b0643d0610fcbdb0c07bfbc4 for 1.5.1 import.
* Duktape: Update to version 1.5.1.Michael Drake2016-08-311-61/+114
| | | | | | | | | | | | Version 1.5.1 includes some of our own fixes, reducing our delta to upstream. These should not be needed now: - 2cbb337756d9af5bda4d594964d446439f602551 Squash harmless Clang warning introduced in Duktape 1.5.0. - 8f8cda2b48d1063366302204559c1ed3362656bc Fix Duktape on AmigaOS3 (thanks to Tygre and Sami)
* Move javascript content handler as appropriate for updated source formatVincent Sanders2016-06-071-0/+86513