Martin Milata
50259b1084
chore(core): remove OTF files of TT Hoves fonts
...
The fonts are commercially licensed unlike the rest of this repository.
They have been moved to a private repository.
[no changelog]
2022-10-22 01:39:53 +02:00
Martin Milata
18352acce8
feat(core/rust/ui): replace TT Hoves Medium with DemiBold style
...
[no changelog]
2022-10-22 01:39:53 +02:00
Martin Milata
be7f1c3f7e
fix(core/rust/ui): avoid flickering in hold to confirm
...
[no changelog]
2022-10-21 21:02:39 +02:00
Martin Milata
a7c3a07ef1
refactor(core/rust/ui): implement confirm_properties layout
...
[no changelog]
2022-10-21 21:02:39 +02:00
tychovrahe
86f2dacc6e
fix(core): re-introduce touch event filtering
...
[no changelog]
2022-10-21 14:24:10 +02:00
Martin Milata
f956966fda
build(core/rust): workaround failing build_unix_debug
...
[no changelog]
2022-10-21 13:05:31 +02:00
matejcik
ac6936d65d
fix(core/debug): separate buffer for debuglink to prevent BufferLock deadlocks
...
[no changelog]
2022-10-19 14:24:59 +02:00
tychovrahe
d0f1095842
fix(core): expose USB_CHECK for all models
...
[no changelog]
2022-10-19 11:31:03 +02:00
tychovrahe
d3469f8310
fix(core/rust): optimize pin keyboard rendering for TT UI2
...
[no changelog]
2022-10-18 10:17:36 +02:00
Andrew Kozlik
ee8c596b1a
refactor(core): Use a list of presigned inputs in Bitcoin signing.
...
Co-authored-by: Ondřej Vejpustek <ondrej.vejpustek@satoshilabs.com>
2022-10-17 15:20:46 +02:00
Andrew Kozlik
5dddb06e2b
refactor(core): Replace Bitcoin signing progress functions with a class.
2022-10-17 15:20:46 +02:00
Andrew Kozlik
d815a7d6de
chore(core): Use C implementation of Bech32 decode.
2022-10-17 15:20:46 +02:00
Andrew Kozlik
cc054050a5
feat(core): Improve Bitcoin signing progress display.
2022-10-17 15:20:46 +02:00
Andrew Kozlik
8ef5e5120a
feat(core): Verify ownership proofs before transaction approval in BTC signing.
2022-10-17 15:20:46 +02:00
Andrew Kozlik
5b453c88ed
feat(core): Add serialize option to SignTx.
2022-10-17 15:20:46 +02:00
Pavol Rusnak
029e47e1e8
chore(common/defs/fido): add proton
...
[no changelog]
2022-10-17 12:02:54 +02:00
Vladyslav Burzakovskyy
e7ff43272c
chore(common/defs/fido): add invity
...
[no changelog]
2022-10-14 16:28:51 +02:00
tychovrahe
c750113d57
fix(tests): fix rust tests with ASAN
...
[no changelog]
2022-10-13 10:51:43 +02:00
matejcik
cac98ad7d4
feat(core/rust): implement storage wrapper layer
...
[no changelog]
2022-10-13 09:18:20 +02:00
grdddj
0f549c02da
feat(core): add -r option to emu.py to allow for screen recording
...
[no changelog]
2022-10-12 13:44:53 +02:00
matejcik
7a09c21bf5
chore(core): fix import in key generator
2022-10-11 12:11:53 +02:00
Andrew Kozlik
0ba966b979
fix(core): Fix bug in SetBusy when running CI tests.
...
[no changelog]
2022-10-10 20:32:36 +02:00
Andrew Kozlik
5bbfd40df6
feat(core): Add set_int() and get_int() to storage cache.
...
[no changelog]
2022-10-10 20:32:36 +02:00
tychovrahe
11748b7641
fix(build): fix ASAN build with num_derive crate
...
[no changelog]
2022-10-10 13:49:50 +02:00
tychovrahe
99eaaae28e
build(core): redistribute content in flash
...
[no changelog]
2022-10-03 09:43:53 +02:00
Dusan Klinec
90771ebb59
fix(xmr): fix tx sending to an integrated address
2022-09-30 13:47:06 +02:00
tychovrahe
fb08536b6a
feat(core): icon and images using new format
2022-09-29 21:50:10 +02:00
tychovrahe
f7b9bb4ef8
feat(core/rust): use dma2d to improve rendering performance, implement text over image and icon over icon functions
2022-09-29 21:50:10 +02:00
tychovrahe
223d1b20fb
refactor(core): change fonts organization
2022-09-29 21:50:10 +02:00
tychovrahe
b9647d1296
fix(core): fix flashing usb disconnected error
...
[no changelog]
2022-09-26 13:31:04 +02:00
tychovrahe
a4d0ec3926
fix(core/rust): fix flickering in UI2 hold to confirm screen
...
[no changelog]
2022-09-22 10:03:56 +02:00
Martin Milata
7c11dec7f6
refactor(core/rust/ui): Font as repr(u8) enum
...
[no changelog]
2022-09-16 13:57:32 +02:00
Martin Milata
ef504d40fc
perf(core/rust/ui): use 16-bit coordinates
...
[no changelog]
2022-09-16 13:57:32 +02:00
Martin Novak
dd168d2893
feat(core,legacy): display only sat instead of sat BTC
2022-09-15 08:01:24 +02:00
tychovrahe
e3d5c178f1
feat(core): enable bus fault and usage fault handlers
...
[no changelog]
2022-09-13 15:04:40 +02:00
Martin Novak
a41cfadbf1
feat(core,legacy): Extend decimals of fee rate to 2 digits
2022-09-09 15:28:31 +02:00
Dusan Klinec
2fe40f70a6
fix(xmr): fixes #2453 , incorrect address display
2022-09-09 14:07:30 +02:00
Martin Milata
5a9c2a1363
feat(core/rust/ui): recovery layouts
...
[no changelog]
2022-09-07 16:46:47 +02:00
Martin Milata
5052594789
refactor(core/rust/ui): simplify button height computation
...
[no changelog]
2022-09-07 16:46:47 +02:00
Martin Milata
885ae2a943
refactor(core/rust/ui): add should_show_more
...
[no changelog]
2022-09-07 16:46:47 +02:00
Martin Milata
a5cff25209
fix(core/rust/ui): expose method for completely repainting layout
...
[no changelog]
2022-09-07 16:46:47 +02:00
Martin Milata
3b629a1ea4
refactor(core/rust/ui): layouts for SLIP-39 backups
...
[no changelog]
2022-09-07 16:46:47 +02:00
Martin Milata
4782afbae3
refactor(core/rust/ui): layouts for BIP-39 backups
...
[no changelog]
2022-09-07 16:46:47 +02:00
Martin Milata
4ff2c99f0a
refactor(core/rust/ui): add show_info and show_error
...
[no changelog]
2022-09-07 16:46:47 +02:00
Martin Milata
f0d5f9069a
refactor(core/rust/ui): text centering in Paragraphs
...
Only works for paragraphs, not formatted text.
[no changelog]
2022-09-07 16:46:47 +02:00
Martin Milata
247d9d267a
feat(core/rust/ui): explicit breaks for Paragraphs
...
[no changelog]
2022-09-07 16:46:47 +02:00
matejcik
7ba7eff118
refactor(core/rust): more explicit buffer semantics, StrBuffer::alloc
...
[no changelog]
2022-09-06 16:27:22 +02:00
Ondrej Mikle
77cdf4b43c
fix(core): consider device in USB suspend connected if it was configured before
...
[no changelog]
2022-09-05 09:36:32 +02:00
Tomas Krnak
031bac4a9b
feat(core): add support for Zcash unified addresses
2022-08-30 21:15:49 +02:00
Andrew Kozlik
054b5456d2
chore(core): Decrease ECMULT_GEN_PREC_BITS to save 32kB of flash space.
2022-08-30 15:53:44 +02:00
Andrew Kozlik
b5cb9cb035
feat(core): Allow Any type in is_type_of().
...
[no changelog]
2022-08-30 15:53:44 +02:00
Andrew Kozlik
77be3653b4
feat(core): Implement SLIP-0025 CoinJoin accounts.
2022-08-30 15:53:44 +02:00
Andrew Kozlik
9d89c3cb1b
feat(common): Add UnlockPath message.
...
[no changelog]
2022-08-30 15:53:44 +02:00
grdddj
c53177fe89
feat(core): show fee rate when replacing transaction
2022-08-30 10:20:54 +02:00
grdddj
d5b0650cc2
feat(tests): add possibility to run device/UI tests in parallel
2022-08-29 15:47:36 +02:00
tychovrahe
837988f61e
fix(core/rust): fix uzlib window allocation
...
[no changelog]
2022-08-29 10:11:45 +02:00
tychovrahe
dd823097b4
fix(core/rust): fix UI2 loader position
...
[no changelog]
2022-08-26 09:56:43 +02:00
Ondrej Mikle
72228e35cf
feat(core): show red error header when USB data not connected
2022-08-25 16:42:29 +02:00
Ondrej Mikle
a0287698d5
feat(core): show blue dot when USB data not connected
2022-08-25 16:42:29 +02:00
Martin Milata
005e4203a7
refactor(core/rust/ui): text theme struct
...
[no changelog]
2022-08-25 16:33:41 +02:00
matejcik
20ac679651
build(core/rust): enable panic_immediate_abort for firmware
2022-08-23 11:26:34 +02:00
Andrew Kozlik
d089fd3187
feat(core): Implement SetBusy message.
2022-08-22 18:15:29 +02:00
Andrew Kozlik
792dadfc4d
feat(common): Add SetBusy message.
...
[no changelog]
2022-08-22 18:15:29 +02:00
Pavol Rusnak
c962d3520b
Merge branch 'release/22.08'
2022-08-22 11:10:45 +02:00
matejcik
0b4ccf45fc
style(core/rust): less expensive conversion from known good utf8 string
2022-08-18 15:22:48 +02:00
matejcik
0fb66d3527
feat(core/rust): unwrap! macro to trigger nicer behavior than the built-in
2022-08-18 15:22:48 +02:00
matejcik
0b52ffb914
feat(core/rust): const geometry
...
Make sure all geometry functions are const. This seems semantically correct and achieves a small space saving.
2022-08-18 15:22:48 +02:00
tychovrahe
6cf92fd748
feat(core): Introduce stack overflow detection by moving stack to the start of RAM
2022-08-16 17:03:06 +02:00
tychovrahe
cc2bfd9c39
feat(core/rust): autoclosing popup for Model R with success animation
2022-08-12 13:30:24 +02:00
tychovrahe
1697be2de8
feat(core/rust): added success animation and rust icon rendering
2022-08-12 13:30:24 +02:00
tychovrahe
820182c6b0
feat(core/rust): expose uzlib functions to rust
2022-08-12 13:30:24 +02:00
tychovrahe
68598f00af
feat(core/rust): hold to confirm animation for Model R
2022-08-12 13:30:24 +02:00
tychovrahe
107e22c814
feat(core/rust): glyph and text rendering in rust
2022-08-12 13:30:24 +02:00
tychovrahe
af77816c2f
feat(core/rust): expose display offset handling to rust
2022-08-12 13:30:24 +02:00
tychovrahe
29a5b0a770
feat(core/rust): implement interpolate color and color table functions in rust
2022-08-12 13:30:24 +02:00
tychovrahe
7f2a995c54
refactor(core/rust): separate lerp and animations
2022-08-12 13:30:24 +02:00
tychovrahe
ce142ffe08
feat(core/rust): make ButtonPos hit function public to enable reuse
2022-08-12 13:30:24 +02:00
tychovrahe
f538547d5b
feat(core): optimize touch controller communication
2022-08-08 15:52:26 +02:00
matejcik
ef47c26272
chore(core,legacy): bump versions
...
[skip_ci]
[no changelog]
2022-08-03 13:10:05 +02:00
matejcik
0d87b55ba4
chore(docs): regenerate changelogs
2022-08-02 22:26:27 +02:00
Andrew Kozlik
fa5e7feda6
fix(crypto): Fix nonce bias in CoSi signing.
2022-08-02 20:38:04 +02:00
Andrew Kozlik
ad5a572b75
chore(common): Deprecate data field in CosiCommit message.
2022-08-02 20:38:04 +02:00
matejcik
114376f734
feat(core/strings): use thousands separator ( fixes #2394 )
2022-08-02 20:35:49 +02:00
matejcik
a6410693b3
Revert "feat(core): implement firmware dumping"
...
This reverts commit 37c61c1381
.
2022-08-02 17:12:07 +02:00
Andrew Kozlik
8ca785925d
fix(core,legacy): Fix tx_weight to tx_size conversion.
...
[no changelog]
2022-08-02 14:30:38 +02:00
matejcik
00095c5787
chore: update tokens & networks
2022-08-02 13:57:31 +02:00
Andrew Kozlik
90792eb438
fix(core): Fix Decred transaction weight calculation.
2022-08-01 15:10:34 +02:00
Andrew Kozlik
426eae4dfc
fix(core): Ensure correct order when verifying external inputs in Bitcoin signing.
2022-07-28 17:14:05 +02:00
TychoVrahe
a762e75fee
fix(core): reintroduce touch controller initialization without power down/up in firmware, fix model R firmware initialization
2022-07-26 15:09:43 +02:00
Ondrej Mikle
4d3d9f5d7e
docs(core): documentation on embedded C+Rust debug
2022-07-26 11:24:27 +02:00
Andrew Kozlik
421eec1d3b
feat(core): Add get_base_weight() to TxWeightCalculator.
...
[no changelog]
2022-07-20 18:23:34 +02:00
Andrew Kozlik
0ce2c079b0
feat(core): Account for minimum registrable output amount in CoinJoin checks.
...
[no changelog]
2022-07-20 18:23:34 +02:00
grdddj
38f7d32d94
feat(rust): add more details into panic handler
2022-07-20 12:46:01 +02:00
grdddj
9dc73427fb
feat(rust): add print! macro for logging into terminal
2022-07-20 12:46:01 +02:00
grdddj
8bfbe9da01
fix(ui): import type component inside if TYPE_CHECKING branch
2022-07-20 12:46:01 +02:00
gabrielkerekes
b9e2ca9a9d
chore(cardano): add changelog and update ui fixtures
2022-07-04 15:58:27 +02:00
gabrielkerekes
1a68650c43
feat(cardano): add support for hiding some details during tx signing
2022-07-04 15:58:27 +02:00
gabrielkerekes
2f9435570d
feat(cardano): add tx signing show details prompt
2022-07-04 15:58:27 +02:00
gabrielkerekes
11f8e81083
chore(cardano): update changelog
2022-07-04 15:58:27 +02:00
David Misiak
ba7fb2cb54
feat(cardano): allow required signers in more signing modes
2022-07-04 15:58:27 +02:00
David Misiak
4017434cc1
feat(cardano): add support for babbage features
2022-07-04 15:58:27 +02:00
David Misiak
11c4b25cb0
feat(cardano): allow datum hash in non-script outputs
2022-07-04 15:58:27 +02:00
David Misiak
f7d0507a65
feat(cardano): add support for chunked embedded CBOR
2022-07-04 15:58:27 +02:00
David Misiak
99a7c48e64
feat(cardano): add babbage data types
2022-07-04 15:58:27 +02:00
David Misiak
687a981d12
chore(cardano): update changelog
2022-07-04 15:58:27 +02:00
David Misiak
8a229edcb3
refactor(cardano): shorten identifiers in addresses, certs, aux data
2022-07-04 15:58:27 +02:00
David Misiak
50ad00a3c0
refactor(cardano): use module imports for addresses, certs, aux data
2022-07-04 15:58:27 +02:00
David Misiak
2753faa7b0
refactor(cardano): shorten identifiers
2022-07-04 15:58:27 +02:00
David Misiak
1ae6b68eaf
refactor(cardano): use module imports for messages, layout
2022-07-04 15:58:27 +02:00
David Misiak
0836e91faa
refactor(cardano): inline validation errors
2022-07-04 15:58:27 +02:00
David Misiak
2724d29968
refactor(cardano): introduce Signer and its subclasses
2022-07-04 15:58:27 +02:00
Christian Reitter
c5d22b4395
fix(core): correct range in error message
2022-07-01 14:50:19 +02:00
matejcik
8c3d3c6548
chore: bump black to 22.3
...
changes:
* exponent operator ** now allows no spaces around itself: https://github.com/psf/black/issues/538
* optional unicode marker u"" is no longer allowed
[no changelog]
2022-06-29 14:35:16 +02:00
matejcik
c7b6e8986e
fix(core/rust): fix overflow in tests by properly using 0-terminated strings
...
[no changelog]
2022-06-29 09:24:54 +02:00
matejcik
fce188fb96
fix(core/ui): fix char boundary bug in Rust layout
2022-06-28 18:01:02 +02:00
Martin Milata
ccf364f1da
refactor(core/ui): DebugLink swipe for rust layouts
...
[no changelog]
2022-06-28 18:01:02 +02:00
Martin Milata
c9ca7cd544
feat(core/rust/ui): bitcoin layouts
...
[no changelog]
2022-06-28 18:01:02 +02:00
Martin Milata
dd9a7d30e5
refactor(core/rust/ui): expose page count to python
...
[no changelog]
2022-06-28 18:01:02 +02:00
Martin Milata
ee1497b87e
refactor(core/rust/ui): hold-to-confirm for paged content
...
[no changelog]
2022-06-28 18:01:02 +02:00
Martin Milata
24a1f2e25e
refactor(core): remove unused parameter from display_qrcode
...
[no changelog]
2022-06-28 18:01:02 +02:00
Martin Milata
9f0ebf6d1a
refactor(core/rust/ui): arbitrary controls for Dialog component
...
[no changelog]
2022-06-28 18:01:02 +02:00
matejcik
62ab48d2e6
chore(core/monero): add changelog entry for HF15
2022-06-28 16:21:29 +02:00
Dusan Klinec
2d36c4e8f3
fix(core/monero): add missing view_tags to hf15
2022-06-28 16:21:29 +02:00
Andrew Kozlik
892f3e348d
fix(crypto): Remove public key from the ed25519 signing API.
...
[no changelog]
2022-06-27 18:59:08 +02:00
Pavol Rusnak
95daa2fda3
chore(common/defs): replace consensus_branch_id with overwintered bool flag
...
[no changelog]
2022-06-27 12:39:03 +02:00
mcudev
1ec62e9c86
common/defs/fido: update fastmail
2022-06-27 11:09:31 +02:00
tychovrahe
c33f92bd72
feat(core): add RGB LED driver for Model R
2022-06-22 09:28:31 +02:00
matejcik
2aa427a6e3
feat(core/rust): make Rust buildable without Micropython
...
Features `micropython` and `protobuf` are defined. Protobuf implies micropython
because our protobuf impl is pretty much _for_ micropython.
The respective subdirs are included only if the matching feature is defined.
util.rs is moved to micropython because it mostly concerns micropython interop
ResultExt, useful only for ui_debug, is moved to ui::util.
A new module `trezorhal::time` is provided. It mirrors functionality of
`micropython::time` via stmlib functions. The intended use is to always use
functions from `trezorhal::time`. The right micropython variants are used when
micropython is available, otherwise the pure stmlib versions are called.
ui::*::layout is conditional for micropython feature, because it only concerns
micropython layouts. If we want to reuse layouts defined there, we will need to
export them to not depend on Objs and Qstrs etc.
2022-06-16 13:08:07 +02:00
mcudev
7d37109eb8
common/defs/fido: add cloudflare
2022-06-14 15:12:51 +02:00
matejcik
37d5597965
feat(core/rust): direct write to display memory for better performance on TT hardware
2022-06-14 15:09:03 +02:00
matejcik
57b12c2807
feat(core): expose display pixeldata accessors from C
2022-06-14 15:09:03 +02:00
tychovrahe
61482d0795
feat(core/rust): expose raw pixel access to rust
2022-06-14 15:09:03 +02:00
Ondrej Mikle
7b7318c3aa
feat(core/boardloader): add fixed-address boardloader capablities field
2022-06-13 18:18:25 +02:00
Jan Pochyla
c3b82fd651
feat(core/rust): add trezorhal bindings
2022-06-08 14:42:04 +02:00
Dusan Klinec
1e9acf10fa
fix(xmr): remove inv8 optimization as in xmr master
2022-06-08 08:59:34 +02:00
dependabot[bot]
cc795407d0
build(deps): bump regex from 1.5.4 to 1.5.6 in /core/embed/rust/fuzz
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.5.4 to 1.5.6.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/1.5.4...1.5.6 )
---
updated-dependencies:
- dependency-name: regex
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-07 12:20:02 +02:00
dependabot[bot]
3c31d24f50
build(deps): bump regex from 1.5.4 to 1.5.6 in /core/embed/rust
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.5.4 to 1.5.6.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/1.5.4...1.5.6 )
---
updated-dependencies:
- dependency-name: regex
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-07 11:18:41 +02:00
Martin Novak
2663801108
perf(firmware): do not initialize touch controller in firmware
2022-06-02 10:30:53 +02:00
matejcik
c77066065e
chore(core/rust): bump cty to 0.2.2
...
this fixes signedness of char on Mac M1
2022-06-01 16:35:33 +02:00
matejcik
38a36a131f
chore: rename BIP39_WORDS to BIP39_WORD_COUNT
2022-06-01 16:35:33 +02:00
matejcik
dfa4b1d9a1
build: add bip39_english.o where appropriate
...
[no changelog]
2022-06-01 16:35:33 +02:00
matejcik
6319a5a9d0
feat(core/rust): BIP-39 wordlist operations in Rust
2022-06-01 16:35:33 +02:00
Pavol Rusnak
59f78d06b1
chore(common/defs/fido): add kraken
...
[no changelog]
2022-06-01 14:52:15 +02:00
matejcik
d3f24f6e17
feat(core): provisionally gate RebootToBootloader under experimental features
2022-06-01 14:50:59 +02:00
matejcik
e66ed079b0
feat(core): show confirmation dialog before rebooting
2022-06-01 14:50:59 +02:00
Ondrej Mikle
60db3e3e52
fix(core/bootloader): do not wait for touch if we know we are staying in bootloader
2022-06-01 14:50:59 +02:00
Ondrej Mikle
49462dc283
chore(core/bootloader): bump over unreleased version
2022-06-01 14:50:59 +02:00
Ondrej Mikle
c563c987e1
feat(core): jump back and stay in bootloader for TT via reverse SVC call trampoline
2022-06-01 14:50:59 +02:00
Pavol Rusnak
6589f020c6
fix(legacy,core): use sat/vB only for segwit and sat/B otherwise
...
[no changelog]
2022-05-30 10:51:47 +02:00
grdddj
5671bd037b
chore(core): add type hints to emu.py
2022-05-25 16:12:47 +02:00