Vincent Sanders
db7d3acdc3
add and use debug logging macro
2013-01-23 15:51:55 +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
90f0cfb551
allow for JSOPTION_JIT to not be set
2012-12-16 20:51:42 +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
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
a159a4a79b
update JSAPI_PS() signature to cope with new nsgenbind
2012-11-20 19:17:54 +00:00
Vincent Sanders
6589c7cc19
add Garbage colelction root set macros
2012-11-17 11:19:31 +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
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
06b08d3af0
make compatability macros for garbage collection
2012-11-08 00:40:21 +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
85c973f986
add jsstring to jsval conversion macro that copes with null jsstrings
2012-11-03 17:37:59 +00:00
Vincent Sanders
b531318905
fix obtaining the "this" object
2012-10-28 15:37:55 +00:00
Vincent Sanders
99c54f1d9d
split class prototype initialisation from instantiation
2012-10-26 12:36:14 +01:00
Vincent Sanders
3ed0b09beb
use generated htmldocument binding
2012-10-25 11:17:33 +01:00
Vincent Sanders
22368db232
add js property (dom attribute) support to the document/element objects
2012-08-17 12:25:49 +01:00
Vincent Sanders
ad5db89b49
Fix include and structure definition to stop compiler redefinition errors
2012-08-09 16:28:07 +01:00
Vincent Sanders
0ace9f5e0b
extend javascript object hierarchy
2012-08-08 20:08:41 +01:00
Vincent Sanders
135aae3921
add element object
2012-08-05 23:42:45 +01:00
Vincent Sanders
c0aaf31f5a
fix global handling
2012-07-31 14:48:53 +01:00
Vincent Sanders
cc93afcfda
alter usage of libdom hubbub binding
2012-07-06 20:00:32 +01:00
Vincent Sanders
274a76d97a
Add initial navigator object creation.
...
Basic navigator object outline ready to add methods to.
The navigator object contains all the information about the browser
Signed-Off-By: Vincent Sanders <vince@netsurf-browser.org>
2012-07-02 22:48:41 +01:00
Vincent Sanders
a911ecaa48
Add compatability code to allow compilation with earlier Spidermonky versions
...
By using carefuly built macros we can make the spidermonkey binding
work on earlier editions of spidermonkey.
Some ideas taken from Chris Young and Ole
Signed-off-by: Vincent Sanders <vince@netsurf-browser.org>
2012-06-30 17:38:12 +01:00
Vincent Sanders
1c15183fe3
correctly terminate properties list
...
add helper to convert strings
svn path=/trunk/netsurf/; revision=13991
2012-06-27 23:39:18 +00:00
Vincent Sanders
804bec4f99
make non js builds compile
...
make js support compile with older debian/ubuntu packaging
svn path=/trunk/netsurf/; revision=13990
2012-06-27 23:17:18 +00:00
Vincent Sanders
638e135c60
correctly setup window object as global
...
svn path=/trunk/netsurf/; revision=13987
2012-06-26 18:55:57 +00:00
Vincent Sanders
49effe103a
restructure javascript binding layout to be more explicit
...
fix html content so it correctly loads all the script tags
svn path=/trunk/netsurf/; revision=13968
2012-06-19 09:35:51 +00:00