Commit Graph

32 Commits

Author SHA1 Message Date
Willy-JL
9d83750a83 JS: Keyboard allow pressing back, add symbols, cleanup 2024-03-17 06:55:44 +00:00
Willy-JL
7f07417676 Move to js_thread + improve parse_int 2024-03-17 06:19:46 +00:00
Willy-JL
19b5f35afb Remove string utilities already in MJS 2024-03-17 05:45:57 +00:00
Willy-JL
10a03e0cc1 Merge branch 'dev' of https://github.com/Next-Flip/Momentum-Firmware into dev 2024-03-17 04:35:59 +00:00
Willy-JL
5b1002e433 JS: Add dialog.pickFile() 2024-03-14 02:29:48 +00:00
Willy-JL
66dc7e9aa9 JS: Add storage.append() 2024-03-12 06:15:09 +00:00
Sil333033
d947fa749a JS: added GPIO module 2024-03-11 20:58:14 +01:00
Spooks
8e97587c68 Made String Functions Global 2024-03-10 13:20:42 -06:00
Spooks
5fff187ff5 Merge branch 'Next-Flip:dev' into dev 2024-03-07 16:38:35 -07:00
Spooks
cb04c86fb2 String Util Library + ParseInt Function 2024-03-07 16:38:06 -07:00
Sil333033
6420e5b37e Merge branch 'dev' of https://github.com/Next-Flip/Momentum-Firmware into dev 2024-03-07 22:17:03 +01:00
Sil333033
ab9d4620db Add Subghz JS module 2024-03-07 22:15:14 +01:00
Willy-JL
724be02ee5 JS: Blebeacon: Add isActive(), fix some state logic 2024-03-07 19:35:45 +00:00
Willy-JL
eedeee4941 JS Blebeacon keep/not prev cfg, use arraybuf, more options 2024-03-07 07:44:11 +00:00
Willy-JL
03f780f43c Use correct array buf for js byte keyboard 2024-03-07 06:20:14 +00:00
Willy-JL
0405849ca6 JS Keyboard add setHeader() 2024-03-07 05:59:33 +00:00
Willy-JL
bf8e1845f0 JS Keyboard improve memory and error handling 2024-03-07 05:53:03 +00:00
Willy-JL
be014b5103 Small JS bindings tweaks
- no destroy for math
- tweak example print results
- namespace naming consistency
2024-03-07 05:15:01 +00:00
Spooks
337486df87 Update blebeacon.js 2024-03-06 15:48:53 -07:00
Spooks
2ff6dc8c1d Keyboard WIP (Byte Input Doesn't Work) 2024-03-06 15:02:00 -07:00
Spooks
c43d9d3bdd Math 2024-03-06 11:03:26 -07:00
Spooks
913127854c Moved Mac Address Gen to API 2024-03-06 02:05:03 -07:00
Spooks
ab9c10c436 Added Ble Beacon 2024-03-05 23:59:06 -07:00
Spooks
ff4fcfc132 JS: Added Submenu support (#13) 2024-03-06 03:20:52 +00:00
Spooks
f92a94a78a JS: Added Submenu support 2024-03-05 20:17:00 -07:00
Willy-JL
e2ab71e1d3 JS: Add basic storage module API 2024-02-22 03:12:59 +00:00
Willy-JL
bcc78a5c38 JS: Create disk image with usbdisk.createImage("/ext/file", 123) 2024-02-20 03:43:28 +00:00
Willy-JL
7288499d13 Js BadUSB add quit() function to switch with UsbDisk 2024-02-16 05:34:32 +00:00
Willy-JL
ea30dbe2fb Add JS UsbDisk support (like Mass Storage) 2024-02-16 05:22:10 +00:00
Nikolay Minaylov
25a280c818 JS serial module renamed, uart channel selection (#3445) 2024-02-13 10:04:27 +07:00
hedger
c8e62ba5e8 mjs: minor fixes (#3442)
* lib: mjs: removed relocation flags

* js: fixed api example script

* js: private api cleanup

* Updated CODEOWNERS & readme for apps
2024-02-12 18:16:58 +04:00
Nikolay Minaylov
0154018363 [FL-3579, FL-3601, FL-3714] JavaScript runner (#3286)
* FBT: cdefines to env, libs order
* API: strtod, modf, itoa, calloc
* Apps: elk js
* Apps: mjs
* JS: scripts as assets
* mjs: composite resolver
* mjs: stack trace
* ELK JS example removed
* MJS thread, MJS lib modified to support script interruption
* JS console UI
* Module system, BadUSB bindings rework
* JS notifications, simple dialog, BadUSB demo
* Custom dialogs, dialog demo
* MJS as system library, some dirty hacks to make it compile
* Plugin-based js modules
* js_uart(BadUART) module
* js_uart: support for byte array arguments
* Script icon and various fixes
* File browser: multiple extensions filter, running js scripts from app loader
* Running js scripts from archive browser
* JS Runner as system app
* Example scripts moved to /ext/apps/Scripts
* JS bytecode listing generation
* MJS builtin printf cleanup
* JS examples cleanup
* mbedtls version fix
* Unused lib cleanup
* Making PVS happy & TODOs cleanup
* TODOs cleanup #2
* MJS: initial typed arrays support
* JS: fix mem leak in uart destructor

Co-authored-by: SG <who.just.the.doctor@gmail.com>
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2024-02-12 15:54:32 +07:00