Commit Graph

50 Commits

Author SHA1 Message Date
Willy-JL
2b5b6543d6 Merge remote-tracking branch 'ofw/dev' into mntm-dev 2024-09-07 19:14:22 +02:00
Silent
8672a1d94c Replace all calls to strncpy with strlcpy, use strdup more, expose strlcat (#3866)
strlcpy doesn't zero the buffer and ensures null termination,
just like snprintf

strlcat is already used by mjs and it's a safe alternative to strcat,
so it should be OK to expose to apps
2024-09-07 17:16:56 +01:00
Willy-JL
083c17f09d Revert some settings handling to how they work in OFW 2024-08-07 02:15:39 +02: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
169ffcac56 Revert ancient fix that's not needed anymore 2024-05-27 05:24:11 +01: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
0a55300926 Fix xtreme lib import 2023-12-02 06:32:04 +00:00
Willy-JL
418f44fef1 Merge branch 'dev' of https://github.com/flipperdevices/flipperzero-firmware into xfw-dev 2023-11-12 02:56:30 +00:00
あく
aa06328516 Furi, FuriHal: remove FreeRTOS headers leaks (#3179)
* Furi: remove direct FreeRTOS timers use
* Furi: eliminate FreeRTOS headers leak. What did it cost? Everything...
* SubGhz: proper public api for protocols. Format Sources.
* Furi: slightly less redundant declarations
* Desktop: proper types in printf
* Sync API Symbols
* Furi: add timer reset and fix dolphin service, fix unit tests
* Furi: proper timer restart method naming and correct behavior in timer stopped state.

---------

Co-authored-by: hedger <hedger@nanode.su>
2023-11-01 11:24:11 +04:00
Willy-JL
28bcc09d9b This can just be made global at this point lol 2023-10-26 04:03:42 +01:00
Willy-JL
aaafdc1a82 Fix asset packs folder change stuff 2023-07-26 15:03:56 +02:00
ClaraCrazy
3264c37e5b Migrate asset packs folder 2023-07-24 13:54:32 +02:00
Willy-JL
dd31294ad0 Expose base dolphin animation dir definition 2023-07-03 23:06:08 +02:00
Willy-JL
f780b832ad Ddesktop service and events cleanup 2023-06-27 19:57:31 +02:00
Willy-JL
014a30d8bf Fix xtreme settings values handling 2023-05-31 18:14:30 +01:00
Willy-JL
efe6dbf008 Revert "Formatting"
This reverts commit a441feec83.
2023-05-09 18:11:05 +01:00
Willy-JL
22910f8ca5 Format 2023-05-01 15:35:53 +01:00
Willy-JL
a6bc7f8abb Rework xtreme settings and assets implementation 2023-05-01 15:28:59 +01:00
Willy-JL
a441feec83 Formatting 2023-03-28 23:59:32 +01:00
Willy-JL
fa8ed7f6e4 Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware 2023-02-28 20:34:44 +00:00
Willy-JL
462a0c8efc Cleaner settings implementation (proper defaults) 2023-02-17 23:30:28 +00:00
Willy-JL
61e792eeeb Remove xfw setting animation speed cap 2023-02-13 22:06:59 +00:00
Willy-JL
5ed6abc4f7 Format 2023-02-13 01:40:49 +00:00
Willy-JL
22cf51e92b Fix garbage memory freeing 2023-02-13 00:41:47 +00:00
Willy-JL
53780e72ed Misc sonarcloud fixes 2023-02-13 00:01:49 +00:00
Willy-JL
efb11dfcbd Properly integrate xtreme apis and headers 2023-02-11 05:19:37 +00:00
Willy-JL
6555082e2a Revert "Merge branch 'dev' of https://github.com/ClaraCrazy/Flipper-Xtreme into dev"
This reverts commit 708dd167c8.
2023-02-10 20:50:30 +00:00
VerstreuteSeele
708dd167c8 Merge branch 'dev' of https://github.com/ClaraCrazy/Flipper-Xtreme into dev 2023-02-10 17:36:22 +01:00
Willy-JL
955e16b0ef Move NSFW mode to an asset pack 2023-02-10 03:14:40 +00:00
Willy-JL
64fa597e19 Fix animation load fail, size too big 2023-02-03 05:01:00 +00:00
VerstreuteSeele
a2b797fe01 formatting 2023-01-27 02:09:42 +01:00
Willy-JL
43904b41a5 No shitting the bed when asset pack has no anims 2023-01-24 12:40:59 +00:00
Willy-JL
109583cb9f SFW mode by default 2023-01-23 13:37:15 +00:00
Willy-JL
443dc93fc3 Add anim speed setting 2023-01-22 21:19:39 +00:00
Willy-JL
88eb98dd9e Fix sonarcloud bugs 2023-01-20 21:14:59 +00:00
Willy-JL
abffc3152f New asset system everywhere sfw mode is supported 2023-01-20 06:43:05 +00:00
Willy-JL
95552f536e Fix animation pathing 2023-01-20 03:01:10 +00:00
Willy-JL
3d1d1b2d67 Add anim support to custom asset packs 2023-01-20 00:29:16 +00:00
Willy-JL
da2ce47bd3 Move sfw mode to custom app 2023-01-17 19:58:27 +00:00
VerstreuteSeele
905bb23fdf Formatting & New updated IR 2023-01-14 08:44:32 +01:00
jbohack
d992b894ce free settings from memory 2023-01-08 21:04:53 -05:00
VerstreuteSeele
2deb648ec2 logging to make sure 2023-01-08 22:21:59 +01:00
VerstreuteSeele
9d51cb7f7b The nightmare begins, lol 2023-01-08 21:51:09 +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
Sergey Gavrilov
4000f0cac5 [FL-2870] Printf function attributes (#1841)
* Furi strings: printf attribute
* Logs: printf attribute
* Plugins: adapt
* Plugins: accommodate
* Unit tests: accommodate

Co-authored-by: あく <alleteam@gmail.com>
2022-10-07 22:35:15 +09:00
Sergey Gavrilov
4bf29827f8 M*LIB: non-inlined strings, FuriString primitive (#1795)
* Quicksave 1
* Header stage complete
* Source stage complete
* Lint & merge fixes
* Includes
* Documentation step 1
* FBT: output free size considering BT STACK
* Documentation step 2
* py lint
* Fix music player plugin
* unit test stage 1: string allocator, mem, getters, setters, appends, compare, search.
* unit test: string equality
* unit test: string replace
* unit test: string start_with, end_with
* unit test: string trim
* unit test: utf-8
* Rename
* Revert fw_size changes
* Simplify CLI backspace handling
* Simplify CLI character insert
* Merge fixes
* Furi: correct filenaming and spelling
* Bt: remove furi string include

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2022-10-06 00:15:23 +09:00
SG
b9a766d909 [FL-2627] Flipper applications: SDK, build and debug system (#1387)
* Added support for running applications from SD card (FAPs - Flipper Application Packages)
* Added plugin_dist target for fbt to build FAPs
* All apps of type FlipperAppType.EXTERNAL and FlipperAppType.PLUGIN are built as FAPs by default
* Updated VSCode configuration for new fbt features - re-deploy stock configuration to use them
* Added debugging support for FAPs with fbt debug & VSCode
* Added public firmware API with automated versioning

Co-authored-by: hedger <hedger@users.noreply.github.com>
Co-authored-by: SG <who.just.the.doctor@gmail.com>
Co-authored-by: あく <alleteam@gmail.com>
2022-09-15 02:21:03 +09:00