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

Merge pull request #2422 from bobrippling/getpressure-ts

getPressure: add Promise<> and undefined to types

e4308c23cbefe3592dde055ee45cab0994ae2e89 authored about 1 year ago by Gordon Williams <[email protected]>
getPressure: add Promise<> and undefined to types

448593bca0cb97b8b64b54c13a0e24fbec2ca774 authored about 1 year ago by Rob Pilling <[email protected]>
Change app_config.h to be explicit about peer manager. Ref #2420

0c2f6402925d953ff5fe56f8b1aa81d4997b0952 authored about 1 year ago by Gordon Williams <[email protected]>
update storage docs

f3f765e09888f9daabaa9f71ecb89bb51d8ce7b4 authored about 1 year ago by Gordon Williams <[email protected]>
Merge pull request #2421 from fanoush/f-fix-sdk15-central-count-default

fix CENTRAL_LINK_COUNT default for SDK15

9b626d6208a6b746937b24ac062af83ff3f85821 authored about 1 year ago by Gordon Williams <[email protected]>
fix microbit1 build

set CENTRAL_LINK_COUNT default to 0 for nrf51

6abef837a824a811ded6c7ad015df7bc71c0b030 authored about 1 year ago by fanoush <[email protected]>
fix CENTRAL_LINK_COUNT default for SDK15

there is no nrf51 for SDK15 so it makes sense to have CENTRAL_LINK_COUNT default to be 1

94d673280d53b624fe5dcb44bae81bc14333563e authored about 1 year ago by fanoush <[email protected]>
Only add startbonding when we have peer manager - because that's when we have the implementation that works

62acf92dd9cd718bfb4c1c013f67b0c80fc1a489 authored about 1 year ago by Gordon Williams <[email protected]>
Adjust some ESPR_NO_X defines so that we can define SAVE_ON_FLASH but also ESPR_NO_PROMISES=0 to force promises to be included

d9a56c2977888005a52d5462fd0f06d0cf141f5c authored about 1 year ago by Gordon Williams <[email protected]>
comments/formatting

5be6ef3e341d3404225b3416a8a2387b8bd5288f authored about 1 year ago by Gordon Williams <[email protected]>
typo

1ea3813d54c623d51a21bca66b30314dd1181d43 authored about 1 year ago by Gordon Williams <[email protected]>
update minimal py file for LRCK - and docs

cc40921344a302b452e91d18fb91b8ecdc73857e authored about 1 year ago by Gordon Williams <[email protected]>
JIT: Ensure ternary block skips 'named' variables (and references them correctly)

bb046d23f435770b222d8dd5f9935447969fdd58 authored about 1 year ago by Gordon Williams <[email protected]>
Bangle.js: Fix terminal's repeated call to '.flip' that broke double buffering on Bangle.js 1

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

442c0c78892f0756f74ceb3522a6d70e2c885763 authored about 1 year ago by Gordon Williams <[email protected]>
Add ES9 optional catch binding (`try {} catch {}`)

bed1d37833e9ff1c2d5c27889447d034b6b898ca authored about 1 year ago by Gordon Williams <[email protected]>
Remove createChild argument from jsvFindChildFromString, add jsvFindOrAddChildFromString instead

f6894cd54c0a5ecf4ade5b66722dff572eff08bb authored about 1 year ago by Gordon Williams <[email protected]>
jsvFindChildFromString enhancement - adds 10% performance on minified code

00b05010ad11dc53149523f1e15eae2a7513ca1c authored about 1 year ago by Gordon Williams <[email protected]>
Comments about speed of ResetVariable

313224162ff173725d8f81b23d4e28e223abfe9e authored about 1 year ago by Gordon Williams <[email protected]>
Fix issue using `String.concat` with flash strings (fix #2268)

ffd2ce1e33134c569e17dc64fe957a79a9544fb9 authored about 1 year ago by Gordon Williams <[email protected]>
capitalisation of error message

4f0d396adfabea3860c1cc853b20309ae73adc72 authored about 1 year ago by Gordon Williams <[email protected]>
Avoid adding the single char to the tokenstring when lexing regex (it all goes in a JsVar)

fce0c93f94bf645476d942792b6e7e46f010d85f authored about 1 year ago by Gordon Williams <[email protected]>
fix accidental commit

df01b770d0660456333999536cc2c86cea0c642a authored about 1 year ago by Gordon Williams <[email protected]>
Tidying up error messages - we've now saved 1.5k on Micrbit 1!

744882346cb3f02aae2f758d7da4602b4c08f9ac authored about 1 year ago by Gordon Williams <[email protected]>
Tidying up error messages (no trailing '.' or '\n'), making almost-similar error messages the same

Used the following to try and find issues:

find . -name "*.c" | xargs -I{} grep -h jsExceptionH...

4327ebd34ecb1d4afd16d7c11b0c346c1d5a55d4 authored about 1 year ago by Gordon Williams <[email protected]>
Bangle.js: Change order of items in the Recovery Menu (hold BTN at boot) to put more common options first

bbb6c89ebebd29f0a2b312ee5c19d18d9ab3567b authored about 1 year ago by Gordon Williams <[email protected]>
one more error message

e3505a6f574611ce656bb455624d8734445cc99f authored about 1 year ago by Gordon Williams <[email protected]>
fix non-unicode builds

6d0d2004a5c583c040f773eee2918f0fbc576868 authored about 1 year ago by Gordon Williams <[email protected]>
Fix unicode in object keys when UTF8 support enabled, eg. {'\u00e4':1}

dde4d3a5ca52782fbe7cefacb18d52d9655b485a authored about 1 year ago by Gordon Williams <[email protected]>
Fix jswrap_bangle.c merge error

1019e764b84e2dee8b8a97b3f878c7369565a2a3 authored about 1 year ago by Gordon Williams <[email protected]>
Merging Dickens-specific changes into master

138452fb65cd9560cb6ceb56caeccdaf9d9520a6 authored about 1 year ago by Gordon Williams <[email protected]>
nRF52: bootloader asks for connection interval 7.5->30ms now, not just 15ms. Should improve DFU on iOS 16 which doesn't honour 15ms request

61effcaffd24185de7e11ff55affe3b8cb05b0de authored over 1 year ago by Gordon Williams <[email protected]>
Merge pull request #2418 from GaryOtt/master

ESP32: Regression fix, cannot build without Bluetooth.

0f3111d407be005277e61baa499138f4c74f2e58 authored over 1 year ago by Gordon Williams <[email protected]>
ESP32: Regression fix, cannot build without Bluetooth.

88278bc780b15c963fb30cad686e10bb8a3c34f1 authored over 1 year ago by Gary Ott <[email protected]>
Ensure AssignmentExpr returns the value of LHS, not the LHS. `(a=2)=3` now fails (as per spec)

Ensure default args for arrow functions fail with error `(a,b=3)=>a+b` now fails (unt...

f87a53c60f71b8107262266a544c1ff210c76ec7 authored over 1 year ago by Gordon Williams <[email protected]>
Delete some object files on 'make clean' that we were missing - fix #2336

eccac25814d50e31e613ac682e56ab439eb64575 authored over 1 year ago by Gordon Williams <[email protected]>
Merge pull request #2411 from fanoush/f-microbit1-fix-bss-clear

fix microbit1 compiler flags to clear bss section properly

350b5c3024c528b483844e4873cb2e7025223f6f authored over 1 year ago by Gordon Williams <[email protected]>
Merge pull request #2415 from elima/elima/fix-banglejs-debug-build

Fix BangleJS debug builds failing on bogus assert call

ff595984efb9fa18ac776b3d807fba8a71d6cafb authored over 1 year ago by Gordon Williams <[email protected]>
Fix BangleJS debug builds failing on bogus assert call

An assert with a bogus/outdated condition is failing debug builds for
BangleJS. This patch fixes...

3181bb62ae50ffa6732115e5a6bb7c4881eac908 authored over 1 year ago by Eduardo Lima <[email protected]>
Fix `if (0);"test"||fail()` 2v19 regression - strings after if(0) didn't get interpreted

Ensure eval("1;;;")==1 - eval("1;")==1 before, but not eval("1;;")

We hit this with minification...

1f80e6e69b0435d5d960ac11e9f05c46158c34f6 authored over 1 year ago by Gordon Williams <[email protected]>
fix microbit1 build

e51db236ed51db1f883ed872bcc867cb3f9979c3 authored over 1 year ago by Gordon Williams <[email protected]>
nRF52 SDK15: Fix UART when >1 central link enabled

Bangle.js2: Allow 2 central links at once

a9651ecd37511ebe87c44524aaace2cf9452154c authored over 1 year ago by Gordon Williams <[email protected]>
Bangle.js2: When rendering overlays, *do not* use the current FG/BG color for 1 bit overlays

https://github.com/espruino/BangleApps/issues/3003#issuecomment-1714227292

6baf1a5e61731777e92f645bdede7fc35207cfcd authored over 1 year ago by Gordon Williams <[email protected]>
2v19 release

16b9a34b595e2be83030c8bcd12ab8b1d50a6a1c authored over 1 year ago by Gordon Williams <[email protected]>
Ensure String.charCodeAt returns NaN for out of bounds chars

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

d324e4bd85f640fd09d7b6bd097924464d5149e9 authored over 1 year ago by Gordon Williams <[email protected]>
Merge pull request #2413 from espruino/dependabot/github_actions/actions/upload-artifact-3.1.3

Bump actions/upload-artifact from 3.1.2 to 3.1.3

d8d3844e9d2566a36c20e49b4e8add9fa54b355f authored over 1 year ago by Gordon Williams <[email protected]>
Merge pull request #2412 from espruino/dependabot/github_actions/actions/checkout-4

Bump actions/checkout from 3 to 4

7f6a0ed3b02739d51f0fc573ac405834a013fbbd authored over 1 year ago by Gordon Williams <[email protected]>
Bump actions/upload-artifact from 3.1.2 to 3.1.3

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

2d59b67036a5f81328572cb948fd6e8675068211 authored over 1 year ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bump actions/checkout from 3 to 4

Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](htt...

8af1406561663c324bade865691fb44e87e94830 authored over 1 year ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
fix microbit1 compiler flags to clear bss section properly

- also replace LD_NOSTARTFILES by __START=main

2489f29895255b65cb0af3a2bf02aaa68532829f authored over 1 year ago by fanoush <[email protected]>
docs to fix #2123 - **Note:** Desktop JS engines return an integer value for `Date.now()`, however Espruino

returns a floating point value, accurate to fractions of a millisecond.

8fdca88445d39b8c7df30e3023604a17ba5a53d4 authored over 1 year ago by Gordon Williams <[email protected]>
Add ESPR_NO_BLUETOOTH_MESSAGES to not include text versions of Bluetooth error messages (just the error number)

7f4c7c49efe0a8deb99ab8ba76477072e6b32a63 authored over 1 year ago by Gordon Williams <[email protected]>
Added ESPR_NO_SOFTWARE_SERIAL, disable hardware I2C/SPI and re-enable JIT on Bangle.js 1

Based on https://github.com/espruino/Espruino/commit/da38facc65a8855f70fd4e25024a9276d8d4c8e0#co...

c1826f612d7068ec99f3df38244912ec5127f790 authored over 1 year ago by Gordon Williams <[email protected]>
Updated factory firmware

9b6ea32e04ec97eb446b1aa46f3f91c2f8f283cc authored over 1 year ago by Gordon Williams <[email protected]>
Bangle.js: If screen is rotated, also rotate accelerometer and magnetometer values

Fixes https://github.com/espruino/BangleApps/pull/2999

a4ffbdc7c51d5131604b4743d6e0244e5ccf7180 authored over 1 year ago by Gordon Williams <[email protected]>
Merge pull request #2407 from fanoush/f-nfc-ndef-record-over-254

allow NDEF records with length over 254 bytes

032fbc20083001475136006bfcb9597c9e7dc584 authored over 1 year ago by Gordon Williams <[email protected]>
cleanup - move nfc_raw_data_start

c73ab40ca65ffb6fb4638dfcb17c08eaaa467ba4 authored over 1 year ago by fanoush <[email protected]>
fix non nfc build

365748f825cee2845e81cdf2dafd3e45958b3414 authored over 1 year ago by fanoush <[email protected]>
remove duplicated code from NRF.nfcXXXX methods

- move common code from jswrap_nfc_raw into nfc_raw_data_start and reuse it in all NRF.nfc meth...

f4398ce28cb017798e7dc38c433d02b9baae2fdb authored over 1 year ago by fanoush <[email protected]>
allow NDEF records with length over 254 bytes

- use 3 byte length in NDEF TLV block when over 254 bytes
- store 16bit url payload length
-add ...

126714286cca7bd039a8a5d67536d95c50dabb97 authored over 1 year ago by fanoush <[email protected]>
ARM: Apply -fmerge-all-constants to the build (saves ~1kb)

fmerge-constants appears to be the default, but while it says it will merge strings it doesn't a...

01193e5ebfc0591ec53ec526fa0073be54ebb7d1 authored over 1 year ago by Gordon Williams <[email protected]>
oops

7aa4a4aab61eb28c2ab99d803f51b8adaef8cb7e authored over 1 year ago by Gordon Williams <[email protected]>
Bangle.js 1: remove OneWire and JIT as it uses too much flash space to exist alongside UTF8+Tensorflow on nRF52

da38facc65a8855f70fd4e25024a9276d8d4c8e0 authored over 1 year ago by Gordon Williams <[email protected]>
Update firmware size checker to check for Bangle.js 1 firmware size correctly

f5b54f62be8a796828f1b9e0b4af060196441f47 authored over 1 year ago by Gordon Williams <[email protected]>
comments

b8bad6e01096b2b7951be77dd78a61f7f0eb8cfa authored over 1 year ago by Gordon Williams <[email protected]>
Heatshrink docs, fix #2014

6a83202c513894032408380653bac0b2e6fde3a6 authored over 1 year ago by Gordon Williams <[email protected]>
Allow E.pipe to pipe from Strings, remove pipe's internal `position` counter (fix #2352)

ca68d68df004d2e7b3cb9bfa3794da20bc2472a3 authored over 1 year ago by Gordon Williams <[email protected]>
Merge pull request #2404 from ssievert42/ble_disable_pairing

ble: allow disabling pairing with NRF.setSecurity

681f115447c17eca9e9926f2394c4733a67e17b1 authored over 1 year ago by Gordon Williams <[email protected]>
ble: allow disabling pairing with NRF.setSecurity

0e3d5d2b338b2a4d5311d15392fccac878376fec authored over 1 year ago by Simon Sievert <[email protected]>
Merge pull request #2403 from ssievert42/ble_resolve_address

ble: use peer manager function for iterating over known peers

1e8fedb4f5105ea95f7af61ac85232a094af57b5 authored over 1 year ago by Gordon Williams <[email protected]>
ble: use peer manager function for iterating over known peers

83c5f52e156a8ccf234b109136accf2ca892e328 authored over 1 year ago by Simon Sievert <[email protected]>
nRF5x: Add `NRF.on("passkey", ...)` to allow passkey pairing with `NRF.setSecurity({mitm:1, display:1});`

2c7d11f57516d9991e7ba37b3e1f236a7cdcd6cf authored over 1 year ago by Gordon Williams <[email protected]>
Merge pull request #2400 from ssievert42/ble_resolve_address

ble: add method to resolve random addresses

704daa52147e09a753814c4489c26277f8a685b6 authored over 1 year ago by Gordon Williams <[email protected]>
Update jswrap_bluetooth.c

Add useful example code

ee9117923d1dee0882227144cde1113f1cd33cca authored over 1 year ago by Gordon Williams <[email protected]>
Merge pull request #2399 from ssievert42/ble_security

ble: if mitm is set, reject unauthenticated security procedures

5b569148c7cb0a629b18c076b9cf8fba108c0bd9 authored over 1 year ago by Gordon Williams <[email protected]>
ble: if mitm is set, reject unauthenticated security procedures

Setting mitm also causes the UART to require a connection that is mitm protected.

ea5f55fe007f1ad753985db2bd19a4df55759266 authored over 1 year ago by Simon Sievert <[email protected]>
ble: add method to resolve random addresses

This adds a method NRF.resolveAddress(), that allows resolving a "random private resolvable addr...

f2446ac6f8f75fd2009e5d9635c7153b74ab55e4 authored over 1 year ago by Simon Sievert <[email protected]>
Bangle.js2: Ensure `HRM-raw.raw` is set correctly after we moved to binary hrm algorithm

d58609fee802eebcecd1734ad6e6c38afc519aa2 authored over 1 year ago by Gordon Williams <[email protected]>
Fix regression with Bluetooth advertising not persisting after softdevice restart after 0908b29537f632fa1d355daea4ac742ff3b2e5f9

b5b7ee32ba713eaf88c1ab8e11250831c1a8134b authored over 1 year ago by Gordon Williams <[email protected]>
Storage.compact(): add optional showMessage parameter (default is false)

96c29fc954c1ffacef259e3775a3cd32c4524337 authored over 1 year ago by Richard Blakesley <[email protected]>
nRF5x: Ensure we don't start advertising immediately after softdevice restart if NRF.sleep() was used

e08448dbb357c76d503301a434cb833303c94053 authored over 1 year ago by Gordon Williams <[email protected]>
Storage: Output progress on FactoryReset and Compact

39384f222cd8bb6b81efd8623a5d844312df4b0a authored over 1 year ago by Gordon Williams <[email protected]>
jsfWriteInitialStorage now writes '.' every so often when writing data to flash

1d5aa79bfd919596eb3c50eafe49b5cfb338326a authored over 1 year ago by Gordon Williams <[email protected]>
Graphics: fix for images in drawString when completely offscreen (regression after drawImage optimisation)

3f83b20c7724f2561aa3b6d80a06721810d2a966 authored over 1 year ago by Gordon Williams <[email protected]>
Fix for last image scaling commit

c66fc7ddbeeafc577fb87023345182199552559d authored over 1 year ago by Gordon Williams <[email protected]>
Graphics: drawImage(...,{filter:1}) added to allow smooth downscaling of images

5257dc6e1f966f73cecd8c6b43feab70c7fc603f authored over 1 year ago by Gordon Williams <[email protected]>
Updated default Bangle.js firmware, removed duplicate `sched` entries

71bcd42a402a7792b06bf5aa1c9ea81aa627126f authored over 1 year ago by Gordon Williams <[email protected]>
fix tests/test_graphics_drawImageFrame.js - don't even start to draw image if no data available

64a97104bb26a0461b22a8fa10c09acf4468108c authored over 1 year ago by Gordon Williams <[email protected]>
Improve execution speed by not parsing strings when skipping blocks

206c1d37e9b69aa0791ec525bed204e9ea8d23fd authored over 1 year ago by Gordon Williams <[email protected]>
add JIT to DK build

0f16231a4369bb2d154b9fab5a0d806122cddb39 authored over 1 year ago by Gordon Williams <[email protected]>
JIT: Fix scoping of JITed functions (they can now access vars in the scope they were defined in)

c5e1d4997a3f2121d204e650faf85f748d2c4c87 authored over 1 year ago by Gordon Williams <[email protected]>
Merge pull request #2397 from bobrippling/typescript-lcdoverlay

Add `setLCDOverlay()` clearing typescript overload

bb98dc41d473809073f5944770e9aa03d5c5a0e2 authored over 1 year ago by Gordon Williams <[email protected]>
Fix failure to run JIT caused by String interpreting optimisation

JIT: JIT failures now don't stop execution of subsequent commands - function is just ...

86921823b2e8c8f59ff7b87916185132b520429b authored over 1 year ago by Gordon Williams <[email protected]>
Add setLCDOverlay() clearing typescript overload

23adac3a187ac7cd4de281383437ee54c48f51e6 authored over 1 year ago by Rob Pilling <[email protected]>
Bangle.js: Handle pushing events via the event queue (allows events to be queued rather than lost)

Bangle.js2: Allow HRM environment sensor data to be pushed, also add flags for disabl...

5cfde78b90b039417092f4c3a5771156cc754730 authored over 1 year ago by Gordon Williams <[email protected]>
Graphics: drawImage now avoids getting pixels top/bottom of an image that might be cropped/offscreen

075353feefadfaecc09180a479c51bc7fbd9284a authored over 1 year ago by Gordon Williams <[email protected]>
workaround for flash string hacks on ESP8266

b04ef5120b2a3034151fa704f20c2122ca799199 authored over 1 year ago by Gordon Williams <[email protected]>
Storage: Compaction now starts from the last uncompacted page - faster if only partly compacted (#2391)

1731cc7540733b8705172a63ebefa590aa67db08 authored over 1 year ago by Gordon Williams <[email protected]>
Ensure Ctrl-C/holding button cannot break out of compaction

Also has the side-effect of allowing a long-press of the button to break out of long-executing JS...

3913147b90093c6ff13b8d130ee2ef7112c681f3 authored over 1 year ago by Gordon Williams <[email protected]>
If a jshardware op is interrupted, report "Interrupted in X" and not "Timeout on X"

41f9081c6f1929d599accccdbd5757be03a612b2 authored over 1 year ago by Gordon Williams <[email protected]>
Bangle.js: don't compact storage if less than 10% battery

Also avoids another write attempt if compact found storage was already fully compacted

4e4e854c4f303ecfee0ee008b138fc4ca082b9d0 authored over 1 year ago by Gordon Williams <[email protected]>