Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/espruino/Espruino

The Espruino JavaScript interpreter - Official Repo
https://github.com/espruino/Espruino

Add NO_BLOCKLY pinfunction, to allow us to hide pins from blockly to make it more user friendly

f322090963674c95cd8cc8038be536e0014b03b4 authored 10 months ago by Gordon Williams <[email protected]>
Set default step rate to 100 steps/sec - so it 'just works' on the 28BJY steppers at low voltage

49b165e0cb6456da60b6f55bdca064fd628a093f authored 10 months ago by Gordon Williams <[email protected]>
refactoring to put more pin info in JOLTJS.py

123354edf07c4c80f08efffec4ae41947e8f5258 authored 10 months ago by Gordon Williams <[email protected]>
Oops

26ebaa94b729cf924c86e8a4a5465a7836e35156 authored 10 months ago by Gordon Williams <[email protected]>
Renaming Jolt.js V to H to allow us to remove virtual pin code

c423494fb566c0a2d53dabadc20b44f24aa0805c authored 10 months ago by Gordon Williams <[email protected]>
update splash text

024e41a435c65318e50a90ed20996bfab1b9ade2 authored 10 months ago by Gordon Williams <[email protected]>
Jolt.js self test improvements

3c712dc5d86959f6039d5cc7d69b0325acb37c67 authored 10 months ago by Gordon Williams <[email protected]>
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

8f18a3002eb9d5b6b3d6c5fc8e35ddbecdf44ebd authored 10 months ago by Gordon Williams <[email protected]>
Merge pull request #2473 from brendena/patch-2

Building EMSCRIPTEN boards on the latest EMCC

e5ffc93c2ca76bfdfc688b1be32ba9306d09cf77 authored 10 months ago by Gordon Williams <[email protected]>
Update jshardware.c

proper comment

3218bccdb516981a13d3621131d612e9081b1759 authored 10 months ago by Brenden Adamczak <[email protected]>
Update jshardware.c

Needed to add a memcpy function else the build would fail

6d8195d29590ada5fd10eb603d44ad86541ff971 authored 10 months ago by Brenden Adamczak <[email protected]>
Update EMSCRIPTEN.make

Changed for the new naming

27acfd652fee953adfbb54620222cb2f5bad3fc9 authored 10 months ago by Brenden Adamczak <[email protected]>
Added 'globalThis' var as it's the ECMAScript version of Node.js's 'global'

6be243d1c5f9350ee98acf92357c1dd79ad89703 authored 10 months ago by Gordon Williams <[email protected]>
now works with parentheses

4c36e5c1f43f26327bb112155007accbde8f879d authored 10 months ago by brenden adamczak <[email protected]>
Tweak to change define name, add docs, and avoid having to re-escape the defines

5ee8eb21559ef01c3d84750d4c8a0955762f2b1f authored 10 months ago by Gordon Williams <[email protected]>
added the defines to the platform file

b0377889ed805bd53d77cc1f34380c1a027264ea authored 10 months ago by brenden adamczak <[email protected]>
there was a problem with the null terminator in the bangle watch

889258a09791fac3ecb837a497967b3e513c1f81 authored 10 months ago by brenden adamczak <[email protected]>
nRF52840: setScan({... phy:"both"}) now means coded+1mbps (ref #2465)

c3f31b1210b91a835d458acbd3f7f4aef4b99965 authored 10 months ago by Gordon Williams <[email protected]>
nRF52: Added window/interval arguments to NRF.setScan (default was 100ms) (ref #2465)

76d2b5793474571169c4d1caf64292c2cb35e569 authored 10 months ago by Gordon Williams <[email protected]>
remove old, non-working, confusing file

c6408a371d7584fa7e67f676fced2db85583cbc7 authored 10 months ago by Gordon Williams <[email protected]>
Rename SPI_COUNT/etc to ESPR_SPI_COUNT to avoid conflicts with the nRF52 SDK

fix #2466

1a024e26d0127d6db23b2b9b426e8ea702851ba6 authored 10 months ago by Gordon Williams <[email protected]>
Rename STRINGIFY to ESPR_STRINGIFY, remove build warning on nRF52 (fix #2467)

e17e61b9df47e6faec4fc92fc7eb32b40b49049c authored 10 months ago by Gordon Williams <[email protected]>
Remove intermediat build files

022d4f3c9e37cc0f303ce56360ff069dcd3dea90 authored 10 months ago by Gordon Williams <[email protected]>
Bangle.js2: Fix parsing of UTF8 strings containing char codes 0xF5..0xFF (which are not valid UTF8)

https://github.com/espruino/BangleApps/issues/3037

da6f062798f1e81f410d31b5e0f38ba656821939 authored 10 months ago by Gordon Williams <[email protected]>
Swap to github-hosted compiler, fix #2455

eb1de9950aa0c88911eb6cab107b05c190c8dcde authored 10 months ago by Gordon Williams <[email protected]>
g.wrapString fix issues wrapping long words in UTF8 strings over multiple lines

fix https://github.com/espruino/BangleApps/issues/3037

41e3995061c52fa4ba9d64be0f3f540f51715100 authored 10 months ago by Gordon Williams <[email protected]>
nRF52: Write flash in 2k blocks (not 4k) as SD 6.1.1 can crash (probably good for earlier SD too)

1cffe1b1c3fc42e7f447d6de86156f8a19d08d87 authored 10 months ago by Gordon Williams <[email protected]>
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

b551c925a11d4bdce5ebaef80c7ab5792b976190 authored 10 months ago by Gordon Williams <[email protected]>
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....

17f540666bef0abede740ca98e080595ae074cfb authored 10 months ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Swapped GCC version from 8.2.1 to 13.2.1 (fix #2455)

0959f0999accb9f212a2605360c6a9ad25762bfa authored 11 months ago by Gordon Williams <[email protected]>
typo

0db98edbdbd1526234b8dcaabe76a64b39083933 authored 11 months ago by Gordon Williams <[email protected]>
Emulator: force stack alignment of 'data' variable when accessing ArrayBuffers (fix #2463)

548f35dec42ee68366580c66161d63a29fc67e1b authored 11 months ago by Gordon Williams <[email protected]>
nRF52: Lower expected BLE XTAL accuracy to 50ppm (can improve BLE stability on some Bangle.js 2)

1c52b62fef56cd5e75b98e9a8bd10cefc0b76d7d authored 11 months ago by Gordon Williams <[email protected]>
Fixing graphics lib compile warnings

620e0b0a3a4a5803f6385a13aa942b8ccd9d52ba authored 11 months ago by Gordon Williams <[email protected]>
2v21 release

2a161aade52e4412d6b5090d3da30147121cd275 authored 11 months ago by Gordon Williams <[email protected]>
STM32LL build fix

d0d586c550826ac825ab4a21eb1404170b2d1a62 authored 11 months ago by Gordon Williams <[email protected]>
Graphics: Ensure floodFill sets modified area correctly

fix https://github.com/espruino/BangleApps/issues/3179

bf03befee0b3ed41eea70899cc0efeee6e0ee7b2 authored 11 months ago by Gordon Williams <[email protected]>
Fix ST bootloader build

298ebaf89e72deaa4659cdd92f83565d1fbd9bc4 authored 11 months ago by Gordon Williams <[email protected]>
small script tweaks

5b51f3480b07dc3a8825900afc1d4fc187777096 authored 11 months ago by Gordon Williams <[email protected]>
Move commonly used sequences of function calls into functions (eg jsvRemoveChild,jsvUnLock -> jsvRemoveChildAndUnLock) - saves ~200b

1341bceb21cc221f38112b308b75aaef83a7eb70 authored 11 months ago by Gordon Williams <[email protected]>
Minor docs tweak

9b748d10cff358744d4c645568dea87e5b4ce6e1 authored 11 months ago by Gordon Williams <[email protected]>
STM32: (Original/Pico/WiFi) if USB connected but PC not receiving data, throw away USB data rather than blocking (fix #2446)

d217500f45277ddcb7631d46c02d9bfdb4bb17ca authored 11 months ago by Gordon Williams <[email protected]>
Fix potential for crash after ReferenceError during function declaration (fix #2457)

This time do it without breaking everything

38140580733240aa0e63b99b87aef75fefe4ef5b authored 11 months ago by Gordon Williams <[email protected]>
Revert "Fix potential for crash after ReferenceError during function declaration (fix #2457)"

This reverts commit 5fee08ff28ae5e9b14b199a7849200cf9d7c9398.

856a5f677235a654e2a8f390ad82ce82b56f294e authored 11 months ago by Gordon Williams <[email protected]>
Added GCC version check in provision script (prep for #2455)

08040d1cccddc10a52decea9416f88dd9648b18b authored 11 months ago by Gordon Williams <[email protected]>
Add -flto=auto as per https://github.com/espruino/Espruino/issues/2455#issuecomment-1912688952 - doesn't change firmware on current 8.2.1 compiler - should work faster with 13.2.1

86f72ae182634caa72038cd8e7406ff92f717db4 authored 11 months ago by Gordon Williams <[email protected]>
Fix potential for crash after ReferenceError during function declaration (fix #2457)

5fee08ff28ae5e9b14b199a7849200cf9d7c9398 authored 11 months ago by Gordon Williams <[email protected]>
Fix g.wrapString lockup if wrap width is less than the character width

372d4afa4a9da3ad61ddc15ca32a149d5c4da40a authored 11 months ago by Gordon Williams <[email protected]>
Fix lock leak when using flat/flash/native strings as object indices

99e03e2d8e0cb2fe066dc9b4cbf82454e095a1df authored 11 months ago by Gordon Williams <[email protected]>
remove out of date travis badge

1918b8c55d4e0219a0bd1c971633e9d015fa479e authored 11 months ago by Gordon Williams <[email protected]>
building notes

8c2d72a37f43717143cfff9ddd0aadb193ea2832 authored 11 months ago by Gordon Williams <[email protected]>
Update storage using pretokenised strings

bd78d49e3f59d512c62ad4adb3afb2afb674b6ec authored 11 months ago by Gordon Williams <[email protected]>
Fix issue with g.wrapString when running on flash-based strings

7f739d754674db712e1d724aca275f1f75ebe82f authored 11 months ago by Gordon Williams <[email protected]>
docs for #2459

ff85199029ae379e6150fdc4f4bd52ffc260377a authored 11 months ago by Gordon Williams <[email protected]>
Merge pull request #2459 from deirdreobyrne/date_limit

Bugfix for #2456 (PR #2230) - Date library bug fixes

fcd68f62172dee8086fe159b3af0fa1528f3a6fe authored 11 months ago by Gordon Williams <[email protected]>
Add jsvGet...Child functions to replace common call patterns - saves 280 bytes on Pico

812adddcc666611bb31db4efcdae76dc6e0e8461 authored 11 months ago by Gordon Williams <[email protected]>
fix slightly broken code in ESP32 port

6e2b1cdb4167df0f729926ef7ae268b3e314ee10 authored 11 months ago by Gordon Williams <[email protected]>
Optimise pretokenised Strings so we load very short strings direct to RAM

2fa86d7883bb63d49f335dc0631cb7da9e089364 authored 11 months ago by Gordon Williams <[email protected]>
Add jsvNewFromStringVarComplete, save 30 bytes even on microbit builds

eee759ee0c121db8507e49f176e15ebd044c7a87 authored 11 months ago by Gordon Williams <[email protected]>
Fix issue using Flat/Flash/Native Strings to create fields in objects

c2f6ac649ec3faca12ebb682270125937f2cbbe9 authored 11 months ago by Gordon Williams <[email protected]>
E.memoryArea(0, ...) now returns `undefined`

191f643edf3393a9a0b3609e26ea3f55566a507e authored 11 months ago by Gordon Williams <[email protected]>
Saving even more bytes

38a5b0cdb23cfb43b2265cb2252232d40ace36a1 authored 11 months ago by Deirdre O Byrne <[email protected]>
Saving a few bytes of memory by pushing the integer divide into a function

307238c0cf94731558a97725e57386b44425b9dd authored 11 months ago by Deirdre O Byrne <[email protected]>
Fix printing of tokenised 'raw strings' in stack traces

7bccbec8ed231e0c65006225f30045c481deeaa0 authored 11 months ago by Gordon Williams <[email protected]>
Fixed Date test; cleaned up Date() library range; checking to see if Pico now uses more or less memory.

fcaadd83528e3995bf9afe5992bff2e442d0435c authored 11 months ago by Deirdre O Byrne <[email protected]>
switch math_abs to using fabs, saves a few bytes and fabs is used elsewhere

f05ec973b2479bd80e9966d189f3f9931e1d0f4b authored 11 months ago by Gordon Williams <[email protected]>
Missing { in the PICO_R1_3 code

a2552d643373bcfd8558391527c2a0e3c69269b4 authored 11 months ago by Deirdre O Byrne <[email protected]>
Further restrictting the Date() range for the PICO_R1_3

b9b88a2298a713862ad249151c00078197b47eea authored 11 months ago by Deirdre O Byrne <[email protected]>
Adding in the test case sent in a private email by Gordon

42000b31ae80be4edd8e4758e8d6c83db8a9f569 authored 11 months ago by Deirdre O Byrne <[email protected]>
Remove 65535-char max native string length restriction introduced in 2v20 on devices that could support more like Bangle.js 2

Introduced in https://github.com/espruino/Espruino/commit/e893f3f56061aafa60d66b259c53bd9d83b4cff...

f58c541aacb8dd50041b83318e9892c407c540dc authored 11 months ago by Gordon Williams <[email protected]>
Bangle.js2: In flash bootloader, don't store flash write code in RAM (no need) (fix #2458)

1a0b38e63d4e3e258f55a467be6f9bc546bcf071 authored 11 months ago by Gordon Williams <[email protected]>
Support for 8 or 16 bit raw strings (makes storage of most strings more compact)

bb241ae8d6431f99540d997f4c75bef3632f1ce1 authored 11 months ago by Gordon Williams <[email protected]>
Bangle.js: Fix out of bounds coordinates in LCD code that caused screen corruption on newer GCC builds (#2455)

7b7a6c5a6b2270403948fdfd6232658568b67fd5 authored 11 months ago by Gordon Williams <[email protected]>
Merge pull request #2460 from espruino/dependabot/github_actions/actions/upload-artifact-4.3.0

Bump actions/upload-artifact from 4.2.0 to 4.3.0

d230c39cd360cca0fee7f3ef5c8cef601cc127b1 authored 11 months ago by Gordon Williams <[email protected]>
Bump actions/upload-artifact from 4.2.0 to 4.3.0

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.2.0 to 4.3.0....

2e926b124c20a7f4421a62402930cfde39519847 authored 11 months ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Cleanup from old attempt to fix the bug

ec3ba5f2ce3210a9aa4917e39fe2f23ce8bb539a authored 11 months ago by Deirdre O Byrne <[email protected]>
Correction to the date limit

8a352849ac120d84aa215c52a7c85c48ac09995b authored 11 months ago by Deirdre O Byrne <[email protected]>
Trying to reduce memory usage

68e1207617486af9676bf853a9a72d8773f2c570 authored 11 months ago by Deirdre O Byrne <[email protected]>
Speling fix

a24ef40dd28cfc77e586da745606055d7a6345ba authored 11 months ago by Deirdre O Byrne <[email protected]>
Bugfix for #2456. Integer division rounds towards zero instead of down. Also need to limit the scope of the calendar to avoid overflows and maybe other nastiness.

131b91a86e916724a9161c83c6f545a86dee5a3a authored 11 months ago by Deirdre O Byrne <[email protected]>
Fixing the integer divide rounds towards zero problem instetad. Hopefully this will compile on all platforms.

9801c12edbc38173f3093f706036a2a432feaca2 authored 11 months ago by Deirdre O Byrne <[email protected]>
Limiting date library to 1601, and making sure it doesn't have a Y2K38 problem.

7c6e1131653d055ed619e8d61bb057e3bc0183ae authored 11 months ago by Deirdre O Byrne <[email protected]>
Pull out pretokenisation on SAVE_ON_FLASH boards (pretokenised code can be executed, it's just not tokenised in Espruino - saves 1kb)

f80bc1b925d7caca9e621732ee5055a141b79839 authored 11 months ago by Gordon Williams <[email protected]>
Add automatic decoding and pretokenisation of 'atob(".....")' strings

aec666e0e99fbed7252be54f1d5e2ff88eb443da authored 11 months ago by Gordon Williams <[email protected]>
refactor jslNewTokenisedStringFromLexer to reduce duplication (may not be faster but is much easier to maintain)

aa18cfc21913393c85be196da0bec4a82d1d3db8 authored 11 months ago by Gordon Williams <[email protected]>
Allow pretokenisation to store raw, unencoded Strings for speed/efficiency

06adb4e9a82aa9cf881649d8443066c169f89bac authored 11 months ago by Gordon Williams <[email protected]>
fix build warning, if jswrap_i2c_readReg called on an undefined parent it could return an undefined value

e3736acebadcff363afc37788c86266b703d9153 authored 11 months ago by Gordon Williams <[email protected]>
Fix issue requesting constructor of builtin before the class itself has been accessed (fix #2451)

ddd7ad7eb31d4fa1d179dfa459304724366b6248 authored 11 months ago by Gordon Williams <[email protected]>
Add built-in Stepper motor handling with the `Stepper` class (if enabled in build)

173dc294ffaf672e4afddb35cdbd074096b97c5a authored 11 months ago by Gordon Williams <[email protected]>
Fix build

6e08a64e56bbf12a7796c5fad61db9496582b49d authored 11 months ago by Gordon Williams <[email protected]>
Allow E.nativeCall to take 32 bit floats (eg for Inline C)

916cfd5efc051a04a05b503dd877fbad45312c96 authored 11 months ago by Gordon Williams <[email protected]>
Merge pull request #2453 from espruino/dependabot/github_actions/actions/upload-artifact-4.2.0

Bump actions/upload-artifact from 4.1.0 to 4.2.0

0d63f715232aed5af023b6a3d129faa699c74770 authored 11 months ago by Gordon Williams <[email protected]>
Bump actions/upload-artifact from 4.1.0 to 4.2.0

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.1.0 to 4.2.0....

8216ae1076a36f0ecc66d838c65cbdd2a70a63f6 authored 11 months ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
fix build with un-committed file

255dbb036942c59c2e937d3c80c206d88586be79 authored 11 months ago by Gordon Williams <[email protected]>
Add 'lcdBufferPtr' to Bangle.getOptions

e0ed6eb68b672ddc1ce092dfc7096c4697b4382b authored 11 months ago by Gordon Williams <[email protected]>
Merge branch 'd3nd3-barofix'

aeeeef351e57532dee20f8f4be090fdfe0b56f9d authored 11 months ago by Gordon Williams <[email protected]>
Remove timeouts from getPressure implementation, also ensure peripheralPollHandler

won't try and access barometer while we're initialising

Full info:

https://github.com/espruino/...

fd01a1e87561ec51392ee6d662f422b2786c14b0 authored 11 months ago by Gordon Williams <[email protected]>
Bump actions/upload-artifact from 4.0.0 to 4.1.0

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.0.0 to 4.1.0....

eb04ee9c0ed8ea8640a081b5aa1e832cd70edcbd authored 11 months ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Throw Exception when a Promise tries to resolve with another Promise (#2450)

f051f84a73ca97fa7c603fc96a60b470dfb9c59c authored 11 months ago by Gordon Williams <[email protected]>
Moved jolt.js analogs

5d6fe481e8ec821067b93a5d6366861190a57be2 authored 11 months ago by Gordon Williams <[email protected]>