1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-05-23 17:28:46 +00:00
Commit Graph

973 Commits

Author SHA1 Message Date
obrusvit
12aff322aa feat(eckhart): expand touch area of ActionBar 2025-04-08 12:33:56 +02:00
obrusvit
7a10216947 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-04-08 12:33:56 +02:00
obrusvit
8d32d819f2 feat(eckhart): implement ScreenBorder overlay
- a static "custom shape" for eckhart layout which displays screen
overlay around the borders
2025-04-08 12:33:56 +02:00
Lukas Bielesch
822f4d250d feat(eckhart): Update vertical menu components 2025-04-08 12:33:56 +02:00
Lukas Bielesch
98498bef9f feat(eckhart): Add new Back Header message type 2025-04-08 12:33:56 +02:00
Lukas Bielesch
9491496ef5 feat(eckhart): Add MenuItem button content type 2025-04-08 12:33:56 +02:00
Lukas Bielesch
9de3109336 feat(eckhart): Add battery icons 2025-04-08 12:33:56 +02:00
Lukas Bielesch
c4ee0668ce feat(eckhart): Add vertical menu button styles 2025-04-08 12:33:56 +02:00
obrusvit
2cb19582e9 feat(eckhart): full-screen vertical menu component 2025-04-08 12:33:56 +02:00
obrusvit
767dbc9058 feat(eckhart): implement a few show_xyz functions 2025-04-08 12:33:56 +02:00
obrusvit
818f95b046 feat(eckhart): implement confirm_value 2025-04-08 12:33:56 +02:00
obrusvit
59203e8e4b feat(eckhart): implement confirm_action 2025-04-08 12:33:56 +02:00
obrusvit
c6fa187fc6 feat(core): add color op to FormattedText
[no changelog]
2025-04-08 12:33:56 +02:00
obrusvit
ebd112582a feat(eckhart): full-screen textual component
- TextScreen is a full-screen component for (paginated) texts
- it's supposed to wrap FormattedText or Paragraphs
2025-04-08 12:33:56 +02:00
obrusvit
4b68983c3d feat(eckhart): action bar component 2025-04-08 12:33:56 +02:00
obrusvit
836a1a1f30 feat(eckhart): hint component 2025-04-08 12:33:56 +02:00
obrusvit
7dc52abb22 feat(eckhart): header component 2025-04-08 12:33:56 +02:00
obrusvit
0f032a3031 feat(eckhart): provisional homescreen 2025-04-08 12:33:56 +02:00
obrusvit
c1bf3c2f38 feat(eckhart): text styles 2025-04-08 12:33:55 +02:00
obrusvit
70ef5effe1 feat(eckhart): add fonts 2025-04-08 12:33:55 +02:00
obrusvit
2089b4f206 feat(eckhart): icon set 2025-04-08 12:33:55 +02:00
obrusvit
cc60c81682 feat(eckhart): color palette 2025-04-08 12:33:55 +02:00
obrusvit
c442b30962 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-04-08 12:33:55 +02:00
cepetr
307ac2517d feat(core): introduce JpegOverlay shape
[no changelog]
2025-04-04 12:59:44 +02:00
cepetr
db057ff6ae feat(core): allow JPEG image to be decoded as Mono8 bitmap
[no changelog]
2025-04-04 12:59:44 +02:00
tychovrahe
1fc6feda80 fix(core): make ble_event upy api function optional
[no changelog]
2025-04-03 16:17:12 +02:00
tychovrahe
4adf6d087d feat(core): add BLE unpair command & message
[no changelog]
2025-04-03 16:17:12 +02:00
Martin Milata
469f093b8a feat(core): include pairing code in BLE_ALLOW_PAIRING command
[no changelog]
2025-04-02 17:08:34 +02:00
Roman Zeyde
ac0fc30ee9 perf(core): intern single-digit strings
[no changelog]
2025-03-26 21:16:06 +02:00
obrusvit
9a14654ff7 perf(core): improve render in Delizia button
- allcase_text_height unnecessarily loads GlyphData in this frequent
call, text_height just reads a constant

[no changelog]
2025-03-24 12:11:56 +01:00
obrusvit
079873ced7 feat(core): use newer version of Delizia fonts 2025-03-24 12:11:56 +01:00
Roman Zeyde
1e3b02771b fix(core): don't use 'static lifetime for BLEEvent
[no changelog]
2025-03-21 17:13:27 +02:00
Roman Zeyde
9926df6ab5 fix(core): add LayoutObj.ble_event mock
[no changelog]
2025-03-20 15:22:32 +02:00
tychovrahe
6fb65bcfd9 refactor(core): refactor button events
[no changelog]
2025-03-20 11:07:34 +01:00
Roman Zeyde
566b69fb24 perf(core): simplify Button struct to save RAM
[no changelog]
2025-03-20 09:29:56 +02:00
Roman Zeyde
611d74c1b3 fix(core): correct confirmation fonts in Bolt 2025-03-18 13:23:39 +02: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
Ioan Bizău
3efa0480c6 feat(core): add libtropic to the unix build
[no changelog]
2025-03-13 15:08:48 +01:00
Roman Zeyde
6bf11ab29f chore(core): use smaller vectors for ShowInfoParams
[no changelog]
2025-03-12 08:12:54 +02:00
tychovrahe
103568e2e5 feat(core/prodtest): show device ID in prodtest QR code 2025-03-08 12:26:41 +01:00
Roman Zeyde
f67a506e9c fix(core): use correct fonts for staking confirmation on Delizia
[no changelog]
2025-03-05 12:23:03 +02:00
Roman Zeyde
0d522be842 fix(core): use TEXT_MONO_GREY_LIGHT for chunkified data on Delizia
[no changelog]
2025-03-05 10:35:41 +02:00
Roman Zeyde
e08b15ecaf feat(core): use Account info instead of Send from in Delizia staking UI
[no changelog]
2025-03-04 13:35:08 +02:00
cepetr
2961f6caf9 refactor(core): improve frame buffer interface
[no changelog]
2025-03-04 08:08:10 +01:00
cepetr
80ce57c5c4 fix(rust): fix drawing of 1px bar shape
[no changelog]
2025-03-04 08:07:56 +01:00
obrusvit
55101b8013 fix(core): fix delizia set brightness setting
[no changelog]
2025-03-03 15:59:59 +01:00
matejcik
f59deebfba fix(core/rust): correctly extend SwipeAttach animation duration
so that it covers the interval from the Attach event until timer running
out.

Without this change, it is possible to slip in a TouchStart event before
the animation timer has had a chance to start, and lose the matching
TouchEnd.
2025-03-03 15:42:09 +01:00
Roman Zeyde
9b11cc7577 feat(core): use SwipeFlow::add_page to reduce stack usage
[no changelog]
2025-03-03 13:28:33 +02:00
tychovrahe
511a4f3b93 fix(core/prodtest): fix touch draw test
[no changelog]
2025-02-28 15:32:49 +01:00