667 Commits

Author SHA1 Message Date
Gordon Williams
2d5d5db8da fix issue calculating types 2022-10-12 08:54:39 +01:00
Gordon Williams
4e25e2211c Include pinout diagrams for Puck.js v2 as well as the upcoming Lite 2022-08-16 13:05:43 +01:00
Gordon Williams
e7ce85eae1 build tweaks, 2v15 release 2022-08-11 14:20:58 +01:00
Gordon Williams
d3081ded33 oops - fix pinout-only mode 2022-07-28 16:12:57 +01:00
Gordon Williams
f220e81600 oops - fix build 2022-07-28 15:53:00 +01:00
Gordon Williams
e59b07a736 Improved document generation - and github links now point to that commit so the line numbers always match up 2022-07-28 15:32:46 +01:00
qucchia
149a7f6bac Build types: Edit start of file 2022-07-27 20:14:32 +02:00
qucchia
649c271b05 TypeScript: Declare modules as JS modules 2022-07-27 19:44:32 +02:00
qucchia
8d4378c12b Build types: show done message 2022-07-27 17:05:35 +02:00
qucchia
27250b62c6 Don't include ‘interface’ keyword in declarations 2022-07-27 17:05:03 +02:00
qucchia
840320db69 Allow ‘build_types’ script to work from anywhere 2022-07-27 16:30:11 +02:00
Gordon Williams
a9025da682
Merge pull request #2248 from qucchia/typescript
More Typescript
2022-07-27 09:57:38 +01:00
qucchia
28cdf48523 common.js: Give useful information when an error occurs
Prints the file name and JSON when an error occurs while parsing it.
2022-07-27 10:53:17 +02:00
qucchia
3bc5387216 TypeScript: if a return type is Promise, convert to Promise<void>
(Used to be Promise<any>)
2022-07-27 10:35:47 +02:00
qucchia
f3d137b72d Allow TYPESCRIPT comments to include additional metadata 2022-07-27 10:35:33 +02:00
Gordon Williams
1209148d27
Merge pull request #2247 from qucchia/typescript
Add some TypeScript declarations
2022-07-27 08:26:29 +01:00
qucchia
cc428a98ad TypeScript: Fix ArrayBuffer 2022-07-27 09:25:01 +02:00
qucchia
3539102104 TypeScript: add ‘static’ to all static method overloads 2022-07-26 19:58:17 +02:00
qucchia
695de55e19 TypeScript: replace String with string 2022-07-26 19:58:02 +02:00
qucchia
889d4711e8 TypeScript: set return type to void if none is specified
(Used to be any)
2022-07-26 19:32:43 +02:00
qucchia
0bf81d849d TypeScript: ArrayBuffer 2022-07-26 19:04:41 +02:00
Gordon Williams
2344d53fc4 force python version 2022-07-26 12:18:21 +01:00
qucchia
3d18905e02 Document the ‘build_types’ script 2022-07-24 08:50:48 +02:00
qucchia
bfaa2abf86 Fix incorrect callbacks in events 2022-07-23 20:32:27 +02:00
qucchia
11ddc79748 Automatically declare ‘globals’ correctly 2022-07-23 20:32:02 +02:00
qucchia
7ad8506707 Add custom TypeScript declarations in comments 2022-07-23 20:15:18 +02:00
qucchia
8119be4a9a TypeScript: Document using JSDoc format 2022-07-22 11:24:31 +02:00
qucchia
b3fa1234b1 Fix library URLs 2022-07-22 08:33:21 +02:00
qucchia
c8a591b234 Update typing 2022-07-22 08:16:32 +02:00
qucchia
aa97ab6c3d Use return_object for ArrayBufferView.buffer 2022-07-21 13:58:25 +02:00
qucchia
573f062e98 Types: declare events 2022-07-21 12:49:26 +02:00
qucchia
72780a44f8 Auto-generate types for TypeScript 2022-07-21 12:23:31 +02:00
Gordon Williams
5ac00d984e tweak for new marked 2022-07-20 15:54:43 +01:00
Gordon Williams
1f2a3b4521 Fix errors creating type files 2022-07-20 15:52:00 +01:00
BartS23
12e33519cf Add action "Test Factory Apps" 2022-07-14 12:36:08 +02:00
Gordon Williams
af8e933289 2v14 release 2022-06-09 15:43:50 +01:00
Gordon Williams
4c79913288 Enable releases and cutting edge builds for Puck.js minimal releases (with 98kB of free Storage) 2022-05-25 14:48:17 +01:00
Gordon Williams
486c6cd0c5 fix linux build with fixed size vars 2022-05-16 15:04:13 +01:00
Gordon Williams
8cd6487f25 Add 'io_buffer_size' option to board.info to allow per-device IO buffer size, and increase index bits to allow >256 entries
# Conflicts:
#	boards/DICKENS.py
#	boards/DICKENS2.py
#	boards/DICKENS2R.py
2022-04-21 10:31:50 +01:00
Gordon Williams
7249975f3c Fix upload, attempt to build all binaries 2022-03-02 13:19:16 +00:00
Gordon Williams
1e840b5804 another tweak 2022-03-02 12:57:29 +00:00
Gordon Williams
b07305991f another attempt at uploading firmwares 2022-03-02 12:53:37 +00:00
Gordon Williams
90ed822da6 More build tweaks 2022-03-01 15:09:46 +00:00
Gordon Williams
5637e0f7b9 More tweaks for GitHub actions build - and disable Travis 2022-03-01 14:58:44 +00:00
Gordon Williams
2f359daf19 Merge branch 'master' of github.com:espruino/Espruino 2022-02-21 16:02:34 +00:00
Gordon Williams
6e19468837 python 3 build tweak 2022-02-21 16:01:51 +00:00
Gordon Williams
490f8e3e16 update provision script for newer debian/ubuntu 2022-02-17 08:53:22 +00:00
Gordon Williams
318a44504e Speed up jswGetBasicObjectName by putting all ArrayBuffer checks together 2022-02-01 10:33:26 +00:00
Gordon Williams
4a7d30f4be Bangle.js: Add 'graphicsInternal' to make Graphics independent of JS vars. Terminal is now useful earlier, and can display softdevice errors 2022-01-31 16:35:38 +00:00
Gordon Williams
856e425080 Fix Bangle.js 2 barometer regression - #if ..!=0 not working as expected 2022-01-26 15:08:20 +00:00