MX
ae84992f25
Merge remote-tracking branch 'OFW/dev' into dev
2024-03-25 23:20:46 +03:00
Silent
8ec1c74baf
SavedStruct: Introduce saved_struct_get_metadata ( #3392 )
...
* SavedStruct: Replace saved_struct_get_payload_size with saved_struct_get_metadata
This new function can obtain the magic value, version and payload size
all at once. This makes the function useful e.g.
for backwards compatibility.
* SavedStruct: const-qualify saved_struct_save
* Toolbox: add saved struct documentation
Co-authored-by: あく <alleteam@gmail.com>
2024-03-26 03:48:18 +09:00
MX
7c0939ad52
Merge remote-tracking branch 'OFW/dev' into dev
2024-03-25 14:23:44 +03:00
MX
01f3192957
post merge fix
2024-03-25 14:08:51 +03:00
MX
9961dadee7
Gui: unicode support, new canvas API
...
merge ofw commit
2024-03-25 14:04:07 +03:00
MX
585b7f963d
Api Symbols: replace asserts with checks
...
merge ofw commit
2024-03-25 13:53:32 +03:00
WillyJL
c52f28efa4
GUI: Fix textbox overflow/crash/hang with 256+ lines ( #3536 )
...
* GUI: Fix textbox overflow/crash/hang with 256+ lines
* GUI: Textbox calculate lines based on font height
* Gui: proper types in text_box
Co-authored-by: あく <alleteam@gmail.com>
2024-03-25 15:28:20 +09:00
MX
385c3c1c01
Sync textbox changes with OFW PR 3536
...
by Willy-JL
https://github.com/flipperdevices/flipperzero-firmware/pull/3536/files
2024-03-23 23:32:47 +03:00
WillyJL
0a48658a9a
GUI: Fix elements module for new canvas API ( #3527 )
...
* GUI: Fix elements module for new canvas API
* Update symbols
* Update f18 symbols
* Gui: update elements for new canvas
Co-authored-by: hedger <hedger@users.noreply.github.com>
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2024-03-23 14:54:01 +09:00
MX
6d73b266d5
Fixes for text box and uart echo
...
thanks Willy-JL !
2024-03-22 22:47:24 +03:00
hedger
ee36c66572
fbt: doxygen
target ( #3510 )
...
* fbt: doxygen target
* github: adjustments for doxygen
* github: always generate docs, only upload for dev
* doxygen: fixed exclusion path for awesome-css
* github: stricter check for push ref
* github: bumped action version to fix node.js deprecation
* github: added PVS report url to workflow summary
* github: pvs: reworked report URL handling
* github: added size report to summary
* docs: added `doxygen` target
* fbt: common naming scheme for COMSTR
* Documentation: fix warnings and errors
* Doxygen: stricter warning checks
* fbt: "doxy" target, opens generated doxygen documentation in browser
* github: doxygen: now using edge (1.10) version
Co-authored-by: あく <alleteam@gmail.com>
2024-03-21 01:32:53 +09:00
Georgii Surkov
7987917d85
[FL-3496, FL-3523, FL-3767, FL-3790] Infrared fixes and more ( #3515 )
...
* FL-3496: do not hardcode universal library names in CLI
* FL-3523: remove TODO, no changes necessary
* FL-3767: remove TODO, no changes necessary
* FL-3790: fix laggy TextInput by not adding it into a ViewStack
* Improve documentation
* Fix logical error in documentation
Co-authored-by: あく <alleteam@gmail.com>
2024-03-20 23:54:07 +09:00
あく
bcde0aefbd
[FL-3729] Gui: unicode support, new canvas API ( #3322 )
...
* Revert "Rollback #3305 and #3297 fix various rendering issues (#3307 )"
This reverts commit 531ba24e9a
.
* Gui: refactor canvas to use proper coordinate system types. Furi: new furi_break check macros. Desktop: proper types for negative offset.
* Desktop: proper types in desktop_view_locked_doors_draw
* Examples: update images example, off it goes
---------
Co-authored-by: hedger <hedger@users.noreply.github.com>
2024-03-19 19:23:06 +04: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
MX
375eb55d33
Merge remote-tracking branch 'OFW/gsurkov/infrared_miscellany' into dev
2024-03-15 04:08:39 +03:00
Georgii Surkov
75432346de
Improve documentation
2024-03-12 19:54:45 +03:00
Georgii Surkov
3f7a070397
FL-3767: remove TODO, no changes necessary
2024-03-12 16:18:48 +03:00
MX
c9434492b8
Various changes, in expansion, rgb, js
...
by Willy-JL , Spooks4576 , Sil333033 , HaxSam
2024-03-11 00:37:29 +03:00
MX
58cd56a439
Merge branch 'ofw_dev' into dev p1
2024-03-10 23:35:44 +03:00
Astra
ecab4d53d2
[FL-870] Auto-generated firmware documentation take two ( #2944 )
...
* Add doxygen and doxygen-awesome css, cleanup docs files
* Ignore more libraries and remove leftover local variables
* Create an actual intro page
* .md files linting
* Add doxygen action
* Fix Doxygen path
* Fix doxyfile path
* Try to upload
* Change docs branch
* Add submudules checkout
* Disable doxygen on PR
* Mention the firmware docs in the readme
* More dev docs mentions in the readme
* Fix runner group, add tags
* Test dev in PR
* Disable running on PR
* Fix a typo in the doxyfile
* Try upload to S3
* Fix local path
* Fix S3 ACL
* Add delete flag, unifying dev and tags
* Update ignored directories
* More ignored directories
* Even more ignored directories
* Fix submodule
* Change S3 uploader
* Change S3 uploader version
* Fix aws sync flags
* Fix ACL
* Disable ACL
* Improve ignores, add WiFi devboard docs
* TEMP: generate dev docs
* TEMP: generate 0.89.0 docs
* Disabling PR trigger
* Enable submodules and test build
* Enable test build
* Disable test build
* Change docs directory structure
* Fix accidentally committed submodule
* Fix submodules
* Update links to the developer documentation
* Markdown linting
* Update workflow, enable test build
* Fix doxygen dir path
* Update Doxyfile-awesome.cfg
* Change paths
* Fix upload docs path
* Disable pull_request debug trigger
* Disable tags building
* Remove autolinks and namespaces
* Establish basic documentation structure
* Add missing changes
* Improve stylesheet, move some files
* Improve examples
* Improve the main page
* Improve application dev docs
* Improve system programming docs
* Improve development tools docs
* Improve other docs
* Improve application examples
* Fix formatting
* Fix PVS-studio warnings
* Improve visuals
* Fix doxygen syntax warnings
* Fix broken links
* Update doxygen action
Co-authored-by: DrunkBatya <drunkbatya.js@gmail.com>
Co-authored-by: あく <alleteam@gmail.com>
Co-authored-by: Georgii Surkov <georgii.surkov@outlook.com>
Co-authored-by: Georgii Surkov <37121527+gsurkov@users.noreply.github.com>
2024-03-06 15:25:21 +09:00
MX
88b354b57e
Merge branch 'ofw_dev' into dev
2024-03-02 07:24:47 +03:00
Sergei Gavrilov
18ea2371a4
Gui: reset canvas orientation and frame when entering direct draw mode ( #3488 )
2024-02-29 02:09:55 +04:00
hedger
bc309cebe6
Toolchain fixes ( #3451 )
...
toolchain: updated to v33 with debugging & other fixes
toolchain: better error handling during update/env configuration process
debugging: improved udev rules file, added readme on installation
firmware: bumped compiler C/C++ standards (stricter code checks)
firmware: fixed warnings emerging from newer standards
ufbt: FBT_NOENV is now also supported by ufbt
fbt: added ccache-related variables to env forward list on Windows
2024-02-26 16:16:19 +04:00
MX
16d1e71d6e
Merge remote-tracking branch 'OFW/hedger/toochain_29' into new_c_version
2024-02-21 00:43:42 +03:00
hedger
71e763d9b3
fbt: bumped c&cpp standard versions
2024-02-20 02:06:08 +00:00
MX
66c60e65aa
Merge fixes
...
+ thanks @Willy-JL !
2024-02-19 03:52:35 +03:00
MX
9fcf3795ee
Merge branch 'ofw_dev' into blerefactr
2024-02-19 00:46:40 +03:00
hedger
60a9d7e6cf
ble: profile rework ( #3272 )
...
* ble: profile rework, initial
* apps: hid: fix for pairing cleanup
* app: hid: select transport based on #define
* fixing PVS warnings
* ble: serial service: fixed uid naming
* bt service: on-demand dialog init; ble profiles: docs; battery svc: proper update
* Added shci_cmd_resp_wait/shci_cmd_resp_release impl with semaphore
* app: hid: separated transport code
* ble: fixed service init order for serial svc; moved hardfault check to ble_glue
* cli: ps: added thread prio to output, fixed heap display
* ble_glue: naming changes; separate thread for event processing;
* furi: added runtime stats; cli: added cpu% to `ps`
* cli: fixed thread time calculation
* furi: added getter for thread priority
* fixing pvs warnings
* hid profile: fixed naming
* more naming fixes
* hal: ble init small cleanup
* cleanup & draft beacon api
* f18: api sync
* apps: moved example_custom_font from debug to examples
* BLE extra beacon demo app
* naming fix
* UI fixes for demo app (wip)
* desktop, ble svc: added statusbar icon for beacon
* minor cleanup
* Minor cleanup & naming fixes
* api sync
* Removed stale header
* hal: added FURI_BLE_EXTRA_LOG for extra logging; comments & code cleanup
* naming & macro fixes
* quick fixes from review
* Eliminated stock svc_ctl
* cli: ps: removed runtime stats
* minor include fixes
* (void)
* naming fixes
* More naming fixes
* fbt: always build all libs
* fbt: explicitly globbing libs; dist: logging SDK path
* scripts: fixed lib path precedence
* hal: bt: profiles: naming changes, support for passing params to a profile; include cleanup
* ble: hid: added parameter processing for profile template
* api sync
* BLE HID: long name trim
* Removed unused check
* desktop: updated beacon status icon; ble: hid: cleaner device name management
* desktop: updated status icon
Co-authored-by: あく <alleteam@gmail.com>
Co-authored-by: nminaylov <nm29719@gmail.com>
2024-02-16 14:20:45 +07:00
MX
62edabe9dd
Merge branch 'ofw_dev' into dev
2024-02-15 13:56:57 +03: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
MX
6d15c23231
Merge branch 'ofw_dev' into dev
2024-02-14 12:12:54 +03:00
gornekich
a46038acbf
Gui text box: fix formatted string memory reservation ( #3447 )
...
* text box: reserve correct memory size to avoid reallocation
* Furi: change string reset behavior to release memory, prevent realloc call. Gui: fix NULL-ptr dereference in TextBox.
Co-authored-by: あく <alleteam@gmail.com>
2024-02-14 11:19:05 +07:00
Nikolay Minaylov
13493916e2
JS debug disabled, archive and file browser fixes ( #3446 )
...
Co-authored-by: あく <alleteam@gmail.com>
2024-02-14 10:14:29 +07:00
MX
949098bbc5
Merge remote-tracking branch 'OFW/gornek/nfc_fix_oom' into dev
2024-02-13 17:24:07 +03:00
gornekich
4042852825
text box: reserve correct memory size to avoid reallocation
2024-02-13 14:00:44 +00:00
MX
71a93e8cc3
Merge remote-tracking branch 'OFW/nm/js_archive_fixes' into dev
2024-02-13 16:29:15 +03:00
nminaylov
d75f2c62ca
JS debug disabled, archive and file browser fixes
2024-02-13 16:05:04 +03:00
MX
1faeca6e1b
Merge branch 'ofw_dev' into dev
2024-02-12 17:11:47 +03:00
Nikolay Minaylov
0154018363
[FL-3579, FL-3601, FL-3714] JavaScript runner ( #3286 )
...
* FBT: cdefines to env, libs order
* API: strtod, modf, itoa, calloc
* Apps: elk js
* Apps: mjs
* JS: scripts as assets
* mjs: composite resolver
* mjs: stack trace
* ELK JS example removed
* MJS thread, MJS lib modified to support script interruption
* JS console UI
* Module system, BadUSB bindings rework
* JS notifications, simple dialog, BadUSB demo
* Custom dialogs, dialog demo
* MJS as system library, some dirty hacks to make it compile
* Plugin-based js modules
* js_uart(BadUART) module
* js_uart: support for byte array arguments
* Script icon and various fixes
* File browser: multiple extensions filter, running js scripts from app loader
* Running js scripts from archive browser
* JS Runner as system app
* Example scripts moved to /ext/apps/Scripts
* JS bytecode listing generation
* MJS builtin printf cleanup
* JS examples cleanup
* mbedtls version fix
* Unused lib cleanup
* Making PVS happy & TODOs cleanup
* TODOs cleanup #2
* MJS: initial typed arrays support
* JS: fix mem leak in uart destructor
Co-authored-by: SG <who.just.the.doctor@gmail.com>
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2024-02-12 15:54:32 +07:00
Georgii Surkov
6836a7b7c5
[FL-3764] Expansion module service improvements ( #3429 )
...
* Separate expansion control and worker threads
* Add edge case checks
* Reduce expansion control thread stack size, add comments
* Fix crash when disabling expansion modules
* Show a different RPC icon for expansion modules
* Restore expansion interrupt on changing logging settings
* Improve responsiveness in heavy games at the expense of dropped frames
* Improve furi_hal_serial API
* Fix a typo
* Remove too optimistic furi_check, replace with condition
* Fix premature RX interrupt during serial configuration
* Disable expansion interrupt if the handle was acquired
* Do not use a timer callback
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2024-02-12 09:16:34 +07:00
hedger
14dabf523a
New toolchain with gcc 12 ( #3254 )
...
* changes for xPack 12.3
* support for gcc 13.2
* Update tools name
* Add new linux toolchain
* Fixed copro submodule
* Fix gdb-py
* Fixes for c++ apps
* Fix gdb-py3, add udev rules
* Fixed udev rules location
* Add MacOS arm, fix fbt toolchain download
* Fixed downloading error file
* fbt: fixed linker warnings; removed gcc 10 from list of supported toolchains
* ufbt: fixed supported toolchain versions
* nfc: replaced local malloc with calloc
* restored code with Warray-bounds to older state
* Update fbtenv.cmd
* Suppressing warnings
* Bump to 25
* Bump to 26
* lint: reformatted macros for new clang-format
* Bump to 27
* Fix m type word
* Bump to 28
* furi: added FURI_DEPRECATED macro
* scripts: toolchain download on Windows: fixing partially extracted cases
Co-authored-by: DrunkBatya <drunkbatya.js@gmail.com>
2024-02-12 09:04:12 +07:00
MX
8584702fd7
Merge remote-tracking branch 'OFW/gsurkov/3764_expansion_control' into dev
2024-02-10 17:06:25 +03:00
MX
5b97ddc842
Merge branch 'ofw_dev' into dev [ci skip]
2024-02-10 02:38:42 +03:00
Georgii Surkov
73deff8863
Do not use a timer callback
2024-02-09 16:31:45 +03:00
MX
afad5e4407
Merge branch 'ofw_dev' into dev
2024-02-09 12:48:37 +03:00
Georgii Surkov
f3f3e56c63
Merge branch 'dev' into gsurkov/3764_expansion_control
2024-02-09 12:27:14 +03:00
Nikolay Minaylov
b2a7bb0696
[FL-3672] CLI: cat command crash workaround ( #3358 )
...
* Cli input len limit, CDC EP type fix
Co-authored-by: あく <alleteam@gmail.com>
2024-02-09 15:59:24 +07:00
Georgii Surkov
534fe2fb26
Remove too optimistic furi_check, replace with condition
2024-02-08 14:50:39 +03:00
Georgii Surkov
1ad9bb8caf
Merge branch 'dev' into gsurkov/3764_expansion_control
2024-02-07 21:18:25 +03:00
Georgii Surkov
c489c956e7
Improve furi_hal_serial API
2024-02-07 21:13:38 +03:00