Commit Graph

1869 Commits

Author SHA1 Message Date
WillyJL fa35fb5d56 Merge remote-tracking branch 'mntm/dev' into kiisu-mntm 2025-07-22 17:18:32 +02:00
WillyJL 580211c97c CLI: Fix long delay with quick connect/disconnect
noticeable with qflipper, for some reason it sets DTR on/off/on again
so flipper starts CLI, stops it, then starts again
but cli shell is trying to print motd, and pipe is already broken
so each character of motd times out for 100ms
changing pipe timeout to 10ms works too, but is just a workaround

it didnt always happen, i think that variable time of loading ext cmds
made it so on ofw it usually manages to print motd before pipe is broken
on cfw with more ext commands it always hung, on ofw only sometimes

important part is bailing early in cli shell
in cli vcp i made it cleanup cli shell on disconnect so it doesnt stay
around after disconnecting usb, might free a little ram maybe
2025-07-22 17:16:17 +02:00
WillyJL e723f22066 Merge remote-tracking branch 'mntm/dev' into kiisu-mntm 2025-07-22 03:52:09 +02:00
Alexander Bays 0e3e1b352b Desktop / MNTM Settings: Directories and generic files support for Keybinds / Main Menu (#331)
* feat(Desktop): Directories support for keybinds

- Adds *RIGHT* button select in the file browser dialogs and changing the `Open File` action to `Open File/Directory` in `Settings > Desktop > Keybinds Setup`. This adds the ability to open to any directory in the Archive app, in addition to the default behavior of opening a file in it's default app.

* line order mixup

* Main Menu: Allow adding JS files (or any file)

- Normal files and directories are now able to be added to then main menu and are run in their appropriate apps.
- e.g. .txt files shown in text viewer, .js files are run in the JS Runner app, and folders are navigated to by the Archive app. All similar to the desktop keybinds functionality.
- Icons are also assigned appropriately based on the extensions, though more could probably be added to the `loader_menu_get_ext_icon` function.
- Also replaced some of the long arduous is_dir checks and just used the `storage_dir_exists` function since its already there and does the same.

* should be checking `ext` for NULL

* Move select_right at end of structs for binary compatibility

apps may blindly reach into these structs so need to keep the basics in same structure

for DialogsFileBrowserOptions this is even in public api and after compilation this would be incompatible with other firmwares even without reaching into private structs

* Select menu item / folder for directories too

* Move api below too

* Keep ofw order here too

* Refactor starting archive into desktop, less FuriString passing around

* Dont leave main menu when launching archive

* Simplify/fix a few things

* Handle folders in run_with_default_app()

* Update App -> Item naming in MNTM settings

* Fix build

* Explain pressing right

* Update changelog

---------

Co-authored-by: WillyJL <me@willyjl.dev>
2025-07-22 01:51:33 +00:00
Alexander Bays 3193361e49 Input Settings: Add Vibro Trigger option (#429)
* Add `Vibro Trigger` to input settings

Adds vibro trigger type to input settings to allow vibration on only
press/release, or both.

* Didn't format, apparently

* Use a mask for smaller code, migrate setting to new version

* Update changelog

---------

Co-authored-by: WillyJL <me@willyjl.dev>
2025-07-22 01:49:29 +00:00
Aaron Tulino 4f014a630a Desktop: Fix lock screen hang (#438)
* Fix lock screen hang
See #438

* Desktop: Dont delay screen off at boot

* Update changelog

* Revert "Desktop: Dont delay screen off at boot"

This reverts commit ff43264258.

* Update changelog

* Format

---------

Co-authored-by: WillyJL <me@willyjl.dev>
2025-07-20 00:50:16 +00:00
Aaron Tulino b33456d243 MNTM Settings: Add Skip Sliding Animations option for Lockscreen (#436)
* Add Fast Lock/Unlock
The cover animation takes time and blocks input while animating, so add options to skip the animations.

* Combine options into "Skip Sliding Animation"

* Update changelog

* Wording

---------

Co-authored-by: WillyJL <me@willyjl.dev>
2025-07-20 00:46:11 +00:00
WillyJL a0abec896f Merge remote-tracking branch 'mntm/dev' into kiisu-mntm 2025-07-02 09:04:44 +01:00
WillyJL d38a3635f4 Merge remote-tracking branch 'fork-ofw/fix/noisy-uart-hang' into mntm-dev --nobuild 2025-07-02 08:38:04 +01:00
WillyJL 556edd086f Expansion: Stop UART async rx early 2025-07-02 07:14:13 +01:00
WillyJL b048546356 Expansion: Wake thread on UART error flag 2025-07-02 07:13:53 +01:00
WillyJL 5e2f42a1b6 Merge remote-tracking branch 'mntm/dev' into kiisu-mntm 2025-06-29 04:46:19 +01:00
WillyJL 9e1baf715e Merge remote-tracking branch 'fork-ofw/feat/nfc-type-4-final' into mntm-dev --nobuild 2025-06-29 03:43:52 +01:00
WillyJL d8504da698 Fix bad battery anim showing with fake power info 2025-06-20 04:43:15 +01:00
WillyJL 4095ba5a7c Merge remote-tracking branch 'kiisu/kiisudev' into kiisu-mntm 2025-05-23 04:21:25 +01:00
WillyJL 18d4110d7b Merge branch 'ofw-pr-4210' into mntm-dev --nobuild 2025-05-22 19:06:25 +01:00
WillyJL 9f2480aafc CLI: Fix crash with date command --nobuild
Related: https://github.com/akopachov/flipper-zero_authenticator-companion/issues/47
2025-05-08 07:41:46 +01:00
Veronika Kossmann 29023ce114 CLI branding 2025-05-05 02:28:23 +03:00
Veronika Kossmann 9426fdc40f More cat breeds ^_^ 2025-05-05 00:46:44 +03:00
Veronika Baranova 81a3d76af9 Random cat breed as Kiisu name 2025-05-03 22:45:25 +03:00
956MB b4b5f8a1a2 Infrared: Add text scroll to universal remote buttons
Replaces center aligned text in the infrared universal remote with scrollable text if wider than the button and is cut off. Allows long descriptive button functions to be seen in some remotes.
2025-05-02 19:38:54 -05:00
Veronika Baranova c462d7923b Port of custom_name from Unleashed 2025-05-02 21:51:57 +03:00
Sasha Sovenko 32bcd03158 disabled security enclave check and some power init 2025-04-27 15:48:30 +03:00
Willy-JL bc4bf99f77 Merge remote-tracking branch 'ul/dev' into mntm-dev 2025-04-23 04:21:50 +01:00
Willy-JL af17d70e5c Merge remote-tracking branch 'ofw/dev' into feat/nfc-type-4 2025-04-22 01:42:37 +01:00
Willy-JL 02d642745d Merge remote-tracking branch 'ofw/dev' into mntm-dev 2025-04-19 04:44:58 +01:00
MX 2e4a838202 Merge remote-tracking branch 'OFW/dev' into dev 2025-04-18 20:45:06 +03:00
Anna Antonenko 5b911f5405 RC fixes (#4192)
* cli_shell: fix FL-3983

* fix formatting and submodules

* loader: fix FL-3986

* fix submodules

---------

Co-authored-by: hedger <hedger@users.noreply.github.com>
2025-04-18 16:41:13 +04:00
WillyJL c420cbb1a5 Desktop: Fix freeze on boot if PIN set (#4193) 2025-04-18 05:52:15 +01:00
Willy-JL 2583b19c50 Merge branch 'fix/pin-lock-frozen-boot' into mntm-dev 2025-04-18 05:46:40 +01:00
Willy-JL e11c946ed6 Desktop: Fix freeze on boot if PIN set 2025-04-18 05:42:44 +01:00
Willy-JL b7cc3c627c Merge remote-tracking branch 'ofw/dev' into mntm-dev 2025-04-16 06:11:46 +01:00
Anna Antonenko 34a3222ec4 [FL-3979] USB-UART bridge fix (#4189)
* cli_vcp: make enable/disable requests synchronous

* usb_uart_bridge: open and close vcp record once
2025-04-16 04:20:31 +01:00
Willy-JL c2dbdb5dd5 Loader: Fix event edge cases, fixes Apps hang 2025-04-15 04:05:52 +01:00
MX 5f3d510f34 Merge remote-tracking branch 'OFW/porta/3979-usb-uart-vcp-fix' into dev 2025-04-15 03:05:16 +03:00
Anna Antonenko 63cfa2d684 cli_vcp: make enable/disable requests synchronous 2025-04-15 03:45:16 +04:00
MX 8a5129449d fix 2025-04-14 00:24:17 +03:00
Dmitry422 8a0fb5df36 LCD Inversion refactoring 2025-04-13 23:43:43 +07:00
Alexander Bays 16fb7e44df GUI: Checkerboard overlay behind popup elements (#380)
* GUI: Checkerboard overlay behind popup elements

Adds setting 'Popup Overlay' (default ON) which draws a checkerboard pattern behind popups, like the Archive actions menu, keypad/pin lock modal, and the varitemlist locked message. Gives the illusion of separation from the popup element and the background content and is an aesthetic improvement.

* Refactor

* Update changelog

---------

Co-authored-by: Willy-JL <49810075+Willy-JL@users.noreply.github.com>
2025-04-13 03:59:28 +01:00
Willy-JL f7da27f62c Loader: Share ViewHolder / Loading with LoaderMenu --nobuild 2025-04-13 02:37:04 +01:00
MX 9a57b19bfb Merge remote-tracking branch 'OFW/dev' into dev [ci skip] 2025-04-12 19:08:58 +03:00
Willy-JL 49d7ce7349 Merge remote-tracking branch 'ofw/dev' into mntm-dev 2025-04-12 10:36:13 +01:00
WillyJL 868eb10381 SDK: Fix missing RECORD_CLI define (#4185)
* SDK: Fix missing RECORD_CLI define

* sdk: added compatibility `cli.h` header

* cli: updated porting comments

---------

Co-authored-by: hedger <hedger@nanode.su>
2025-04-12 07:21:39 +04:00
MX d5935dc814 fmt 2025-04-12 03:11:35 +03:00
MX ad23d77f0e Merge remote-tracking branch 'OFW/dev' into dev 2025-04-12 03:04:17 +03:00
Anna Antonenko e1bccf66b3 Fix NULL dereference in CLI completions (#4184)
* cli_completions: fix null dereference

* cli: mark free_blocks as parallel safe

* codeowners: add me to co-owners of cli
2025-04-11 23:38:28 +01:00
Anna Antonenko 096c088bf1 vcp, cli: Handle Tx/Rx events before Connect/Disconnect + extra fixes (#4181)
* cli_vcp: handle tx/rx before connext/disconnect

* cli_vcp: disable trace

* cli_perf: advanced error reporting

* cli_vcp: reset tx flag directly in event handler

* fix formatting

* cli_vcp: make tx flag volatile

* storage_settings: fix scene ids

* cli_shell: add safety check to set_prompt

* cli_registry: move from bptree to dict, fix memory leak

* cli_vcp: go back to message queue for event signaling

* loader: move BeforeLoad event even earlier

* fix formatting
2025-04-11 14:53:10 +04:00
MX 025fd03a5a Merge remote-tracking branch 'OFW/porta/cli-event-ordering' into dev 2025-04-11 02:59:00 +03:00
Anna Antonenko 1b5a2496f5 fix formatting 2025-04-11 03:23:38 +04:00
Anna Antonenko 3c25c29dec loader: move BeforeLoad event even earlier 2025-04-11 03:21:53 +04:00