Commit Graph

62 Commits

Author SHA1 Message Date
Willy-JL
0ccc9c077f Don't save settings on load, only on edit 2024-08-11 02:30:45 +02:00
Willy-JL
de940394c9 Fix most build errors 2024-08-10 05:32:18 +02:00
Willy-JL
fe390ccd02 Fix and cleanup some headers 2024-08-07 02:17:40 +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
b8a6579379 Merge remote-tracking branch 'ofw/dev' into mntm-dev 2024-08-05 20:05:13 +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
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
Willy-JL
23da827361 Merge branch 'dev' of https://github.com/flipperdevices/flipperzero-firmware into mntm-dev 2024-06-04 03:03:23 +01:00
hedger
03196fa110 cleanup of various warnings from clangd (#3682)
* cleanup of various warnings from clangs
* lfrfid_debug: cast fixes
* subghz: binraw: round->roundf
* furi: thread: updated internal stack size variable to size_t
* github: fail faster on unsuccessful build
* unit_tests: double trouble
2024-06-03 14:43:23 +01:00
Willy-JL
06aea09169 Merge branch 'dev' of https://github.com/flipperdevices/flipperzero-firmware into mntm-dev 2024-03-20 04:18:26 +00:00
あく
acc39a4bc0 Api Symbols: replace asserts with checks (#3507)
* Api Symbols: replace asserts with checks
* Api Symbols: replace asserts with checks part 2
* Update no args function signatures with void, to help compiler to track incorrect usage
* More unavoidable void
* Update PVS config and code to make it happy
* Format sources
* nfc: fix checks
* dead code cleanup & include fixes

Co-authored-by: gornekich <n.gorbadey@gmail.com>
Co-authored-by: hedger <hedger@users.noreply.github.com>
Co-authored-by: hedger <hedger@nanode.su>
2024-03-19 23:43:52 +09:00
Willy-JL
5d38d888e3 Passport hide Lvl/Tot text, Tot = 0 to 30, Lvl30 = 9999xp 2024-03-03 03:24:34 +00:00
Willy-JL
b7220237de Small bump in the road
- Update assets and references for new project
- Revert DFU image and CLI motd
- Remove NSFW text and flag
- Remove credits animation (will be replaced with a setting menu soon)
- New EvilPortal example HTML and better error message
- Initial standalone naming for asset packs and mainmenu apps
- File migration fixes/improvements
- Remove hotfix workflow
2024-03-01 06:11:16 +00:00
Willy-JL
9656fa319e DateTime lib refactor fixes 2024-02-16 00:39:47 +00:00
Willy-JL
fe0ff08c52 Merge branch 'dev' of https://github.com/flipperdevices/flipperzero-firmware into xfw-dev 2024-02-15 22:48:18 +00:00
Leptopt1los
feb45f6645 FuriHalRtc refactor: new datetime lib (#3386)
* datetimelib created
* datetimelib unit tests added
* firmware fixes to new datetimelib
* typo fix
* merge artifacts fixed, datetimelib renamed to datetime

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2024-02-15 10:44:41 +07:00
Willy-JL
f4d58c286b Fix mbedtls api leaks 2023-12-02 06:30:37 +00:00
Willy-JL
160ab755a2 Only loader gives app xp 2023-08-30 18:45:04 +02:00
Willy-JL
397287819a Dolphin add missing deeds + fix&clean state code 2023-08-11 22:31:34 +02:00
Willy-JL
6e7048f84c Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into xfw-dev 2023-08-03 12:09:59 +02:00
Astra
035e447009 [FL-3462] External apps icounter (#2928)
Co-authored-by: あく <alleteam@gmail.com>
2023-08-02 12:58:39 +09:00
Willy-JL
8338335f8b Change mood in xfw app 2023-05-14 21:47:49 +01:00
Willy-JL
d91f70b837 Move config file migration to flipper init 2023-05-10 23:36:03 +01:00
jl1990
4fb63eb36b Code cleanup 2023-05-02 18:36:06 +02:00
Willy-JL
10096ec95a Store main settings in dedicated ext folder 2023-03-28 00:13:28 +01:00
Willy-JL
5facf6dc89 Move setting files to sd card 2023-03-25 20:12:48 +00:00
Willy-JL
fc5f181d11 Raise daily xp limits 2023-03-24 22:10:31 +00:00
Willy-JL
479b8d8deb Add dolphin state and xtreme to api headers 2023-03-04 22:05:19 +00:00
Willy-JL
fa8ed7f6e4 Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware 2023-02-28 20:34:44 +00:00
Willy-JL
85e77d82db Remove dolphin deeds (xp) from games 2023-02-20 20:30:40 +00:00
Willy-JL
f3bb068fd7 Rename bad usb to bad kb 2023-02-03 17:43:59 +00:00
yocvito
a6daa2a20d drop useless file and some useless line 2023-01-27 11:56:29 +01:00
Willy-JL
350f446d00 Actually expose dolphin levels 2023-01-18 10:29:47 +00:00
Willy-JL
e03f80ce0c Expose dolphin levels 2023-01-18 10:15:41 +00:00
Willy-JL
93399489bd Fix level system 2023-01-17 18:04:13 +00:00
VerstreuteSeele
35befd07c4 Remove "Flipper" from BT name + formatting 2023-01-16 04:29:26 +01:00
Willy-JL
4e1dc9216c XP bar progress to next level, not overall 2023-01-14 17:19:24 +00:00
VerstreuteSeele
905bb23fdf Formatting & New updated IR 2023-01-14 08:44:32 +01:00
VerstreuteSeele
a026ab37bd Who tf wrote this, and why? | Biggest stability update ever
Bro, what the fuck is this bullshit? I swear imma go cry if I see more shit like that...
2023-01-06 01:45:02 +01:00
VerstreuteSeele
d279639e53 Massive overhaul | Part 1 2022-12-30 05:12:53 +01:00
Georgii Surkov
8582670a34 [FL-2811] Fix PVS-Studio warnings (#2142)
Co-authored-by: あく <alleteam@gmail.com>
Co-authored-by: gornekich <n.gorbadey@gmail.com>
2022-12-26 21:13:30 +09:00
VerstreuteSeele
fbdf33f915 - Fixed Passport Crash - - Fixed SFW_mode XP glitch - - Fixed other dolphin deeds - - - Added Web Updater to release - - - Thanks for all your support <3 | Check out my Discord! 2022-12-26 04:08:30 +01:00
VerstreuteSeele
ed18f371e8 Update dolphin_deed.c 2022-12-26 01:22:47 +01:00
VerstreuteSeele
9974be830b Update dolphin_state.c 2022-12-23 23:24:01 +01:00
VerstreuteSeele
e503f01739 Better code 2022-12-23 23:21:40 +01:00
VerstreuteSeele
590e21c739 Update dolphin_state.c 2022-12-23 21:31:14 +01:00
VerstreuteSeele
9a36a739fb Update dolphin_state.c 2022-12-23 19:45:08 +01:00
VerstreuteSeele
a96c197c1d hey rogue... wtf were you smoking with those levels? 2022-12-23 08:56:18 +01:00
RogueMaster
51286c21dd Merge branch 'ofwdev' into 420 2022-10-28 04:06:11 -04:00