1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-15 12:08:59 +00:00
Commit Graph

13880 Commits

Author SHA1 Message Date
matejcik
e1b4a4a79a fix(core): allow Ping while locked
same behavior as on Trezor One
2024-11-12 16:55:17 +01:00
matejcik
adc3516ac6 feat(core): drop support for after-step-hook
This was necessary for hooking display.refresh() with the old UI toolkit.
With the new one, we explicitly refresh the display after every paint, so
implicit after-step refresh seems no longer necessary.
2024-11-12 16:55:17 +01:00
matejcik
9e911605da refactor(core/ui): reusable timers 2024-11-12 16:55:17 +01:00
matejcik
d385667b4a fix(tests): restore test functionality on legacy
The global layout related changes were wrong for T1 where debuglink
behavior is significantly different; in particular, it is not always
possible to communicate over debuglink.

This change reverts to the old behavior for T1B1 and keeps the new one
only for core-based models.
2024-11-12 16:55:17 +01:00
matejcik
617db52f43 feat(tests): sync received responses
to prevent "unexpected response to Initialize" errors
2024-11-12 16:55:17 +01:00
matejcik
2ddb811683 docs(core): add changelog 2024-11-12 16:55:17 +01:00
matejcik
11ae7a92ab style: fix complaining lints & formatters 2024-11-12 16:55:17 +01:00
matejcik
577c36614e fix(core): correctly repaint ShowMore component when requested 2024-11-12 16:55:17 +01:00
matejcik
adc9b523be tests: fix small irregularities 2024-11-12 16:55:17 +01:00
matejcik
cd25071a29 refactor(core): improve recovery_enter_share 2024-11-12 16:55:17 +01:00
matejcik
82290c2e5c tests: use read_layout everywhere 2024-11-12 16:55:17 +01:00
matejcik
e3a478044d docs(core): Layout lifecycle documentation 2024-11-12 16:55:17 +01:00
matejcik
84d7597d52 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-11-12 16:55:17 +01:00
matejcik
eb97bafeef fix(core/ui): repaint the title of Progress layout when requested 2024-11-12 16:55:17 +01:00
matejcik
0e8dcbb498 feat(core): unify RustLayout, implement single global layout 2024-11-12 16:55:17 +01:00
matejcik
df368413c6 refactor(core/rust): introduce layout lifecycle states on Rust side 2024-11-12 16:55:17 +01:00
matejcik
c8f3ebfa21 refactor(core/ui): improve LayoutObj initialization
* 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-11-12 16:55:17 +01:00
matejcik
81b3fda665 build(core): fix random order seed when using zsh 2024-11-12 16:55:17 +01:00
matejcik
1fc7d41b8d fix(core): set default value for do_not_restart
otherwise if _handle_single_message raises an exception (which is
fortunately not something that should generally happen), the
finally-block would fail on "referenced before assignment"
2024-11-12 16:55:17 +01:00
matejcik
98dde40729 feat(core): add mailbox as a simplified version of chan 2024-11-12 16:55:17 +01:00
matejcik
7617bc8c25 refactor(core): remove debuglink support from main handle_session
It is being moved into a custom handler for the debug app.
2024-11-12 16:55:17 +01:00
matejcik
0334b42c8e refactor(core): remove unused features from loop.race 2024-11-12 16:55:17 +01:00
matejcik
b7b09b8836 feat(core): introduce timeout to loop.wait() 2024-11-12 16:55:17 +01:00
tychovrahe
1efb684544 refactor(core): expose USE_TOUCH and USE_BUTTON to uPy
[no changelog]
2024-11-12 16:55:17 +01:00
matejcik
dbe6c1c664 refactor(core/rust): create a single code path allowed to modify SwipeFlow state 2024-11-12 16:55:17 +01:00
tychovrahe
0d3af6a96a fix(core): fix firmware hashing on U5
[no changelog]
2024-11-12 12:55:36 +01:00
Martin Milata
1c7e8d5391 ci: always post UI report comment 2024-11-11 17:10:09 +01:00
Martin Milata
b40ce852ea build(core/translations): check order.json for holes
[no changelog]
2024-11-08 16:11:28 +01:00
cepetr
79cf4959d3 refactor(core): improve button driver (add interrupt support)
[no changelog]
2024-11-07 08:48:21 +01:00
tychovrahe
375a27978f feat(core): switch screenshot button to 's'
[no changelog]
2024-11-07 08:48:21 +01:00
tychovrahe
435fbd6e8c feat(core): add power button to button driver
[no changelog]
2024-11-07 08:48:21 +01:00
Martin Milata
0f8a2955ec fix(core/translations): preserve model groups when running cli.py gen
[no changelog]
2024-11-06 19:07:15 +01:00
Martin Milata
5bc2f8d1ec build(core): check if language versions match firmware
[no changelog]
2024-11-06 19:07:15 +01:00
Lukas Bielesch
7a61d8e858 chore(core) Translate hard-coded 'Enable labeling' string 2024-11-06 18:34:05 +01:00
Martin Milata
18d2372c10 chore(core): new signed translations for 2.8.0, 2.8.1, 2.8.3 2024-11-06 15:57:31 +01:00
Martin Milata
e558ec1c98 chore(core): bump version to 2.8.6
[no changelog]
2024-11-06 15:57:31 +01:00
Martin Milata
bbc72d7868 chore(core): bump translations version
[no changelog]
2024-11-06 15:57:31 +01:00
Martin Milata
e379f472c9 chore(core/prodtest): bump version to 0.2.12
[no changelog]
2024-11-06 15:57:31 +01:00
cepetr
29e03bd873 fix(core): fix haptic custom effect in loaders
[no changelog]
2024-11-05 21:04:32 +01:00
Martin Milata
3897bc8d72 fix(tests): make update_fixtures.py fetch legacy fixtures 2024-11-05 18:56:03 +01:00
Jack
e30a343095 feat: support Unchained p2wsh path
fix: move unchained paths to bitcoin multisig SPENDWITNESS

chore: add changelog
2024-11-05 11:26:28 +01:00
cepetr
7b6f444751 refactor(core): introduce global trezor_rtl/bsp/model headers
[no changelog]
2024-11-05 10:00:31 +01:00
Martin Milata
6d41c56089 chore(core/prodtest): bump version to 0.2.11
[no changelog]
2024-11-04 18:42:10 +01:00
Martin Milata
6d09b70603 chore(core): bump version to 2.8.5
[no changelog]
2024-11-04 18:42:10 +01:00
tychovrahe
33fc7fb2e6 fix(core): fix OTP write access 2024-11-04 18:33:03 +01:00
cepetr
dbe7a393a8 fix(core/prodtest): fix CPUID READ command 2024-11-04 18:32:42 +01:00
Ioan Bizău
461664ebfa chore(core/translations): update fixtures
[no changelog]
2024-11-04 17:10:01 +02:00
Ioan Bizău
715c18253d chore(core/translations): undo shortening of some translations
[no changelog]
2024-11-04 17:10:01 +02:00
cepetr
4929ca1c66 fix(core): fix bootloader_emu macOS build
[no changelog]
2024-11-04 14:05:37 +01:00
cepetr
c997201754 refactor(core): simplify ensure_compatible_settings
[no changelog]
2024-11-04 14:05:37 +01:00