Commit Graph

444 Commits (c741b2baba430ed3caad803c52c333fae9b7e9c4)

Author SHA1 Message Date
Martin Milata 4622aec0f1 refactor(core): switch to Rust implementation of QR-Code-generator
1 year ago
tychovrahe d633fa885b feat(core/rust): model R bootloader implementation in rust
1 year ago
tychovrahe 659c939080 fix(core/rust): fix glyph positioning in TextOverlay
1 year ago
tychovrahe 5a991f3244 feat(core/rust): bootloader implementation in rust
1 year ago
matejcik f9612898ab feat(core/rust): improved error reporting
1 year ago
matejcik e0bcdb16e0 refactor(core/rust): clarify safety of StrBuffer creation
1 year ago
matejcik b864ad58b2 feat(core/rust): cleaner backlight functions
1 year ago
tychovrahe 9b9443ead7 feat(core/rust): added color constructor from rgba format, added text display functions using top-left coordinates
1 year ago
tychovrahe a1312d8453 feat(core/rust): added button with icon and text
1 year ago
tychovrahe e75f112ec2 feat(core/rust): expose touch processing functions to rust
1 year ago
Jan Šetina d540c52c0c chore(core): change the homescreen
1 year ago
Jan Šetina 30b636079e chore(core): change the color definitions
1 year ago
grdddj 1215268ae9 chore(rust): decrease icon top margin on welcome screen to 48 px
1 year ago
Martin Milata 557e29769b feat(core/ui): redesigned passphrase dialogs
1 year ago
Andrew Kozlik 9528e2f9eb feat(common): Add Apple to known FIDO services.
1 year ago
grdddj acec852aa4 feat(core): show welcome screen after device is connected
1 year ago
Martin Milata afb5c55416 feat(core/ui): reset_device copy change
1 year ago
tychovrahe 9f7edf210e feat(core/rust): basic marquee implementation
1 year ago
tychovrahe 9aa8662ba9 feat(core): implement loaders for T2B1
1 year ago
tychovrahe 52cd43bf29 fix(core): improve tearing effect prevention
1 year ago
Martin Milata 099d00de84 perf(core/rust): use less Button instances in PassphraseKeyboard
1 year ago
Martin Milata 0df81b18e3 perf(core/rust): parse Toif metadata on demand
1 year ago
Martin Milata 194868438a perf(core/rust): drop NamedToif
1 year ago
grdddj f8c432e955 chore(core/rust): delete model_1 code - it should use model_r
1 year ago
tychovrahe 236396338c refactor(core/rust): introduce icon/image type
1 year ago
tychovrahe 1359b21508 feat(core): confirm homescreen image with thumbnail
1 year ago
tychovrahe d00e87ea80 feat(core/rust): homescreen background image
1 year ago
tychovrahe 12f87aa01e fix(core): fix usb disconnected warning in new homescreen
1 year ago
tychovrahe 02e2b50d3f feat(core/rust): tjpgd in rust
1 year ago
matejcik 497285f9a1 feat(core): make first steps to unify Rust API for both models
1 year ago
tychovrahe 305b7fe84d fix(core/rust): fix position calculation from center and size
2 years ago
Martin Milata bdec3f3979 fix(core/rust/ui): polish confirm_fido
2 years ago
Martin Milata 2a3aabb57e refactor(core/rust/ui): avoid homescreen flicker during workflow restarts
2 years ago
Martin Milata 5b3db7eca1 refactor(core/rust/ui): homescreen layouts
2 years ago
tychovrahe 12b3dc23db fix(core/rust): fix bip39 input not recognizing three-letter words that could continue
2 years ago
Martin Milata 1b4dff6275 fix(core/rust/ui): respect DISABLE_ANIMATION
2 years ago
Martin Milata 95d8a21294 feat(core/rust/ui): progress indicators
2 years ago
Martin Milata 11ffee0b45 refactor(core/rust/ui): use AsRef instead of Deref
2 years ago
tychovrahe 387af03842 fix(core/rust): optimize keyboard behavior
2 years ago
Martin Milata 701d75d6d8 fix(core/rust/ui): handle very long scrollbars on Model T
2 years ago
Martin Milata 4135b00708 refactor(core/rust): support for StrBuffer slicing
2 years ago
Martin Milata 452857757a feat(core/rust/ui): support ask_pagination flag in confirm_blob
2 years ago
tychovrahe 38548f02f2 feat(core/rust): special shape erase button
2 years ago
Martin Milata a61a46808e fix(core/rust/ui): no hyphens when breaking monospace lines
2 years ago
Martin Milata 3b92923caa feat(core/rust/ui): on-the-fly conversion of bytes to hexadecimal representation
2 years ago
grdddj 61277bd80a feat(core/ui): implement webauthn layouts for UI2
2 years ago
matejcik e80712f4d9 chore(core/rust/ui): workaround for "re-enter wipe code"
2 years ago
matejcik 4200539546 refactor(core/rust/ui): redesign Label to make use of TextLayout machinery
2 years ago
matejcik 3f6ea00e02 feat(core/rust/ui): expose text_max_height and baseline
2 years ago
matejcik 9708175d19 fix(core/rust): improve & document safety of slice operations
2 years ago
tychovrahe 1bad41ddb0 fix(core/rust): fix success animation
2 years ago
matejcik d1126b85be feat(rust): expose micropython lists as slices
2 years ago
grdddj f48890afb3 chore(tests): make all the device tests work with UI2
2 years ago
grdddj ae525fed26 chore(core/ui): delete unused arguments to layouts
2 years ago
Martin Milata e778ec4af4 chore(core/rust/ui): avoid nested Child as LayoutObj root
2 years ago
tychovrahe 6e36f479db fix(core/rust): fix prompt rendering over warning in pin keyboard
2 years ago
Martin Milata 40a405abea fix(core/rust/ui): remove extraneous Child wrappers
2 years ago
Andrew Kozlik 627ef9748f feat(core): Remove coin name from CoinJoin confirmation dialog.
2 years ago
grdddj 8668eba936 feat(core/ui): implement altcoin screens for UI2
2 years ago
grdddj 23a0a37a45 feat(core/rust/ui): support longer passphrases
2 years ago
tychovrahe da83d98539 refactor(core/rust): use icon blending for three-color icons
2 years ago
Martin Milata 18352acce8 feat(core/rust/ui): replace TT Hoves Medium with DemiBold style
2 years ago
Martin Milata be7f1c3f7e fix(core/rust/ui): avoid flickering in hold to confirm
2 years ago
Martin Milata a7c3a07ef1 refactor(core/rust/ui): implement confirm_properties layout
2 years ago
Martin Milata f956966fda build(core/rust): workaround failing build_unix_debug
2 years ago
tychovrahe d3469f8310 fix(core/rust): optimize pin keyboard rendering for TT UI2
2 years ago
matejcik cac98ad7d4 feat(core/rust): implement storage wrapper layer
2 years ago
tychovrahe fb08536b6a feat(core): icon and images using new format
2 years ago
tychovrahe f7b9bb4ef8 feat(core/rust): use dma2d to improve rendering performance, implement text over image and icon over icon functions
2 years ago
tychovrahe 223d1b20fb refactor(core): change fonts organization
2 years ago
tychovrahe a4d0ec3926 fix(core/rust): fix flickering in UI2 hold to confirm screen
2 years ago
Martin Milata 7c11dec7f6 refactor(core/rust/ui): Font as repr(u8) enum
2 years ago
Martin Milata ef504d40fc perf(core/rust/ui): use 16-bit coordinates
2 years ago
Martin Milata 5a9c2a1363 feat(core/rust/ui): recovery layouts
2 years ago
Martin Milata 5052594789 refactor(core/rust/ui): simplify button height computation
2 years ago
Martin Milata 885ae2a943 refactor(core/rust/ui): add should_show_more
2 years ago
Martin Milata a5cff25209 fix(core/rust/ui): expose method for completely repainting layout
2 years ago
Martin Milata 3b629a1ea4 refactor(core/rust/ui): layouts for SLIP-39 backups
2 years ago
Martin Milata 4782afbae3 refactor(core/rust/ui): layouts for BIP-39 backups
2 years ago
Martin Milata 4ff2c99f0a refactor(core/rust/ui): add show_info and show_error
2 years ago
Martin Milata f0d5f9069a refactor(core/rust/ui): text centering in Paragraphs
2 years ago
Martin Milata 247d9d267a feat(core/rust/ui): explicit breaks for Paragraphs
2 years ago
matejcik 7ba7eff118 refactor(core/rust): more explicit buffer semantics, StrBuffer::alloc
2 years ago
tychovrahe 837988f61e fix(core/rust): fix uzlib window allocation
2 years ago
tychovrahe dd823097b4 fix(core/rust): fix UI2 loader position
2 years ago
Martin Milata 005e4203a7 refactor(core/rust/ui): text theme struct
2 years ago
matejcik 0b4ccf45fc style(core/rust): less expensive conversion from known good utf8 string
2 years ago
matejcik 0fb66d3527 feat(core/rust): unwrap! macro to trigger nicer behavior than the built-in
2 years ago
matejcik 0b52ffb914 feat(core/rust): const geometry
2 years ago
tychovrahe cc2bfd9c39 feat(core/rust): autoclosing popup for Model R with success animation
2 years ago
tychovrahe 1697be2de8 feat(core/rust): added success animation and rust icon rendering
2 years ago
tychovrahe 820182c6b0 feat(core/rust): expose uzlib functions to rust
2 years ago
tychovrahe 68598f00af feat(core/rust): hold to confirm animation for Model R
2 years ago
tychovrahe 107e22c814 feat(core/rust): glyph and text rendering in rust
2 years ago
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
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
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
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
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 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
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
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
Jan Pochyla 8a21e3fc73 feat(core): Add Rust Protobuf codec
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