obrusvit
a351614e3a
chore(tests): fix CI failures
...
Disable some tests of unsupported coins for TS3.
[no changelog]
2024-02-22 12:10:12 +01:00
obrusvit
e073e619c9
chore(tests): re-run black and isort on core/tests
...
isort set to skip the first necessary "from common import *" line. A
better solution would be to get rid of the need of this import in the
future.
[no changelog]
2024-02-22 12:10:12 +01:00
grdddj
a1a60ed320
feat(tests): skip SD card tests for TR - allowing to run unittests for TR
...
[no changelog]
2024-02-22 12:10:12 +01:00
grdddj
171c615dfa
chore(tests): remove unused imports and variables
...
[no changelog]
2024-02-22 12:10:12 +01:00
grdddj
4bca28bac0
chore(tests): run isort and put "from common import *" at the beginning
...
[no changelog]
2024-02-22 12:10:12 +01:00
grdddj
4bd7cf4b04
chore(tests): run black
...
[no changelog]
2024-02-22 12:10:12 +01:00
obrusvit
e2b7244383
Rename trezorctl self-test to prodtest-t1.
...
It was confusing for trezorctl users. The new name clearly signals that
it's meant to work only for Model One.
2024-02-22 11:47:26 +01:00
grdddj
5aec7bf414
chore(core): generate signatures.json
...
[no changelog]
2024-02-21 12:44:40 +01:00
grdddj
d2167fdd27
chore(tools): add rules for buttons and new strings
...
[no changelog]
2024-02-21 12:44:40 +01:00
grdddj
a6b02e0311
fix(core): replace spanish number symbol with nro. shortcut
...
[no changelog]
2024-02-21 12:44:40 +01:00
grdddj
8f4c956bdc
fix(core): shorten long translations
...
[no changelog]
2024-02-21 12:44:40 +01:00
grdddj
2c06c4a75c
feat(core): add newly translated strings from agency
...
[no changelog]
2024-02-21 12:44:40 +01:00
grdddj
5ce5d47171
chore(core): catch possible EOFError when parsing translations header
...
[no changelog]
2024-02-21 12:44:40 +01:00
grdddj
1ab2d843ab
chore(core): add missing template to the variable name
...
[no changelog]
2024-02-21 12:44:40 +01:00
tychovrahe
8147b11345
fix(core): fix quadword-only storage
...
[no changelog]
2024-02-20 09:37:28 +01:00
Andrew Kozlik
440b1304c0
refactor(storage): Split implementations based on FLASH_BIT_ACCESS.
...
[no changelog]
2024-02-20 09:37:28 +01:00
Andrew Kozlik
b2f05f187f
feat(storage): Work with generic flash blocks instead of quadwords.
...
[no changelog]
2024-02-20 09:37:28 +01:00
tychovrahe
743ed413f6
feat(core): add support for quad-word only storage
...
[no changelog]
2024-02-20 09:37:28 +01:00
grdddj
0579ba54fc
feat(core): allow for going back to previous word in recovery process
2024-02-19 22:05:04 +01:00
obrusvit
8c5f73c413
docs: improve documentation for core
...
[no changelog]
2024-02-13 16:51:54 +01:00
grdddj
6142a39f20
fix(core): add debug feature to Rust in hardware build when PYOPT=0
...
[no changelog]
2024-02-12 17:07:28 +01:00
grdddj
941408246c
chore(core): add changelog entry for translations
2024-02-12 14:49:32 +01:00
matejcik
65178a6a36
refactor(core/rust): reuse the same component for "waiting for host" screen
2024-02-12 14:49:32 +01:00
matejcik
8471e0c455
refactor(core/rust): decouple Connect screen from bootloader theme
2024-02-12 14:49:32 +01:00
matejcik
02557ad6c0
feat(core/rust): expose attrtuple to Rust
2024-02-12 14:49:32 +01:00
matejcik
6af7b4a4b7
fix(core/rust): convert Qstr type to representation that matches C code
2024-02-12 14:49:32 +01:00
matejcik
ab3c62ae71
feat(core/rust): introduce SimpleTypeObj
2024-02-12 14:49:32 +01:00
matejcik
6a280a279a
feat(python): add cosi.sign_with_privkeys
...
we've had multiple copies of this function all over the codebase, it's time to move it where it belongs
2024-02-12 14:49:32 +01:00
matejcik
3e14937c8a
feat(core/rust): add const Obj::small_int
2024-02-12 14:49:32 +01:00
matejcik
63360a7417
feat(core/rust): add Map::is_empty()
2024-02-12 14:49:32 +01:00
matejcik
9c72c7c99d
feat(common): provide some useful paths for the mako templates
2024-02-12 14:49:32 +01:00
matejcik
03298ca80f
docs(core/rust): improve safety comments in buffer.rs
2024-02-12 14:49:32 +01:00
matejcik
0c793084f8
chore(core/rust): move illustration outside src/ tree
2024-02-12 14:49:32 +01:00
matejcik
8bf5a72843
refactor(core/rust): move iter_into_array to micropython::utils
2024-02-12 14:49:32 +01:00
matejcik
3b88116bba
feat(core/rust): add trezorcrypto bindings
...
for now, we use sha256 and a little of ed25519 for CoSi purposes
also add the Merkle root algorithm
2024-02-12 14:49:32 +01:00
matejcik
76296ad417
refactor(core/rust): move InputStream to its own module
2024-02-12 14:49:32 +01:00
matejcik
055662ea27
chore(common): deprecate language
fields in ApplySettings, ResetDevice, RecoveryDevice
2024-02-12 14:49:32 +01:00
grdddj
b8ea21d24a
feat(all): implement translations into Trezor
...
Co-authored-by matejcik <ja@matejcik.cz>
2024-02-12 14:49:32 +01:00
Martin Milata
bb29c1e5f8
fix(core/bitcoin): display descriptors for taproot XPUBs
2024-02-07 16:30:10 +01:00
Martin Milata
3c7a6dd68a
fix(core): handle uncaught exceptions from main.py
...
[no changelog]
2024-02-05 16:53:49 +01:00
grdddj
dba4bf9e38
feat(core): improve the design of TT locking loader on homescreen
...
[no changelog]
2024-02-05 14:46:40 +01:00
grdddj
76c547bb91
feat(core): add loader to homescreen when locking the device for TS3
2024-02-05 14:46:40 +01:00
cepetr
5d8e56ac2a
refactor(core): shrink size of Paragraphs struct
...
[no changelog]
2024-02-05 14:10:54 +01:00
Ondrej Mikle
269d98d43e
chore(core): make jlink flashing work together with FW integrity, but avoid erasing sectors unnecessarily
...
[no changelog]
2024-02-05 12:26:36 +01:00
stevenbooke
ed1785a985
fix(core): fix sed script syntax
2024-02-02 13:01:12 +01:00
matejcik
7958061705
build(core): optimize qstr and module collection
...
Run the preprocessor on each file separately.
This allows parallelization and doesn't need to re-run for all files if just a small number is changed.
Replace simple extractors with one-liners which are generally going to be faster.
2024-02-01 15:50:07 +01:00
matejcik
1d6fafa0ff
build(core): use the right number of jobs
2024-02-01 15:50:07 +01:00
matejcik
66213823ea
build(core): SCons "go fast" button
...
some pretty safe & reasonable defaults to speed up SCons:
- look at timestamps to figure out whether a file has changed
- but only if the timestamp is older than 10 secs (which should avoid any problems with 1s precision of mtime, as well as clock drifts etc)
- implicit cache is something to do with parsing C files for dependencies
see https://github.com/SCons/scons/wiki/GoFastButton
2024-02-01 15:50:07 +01:00
cepetr
6331076444
refactor(core/embed): move TOIF format definition to rust
...
[no changelog]
2024-01-26 11:30:40 +01:00
cepetr
8eb1f9b309
refactor(core/embed): delete unused utf8 functions
...
[no changelog]
2024-01-26 11:30:40 +01:00