summaryrefslogtreecommitdiff
path: root/content/handlers/javascript
Commit message (Collapse)AuthorAgeFilesLines
* Duktape: Make declarations match definitions for fastint-enabled functions.Michael Drake2017-04-211-2/+2
|
* Duktape: Enable fastints.Michael Drake2017-04-201-0/+1
| | | | Suggested by svaarala.
* 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-163-5539/+7089
|
* Duktape: Suppress warnings about increasing alignment of pointer type.Michael Drake2017-03-231-2/+2
|
* Duktape: Atari Mint lacks trunc, log2 and cbrt.Michael Drake2017-03-231-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_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: duk_error now returns a duk_ret_tMichael Drake2017-03-233-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 Drake2017-03-231-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 Drake2017-03-233-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
* Add EventTarget bindingDaniel Silverstone2017-02-053-0/+279
| | | | | This adds the binding for EventTarget along with implementations for addEventListener() removeEventListener() and dispatchEvent()
* Add EventListener support to duktape binding.Daniel Silverstone2017-02-052-7/+187
| | | | | | | This paves the way for EventTarget and its associated event listener support. In particular it ensures the generic event handling we do supports the semantics of the addEventListener() and removeEventListener() managed lists of callbacks.
* Support fixed nsgenbind bindingsDaniel Silverstone2017-02-052-4/+6
|
* create netsurf inttypes header to have portable integer formatting macrosVincent Sanders2017-01-211-4/+3
|
* fixup usage of directory creation macro in MakefilesVincent Sanders2017-01-071-2/+2
|
* 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-283-125/+324
|
* make nsgenbind call last in rule so faliures are noticed by makeVincent Sanders2016-11-241-1/+0
|
* 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-313-81/+185
| | | | | | | | | | | | 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)
* Fix Duktape on AmigaOS3 (thanks to Tygre and Sami)Chris Young2016-08-271-1/+1
|
* Move javascript content handler as appropriate for updated source formatVincent Sanders2016-06-0779-0/+100689