Michael Drake
2443cc432d
Attempt to squash warning that happens on CI.
2016-02-01 15:27:26 +00:00
Michael Drake
6904622d9f
JavaScript: Fix & optimise HTMLElement specialisation proto str generation.
...
We now map from tag name to appropriate specialisation of HTMLElement.
We also build the prototype strings at build time, rather than
using duktape to concatinate them together at run time.
2016-02-01 15:17:39 +00:00
John-Mark Bell
720a8fec0e
Javascript: introduce script execution timeout. For #2413 .
2016-01-31 01:39:13 +00:00
Michael Drake
9e1622a679
Wrap verbose JS logging in debug macro.
2016-01-25 12:20:58 +00:00
Michael Drake
b29bd85274
Disable JavaScript force-on for forthcoming release.
2016-01-21 22:15:14 +00:00
Daniel Silverstone
c92726d3aa
Support (in a slightly dodgy way) the onload event
2015-11-22 16:53:04 +00:00
Daniel Silverstone
b42a910ed9
Ensure that those events listed in 8.1.5.2 as forwarded from body to window, don't get registered for listeners on body
2015-11-22 14:50:35 +00:00
Daniel Silverstone
9fe01f09c8
Replace duktape's default allocators. Realloc to zero is not guaranteed to free on all platforms
2015-11-22 14:36:24 +00:00
Daniel Silverstone
b41b672fe5
Hacky fix to prevent attribute fetch on document objects
2015-11-22 09:55:19 +00:00
Vincent Sanders
727bbbd216
Protect against attribute not being present
2015-11-09 19:35:41 +00:00
Daniel Silverstone
1284731d1a
Support generating event objects during events
2015-11-01 11:23:15 +01:00
Daniel Silverstone
c2d51384c1
Current target, not target, otherwise events are fired in the wrong place
2015-11-01 10:42:04 +01:00
Daniel Silverstone
6eb6208159
Log the phase for event debugging
2015-11-01 10:42:04 +01:00
Daniel Silverstone
39d967e94b
Support for event getters
2015-10-31 22:59:42 +01:00
Daniel Silverstone
4ca737408c
Handle events
2015-10-31 18:01:38 +01:00
Daniel Silverstone
00eb6a8e88
Further work toward event handling
2015-10-31 18:01:38 +01:00
Daniel Silverstone
5a107a466b
Initial work toward JS event support
2015-10-31 18:01:38 +01:00
Daniel Silverstone
79068dd50f
Support pushing NULL nodes, by pushing a JS 'null' object instead
2015-10-21 18:32:40 +02:00
Vincent Sanders
ce32141057
Split up javascript engine makefiles
...
by splitting javascript engine specific makefiles and source up we
avoid having to consider old JSAPI or none code while working on
duktape.
2015-10-12 17:40:35 +01:00