Commit Graph

211 Commits (287bb1518b1d277839a3aa59343232ccf484e722)

Author SHA1 Message Date
tychovrahe af77816c2f feat(core/rust): expose display offset handling to rust
2 years ago
tychovrahe 29a5b0a770 feat(core/rust): implement interpolate color and color table functions in rust
2 years ago
tychovrahe 7f2a995c54 refactor(core/rust): separate lerp and animations
2 years ago
tychovrahe ce142ffe08 feat(core/rust): make ButtonPos hit function public to enable reuse
2 years ago
Ondrej Mikle 4d3d9f5d7e docs(core): documentation on embedded C+Rust debug
2 years ago
grdddj 38f7d32d94 feat(rust): add more details into panic handler
2 years ago
grdddj 9dc73427fb feat(rust): add print! macro for logging into terminal
2 years ago
matejcik c7b6e8986e fix(core/rust): fix overflow in tests by properly using 0-terminated strings
2 years ago
matejcik fce188fb96 fix(core/ui): fix char boundary bug in Rust layout
2 years ago
Martin Milata c9ca7cd544 feat(core/rust/ui): bitcoin layouts
2 years ago
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 9f0ebf6d1a refactor(core/rust/ui): arbitrary controls for Dialog component
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
matejcik 37d5597965 feat(core/rust): direct write to display memory for better performance on TT hardware
2 years ago
tychovrahe 61482d0795 feat(core/rust): expose raw pixel access to rust
2 years ago
Jan Pochyla c3b82fd651 feat(core/rust): add trezorhal bindings
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
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 6319a5a9d0 feat(core/rust): BIP-39 wordlist operations in Rust
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
grdddj feb96c84b0 chore(core/rust): use clippy for all features
2 years ago
grdddj 7804893179 feat(core/rust): create model_tr feature
2 years ago
Martin Milata 18c8304339 fix(core): leftover TREZOR_MODEL defines
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
Martin Milata 1f612580f7 feat(core): enable UI tests for redesigned UI
2 years ago
Martin Milata 38f4ab0983 feat(core/rust/ui): return Layout results as singleton objects
2 years ago
Jan Pochyla 36829cfa8f feat(core/rust): Add obj_module! macro
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
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
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 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
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 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
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
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
Martin Milata 1734957685 build(core): update rust edition to 2021
3 years ago
Martin Milata 7cc9f13605 refactor(core/rust): allow model_t1 and model_tt at once
3 years ago
Martin Milata afd7cb3b01 feat(core/rust): add example layout for T1
3 years ago
Martin Milata 4d60c10330 feat(core/rust): add support for T1 UI
3 years ago
Martin Milata 3c49ef2f62 feat(core/rust): exposing vararg functions to uPy
3 years ago
Ondřej Vejpustek a924bd4dc6 build(core): do not link gen_context.o to trezor_lib
3 years ago
Jan Pochyla 901580817d chore(core/rust): fixes and formatting
3 years ago
Jan Pochyla 5eefcffc7c chore(core): prepare for fuzzing targets
3 years ago
Jan Pochyla 2703d714c2 feat(core): add Rust UI components, layouts, text rendering
3 years ago
Martin Milata 81e66cb024 style(core/rust): enable clippy lints
3 years ago
Jan Pochyla 2c8dec93a6 feat(core): Split unix main, link core obj into Rust test target
3 years ago
matejcik 7a17124b43 refactor(core/rust): do not rely too much on new_exception helpers
3 years ago
matejcik 5e452dc57c refactor(core/rust): propagate unsafety of raise_exception
3 years ago
matejcik 806beb77d2 feat(core/rust): improve catch_exception, make use of Rust 1.55
3 years ago
matejcik 795ed2d339 fix(core/rust): fix "unnecessary unsafe" warning
3 years ago
matejcik 31de21718f feat(core/rust): introduce Obj.is_null()
3 years ago
matejcik b666895303 feat(core/rust): catch, handle and propagate uPy exceptions
3 years ago
matejcik 8abcb6f8cc chore(core/rust): allow unused macros
3 years ago
Jan Pochyla 7c65f0357a feat(core/rust): Implement exception catching in Rust
3 years ago
Martin Milata a007e062ab style(core): apply rustfmt
3 years ago
Martin Milata 582e1318c4 feat(core/emulator): support protobuf messages in memory dumps
3 years ago
Pavol Rusnak 8cfa5da1ce
docs: fix typos in comments
3 years ago
matejcik c06a93cba5 feat(core/rust): propagate bitcoin_only flag to Rust build
3 years ago
Jan Pochyla 8a21e3fc73 feat(core): Add Rust Protobuf codec
3 years ago
Martin Milata 20fe8552ca build(core/rust): use correct architecture for T1
3 years ago
matejcik e015bc0856 build(core/rust): disable nightly-only features
3 years ago
Jan Pochyla 6257584951 feat(core): Add Rust bindings to MicroPython and trezorhal
3 years ago