Commit Graph

730 Commits (cd722f512652ad652a50eae5b9865da6f6f0fc2e)

Author SHA1 Message Date
tychovrahe 3cc66301c3 fix(core): fix model T FMC timing
2 years ago
tychovrahe 3cd47f85af feat(legacy): qa build for upgrade testing
2 years 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
tychovrahe 4c7060186a fix(core): fix display blinking by increasing backlight pwm frequency
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 615c8a0e64 fix(core/embed): better clamping of coordinates
2 years ago
matejcik 9708175d19 fix(core/rust): improve & document safety of slice operations
2 years ago
tychovrahe 0d733d8e22 feat(core): change display type for model R
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
matejcik f1c7129d06 feat(core/model_r): only refresh screen on display_refresh
2 years ago
tychovrahe a89d139dc9 feat(core): increase clock frequency to 180 MHz
2 years ago
Martin Milata e778ec4af4 chore(core/rust/ui): avoid nested Child as LayoutObj root
2 years ago
Martin Milata bf7587574d chore(core): bump version to 2.5.4
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
Dusan Klinec 26711857e8 refactor(xmr): remove old BP code
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
tychovrahe 86f2dacc6e fix(core): re-introduce touch event filtering
2 years ago
Martin Milata f956966fda build(core/rust): workaround failing build_unix_debug
2 years ago
tychovrahe d0f1095842 fix(core): expose USB_CHECK for all models
2 years ago
tychovrahe d3469f8310 fix(core/rust): optimize pin keyboard rendering for TT UI2
2 years ago
Andrew Kozlik d815a7d6de chore(core): Use C implementation of Bech32 decode.
2 years ago
matejcik cac98ad7d4 feat(core/rust): implement storage wrapper layer
2 years ago
tychovrahe 99eaaae28e build(core): redistribute content in flash
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 b9647d1296 fix(core): fix flashing usb disconnected error
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
tychovrahe e3d5c178f1 feat(core): enable bus fault and usage fault handlers
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
Ondrej Mikle 77cdf4b43c fix(core): consider device in USB suspend connected if it was configured before
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
Ondrej Mikle 72228e35cf feat(core): show red error header when USB data not connected
2 years ago
Ondrej Mikle a0287698d5 feat(core): show blue dot when USB data not connected
2 years ago
Martin Milata 005e4203a7 refactor(core/rust/ui): text theme struct
2 years ago
Pavol Rusnak c962d3520b
Merge branch 'release/22.08'
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 6cf92fd748 feat(core): Introduce stack overflow detection by moving stack to the start of RAM
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
tychovrahe f538547d5b feat(core): optimize touch controller communication
2 years ago
matejcik ef47c26272 chore(core,legacy): bump versions
2 years ago
Andrew Kozlik fa5e7feda6 fix(crypto): Fix nonce bias in CoSi signing.
2 years ago
matejcik a6410693b3 Revert "feat(core): implement firmware dumping"
2 years ago
TychoVrahe a762e75fee
fix(core): reintroduce touch controller initialization without power down/up in firmware, fix model R firmware initialization
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
Christian Reitter c5d22b4395 fix(core): correct range in error message
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 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
Andrew Kozlik 892f3e348d fix(crypto): Remove public key from the ed25519 signing API.
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
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
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 6319a5a9d0 feat(core/rust): BIP-39 wordlist operations in Rust
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
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 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
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 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
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
Martin Milata 18c8304339 fix(core): leftover TREZOR_MODEL defines
2 years ago
TychoVrahe 7912a7d0d3
build(core,storage): fix conditional compilation for different Trezor models
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 30ec1802f4 chore(core): bump version to 2.5.1
2 years ago
Pavol Rusnak 9a8e257619 fix(core): fix SDL2 include path
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
Pavol Rusnak 6052e71bbb fix(core): fix build with FEATURE_FLAGS.SECP256K1_ZKP=False
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
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
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