1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-13 02:58:57 +00:00
Commit Graph

13485 Commits

Author SHA1 Message Date
matejcik
3327de6d02 feat(python/debuglink): detect input flows that continue past end of test
should make input flows a tiny bit more robust still
2024-08-22 11:39:36 +02:00
matejcik
e19a58fb6e tests: fix small irregularities 2024-08-22 11:39:36 +02:00
matejcik
ee5443a9ec refactor(core): improve recovery_enter_share 2024-08-22 11:39:36 +02:00
matejcik
9cb9a2e15d tests: use read_layout everywhere 2024-08-22 11:38:54 +02:00
matejcik
84c58131f6 docs(core): Layout lifecycle documentation 2024-08-22 11:38:54 +02:00
matejcik
b5786c2ff6 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-08-22 11:38:54 +02:00
matejcik
fad653a38b fix(core/ui): repaint the title of Progress layout when requested 2024-08-22 11:38:54 +02:00
matejcik
98a6a2149c 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-08-22 11:38:54 +02:00
matejcik
b579796dd6 build(core): fix random order seed when using zsh 2024-08-22 11:38:54 +02:00
matejcik
ddeb11d88d fix(core): change incorrect usage of "deadline" in Rust timer code 2024-08-22 11:38:54 +02:00
matejcik
73019d079d feat(core): unify RustLayout, implement single global layout 2024-08-22 11:38:53 +02:00
matejcik
d24ea3ca7d 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-08-22 11:36:29 +02:00
matejcik
38b1151673 feat(core): add mailbox as a simplified version of chan 2024-08-22 11:36:29 +02:00
matejcik
1a1135b9b1 refactor(core): remove debuglink support from main handle_session
It is being moved into a custom handler for the debug app.
2024-08-22 11:36:29 +02:00
matejcik
c8ab4f83ad refactor(core): remove unused features from loop.race 2024-08-22 11:36:29 +02:00
matejcik
2adfe92e8d feat(core): introduce timeout to loop.wait() 2024-08-22 11:36:29 +02:00
tychovrahe
c30f1231d5 refactor(core): expose USE_TOUCH and USE_BUTTON to uPy
[no changelog]
2024-08-22 11:36:29 +02:00
tychovrahe
4b68431f7c feat(core): tune consumption mask protection on T3B1
[no changelog]
2024-08-07 18:11:43 +02:00
tychovrahe
c42c268e05 fix(core): fix dma2d includes and initialization with respect to new rendering
[no changelog]
2024-08-07 18:11:29 +02:00
tychovrahe
171961829a fix(core): fix gfx_clear
[no changelog]
2024-08-07 18:11:29 +02:00
vdovhanych
bb92a6b56a chore: fix hardcoded x86 build 2024-08-06 15:34:29 +02:00
vdovhanych
415d62bc66 ci: add arm emulator build in github actions 2024-08-06 15:34:29 +02:00
Ondřej Vejpustek
aedef2d69d refactor(core/tests): create template for solana
[no changelog]
2024-08-06 13:48:20 +02:00
Ondřej Vejpustek
90eef5331a refactor(core/solana): use local constants
[no changelog]
2024-08-06 13:48:20 +02:00
Ondřej Vejpustek
1c5d47a875 refactor(core/solana): use variables instead of literals
[no changelog]
2024-08-06 13:48:20 +02:00
tychovrahe
7307c47b94 chore(core): support new rendering on T3B1
[no changelog]
2024-08-01 16:17:12 +02:00
tychovrahe
182f8d9774 chore(core): fix unused warning
[no changelog]
2024-08-01 16:17:12 +02:00
tychovrahe
effd81ed3b chore(core): fix xframebuffer conditionals
[no changelog]
2024-08-01 16:17:12 +02:00
tychovrahe
4397978563 chore(core): add T3B1 binaries
[no changelog]
2024-08-01 13:29:38 +02:00
Martin Milata
c3161f8b18 chore(core): bump version to 2.8.2
[no changelog]
2024-07-31 14:15:42 +00:00
Ondřej Vejpustek
52437b1fc8 feat(core): improve optiga initialization error handling
[no changelog]
2024-07-31 14:55:30 +02:00
dependabot[bot]
974630897b build(deps-dev): bump zipp from 3.7.0 to 3.19.1
Bumps [zipp](https://github.com/jaraco/zipp) from 3.7.0 to 3.19.1.
- [Release notes](https://github.com/jaraco/zipp/releases)
- [Changelog](https://github.com/jaraco/zipp/blob/main/NEWS.rst)
- [Commits](https://github.com/jaraco/zipp/compare/v3.7.0...v3.19.1)

---
updated-dependencies:
- dependency-name: zipp
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-31 14:03:05 +02:00
cepetr
5498549425 build(core): bump scons from 4.3.0 to 4.8.0 2024-07-31 13:42:16 +02:00
Andrew Kozlik
13de099bc1 refactor(core): Improve parameter naming in ed25519_sign_ext().
[no changelog]
2024-07-31 13:34:34 +02:00
Andrew Kozlik
6ed8aad608 fix(core): Remove bias in ed25519.generate_secret()
[no changelog]
2024-07-31 13:34:34 +02:00
tychovrahe
b37971eea4 feat(core/prodtest): add commands to read bootloader and boardloader versions 2024-07-31 13:05:06 +02:00
tychovrahe
e30fe7769a feat(core/prodtest): add more touch layer tests 2024-07-31 13:05:06 +02:00
obrusvit
fbf380caba refactor(core/mercury): init Paragraphs from Vec
[no changelog]
2024-07-31 11:52:47 +02:00
obrusvit
ca469784ba chore(core): update fixtures.json
Update as a part of T3T1 recovery share success screens and adding a new
test of aborting the recovery process between shares for all models.

[no changelog]
2024-07-31 11:36:32 +02:00
obrusvit
935afbb46f tests: UI test of cancel recovery between shares
[no changelog]
2024-07-31 11:36:32 +02:00
obrusvit
37edfcb974 tests: fix input_flow of recovery abort
[no changelog]
2024-07-31 11:36:32 +02:00
obrusvit
71b2c986f8 feat(core/ui): send BR from rust during recovery
[no changelog]
2024-07-31 11:36:32 +02:00
obrusvit
510230628b feat(core): allow BR from rust on every Attach
This commit allows creating a rust flow in which a component sends the
configured ButtonRequest repeatedly on every Event::Attach.

This is necessary in recovery homescreen flow where we want to send
ButtonRequest also after restarting the device.

[no changelog]
2024-07-31 11:36:32 +02:00
obrusvit
11308f578d feat(core/ui): T3T1 instruction screens between shares
Changes the content and visual appearance of the screens between shares
during multi-share (shamir) recovery. Context menu with the option to
cancel is added to the screen.
2024-07-31 11:36:32 +02:00
Martin Milata
6c75d9f97a docs(core): fix 2.8.0 changelog 2024-07-31 08:56:47 +00:00
Ioan Bizău
4afaf4c41e Revert "fix(core/translations): remove unbreakable spaces for now"
This reverts commit cca066c476.

[no changelog]
2024-07-30 18:48:01 +03:00
Ioan Bizău
5188dfc83d feat(core): deal with non-breaking spaces
[no changelog]
2024-07-30 18:48:01 +03:00
Ioan Bizău
a35e9ba5fa chore(core/translations): use ASCII apostrophe in French
[no changelog]
2024-07-30 17:56:57 +03:00
cepetr
470d6ec24e fix(core/embed): fix too frequent reading of touch panel registers
[no changelog]
2024-07-30 16:53:52 +02:00
Ioan Bizău
33f5d47330 chore(core): rename "hidden wallet" -> "passphrase wallet"
[no changelog]
2024-07-29 17:45:28 +03:00