1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-06-27 02:12:35 +00:00
Commit Graph

15256 Commits

Author SHA1 Message Date
Lukas Bielesch
26a52a5ed4 chore(core/eckhart): change button content vertical aligment implementation
- previous impl. using allcase_height wasn't properly centering the text
[no changelog]
2025-06-05 23:59:19 +02:00
Roman Zeyde
f6f1471774 refactor(core): convert translation strings to str once
Instead of doing it on every `TranslationStringsChunk::get()` call.

[no changelog]
2025-06-05 21:08:14 +03:00
Roman Zeyde
d6b1cff024 feat(core): support new translation blob format
It supports multiple translations strings chunks and allows total
container size to be above 64kB.

Previous format is also supported by firmware.
2025-06-05 20:55:56 +03:00
Roman Zeyde
96fd484c2f chore(core): use .into() to convert from u16 to usize
It would fail to compile in case there is a possible truncation,
since using `as` will result in silent truncation.

[no changelog]
2025-06-05 20:55:56 +03:00
Roman Zeyde
880ee5af7a chore(core): remove unused MAGIC constant
[no changelog]
2025-06-05 20:55:56 +03:00
Roman Zeyde
dbee0c615a ci(core+legacy): re-add main UI diff reports
Use a single HTML file to aggregate per-model/test reports.
Also, change a bit the final HTML report directory structure,
to allow each jobs to upload its results concurrently.

[no changelog]
2025-06-05 19:24:44 +03:00
Roman Zeyde
23317d9390 test(legacy): add a missing t1_take_screenshots check in DebugLing`
[no changelog]
2025-06-05 19:20:27 +03:00
Roman Zeyde
5601c0286e test(legacy): enable --do-master-diff for legacy emulator UI tests
[no changelog]
2025-06-05 19:20:26 +03:00
Roman Zeyde
a4d3a60f99 ci(core): fix width inconsistency of GitHub comment icon
[no changelog]
2025-06-05 19:20:26 +03:00
Roman Zeyde
5a738d0157 ci: remove tarball generation from ui-report
[no changelog]
2025-06-05 19:20:26 +03:00
Roman Zeyde
e31bc3c9eb ci(legacy): remove legacy_ui_main CI job
[no changelog]
2025-06-05 19:20:26 +03:00
Roman Zeyde
da97b919e7 ci(core): remove core_ui_main job
[no changelog]
2025-06-05 19:20:26 +03:00
Martin Milata
26d66251a5 refactor(core): get_context raises NoWireContext if not found
[no changelog]
2025-06-05 15:53:23 +02:00
Martin Milata
99f56a09d0 refactor(core/ui): parametrize show_pairing_code
[no changelog]
2025-06-05 15:53:23 +02:00
Martin Milata
2c45bac81a refactor(core): ignore BLE exceptions on boot
[no changelog]
2025-06-05 15:53:23 +02:00
Martin Milata
24279a60c0 refactor(core): drain the BLE event queue whenever layout is running
[no changelog]
2025-06-05 15:53:23 +02:00
Martin Milata
c3afe4c67b feat(core): BLE pairing flow
[no changelog]
2025-06-05 15:53:23 +02:00
Martin Milata
f077f2d1c1 feat(core/ui): eckhart: BLE event handling
[no changelog]
2025-06-05 15:53:23 +02:00
Roman Zeyde
86629cf696 ci(core): disable ASAN builds on nightly CI runs
Following #5143.

[no changelog]
2025-06-05 16:51:41 +03:00
Martin Milata
11c2f31499 ci: build PYOPT=1 emulators nightly
[no changelog]
2025-06-05 15:29:27 +02:00
Martin Milata
6d0bcca70c fix(core): emulator build with PYOPT=1
[no changelog]
2025-06-05 15:29:27 +02:00
Roman Zeyde
5c49084a16 perf(core): wrap AddressDetails in a GcBox
[no changelog]
2025-06-04 21:01:25 +03:00
Roman Zeyde
a0ab4963f0 fix(core): close previous homescreen before changing it
Otherwise, it will fail due to double `ImageBuffer` locking.

Also, add a test to reproduce the locking issue.

[no changelog]
2025-06-04 21:00:38 +03:00
Roman Zeyde
bdc75e295d chore(core): improve ImageBuffer locking error message
Usually `AllocationFailed` is due to GC OOM errors,
while here it's more "deadlock-like" scenario.

[no changelog]
2025-06-04 20:52:55 +03:00
cepetr
8a115eff03 chore(core): reformat FEATURES_WANTED list for readability
[no changelog]
2025-06-04 16:58:15 +02:00
cepetr
bbb74c03a4 feat(core): introduce secure monitor
[no changelog]
2025-06-04 16:58:15 +02:00
cepetr
e66f4f2d83 refactor(core): simplify unprivileged SAES execution
[no changelog]
2025-06-04 16:58:15 +02:00
cepetr
37b608827c feat(core): allow execution of syscalls in thread mode
[no changelog]
2025-06-04 16:58:15 +02:00
cepetr
a133a01a1f feat(core): support mpu region setup per applet
[no changelog]
2025-06-04 16:58:15 +02:00
cepetr
a48abdb577 refactor(core): move tropic i/o definitions to t3w1 board
[no changelog]
2025-06-04 16:58:15 +02:00
cepetr
820a3c5ba2 refactor(core): remove redundant SYSCALL_DISPATCH definition
[no changelog]
2025-06-04 16:58:15 +02:00
cepetr
1cf9dc4d62 refactor(core): simplify linker scripts II
[no changelog]
2025-06-04 16:58:15 +02:00
cepetr
aa5ba7aba6 refactor(core): simplify linker scripts
[no changelog]
2025-06-04 16:58:15 +02:00
cepetr
5b537103bd feat(core): improve post mortem info for secure fault
[no changelog]
2025-06-04 16:58:15 +02:00
cepetr
05acc1599b fix(core): enable SecureFault handling
[no changelog]
2025-06-04 16:58:15 +02:00
cepetr
a7466298ff refactor(core): prepare for secure/non-secure memory layout
[no changelog]
2025-06-04 16:58:15 +02:00
cepetr
1a372b5019 feat(core): allow passing postmortem info in bootargs
[no changelog]
2025-06-04 16:58:15 +02:00
Lukas Bielesch
cafed0d02b chore(core/eckhart): Unify usage of ParagraphVecShort
[no changelog]
2025-06-04 12:47:50 +02:00
Lukas Bielesch
3f14cd1d27 chore(eckhart): replace-by-fee update
[no changelog]
2025-06-04 12:47:50 +02:00
Lukas Bielesch
17f2d05baa fix(core): clippy warning
[no changelog]
2025-06-04 12:47:50 +02:00
tychovrahe
ec4e6de040 fix(core/prodtest): fix bolt welcome screen without power manager
[no changelog]
2025-06-04 08:12:48 +02:00
tychovrahe
7294cc62fb feat(core/prodtest): separate prodtest UI implementation for Eckhart
[no changelog]
2025-06-04 08:12:48 +02:00
tychovrahe
d5a9b7ee58 fix(core/prodtest): show homescreen after fuel gauge monitor ends
[no changelog]
2025-06-04 08:12:48 +02:00
Lukas Bielesch
d91923b999 chore(core/eckhart): Update passphrase-related flows
[no changelog]
2025-06-03 18:59:37 +02:00
Lukas Bielesch
41a852c675 chore(core/eckhart): Update ConfirmAction button styling logic 2025-06-03 18:59:37 +02:00
Lukas Bielesch
1f69975ba9 chore(core/eckhart): Allow TextScreen to be used without a header
[no changelog]
2025-06-03 18:59:37 +02:00
Roman Zeyde
c01b56a5a0 fix(core): Eckhart doesn't have a separate confirm page
[no changelog]
2025-06-03 18:10:35 +03:00
Lukas Bielesch
9643253630 feat(eckhart): implement FW update UI trait function
[no changelog]
2025-06-03 17:02:20 +02:00
kopecdav
32a830da1c fix(core/prodtest): fix vcp jamming when USB unplugged.
[no changelog]
2025-06-03 15:11:15 +02:00
Ioan Bizău
98aa195443 fix(core/ui): confirm_output subtitle
[no changelog]
2025-06-03 15:06:29 +02:00