Gordon Williams
83b4c6c93e
tidying up build
2014-05-14 09:42:48 +01:00
Gordon Williams
6a162b9fec
Remove unused linker files - all auto-generated now
2014-05-13 15:49:18 +01:00
Gordon Williams
290d4e41c0
Improve docs for SPI/I2C/Serial.setup
2014-05-13 12:02:01 +01:00
Gordon Williams
3fa140cd6d
Merge branch 'master' of github.com:espruino/Espruino
2014-05-12 11:20:01 +01:00
Gordon Williams
46806def87
Add HIGH and LOW ( fix #371 )
2014-05-12 11:19:41 +01:00
Gordon Williams
4d3cf434b2
Add E.reverseByte
2014-05-12 10:34:45 +01:00
Gordon Williams
0d59179f1a
Merge pull request #369 from mgg1010/master
...
Various Wiznet Fixes
2014-05-12 08:04:07 +01:00
mgg1010
df3282b033
Fix for socket NONBLOCK not cleared
...
I found that if a socket was re-used, sometimes it would incorrectly have the wrong blocking status, because the socket creation code in socket() didn't clear the value
2014-05-09 23:48:35 +01:00
mgg1010
a02b9a6860
Fix for "no free sockets" problem
...
My testing shows that the DNS query wasn't closing sockets, and they were remaining open indefinitely. I've added a close(s) to fix this.
2014-05-09 23:46:22 +01:00
mgg1010
1b42053c4e
Hopefully fix repeated GET problem
...
Previously, if we issued http GET more than once every 30 seconds, the second GET would timeout. It seems this is because the code was using the same fixed port for src and dest - both were 80. Probably this caused a problem if the second GET happened before the first had closed
2014-05-09 23:44:27 +01:00
Gordon Williams
967e3da9e0
misc script tweaks
2014-05-09 16:45:40 +01:00
Gordon Williams
c8668bb948
Improving Util Timer rescheduling to try and avoid 64 bit divisions
2014-05-09 16:45:26 +01:00
Gordon Williams
5acbfb5055
modified Makefile to get more info from BOARDNAME.py
2014-05-09 15:58:51 +01:00
Gordon Williams
5ad4cea22a
more error message tweaks
2014-05-09 14:03:41 +01:00
Gordon Williams
c9dded70df
Better error messages, and more efficient handler
2014-05-09 13:50:53 +01:00
Gordon Williams
d3f78e3330
Improve when stack traces happen for error reporting
2014-05-09 13:19:31 +01:00
Gordon Williams
500952234d
Crop lines in errors when > 60 chars ( fix #364 )
2014-05-09 13:06:38 +01:00
Gordon Williams
feeb007b95
Fix edit(...) so that functions themselves (not just the variable) are updated ( fix #366 )
2014-05-09 12:42:45 +01:00
Gordon Williams
a16cffdef3
fix compile on F3/F4 boards
2014-05-08 18:05:52 +01:00
Gordon Williams
e6b25276ab
Add BusFault hander, to allow peek and poke to unmapped addresses without HardFaulting the ARM
2014-05-08 17:53:27 +01:00
Gordon Williams
6cbf50ed66
add spi/i2c/etc links
2014-05-08 16:29:42 +01:00
Gordon Williams
a2e8eaf980
startup_stm32f10x_hd.s now explicitly sets the stack pointer. Allows Espruino images to use more RAM
2014-05-08 10:23:44 +01:00
Gordon Williams
f3f3122017
Stop jspNewObject creating a new object name if one already exists
2014-05-07 11:26:39 +01:00
Gordon Williams
fee009e7e9
Fix issue parsing
2014-05-07 11:15:06 +01:00
Gordon Williams
a5f4762b75
Remove jsvArrayGetLast ( fix #363 )
2014-05-06 17:27:31 +01:00
Gordon Williams
6a81e698dc
Object.keys on array now returns strings ( fix #348 )
2014-05-06 16:41:52 +01:00
Gordon Williams
5d36bd45b4
Store array length in the array root node rather than the last element ( fix #351 #361 )
2014-05-06 16:37:24 +01:00
Gordon Williams
dc6a41d311
Merge pull request #362 from raybellis/ArrayLength
...
Array length patches
2014-05-06 16:28:49 +01:00
Gordon Williams
157b7be9ce
Ensure Object.keys([9,,undefined,9])==[0,2,3] (partial #349 )
2014-05-06 16:23:18 +01:00
Ray Bellis
39674a9017
don't fill trailing elements on ArrayBuffers
2014-05-06 16:02:20 +01:00
Gordon Williams
a021782fbf
Fix 'Uint32Array is not unsigned' ( fix #330 )
2014-05-06 15:55:10 +01:00
Ray Bellis
3bb27acbbd
fixed Array.prototype.join() for sparse arrays and the new length code
2014-05-06 15:43:37 +01:00
Ray Bellis
7645c53f89
Merge https://github.com/espruino/Espruino into ArrayLength
2014-05-06 15:01:41 +01:00
Ray Bellis
5d5747dda8
use a real length counter in array objects
...
NB - still TODO:
- sorting on sparse arrays
- setting of array.length
- Object.keys() should return strings, not numbers
2014-05-06 14:52:56 +01:00
Gordon Williams
8b89f7ab39
Fix without quotes ( fix #356 )
2014-05-06 13:56:51 +01:00
Gordon Williams
8f1462e5e5
Fix Instance properties overwrite prototype ( fix #360 )
2014-05-06 12:26:04 +01:00
Gordon Williams
e550dc5b01
Merge branch 'master' of github.com:espruino/Espruino
2014-05-06 12:00:26 +01:00
Gordon Williams
fb3647f94b
Memory leak when defining functions ( fix #359 )
2014-05-06 12:00:01 +01:00
Gordon Williams
826caa094f
Merge pull request #358 from raybellis/ES5_Array_Functions
...
Added the ES5 functions Array.prototype.filter, .every and .some
2014-05-06 09:03:54 +01:00
Ray Bellis
71b37a6e34
cleaned up patch slightly, just pass the method name instead
...
of calculating it
2014-05-04 08:48:41 +01:00
Ray Bellis
7e67c5aa17
Added the ES5 functions Array.prototype.filter, .every and .some
2014-05-03 09:35:52 +01:00
Gordon Williams
a21ccdf566
kill compile warnings
2014-05-02 10:15:30 +01:00
Gordon Williams
ea09b7ea3a
squish warning
2014-05-02 09:09:25 +01:00
Gordon Williams
ead8497a7c
squish warning
2014-05-02 09:08:42 +01:00
Gordon Williams
f9d9216d6e
Merge pull request #354 from raybellis/NetOnOSX
...
Get network_linux.c to build under MacOS X
2014-05-02 08:23:40 +01:00
Ray Bellis
f9cc458f7e
close the socket and return -1 if the socket connect call fails
2014-05-02 00:33:45 +01:00
Ray Bellis
15c9d92eb3
Get network_linux.c to build under MacOS X
2014-05-02 00:27:59 +01:00
Gordon Williams
6ae6da4d44
bump version
2014-05-01 17:52:17 +01:00
Gordon Williams
f5f01f0057
Try and squeeze basic Espruino into Olimexino
RELEASE_1V62
2014-05-01 17:46:30 +01:00
Gordon Williams
f11c710965
whoops
2014-05-01 13:22:03 +01:00