obrusvit
5086bd3b0b
refactor(core/mercury): use params structs
...
Supply the rust layout with dedicated paremeter type instead of plain
micropython::Obj. The types used are ConfirmBlobParams and
ShowInfoParams.
[no changelog]
2024-10-27 12:50:17 +01:00
obrusvit
303cf99434
refactor(core/mercury): separate upy args parsing
...
[no changelog]
2024-10-27 12:50:17 +01:00
obrusvit
3240048fa7
refactor(core/mercury): remove duplicated struct
...
- removes 2nd definition of ConfirmBlobParams, the choice of fields and
what supplied in ctor and what in `with_` methods should be thought
through again.
[no changelog]
2024-10-26 13:49:07 +02:00
Martin Milata
333c5ecd93
fixup! feat(core): unify RustLayout, implement single global layout
2024-10-24 15:14:00 +02:00
Martin Milata
e71eb81f5e
test(core): fix T2T1 FIDO2 test
...
Submodule update only.
[no changelog]
2024-10-24 14:54:04 +02:00
Martin Milata
006ed69ea5
test(core): fix T3T1 U2F test
...
[no changelog]
2024-10-24 14:54:04 +02:00
Martin Milata
c0c8beedcc
test(core): fix test_reset_bip39_t2
...
[no changelog]
2024-10-24 14:54:04 +02:00
obrusvit
49ae3dee0c
fix(tests): fix T3B1 persistance test
2024-10-24 14:54:04 +02:00
obrusvit
380407f733
fixup! feat(core): unify RustLayout, implement single global layout
2024-10-24 14:54:04 +02:00
obrusvit
3e7c9f35f2
fixup! feat(core): unify RustLayout, implement single global layout
2024-10-24 14:54:03 +02:00
obrusvit
283de69484
fixup! refactor(core/rust): create a single code path allowed to modify SwipeFlow state
2024-10-24 14:54:03 +02:00
obrusvit
33a8d61734
fixup! fixup! docs(core): Layout lifecycle documentation
2024-10-24 14:54:03 +02:00
obrusvit
580a724ec8
fix(tests): fix click tests race condition
2024-10-24 14:54:03 +02:00
obrusvit
bd57a63839
fix(tests): assert multiple in slip39 checklist
2024-10-24 14:54:03 +02:00
Martin Milata
da1c06cd9d
fixup! feat(core): unify RustLayout, implement single global layout
2024-10-24 14:54:03 +02:00
matejcik
10636696a0
fixup! fixup! docs(core): Layout lifecycle documentation
2024-10-24 14:54:03 +02:00
matejcik
df6992bec2
fixup! feat(core): unify RustLayout, implement single global layout
2024-10-24 14:54:03 +02:00
matejcik
de0e3fdf7c
fix(tests): fix persistence tests, enable T3B1
2024-10-24 14:54:00 +02:00
matejcik
1adea09fdc
fixup! chore: update fixtures
2024-10-24 14:53:23 +02:00
matejcik
f774f3b37e
fixup! docs(core): Layout lifecycle documentation
2024-10-24 14:53:23 +02:00
matejcik
d84fc3d386
style: make style_check passing
2024-10-24 14:53:23 +02:00
matejcik
2dd6fb3592
chore: update fixtures
2024-10-24 14:53:23 +02:00
matejcik
0c6d1429d6
style(core/rust): fix linter complaints
2024-10-24 14:53:23 +02:00
matejcik
2d0e335dbb
fix(core): restore ellipsis functionality on TR
2024-10-24 14:53:23 +02:00
matejcik
9a8cc7979e
fix(tests): correctly check that backup flow was aborted
2024-10-24 14:53:23 +02:00
matejcik
94f7f3fbfd
fix(tests): do not place recorded.zip into the destdir
...
instead, download it to a temp location, as the Prophecy (and authors of
urlretrieve) foretold
2024-10-24 14:53:23 +02:00
matejcik
d408bf7113
fix(core): fix cancel behavior in SignMessage
2024-10-24 14:53:23 +02:00
matejcik
9231a3e9a9
fix(tests): do not trip deadlock detection in autolock test
2024-10-24 14:53:23 +02:00
matejcik
b697d30538
chore: update fixtures
2024-10-24 14:53:23 +02:00
matejcik
54b75f633d
chore(core/rust): add uDebug capability to more places
2024-10-24 14:53:23 +02:00
matejcik
93c6510b4b
fix(python): opportunistically catch a debuglink desync
...
In certain cases a DebugLinkState response can get stalled and debuglink
will not read it -- i.e., a situation analogous to wirelink de-sync.
There doesn't seem to be a good way to force-sync debuglink the same way
wirelink does it, but we can detect a wrong response to a
DebugLinkGetState and skip it.
2024-10-24 14:53:23 +02:00
matejcik
d803a846a3
style: fix style problems
2024-10-24 14:53:23 +02:00
matejcik
eb04d06f17
style(core/rust): avoid unused warning
2024-10-24 14:53:23 +02:00
matejcik
f7c461691b
fix(tests): stop waiting for background task after a timeout
...
Otherwise a test can hang if the result is not returned. This is not
even covered by pytest-timeout because if a test fails, the call to
task.kill() happens during teardown, and pytest-timeout doesn't cover
that.
2024-10-24 14:53:23 +02:00
matejcik
b408a4c7a9
chore(python): improve recovery type deprecation warning
2024-10-24 14:53:23 +02:00
matejcik
eff803a049
fix(python): improve robustness of TrezorClientDebugLink setup
...
* improve sync_responses to work on uninitialized instance
* sync responses at construction time
2024-10-24 14:53:23 +02:00
matejcik
fe2cd4657e
fix(core): allow Ping while locked
...
same behavior as on Trezor One
2024-10-24 14:53:23 +02:00
matejcik
9841ec67ac
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-10-24 14:53:23 +02:00
matejcik
65afa1f978
refactor(core/ui): reusable timers
2024-10-24 14:53:23 +02:00
matejcik
41f980b3a3
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-24 14:53:23 +02:00
matejcik
1b0d88b1fc
feat(tests): sync received responses
...
to prevent "unexpected response to Initialize" errors
2024-10-24 14:53:23 +02:00
matejcik
d9bfebef5d
docs(core): add changelog
2024-10-24 14:53:23 +02:00
matejcik
4912631701
style: fix complaining lints & formatters
2024-10-24 14:53:23 +02:00
matejcik
0da68f05f6
fix(core): correctly repaint ShowMore component when requested
2024-10-24 14:53:23 +02:00
matejcik
85a62aca85
tests: fix small irregularities
2024-10-24 14:53:23 +02:00
matejcik
dac1b658ff
refactor(core): improve recovery_enter_share
2024-10-24 14:53:23 +02:00
matejcik
dc8491fb94
tests: use read_layout everywhere
2024-10-24 14:53:23 +02:00
matejcik
5ab3e75bb9
docs(core): Layout lifecycle documentation
2024-10-24 14:53:23 +02:00
matejcik
1049e0873d
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-24 14:53:23 +02:00
matejcik
d6fddec14c
fix(core/ui): repaint the title of Progress layout when requested
2024-10-24 14:53:23 +02:00