Commit graph

6923 commits

Author SHA1 Message Date
MX
891a6c047a
Merge remote-tracking branch 'OFW/dev' into dev 2024-09-13 22:26:58 +03:00
porta
b670d5b6e2
[FL-3885] Put errno into TCB (#3893)
* feat: thread-safe errno
* ci: fix pvs warning
* ci: silence pvs warning
* fix: 🤯
* test: convert test app into a unit test
2024-09-13 18:31:07 +01:00
porta
0428e82b14
Fix USB-UART bridge exit screen stopping the bridge prematurely (#3892)
* fix: exit screen stopping bridge prematurely
* refactor: merge exit confirmation scene into main usb uart scene
2024-09-12 17:32:07 +01:00
MX
c2f6ce7e54
upd readme [ci skip] 2024-09-11 03:00:09 +03:00
MX
f9f2938bd4
upd changelog 2024-09-11 02:28:00 +03:00
MX
1ca240b624
princeton custom buttons support [ci skip] 2024-09-11 01:59:41 +03:00
MMX
69598746bc
Merge pull request #805 from chrostino/patch-1
Update SubGHzRemoteProg.md to improve BFT Mitto steps
2024-09-11 01:58:56 +03:00
MX
2aa4797b12
Merge remote-tracking branch 'OFW/portasynthinca3/usbuart-stay-fix' into dev 2024-09-11 01:44:29 +03:00
chrostino
117e1789c1
Update SubGHzRemoteProg.md
Improved the description steps to create a new remote BFT Mitto with more detailed and accurate instructions
2024-09-10 22:30:58 +02:00
Anna Antonenko
c1a009aed0
fix: exit screen stopping bridge prematurely 2024-09-10 19:58:44 +03:00
MX
c1d31edda1
upd changelog 2024-09-10 06:12:13 +03:00
MX
ce53ed2a7c
fix wrong menu order [ci skip] 2024-09-10 06:03:54 +03:00
MX
876cbc40b7
Merge remote-tracking branch 'OFW/dev' into dev 2024-09-10 05:48:55 +03:00
RebornedBrain
5f4f4fcc60
FeliCa anti-collision fix (#3889)
* System code added to felica hal config functions
* Felica sensf_res setup logic adjusted with new struct
* Set api symbols version to 73.0
* Felica unit tests fix
* Furi: prevent use after free on xEventGroupSetBits call

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2024-09-09 22:11:53 +01:00
Zinong Li
78c5dd95d8
LFRFID GProxII Fix Writing and Rendering Conflict (#3888) 2024-09-09 18:23:18 +01:00
MX
533fe10738
upd changelog 2024-09-09 05:15:29 +03:00
MX
80ad381eef
extra checks [ci skip] 2024-09-09 05:13:02 +03:00
MX
b6644d7727
merge fixes [ci skip] 2024-09-09 04:13:10 +03:00
MX
7711b2daae
Merge remote-tracking branch 'OFW/dev' into dev 2024-09-09 04:11:35 +03:00
MX
5da447a2b0
more chance to generate working remote at gangqi 2024-09-09 04:11:00 +03:00
Silent
70d8951fb7
FuriTimer: Use an event instead of a volatile bool to wait for deletion (#3887)
Co-authored-by: あく <alleteam@gmail.com>
2024-09-09 00:04:56 +01:00
christhetech131
543f6058e5
Infrared: add TCL 75S451 to TV universal remote (#3880)
* Update tv.ir
* Infrared: mark TCL 75S451 block in universal remote, cleanup extra spaces

Co-authored-by: あく <alleteam@gmail.com>
2024-09-08 23:54:38 +01:00
Eric Betts
75f4782fab
Rename 'Detect Reader' to 'Extract MF Keys' (#3874)
* Rename 'Detect Reader' to 'Collect Nonces'
* Updated name
* Updated name
* Format Sources

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2024-09-08 23:43:14 +01:00
Zinong Li
a122ee75f6
LFRFID: Guard GProxII Wiegand Check Against False Positive and Correct 36-bit Parsing (#3868)
* Update protocol_gproxii.c
* 36 bit format parsing fix
* Update protocol_gproxii.c
* wiegand checks as single function
* LfRfid: simplify gprox wiegand payload validation flow
* LfRfid: extra furi_check in gprox wiegand validation code

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2024-09-08 11:25:31 +01:00
MX
6911ba12ad
Merge remote-tracking branch 'OFW/dev' into dev 2024-09-07 22:31:11 +03:00
Silent
8c2223df5d
Threading, Timers improvements (#3865)
* FuriTimer: Use a local variable to wait for deletion

This combines the current synchronous behaviour
(as we could have deferred the free call too) with
a smaller FuriTimer - it's safe to pass a pointer to
a local variable to this pending timer call, because we
know it'll be finished before the caller returns

* Tighten the use of FuriThread* vs FuriThreadId

Event loop and Loader mixed those two,
but the fact those are aliases should be an implementation detail.
For this reason, thread.c is still allowed to mix them freely.
2024-09-07 19:18:51 +01: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
Thomas Nemer
9bdf41d8ff
feat: add linux/gnome badusb demo resource files (#3846)
* feat: add linux/gnome badusb demo resource files
* doc: use latest appimage package and install icon and desktop file

Co-authored-by: Thomas N <atom@fortytwo.fr>
Co-authored-by: あく <alleteam@gmail.com>
2024-09-07 13:25:13 +01:00
porta
266d4b3234
[FL-3897] Happy mode (#3863)
* feat: happy mode
* feat: remove sad dolphin when powering off in happy mode
* style: address review comments
* Dolphin: add missing furi_checks
* Komi: add missing region initialization on startup

Co-authored-by: あく <alleteam@gmail.com>
2024-09-07 12:54:23 +01:00
Astra
3c75356b49
Fix detection of GProx II cards and false detection of other cards (#3869)
* Fix detection of GProx II cards and false detection of other cards as GProx II
* Fix incorrect parity starting bit

Co-authored-by: あく <alleteam@gmail.com>
2024-09-07 12:12:06 +01:00
MX
3f8a92bc86
Merge remote-tracking branch 'OFW/dev' into dev 2024-09-06 19:13:51 +03:00
Silent
8caa861cc7
Exposed view_dispatcher_get_event_loop (#3858)
* Exposed view_dispatcher_get_event_loop
* Bump api symbols

Co-authored-by: あく <alleteam@gmail.com>
2024-09-06 14:11:05 +01:00
Astra
ad27713f0d
[FL-3766] Fix crash on Ultralight unlock (#3855)
* Fix crash on Ultralight unlock
* Infrared: safe macroses

Co-authored-by: あく <alleteam@gmail.com>
2024-09-06 12:44:32 +01:00
MX
6adf4919c7
upd changelog 2024-09-06 13:06:05 +03:00
MX
4098ee927e
Merge remote-tracking branch 'OFW/dev' into dev [ci skip] 2024-09-06 12:56:52 +03:00
MX
ad1c9045af
use global counter 2024-09-06 12:56:35 +03:00
RebornedBrain
e0654fe409
[FL-3890] Infrared button operation fails now shows more informative messages (#3859)
* Error codes enum added
* Adjusted signal api to return error codes instead of bool
* Remote api adjusted to work with error codes
* Brute force logic adjusted to work with error codes
* Other application functions adjust to work with error codes
* All task callbacks now return ErrorCode through int32t, which belongs to thread
* All scenes now work with error codes
* More api functions now return error code
* Now signal names are buffered and restored in case of error.
* New error code enumeration added. Now least significant byte is left for the button index
* Some macro to simplify error setup and error check
* Error code checks replaced by macro
* Different message is now shown when move failed
* Comments updated
* Fixed error check
* Fixed navigation issue while openning broken files from Favorites
* Now search by index also returns index in addition to error code
* Remote loading logic adjusted
* New error codes added and numbers adjusted
* New error message when loading library file instead of signal one
* Some more remote loading logic adjusted
* New error message on rename fail
* Grammar mistake fix
* Function signature changed
* Function usage adjusted according to new signature

Co-authored-by: あく <alleteam@gmail.com>
2024-09-06 10:52:00 +01:00
MX
80a555a232
Merge remote-tracking branch 'OFW/dev' into dev 2024-09-06 12:50:15 +03:00
MX
64e231ae8d
fix logic 2024-09-06 12:47:43 +03:00
WillyJL
6a1c27ef93
Loader: Warn about missing SD card for main apps (#3875)
Co-authored-by: あく <alleteam@gmail.com>
2024-09-06 10:43:07 +01:00
MX
5198cd25ef
upd changelog 2024-09-06 12:40:51 +03:00
MX
2927e211a7
Merge remote-tracking branch 'OFW/dev' into dev 2024-09-06 12:40:06 +03:00
WillyJL
4fd76524c9
Desktop: Sanity check PIN length for good measure (#3879)
* Desktop: Sanity check PIN length for good measure
* Desktop: replace hardcoded values with macros in desktop_view_pin_input.c

Co-authored-by: あく <alleteam@gmail.com>
2024-09-06 10:33:17 +01:00
MX
910380559b
move logic 2024-09-06 12:16:34 +03:00
MX
4d8777d3a0
deduplicated
per @mishamyte request :))
2024-09-06 12:14:02 +03:00
MX
8d731f3b1b
hay21 add 3rd button 2024-09-06 11:52:03 +03:00
MX
7333c550d2
hay21 small ui fix 2024-09-06 11:46:11 +03:00
MX
58a167586e
upd changelog 2024-09-06 11:37:23 +03:00
MX
2e0cebc4f8
add hay21 dynamic protocol [ci skip] 2024-09-06 11:23:02 +03:00
MX
2762ff2def
gangqi serial validator and fix add manually 2024-09-06 10:11:43 +03:00