59 Commits

Author SHA1 Message Date
WillyJL 80de280942 JS: Bump SDK for Infrared module from months ago (oops) --nobuild 2026-06-02 22:13:59 +02:00
WillyJL d8a644e3ed Merge remote-tracking branch 'ul/dev' into mntm-dev 2026-06-01 20:01:36 +02:00
MX a044de9cd3 Address utf8 support when uploading JavaScript application
OFW PR 4364 by bekindpleaserewind
2026-03-30 00:07:22 +03:00
WillyJL 24a988030d Merge commit '97eaee54c8f12c0103487c7c5c8df6ba0b538e12' into mntm-dev 2026-02-28 20:26:37 +01:00
Luis Mayo Valbuena 3872c7a73d feat: add IR capabilities to the JS engine 2026-02-01 14:31:31 +01:00
WillyJL 5d5fa5e9aa Merge branch 'feat/nfc-type-4-final' into mntm-dev 2025-10-06 01:32:15 +02:00
MX 93b4ad4595 Merge remote-tracking branch 'OFW/dev' into dev 2025-09-24 22:32:16 +03:00
Anna Antonenko d0360625d6 [FL-3925] JS views finished (#4155)
* js: value destructuring and tests

* js: temporary fix to see size impact

* js_val: reduce code size 1

* i may be stupid.

* test: js_value args

* Revert "js: temporary fix to see size impact"

This reverts commit f51d726dbafc4300d3552020de1c3b8f9ecd3ac1.

* pvs: silence warnings

* style: formatting

* pvs: silence warnings?

* pvs: silence warnings??

* js_value: redesign declaration types for less code

* js: temporary fix to see size impact

* style: formatting

* pvs: fix helpful warnings

* js_value: reduce .rodata size

* pvs: fix helpful warning

* js_value: reduce code size 1

* fix build error

* style: format

* Revert "js: temporary fix to see size impact"

This reverts commit d6a46f01794132e882e03fd273dec24386a4f8ba.

* style: format

* js: move to new arg parser

* style: format

* feat: all js views done

* js, toolbox: generalize string owning

* toolbox: silence pvs warning

---------

Co-authored-by: hedger <hedger@nanode.su>
Co-authored-by: hedger <hedger@users.noreply.github.com>
2025-09-24 23:24:28 +04:00
MX bea8d41c8b Merge remote-tracking branch 'OFW/dev' into dev 2025-09-24 01:38:43 +03:00
WillyJL 8bd66c9920 JS: Expose button event type in gui/widget button callback (#4252)
* JS: Expose button event type in gui/widget button callback --nobuild

* js_sdk: bump major version

* unit_tests: fix js test

* js: fix gui widget demo

---------

Co-authored-by: Anna Antonenko <portasynthinca3@gmail.com>
Co-authored-by: hedger <hedger@users.noreply.github.com>
2025-09-24 02:16:47 +04:00
MX 0acb014719 oops fix merge artifact [ci skip] 2025-08-01 17:25:58 +03:00
MX 7646902fdc JS: Expose button event type in gui/widget button callback
by WillyJL
2025-07-30 05:04:02 +03:00
WillyJL a934c70a00 JS: Expose button event type in gui/widget button callback --nobuild 2025-07-22 15:53:14 +02:00
Willy-JL 49d7ce7349 Merge remote-tracking branch 'ofw/dev' into mntm-dev 2025-04-12 10:36:13 +01:00
Willy-JL 823a1d9253 Painfully update most JS docs by hand 2025-04-01 07:47:57 +00:00
Willy-JL bd2ee18e48 Merge remote-tracking branch 'ofw/dev' into mntm-dev 2025-02-28 02:03:45 +00:00
MX b887d6af21 Merge remote-tracking branch 'OFW/dev' into dev [ci skip] 2025-02-21 05:18:29 +03:00
WillyJL 404764b660 GUI: Widget view extra options for JS (#4120)
* Fill option for widget frame
* Add widget circle element
* Add widget line element
* Fix missing include for InputType
* Fix missing comment
* Update api symbols
* Load .fxbm from file
* Fix copy pasta
* Add fill param to example
* Fix some comments
* Bump JS SDK 0.3
* Fix free
* Rename widget frame to rect
* Gui: add widget_add_frame_element backward compatibility macros

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2025-02-21 10:47:56 +09:00
MX f242eef26f Merge remote-tracking branch 'OFW/dev' into dev 2025-02-21 03:08:00 +03:00
Anna Antonenko 7c5c5d4749 [FL-3734] UART framing mode selection (#4121)
* HAL: feat: uart framing
* JS: feat: uart framing
* fix formatting
* fix pvs warning
* HAL: flash impact reduction attempt 1
* HAL: flash impact reduction attempt 2
* fix compile error
* HAL: finalize flash impact reduction
* HAL: remove user-facing magic numbers

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2025-02-21 04:54:38 +09:00
Willy-JL 1a4a940b74 JS: Support all builtin icons in new gui/icon module 2025-02-20 03:19:43 +00:00
Willy-JL 72281d9666 Merge remote-tracking branch 'ofw/dev' into mntm-dev 2025-02-18 16:25:29 +00:00
MX 85cba9fd8d Merge remote-tracking branch 'OFW/dev' into dev 2025-02-13 19:58:15 +03:00
Anna Antonenko e27f82f041 [FL-3925, FL-3942, FL-3944] JS features & bugfixes (SDK 0.2) (#4075)
* feat: JS GPIO PWM, JS GUI Widget view; fix: JS EvtLoop stop on request, JS EvtLoop stop on error
* fix: f18 build
* docs: widget
* fix: js unit test
* change feature naming

Co-authored-by: あく <alleteam@gmail.com>
2025-02-13 17:50:38 +09:00
Willy-JL f2011a446b Merge remote-tracking branch 'ofw/dev' into mntm-dev 2025-01-11 05:06:46 +00:00
MX 189c87cb08 Merge remote-tracking branch 'OFW/dev' into dev 2024-12-24 14:04:07 +03:00
dependabot[bot] 5fb9558dbb Bump cross-spawn in /applications/system/js_app/packages/create-fz-app (#4043)
Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn) from 7.0.3 to 7.0.6.
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moxystudio/node-cross-spawn/compare/v7.0.3...v7.0.6)

---
updated-dependencies:
- dependency-name: cross-spawn
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: あく <alleteam@gmail.com>
2024-12-24 11:24:01 +09:00
MX 9c5341edb1 Merge remote-tracking branch 'OFW/dev' into dev 2024-12-23 15:56:12 +03:00
Anna Antonenko 631d7a40dd [FL-3940] Work around incorrect serial port handling by the OS (#4040)
* fix: js sdk flipper detection
* chore: bump ver

Co-authored-by: あく <alleteam@gmail.com>
2024-12-23 10:34:05 +09:00
Anna Antonenko 51aafd1b5e fix: bump fz-sdk to 0.1.2 (#3989) 2024-11-05 20:58:19 +09:00
WillyJL b86b9b87b8 JS: Add die() typedoc (#3985)
* JS: Add die() to typedocs

* JS: Never type for die()

---------

Co-authored-by: Anna Antonenko <portasynthinca3@gmail.com>
2024-11-05 14:41:03 +03:00
Anna Antonenko c741727b96 I am own the JS (#3982)
* fix: js app template
* i am own the js
* farewell
2024-11-05 19:53:24 +09:00
Willy-JL 78f517b294 Merge remote-tracking branch 'ul/dev' into mntm-dev --nobuild 2024-11-05 07:29:58 +00:00
MX 79caf7bf72 Add js sdk changes
With type declarations and various missing parts added by Willy-JL
2024-11-05 09:49:46 +03:00
WillyJL 30d7589f5c JS: Add illegalSymbols prop for gui/text_input (#290)
* JS: Add illegalSymbols prop for gui/text_input

* Update changelog

* Fix gui example
2024-11-04 09:38:59 +01:00
Willy-JL e5acd5cd22 JS: Bump SDK with new typedocs for old extra modules 2024-11-03 01:52:50 +00:00
Willy-JL c537092367 JS: Add typedocs for all extra modules 2024-11-03 01:44:44 +00:00
Willy-JL d97dffe852 JS: Never type for die() 2024-11-02 05:31:01 +00:00
Willy-JL 67d9f5b44a JS: Add extra SDK feature strings 2024-11-02 04:34:23 +00:00
Willy-JL 48aceffe9b JS: Add die() to typedocs 2024-11-02 04:16:47 +00:00
Willy-JL 3ea2ace360 Merge commit '2cf425d3462cb5297304b6c8909765e17e98bbae' into merge/js-sdk 2024-11-01 22:11:35 +00:00
Willy-JL 249ff23598 JS: NPM packages changes for CFW SDK 2024-11-01 21:23:28 +00:00
Willy-JL 6e022a60a1 JS: Transform SDK name for cross compatibility 2024-11-01 21:21:55 +00:00
Anna Antonenko 2cf425d346 fix: js app template 2024-11-01 17:36:39 +03:00
Willy-JL bbe69e77c3 Initial JS CFW SDK changes
TODO: Check documentation and other package options

TODO: Transform CFW SDK name to OFW SDK name in build step so all firmwares understand it
2024-11-01 13:57:28 +00:00
Willy-JL c565ff83dd Merge remote-tracking branch 'ul/dev' into merge/js-sdk 2024-11-01 13:26:34 +00:00
WillyJL 69aa4cd254 JS: Fix merge of 3963 and 3961 (#3980)
* toString() was moved, not duplicated
* These had gotten lost
* This is now implemented
* Add missing version doctags
2024-11-01 13:52:54 +09:00
MX 3c6a621da2 merge fix [ci skip]
with some parts from PR by Willy-JL
https://github.com/flipperdevices/flipperzero-firmware/pull/3980/files
2024-11-01 05:30:33 +03:00
Willy-JL 10127bfc9e Merge branch 'merge-fix-3963-3961' into mntm-dev 2024-10-31 18:20:41 +00:00
Willy-JL 6f5ef19172 Merge remote-tracking branch 'ofw/dev' into mntm-dev 2024-10-31 18:20:25 +00:00