1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-22 22:38:08 +00:00
Commit Graph

14174 Commits

Author SHA1 Message Date
M1nd3r
fe226182b2 fixup! chore: update fixtures for T2T1 2024-12-20 15:07:54 +01:00
M1nd3r
1435d09496 chore(tests): start screen recording only after the session fixture has a session prepared
[no changelog]
2024-12-20 15:07:54 +01:00
M1nd3r
8c05e2ef7f fix(tests): unlock device when getting a new session
[no changelog]
2024-12-20 15:07:54 +01:00
M1nd3r
f4a9b3d9c3 chore: update fixtures for T2T1 2024-12-20 15:07:54 +01:00
M1nd3r
d08e61e092 feat(python): add lock() to TrezorClientDebugLink
[no changelog]
2024-12-20 15:07:53 +01:00
M1nd3r
6625bbdb6d fixup! feat(core): implement THP 2024-12-20 15:07:53 +01:00
M1nd3r
74dbf3ef41 fixup! build(ci): add thp builds and tests 2024-12-20 15:07:53 +01:00
M1nd3r
33957ce1c8 wip 2024-12-20 15:07:53 +01:00
M1nd3r
e071f2f4ac refactor(core): move handling of ThpCreateNewSession message into base.py
[no changelog]
2024-12-20 15:07:53 +01:00
M1nd3r
8aef867259 refactor(core): move wire buffer handling completely to memory_manager
[no changelog]
2024-12-20 15:07:53 +01:00
M1nd3r
4d9699a883 refactor(common): remove pairing_in/out and channel_in/out proto options
[no changelog]
2024-12-20 15:07:53 +01:00
M1nd3r
dfbf9ccc2e fix(tests): change xfail to skip when using protocol_marker
[no changelog]
2024-12-20 15:07:53 +01:00
M1nd3r
869e8107ce refactor(python,tests): add is_invalidated flag to client, do not set the emulator.client outside from emulator
[no changelog]
2024-12-20 15:07:53 +01:00
M1nd3r
0335a81c44 fixup! build(ci): add thp builds and tests 2024-12-20 15:07:53 +01:00
M1nd3r
e96b5e89ba refactor(core): move exclude list from wipe to wipe_cache
[no changelog]
2024-12-20 15:07:53 +01:00
M1nd3r
517707a1c2 refactor(core): clean channel and received_message_handler
[no changelog]
2024-12-20 15:07:53 +01:00
M1nd3r
5c7f5edb80 refactor(core): improve readability and logging in channel.py
[no changelog]
2024-12-20 15:07:53 +01:00
M1nd3r
daa05bc760 refactor(core): improve readability of channel_manager
[no changelog]
2024-12-20 15:07:53 +01:00
M1nd3r
76af43039a chore(vendor): update fido2-tests
[no changelog]
2024-12-20 15:07:53 +01:00
M1nd3r
01fa4f413b test: update test framework
[no changelog]
2024-12-20 15:07:53 +01:00
M1nd3r
d263f8ea1c test: update device tests
[no changelog]
2024-12-20 15:07:53 +01:00
M1nd3r
3a126c4955 test: update ui tests
[no changelog]
2024-12-20 15:07:53 +01:00
M1nd3r
196413fdf6 test: update upgrade tests
[no changelog]
2024-12-20 15:07:53 +01:00
M1nd3r
59da4fb0ab test: update persistence tests
[no changelog]
2024-12-20 15:07:53 +01:00
M1nd3r
01d04c12c2 test: update click tests
[no changelog]
2024-12-20 15:07:53 +01:00
M1nd3r
900dfd388f chore(python): update python tools
[no changelog]
2024-12-20 15:07:53 +01:00
M1nd3r
f13f217417 chore(python): add python requirements
[no changelog]
2024-12-20 15:07:53 +01:00
M1nd3r
5cd946bc4c feat(python): implement session based trezorlib
[no changelog]
2024-12-20 15:07:53 +01:00
M1nd3r
473b477821 feat(legacy): adapt legacy to THP changes
[no changelog]
2024-12-20 15:07:53 +01:00
M1nd3r
c3a3bf2845 feat(core): implement THP 2024-12-20 15:07:53 +01:00
M1nd3r
2bc7b1d784 chore(core): adapt SConscripts to THP needs 2024-12-20 15:07:53 +01:00
M1nd3r
b78b005aac chore: add build_unix_frozen_debug to core Makefile
[no changelog]
2024-12-20 15:07:53 +01:00
M1nd3r
fe5dcaa372 chore(core): adapt emu.py to new trezorlib
[no changelog]
2024-12-20 15:07:53 +01:00
M1nd3r
c2fe4eddb0 feat(common): add thp protobuf definitions and modify pb2py
[no changelog]
2024-12-20 15:07:53 +01:00
M1nd3r
4c632e2bec build(ci): add thp builds and tests 2024-12-20 15:07:53 +01:00
Ioan Bizău
f10dc86da2 chore(core): update fixtures
[no changelog]
2024-12-20 15:44:43 +02:00
Ioan Bizău
ad06a54d76 chore(core): add test for Slip39_Single
[no changelog]
2024-12-20 15:44:43 +02:00
kopecdav
7eb0b4d689 docs(core) Update embedded build instraction, add DISC2 and TrustZone section 2024-12-20 11:01:19 +01:00
obrusvit
677d62bed8 chore: update fixtures.json
[no changelog]
2024-12-19 00:09:20 +01:00
obrusvit
e9ecbbc5e8 refactor(core): consistent use of confirm_address
- use `confirm_address` trait fn in both `confirm_output` and
`confirm_address` layout functions

[no changelog]
2024-12-19 00:09:20 +01:00
obrusvit
7e1f160dba refactor(core): consistent naming for UI traits
[no changelog]
2024-12-19 00:09:20 +01:00
obrusvit
0e1696b3ed chore(core): cleanup warnings and clippy errors
[no changelog]
2024-12-19 00:09:20 +01:00
obrusvit
9caf540e16 refactor(core): remove trezorui2 module
- also remove "check" scripts which seem outdated

[no changelog]
2024-12-19 00:09:20 +01:00
obrusvit
ad9618c282 refactor(core): cleanup layout.rs
- last functions of all models moved out
- imports formatted
- tests moved

[no changelog]
2024-12-19 00:09:20 +01:00
obrusvit
dd9ac038d0 refactor(core): port functions to FirmwareUI
- keyboards
- standalone functions
  - disable_animations
  - check_homescreen_format
- confirm_action
- selectors
- confirm_firmware_update
- show_homescreen/lockscreen
- confirm_homescreen
- confirm_homescreen of mercury changed according to Figma
- set_brightness
- show_wait_text
- show_progress
- request_number
- show_checklist
- show_mismatch
- confirm_reset
- tutorial
- confirm_coinjoin
- confirm_modify_output/fee
- show_group_share_success
- show_remaining_shares
- show_success/warning/error/danger
- show_simple
- continue_recovery
  - confirm_recovery of model_t and model_r merged with
flow_continue_recovery of mercury into a continue_recovery_homepage
trait function, parameters renamed to be more descriptive
- show_share_words moved and refactored
  - model_t version was moved from using plain Paragraph to a dedicated
component `ShareWords` so that it's consistent with other models. This
allowed to move formatting to Rust and allowed the trait function to
have `words` parameter of type `Vec<TString, 33>`
  - model_r ShareWords::render slightly refactored to be consistent with
the new model_t version
  - mercury uses a unique version. The reason is that mercury SwipeFlow
contains also the initial screen with instructions and prompt screen at
the end.
- confirm_with_info
- show_info_with_cancel
- confirm_blob
- confirm_value
- confirm_properties
- confirm_more
- confirm_address
- prompt_backub
- confirm_emphasized
- show_address_details
- confirm_summary
- TR removed:
  - confirm_output_address and confirm_output_amount replaced with
confirm_blob. UI diff is minimal.
  - confirm_joint_total, replaced a TR-specific function with a generic
`confirm_properties` with no UI changes
- confirm_multiple_pages_texts
  - the function is TR specific and is used only in confirm_set_new_pin,
it would be better to use something different
- remaining mercury flows with no counterpart
  - confirm_blob_intro
  - flow_confirm_set_new_pin
  - flow_confirm_output
  - flow_get_address

[no changelog]
2024-12-19 00:09:20 +01:00
obrusvit
b2c6b09bfc feat(core): introduce FirmwareUI trait
- the commit introduces a trait defining high level UI building blocks,
common for all models.
- trezorui_api module exposes these functions to MicroPython world.
- `show_info` is implemented as a first function.

[no changelog]
2024-12-19 00:09:20 +01:00
obrusvit
091a0e8550 feat(core): introduce trezorui_api
- the new module is the place for type definitions of the interface
between rust and micropython world.
- the new module will replace `trezorui2` with `trezorui_api`

[no changelog]
2024-12-19 00:09:20 +01:00
obrusvit
78cce0ba04 fix(core): font generator padding
[no changelog]
2024-12-16 13:54:27 +01:00
obrusvit
5d1401ef4f refactor(core): safe iface for get_glyph_data
[no changelog]
2024-12-16 13:54:27 +01:00
obrusvit
5a9c8c81ae refactor(core): remove UTF-8 support from C
- re-implement some fonts handling functions in Rust and delete them
from C
- C code only needs to handle ASCII characters

[no changelog]
2024-12-16 13:54:27 +01:00