Commit Graph

139 Commits

Author SHA1 Message Date
Vincent Sanders
6d63f7959a make declarations match definitions for duk_raw_read_xxx_be 2016-01-25 15:49:31 +00:00
Michael Drake
9e1622a679 Wrap verbose JS logging in debug macro. 2016-01-25 12:20:58 +00:00
Vincent Sanders
c2bd86ca96 Fix atari mint duktape build 2016-01-22 13:47:02 +00:00
Michael Drake
b29bd85274 Disable JavaScript force-on for forthcoming release. 2016-01-21 22:15:14 +00:00
Michael Drake
f831d81ab1 Restore prevention of clang static analysis from 336326af3a 2016-01-15 11:43:24 +00:00
Michael Drake
2937b2f871 Update to Duktape 1.4.0 release. 2016-01-15 11:43:24 +00:00
Michael Drake
f5dee49aa0 In the customisation header we need to use DUK_USE_* rather than DUK_OPT_* 2016-01-03 22:50:31 +00:00
Michael Drake
01953378ac Squash warning: variable ‘exc’ set but not used 2015-12-20 13:44:28 +00:00
Michael Drake
dbbf4ad648 Add assert that we got a base URI from the node. 2015-12-20 13:33:41 +00:00
Michael Drake
abf8d542b1 Don't set DUK_USE_DEEP_C_STACK since the option has been removed. 2015-12-14 16:05:10 +00:00
Michael Drake
6d792468c5 Enable the REGEXP_CANON_WORKAROUND option
We need to enable this option now as it is off by default, but it was on in
the regexp-canonicalize-lookup branch we used previously.
2015-12-14 15:53:57 +00:00
Michael Drake
de637fa571 Restore prevention of clang static analysis from 336326af3a 2015-12-14 15:51:31 +00:00
Michael Drake
9d097b37f6 Restore volatility introduced in fd9aa16ece 2015-12-14 15:49:36 +00:00
Michael Drake
91bcaaccfd Update to duktape snapshot suggested by svaarala.
http://duktape.org/snapshots/duktape-1.3.99-20151209151055-v1.3.0-383-gb7b1c5f-duk-config-improvements.tar.xz
2015-12-14 15:47:44 +00:00
Daniel Silverstone
c92726d3aa Support (in a slightly dodgy way) the onload event 2015-11-22 16:53:04 +00:00
Daniel Silverstone
180a8f452e Add missing finaliser -- releases events properly 2015-11-22 16:52:10 +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
Vincent Sanders
718f17a57f Use automatically generated event handers on Document 2015-11-06 11:06:07 +00:00
Vincent Sanders
0397a6637d Use automatic generation for all HTMLElement event handler attributes 2015-11-05 23:58:16 +00:00
Vincent Sanders
b54174e54a Add CSS object model and DOM parsing IDL ready for implementation 2015-11-04 16:15:00 +00:00
Daniel Silverstone
336326af3a Try and prevent duktape from taking part in clang analysis 2015-11-01 11:53:48 +01:00
Daniel Silverstone
e3a5fcf816 Rudimentary Event object binding 2015-11-01 11:23:29 +01: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
Michael Drake
bfe3e6abbc Implement Element::hasAttribute(). 2015-11-01 09:28:15 +00:00
Michael Drake
ee5efa1349 Element::getAttribute() returns DOMString? which means NULL if none. 2015-11-01 09:17:04 +00:00
Michael Drake
f65ea4b096 Add Element::getAttribute() implementation. 2015-10-31 23:23:38 +00:00
Daniel Silverstone
0247bed13f Example getter/setter pair 2015-10-31 22:59:42 +01:00
Daniel Silverstone
39d967e94b Support for event getters 2015-10-31 22:59:42 +01:00
Daniel Silverstone
47794b32ff Restore volatility introduced in fd9aa16ece 2015-10-31 22:59:41 +01:00
Daniel Silverstone
43f29e4311 Expose a few more bits 2015-10-31 20:11:10 +01:00
Michael Drake
c22706b904 Update duktape to regexp-canonicalize-lookup branch.
- Add an optional 128kB lookup to optimize regexp canonicalization #411.
  https://github.com/svaarala/duktape/pull/411

This speeds up worst-case case-insensitive unicode regex handling.
2015-10-31 17:51:57 +00: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
Michael Drake
78067fc29a Log window.alert() messages. 2015-10-31 09:23:56 +00:00
Michael Drake
0fabb20cc5 Add support for Element::removeAttribute. 2015-10-29 16:51:57 +00:00
Michael Drake
9198e80c24 Remove space. 2015-10-29 14:27:21 +00:00
Michael Drake
d795f1ca2d Add support for Element::setAttribute method.
This fixes test/js/dom-html-div-element.html test case.
2015-10-29 14:13:49 +00:00
Michael Drake
6098646e72 Add binding for DIV element's align getter/setter, and test.
Currently the second part of the test fails.
2015-10-29 11:47:53 +00:00
Vincent Sanders
8c04742e39 Use automatically generated unsigned long bindings on HTMLTableRowElement 2015-10-25 23:58:28 +00:00
Vincent Sanders
78daba6f3c Use automatically generated unsigned long bindings on HTMLTableCellElement 2015-10-25 23:23:25 +00:00
Vincent Sanders
d7924a5849 add automaticaly generated property setter and getters to HTMLPreElement 2015-10-25 23:23:25 +00:00
Vincent Sanders
3a67d34f69 Use automatically generated unsigned long bindings on HTMLLIElement 2015-10-25 23:23:25 +00:00
Vincent Sanders
b07f4db579 Use automatically generated unsigned long bindings on HTMLInputElement 2015-10-25 23:23:25 +00:00
Daniel Silverstone
36bf691cee Add .id and .className support to Element along with a test 2015-10-25 21:47:35 +01:00