Commit Graph

326 Commits

Author SHA1 Message Date
Vincent Sanders 7fc0a4c481 move desktop window header into public API 2016-05-30 17:32:57 +01:00
Michael Drake 2cbb337756 Squash harmless Clang warning introduced in Duktape 1.5.0.
duk_error_macros.c:61:19: warning: unused function 'duk_err_unsupported_defmsg' [-Wunused-function]
2016-05-11 23:00:34 +01:00
Michael Drake 510203b246 Restore "make declarations match definitions for duk_raw_read_xxx_be" from 6d63f7959a 2016-05-07 21:49:09 +01:00
Michael Drake f1dabdb78d Restore prevention of clang static analysis from 336326af3a 2016-05-07 21:41:05 +01:00
Michael Drake 59eea1333a Update to Duktape 1.5.0 release. 2016-05-07 21:36:43 +01:00
Vincent Sanders 7d9c9dba36 Split utils header into string functions and everything else
split out the string handling API from the rest of the utils header
and fix up all the fallout.
2016-04-21 22:36:21 +01:00
Vincent Sanders dee7426656 stop content header dragging in so many other headers 2016-04-19 23:20:29 +01:00
Vincent Sanders 1bc010665e Reduce unecessary use of directory entry headers
The config header was causing many source files to unecessarily
include the dirent headers causing extra dependancies. This has been
fixed by providing a utility dirent header that provides a common API
across all platforms while removing the unecessary dirent header usage.
2016-04-19 11:21:06 +01:00
Vincent Sanders 392307bb1f reduce content header interdependancy 2016-04-18 23:04:16 +01:00
Michael Drake 618e4570ef Fix copyrights. 2016-02-29 11:28:31 +00:00
Michael Drake 51084243a2 Add switch case fallthrough comment. 2016-02-09 13:54:21 +00:00
Michael Drake 9fb755b754 Handle known HTML elements without specialisations. 2016-02-01 18:48:42 +00:00
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 bf4382e3ec HTMLElement: stub .style getter. For #2413. 2016-01-31 12:19:58 +00:00
John-Mark Bell 720a8fec0e Javascript: introduce script execution timeout. For #2413. 2016-01-31 01:39:13 +00:00
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