8883 Commits

Author SHA1 Message Date
Anton
378b34d717 Deprecate currency information in locale 2024-03-20 12:20:17 +01: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
Gordon Williams
c3f31b1210 nRF52840: setScan({... phy:"both"}) now means coded+1mbps (ref #2465) 2024-02-23 09:08:48 +00:00
Gordon Williams
76d2b57934 nRF52: Added window/interval arguments to NRF.setScan (default was 100ms) (ref #2465) 2024-02-23 08:59:05 +00:00
Gordon Williams
c6408a371d remove old, non-working, confusing file 2024-02-22 11:02:46 +00:00
Gordon Williams
1a024e26d0 Rename SPI_COUNT/etc to ESPR_SPI_COUNT to avoid conflicts with the nRF52 SDK
fix #2466
2024-02-22 09:47:42 +00:00
Gordon Williams
e17e61b9df Rename STRINGIFY to ESPR_STRINGIFY, remove build warning on nRF52 (fix #2467) 2024-02-22 09:32:43 +00:00
Gordon Williams
022d4f3c9e Remove intermediat build files 2024-02-22 09:31:59 +00:00
Gordon Williams
da6f062798 Bangle.js2: Fix parsing of UTF8 strings containing char codes 0xF5..0xFF (which are not valid UTF8)
https://github.com/espruino/BangleApps/issues/3037
2024-02-20 15:01:39 +00:00
Gordon Williams
eb1de9950a Swap to github-hosted compiler, fix #2455 2024-02-20 12:38:40 +00:00
Gordon Williams
41e3995061 g.wrapString fix issues wrapping long words in UTF8 strings over multiple lines
fix https://github.com/espruino/BangleApps/issues/3037
2024-02-20 12:19:38 +00:00
Gordon Williams
1cffe1b1c3 nRF52: Write flash in 2k blocks (not 4k) as SD 6.1.1 can crash (probably good for earlier SD too) 2024-02-19 16:22:04 +00:00
Gordon Williams
b551c925a1
Merge pull request #2464 from espruino/dependabot/github_actions/actions/upload-artifact-4.3.1
Bump actions/upload-artifact from 4.3.0 to 4.3.1
2024-02-19 09:29:30 +00:00
dependabot[bot]
17f540666b
Bump actions/upload-artifact from 4.3.0 to 4.3.1
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.0 to 4.3.1.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4.3.0...v4.3.1)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-12 01:38:36 +00:00
Gordon Williams
0959f0999a Swapped GCC version from 8.2.1 to 13.2.1 (fix #2455) 2024-02-08 16:57:18 +00:00
Gordon Williams
0db98edbdb typo 2024-02-07 16:50:59 +00:00
Gordon Williams
548f35dec4 Emulator: force stack alignment of 'data' variable when accessing ArrayBuffers (fix #2463) 2024-02-07 11:28:39 +00:00
Gordon Williams
1c52b62fef nRF52: Lower expected BLE XTAL accuracy to 50ppm (can improve BLE stability on some Bangle.js 2) 2024-02-06 10:01:23 +00:00
Gordon Williams
620e0b0a3a Fixing graphics lib compile warnings 2024-02-06 09:30:57 +00:00
Gordon Williams
bf03befee0 Graphics: Ensure floodFill sets modified area correctly
fix https://github.com/espruino/BangleApps/issues/3179
2024-02-06 09:30:57 +00:00