Willy-JL
2f6faa1b7b
Merge remote-tracking branch 'ul/dev' into mntm-dev
2024-10-16 00:56:19 +01:00
Willy-JL
88dfe97a89
Merge remote-tracking branch 'ofw/dev' into mntm-dev
2024-10-15 23:43:33 +01:00
MX
edc58c5a0e
merge p2
2024-10-15 03:16:21 +03:00
porta
8a95cb8d6b
[FL-3893] JS modules ( #3841 )
...
* feat: backport js_gpio from unleashed
* feat: backport js_keyboard, TextInputModel::minimum_length from unleashed
* fix: api version inconsistency
* style: js_gpio
* build: fix submodule ._ .
* refactor: js_gpio
* docs: type declarations for gpio
* feat: gpio interrupts
* fix: js_gpio freeing, resetting and minor stylistic changes
* style: js_gpio
* style: mlib array, fixme's
* feat: js_gpio adc
* feat: js_event_loop
* docs: js_event_loop
* feat: js_event_loop subscription cancellation
* feat: js_event_loop + js_gpio integration
* fix: js_event_loop memory leak
* feat: stop event loop on back button
* test: js: basic, math, event_loop
* feat: js_event_loop queue
* feat: js linkage to previously loaded plugins
* build: fix ci errors
* feat: js module ordered teardown
* feat: js_gui_defer_free
* feat: basic hourglass view
* style: JS ASS (Argument Schema for Scripts)
* fix: js_event_loop mem leaks and lifetime problems
* fix: crashing test and pvs false positives
* feat: mjs custom obj destructors, gui submenu view
* refactor: yank js_gui_defer_free (yuck)
* refactor: maybe_unsubscribe
* empty_screen, docs, typing fix-ups
* docs: navigation event & demo
* feat: submenu setHeader
* feat: text_input
* feat: text_box
* docs: text_box availability
* ci: silence irrelevant pvs low priority warning
* style: use furistring
* style: _get_at -> _safe_get
* fix: built-in module name assignment
* feat: js_dialog; refactor, optimize: js_gui
* docs: js_gui
* ci: silence pvs warning: Memory allocation is infallible
* style: fix storage spelling
* feat: foreign pointer signature checks
* feat: js_storage
* docs: js_storage
* fix: my unit test was breaking other tests ;_;
* ci: fix ci?
* Make doxygen happy
* docs: flipper, math, notification, global
* style: review suggestions
* style: review fixups
* fix: badusb demo script
* docs: badusb
* ci: add nofl
* ci: make linter happy
* Bump api version
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com >
2024-10-14 19:42:11 +01:00
Willy-JL
02f7207d28
Merge remote-tracking branch 'ofw/dev' into mntm-dev
2024-07-15 22:18:35 +01:00
hedger
ffa3996a5e
[FL-3867] Code formatting update ( #3765 )
...
* clang-format: AllowShortEnumsOnASingleLine: false
* clang-format: InsertNewlineAtEOF: true
* clang-format: Standard: c++20
* clang-format: AlignConsecutiveBitFields
* clang-format: AlignConsecutiveMacros
* clang-format: RemoveParentheses: ReturnStatement
* clang-format: RemoveSemicolon: true
* Restored RemoveParentheses: Leave, retained general changes for it
* formatting: fixed logging TAGs
* Formatting update for dev
Co-authored-by: あく <alleteam@gmail.com >
2024-07-15 13:38:49 +09:00
MX
b299604932
js fix badusb double free crash with quit()
...
by Willy-JL
2024-04-12 20:02:38 +03:00
Willy-JL
6c508779e2
JS: Fix badusb double free crash with quit()
2024-04-11 03:33:15 +01:00
MX
294df5d1d4
desktop animations unload apilock revert
...
+ js layout fix and lfrfid ui fix
by Willy-JL
2024-04-06 05:40:53 +03:00
Willy-JL
b8295a2dac
JS: Fix default layout handling
2024-04-06 00:29:23 +01:00
MX
6e4d32b941
js add badusb layout support
...
by Willy-JL
2024-04-05 08:01:53 +03:00
Willy-JL
d4cd06816c
JS: Add badusb layout support
2024-04-05 05:33:43 +01:00
MX
aaa7c81f99
js modules updates 2
...
by Willy-JL
2024-03-23 23:48:55 +03:00
Willy-JL
401ab0da1f
JS: Fix badusb.quit() and serial.end()
2024-03-23 20:38:34 +00:00
MX
e0469ae1ed
Adding F13-F24 function key support to BadUSB
...
https://github.com/flipperdevices/flipperzero-firmware/pull/3468/files
2024-03-22 11:26:00 +03:00
Willy-JL
d610e20060
Merge branch 'dev' of https://github.com/flipperdevices/flipperzero-firmware into mntm-dev
2024-03-21 02:07:27 +00:00
Gabe
702ab672bb
Adding F13-F24 function key support to BadUSB ( #3468 )
...
* Adding F13-F24 function key support to BadUSB
* Adding F13-F24 function key support to JS version of BadUSB
Co-authored-by: hedger <hedger@users.noreply.github.com >
Co-authored-by: あく <alleteam@gmail.com >
2024-03-21 06:45:16 +09:00
MX
6f560ef210
js updates
...
by Willy-JL , oldip
2024-03-20 13:13:04 +03:00
Willy-JL
1bf0d3ab9a
JS: Improve badusb.altPrint() robustness
2024-03-19 04:41:12 +00:00
oldip
4d1678a99a
Improve ALT+Numpad typing simulation with adjustable delay AND Testing Completed
2024-03-18 23:14:06 +08:00
oldip
88a080c168
Remove the delay
2024-03-18 22:33:19 +08:00
oldip
23033095b1
Correctly defined js_badusb_altPrint function
2024-03-18 22:22:45 +08:00
oldip
eff99a6015
orrectly defined js_badusb_altPrint function
2024-03-18 22:21:15 +08:00
oldip
879d654f70
Function to simulate typing text using ALT key + Numpad ASCII code without adding a newline at the end
2024-03-18 22:15:25 +08:00
oldip
4737c3af8c
Function to simulate typing text using ALT key + Numpad ASCII code without adding a newline at the end
2024-03-18 22:14:51 +08:00
oldip
a5a9292aa1
less delay
2024-03-18 22:11:05 +08:00
oldip
dbb0408f99
Construct the numpad key name
2024-03-18 21:56:56 +08:00
oldip
97a5022129
simulating key presses by converting each character to its ASCII code and then inputting it using the ALT+numeric keypad sequence
2024-03-18 21:52:50 +08:00
oldip
1bee1c7749
modify delay to 200ms
2024-03-18 19:08:13 +08:00
oldip
e09b39fccd
add delay
2024-03-18 18:59:48 +08:00
oldip
728ed4d11a
rewrite the js_badusb_altPrintln function and fix the missing pointer
2024-03-18 18:45:59 +08:00
oldip
e4b72c003e
rewrite js_badusb_altPrintln function
2024-03-18 18:35:12 +08:00
oldip
68746193a0
Fix dynamic construction of NUMPAD keycodes in altPrintln
2024-03-18 16:01:13 +08:00
oldip
fc3a1f28b2
Adjusting the altPrintln functionality to release the ALT key after each character
2024-03-18 15:52:51 +08:00
oldip
e790ffad3a
Fix snprintf truncation issue in altPrintln
2024-03-18 15:19:35 +08:00
oldip
8e44322a15
Add altPrintln functionality for ALT+Numpad support
2024-03-14 10:53:22 +08:00
oldip
5095338341
Add numpad keybindings to improve non-US input methods
2024-03-14 09:34:22 +08:00
MX
113afc0d0f
usbdisk support in js
...
by Willy-JL
2024-02-21 00:40:29 +03:00
Willy-JL
7288499d13
Js BadUSB add quit() function to switch with UsbDisk
2024-02-16 05:34:32 +00:00
Willy-JL
9a7ee41ee1
JS unlock BadUSB automatically
2024-02-16 05:22:19 +00: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