Commit Graph

11657 Commits

Author SHA1 Message Date
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
Chris Young
abc7a71117 Pass the URL bar contents back as UTF-8. 2015-07-18 20:12:01 +01:00
Vincent Sanders
3b9df4f796 Fix IDL update from spec 2015-07-17 09:29:37 +01:00
Adrien Destugues
989bc6e190 Fix build on 64-bit Haiku
- Fix path to look for libnetwork to work also on non-hybrid systems
- Remove references to /boot/common as it is not used anymore
- Fix a few type errors
- Use compiler provided va_copy when available
2015-07-14 09:12:44 +01:00
Vincent Sanders
f24b4b94bc Update jenkins build script to cope with arm linux builds 2015-07-13 13:31:28 +01:00
Vincent Sanders
82beca0432 Complete hash table tests and clean up ineterface. 2015-07-12 17:28:03 +01:00
Vincent Sanders
3862549ed9 Add initial tests for hash table. 2015-07-12 11:24:20 +01:00
Vincent Sanders
3f3ac6e909 add some more nsurl compare unit tests to improve coverage 2015-07-10 23:05:02 +01:00
Vincent Sanders
956283366b Complete API coverage in nsurl unit test 2015-07-10 22:50:24 +01:00
Vincent Sanders
22023d616a Add nsurl unit tests for the component handling parts of the API 2015-07-10 16:25:35 +01:00
Vincent Sanders
e5ff82ff52 Improve nsurl unit test to exercise the compare API 2015-07-10 11:53:31 +01:00
Vincent Sanders
2e7b69be0a Extend bloom filter test to check item count is correct 2015-07-10 11:31:48 +01:00
Vincent Sanders
94b5c95676 Add unit test for bloom filter
Adds check based unit test for teh bloom filter implementation. This
is based on Roberts original test code in utils/bloom.c and uses
/usr/share/dict as a source of strings to check bloom creation, no
false negatives and the false positive rate is below 15%.
2015-07-10 10:48:26 +01:00
Vincent Sanders
7b2d15a036 Add tests for all asserts in nsurl API and for access and access_leaf 2015-07-09 23:29:44 +01:00
Vincent Sanders
5b09363597 Add asserts to ensure operations not passed bad pointers 2015-07-09 17:44:51 +01:00
Michael Drake
cd1949bc96 Improve component documentation. 2015-07-09 17:24:03 +01:00
Vincent Sanders
eb962f94c3 Add some basic API assert check tests to ensure bad parameters are caught 2015-07-09 17:12:12 +01:00
Michael Drake
433f47641e Fix mention of nsurl_destroy. 2015-07-09 15:02:51 +01:00
Vincent Sanders
6f1ed5979d remove unused sources from urldb test 2015-07-09 08:05:06 +01:00