Commit Graph

25 Commits

Author SHA1 Message Date
Vincent Sanders 6205c62ba3 add non rfc 4329 javascript mimetypes to content handler 2012-08-06 17:33:03 +01:00
Vincent Sanders 135aae3921 add element object 2012-08-05 23:42:45 +01:00
Vincent Sanders f5891097cc Inital work on supporting getelementbyid 2012-08-05 11:44:43 +01:00
Vincent Sanders 6bbae1f228 add document IDL and test for geteleemntbyid 2012-08-01 19:25:45 +01:00
Vincent Sanders c0aaf31f5a fix global handling 2012-07-31 14:48:53 +01:00
Vincent Sanders d7289f6701 remove parser binding layer 2012-07-13 17:37:22 -06:00
Vincent Sanders c5a87d3ebb do not try and write to document if the parser is finished 2012-07-07 00:29:47 +01:00
Vincent Sanders 752261c66c Improve logging and inline script handling 2012-07-07 00:16:07 +01:00
Vincent Sanders cc93afcfda alter usage of libdom hubbub binding 2012-07-06 20:00:32 +01:00
Vincent Sanders 67648c621d Implement navigator properties
Signed-Off-By: Vincent Sanders <vince@netsurf-browser.org>
2012-07-02 22:48:53 +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 d5c900b5f1 fix mimetype handling of script elements
svn path=/trunk/netsurf/; revision=13993
2012-06-28 14:38:28 +00:00
Vincent Sanders ac1dbe0354 fix missing default
svn path=/trunk/netsurf/; revision=13992
2012-06-28 09:30:56 +00: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 cfd26609bd add window and self properties
svn path=/trunk/netsurf/; revision=13989
2012-06-27 18:16:45 +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 3b5c782c16 ensure javascript content handler is initialised
svn path=/trunk/netsurf/; revision=13976
2012-06-19 23:21:15 +00:00
Vincent Sanders 8611281b2e add content handler for javascript
svn path=/trunk/netsurf/; revision=13971
2012-06-19 22:57:29 +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
Vincent Sanders 9dc376bdec use the correct version macro
svn path=/trunk/netsurf/; revision=13966
2012-06-16 12:06:47 +00:00
Vincent Sanders a5f2a8cfba Fix stupid braino missing include for non js case
svn path=/trunk/netsurf/; revision=13965
2012-06-13 18:02:46 +00:00
Vincent Sanders 0be03dea20 fix include for non javascript builds
svn path=/trunk/netsurf/; revision=13964
2012-06-13 17:57:16 +00:00
Vincent Sanders 4c89c9d5df improve javascript support
svn path=/trunk/netsurf/; revision=13962
2012-06-10 22:17:30 +00:00