matejcik
eee4c624f9
feat(core/rust): JSON output from component tracing
2023-05-11 21:02:21 +02:00
grdddj
b63b72ed90
chore(core/rust): flag or delete unused code
2023-05-11 21:02:21 +02:00
grdddj
0c0d74a501
feat(core/rust): create mako template for QSTR generation
2023-05-11 21:02:21 +02:00
grdddj
8ee4c41938
chore(crypto): refactor slip39 same way as bip39
2023-05-11 21:02:21 +02:00
tychovrahe
0c5db05357
feat(core): support 16bit i8080 display bus
...
[no changelog]
2023-04-27 12:36:12 +02:00
tychovrahe
0a8981d643
refactor(core): rewrite display_image into rust
...
[no changelog]
2023-04-25 10:28:33 +02:00
tychovrahe
e578f7f0f8
refactor(core): remove unused C display_icon and display_loader functions
...
[no changelog]
2023-04-25 10:28:33 +02:00
tychovrahe
69be9b1edf
refactor(core): improve safety of buffer handling
...
[no changelog]
2023-04-25 10:28:33 +02:00
Martin Milata
3fb3f108cc
chore(vendor): bump micropython to 1.19.1
...
Relevant micropython commits:
01374d941f9d7398e35990b574769b20c6779457 py/mpconfig.h: Define initial templates for "feature levels".
7b89ad8dbf432ab51eea6d138e179bf51394c786 py/vm: Add a fast path for LOAD_ATTR on instance types.
68219a295c75457c096ac42dbe8411b84e1e1a51 stm32: Enable LOAD_ATTR fast path, and map lookup caching on >M0.
e0bf4611c3a8b23b3c52e6a7804aac341ac3a87d py: Only search frozen modules when '.frozen' is found in sys.path.
f2040bfc7ee033e48acef9f289790f3b4e6b74e5 py: Rework bytecode and .mpy file format to be mostly static data.
926b554dafffa1e9bd80aa12fea5c621221c9d79 extmod/moduos: Create general uos module to be used by all ports.
2b409ef8a46015f8f3bd20bc44e644637dbe9bd3 unix/moduos: Convert module to use extmod version.
47f634300c5572571816817f16836113c98814ae py: Change makemoduledefs process so it uses output of qstr extraction.
0e7bfc88c6ac6b5d64240f91183a3cfe2ab67ade all: Use mp_obj_malloc everywhere it's applicable.
2a6ba47110be88ff1e1f5abd1bd76c353447884c py/obj: Add static safety checks to mp_obj_is_type().
2023-04-21 13:14:07 +02:00
tychovrahe
dd5468fe88
fix(core): fix homescreen shade positioning
...
[no changelog]
2023-04-21 09:07:18 +02:00
tychovrahe
83500487b8
refactor(core): improve conditional compilations based on model
...
[no changelog]
2023-04-19 21:36:51 +02:00
tychovrahe
eb72fb4241
refactor(core): remove unused functions
...
[no changelog]
2023-04-19 21:36:51 +02:00
tychovrahe
6ea68baf34
refactor(core): move files out of extmod
...
[no changelog]
2023-04-19 21:36:51 +02:00
Martin Milata
7a3ab389f8
style(core/rust): fix indent
...
[no changelog]
2023-04-19 19:53:33 +02:00
Martin Milata
58be59529d
style(core): fix clippy lints
...
[no changelog]
2023-04-19 13:05:03 +02:00
tychovrahe
44178514f3
feat(core): support differently sized homescreen
...
[no changelog]
2023-04-12 14:03:12 +02:00
Martin Milata
aa9f848b70
fix(core/ui): button text and warning style update
...
[no changelog]
2023-04-12 13:10:45 +02:00
Martin Milata
2456219d52
fix(core/ui): hold to confirm when finializing replacement transaction
...
[no changelog]
2023-04-10 18:42:38 +02:00
Martin Milata
a44e738d31
feat(core/ui): sending transaction style update
...
[no changelog]
2023-04-04 00:15:12 +02:00
Martin Milata
229c81fa7e
feat(core/ui): frames with title and subtitle
...
[no changelog]
2023-04-04 00:15:12 +02:00
matejcik
a09c404359
fix(core): restore original Label bounds checking
...
so that if the text does not vertically fit into the provided bounds,
it will only render part of itself (and an optional ellipse)
and remain properly vertically centered
2023-04-03 22:01:26 +02:00
matejcik
ca5a68ebc5
fix(core): unify error strings
2023-04-03 22:01:26 +02:00
matejcik
38b6b9adc8
style(core/bootloader): unify import section
2023-04-03 22:01:26 +02:00
matejcik
63c27bafd6
fix(core/bootloader): properly display upgrade/downgrade
2023-04-03 22:01:26 +02:00
matejcik
d1d373a51f
refactor(core/bootloader): simplify Confirm arguments
2023-04-03 22:01:26 +02:00
matejcik
a9a18bf80d
refactor(core/bootloader): make use of Label vertical alignment
2023-04-03 22:01:26 +02:00
matejcik
c3af3eafe2
refactor(core/bootloader): get rid of Paragraphs
...
for a ~10kB space saving
2023-04-03 22:01:26 +02:00
matejcik
14f0fba949
feat(core/bootloader): tweak initial screens
...
* do not wait for user touch when we know we are going to the welcome
screen
* do not fade before the Trezor Model T screen
2023-04-03 22:01:26 +02:00
matejcik
839a940990
feat(core/bootloader): new style for result screens ( fixes #2910 )
2023-04-03 22:01:26 +02:00
matejcik
e10b6ecc26
feat(core/rust): improve behavior of from_c_str / from_c_array
2023-04-03 22:01:26 +02:00
tychovrahe
7e96b96d00
feat(core/bootloader): remove different logo color when firmware present
2023-04-03 22:01:26 +02:00
matejcik
ae9960ca61
feat(core): introduce bootloader emulator
2023-04-03 22:01:26 +02:00
matejcik
af6c6d43ed
fix(core/unix): add miscellaneous missing header entries
2023-04-03 22:01:26 +02:00
tychovrahe
9b8984896e
refactor(core): unify error screens
...
[no changelog]
2023-04-03 22:01:26 +02:00
tychovrahe
64bc94cbc9
feat(core): uninitialized welcome flow
...
[no changelog]
2023-04-03 22:01:26 +02:00
tychovrahe
2537436211
feat(core): update bootloader style
...
[no changelog]
2023-04-03 22:01:26 +02:00
tychovrahe
dcda5e0142
feat(core): support old homescreen format
...
[no changelog]
2023-03-30 19:06:35 +02:00
Martin Milata
2388a8edea
style(core/rust/ui): rename Map to MsgMap
...
[no changelog]
2023-03-30 13:55:54 +02:00
Martin Milata
08cad2f909
fix(core/ui): coinjoin layouts style update
...
[no changelog]
2023-03-30 13:55:54 +02:00
matejcik
9244522721
fix(core): remove shutdown()
...
In a very weird situation, our declaration of `shutdown()` shadows a
function `shutdown(int, int)` from sys/socket, which _just happens_ to
be called by libxcb when closing the sdl window. This calls
`main_clean_exit` which calls into micropython and causes at best an
uncaught NLR and at worst an outright segfault because by that time the
micropython environment doesn't exist anymore.
I didn't think this sort of thing would be possible but here we are??
Fixed by removing `__shutdown()` and replacing `shutdown` with
`trezor_shutdown`
2023-03-24 13:24:46 +01:00
Martin Milata
e60ed788f2
fix(core/rust/ui): add cargo flag for Component::bounds() support
...
Rarely used debugging feature.
[no changelog]
2023-03-23 20:16:22 +01:00
Martin Milata
afe965687f
fix(core/ui): style update: frame and corner button
...
[no changelog]
2023-03-23 20:16:22 +01:00
Martin Milata
670cbd7a1d
fix(core/ui): style update: paging
...
[no changelog]
2023-03-23 20:16:22 +01:00
Martin Milata
19a2ea21b6
fix(core/ui): Model T style update
...
[no changelog]
2023-03-23 20:16:22 +01:00
Martin Milata
3623f966dc
fix(core/rust/ui): fix text baseline calculation
...
[no changelog]
2023-03-23 20:16:22 +01:00
Jan Šetina
04964dc2e8
feat(core/ui): change GREY_DARK and GREY_MEDIUM
...
[no changelog]
2023-03-13 01:34:14 +01:00
Martin Milata
b8abccbc94
feat(core/rust/ui): implement Clone for StrBuffer
...
[no changelog]
2023-03-09 23:36:36 +01:00
Martin Milata
4af5939a0b
feat(core/ui): redesigned receive flow
...
[no changelog]
2023-03-09 23:36:36 +01:00
Martin Milata
1b94a7cb7b
feat(core/ui): page break icons
...
Co-authored-by: grdddj <jiri.musil06@seznam.cz>
[no changelog]
2023-03-09 23:36:36 +01:00
Martin Milata
4622aec0f1
refactor(core): switch to Rust implementation of QR-Code-generator
...
[no changelog]
2023-03-09 23:36:36 +01:00