1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-30 03:18:20 +00:00
Commit Graph

13781 Commits

Author SHA1 Message Date
matejcik
3de77db2b8 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-10-16 16:23:46 +02:00
matejcik
7578f77ce8 feat(tests): sync received responses
to prevent "unexpected response to Initialize" errors
2024-10-16 16:23:46 +02:00
matejcik
2869c805d2 docs(core): add changelog 2024-10-16 16:23:46 +02:00
matejcik
c6bd058db3 style: fix complaining lints & formatters 2024-10-16 16:23:46 +02:00
matejcik
fe7ceeec4b fix(core): correctly repaint ShowMore component when requested 2024-10-16 16:23:46 +02:00
matejcik
33a200a0e9 tests: fix small irregularities 2024-10-16 16:23:45 +02:00
matejcik
ad96676f18 refactor(core): improve recovery_enter_share 2024-10-16 16:23:45 +02:00
matejcik
83d2fd4832 tests: use read_layout everywhere 2024-10-16 16:23:45 +02:00
matejcik
9aa2c6123a docs(core): Layout lifecycle documentation 2024-10-16 16:23:45 +02:00
matejcik
fcc5658221 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-10-16 16:23:45 +02:00
matejcik
f86bdca4b7 fix(core/ui): repaint the title of Progress layout when requested 2024-10-16 16:23:45 +02:00
matejcik
df6483c269 feat(core): unify RustLayout, implement single global layout 2024-10-16 16:23:45 +02:00
matejcik
532d461a02 refactor(core/rust): introduce layout lifecycle states on Rust side 2024-10-16 16:23:45 +02:00
matejcik
e7bc73bebc 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-10-16 16:23:45 +02:00
matejcik
027a6ce8f0 build(core): fix random order seed when using zsh 2024-10-16 16:23:45 +02:00
matejcik
bddcfa0878 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-10-16 16:23:45 +02:00
matejcik
9d834d2ec7 feat(core): add mailbox as a simplified version of chan 2024-10-16 16:23:45 +02:00
matejcik
d88ecc1c24 refactor(core): remove debuglink support from main handle_session
It is being moved into a custom handler for the debug app.
2024-10-16 16:23:45 +02:00
matejcik
1f1eaa68a6 refactor(core): remove unused features from loop.race 2024-10-16 16:23:45 +02:00
matejcik
5686f46a03 feat(core): introduce timeout to loop.wait() 2024-10-16 16:23:45 +02:00
tychovrahe
0f84d51051 refactor(core): expose USE_TOUCH and USE_BUTTON to uPy
[no changelog]
2024-10-16 16:23:45 +02:00
matejcik
e9bb598d2f refactor(core/rust): create a single code path allowed to modify SwipeFlow state 2024-10-16 16:23:45 +02:00
M1nd3r
7b6ce56ac3 fix(core): remove redundant AES_GCM flag in SConscript.firmware
[no changelog]
2024-10-16 16:19:28 +02:00
Martin Milata
a2a189ceb3 chore(core): update common/models.json
source: https://github.com/trezor/trezor-suite/blob/develop/packages/connect/src/data/models.ts
2024-10-14 15:49:38 +02:00
Martin Milata
7e00697625 chore(common): add mapping of which fw versions were released for which model 2024-10-14 15:49:38 +02:00
Ondřej Vejpustek
2d5d7201d5 feat(core): allow benchmark only in debug
[no changelog]
2024-10-11 16:35:34 +02:00
Ondřej Vejpustek
e8f8d0e7af build(core): move argument parsing together
[no changelog]
2024-10-11 16:35:34 +02:00
Ondřej Vejpustek
cf38460286 build(core): hide benchmark application behind compilation flag
[no changelog]
2024-10-11 16:35:34 +02:00
Ondřej Vejpustek
c8faac952a feat(python): implement benchmark application interface 2024-10-11 16:35:34 +02:00
Ondřej Vejpustek
52d85d1f39 feat(core): implement benchmark application 2024-10-11 16:35:34 +02:00
Ondřej Vejpustek
b436b39091 chore(core): add benchmark messages
[no changelog]
2024-10-11 16:35:34 +02:00
obrusvit
3f1d2059ca chore(core): update fixtures 2024-10-10 19:14:16 +02:00
obrusvit
cdaec13af0 feat(core): add more IT/PT translations 2024-10-10 19:14:16 +02:00
obrusvit
08845d410d fix(core/ui): add 2nd version of continue anyway
To distinguish between prompt and a question.
2024-10-10 19:14:16 +02:00
obrusvit
faa209b5d9 fix(core/ui): use correct labels at a few places
[no changelog]
2024-10-10 19:14:16 +02:00
obrusvit
3475354a1a fix(core/ui): fix title of XPUB success screen 2024-10-10 19:14:16 +02:00
Andrew Kozlik
911fe2a526 feat(core): Implement extend_mnemonics() for SLIP-39.
[no changelog]
2024-10-10 12:52:06 +02:00
tychovrahe
d71d9e9c34 feat(core): add T3W1 emulator build
[no changelog]
2024-10-09 15:06:40 +02:00
tychovrahe
a0c885d244 fix(core): fix T3T1 MCU definition for emulator
[no changelog]
2024-10-09 15:06:40 +02:00
tychovrahe
915d4fca94 feat(core): add support for T3W1, on F4
[no changelog]
2024-10-09 15:06:40 +02:00
tychovrahe
138fadbf7b feat(core): add LHS200KB display panel
[no changelog]
2024-10-09 15:06:40 +02:00
tychovrahe
5575fce461 chore(core): remove button state syscalls
[no changelog]
2024-10-09 15:06:40 +02:00
tychovrahe
f822074047 chore(core): add autogenerated notice to enums/__init__.py
[no changelog]
2024-10-09 15:06:40 +02:00
tychovrahe
91b1d950fd fix(core): fix rust compilation of pixeldata for new rendering on 16bit bus
[no changelog]
2024-10-09 15:06:40 +02:00
tychovrahe
b5b12ba50c fix(core): fix st7789-v driver issue data when using 16 bit bus
[no changelog]
2024-10-09 15:06:40 +02:00
cepetr
af4d792212 fix(emulator): fix rsod drawing in emulator
[no changelog]
2024-10-09 13:03:51 +02:00
cepetr
0ebc82728b fix(core): resolve static_assert error on macos compiler
[no changelog]
2024-10-09 13:03:51 +02:00
matejcik
3036d524a6 refactor(core): outline nested functions in mini_printf
so that we can compile it with clang

[no changelog]
2024-10-09 13:03:51 +02:00
cepetr
a247b4e87a refactor(core): rename reboot to reboot_device
[no changelog]
2024-10-09 13:03:51 +02:00
M1nd3r
c99988312a feat(core): add pairing credential manager
[no changelog]
2024-10-09 10:44:30 +02:00