8901 Commits

Author SHA1 Message Date
Gordon Williams
5e5e9f716a Graphics: Fix wrapString when attempting to wrap text containing an image that's too large for the wrappable area (fix #2481) 2024-04-02 09:19:27 +01:00
Gordon Williams
bbd32bcdf3 Bangle.js2: Add Bangle.setOptions({lcdDoubleRefresh:true}) to pulse EXTCOMIN for LCD twice, avoiding contrast 'toggle' effect when viewing LCD off axis 2024-03-28 10:34:41 +00:00
Gordon Williams
232d826644 fix duplicate "Writing initial storage contents" line 2024-03-25 20:10:34 +00:00
Gordon Williams
f53d45d897 Updated default storage 2024-03-25 20:09:57 +00:00
Gordon Williams
2569b6e670 tweak some 6x15 chars 2024-03-25 16:24:47 +00:00
Gordon Williams
aabbcd11a0 Bangle.js2: Fix 'UNFINISHED STRING' error if non-UTF8 char within UTF8 start char range is at end of string 2024-03-25 15:22:22 +00:00
Gordon Williams
5f9a488914 Bangle.js: 6x15 font tweaks for ISO8859-1 2024-03-25 13:55:24 +00:00
Gordon Williams
a79e995ac1 fix typo - https://github.com/espruino/EspruinoTools/issues/175#issuecomment-2017605900 2024-03-25 10:49:35 +00:00
Gordon Williams
62546cca3a Merge branch 'atjn-deprecate-currency' 2024-03-22 09:09:37 +00:00
Gordon Williams
03a0c06c3e Merge branch 'master' into atjn-deprecate-currency
# Conflicts:
#	ChangeLog
#	libs/js/banglejs/locale.min.js
2024-03-22 09:09:22 +00:00
Gordon Williams
550f7f84d0 Puck.js/Jolt.js: ensure self-test keeps re-running at boot unless it has passed 2024-03-22 09:08:04 +00:00
Gordon Williams
34c8cb268e Bangle.js: Locale currency deprecated, 'number' updated to BangleApps version with thousands separator, date now doesn't sometimes have trailing spaces 2024-03-22 09:02:59 +00:00
Gordon Williams
ca4a4b3f24 Puck.js/Jolt.js: ensure self-test keeps re-running at boot unless it has passed 2024-03-22 08:58:45 +00:00
Gordon Williams
d5ee0971ee Disable VDDH check for nRF52833/40 boards unless explicitly enabled 2024-03-22 08:58:45 +00:00
Gordon Williams
bf9df3c4ec
Merge pull request #2477 from thyttan/locale-trim-date
locale: fix trailing space on date < 10
2024-03-22 08:52:42 +00:00
thyttan
fbef914604 locale: fix trailing space on date < 10
The trailing whitespace would make the date string look uncentered on
e.g. `antonclk` clock app on Bangle.js.

Possibly similar change should be made to the `locale` library of
espruino/BangleApps - but I'm not sure.
2024-03-21 20:23:37 +01:00
Anton
e5fbdaa9bb Revert changes to currencySym 2024-03-20 13:54:58 +01:00
Anton
378b34d717 Deprecate currency information in locale 2024-03-20 12:20:17 +01:00
Gordon Williams
55fbab3847 Disable VDDH check for nRF52833/40 boards unless explicitly enabled 2024-03-19 09:35:18 +00:00
Gordon Williams
805c317d67 Ensure require("Storage").writeJSON("test.json", new Date()) writes Date.toISOString() as in JSON.stringify and 2v19+earlier
E.toJSON now uses `.toJSON` function if available on object
2024-03-18 11:51:06 +00:00
Gordon Williams
0115583ce5 Jolt.js board view 2024-03-15 17:02:02 +00:00
Gordon Williams
53d807277d Graphics: font metrics for PBF now account for scale, setFontPBF takes a scale argument, 'PBF' no longer appears in getFonts 2024-03-15 16:22:53 +00:00
Gordon Williams
e5e9e1b2a0 More changes to font converter after upstream lib changed 2024-03-15 16:22:32 +00:00
Gordon Williams
0a06fbe62b Moved font converter code over to https://github.com/espruino/EspruinoWebTools 2024-03-15 08:28:46 +00:00
Gordon Williams
3627000dd9 fontconverter refactoring to start to let us output different glyph ranges 2024-03-14 17:30:17 +00:00
Gordon Williams
29a243226e fix accidental build issues 2024-03-14 14:28:44 +00:00
Gordon Williams
3138205d09 Minor tweaks to remove a few compile warnings 2024-03-14 14:10:56 +00:00
Gordon Williams
962560d338 For built-in symbols, pack string offset inside function pointer, saving 2 bytes/symbol if ESPR_PACKED_SYMPTR set (fix #2405) 2024-03-14 13:55:37 +00:00
Gordon Williams
2a23c86873 fix last commit message
Throw error if there's an attempt to use Tagged Templates (fix #2475)
2024-03-13 13:52:13 +00:00
Gordon Williams
af15bdcae6 Throw error if there's an attempt to use Tagged Templates (fix #3214) 2024-03-13 13:49:45 +00:00
Gordon Williams
320477278e font converter defaults to generate big PBF 2024-03-13 10:43:32 +00:00
Gordon Williams
9265e918d0 small jolt.js tweaks 2024-03-13 10:43:08 +00:00
Gordon Williams
39f7f1a556 docs tweak 2024-03-13 10:42:52 +00:00
Gordon Williams
f322090963 Add NO_BLOCKLY pinfunction, to allow us to hide pins from blockly to make it more user friendly 2024-03-08 15:20:38 +00:00
Gordon Williams
49b165e0cb Set default step rate to 100 steps/sec - so it 'just works' on the 28BJY steppers at low voltage 2024-03-07 14:56:46 +00:00
Gordon Williams
123354edf0 refactoring to put more pin info in JOLTJS.py 2024-03-07 14:56:07 +00:00
Gordon Williams
26ebaa94b7 Oops 2024-03-06 16:49:13 +00:00
Gordon Williams
c423494fb5 Renaming Jolt.js V to H to allow us to remove virtual pin code 2024-03-06 16:32:46 +00:00
Gordon Williams
024e41a435 update splash text 2024-03-06 13:35:21 +00:00
Gordon Williams
3c712dc5d8 Jolt.js self test improvements 2024-03-04 15:52:21 +00:00
Gordon Williams
8f18a3002e Bangle.js: Bangle.setUI's back widget now uses stopEventPropagation to stop other touch handlers getting called
https://github.com/espruino/BangleApps/pull/3233#issuecomment-1975384171
2024-03-04 11:15:57 +00:00
Gordon Williams
e5ffc93c2c
Merge pull request #2473 from brendena/patch-2
Building EMSCRIPTEN boards on the latest EMCC
2024-03-01 14:12:36 +00:00
Brenden Adamczak
3218bccdb5
Update jshardware.c
proper comment
2024-03-01 04:33:42 -05:00
Brenden Adamczak
6d8195d295
Update jshardware.c
Needed to add a memcpy function else the build would fail
2024-03-01 04:24:56 -05:00
Brenden Adamczak
27acfd652f
Update EMSCRIPTEN.make
Changed for the new naming
2024-03-01 04:20:10 -05:00
Gordon Williams
6be243d1c5 Added 'globalThis' var as it's the ECMAScript version of Node.js's 'global' 2024-02-28 08:59:42 +00:00
Gordon Williams
5ee8eb2155 Tweak to change define name, add docs, and avoid having to re-escape the defines 2024-02-23 09:31:02 +00:00
brenden adamczak
889258a097 there was a problem with the null terminator in the bangle watch 2024-02-23 09:31:02 +00:00
brenden adamczak
4c36e5c1f4 now works with parentheses 2024-02-23 09:31:02 +00:00
brenden adamczak
b0377889ed added the defines to the platform file 2024-02-23 09:31:02 +00:00