summaryrefslogtreecommitdiff
path: root/content/handlers/javascript/duktape
Commit message (Collapse)AuthorAgeFilesLines
* Use consoleFormatter in Console.bndDaniel Silverstone2019-05-051-6/+27
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Generics: Add consoleFormatterDaniel Silverstone2019-05-051-0/+76
| | | | | | | | In order to support the console logging formatting specification as per https://console.spec.whatwg.org/#logger we need to implement the Formatter(...) algorithm which is easier done within JavaScript Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Dukky: Change from specifically named genericsDaniel Silverstone2019-05-053-8/+18
| | | | | | | | Instead of specifically having to extract each generic by name, such as makeListProxy, instead support the entire generics table and use `dukky_push_generics()` to gain access to it. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Force a GC to ensure old compartment goes awayDaniel Silverstone2019-05-051-1/+5
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Ensure we clear the cbt entry after finishing a non-recurring callbackDaniel Silverstone2019-05-051-7/+21
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* make missing xxd command fail the build correctlyVincent Sanders2019-05-051-1/+2
|
* Replace zd with PRIsizet to appease WindowsDaniel Silverstone2019-05-052-7/+8
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Add missing semi-colon. SorryDaniel Silverstone2019-05-041-1/+1
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Support nodelist indexingDaniel Silverstone2019-05-046-3/+99
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* add some comments to window location bindingVincent Sanders2019-05-041-0/+2
|
* Support Document::createDocumentFragmentDaniel Silverstone2019-05-041-0/+14
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Expose Number and Error on WindowDaniel Silverstone2019-05-041-0/+2
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Add createElementNSDaniel Silverstone2019-05-042-1/+42
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* JS: Attribute external JS to the URI it came from in backtracesDaniel Silverstone2019-05-041-2/+6
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Expose encodeURI{,Component}Daniel Silverstone2019-05-041-0/+2
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Restore newlines for unimplemented javascript in doxygenDaniel Silverstone2019-05-041-1/+1
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Support Window as an event target for dukkyDaniel Silverstone2019-05-041-5/+28
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Unref body when finished getting event handlerDaniel Silverstone2019-05-041-0/+4
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Better dukky debug for node creationDaniel Silverstone2019-05-041-1/+12
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Support script insertion after conversion has begunDaniel Silverstone2019-05-041-0/+1
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Add auto-generated getters and setters for HTMLFrameSetElement eventsDaniel Silverstone2019-05-031-0/+34
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Add auto-generated getters/setters on body elementDaniel Silverstone2019-05-031-0/+33
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Add global handlers to WindowDaniel Silverstone2019-05-031-0/+155
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* UnimplementedJavascript.txt: Remove spurious newlinesDaniel Silverstone2019-05-031-1/+1
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Support Document::createEvent()Daniel Silverstone2019-05-033-1/+19
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Event: Implement initEvent() and getter isTrustedDaniel Silverstone2019-05-031-0/+37
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Update UnimplementedJavascript with the window functions now implementedDaniel Silverstone2019-05-031-1/+1
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Javascript: Support setTimeout and friendsDaniel Silverstone2019-05-033-31/+274
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* dukky: Clean up the logging levels a littleDaniel Silverstone2019-05-021-2/+3
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* DUKKY: Remove LOG/JS_LOG macros, update to dukky categoryDaniel Silverstone2019-02-172-57/+49
| | | | | | | Update the logging levels, change to NSLOG across the board, and ensure that we use the `dukky` category now added for us. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* Use NSLOG rather than LOG/JS_LOGDaniel Silverstone2019-02-172-3/+3
| | | | Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
* fix logging level in duktape bindingVincent Sanders2018-11-061-6/+6
|
* Slightly nicer handling of js_exec() and errorsDaniel Silverstone2018-11-041-19/+47
|
* 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-103-2292/+3974
|
* Browser: Rename function to access bw URL.Michael Drake2018-07-231-1/+1
|
* move html and text content handlers where they belongVincent Sanders2018-05-102-3/+3
|
* Duktape: Squash armhf warnings.Michael Drake2018-05-081-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 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-043-165/+213
|