201 Commits

Author SHA1 Message Date
Gordon Williams
4f9f8a0bfe update crypto test code 2015-11-10 12:26:28 +00:00
Gordon Williams
e4a62cd6ad Merge branch 'master' into AES 2015-11-05 16:31:46 +00:00
Gordon Williams
f1a818f190 Don't store brackets in functions (fix #204) 2015-11-03 16:52:00 +00:00
Gordon Williams
eb48e0c47b add iv support 2015-10-02 15:17:51 +01:00
Gordon Williams
529ab4167d Fix issue where new Array(3.0) wouldn't produce a 3 element array 2015-08-27 10:52:40 +01:00
Gordon Williams
071102b859 Fix Exception throw within catch block (fix #566) 2015-08-26 14:04:10 +01:00
Gordon Williams
d22815172d ensure this works when ReferenceError is thrown by eval 2015-08-13 12:46:48 +01:00
Gordon Williams
0858ecfb5e Actually create ReferenceError for undefined variables 2015-08-12 16:56:59 +01:00
Gordon Williams
976e48eab1 Ensure HTTP is closed even when no data handler (fix #535) 2015-05-11 12:09:01 +01:00
Gordon Williams
3f59263c33 Use jsvUnlockMany to tidy up code and save some space
jsiExecuteEventCallback cal now take an arbitrary number of arguments
            Allow setTimeout/setInterval to take extra arguments (fix #532)
2015-05-06 15:58:29 +01:00
Gordon Williams
4655fc47b2 Make bind reference function internals not copy them. Fix scoped vars in bind (fix #532) 2015-05-06 15:03:50 +01:00
Gordon Williams
5ae24206fb Ensure res.on('close') is called for empty HTTP requests (fix #528) 2015-05-01 15:37:31 +01:00
Gordon Williams
89bf8f8261 Fix instanceof implementation (and fix mem leak) (fix #523) 2015-04-23 11:29:08 +01:00
Gordon Williams
6a61038559 Add 'modules' variable, and set 'this' to 'exports' when parsing a module (fix #520) 2015-04-23 11:08:09 +01:00
Gordon Williams
c44ee3843b Fix issue where Array.sort on big array with identical elements failed (#515) 2015-04-23 10:58:35 +01:00
Gordon Williams (u36)
4c1e9c1194 updated mapInPlace to allow it to unpack bytes as well 2015-04-13 09:25:26 +01:00
Gordon Williams (u36)
579d3ac7c2 Add E.mapInPlace 2015-04-12 19:07:33 +01:00
Gordon Williams
bf40f34e8c Propagate this into eval (fix #513) 2015-03-31 11:44:14 +01:00
Gordon Williams
23225597b0 Allow argument lists in Function() (fix #505) 2015-03-31 09:57:49 +01:00
Gordon Williams
2d98b5bb7e Added more allowed types of whitespace
Added String.prototype.trim() (fix #507)
2015-03-30 16:53:46 +01:00
Gordon Williams
9b67c38669 tweaks to allow a bound function to be bound again 2015-03-30 15:41:59 +01:00
Gordon Williams
7beb971dad Add Function.bind (fix #318) 2015-03-30 15:23:26 +01:00
Gordon Williams
f07c163fc7 Fix crash when out of memory while creating built-in object
Fix continue statement in nested loops (fix #501)
2015-03-04 15:15:30 +00:00
Gordon Williams
ff2871778a Fix issue with graphics fill on PCD8544 LCD 2015-02-17 14:42:51 +00:00
Gordon Williams
b314d15d7a Fix regression where accessing certain member names of an undefined variable would cause a crash (fix #488) 2015-02-02 16:53:41 +00:00
Gordon Williams
17b6c3f333 Add Uint8ClampedArray, remove code duplication in ArrayBuffer (fix #486) 2015-01-29 14:26:53 +00:00
Alexander Brevig
a3a37314ff and make tests pass... 2015-01-16 13:22:36 +01:00
Gordon Williams
b9e9c14024 Remove hashlib from general compile for now - this'll break boards with low flash memory - eg, olimexino,stm32vl 2014-12-17 14:19:04 +00:00
Gordon Williams
c45f3e988d fix arraybuffer test 2014-12-17 11:46:12 +00:00
Mikael Ganehag Brorsson
764b7416e7 Basic testcase for hashlib 2014-12-05 23:18:14 +01:00
Gordon Williams
0962662b0d Added 'net' library with support for sockets 2014-11-20 13:01:04 +00:00
Gordon Williams
cc9cd4a3cc initial socket support - client now working 2014-11-20 11:50:21 +00:00
Gordon Williams
7c4b317dea Fix filled column when fillpoly is off the end of the screen 2014-11-14 14:51:11 +00:00
Gordon Williams
15728ba5c5 Ensure that &,|,^,etc all have different precedences (without extra recursion) 2014-11-12 09:53:46 +00:00
Gordon Williams
0ebed4a415 Fix do..while without trailing semi-colon 2014-11-12 09:02:29 +00:00
Gordon Williams
0a6db1e113 Fix ArrayBuffer.sort issue with element size >1 2014-11-03 10:17:20 +00:00
Gordon Williams (u36)
e9f8fa7e51 Fix bug allObjects found with iterating over undefined 2014-10-29 12:33:43 +00:00
Gordon Williams
52646ee41c test for prev commit 2014-10-09 09:30:28 +01:00
Gordon Williams
658900bd2c Sort out 'Number()' constructor not being picky enough - parseFloat now parses 'Infinity' (Fix #325, mostly fix #322) 2014-10-07 18:05:34 +01:00
Gordon Williams
c0b335bbbc test for bug 428 2014-09-19 13:30:35 +01:00
Gordon Williams
adbd61bbc3 Fix E.getSizeOf (fix #424) 2014-09-09 12:42:24 +01:00
Gordon Williams
902daf6a88 Stop while/for/etc resetting exception state (fix #419) 2014-08-25 12:02:10 +01:00
Gordon Williams
67adc8b39d Fix regression in long timeouts (fix #416)
Use 'interval' var to specify if we're an interval or not (don't use 'recur' var)
2014-08-25 11:27:34 +01:00
Gordon Williams
551748f9d5 Stop String.split() adding an empty elementy to the array 2014-08-13 11:06:36 +01:00
Gordon Williams
551b5c4adc Fix 1v70 regression where Pin was cast to int when writing to a variable 2014-08-06 09:45:56 +01:00
Gordon Williams
5e9662d82b Fix Array.fill on sparse arrays (fix #410) 2014-08-04 10:10:30 +01:00
Gordon Williams
dffcefb1d9 Merge branch 'small_jsvar'
Conflicts:
	src/jswrap_functions.c
2014-08-01 14:34:57 +01:00
Gordon Williams
e7846c2a8a md5 test 2014-07-29 10:08:11 +01:00
Gordon Williams
b5c56ba81f Merge branch 'master' into small_jsvar
Conflicts:
	ChangeLog
2014-07-28 11:50:28 +01:00
Gordon Williams
748096860f Fix Date constructor issue (uninitialised variable) (fix #408) 2014-07-28 11:04:10 +01:00