Gordon Williams
02e186b1ef
Fix issue initialising builtin objects
2014-05-14 18:09:45 +01:00
Gordon Williams
efb6fa8a49
Merge branch 'master' into symbol_table
2014-05-14 17:51:32 +01:00
Gordon Williams
086f487503
http example
2014-05-14 17:49:17 +01:00
Gordon Williams
ad38dc519e
Fixed file IO for nonexistant files
2014-05-14 17:36:17 +01:00
Gordon Williams
3d5574e471
Ensure that pipes can now work to the HTTP server
2014-05-14 17:06:08 +01:00
Gordon Williams
0ca5d29562
refactoring libraries
2014-05-14 15:13:29 +01:00
Gordon Williams
2fd5250ca8
fix open file when file doesn't exist, and modify readFile/etc to use new implementation
2014-05-14 15:06:40 +01:00
Gordon Williams
3e88ad60d5
simplify file API to simple read/write
2014-05-14 14:35:19 +01:00
Gordon Williams
fd15bbf7e7
more refactoring, make pipe more like node's
2014-05-14 13:41:35 +01:00
Gordon Williams
cbf3fc1c4f
Changed to using 'File' constructor for files, added pipe command to file itself
2014-05-14 12:23:12 +01:00
Gordon Williams
9de5a4645e
Misc rename/refactoring
2014-05-14 12:00:58 +01:00
Gordon Williams
7c221e0b6e
Merge branch 'master' into streaming_file_api
2014-05-14 11:53:15 +01:00
Gordon Williams
8f849c978e
Force reconnect on CC3000 disconnect ( fix #373 )
2014-05-14 11:40:02 +01:00
Gordon Williams
83b4c6c93e
tidying up build
2014-05-14 09:42:48 +01:00
Gordon Williams
c06d630e65
added jswGetSymbolListForObject
2014-05-14 09:11:13 +01:00
Gordon Williams
6f6f161355
small speed boost
2014-05-14 08:46:00 +01:00
Gordon Williams
bf17ff2ac1
misc optimisation
2014-05-13 17:39:38 +01:00
Gordon Williams
9d45aba2f0
massive build_jswrapper cleanup
2014-05-13 17:32:11 +01:00
Gordon Williams
850cca8688
first try at symbol table - needs tidying
2014-05-13 17:28:19 +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
c32b2a4d7c
Merge branch 'master' into streaming_file_api
...
Conflicts:
scripts/check_size.sh
2014-05-09 16:57:50 +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
0c847e8baf
Merge branch 'master' into streaming_file_api
...
Conflicts:
Makefile
2014-05-09 16:01:18 +01:00
Gordon Williams
5acbfb5055
modified Makefile to get more info from BOARDNAME.py
2014-05-09 15:58:51 +01:00
Gordon Williams
243a58ddf6
Merge branch 'master' into streaming_file_api
2014-05-09 14:12:26 +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
296685caf4
Added cephdon's latest pipe code, and modified ExecuteFunction to return a value
2014-05-08 15:05:57 +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