Gordon Williams
d2ac389cb5
Fixed ArrayBuffer Graphics where width*height*bpp&7!=0
2014-06-20 08:26:57 +01:00
Gordon Williams
312cb7f3a6
Fixed memory leak in ''.indexOf('.')
2014-06-20 08:25:46 +01:00
Gordon Williams
7b9195b3bf
Fixed memory leak in g.getPixel with arraybuffers
2014-06-19 16:59:21 +01:00
Gordon Williams
03e1bd9875
squashing warnings
2014-06-19 16:25:21 +01:00
Gordon Williams
e13ff8cb75
setWatch now reports the pin back ( fix #275 )
2014-06-19 16:21:26 +01:00
Gordon Williams
355ac00371
Fixed parsing of multiple shifts
2014-06-19 15:48:02 +01:00
Gordon Williams
5c5580beb1
moved pipe so it's not dependent on filesystem
2014-06-19 15:30:37 +01:00
Gordon Williams
1b0d2e5ce9
oops
2014-06-19 15:09:05 +01:00
Gordon Williams
00b3a24332
Stop HTTP server closing before all data has been read
2014-06-19 14:58:52 +01:00
Gordon Williams
b3de0eac40
Move Serial.onData(...) to Serial.on('data',...)
...
Add Serial.read/available/pipe (fix #383 )
Add HTTP client/server read/available/pipe
Add documentation for events (and tidy it up for constructors)
2014-06-19 14:50:43 +01:00
Gordon Williams
53d41d353f
update docs
2014-06-19 10:50:14 +01:00
Gordon Williams
526c0a5eb0
squashing warnings
2014-06-19 10:26:45 +01:00
Gordon Williams
004b07d7da
Make call back with >1 char ( #383 )
2014-06-19 10:25:49 +01:00
Gordon Williams
69d49566be
nicer error
2014-06-18 11:35:07 +01:00
Gordon Williams
dd83fc412e
update cl
2014-06-18 09:53:00 +01:00
Gordon Williams
0bf4dc9cf9
Store only 32 bit time for events (work out full 64 bits in event loop)
...
Increase event buffer size to 128 (from 64)
2014-06-18 09:46:07 +01:00
Gordon Williams
29adf8a0a5
Remove JSV_NAME flag - paving the way for more efficient variable storage
2014-06-17 17:20:34 +01:00
Gordon Williams
6216c3c73b
Fix changeInterval regression after int32 changes
2014-06-17 17:12:48 +01:00
Gordon Williams
4947ae7508
misc fixes
2014-06-17 16:37:33 +01:00
Gordon Williams
c767157109
Merge branch 'master' into name_refactor
...
Conflicts:
src/jsutils.h
src/jsvar.c
src/jsvar.h
2014-06-17 16:11:50 +01:00
Gordon Williams
892daa644d
fix memory leak caused by merging new
2014-06-17 15:29:52 +01:00
Gordon Williams
c40afe0734
Merge jsvNewWithFlags and jsvNew - making variable allocation a bit faster
2014-06-17 15:09:35 +01:00
Gordon Williams
79cdd6d44e
Swap JsVar fields around so everything is aligned on the correct boundaries
2014-06-17 14:58:33 +01:00
Gordon Williams
9dab15d534
try and fix word alignment issue when zeroing data
2014-06-17 14:29:39 +01:00
Gordon Williams
fa6bc10f9f
now reset full 8 bytes of the variable data, also re-order initialisations in the hope they'll get optimised (they're not)
2014-06-17 14:05:05 +01:00
Gordon Williams
fc7de51ac0
misc tweaks - improve Object.toString handling
2014-06-17 13:21:54 +01:00
Gordon Williams
fdc5fef59c
Added Array.prototype.reverse, and also for ArrayBuffers ( fix #389 )
2014-06-17 12:54:41 +01:00
Gordon Williams
c5becdfd22
clearer table
2014-06-17 11:53:09 +01:00
Gordon Williams
386b4a504b
Epic JSV_NAME refactor. Remove the bit from JsVarFlags and instead add JSV_NAME_INT and JSV_NAME_STRING var types.
...
Later on, this will allow us to have JSV_NAME_INT_INT where we can pack both the name and value together.
2014-06-17 11:27:57 +01:00
Gordon Williams
90975aab1e
update docs, remove LARGE_MEM define
2014-06-17 09:48:16 +01:00
Gordon Williams
96555ebb6f
fix compile on 32 bit linux
2014-06-17 08:52:27 +01:00
Gordon Williams
fa03506953
Switch to 32 bit ints ( fix #324 )
2014-06-16 18:05:23 +01:00
Gordon Williams
a6185a272c
totally remove 64 bit division - save ~2kb flash ( fix #392 )
2014-06-16 18:03:57 +01:00
Gordon Williams
1951c136b8
Merge branch 'master' into int32
2014-06-16 16:33:13 +01:00
Gordon Williams
09571338f1
docs
2014-06-16 15:47:19 +01:00
Gordon Williams
8fa1c554e9
Stop warning about break at the end of 'default' in switch statement
2014-06-16 10:52:30 +01:00
Gordon Williams
a0dee715d3
Fixed massive regression I'd just introduced in Exceptions
...
Fixed overriding of builtins with other Builtins
Added Date.valueOf
Added 262 test, which checks a lot of standard JS before even starting each small test
2014-06-13 18:22:30 +01:00
Gordon Williams
d9bdf62f70
Add Error.toString - not working yet because of issue with overloading of builtin functions
2014-06-13 17:38:23 +01:00
Gordon Williams
8e57136a28
fix indentation
2014-06-13 17:37:38 +01:00
Gordon Williams
09a328400c
Added throw and try..catch..finally (see #40 )
2014-06-13 16:51:27 +01:00
Gordon Williams
4d7e13c013
more convincing date calculations based on Martin's date module
2014-06-13 15:56:31 +01:00
Gordon Williams
fc3242a789
Add some Stubs for inbuilt Date and Error classes
2014-06-13 13:46:11 +01:00
Gordon Williams
4a214d3687
When running JS files under Linux, do two parses to ensure that Functions are 'hoisted'
...
Add Object.create()
Add Function constructor
Add Object.getOwnPropertyDescriptor (although it won't return spec-compliant values)
2014-06-13 13:44:21 +01:00
Gordon Williams
f398756e73
Fix parseURL for numeric keys in query string ( fix #388 )
2014-06-12 18:28:55 +01:00
Gordon Williams
74735ef27d
Fix broken I2C write with latest changes
2014-06-12 18:23:23 +01:00
Gordon Williams
8dd6bd2d30
Fix issue with uninitialised function arguments ( fix #391 )
2014-06-12 18:15:06 +01:00
Gordon Williams
dba97f4621
Merge branch 'master' into int32
2014-06-10 17:44:10 +01:00
Gordon Williams
0eafdb7813
OneWire library now uses hex strings for addresses rather than 64 bit ints
2014-06-10 17:37:09 +01:00
Gordon Williams
79e71d07f8
Fix Float32Array.set (and improve speed for non-float arrays)
2014-06-10 16:55:11 +01:00
Gordon Williams
49c2ac0baa
Waveform stability improvements
2014-06-09 11:30:43 +01:00