Commit Graph

2237 Commits (dc8ed0f0de1b8c9c781d7b48953522e8fd9f5233)

Author SHA1 Message Date
Martin Milata dd9a7d30e5 refactor(core/rust/ui): expose page count to python
2 years ago
Martin Milata ee1497b87e refactor(core/rust/ui): hold-to-confirm for paged content
2 years ago
Martin Milata 24a1f2e25e refactor(core): remove unused parameter from display_qrcode
2 years ago
Martin Milata 9f0ebf6d1a refactor(core/rust/ui): arbitrary controls for Dialog component
2 years ago
matejcik 62ab48d2e6 chore(core/monero): add changelog entry for HF15
2 years ago
Dusan Klinec 2d36c4e8f3 fix(core/monero): add missing view_tags to hf15
2 years ago
Andrew Kozlik 892f3e348d fix(crypto): Remove public key from the ed25519 signing API.
2 years ago
Pavol Rusnak 95daa2fda3 chore(common/defs): replace consensus_branch_id with overwintered bool flag
2 years ago
mcudev 1ec62e9c86 common/defs/fido: update fastmail
2 years ago
tychovrahe c33f92bd72 feat(core): add RGB LED driver for Model R
2 years ago
matejcik 2aa427a6e3 feat(core/rust): make Rust buildable without Micropython
2 years ago
mcudev 7d37109eb8 common/defs/fido: add cloudflare
2 years ago
matejcik 37d5597965 feat(core/rust): direct write to display memory for better performance on TT hardware
2 years ago
matejcik 57b12c2807 feat(core): expose display pixeldata accessors from C
2 years ago
tychovrahe 61482d0795 feat(core/rust): expose raw pixel access to rust
2 years ago
Ondrej Mikle 7b7318c3aa feat(core/boardloader): add fixed-address boardloader capablities field
2 years ago
Jan Pochyla c3b82fd651 feat(core/rust): add trezorhal bindings
2 years ago
Dusan Klinec 1e9acf10fa fix(xmr): remove inv8 optimization as in xmr master
2 years ago
dependabot[bot] cc795407d0 build(deps): bump regex from 1.5.4 to 1.5.6 in /core/embed/rust/fuzz
2 years ago
dependabot[bot] 3c31d24f50 build(deps): bump regex from 1.5.4 to 1.5.6 in /core/embed/rust
2 years ago
Martin Novak 2663801108 perf(firmware): do not initialize touch controller in firmware
2 years ago
matejcik c77066065e chore(core/rust): bump cty to 0.2.2
2 years ago
matejcik 38a36a131f chore: rename BIP39_WORDS to BIP39_WORD_COUNT
2 years ago
matejcik dfa4b1d9a1 build: add bip39_english.o where appropriate
2 years ago
matejcik 6319a5a9d0 feat(core/rust): BIP-39 wordlist operations in Rust
2 years ago
Pavol Rusnak 59f78d06b1 chore(common/defs/fido): add kraken
2 years ago
matejcik d3f24f6e17 feat(core): provisionally gate RebootToBootloader under experimental features
2 years ago
matejcik e66ed079b0 feat(core): show confirmation dialog before rebooting
2 years ago
Ondrej Mikle 60db3e3e52 fix(core/bootloader): do not wait for touch if we know we are staying in bootloader
2 years ago
Ondrej Mikle 49462dc283 chore(core/bootloader): bump over unreleased version
2 years ago
Ondrej Mikle c563c987e1 feat(core): jump back and stay in bootloader for TT via reverse SVC call trampoline
2 years ago
Pavol Rusnak 6589f020c6 fix(legacy,core): use sat/vB only for segwit and sat/B otherwise
2 years ago
grdddj 5671bd037b chore(core): add type hints to emu.py
2 years ago
Martin Novak 85f0d3a741 feat(core,legacy): show fee rate when signing transaction
2 years ago
David Misiak a1eaa465aa chore(cardano): remove legacy types
2 years ago
Ondřej Vejpustek a198b390ff fix(legacy,core): fix size of secp256k1-zkp context
2 years ago
grdddj 14a0bc13ce chore(docs): mention that .mako files are rendered by `make templates`
2 years ago
grdddj 6dc4426151 feat(ui): setup homescreen and label for model R
2 years ago
Martin Milata c5f1bec474 Merge branch 'release/22.05'
2 years ago
matejcik 187ca8ad50 feat(core/rust): List::from_iter
2 years ago
matejcik b3b3e0efa4 tests(core/rust): ability to set up MicroPython env for testing
2 years ago
Ondřej Vejpustek db0da196a8 chore(vendor): update secp256k1-zkp to latest
2 years ago
Martin Milata c257a8a687 fix(core/ui/rust): painting of overlapping Maybe<T> components
2 years ago
Martin Milata b5dfda6a1d fix(core/rust/ui): support longer PIN
2 years ago
Martin Milata 31e63f688e fix(core/rust/ui): implement warning for PIN dialog
2 years ago
Martin Milata 3dcdffe203 refactor(core/rust/ui): emit event when component tree is initialized
2 years ago
Martin Milata 7b5c618576 refactor(core/rust/ui): erase button clears PIN after 2s
2 years ago
Martin Milata e58736f746 feat(core/rust/ui): show PIN digits when touched
2 years ago
Dusan Klinec 5e6582a3fe feat(xmr): add support for HF15, BP+
2 years ago
Dusan Klinec 14e08ca9db fix(xmr): remove 8192B from firmware image so it can fit to the memory
2 years ago
Dusan Klinec 25d32a8144 feat(xmr): implement bp+, refactor, code cleanup
2 years ago
matejcik 0c1eb0c30d feat(core/tools): support @overloads in generated mocks
2 years ago
Dusan Klinec 98ec1fb067 chore(core/monero): update test binary to newest version
2 years ago
matejcik 221a7c9973 fix(core): drop support for __slots__ from obj_eq / obj_repr
2 years ago
Dusan Klinec 33c174491f refactor(core/monero): Monero code cleanup
2 years ago
matejcik 99c817bad4 fix(core/emulator): make sure SDL keyboard and quit events are always processed
2 years ago
grdddj feb96c84b0 chore(core/rust): use clippy for all features
2 years ago
tychovrahe 55bfab3976 build(core): skip bootloader and boardloader compilation for Model 1
2 years ago
tychovrahe 8a092bde21 feat(core): add smaller loader for model R
2 years ago
tychovrahe bd476769cc feat(core): add reset state on display clear on model R. Added to rest of the models as noop.
2 years ago
tychovrahe 58041036f5 feat(core): set colors for monochromatic displays
2 years ago
tychovrahe 0e778cf16d fix(core): fix display_icon function - incorrect boundaries checks
2 years ago
tychovrahe f7a3aad9bd feat(core): initial Model R display implementation with framebuffer
2 years ago
tychovrahe 936c84bac6 feat(core): added button support for Model R
2 years ago
grdddj 7804893179 feat(core/rust): create model_tr feature
2 years ago
grdddj 12da7f301d feat(core): allow for model R in firmware build
2 years ago
grdddj 6b5f578d02 feat(core): implement basic R emulator
2 years ago
Martin Milata 692ea1415e chore(core): bump version to 2.5.2
2 years ago
Martin Milata 85a26d2c95 docs(core): changelog for 2.5.1
2 years ago
Martin Milata 29bab9e8a4 chore(common): update chains and tokens
2 years ago
Andrew Kozlik d16b44bad6 feat(core): Verify signatures of all original inputs in replacement transactions.
2 years ago
Andrew Kozlik 9bce153623 feat(core): Warn about unverified external inputs.
2 years ago
Andrew Kozlik b1c6b42201 fix(core): Stricter Bitcoin transaction checks.
2 years ago
matejcik e47bcee4a4 fix(core): streamline progress animation disabling
2 years ago
matejcik 37c61c1381 feat(core): implement firmware dumping
2 years ago
Andrew Kozlik 485ee6e209 feat(core): Show progress in GetFirmwareHash.
2 years ago
Andrew Kozlik 822b1c344f feat(core): Return fw_vendor in firmware Features message.
2 years ago
Andrew Kozlik 1da446a8fb refactor: Move flash_init to emulator main.
2 years ago
Andrew Kozlik 106ab65e21 feat(core): Implement GetFirmwareHash message.
2 years ago
Andrew Kozlik 6fe2d76dc1 feat(common): Add GetFirmwareHash message.
2 years ago
Tomas Krnak e166aef820 test(core): add test for zip244
2 years ago
Tomas Krnak 9985a72c6a feat!(core): support Zcash v5 transaction format
2 years ago
Tomas Krnak 670d11d627 feat(core): add `tx` argument to `create_sig_hasher` method
2 years ago
Pavol Rusnak a411a964e1 fix(core): re-enable passing of TREZOR_EMULATOR_RASPI flag
2 years ago
Martin Milata 18c8304339 fix(core): leftover TREZOR_MODEL defines
2 years ago
Pavol Rusnak 8f1d33d5f9 build(core,legacy): remove gcc, use cc instead of gcc
2 years ago
TychoVrahe 7912a7d0d3
build(core,storage): fix conditional compilation for different Trezor models
2 years ago
Martin Milata 49dbc92782 fix(core/ui): add missing sources to build
2 years ago
tychovrahe 0a735ead1e build(core) - Move comments to separate lines to avoid spaces being added to the value
2 years ago
Ondřej Vejpustek 8356d0a572 fix(crypto): use zero auxiliary data in BIP340
2 years ago
matejcik a9b46f0249 fix(core/rust): be more defensive about strings coming in from uPy
2 years ago
matejcik 8dd7a22f8b refactor(core/rust): disallow creating byte buffers from &str
2 years ago
matejcik 32c3320f07 refactor(core/rust): pass around &str instead of [u8] in most places
2 years ago
matejcik 785dc7f4d7 feat(core/rust): introduce StrBuffer
2 years ago
Ondrej Mikle 2ced50ed16 fix(core): update JLink command line flashing parameters
2 years ago
Martin Milata 1f612580f7 feat(core): enable UI tests for redesigned UI
2 years ago
Martin Milata 2f987c3c5e refactor(core/ui): remove dependencies on old layouts
2 years ago
Martin Milata 2a3f0c16bd ci(monero): update test executable, enable more tests
2 years ago
Martin Milata 38f4ab0983 feat(core/rust/ui): return Layout results as singleton objects
2 years ago
Martin Milata 4cf917c7cb build(core): fix TREZOR_EMULATOR_DEBUGGABLE
2 years ago
Jan Pochyla 36829cfa8f feat(core/rust): Add obj_module! macro
2 years ago
Martin Milata 30ec1802f4 chore(core): bump version to 2.5.1
2 years ago
Pavol Rusnak 9a8e257619 fix(core): fix SDL2 include path
2 years ago
Pavol Rusnak 334f7bbbe6 chore(common): defs cleanup
2 years ago
matejcik 61718aff49 feat(tools): make pyright_tool more user-friendly
2 years ago
Martin Milata 45276963c0 fix(core): fix timers for rust layouts
2 years ago
Martin Milata 4eefaffac9 fix(core/rust/ui): recovery/passphrase keyboard fixes
2 years ago
Martin Milata efe25a6ab4 fix(core/rust/ui): pin keyboard tweaks
2 years ago
Martin Milata d51072b8c1 refactor(core/rust/ui): unhardcode screen size
2 years ago
Jan Pochyla 801679bccf chore(core/rust): Add dynamic place system
2 years ago
David Misiak 915781bfb1 chore(cardano): update changelog and ui tests
2 years ago
David Misiak fec4fa2257 refator(cardano): validate map key order in HashBuilderDict
2 years ago
David Misiak a36fc6cadc fix(cardano): display tADA in testnet transactions
2 years ago
David Misiak 1f20c49536 feat(cardano): allow device-owned outputs in plutus txs
2 years ago
David Misiak 117c3c932f fix(cardano): update testnet protocol magic
2 years ago
David Misiak 962f689e8a feat(cardano): display tx id for plutus txs
2 years ago
David Misiak f0e230642b fix(cardano): display reward addresses for withdrawals
2 years ago
David Misiak 9f9535abb3 feat(cardano): add key hash stake credentials
2 years ago
David Misiak 2262602967 feat(cardano): add support for plutus transactions
2 years ago
David Misiak 1388912762 fix(cardano): add map key canonical order validation
2 years ago
David Misiak 143af80aea fix(cardano): add input validation
2 years ago
David Misiak 48587d83fe feat(cardano): add support for output datum hash and script data hash
2 years ago
David Misiak 2b3a53a6ae feat(cardano): add support for network id in tx body
2 years ago
Pavol Rusnak 6052e71bbb fix(core): fix build with FEATURE_FLAGS.SECP256K1_ZKP=False
2 years ago
matejcik cdca0bad9e fix(core): do not drop cashaddr prefix for QR code
2 years ago
Pavol Rusnak edb87359eb feat(core): headless emulator implies disabled animations
2 years ago
Andrew Kozlik 9e346b05da chore(core): Don't check fairness of mining fees in CoinJoin.
2 years ago
Andrew Kozlik 94d1a49eea chore(core): Rework checking of CoinJoin parameters.
2 years ago
Andrew Kozlik 8be6689150 chore(common): Rework AuthorizeCoinJoin message parameters.
2 years ago
Andrew Kozlik 556e8a147a chore(core): Make CoinJoin checks more lenient.
2 years ago
Andrew Kozlik 605e128ca0 chore(core): Simplify path warning UI.
2 years ago
Andrew Kozlik 94fa6d2515 feat(core): Guess weight of unverified external inputs.
2 years ago
Andrew Kozlik 43f1d67289 feat(core): Support unverified external inputs.
2 years ago
Andrew Kozlik c9e6ca30c9 feat(core): Ensure input's script type and path match the scriptPubKey.
2 years ago
matejcik 0b9f7db742 fix(core): support structs as array elements (fixes #2167)
2 years ago
matejcik 4e2129e0a0 feat(core): automatically choose best QR encoding
2 years ago
grdddj b9858f00c5 chore(tools): simplify build_protobuf file sources creation
2 years ago
grdddj 3d505874aa feat(ci): create pyright tool and include it in CI
2 years ago
matejcik db9f89ed4e chore(core): update Bitcoin testcases to use valid prevtxes
2 years ago
matejcik bbf286e050 fix(core/debug): only wait for layout when _enabling_ watch_layout
2 years ago
matejcik 390411098a build(core): enable ui_debug for non-frozen emulator
2 years ago
matejcik 59b5f48dc1 build(core): fix echo invocation for dash
2 years ago
Jan Pochyla 4c027a688c chore(core/rust): Simplify LayoutObj
2 years ago
Jan Pochyla 2b6f1a4d5c chore(core/rust): Use MultiTapKeyboard in passphrase
2 years ago
Jan Pochyla 3c337723b2 chore(core/rust): Add mnemonic keyboards
2 years ago
Pavol Rusnak c6667fa0c2 feat(core): verify bip340 pubkeys used in p2tr addresses
2 years ago
Pavol Rusnak b9bbd5fcd7 chore: update dependencies
2 years ago
Andrew Kozlik d52a59e37b feat(core): Show "signature is valid" dialog when VerifyMessage succeeds.
2 years ago
Andrew Kozlik 4d40d6dbfc feat(core): Support Electrum signatures in VerifyMessage.
2 years ago
Andrew Kozlik 473657fd44 chore(core): Tweak validation of pre-authorized GetOwnershipProof.
2 years ago
Martin Milata 80655747d0 test(core/rust/ui): pagination unit test
2 years ago
Martin Milata ab0eef5de0 fix(core/rust/ui): adjust spacing for confirm_action
2 years ago
Martin Milata 5378492ea9 chore(core/rust): wireframe rendering for ui debugging
2 years ago
Martin Milata 10650af1fa refactor(core/rust/ui): paragraphs breaking
2 years ago
Martin Milata b5da6dc911 refactor(core/rust): geometry/display API improvements
2 years ago
Martin Milata f2b8822d76 refactor(core): improve build-time option for old/new UI
2 years ago
Martin Milata b64c69c3ff feat(core/rust/ui): implement confirm_action
2 years ago
Martin Milata 6d1227d839 feat(core/rust/ui): SwipePage: add buttons, auto-disable scrolling
2 years ago
Martin Milata 695d80bf54 refactor(core/rust/ui): uPy buffer support for TT buttons
2 years ago
Martin Milata f167a2bef2 feat(core/rust/ui): add model T title bar
2 years ago
Martin Milata c7b33e2bc0 feat(core/rust/ui): add new icons
2 years ago
Martin Milata b46901bc8b feat(core): add TT Hoves fonts, introduce medium variant
2 years ago
matejcik abc593d19a tests: drop skip_ui support
2 years ago
Jan Pochyla d979efc3ca chore(core/rust): Try to simplify pagination a bit
2 years ago
Martin Milata 8fb28e4af5 feat(core/rust): impl Paginate for Paragraphs
2 years ago
Martin Milata f29ccf6009 fix(core/rust): UI tweaks
2 years ago
Martin Milata 48f29ee0b9 refactor(core/rust): return bounding box after laying out text
2 years ago
Martin Milata 7271606ca2 feat(core): smaller debug square on T1
2 years ago
Martin Milata bea696dfc9 feat(core/rust): Paginated for T1
2 years ago
Martin Milata 19b2358084 refactor(core/rust): T1 title bar
2 years ago
Martin Milata 7f224ab36d refactor(core/rust): model-agnostic Paginated
2 years ago
matejcik c236dfc814 style(core): type `object` doesn't have __slots__
2 years ago
matejcik a1c62098e9 fix(core/ethereum): implement hold-to-confirm for eip1559 transactions
2 years ago
grdddj 5d76144ef5 chore(common): always use resolve() when accessing parent of the Path
2 years ago
Jan Pochyla a3c79bf4f7 feat(core/rust): Add Paginated component
2 years ago
Jan Pochyla a7a305d34d fix(core/rust): Fix request_complete_repaint for components without any Child descendants
2 years ago
Jan Pochyla 129363f080 feat(core/rust): Add Trace to Paragraph[s], improve size calculation
2 years ago
Jan Pochyla d2c8c66385 feat(core/rust): First shot at Paragraphs API
2 years ago
Jan Pochyla 8c47b94b79 feat(core/rust): Add experimental LinearLayout
2 years ago
Jan Pochyla 3dd3d7f87b feat(core): Add HoldToConfirm example, improve Loader and animation frame support
2 years ago
Jan Pochyla 117a0bd518 feat(core): Add preliminary anim frame support
2 years ago
Jan Pochyla be3e99b96d feat(core): Add WiP Loader & generic Animation type
2 years ago
matejcik 87a7e94f5c feat(core/rust): add saturating multiplication by f32 to Duration
2 years ago
Andrew Kozlik 83686d1be2 chore(core): Add HashContextInitable protocol class.
2 years ago
Andrew Kozlik f17a435cdf refactor(core): Rename bitcoin_varint to compact_size.
2 years ago
Andrew Kozlik 0e58218f5f feat(core): Implement Bitcoin payment requests.
2 years ago
Andrew Kozlik d0c3a6a2fa chore(core): Add mac field to Address message.
2 years ago
Andrew Kozlik 2ac3d0acb4 feat(core): Implement GetNonce command.
2 years ago
Andrew Kozlik 0959947a88 chore(common): Add GetNonce, Nonce and TxAckPaymentRequest message.
2 years ago
Jan Pochyla baffe8fdf3 chore(core/rust): Add int variant to tracing
2 years ago
Jan Pochyla 5b0686f09a chore(core/rust): Forbid unsafe in components
2 years ago
Jan Pochyla 12deedf3f6 chore(core/rust): Add backlight fading fn
2 years ago
Jan Pochyla a54ca9cb05 chore(core/rust): Add micropython::time::sleep
2 years ago
Jan Pochyla 334a143b76 chore(core/rust): Split FormattedText into separate mod
2 years ago
Jan Pochyla d5a74a8614 chore(core/rust): Rename Text to FormattedText
2 years ago
Jan Pochyla 39263144b7 chore(core): Various little improvements in Rust UI
2 years ago
Jan Pochyla 998210d569 feat(core): Add Instant and Duration types
2 years ago
grdddj 8524f4b6ba feat(ui): InfoConfirm layout accepting DebugLinkDecision
2 years ago
Andrew Kozlik ba4f046d6f feat(common): Add INFO button to DebugLinkDecision.
2 years ago
Pavol Rusnak 37bd121394 chore(core/embed): check for negative values in trezor_get_uint
2 years ago