Commit Graph

12999 Commits

Author SHA1 Message Date
Willy-JL
b96b6dd197 Fix keypad lock when pin is set 2024-08-11 03:45:25 +02:00
Willy-JL
3169f102b8 Fix stealth mode toggle icon 2024-08-11 03:07:17 +02:00
Willy-JL
0ccc9c077f Don't save settings on load, only on edit 2024-08-11 02:30:45 +02:00
Willy-JL
6f7b330ad8 Fix keybinds pointer shenanigans 2024-08-11 01:56:06 +02:00
Willy-JL
cf5846979f Migrate files for int on ext, no more .config 2024-08-11 01:56:00 +02:00
Willy-JL
de940394c9 Fix most build errors 2024-08-10 05:32:18 +02:00
Willy-JL
6acfd65697 Cleanup API symbols
Services expose same sdk_headers as OFW
Since settings apps use some of those symbols, need to include them
Workaround is mock imports by #include the .c code
Not ideal, but we only need access to basic load/save functions, and these apps are bundled with firmware anyway, so should be fine
Not exposing via API and instead bundling via FAP also means less flash used, and RAM is not a concern with settings apps
2024-08-10 03:01:40 +02:00
Willy-JL
b430f82e44 Fix some desktop keybinds oversights 2024-08-10 02:56:19 +02:00
Willy-JL
1137bd651c Fix some app name migrations 2024-08-09 22:06:45 +02:00
Willy-JL
2b77091cac Desktop settings merge and refactor, keybinds improvements
- Keybinds in own code helper files
- Keybinds as flipper format, loaded only when ran, no limit on length
- Migrate from old keybinds
- Merge desktop settings refactors after LFS removal PR
- Statusbar clock setting in desktop settings like OFW
- Hand orient setting in system settings like OFW
2024-08-08 05:18:20 +02:00
Willy-JL
7905b829cf Merge desktop service changes, refactor some old code 2024-08-08 00:40:32 +02:00
Willy-JL
b14944b029 Sync desktop settings app to new stuffs 2024-08-07 22:15:59 +02:00
Willy-JL
06cb63f4bf Apply dolphin customizations without reboot 2024-08-07 21:26:41 +02:00
Willy-JL
d4ceb95b28 Simplify dolphin reset butthurt timer when disabled 2024-08-07 21:22:36 +02:00
Willy-JL
1225b7319c Reimplement exponential PIN code timeout post-merge 2024-08-07 20:53:15 +02:00
Willy-JL
0332efc700 Update changelog 2024-08-07 02:39:44 +02:00
Willy-JL
1b2d173d63 Start removing CFG_PATH() / .config, add MNT_PATH() macro 2024-08-07 02:35:09 +02:00
Willy-JL
bcf37a1bd4 Get BT settings from RAM for CLI 2024-08-07 02:18:19 +02:00
Willy-JL
fe390ccd02 Fix and cleanup some headers 2024-08-07 02:17:40 +02:00
Willy-JL
6c1ec67346 Fix some structs to be binary comaptible to OFW 2024-08-07 02:16:28 +02:00
Willy-JL
083c17f09d Revert some settings handling to how they work in OFW 2024-08-07 02:15:39 +02:00
Willy-JL
9adb1478e6 Fix /mnt path in archive 2024-08-05 20:24:13 +02:00
Willy-JL
669cf46ae0 BadKB: Lower BLE conn interval like base HID profile 2024-08-05 20:23:16 +02:00
Willy-JL
ae37f67466 BLE Spam: Can use 20ms again with LFS gone 2024-08-05 20:21:47 +02:00
Willy-JL
b8a6579379 Merge remote-tracking branch 'ofw/dev' into mntm-dev 2024-08-05 20:05:13 +02:00
Willy-JL
998344f079 Sync apps --nobuild 2024-08-04 22:47:59 +02:00
あく
4d985ba8f8 Storage: remove LFS (#3577)
* Storage: drop internal storage

* Storage: rollback some unnecessary changes

* Storage: rollback some unnecessary changes part 2

* Storage: cleanup various defines and int handling. Ble: allow short connection interval if internal flash is not used.

* Storage: do not return storage if it is not ready

* Save PIN code to RTC, update settings

* Simplify the code, clean up includes

* Rearrange some code

* apps: storage_move_to_sd: conditionally enable with --extra-define=STORAGE_INT_ON_LFS

* Load Desktop settings automatically

* Redirect /any to /ext

* Abolish storage_move_to_sd app

* Remove as many mentions of ANY_PATH as possible

* Fix desktop settings wrongly not loading

* Improve desktop settings handling and strings

* Load BLE settings and keys automatically

* Improve BLE configuration procedure

* Do not load bluetooth keys twice if they were already loaded

* Load dolphin state automatically

* Fix merge artifact

* Load notification settings automatically

* Update desktop settings strings

* Load expansion settings automatically

* Do not use thread signals to reload desktop settings

* Load region data automatically, separate to its own hook

* Improve ble behaviour with no keys

* Fix Dolphin state not resetting correctly

* Add a status check

* Make Desktop save its own settings

* Check result when taking and releasing mutex

* Improve default thread signal handling in FuriEventLoop

* Make bt service in charge of saving settings, add settings api

* Fix a deadlock due to timer thread not receiving time

* Lock core2 when reinitialising bt

* Update clang-format

* Revert "Update clang-format"

This reverts commit d61295ac063c6ec879375ceeab54d6ff2c90a9a1.

* Format sources with clang-format

* Revert old stack size for desktop settings

* Allocate big struct dynamically

* Simplify PIN comparison

* Save pointer to storage in Desktop object

* Fix region provisioning for hardware regions

* Remove stale TODO + siimplify code

* Clean up region.c

* Use sizeof instead of macro define

* Limit PIN length to 10 for consistency

* Emit a warning upon usage of /any

* Add delay after finding flipper

* Remove unnecessary delay

* Remove all mentions of STORAGE_INT_ON_LFS

* Remove littlefs and internal storage

* Remove all possible LittleFS mentions

* Fix browser tab in Archive

* Ble: fix connection interval explanation

* Bump API Symbols

* BLE: Update comments interval connection comments

* Storage: clear FuriHalRtcFlagStorageFormatInternal if set

---------

Co-authored-by: Georgii Surkov <georgii.surkov@outlook.com>
Co-authored-by: hedger <hedger@nanode.su>
Co-authored-by: Georgii Surkov <37121527+gsurkov@users.noreply.github.com>
2024-08-04 10:54:02 +01:00
Willy-JL
a28b840992 GUI: Fix Dark Mode after XOR canvas color 2024-08-02 23:58:13 +02:00
Willy-JL
298f734a93 Revert T5577 Raw Writer update, previous logic was correct 2024-08-02 22:28:04 +02:00
Ikko Eltociear Ashimine
f68da1f831 docs: fix typo in ReadMe.md (#172)
movevent -> movement
2024-08-02 22:12:03 +02:00
Willy-JL
53727022aa Merge remote-tracking branch 'ofw/dev' into mntm-dev 2024-08-02 21:56:35 +02:00
Willy-JL
9e82c8942b Update apps
- T5577 Raw Writer: Fix block count iteration (by Moon-Byeong-heui)
2024-08-02 21:55:28 +02:00
Astra
4f46032d32 [NFC] Change the plantain last number display from "?" to "X" (#3819) 2024-08-02 15:03:12 +09:00
Willy-JL
2ee3e6e385 Merge remote-tracking branch 'ofw/dev' into mntm-dev 2024-08-01 03:04:55 +02:00
BarTender NZ
bec6bd381f Add lfrfid GProxII support (#3796)
* Add lfrfid GProxII support
* Add rfid GProxII support and correct linting issues.
* Add GProxII support for 26 and 36 bit cards
* Add GProxII 26 and 36 bit key - fixing minor typos
* Add GProxII 26 and 36 bit key - fix typo
* Add GProxII 26 and 36 Bit support - Change comment to not fail lint checking on XOR Value

Co-authored-by: あく <alleteam@gmail.com>
2024-08-01 07:21:49 +09:00
Willy-JL
e5ccb3821e Merge remote-tracking branch 'ofw/dev' into mntm-dev 2024-08-01 00:05:36 +02:00
Filipe Paz Rodrigues
53cf700521 CCID App: Refactor (#3808)
- Move iso7816 related code to its own folder
- Refactor Iso7816Callback into Iso7816Handler
- Created new file for CCID commands
- Renamed variables according to standard

Co-authored-by: あく <alleteam@gmail.com>
2024-08-01 06:44:04 +09:00
Willy-JL
189e956847 Lock API version number for OFW app hub 2024-07-31 23:42:40 +02:00
Willy-JL
8646e1c477 Update changelog 2024-07-31 23:39:35 +02:00
Astra
f73d60cba8 [FL-3766] Refactor detected protocols list (#3809)
* Refactor detected protocols list
* nfc app: fix detect protocols file name
* nfc app: fix function naming
* nfc app: fix detected protocol menu selection

Co-authored-by: hedger <hedger@users.noreply.github.com>
Co-authored-by: あく <alleteam@gmail.com>
Co-authored-by: gornekich <n.gorbadey@gmail.com>
2024-08-01 06:37:37 +09:00
Willy-JL
10bc24145e Fixes for -Wundef and iButton ID 2024-07-31 23:36:25 +02:00
Willy-JL
b4c24e6e4b Merge remote-tracking branch 'ofw/dev' into mntm-dev 2024-07-31 23:06:48 +02:00
Willy-JL
114ca2e11a Update apps
- Seader: Remove some optional asn1 fields (by bettse)
- NFC Playlist: Fix extension check and error messages (by acegoal07)
2024-07-31 23:00:36 +02:00
Astra
59eb749b2b [FL-3879] Fix plantain balance string (#3813)
* Fix balance string
* nfc app: remove ? in plantain

Co-authored-by: hedger <hedger@users.noreply.github.com>
Co-authored-by: あく <alleteam@gmail.com>
Co-authored-by: gornekich <n.gorbadey@gmail.com>
2024-08-01 05:57:00 +09:00
DerSkythe
56fef61c66 fix: Ensure proper closure of variadic function in mjs_array (#3798)
The changes ensure that the `va_end` function is always called after `c_vsnprintf` in `mjs_array.c`

Co-authored-by: あく <alleteam@gmail.com>
2024-08-01 02:12:26 +09:00
Astra
01b402ba2b [FL-3827] iButton ID writing (#3734)
* Function naming corrections and enabled writing ID for all dallas blanks
* Enable ID writing for ds1971 and ds1996
* Sync API Symbols

Co-authored-by: あく <alleteam@gmail.com>
2024-08-01 01:59:41 +09:00
hedger
380ec2ac46 Added -Wundef to compiler options (#3815)
* fbt: added -Wundef to compiler options; libs: various small fixes for missing defines; desktop: proper access to current RTOS config
* apps: fixes for FURI_DEBUG handling
* rpc: unified definition checks
* Cleanup various defines use
* Cleanup configs and move SVCall ISR priority configuration to furi_hal_interrupts

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2024-08-01 01:38:20 +09:00
hedger
afc4e299a1 toolchain: v39 (#3793)
* toolchain: v39
* vscode, sublime: re-enabled clangd binary from toolchain as language server
* Sublime project: update for toolchain v39

Co-authored-by: あく <alleteam@gmail.com>
2024-07-30 11:30:25 +09:00
あく
360005c1d5 Furi: update string documentation (#3803)
Co-authored-by: hedger <hedger@nanode.su>
2024-07-29 17:06:08 +04:00
Willy-JL
a2903f57c8 Apps: Add T5577 Raw Writer (by zinongli) mntm-005 2024-07-29 02:16:00 +02:00