1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-03-25 12:35:43 +00:00
Commit Graph

14688 Commits

Author SHA1 Message Date
Lukas Bielesch
288c714ed2 feat(ui): Add function for expanding Button touch area 2025-03-19 14:38:53 +01:00
Lukas Bielesch
162954e371 feat(eckhart): Add common keyboard functionality 2025-03-19 14:38:53 +01:00
Lukas Bielesch
48bfcbc63c feat(eckhart): keyboard button styles 2025-03-19 14:38:53 +01:00
Lukas Bielesch
3afbeb708e feat(eckhart): Add parametrized content offset to Button 2025-03-19 14:38:53 +01:00
Lukas Bielesch
4fd0294423 chore(eckhart): Add dynamic padding option to vertical menu. Update rendering of separarators in vertical menu. 2025-03-19 14:38:53 +01:00
Lukas Bielesch
2755b17da5 feat(eckhart): full-screen select word component 2025-03-19 14:38:53 +01:00
Lukas Bielesch
f2984bdd23 chore(eckhart): Remove redundant code 2025-03-19 14:38:53 +01:00
Lukas Bielesch
ee0839e8d4 chore(eckhart): Add dynamic padding option to vertical menu.
Update rendering of separarators in vertical menu.
2025-03-19 14:38:53 +01:00
Lukas Bielesch
82a20c0048 feat(eckhart): Add new Button 'is_pressed' function 2025-03-19 14:38:53 +01:00
Lukas Bielesch
77fda140f2 chore(eckhart): fix button text and subtext rendering 2025-03-19 14:38:53 +01:00
Lukas Bielesch
4a5ef52be9 feat(eckhart): button styles for select word component 2025-03-19 14:38:53 +01:00
Lukas Bielesch
2ca5bf35e5 feat(eckhart): share words flow 2025-03-19 14:38:53 +01:00
Lukas Bielesch
ee13f4e07f feat(eckhart): full-screen share words component 2025-03-19 14:38:53 +01:00
Lukas Bielesch
8853be3e01 chore(eckhart): improve HTC animation 2025-03-19 14:38:53 +01:00
obrusvit
4b979a9a8a feat(eckhart): expand touch area of ActionBar 2025-03-19 14:38:53 +01:00
obrusvit
f622b7d845 feat(eckhart): implement hold to confirm anim
- HoldToConfirmAnim is driven by the ActionBar in case the right_button
is configured with `long_press`
- HoldToConfirmAnim optionally draws an Header overaly with custom text
- disabling animations is respected
- easing function is not yet finalized
- a few minor fixes along the way
2025-03-19 14:38:53 +01:00
obrusvit
acb6809a26 feat(eckhart): implement ScreenBorder overlay
- a static "custom shape" for eckhart layout which displays screen
overlay around the borders
2025-03-19 14:38:53 +01:00
Lukas Bielesch
d7ef9da2f2 feat(eckhart): Update vertical menu components 2025-03-19 14:38:53 +01:00
Lukas Bielesch
6832d34a82 feat(eckhart): Add new Back Header message type 2025-03-19 14:38:53 +01:00
Lukas Bielesch
5b2852c68b feat(eckhart): Add MenuItem button content type 2025-03-19 14:38:53 +01:00
Lukas Bielesch
f22ddb5da4 feat(eckhart): Add battery icons 2025-03-19 14:38:53 +01:00
Lukas Bielesch
acd3badb2a feat(eckhart): Add vertical menu button styles 2025-03-19 14:38:53 +01:00
obrusvit
cbebbd713e feat(eckhart): full-screen vertical menu component 2025-03-19 14:38:53 +01:00
obrusvit
b88ffd5d65 feat(eckhart): implement a few show_xyz functions 2025-03-19 14:38:53 +01:00
obrusvit
472edcadb7 feat(eckhart): implement confirm_value 2025-03-19 14:38:53 +01:00
obrusvit
681a86646f feat(eckhart): implement confirm_action 2025-03-19 14:38:53 +01:00
obrusvit
4ac068eeec feat(core): add color op to FormattedText
[no changelog]
2025-03-19 14:38:53 +01:00
obrusvit
45225e984a feat(eckhart): full-screen textual component
- TextScreen is a full-screen component for (paginated) texts
- it's supposed to wrap FormattedText or Paragraphs
2025-03-19 14:38:53 +01:00
obrusvit
6082b2b08c feat(eckhart): action bar component 2025-03-19 14:38:53 +01:00
obrusvit
73d163692d feat(eckhart): hint component 2025-03-19 14:38:53 +01:00
obrusvit
1b02696f76 feat(eckhart): header component 2025-03-19 14:38:53 +01:00
obrusvit
7039ad996d feat(eckhart): provisional homescreen 2025-03-19 14:38:53 +01:00
obrusvit
ba719f81b1 feat(eckhart): text styles 2025-03-19 14:38:53 +01:00
obrusvit
e47853510f feat(eckhart): add fonts 2025-03-19 14:38:53 +01:00
obrusvit
401943a5fa feat(eckhart): icon set 2025-03-19 14:38:53 +01:00
obrusvit
9759ce3c36 feat(eckhart): color palette 2025-03-19 14:38:53 +01:00
obrusvit
319f024a7d feat(eckhart): initial commit
- build
- directory structure
- bootloader UI and assets copied from delizia
- FirmwareUI trait functions are empty
- Python layout functions are copied from delizia except some of more
complicated ones which raise NotImplemented for now
2025-03-19 14:38:53 +01:00
Ioan Bizău
9b29cd2027 chore(core/tests): add green to UI diff
[no changelog]
2025-03-19 10:43:14 +01:00
Roman Zeyde
b07ed98ba4 test(core): allow saving verbose log into a file
[no changelog]
2025-03-19 10:28:17 +02:00
Roman Zeyde
abcbb5c2ab test(python): don't send ChangeLanguage during setup if not needed
[no changelog]
2025-03-18 17:45:34 +02:00
Roman Zeyde
f43954e672 test(python): don't send extra InitDevice and EndSession during setup
[no changelog]
2025-03-18 17:45:34 +02:00
Roman Zeyde
731725a624 test(core): also rerun in case of a packet loss
[no changelog]
2025-03-18 17:45:16 +02:00
Roman Zeyde
611d74c1b3 fix(core): correct confirmation fonts in Bolt 2025-03-18 13:23:39 +02:00
Vadim Anufriev
40d8760666 chore(python): update cli docs for reboot-to-bootloader command 2025-03-18 11:35:11 +01:00
Roman Zeyde
2f97b61870 fix(core): correct confirmation title on Caesar 2025-03-18 12:32:36 +02:00
Roman Zeyde
5fd168c363 feat(core): dump GC arena on OOM
Enabled for debug firmware and non-frozen emulator.

JSON dump can be extracted from debug log and analyzed using:

$ awk '/^\[$/,/^\]$/' <debug.log >dump.json
$ core/tools/analyze-memory-dump.py dump.json

[no changelog]
2025-03-17 20:17:42 +02:00
Roman Zeyde
2333a6a262 feat(core): log GC info in case of OOM
Enabled on debug firmware and non-frozen emulator.

[no changelog]
2025-03-17 20:17:42 +02:00
matejcik
2e72a8ce1b fix(python/debuglink): time out after waiting for empty-state response
...avoiding a problem where, if the timing is unfortunate, the reply may
get lost when a workflow is ending

(cherry picked from commit 3056b4934e)

[no changelog]
2025-03-17 20:16:14 +02:00
Roman Zeyde
49c9ad04cd feat(python): ignore unrelated responses
Old responses may be still in the receive queue
(blocking the device from handling new requests).

Let's "flush" them before starting the test.

[no changelog]
2025-03-17 20:16:14 +02:00
matejcik
e1ce484ba7 feat(python): add a timeout argument to read() from transport
also take the opportunity to switch to new style typing annotations
syntax

[no changelog]
2025-03-17 20:16:14 +02:00