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

13173 Commits

Author SHA1 Message Date
cepetr
5d8a7ac5bf feat(core): introduce new drawing library
[no changelog]
2024-05-17 09:17:37 +02:00
cepetr
3336e3902f feat(core): introduce new display drivers
[no changelog]
2024-05-17 09:17:37 +02:00
cepetr
80d1ce25c6 refactor(core/rust): improve tjpgdec interface
[no changelog]
2024-05-17 09:17:37 +02:00
matejcik
12ff2e4570 refactor(core/rust): allow Copy and Clone for Gc
This is legal for garbage-collected pointers and we only avoided the
implementation due to being careful.

Now is the first time we need that functionality.

[no changelog]
2024-05-17 09:17:37 +02:00
Ioan Bizău
3d74e30fa7 chore(core): rename Shamir to Multi-share
[no changelog]
2024-05-16 16:57:55 +03:00
Ondřej Vejpustek
82e62cf41c chore(legacy): initialize automatic variables to zero
[no changelog]
2024-05-10 20:06:28 +02:00
Ondřej Vejpustek
756d250015 chore(core): initialize automatic variables to zero
[no changelog]
2024-05-10 20:06:28 +02:00
Ondřej Vejpustek
6b81d24b5c chore(core): separate crypto sources in build scripts
[no changelog]
2024-05-10 20:06:28 +02:00
Ondřej Vejpustek
bfbb6f8685 chore(crypto): initialize automatic variables to zero 2024-05-10 20:06:28 +02:00
Ondřej Vejpustek
9a4215581e refactor(legacy): fix empty parameter list warnings
[no changelog]
2024-05-10 20:06:28 +02:00
Ondřej Vejpustek
68c83f54cb chore: update clang 2024-05-10 20:06:28 +02:00
Ondřej Vejpustek
18f7820d47 style: fix style according to new clang
[no changelog]
2024-05-10 20:06:28 +02:00
Ondřej Vejpustek
f0fef1d8c1 chore: update gcc 2024-05-10 20:06:28 +02:00
Ondřej Vejpustek
ccb242ee1c chore(core): introduce THP flag
[no changelog]
2024-05-10 20:05:37 +02:00
Ondřej Vejpustek
5140cba7d2 test(core): add elligator2 unit tests
[no changelog]
2024-05-10 20:05:37 +02:00
Ondřej Vejpustek
2f699a1b6f feat(core): add elligator2 python bindings
[no changelog]
2024-05-10 20:05:37 +02:00
Ondřej Vejpustek
68114fa43d test(crypto): add elligator2 tests 2024-05-10 20:05:37 +02:00
Ondřej Vejpustek
88a9574e57 feat(crypto): implement elligator2 2024-05-10 20:05:37 +02:00
Martin Milata
be049ba619 ci: actions: no block-fixup on scheduled pipelines 2024-05-10 09:41:54 +00:00
matejcik
5f0d028a83 ci: avoid ASAN related failures on build_bootloader_emu
The build job is setting too many variables. The sconscript is
responsible for those, but bootloader_emu does not support ASAN and does
not have the right linker flags to make "-Z sanitizer=address" work. We
don't care because bootloader emulator is not used in the test suite so
we couldn't catch anything with ASAN anyway.
2024-05-10 10:29:29 +02:00
Jan Šetina
447c680b88 chore(core): update cs.json and fixtures
Fixes https://github.com/trezor/trezor-firmware/issues/3697

[no changelog]
2024-05-09 21:12:44 +00:00
Martin Milata
946e855e5d ci: actions: don't fill logs with junk when uploading to s3 2024-05-09 15:39:14 +00:00
Martin Milata
067daa790c ci: bump action dependencies 2024-05-09 15:39:14 +00:00
Martin Milata
5ef428ef55 ci: run common.yml and prebuild.yml nightly 2024-05-09 15:39:14 +00:00
tychovrahe
d04ecba815 fix(core): fix tt ui loader haptic feedback
[no changelog]
2024-05-09 14:51:05 +02:00
tychovrahe
c680187b0e feat(core): add disable haptic option to tt ui button
[no changelog]
2024-05-09 14:51:05 +02:00
cepetr
04d5017228 feat(core): improve loader haptic effect
[no changelog]
2024-05-09 14:51:05 +02:00
M1nd3r
2e58a4959f docs(core): fix reference to SLIP-23 in cardano node derivation
[no changelog]
2024-05-09 13:34:28 +02:00
obrusvit
30b50c6462 refactor(core): update T3T1 fixtures
[no changelog]
2024-05-08 22:46:58 +02:00
obrusvit
50eba3cfbb refactor(core): update other langs fixtures
[no changelog]
2024-05-08 22:46:58 +02:00
obrusvit
069ed1eb32 refactor(core): no all-caps in other langs jsons
This commit changes translations strings of ES, FR, CS, DE langs so that
they do not use UPPERCASED titles, button labels and other texts.

[no changelog]
2024-05-08 22:46:58 +02:00
obrusvit
ef3c49c347 fix(tests): update fixtures of T2B1
Probably an omission after pull #3710.

Update using
../tests/update_fixtures.py local -r

[no changelog]
2024-05-08 22:46:58 +02:00
obrusvit
df9f9f6cb4 refactor(core): update EN fixtures
Updating after UTF-8 uppercasing issue.

Only changes for Model T are during language change where it actually
fixes a problem.

Model R has more changes - especially in show_warning invocation.

See PR 3696 for more info.

[no changelog]
2024-05-08 22:46:58 +02:00
obrusvit
aaff0fe2d3 refactor(core): do not use all-caps in en.json
The change is necessary for future models where titles might not be
uppercased.

[no changelog]
2024-05-08 22:46:58 +02:00
obrusvit
b24e044499 fix(tests): button content comparison
[no changelog]
2024-05-08 22:46:58 +02:00
obrusvit
fccfa43ac9 fix(core/ui): fix model R common title
The title previously disappeared after going back and forth. Used in PIN
setting and FIDO confirm.

[no changelog]
2024-05-08 22:46:58 +02:00
obrusvit
68e01a48cb fix(core/ui): fix model R altcoin summary
[no changelog]
2024-05-08 22:46:58 +02:00
obrusvit
f8fcb49ba6 refactor(core): allow changing button font on R
By default, buttons have uppercased font. The addition is necessary to
customize font on info buttons where we need normal font.

[no changelog]
2024-05-08 22:46:58 +02:00
obrusvit
f9e55a215d refactor(core): replace upper calls by upper font
[no changelog]
2024-05-08 22:46:58 +02:00
obrusvit
43e759ea0b refactor(core): apply uppercased fonts in build
[no changelog]
2024-05-08 22:46:58 +02:00
obrusvit
c448a7bcfc refactor(tools): add gen_upper arg to gen_font
The new option allows generation of font glyph definition where both
lowercase and uppercase letters are mapped to uppercase glyphs.

[no changelog]
2024-05-08 22:46:58 +02:00
obrusvit
86e543c8d3 fix(tests): regenerate fixtures.json
Using ./tests/update_fixtures.py

Current order on main branch is this: T1B1, T3T1, T2B1, T2T1
instead of what the script generates: T1B1, T2B1, T2T1, T3T1

[no changelog]
2024-05-07 13:01:57 +02:00
matejcik
a5aa515631 style(python): upgrade to pyright 1.1.361
had to add a typestub for PIL due to
https://github.com/microsoft/pyright/issues/7832

We should remove it if that is either fixed or, if I fail to convince
Eric, after the relevant type information is added to Pillow

[no changelog]
2024-05-07 11:57:10 +02:00
matejcik
8640b50d81 style(core): upgrade pyright to 1.1.361
[no changelog]
2024-05-07 11:57:10 +02:00
matejcik
ec8da46fe5 build: upgrade pyright to 1.1.361 2024-05-07 11:57:10 +02:00
tychovrahe
6fe476a828 chore(core): fix typos in usb implementation
[no changelog]
2024-05-06 19:51:06 +02:00
tychovrahe
1ce694b7fc fix(core): fix usb configuration for FS peripheral (use 6 endpoints)
[no changelog]
2024-05-06 19:51:06 +02:00
matejcik
12725d9835 chore(core): bump bootloader / prodtest versions after release 2024-05-06 13:21:14 +02:00
matejcik
e8c65b9f24 chore(core): changelog for bootloader and prodtest 2024-05-06 13:20:39 +02:00
tychovrahe
6b31b8eec3 chore(core): change USB manufacturer and product strings for new models
[no changelog]
2024-05-06 13:10:36 +02:00