Gordon Williams
1381fdcc3d
Merge pull request #1401 from MaBecker/wificonf
...
rewrite wifi.save and restore to use the storage lib (imp #1380 )
2018-05-09 12:54:02 +01:00
Gordon Williams
a1653f2e16
Merge branch 'master' of github.com:espruino/Espruino
2018-05-09 11:52:34 +01:00
Gordon Williams
61585f7069
Fix memory leak if an exception is thrown within a rejected promise
2018-05-09 11:52:31 +01:00
Gordon Williams
94d5063aa9
nRF5x: Fix memory leak on NRF.connect
2018-05-09 11:51:56 +01:00
MaBecker
a71ea63ce4
add option hidden to startAP (imp #1358 )
...
* allow to find hidden access points
* option hidden tested on ESPRUINO-WIFI board, option is ignored until
not implemented
2018-05-09 11:20:29 +02:00
Gordon Williams
ca1a1a5312
Merge pull request #1404 from opichals/string-match-implementation
...
Add String#match() implementation
2018-05-09 10:15:12 +01:00
Gordon Williams
c4eecd3714
Merge pull request #1403 from opichals/http-chunked-encoding-no-lenString-alloc
...
Drop the unnecessary chunked lenString alloc
2018-05-09 09:41:05 +01:00
Standa Opichal
1814390b63
Add String#match() implementation
2018-05-08 09:59:06 +02:00
Standa Opichal
0cbccebac5
Drop the unnecessary chunked lenString alloc.
...
It is no longer necessary as the https://github.com/espruino/Espruino/issues/1397 was fixed.
2018-05-08 09:43:03 +02:00
MaBecker
7893b46a76
rewrite wifi.save and restore to use the storage lib (imp #1380 )
...
* use .wificfg to store wifi credentials
* free wifi save page and add to save_code
* remove flash page 0x77000 and add to flash_available
* move wifi restore after JavaScript environment is up and running
2018-05-08 02:55:18 +02:00
Gordon Williams
e2ddebd3d7
oops - commit other files tweaked slightly for new stringToInt
2018-05-07 10:49:23 +01:00
Gordon Williams
bf5862c8f1
stop the compile warnings caused by recent PR
2018-05-07 10:46:39 +01:00
Gordon Williams
cd314d0046
Allow parseInt/parseFloat to be used on very large strings if the number doesn't extend right to the end ( fix #1397 )
2018-05-07 10:46:03 +01:00
Gordon Williams
18c149d18f
Merge pull request #1399 from opichals/regexp-character-set-ranges
...
Implement RegExp character set ranges, /[a-z]/
2018-05-07 09:37:43 +01:00
Gordon Williams
12078c899e
Merge branch 'master' of github.com:espruino/Espruino
2018-05-07 09:32:33 +01:00
Gordon Williams
ff9e6be48f
Fix dump() when used with code written using E.setBootCode(..), ( fix #1398 )
2018-05-07 09:32:26 +01:00
Gordon Williams
1bcec88e49
Merge pull request #1400 from opichals/http-chunked-encoding-chunkLen-pre-crlf-parseInt-only
...
Do parseInt() on only pre-CRLF http chunked data
2018-05-07 09:08:40 +01:00
Standa Opichal
599d7126b4
Only do parseInt on pre-crlf chunk data
...
This avoids hitting the parseInt string length issue https://github.com/espruino/Espruino/issues/1397
2018-05-06 19:08:38 +02:00
Standa Opichal
25a24ac6da
Implement RegExp character set ranges, /[a-z]/
2018-05-06 18:45:46 +02:00
Gordon Williams
254a390e3d
Pixl.js: Reorder pins so 0..13 are also D0..13 for better Arduino compatibility
2018-05-04 09:14:19 +01:00
Gordon Williams
47216d64df
Merge branch 'master' of github.com:espruino/Espruino
2018-05-03 17:03:43 +01:00
Gordon Williams
6661a9d811
note about connect
2018-05-03 17:03:39 +01:00
Gordon Williams
02b37254a9
Merge pull request #1396 from ukaoskid/master
...
Managed to improve image creation on MacOS
2018-05-03 12:27:39 +01:00
Gordon Williams
a6aea5b0a9
fix menu issues when no title supplied
2018-05-03 12:26:36 +01:00
Simone Di Cicco
37d0481979
Managed to improve image creation on MacOS
2018-05-03 13:15:36 +02:00
Simone Di Cicco
82afa4e497
Managed to improve image creation on MacOS
2018-05-03 12:22:00 +02:00
Gordon Williams
260b17310b
Merge pull request #1394 from opichals/add-jsvIsStringIEqualAndUnLock-helper
...
Add ignoreCase string comparison helper
2018-05-03 09:13:41 +01:00
Gordon Williams
eb75c2c468
Merge pull request #1393 from opichals/ignore-case-regexp
...
Implement ignore-case RegExp flag, /something/i
2018-05-03 08:44:18 +01:00
Standa Opichal
df57f9af5f
Add jsvIsStringIEqualAndUnLock helper
...
No extra allocation solution for cases where an ignoreCase
comparison is necessary.
2018-05-03 02:01:09 +02:00
Standa Opichal
cb50720b6b
Implement ignore-case RegExp flag, /something/i
2018-05-03 01:25:17 +02:00
Standa Opichal
0b34adaa7a
Add inline jsvStringCharTo(Upper|Lower) helpers
2018-05-03 01:25:17 +02:00
Gordon Williams
a81fa7c438
Merge branch 'master' of github.com:espruino/Espruino
2018-05-02 16:40:50 +01:00
Gordon Williams
15995720c0
nRF52: fix pin.toggle() on software-negated pins
2018-05-02 16:40:40 +01:00
Gordon Williams
d3cda7218f
Merge pull request #1390 from opichals/insensitive-transfer-encoding-compare
...
Compare Transfer-Encoding value case-insensitively
2018-05-02 08:36:09 +01:00
Gordon Williams
b4689eaf49
Merge pull request #1389 from opichals/free-regexp-txtIt-fallback-to-quoted-char
...
RegExp fixes and escaping fallback
2018-05-02 08:34:39 +01:00
Standa Opichal
1439234466
Compare Transfer-Encoding value case-insensitively
...
By RFC 2616: All transfer-coding values are case-insensitive.
2018-05-02 01:28:40 +02:00
Standa Opichal
396337ead5
Add proper /^Xx+/ style RegExp txtIt freeing
...
Was only asserting on .exec() calls with long strings so the
added test string length matters.
2018-05-01 20:43:26 +02:00
Standa Opichal
6eefb94fe4
Added RegExp escape character fallback
...
Treating an unknown (or not-implemented escape sequence as a single
quoted character). For example \? is treaded as a ?.
2018-05-01 20:40:54 +02:00
Gordon Williams
7a44934f0b
tweak docs
2018-05-01 10:55:32 +01:00
Gordon Williams
2861d7ef4e
remove socket asserts - no bitfields any more
2018-04-30 11:03:36 +01:00
Gordon Williams
d7bb845725
better docs for I2C1/etc
2018-04-30 10:30:47 +01:00
Gordon Williams
24bfd5cede
Fix 'this is only available in' docs
2018-04-30 09:58:50 +01:00
Gordon Williams
eaef9c1440
Add better docs for the form of Wifi callback functions
...
Modify ESP8266/ESP32 callbacks to match the node.js style used elsewhere
2018-04-30 09:02:20 +01:00
Gordon Williams
08dabc3204
Merge pull request #1385 from MaBecker/wificonf
...
capsulate gdb with ifdef DEBUG (fix #1378 )
2018-04-27 09:00:34 +01:00
Gordon Williams
ccb9c06f50
Merge pull request #1386 from espruino/wilberforce-patch-telnet
...
Telnet - prevent New interpreter error: FIFO_FULL
2018-04-27 08:46:26 +01:00
wilberforce
5161d9def7
Telnet - prevent New interpreter error: FIFO_FULL
...
Allow TCP/IP in Telnet have flow control in the firmware itself.
http://forum.espruino.com/conversations/317981/#comment14206992
2018-04-27 08:41:13 +12:00
MaBecker
9d51800759
capsulate gdb with ifdef DEBUG ( fix #1378 )
2018-04-26 19:50:24 +02:00
Gordon Williams
fcd1a18760
Merge pull request #1384 from espruino/MaBecker-patch-1
...
ESP8266 build specific stuff to make SHA256/512 switchable
2018-04-26 11:58:42 +01:00
Mark Becker
7133fb8a22
ESP8266 build specific stuff to make SHA256/512 switchable
2018-04-26 12:47:24 +02:00
Gordon Williams
79850cc862
notes
2018-04-26 09:19:58 +01:00