1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-07-24 15:38:22 +00:00
Commit Graph

12795 Commits

Author SHA1 Message Date
matejcik
45606dd448 wip 2024-03-08 13:21:49 +01:00
matejcik
2b2a2c1fc2 fix(core): correctly repaint ShowMore component when requested 2024-03-08 13:21:49 +01:00
matejcik
d2e8d8d5b2 feat(python/debuglink): detect input flows that continue past end of test
should make input flows a tiny bit more robust still
2024-03-08 13:21:49 +01:00
matejcik
432643be5a chore(translations): drop trailing ellipses from progress 2024-03-08 13:21:49 +01:00
matejcik
1ca81ab8f5 tests: fix small irregularities 2024-03-08 13:21:49 +01:00
matejcik
4efbf53099 refactor(core): improve recovery_enter_share 2024-03-08 13:21:49 +01:00
matejcik
cf3e529409 tests: use read_layout everywhere 2024-03-08 13:21:49 +01:00
matejcik
a3f675dde2 docs(core): Layout lifecycle documentation 2024-03-08 13:21:49 +01:00
matejcik
fd11101267 feat(python/debuglink): make input flows part of the traceback 2024-03-08 13:21:49 +01:00
matejcik
3388772aa1 feat(core): show progress before starting to wipe device
This doesn't actually advance the progress while device erase is ongoing, but at least the user sees a loader.
2024-03-08 13:21:49 +01:00
matejcik
3443ffad1a fix(core/ui): repaint the title of Progress layout when requested 2024-03-08 13:21:49 +01:00
matejcik
f4ad62eb72 refactor(core/ui): improve LayoutObj initialization
* some functionality was moved into LayoutObjInner impl, making operations more ergonomic
* placement is now invoked explicitly at construction time, instead of relying on EventCtx magic
* RequestPaint message is sent at construction time to force calculation of number of pages
* given that Attach corresponds to "start the layout" message, Child now responds to Attach
  the same way it responds to RequestPaint, by force-repainting everything.
2024-03-08 13:21:49 +01:00
matejcik
961defb28b build(core): fix random order seed when using zsh 2024-03-08 13:21:48 +01:00
matejcik
670888d2dc fix(core): change incorrect usage of "deadline" in Rust timer code 2024-03-08 13:21:48 +01:00
matejcik
3b139ac668 feat(core): unify RustLayout, implement single global layout 2024-03-08 13:21:48 +01:00
matejcik
4a8dc89d7d feat(core): add mailbox as a simplified version of chan 2024-03-08 13:17:50 +01:00
matejcik
ca78ff4e1c refactor(core): remove debuglink support from main handle_session
It is being moved into a custom handler for the debug app.
2024-03-08 13:17:50 +01:00
matejcik
111b2ac8a1 refactor(core): remove unused features from loop.race 2024-03-08 13:17:50 +01:00
matejcik
5eccebb004 feat(core): introduce timeout to loop.wait() 2024-03-08 13:17:50 +01:00
tychovrahe
a98d84060d refactor(core): unify touch and button handling, enable usage of both in one model
[no changelog]
2024-03-08 13:17:50 +01:00
matejcik
48de0cb469 chore: update fixtures for translations 2024-03-08 13:17:12 +01:00
matejcik
1fede16548 fix: update check-bitcoin-only exceptions list 2024-03-08 13:17:12 +01:00
matejcik
b6e8567a49 fix(core): exclude altcoin functions from bitcoinonly build 2024-03-08 13:17:12 +01:00
matejcik
f34ad3daf1 fix: correctly detect all altcoin names in check-bitcoin-only
The -d multi-select picks only coins that are available on _all_ models.
Besides, it's more correct to check even for unsupported altcoins.
2024-03-08 13:17:12 +01:00
matejcik
17678ef38d fix(core/rust): exclude altcoin strings from generated code 2024-03-08 13:17:12 +01:00
matejcik
ccf4b7e9eb fix(core/rust): convert bitcoin_only to an additive feature
universal_fw enables more features, as opposed to bitcoin_only removing features
2024-03-08 13:17:12 +01:00
Martin Milata
a433f8f914 test(core): ignore {0} in bitcoin-only firmware 2024-03-08 11:00:48 +00:00
matejcik
fd3919254c refactor(core/ui): rename confirm_payment_request to should_...
Because confirm_* returns None and raises on false.

but this layout is actually a prompt akin to should_show_more
2024-03-07 09:53:00 +01:00
matejcik
34965ca2cb refactor(core/ui): use LayoutObj signatures in layout files
* make sure every confirm_* returns None
* prefer "def -> Awaitable[T]" to "async def -> T" everywhere (avoids one useless allocation per call)
* type-check return values from Rust layouts
2024-03-07 09:53:00 +01:00
matejcik
0304484ca6 docs(core): add method signatures for LayoutObj to mocks (fixes #2672)
feat(core): annotate CONFIRMED/CANCELLED/INFO as fake class UiResult
2024-03-07 09:53:00 +01:00
matejcik
99457bbcb0 refactor(core/ui): make request_number signature the same in TT and TR 2024-03-07 09:53:00 +01:00
matejcik
29863f84ca refactor(core): simplify context.wait() to only accept one task
Nobody was using the multi-task version and this is easier to properly
type-annotate.
2024-03-07 09:53:00 +01:00
tychovrahe
e736d389f2 fix(core): fix backlight reinitialization with maximum value
[no changelog]
2024-03-05 16:51:23 +01:00
tychovrahe
8ccd2cb048 feat(core): add support for T3T1 rev. E HW
[no changelog]
2024-03-05 16:51:23 +01:00
Martin Milata
bfacd07ed7 fix(core): add production pubkeys for translations
[no changelog]
2024-03-04 12:16:20 +00:00
Martin Milata
2b0ce0398c chore(core): bump version to 2.7.1
[no changelog]
2024-03-04 09:56:21 +00:00
tychovrahe
ffabee2e6a chore(core): bump fw and fix version due to storage migration
[no changelog]
2024-03-01 15:26:43 +00:00
tychovrahe
d69750fae4 refactor(core): do not use framebuffer dma copy in boardloader to safe flash space
[no changelog]
2024-02-29 23:40:17 +01:00
tychovrahe
f08bed363d refactor(core): extract framebuffer copy to separate bg_copy functionality
[no changelog]
2024-02-29 23:40:17 +01:00
tychovrahe
afefc17478 refactor(core): use internal framebuffer on T3T1 (with ST7789V display controller)
[no changelog]
2024-02-29 23:40:17 +01:00
tychovrahe
416794a463 fix(core): add missing refresh to boardloader startup
[no changelog]
2024-02-29 23:40:17 +01:00
tychovrahe
5c7726126f fix(core): fix bootloader jump to firmware through reset UI
[no changelog]
2024-02-29 23:40:17 +01:00
tychovrahe
66583f2ebf fix(core): fix missing refresh in progress layout
[no changelog]
2024-02-29 23:40:17 +01:00
tychovrahe
b62dc27f06 feat(core): add translations support for U5 models
[no changelog]
2024-02-29 23:05:56 +01:00
tychovrahe
7c800f183f refactor(core): make translations blob handling HW agnostic
[no changelog]
2024-02-29 23:05:56 +01:00
tychovrahe
eb6796059c fix(core): fix st7789v driver compilation for other than T models
[no changelog]
2024-02-29 23:05:56 +01:00
tychovrahe
8313c15f34 feat(core): allow SD card hotswap based on production date for Model T 2024-02-29 23:05:56 +01:00
tychovrahe
0e70fcdc6f feat(core): add haptic to prodtest
[no changelog]
2024-02-29 23:05:56 +01:00
tychovrahe
61b3273baa chore(core): add makefile commands for erasing bootloader and firmware, fix read/erase storage commands
[no changelog]
2024-02-29 23:05:56 +01:00
tychovrahe
8c1425edd5 perf(core): optimize boot time by removing unnecessary touch initialization delays 2024-02-29 23:05:56 +01:00