Gordon Williams
41a9df2e20
nRF52: Move neopixel LRCK pin which can't be disabled due to hardware errata, and restore state after ( fix #2071 )
2021-11-05 11:10:43 +00:00
Gordon Williams
0cb8e7cc53
remove hexbadge build to preserve travis credits
2021-11-05 11:09:47 +00:00
Gordon Williams
31fe552df7
Merge branch 'master' of github.com:espruino/Espruino
2021-11-05 11:09:08 +00:00
Gordon Williams
63c0bf9897
Fix pretokenised '1 / /.../' and ensure jslSeek resets the previous token (ref #2086 )
2021-11-04 11:23:28 +00:00
Gordon Williams
5d1060be51
Merge pull request #2088 from fanoush/f-fix-drive-findfile
...
make jsfFindFile consistent with jsfCreateFile = always strip drive letter
2021-11-04 08:19:14 +00:00
fanoush
5d7e0a06a5
make jsfFindFile consistent with jsfCreateFile = always strip drive letter
...
- also fix jsfCreateFile, shifting name duplicated last two letters for longest name, clear that
2021-11-03 23:36:34 +01:00
Gordon Williams
65a79b053a
Bangle.js2: Add Unistroke object, and 'Bangle.stroke' event
2021-11-03 16:54:53 +00:00
Gordon Williams
fc2e2b882b
Fix parser errors in arrow functions ( fix #2067 )
2021-11-03 09:51:21 +00:00
Gordon Williams
9b74041e28
Fix memory leak when rejecting pre-resolved promise (test_promise11.js)
2021-11-03 09:31:14 +00:00
Gordon Williams
2002ab6519
fixing tests that weren't quite right
2021-11-03 09:27:57 +00:00
Gordon Williams
baaabb809c
Fix break scoping error in nested for loops ( fix #2084 )
2021-11-03 09:12:21 +00:00
Gordon Williams
7ad0e74290
Fix issue where pretokenised '1 - - 1' would turn to '1--1' ( fix #2086 )
2021-11-03 09:02:28 +00:00
Gordon Williams
de5b7cc3c1
Merge branch 'master' of github.com:espruino/Espruino
2021-11-02 15:33:31 +00:00
Gordon Williams
bba418a9cb
Set default colors using RGB888 which is easier to read. Bangle 2 bg2 is now light blue
2021-11-02 15:17:41 +00:00
Gordon Williams
69db88b68c
Merge pull request #2085 from rigrig/menu-wrap
...
E_showMenu improvements
2021-11-02 08:21:57 +00:00
Richard de Boer
0f1476cede
E_showMenu improvements
...
- remove unused variable
- remove unused parameter from `select()`
- shave a few bytes off `move()`
If a numerical item has `item.wrap` we no longer check if `item.min/max` is set,
because your menu will be broken either way.
2021-11-01 19:43:26 +01:00
Gordon Williams
1254e14fbd
When compacting, don't erase right to end of flash - only to end of last allocated data
2021-11-01 10:45:18 +00:00
Gordon Williams
e165d3ea9e
Merge branch 'master' of github.com:espruino/Espruino
2021-11-01 10:09:59 +00:00
Gordon Williams
f77139a519
Storage: Fix issue where compacting empty storage could cause out of bounds erase ( fix #2081 )
2021-11-01 10:09:26 +00:00
Gordon Williams
13e1bc42a5
Merge pull request #2083 from rigrig/menu-wrap
...
Bangle.js: add `wrap` option for numerical E.showMenu items
2021-11-01 08:46:18 +00:00
Richard de Boer
a27ce44b01
Bangle.js: add wrap option for numerical E.showMenu items
...
Same as EspruinoDocs `graphical_menu.js`
2021-10-29 18:11:32 +02:00
Gordon Williams
e986e41c05
update included apps and add more placeholder emulated functions
2021-10-29 10:43:21 +01:00
Gordon Williams
f73b9ed47f
Avoid Watchdog reboot during compact if compacting a lot of data ( fix #2075 )
2021-10-29 09:58:15 +01:00
Gordon Williams
6f2ba00d54
Bangle.js2: Adjust full battery voltage
2021-10-29 09:57:06 +01:00
Gordon Williams
45a32d42b0
Merge branch 'master' of github.com:espruino/Espruino
2021-10-29 08:21:37 +01:00
Gordon Williams
c8d566b133
updated default firmwares
2021-10-29 08:21:28 +01:00
Gordon Williams
cb7c877b18
Merge pull request #2079 from fanoush/f-fix-drive-findfile
...
allow jsfFindFile to find existing file with C: drive prefix
2021-10-28 15:26:23 +01:00
fanoush
e17145979b
allow jsfFindFile to find existing file with C: drive prefix
...
this also fixes uploading from webide to file named C:file when file has multiple segments (= write is called multiple times with prefixed name)
2021-10-28 15:08:29 +02:00
Gordon Williams
988f824f41
docs
2021-10-28 09:15:00 +01:00
Gordon Williams
58685d4884
Bangle.js2: Bangle.dragHandler is now cleared by setUI ( fix #2078 )
2021-10-28 09:14:46 +01:00
Gordon Williams
2254607d8b
Bangle.js: Add Bangle.setOptions({hrmPollInterval:...});
2021-10-27 12:19:25 +01:00
Gordon Williams
91864f5ec5
updated bangle.js default apps
2021-10-27 10:38:18 +01:00
Gordon Williams
d0ebf5e6fe
update minified locale
2021-10-27 10:38:02 +01:00
Gordon Williams
35e46ef6a1
Bangle.js: Add Bangle.appRect to allow apps to see how much space is available for them
2021-10-27 10:14:33 +01:00
Gordon Williams
05435fca26
Graphics: drawRect,fillRect,clearRect are now able to take an object as the first argument
2021-10-27 09:52:49 +01:00
Gordon Williams
ab92dc8f4f
50% battery for emulator
2021-10-26 14:50:11 +01:00
Gordon Williams
19bddf3cf7
Fix string formatting for "Field or method X does not already exist" error
2021-10-26 10:30:28 +01:00
Gordon Williams
c05ef9a741
ensure messages appear immediately
2021-10-26 10:22:21 +01:00
Gordon Williams
12bc1e31bc
Ensure B2 emulator includes the right font
2021-10-26 10:03:51 +01:00
Gordon Williams
3814bedff6
Bangle.js: Fix issue where minified E.showMenu was creating a global var called 'c'
2021-10-26 10:03:34 +01:00
Gordon Williams
c118a9f89e
Bangle.js2: Fix 'stuck' bottom row of pixels if scrolling downwards with g.scroll(0,1)
2021-10-26 09:21:06 +01:00
Gordon Williams
aac0055755
While and for loop conditions now use Expression, not AssignmentExpression (eg. while(0,0) is fine) ( fix #2068 )
2021-10-26 08:47:05 +01:00
Gordon Williams
3c44574ebc
Fix emscripten build
2021-10-25 17:01:52 +01:00
Gordon Williams
8ae6fe20d9
New Bangle.js firmwares
...
Bangle.js: A single widget load failure will now not remove all widgets
Bangle.js: widgets are now sorted by .sortorder
2021-10-25 16:48:12 +01:00
Gordon Williams
3ebb4849fe
Bangle.js: Add Storage.hash for boot0 cache change checking
2021-10-25 16:35:05 +01:00
Gordon Williams
89dabe50ff
Fix issue where invalid JSON stopped execution after Storage.readJSON
2021-10-25 15:06:12 +01:00
Gordon Williams
2e45d3a071
Bangle.js: Add E.showScroller for scrollable lists
2021-10-25 15:06:03 +01:00
Gordon Williams
437b6ab551
Merge branch 'master' of github.com:espruino/Espruino
2021-10-25 12:52:46 +01:00
Gordon Williams
03d147ae1f
If executing from storage, work out line numbers and print filename for Errors
...
Bangle.js: Don't store line numbers in functions - no need when execing from flash
2021-10-25 12:52:06 +01:00
Gordon Williams
6c89f7c2c9
Merge pull request #2074 from fanoush/f-saveonflash-gfx-fix
...
fix SAVE_ON_FLASH build
2021-10-25 09:38:52 +01:00