Commit Graph

11725 Commits

Author SHA1 Message Date
Michael Drake 16fd36eb9d Proper error handling for JS context creation. 2015-08-13 12:23:59 +01:00
Michael Drake c7a3229494 Can't tell if failure to create a JS context is an error or not.
It won't create one when built jsoff.
2015-08-13 11:59:43 +01:00
Michael Drake 379d97123a Handle failure to create new context. 2015-08-13 11:49:09 +01:00
Michael Drake 99765cf2d0 Remove TODO. 2015-08-13 09:48:09 +01:00
Michael Drake 2d53524635 Fix crash when JS context is required from a frame. 2015-08-13 09:39:04 +01:00
Michael Drake 526b0e3bb4 Add assertion that jscontext is non-NULL when making new compartment. 2015-08-13 09:26:50 +01:00
Vincent Sanders b50ee13100 Fix checking of distcc 2015-08-12 15:05:28 +01:00
Daniel Silverstone ecc6a12ed6 Slight tidying of error report 2015-08-12 15:56:01 +02:00
Vincent Sanders fd21e488e0 Add support for builders with distcc installed 2015-08-12 14:50:54 +01:00
Daniel Silverstone 1ee30e7632 Log more of the JS error object 2015-08-12 15:39:34 +02:00
Daniel Silverstone e331784ea3 Expose Array, Date and RegExp on Window 2015-08-12 15:19:57 +02:00
Daniel Silverstone 3a6da36fc9 Add missing node unref 2015-08-12 12:27:18 +02:00
Daniel Silverstone 2c7dfe0d3d It's not a hubbub error 2015-08-12 11:00:22 +02:00
Daniel Silverstone c47db23f8f Attempt to prevent use of STRPTIME or GETDATE on platforms where we know it is broken 2015-08-12 10:43:34 +02:00
Daniel Silverstone b4d26fd160 Take tip of the fix-cast-align-warnings branch from Sami to see if it helps 2015-08-12 08:40:35 +02:00
Michael Drake 4b07aead3f Add Node::nodeType to test index. 2015-08-11 20:49:32 +01:00
Michael Drake 9354adacdb Fix: warning: pointer targets ... differ in signedness [-Wpointer-sign] 2015-08-11 20:44:52 +01:00
Daniel Silverstone ab79f0a9c5 document.write shoud stringify all args 2015-08-11 19:39:31 +02:00
Michael Drake 78c5ab6f9f Add Node::nodeType test. 2015-08-11 17:21:08 +01:00
Vincent Sanders e91255b409 add simple javascript test calling operation with too few arguemnts 2015-08-11 14:36:43 +01:00
Vincent Sanders c1d5bbe7df add urlutils IDL to netsurf binding 2015-08-11 14:36:43 +01:00
Daniel Silverstone a590117246 Element::getElementsByTagName() 2015-08-11 15:13:14 +02:00
Daniel Silverstone 73fbaf6fb1 Add support for a lot of Node's interface 2015-08-11 14:45:59 +02:00
Daniel Silverstone 1af1ab1c3c Add a variant of dukky_instanceof which can take an index 2015-08-11 14:45:59 +02:00
Vincent Sanders 45ced343af Add urlutils IDL 2015-08-11 12:14:18 +01:00
Daniel Silverstone d4f487acf1 Basic Console support 2015-08-10 20:09:58 +02:00
Daniel Silverstone 0df3439eb2 Fix constructor injection to use new constructor type, add test 2015-08-09 18:54:37 +01:00
Daniel Silverstone 3d7de6cf8d Fix window.window 2015-08-09 16:20:09 +01:00
Daniel Silverstone da77e9c91c Avoid strptime on platforms where NetSurf knows we don't have a good one 2015-08-09 14:51:22 +01:00
Chris Young 3b9a913125 Permanently enable display of the "enable javascript" UI options 2015-08-09 14:22:29 +01:00
Chris Young 8d4c4b9179 Support PowerPC 2015-08-09 14:07:38 +01:00
Vincent Sanders 7e9fcada3b Fixup jenkins build scripts to cope with duktape for javascript 2015-08-09 12:46:35 +01:00
Daniel Silverstone d6a0f3fef0 Fix copyright header on dukky.h 2015-08-09 12:28:44 +01:00
Daniel Silverstone a16e2aa839 Make duktape the default, and on by default, and others off by default 2015-08-09 12:27:28 +01:00
Daniel Silverstone 061472e520 Support duktape and WebIDL 2015-08-09 12:27:13 +01:00
Daniel Silverstone aadb820089 Add duktape bindings 2015-08-09 12:26:41 +01:00
Daniel Silverstone 37b118d966 Add duktape binding support code 2015-08-09 12:26:28 +01:00
Daniel Silverstone ad82c49a80 Add duktape 1.2.3 release ready for use 2015-08-09 12:26:11 +01:00
Daniel Silverstone 548adc547d Store the HTML content as userdata on the DOM's HTMLDocument 2015-08-09 12:00:25 +01:00
Daniel Silverstone a4455f79ce Add support for BODY, HEAD, html namespaces and keying of html content data 2015-08-09 11:58:42 +01:00
Daniel Silverstone db40a6439a Disambiguate references 2015-08-09 11:57:13 +01:00
Chris Young f4903743ba Abstract all instances of NewMinList as it causes alert 80000006 on OS3 2015-08-05 23:42:20 +01:00
Chris Young ef5ce5c2f6 Fix guru 80000006 occuring on OS3 when initialising lists. 2015-08-05 18:13:04 +01:00
Vincent Sanders c5a834f527 retrive the correct uievents spec and process it appropriately 2015-07-23 21:42:46 +01:00
Vincent Sanders bdd9f59573 Attempt to extract the uievents IDL 2015-07-23 21:26:46 +01:00
Chris Young 70fd706e65 NULL-terminate font name in IFF DR2D FONS 2015-07-20 19:42:50 +01:00
John-Mark Bell 5ea9961737 RISCOS: further fix URL bar memory manipulation 2015-07-19 11:49:57 +01:00
Chris Young 80e9a23fc1 Check for empty URL in RISC OS 2015-07-19 10:45:53 +01:00
Chris Young daef57aaee Check NULL pointer 2015-07-19 10:34:02 +01:00
John-Mark Bell a470aacdb2 RISCOS: fix obvious NULL dereferences in URL complete. 2015-07-18 23:30:15 +01:00