147 Commits

Author SHA1 Message Date
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
Vincent Sanders
e36b8f6579 safely deal with NULL strings 2012-11-16 15:31:14 +00:00
Vincent Sanders
2bea506f83 add Node interface binding just to get the prototype 2012-11-14 02:11:01 +00:00
Vincent Sanders
a79e098817 remove redundant domutils and put functionality in existing utils/libdom 2012-11-10 11:44:38 +00:00
Daniel Silverstone
413248d0fc Rough implementation of httponly cookie support 2012-11-09 11:38:46 +00:00
Vincent Sanders
9318e66449 add document.createElement 2012-11-09 10:52:55 +00:00
Chris Young
b0e43148b5 JSContext needs to be a pointer 2012-11-08 23:28:04 +00:00
Chris Young
2a63ce87bb Spidermonkey 1.70 headers don't have JS_SET_RVAL 2012-11-08 20:09:40 +00:00
Vincent Sanders
85ede7192d put correct type casts into constructor 2012-11-08 17:30:43 +00:00
Vincent Sanders
28ac5fe9c1 implement appendChild so wikipedia lcm script works 2012-11-08 17:22:29 +00:00
Vincent Sanders
9006a96119 setup spidermonky 1.7.0 compatability macros, derived from ole's macros 2012-11-08 01:02:14 +00:00
Vincent Sanders
bb42a650df ensure JS_EvaluateScript has a variable to return its result 2012-11-08 00:45:30 +00:00
Vincent Sanders
06b08d3af0 make compatability macros for garbage collection 2012-11-08 00:40:21 +00:00
Vincent Sanders
882fd4f5c5 implement document.createTextNode operation 2012-11-07 19:55:42 +00:00
Vincent Sanders
ca24b238ed add Text interface 2012-11-07 18:53:05 +00:00
Vincent Sanders
43fb761f45 add document.body, head and documentElement getters
add a dom utility file and use it
2012-11-07 18:53:05 +00:00
Vincent Sanders
b68f928cb2 fix JSAPI_CLASS_NO_INTERNAL_MEMBERS for 1.8.0 spidermonkey 2012-11-06 18:47:26 +00:00
Vincent Sanders
e0dc7d40ab implement JSAPI_CLASS_NO_INTERNAL_MEMBERS correctly for differring versions of teh jsapi interface 2012-11-06 18:35:59 +00:00
Vincent Sanders
12f874cd92 separate javascript logging macro 2012-11-06 18:20:41 +00:00
Vincent Sanders
4bd5e23fff ensure garbage collector knows about created objects 2012-11-06 18:20:41 +00:00
Vincent Sanders
478b57c5d7 working docuemnt.cookie 2012-11-04 16:37:51 +00:00
Vincent Sanders
8de9e19077 improve dom reference accounting 2012-11-04 11:20:02 +00:00
Vincent Sanders
3f1b683845 implement dom-getElementsByTagName and nodelist and htmlcollection 2012-11-03 21:37:06 +00:00
Vincent Sanders
85c973f986 add jsstring to jsval conversion macro that copes with null jsstrings 2012-11-03 17:37:59 +00:00
Vincent Sanders
45d508487a add global api to window binding 2012-11-03 13:52:13 +00:00
Vincent Sanders
48cbca0399 move bindings into the correct place 2012-11-02 22:37:57 +00:00
Vincent Sanders
7cb3150573 improve example binding docuemntation 2012-11-02 13:30:30 +00:00
Vincent Sanders
b84dc91e3d remove extraneous debug 2012-11-02 11:06:14 +00:00
Vincent Sanders
2b6bd44ef0 add location binding 2012-11-01 23:30:28 +00:00
Vincent Sanders
b34cbc5e83 remove old handmade binding code 2012-11-01 23:29:01 +00:00
Vincent Sanders
2b8cdf1f29 add HTMLElement interface binding 2012-11-01 21:13:14 +00:00
Vincent Sanders
5496a60431 console interface from IDL 2012-10-31 14:31:18 +00:00
Vincent Sanders
ede48d6074 add navigator interface 2012-10-31 01:22:35 +00:00