Vincent Sanders
6397fedb2b
Turns out there are still two different compiles of the 1.8.5 API about
12 years ago
Vincent Sanders
ae6058c15c
create objects from window on demand an keep them as simple unshared objects
...
update prototype handling to keep GC refs
12 years ago
Vincent Sanders
ce0fe06349
create javascript heartbeat and hook a script timeout to it
12 years ago
Vincent Sanders
db7d3acdc3
add and use debug logging macro
12 years ago
Vincent Sanders
fc6f04161e
simplify jsapi property compatability macros
12 years ago
Vincent Sanders
5f66864c3a
add macros for default proprty actions
12 years ago
Vincent Sanders
90f0cfb551
allow for JSOPTION_JIT to not be set
12 years ago
Vincent Sanders
99f93da0f3
correctly handle location
12 years ago
Vincent Sanders
0718d80918
abstract out GC root manipulation for js values
12 years ago
Vincent Sanders
ec43456e4b
use unshared type handler for all events on window
12 years ago
Vincent Sanders
966fb9f215
rationalise the JSAPI macro usage requires nsgenbind changes
12 years ago
Vincent Sanders
a159a4a79b
update JSAPI_PS() signature to cope with new nsgenbind
12 years ago
Vincent Sanders
6589c7cc19
add Garbage colelction root set macros
12 years ago
Chris Young
b0e43148b5
JSContext needs to be a pointer
12 years ago
Chris Young
2a63ce87bb
Spidermonkey 1.70 headers don't have JS_SET_RVAL
12 years ago
Vincent Sanders
28ac5fe9c1
implement appendChild so wikipedia lcm script works
12 years ago
Vincent Sanders
9006a96119
setup spidermonky 1.7.0 compatability macros, derived from ole's macros
12 years ago
Vincent Sanders
06b08d3af0
make compatability macros for garbage collection
12 years ago
Vincent Sanders
b68f928cb2
fix JSAPI_CLASS_NO_INTERNAL_MEMBERS for 1.8.0 spidermonkey
12 years ago
Vincent Sanders
e0dc7d40ab
implement JSAPI_CLASS_NO_INTERNAL_MEMBERS correctly for differring versions of teh jsapi interface
12 years ago
Vincent Sanders
12f874cd92
separate javascript logging macro
12 years ago
Vincent Sanders
85c973f986
add jsstring to jsval conversion macro that copes with null jsstrings
12 years ago
Vincent Sanders
b531318905
fix obtaining the "this" object
12 years ago
Vincent Sanders
99c54f1d9d
split class prototype initialisation from instantiation
12 years ago
Vincent Sanders
3ed0b09beb
use generated htmldocument binding
12 years ago
Vincent Sanders
22368db232
add js property (dom attribute) support to the document/element objects
13 years ago
Vincent Sanders
ad5db89b49
Fix include and structure definition to stop compiler redefinition errors
13 years ago
Vincent Sanders
0ace9f5e0b
extend javascript object hierarchy
13 years ago
Vincent Sanders
135aae3921
add element object
13 years ago
Vincent Sanders
c0aaf31f5a
fix global handling
13 years ago
Vincent Sanders
cc93afcfda
alter usage of libdom hubbub binding
13 years ago
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>
13 years ago
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>
13 years ago
Vincent Sanders
1c15183fe3
correctly terminate properties list
...
add helper to convert strings
svn path=/trunk/netsurf/; revision=13991
13 years ago
Vincent Sanders
804bec4f99
make non js builds compile
...
make js support compile with older debian/ubuntu packaging
svn path=/trunk/netsurf/; revision=13990
13 years ago
Vincent Sanders
638e135c60
correctly setup window object as global
...
svn path=/trunk/netsurf/; revision=13987
13 years ago
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
13 years ago