Commit Graph

129 Commits

Author SHA1 Message Date
Vincent Sanders
67ffb8e6e9 implement Element::hasAttribute 2013-01-23 17:46:40 +00:00
Vincent Sanders
09dc0649df implement Element::removeAttribute 2013-01-23 17:12:57 +00:00
Vincent Sanders
7ab835df8f implement Element::className 2013-01-23 17:00:13 +00:00
Vincent Sanders
16d938dd63 implement Element::id 2013-01-23 16:28:35 +00:00
Vincent Sanders
db7d3acdc3 add and use debug logging macro 2013-01-23 15:51:55 +00:00
Vincent Sanders
1d08350981 implement Element::tagName 2013-01-23 15:51:55 +00:00
Vincent Sanders
fab7b04de6 implement Element::getElementsByTagName 2013-01-23 15:51:45 +00:00
Vincent Sanders
31f7af700f implement Element::setAttribute 2013-01-23 13:42:43 +00:00
Vincent Sanders
faddd8b035 implement Element::getAttribute 2013-01-23 12:37:56 +00:00
Vincent Sanders
9b568abf96 add default property handler for array indexing 2013-01-22 22:54:34 +00:00
Vincent Sanders
fc6f04161e simplify jsapi property compatability macros 2013-01-22 18:58:22 +00:00
Vincent Sanders
5f66864c3a add macros for default proprty actions 2013-01-17 19:58:15 +00:00
Vincent Sanders
7b62bb5ff8 implement document.compatmode 2013-01-17 19:58:15 +00:00
Vincent Sanders
bb10e7131f use a prologue section in the node binding to abstract out javascrip dom node to libdom node conversion 2013-01-02 23:14:31 +00:00
Vincent Sanders
1b8f9daa51 Initial implementation of document.createComment
Improve robustness of jsobject to libdom object conversion in appendChild
2013-01-02 23:14:30 +00:00
Vincent Sanders
27873fa9fe add explicit stdlib include for definition of free() 2012-12-20 17:17:42 +00:00
Vincent Sanders
c0f9ae95b9 change the javascript bindings to use generated headers 2012-12-20 17:00:06 +00:00
Vincent Sanders
0d803b6c0d add coment on superclasses 2012-12-17 18:33:08 +00:00
Vincent Sanders
e913a58ee7 add missing copyright header 2012-12-17 15:15:11 +00:00
Vincent Sanders
347fdf0743 add dom event handler to document object 2012-12-17 14:55:16 +00:00
Vincent Sanders
90f0cfb551 allow for JSOPTION_JIT to not be set 2012-12-16 20:51:42 +00:00
Vincent Sanders
25e85f1429 do not add script handler if runtime cannot be initialised 2012-12-13 15:35:01 +00:00
Vincent Sanders
04825c62df implement document.URL and document.documentURI 2012-12-07 15:50:24 +00:00
Vincent Sanders
99f93da0f3 correctly handle location 2012-12-07 12:08:56 +00:00
Vincent Sanders
0718d80918 abstract out GC root manipulation for js values 2012-12-04 18:15:14 +00:00
Vincent Sanders
897acff532 make events work on elements 2012-12-04 18:01:11 +00:00
Vincent Sanders
878fe3e68c fix disabled javascript function signature 2012-12-03 17:53:14 +00:00
Vincent Sanders
70ece8a428 add stub implemntation for event handling in elements 2012-12-03 17:34:03 +00:00
Vincent Sanders
3052864773 issue click events at dom 2012-12-03 17:09:44 +00:00
Vincent Sanders
4865886721 fix logic 2012-11-28 22:35:40 +00:00
Vincent Sanders
71577f214d use macro to compare 2012-11-28 22:08:11 +00:00
Vincent Sanders
56b521a125 make window load event delivery work 2012-11-28 18:53:11 +00:00
Vincent Sanders
68f359d1ec initial event fireing implementation 2012-11-28 18:07:36 +00:00
Vincent Sanders
567017898c remove example binding its out of date and in nsgenbind anyway 2012-11-26 20:34:59 +00:00
Vincent Sanders
f9d94af893 add correct copyright headers 2012-11-26 20:34:59 +00:00
Vincent Sanders
7915708b58 update event handler to cope with nsgenbind changes 2012-11-25 19:27:58 +00:00
Vincent Sanders
ec43456e4b use unshared type handler for all events on window 2012-11-23 13:48:11 +00:00
Vincent Sanders
966fb9f215 rationalise the JSAPI macro usage requires nsgenbind changes 2012-11-22 14:00:13 +00:00
Vincent Sanders
054984099f use correct unref functions 2012-11-21 22:08:18 +00:00
Vincent Sanders
c2cd36fda8 improve location interface implementation 2012-11-21 18:51:44 +00:00
Vincent Sanders
a159a4a79b update JSAPI_PS() signature to cope with new nsgenbind 2012-11-20 19:17:54 +00:00
Vincent Sanders
bb6b546b4b cleanup formatting in binding files 2012-11-19 17:23:24 +00:00
Vincent Sanders
6797e1f8ef add nodeValue implementation 2012-11-18 21:50:11 +00:00
Vincent Sanders
8810bc0163 add nodeName implementation 2012-11-18 21:24:29 +00:00
Vincent Sanders
ba867955a2 add nodeType 2012-11-18 21:12:49 +00:00
Vincent Sanders
fa9046fc97 implement childElementCount 2012-11-18 17:35:52 +00:00
Vincent Sanders
99d3633e03 implement previousElementSibling and nextElementSibling 2012-11-18 12:59:10 +00:00
Vincent Sanders
bec8711528 implement lastElementChild 2012-11-18 12:38:07 +00:00
Vincent Sanders
b1ca83ad8c implement firstElementChild 2012-11-18 12:14:44 +00:00
Vincent Sanders
6589c7cc19 add Garbage colelction root set macros 2012-11-17 11:19:31 +00:00