6590 Commits

Author SHA1 Message Date
Gordon Williams
c64c1a45b4 distribution zip 2020-06-23 13:21:53 +01:00
Gordon Williams
40a35842a0 Graphics.asImage() now contains buffer when bpp != 8 (fix #1863) 2020-06-23 13:21:43 +01:00
Gordon Williams
21168a2b29 Add flash storage support to emscripten build RELEASE_2V06 2020-06-11 15:46:28 +01:00
Gordon Williams
e209ebe692 Remove extra gfx functions that don't fit in original ESPRUINOBOARD 2020-06-11 15:20:23 +01:00
Gordon Williams
2a8c72c5b2 bump for release 2020-06-11 14:46:04 +01:00
Gordon Williams
b66a6e7d91 Merge branch 'RAK5010' 2020-06-10 19:44:16 +01:00
Gordon Williams
2066459f05 fix patch error 2020-06-10 17:55:31 +01:00
Gordon Williams
e2c5bdebfb one more 2020-06-10 13:45:25 +01:00
Gordon Williams
da0e4b415c more travis tweaking 2020-06-10 13:17:45 +01:00
Gordon Williams
668d529241 Try and fix travis build - faster downloads from GitHub and ensure dos2unix exists 2020-06-10 13:00:56 +01:00
Gordon Williams
f2bd214a02 Build zip of RAK5010 2020-06-10 11:49:47 +01:00
Gordon Williams
5715a1d6d8 fix patch application 2020-06-10 11:30:27 +01:00
Gordon Williams
d20a3010e4 Merge branch 'master' of github.com:espruino/Espruino 2020-06-10 11:06:38 +01:00
Gordon Williams
3ca677f0d9 Bangle.js: Fix FIFO_FULL error with gpsnav/gpsrec - don't warn of lost GPS-raw data if not listening for it (fix #1859) 2020-06-10 11:02:58 +01:00
Gordon Williams
47df4ae1f6 change link 2020-06-10 10:47:15 +01:00
Gordon Williams
9f9f3e0ef4 attempt to fix patch application in travis. Also apply USB errata to fix boot immediately after flashing 2020-06-10 10:41:12 +01:00
Gordon Williams
32327fca38 RAK5010 now working pretty well 2020-06-10 10:17:57 +01:00
Gordon Williams
958bde9621 Merge branch 'master' into RAK5010 2020-06-10 08:40:23 +01:00
Gordon Williams
43e44b52e1
Merge pull request #1858 from nebbishhacker/fillpoly
Remove half-pixel offset from fillPoly
2020-06-10 07:41:02 +01:00
Ben Whittaker
21d8c727a7 Remove half-pixel offset from fillPoly
This makes the results of fillPoly align with those of drawPoly when
both are fed whole-pixel coordinates.

For applications where it makes a noticeable difference the offset can
be added manually before calling fillPoly, which is what the vector
font rendering code now does.
2020-06-09 19:12:39 -04:00
Gordon Williams
65247d3461 Bangle.js: Fix issue with 'ram' functions after recent changes to SPIFLASH (fix #1856) 2020-06-09 17:10:46 +01:00
Gordon Williams
56f6ef608f Now have comms to modem 2020-06-09 16:48:31 +01:00
Gordon Williams
35ae61cbca initial RAK5010 - accelerometer/opto working 2020-06-09 16:31:04 +01:00
Gordon Williams
8b23e40928 SDK15 build tweaks 2020-06-09 14:36:53 +01:00
Gordon Williams
3cb3c31e29 remove unused define 2020-06-09 13:24:55 +01:00
Gordon Williams
fbaa3bbcf5 Re-add Graphics.quadraticBezier for Bangle.js, move to integer math to halve fn size 2020-06-09 08:53:05 +01:00
Gordon Williams
a34d01b195 use jsvReadConfigObject for jswrap_graphics_transformVertices 2020-06-09 08:23:39 +01:00
Gordon Williams
9f233fd140 Re-add quadraticBezier to Bangle.js 2020-06-09 07:54:00 +01:00
Gordon Williams
33d7cc503d Merge branch 'master' of github.com:espruino/Espruino 2020-06-09 07:52:37 +01:00
Gordon Williams
561f7b0af8
Merge pull request #1855 from nebbishhacker/transformVertices
Add Graphics.transformVertices
2020-06-09 07:51:58 +01:00
Ben Whittaker
ff2a16a9b6 Add Graphics.transformVertices
Adds a method to the graphics class for applying a transformation to a
list of points. This method can be used alongside drawPoly to translate,
rotate and scale complex polygons in real time.
2020-06-08 18:29:04 -04:00
Gordon Williams
e206a837ec Bangle.js: Fix occasional execution errors when executing from Flash (fix #1854) 2020-06-08 14:51:29 +01:00
Gordon Williams
41ed224d41 Fix formatting regression in linux build output when there are errors 2020-06-08 14:50:05 +01:00
Gordon Williams
3bfdf4daeb Fix double unlock in load(filename) 2020-06-08 14:49:35 +01:00
Gordon Williams
e12bce5717 Merge branch 'master' of github.com:espruino/Espruino 2020-06-08 09:12:18 +01:00
Gordon Williams
dfc70eb2fc Bangle.js: Now warn if GPS data overflows (fix #1847) 2020-06-08 09:12:09 +01:00
Gordon Williams
a05ef93718
Merge pull request #1851 from nebbishhacker/vector-font
Add lowercase eth (ð) to vector font
2020-06-08 08:54:33 +01:00
Ben Whittaker
960bf6a522 Add lowercase eth (ð) to vector font 2020-06-06 00:40:27 -04:00
Gordon Williams
d15ced8073
Merge pull request #1850 from FransM/spiFlashReadWrite
Eliminate spiFlashReadWrite
2020-06-05 14:35:48 +01:00
Frans Meulenbroeks
7f42949c3c Eliminate spiFlashReadWrite
This is only called once, and can also be done with a Write followed by a Read
2020-06-05 15:17:15 +02:00
Gordon Williams
46796ea7ad Bangle.js: Ensure BTN3 exits debug mode (fix #1842) 2020-06-05 11:56:39 +01:00
Gordon Williams
b773ff3d0d Merge branch 'master' of github.com:espruino/Espruino 2020-06-05 09:53:05 +01:00
Gordon Williams
49b4b523ac Bangle.js: Improve SPI flash speed by with specific function for reading and keeping CS asserted ( #1849) 2020-06-05 09:52:56 +01:00
Gordon Williams
da18d5bea5
Merge pull request #1848 from nebbishhacker/vector-font
Reduce size of vector font
2020-06-05 09:24:53 +01:00
Gordon Williams
15de460b31 Update showMenu docs to be more explicit, and remove duplicate entries in docs 2020-06-05 08:08:04 +01:00
Ben Whittaker
1152a7bfd2 Change how vector font is stored
Instead of storing everything in a single array delimited by magic
values, have separate arrays containing
- vertices for each polygon
- # of vertices for each polygon
- polygon indices for each char
- # of polygon indices for each char

This arrangement means that multiple char can use reference the same
polygons. build_vector_font.js takes advantage of this by
normalizing and deduplicated polygons where it can.

Shaves exactly one kilobyte from the final build.
2020-06-04 20:54:17 -04:00
Gordon Williams
4ed174d954 Tensorflow updated to current 'master' version 2020-06-04 16:10:42 +01:00
Gordon Williams
5b9333366a Increase message length to include CRC: https://github.com/espruino/Espruino/pull/1844#issuecomment-638176941 2020-06-03 14:28:52 +01:00
Gordon Williams
162d6a3e0f Bangle.js: Save RAM in GPS handling, allow arbitrary length data returned (fix #1843)Reduce GPS buffer size 2020-06-03 13:32:22 +01:00
Gordon Williams
1917912c31
Merge pull request #1845 from espruino/revert-1844-GPS-raw-UBX
Revert "GPS-raw event: check and return UBX protocol checksums"
2020-06-03 13:25:18 +01:00