7678 Commits

Author SHA1 Message Date
storm64
2c062b9bf8 Update E_showMenu_Q3(.min).js
Add ".noScroller" property to prevent the scroller to bedisplayed and instead use the simple box.
2022-04-28 12:44:45 +02:00
storm64
ad6811a6ae
Update ChangeLog
Adding ChangeLog entry for #2182
2022-04-28 00:19:45 +02:00
storm64
2f2bd8a828
Update ChangeLog 2022-04-28 00:15:08 +02:00
storm64
d0d4936431
Update E_showMenu_Q3.min.js
Prevent using E.showScroller() on wraping items, according to E_showMenu_Q3.js.
2022-04-28 00:09:20 +02:00
storm64
7312859c48
Update E_showMenu_Q3.js
Prevent using E.showScroller() on wraping items.
This adds the option to control if the scroller or the simple box should be displayed.
In my opinion there is no need for a separate property, because the item.wrap property is not used inside E.showScroller().
2022-04-28 00:02:32 +02:00
Gordon Williams
de6c3f63e3 Bangle.js1: E.showMenu now displays boolean values with no format as a checkbox 2022-04-26 10:43:57 +01:00
Gordon Williams
8d763e7a6e oops 2022-04-22 11:51:26 +01:00
Gordon Williams
aa6009b0d1 Bangle.js2: Allow variable HRM poll rates on Bangle.js 2 VC31B variant
Bangle.js2: VC31 HRM variant now polls at 25hz (not 50)
2022-04-22 11:35:33 +01:00
Gordon Williams
e3bd639c03 Bangle.js2: Fix wear detection on latest Bangle.js 2 (VC31B variant) (fix #2141) 2022-04-22 09:24:10 +01:00
Gordon Williams
14037d7890 Bangle.js2: Fix E.showMenu title changing color after scroll down+up *if* a non-standard theme was used 2022-04-21 16:08:24 +01:00
Gordon Williams
516ae6011c Bangle.js2: Double input buffer size from 1kb to 2kb 2022-04-21 10:34:14 +01:00
Gordon Williams
8cd6487f25 Add 'io_buffer_size' option to board.info to allow per-device IO buffer size, and increase index bits to allow >256 entries
# Conflicts:
#	boards/DICKENS.py
#	boards/DICKENS2.py
#	boards/DICKENS2R.py
2022-04-21 10:31:50 +01:00
Gordon Williams
8de5cf1957 Merge branch 'master' of github.com:espruino/Espruino
# Conflicts:
#	libs/js/banglejs/E_showMenu_Q3.min.js
2022-04-20 15:32:08 +01:00
Gordon Williams
f2e9e4e792 Bangle.js2: Fix issue with E.showMenu creating a global s variable 2022-04-20 15:30:44 +01:00
Gordon Williams
bcb18fad4f
Merge pull request #2182 from storm64/master
[E_showMenu_Q3] Recheck string wrapping after font change
2022-04-20 07:57:52 +01:00
storm64
7b2c745f77
Update E_showMenu_Q3.min.js
Needed to recreate minification due to a replacement of the key name:
```
a=g.wrapString(m[a],b.w-h);1<a.length&&(g.setFont("6x15"),a=g.wrapString(__m[a]__,b.w-h));
```
The last `m[a]` has no matching element anymore.
2022-04-20 00:52:37 +02:00
storm64
ec09eeedd1
Update E_showMenu_Q3.min.js
Corrected shortened variable name.
2022-04-20 00:36:15 +02:00
storm64
edb0bb3680
Update E_showMenu_Q3.min.js
Recheck string wrapping after font change.
2022-04-20 00:31:32 +02:00
storm64
2854fc15b3
Update E_showMenu_Q3.js
Recheck string wrapping after font change.
2022-04-20 00:23:00 +02:00
Gordon Williams
b01e9d814a fix build after https://github.com/espruino/Espruino/pull/2180 2022-04-19 15:09:44 +01:00
Gordon Williams
ffaeeb33d0 Merge branch 'master' of github.com:espruino/Espruino 2022-04-19 15:04:41 +01:00
Gordon Williams
4e4cdda1a4
Merge pull request #2180 from BartS23/swipe
BANGLE: document up/down swipe
2022-04-19 14:31:13 +01:00
BartS23
1ace43eb16 Parameter 2 specified. 2022-04-10 11:44:08 +02:00
BartS23
f5c875364a Add missing "code"-close 2022-04-10 11:34:43 +02:00
BartS23
7b038d6ba0 document up/down swipe 2022-04-10 11:24:47 +02:00
Gordon Williams
e69c9990f2 2v13 release RELEASE_2V13 2022-04-06 16:13:36 +01:00
Gordon Williams
91d9f73939 new default firmware 2022-04-06 15:55:50 +01:00
Gordon Williams
6cb4048584 Bangle.js2: Unistroke recognition accuracy improvements 2022-04-05 16:48:12 +01:00
Gordon Williams
a4e765fc92 Ensure JSON.stringify([undefined])=="[null]" as per the spec 2022-04-05 11:09:33 +01:00
Gordon Williams
295d5964ef nRF5x: Allow NRF.setAdvertising to set advertised service UUIDs (vs service data) easily with NRF.setAdvertising({'180D':undefined}) 2022-04-05 10:43:47 +01:00
Gordon Williams
e0dc690293 nRF5x: Fix merging of packers for NRF.findDevice - previously name fields in subsequent packets may have been left as 'undefined'
nRF5x: NRF.findDevice now aggregates multiple packets even if only one packet matches the filter (fix #2178)
2022-04-05 10:05:21 +01:00
Gordon Williams
d147a415c2 Revert "Graphics: drawString/stringWidth/wrapString can now accept '\b' to go back one character and allow character composition - eg 'C\b/'"
This reverts commit d71dab3e20ea15c5ae55570eb6d5b3cdf1b831d9.
2022-04-04 14:08:06 +01:00
Gordon Williams
4051d29c62 Merge branch 'master' of github.com:espruino/Espruino 2022-04-04 14:00:24 +01:00
Gordon Williams
63049d3342 example in docs 2022-04-04 13:54:04 +01:00
Gordon Williams
c4fafbcd5f fillrect with corners test 2022-04-04 13:51:28 +01:00
Gordon Williams
d71dab3e20 Graphics: drawString/stringWidth/wrapString can now accept '\b' to go back one character and allow character composition - eg 'C\b/' 2022-04-04 13:51:07 +01:00
Gordon Williams
a7bb8b7ce1
Merge pull request #2177 from opichals/m1-build
Add support for __arm64__ (e.g. Apple Silicon) build
2022-04-04 10:57:46 +01:00
Gordon Williams
bf2627bec2 Fix regression from v2.12.114 (3cc43cde8c89fd68810a3d34930c79b3cecbbe49) with long variable names 2022-04-04 10:46:55 +01:00
Standa Opichal
a50739f1d5 Add support for __arm64__ (e.g. Apple Silicon) build 2022-04-04 11:29:24 +02:00
Gordon Williams
3cc43cde8c Fix issues accessing object/array fields when the field itself has a null character in it (fix #2176) 2022-03-31 16:57:37 +01:00
Gordon Williams
c8b00c6c3f fix bangle.js 1 build 2022-03-31 11:49:47 +01:00
Gordon Williams
3c7eb8371c fix build issues on some boards, and clip to the active graphics size, not LCD size 2022-03-31 10:07:41 +01:00
Gordon Williams
e031d986c6 Graphics: Restrict setClipRect coordinates (Except on ST7789_8BIT (Bangle.js 1) where we need it for notifications. This stops potential out of bounds writes is setClipRect is wrong. 2022-03-30 17:00:49 +01:00
Gordon Williams
c7f4fa59ef quick tweak to recent locale change 2022-03-30 15:07:30 +01:00
Gordon Williams
95da6d156c Bangle.js: default 'locale' now supports second 'dp' argument for decimal places in distance/speed/temp 2022-03-30 14:51:03 +01:00
Gordon Williams
0e210613ae Bangle.js2 manu system now uses fg2/bg2 (was fg/bg2) 2022-03-29 08:39:41 +01:00
Gordon Williams
1dc4785f36 remove left-over EFM32 stuff 2022-03-24 16:51:34 +00:00
Gordon Williams
1fbdf6a588 Storage: Now put all .js files into internal storage (if 2 storage areas). Fix corruption issue when reading using file with explicit drive letter 2022-03-24 16:50:49 +00:00
Gordon Williams
d05da81112 Fix build for LINUX (where vars can be resized), and ensure jsVarsSize is constant on embedded targets. This should help slightly with code size/execution speed 2022-03-24 09:10:01 +00:00
Gordon Williams
bc4aca2af3 Fix out of bounds jsvGetAddressOf in jsvNewFlatStringOfLength (wasn't a cause of instability) 2022-03-23 16:22:57 +00:00