Commit Graph

1874 Commits

Author SHA1 Message Date
WillyJL b0963b4e1c Merge remote-tracking branch 'ul/dev' into mntm-dev 2025-07-31 19:40:48 +02:00
MX 3b7d837e48 fmt 2025-07-30 04:30:01 +03:00
MX fb41c6c20c Input Settings: Add Vibro Trigger option
by 956MB & WillyJL
2025-07-30 04:28:22 +03:00
MX 6a2f062234 OFW PR. 4251 CLI: Fix long delay with quick connect/disconnect
by WillyJL
2025-07-30 03:43:36 +03:00
WillyJL c37c67200e Merge remote-tracking branch 'fork-ofw/fix/cli-delay' into mntm-dev 2025-07-23 00:19:56 +02:00
WillyJL a27d092d51 Fix use after free crash 2025-07-23 00:01:00 +02:00
WillyJL 291ed9d1ed 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:17:36 +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
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
MX aad07ed943 expansion and serial fixes and new api
by HaxSam & WillyJL
2025-07-05 17:57:30 +03: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
MX 1382a6af46 submenu merge all changes
by WillyJL
2025-06-30 19:48:34 +03: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 d0e5dbe63e Power: Arm auto-poweroff when app chaining finished 2025-06-11 04:03:17 +01:00
WillyJL 407e482566 Loader: Fix misplaced ApplicationBeforeLoad events 2025-06-11 04:02:42 +01:00
WillyJL 18d4110d7b Merge branch 'ofw-pr-4210' into mntm-dev --nobuild 2025-05-22 19:06:25 +01:00
Dmitry422 08205f9ff9 RGB backlight bug removed. 2025-05-19 23:43:40 +07:00
Dmitry422 d399d3d7e5 Merge branch 'dev' of https://github.com/Dmitry422/unleashed-firmware into dev 2025-05-19 00:40:04 +07:00
Dmitry422 ee3e7bc3bf RGB vibro control tune + Display backlight always ON option. 2025-05-19 00:37:28 +07:00
MX 5471b211d2 Infrared: Add text scroll to remote buttons OFW PR 4210
by 956MB

https://github.com/flipperdevices/flipperzero-firmware/pull/4210/files
2025-05-16 17:48:35 +03:00
MX 78e2adbf5c fix desktop anim switch override by favourites 2025-05-12 01:06:13 +03: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
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
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