694 Commits

Author SHA1 Message Date
Gordon Williams
e590be1fe2 More log messages because this seems to break in GitHub actions now 2023-05-18 11:09:51 +01:00
Gordon Williams
fd62aece7d tidy up output by only outputting callfunction hack if required
Improve jswIsBuiltInObject implementation so it doesn't store separate strings - saves ~200b
2023-05-17 12:35:23 +01:00
Gordon Williams
9794ebcbae Fix ordering of Pin check in wrapper (so autocomplete and Pin prototype works) 2023-04-21 10:48:42 +01:00
Gordon Williams
e1b39f5d30 Removing some compiler warnings 2023-04-21 09:57:56 +01:00
Gordon Williams
98cd788356 Removing some compilation warnings, potentially also fixing toUpper/LowerCase for non-ASCII characters 2023-04-20 15:02:26 +01:00
Gordon Williams
4ef8ce83f1 Fix making docs if unicode is in C files 2023-03-31 11:26:27 +01:00
Gordon Williams
5b1247c46b more useful font creation - and moved to libs/graphics/font 2023-03-08 14:59:07 +00:00
Rob Pilling
d267c171a7 Correct handling of this --> thisArg 2023-02-27 20:45:11 +00:00
Gordon Williams
eb9cd93bcf Fix issue that meant that only one builtin library could ever be added 2023-02-23 13:55:58 +00:00
Gordon Williams
0965e09aa0 fix CI upload 2023-02-20 20:08:27 +00:00
Gordon Williams
0372674fbc Add ability to add custom boot code inside the build with JSMODULESOURCES+=_:bootfile.js 2023-01-24 15:23:56 +00:00
Gordon Williams
bb94ca4a83 dump the environment vars created 2023-01-19 09:05:53 +00:00
Gordon Williams
8fdf73fab0 fast mode doesn't stop on failures, and support for separate 'bin' dirs 2023-01-11 16:21:42 +00:00
Gordon Williams
9f67a4503e fix duplication - tested and identical binaries 2023-01-11 14:23:54 +00:00
Gordon Williams
e123ff2811 Fixing build after build directory change 2023-01-11 12:26:10 +00:00
Gordon Williams
c30cca922d merge in master, move create_zip to create_zip_fast as not quite working 2023-01-11 11:53:24 +00:00
Dimo Bozduganov
46310cbdc5 Modify to build EMBED board with -Werror flag 2022-12-21 09:29:17 +02:00
Gordon Williams
18fd3d6048 Initial proof of concept of 'embeddable' subset of Espruino to include in other apps without dependencies 2022-12-07 16:26:33 +00:00
Gordon Williams
0dfdc60247 Remove dependency on apploadercore for factory tests (not needed) 2022-11-14 11:40:36 +00:00
Gordon Williams
0d13a8acee script tweak 2022-11-07 16:20:49 +00:00
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