1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-18 05:28:40 +00:00
Commit Graph

78 Commits

Author SHA1 Message Date
grdddj
7f1a5ac4c1 WIP - firmware translations
WIP - refactor and extend font generation for non-ascii characters

WIP - add czech characters mapping between UTF8 value and index

WIP - regenerate font files with czech characters

WIP - shorten czech button text, it was causing SHUTDOWN for some reason

WIP - support UTF8 characters in fonts.c

WIP - account for translation in tests

WIP - small fixes

WIP - fix last test

WIP - support UTF8 also in Rust font operations

WIP - add a script to find non-translated english strings in micropython code

WIP - add a validator script for checking missing micropython translations

WIP - translate remaining altcoins and other apps in core (fido, sdcard, TT layouts, ...)

WIP - generate czech glyphs for TT fonts

WIP - modify gen_font.py to account for negative bearing czech characters

WIP - extend translation validation scripts, move them into core/tools

WIP - translate TT layouts in Rust

WIP - fix tests

WIP - fix inverse coloring of nonprintable glyph

WIP - add build and test pipelines for Czech language

WIP - merge both JSON files together

WIP - run new isort

WIP - unify all the translation in Rust, expose to micropython

TEMP - leave en_merged.json file, so it is accessible by translators with old link

WIP - fixes

WIP - add french characters and translation via Google Translator

WIP - skip rustfmt in mako-created files

WIP - revert all the font height changes causing false-positive UI diff

WIP - fixes after rebase

WIP - fix broken translations

WIP - revert some wording changes causing UI diff

WIP - improve validation and translate scripts, translate missing strings

WIP - sort all keys alphabetically

WIP - remove any usage of translation in bootloader

WIP - add newline at the end of JSON file

WIP - fix bitcoin-only strings check

WIP - fix python support check

WIP - add some missing translations

WIP - fix SD card device test

WIP - fix pystyle

WIP - fix rust unittests

WIP - fix click tests

WIP - flag errors in french translations

WIP - add script transferring translations data into a byte blob

WIP - regenerate fr.rs

WIP - store and read language translations from flash

WIP - storing language name in storage

WIP - sending language_data in apply_settings protobuf message

WIP - separate protobuf message for translations, fixes

WIP - set up translations area for TT as well

WIP - get rid of TREZOR_LANG env variable during build

WIP - make the firmware buildable for TT

WIP - add basic device tests

WIP - set language for tests

WIP - counting with language when writing fixtures

WIP - add todos

WIP - fix CI

WIP - unify translations, make titles CAPITAL

WIP - translate missing english

WIP - skip translations messages for T1

WIP - not changing tests names for english

WIP - fix flake8

WIP - no test language setting for T1

WIP - clippy lint about complex data type

WIP - fix some english UI diff for TR

WIP - fix cstyle

WIP - minimize the usage of #[cfg(feature = "micropython")] outside translations module

WIP - minimize TT's UI diff

WIP - fix ruststyle

WIP - fix TR build

WIP - advanced Shamir text change

WIP - storing the language name as the first item in the translation data

WIP - modify and extend tests after storing language name

WIP - modify checklist sentence

WIP - add TEST_LANG into Makefile for all the emu tests

WIP - default arguments

WIP - reimplement default arguments

remove unneeded pub from get_info function

WIP - Rust handling of object attributes lookups from upy - thanks Matejcik!

WIP - generate mock interface for attribute-based translations lookups

WIP - change function calls to object attributes

WIP - symbolic link for unix/translations.c

WIP - fix and improve the reading of translations - thanks Matejcik!

WIP - add support for multiple languages in removing missing tests

WIP - fix multiple-accounts warning in tests

WIP - fix encoding of newlines in translations

WIP - fix czech tutorial text

WIP - fix czech click tests

WIP - do not translate wire error messages

WIP - add language options to click tests as well

WIP - setup czech device tests in CI

WIP - setup czech click tests in CI

WIP - record czech device tests for TR

WIP - record czech click tests for TR

WIP - record czech device tests for TT

WIP - record czech click tests for TT

WIP - pystyle

WIP - cstyle

WIP - fix Rust micropython import dependency

WIP - fix czech recordings

WIP - support french translations in tests

WIP - shorten some french words to fix the tests

WIP - fix micropython cfg compilation

WIP - record french click tests for TR

WIP - record french device tests for TR

WIP - record french device tests for TT

WIP - record french click tests for TT

WIP - fix french translations - shorten them

WIP - translate missing french words

WIP - fix click tests

WIP - add french tests into CI

WIP - pystyle

WIP - allow for czech/french tests in update script

WIP - update czech fixtures

WIP - update french fixtures

WIP - ruststyle

WIP - disallow MPU to run it on hardware

WIP - cstyle

WIP - change translations delimiter from * to \x00

WIP - change translations protobufs

WIP - remove language handling from storage

WIP - add header into JSON files

WIP - count with header in translations blob

WIP - yml style fixes

WIP - fix proto gen

WIP - verify version and data hash

WIP - fix loading test translations

feat(core): allow access to translations area in firmware

[no changelog]

WIP - fixes after rebase

WIP - increase the TT's translations area to 3 sectors

WIP - dynamically read the maximum translations size

WIP - record non-english tests from CI

WIP - loading font data from translations blob

WIP - bump translations version

WIP - include czech and french glyph data

WIP - whitelist another negative-bearing glyph

WIP - remove czech/french glyphs from common font files

WIP - fix language tests

WIP - specific fonts for specific models

WIP - revert the non-ascii font hardcoding

WIP - include missing BIG font into nonprintable logic

WIP - minor Rust code improvements

WIP - include newlines at the end of json files

WIP - move glyph Rust function to librust_fonts.h

WIP - add all fonts into translations file

WIP - move fonts into its own dir

WIP - reflect separate dir for fonts

WIP - not putting translations trezorhal into bootloader

WIP - write and read multiple fonts into translations data

WIP - silence pyright issue/notissue

WIP - delete no more used translations/*.py imports

WIP - fix bootloader builds by introducing translations feature and TRANSLATIONS flag

WIP - fix TT's bootloader Rust build

WIP - fix tests in non-english languages

WIP - not search for UTF-8 when there are no translations data

WIP - add colons to strings where missing

WIP - fix language loading in tests

WIP - fix signmessage input flow to work in all languages

WIP - create offset table for translation strings

WIP - code improvements

WIP - record foreign language fixtures + sync with main in english

WIP - do alignment check before reading u16 data

WIP - allocate blob in RAM for translations data

WIP - add TODO for blob generation

WIP - record non-english device tests

WIP - use bytes.align_to instead of messing with pointers

WIP - fixtures

WIP - remove unused import

WIP - add order.py

WIP - add order.json

WIP - take order.json into account in creating general.rs

WIP - take order.json into account in generating the blob

WIP - style

WIP - sort the language files

WIP - remove unused file

WIP - code improvements

WIP - add TODO for homescreen notification

WIP - translate plural forms

WIP - translate time intervals

WIP - sign translations with dev keys, validate signatures, improve robustness

WIP - improve tests for translations

WIP - add `trezorctl utils sign-translations` for production signing of the blob

WIP - pyright fix

WIP - changing TR progress loader offset - it was colliding with title

WIP - show indeterminate loader when loading translations data

WIP - record new and updated language tests

WIP - show the change language title/prompt in the target language

WIP - sort keys

WIP - add crowdin-cli into shell.nix

WIP - add crowdin sync script
2024-01-02 14:55:16 +01:00
Martin Milata
07027a69e9 Merge branch 'master' into release/23.09 2023-09-15 14:33:20 +02:00
Martin Milata
10b248b18f feat(common): cointool: add new-definitions command
[no changelog]
2023-09-14 19:25:13 +02:00
grdddj
76c6e9cd9d feat(all): implement support information for T2B1
WIP - change trezor{1,2} to their internal names, add support for model R

WIP - add EOS and NEM features Capability only for TT

WIP - not include EOS and NEM into TR

WIP - choose between device models when generating coininfo

WIP - regenerate coininfo.py

WIP - skip NEM, EOS, Dash, BGold and Decred device tests for TR

WIP - fix python support

WIP - fix unit tests

WIP - import bitcoin-like code only when needed

WIP - remove ignored coins for TR in fixtures.json

WIP - make all the external references to models UPPERCASE

WIP - do the model separation in mako script also for tokens and networks

WIP - hot-fixing non-supporting RELEASES_URL for new model names

WIP - support.py releases CLI command takes a list of -r key-value pairs DEVICE=VERSION

WIP - run `python support.py release`

WIP - use utils.MODEL_IS_T2B1 to ignore NEM and EOS

WIP - change all the docs and commands to have UPPERCASE model names

[no changelog]
2023-09-14 13:54:09 +02:00
matejcik
b8e8fcff33 chore(common): set definition timestamp to the current signed definitions
[no changelog]
2023-04-06 15:55:26 +02:00
Andrew Kozlik
4cd88e16f7 feat(core): Introduce use_compact option for FIDO2.
When use_compact is set to true, Trezor creates smaller credential IDs.
2023-04-05 15:49:27 +02:00
matejcik
168ab2944c fix(common): deal with duplicity code leftovers
also fixes #2759
2023-03-24 13:24:46 +01:00
Martin Novák
f44ef58acb feat(common): switch to external Ethereum definitions, add generators 2023-03-24 13:24:46 +01:00
Martin Milata
45077b3c3c fix(common): allow duplicate symbol for Ethereum testnets
[no changelog]
2023-02-28 14:46:34 +01:00
matejcik
c2d8623039 fix(common): improve testnet detection for ethereum 2022-08-02 13:57:31 +02:00
matejcik
8c3d3c6548 chore: bump black to 22.3
changes:
* exponent operator ** now allows no spaces around itself: https://github.com/psf/black/issues/538
* optional unicode marker u"" is no longer allowed

[no changelog]
2022-06-29 14:35:16 +02:00
grdddj
82622adf6f fix(tools): modify type-hints to be compatible with older python versions 2022-05-30 14:41:32 +02:00
grdddj
9261f2ffce feat(common): add wallet info to cointool dump 2022-05-26 12:18:40 +02:00
grdddj
08f463e5e8 chore(common): small improvements to cointool dump 2022-05-26 12:18:40 +02:00
grdddj
519f79f9eb chore(common): add type hints to some coin tools scripts
Type-checking tools are still complaining at some places about inconsistencies.
It would be too much effort to make them completely happy.
2022-05-26 12:18:40 +02:00
Martin Milata
29bab9e8a4 chore(common): update chains and tokens 2022-05-03 23:00:25 +02:00
matejcik
7295d2ee1e fix(common/tools): coin must be either supported or unsupported 2022-03-25 14:27:30 +01:00
Pavol Rusnak
d48aa2637f
fix(common): fix broken nem urls 2022-03-02 13:15:24 +01:00
grdddj
5d76144ef5 chore(common): always use resolve() when accessing parent of the Path
[no changelog]
2022-02-07 14:05:27 +01:00
matejcik
e972839ac7 style(all): fix pylint complaints
[no changelog]
2021-10-27 13:13:15 +02:00
Pavol Rusnak
7b2825e68e fix(common): rebrand brhodium to xrhodium 2021-10-26 12:01:08 +02:00
amadejpapez
85ba7c12ba style(all): use f-strings for formatting
[no changelog]
2021-10-13 11:53:17 +02:00
matejcik
d329052334 feat(common): remove "soon" as support status 2021-09-20 15:49:11 +02:00
matejcik
c65124c320 fix(common): add coins_details to release.sh
so that we know if we're delisting something by mistake
2021-08-27 13:38:45 +02:00
matejcik
417b33ba78 feat(common): better checks for delisted tokens 2021-08-27 13:38:45 +02:00
matejcik
2173f6cec7 feat(common): create release script 2021-08-24 13:14:06 +02:00
Andrew Kozlik
3f647f1b7b chore(common): Ensure that testnet coins use slip44 coin type 1. 2021-06-30 18:25:58 +02:00
matejcik
845a66a7de chore(common/tools): drop outdated and unused CoinDef generator 2021-06-08 09:55:19 +02:00
matejcik
00d4b0a4a9 fix(common/tools): typo in support.py output 2021-06-04 11:38:18 +02:00
Andrew Kozlik
b0ed553847 style(core): Fix black formatting. 2021-03-23 11:02:04 +01:00
Pavol Rusnak
048205b864
fix(common): magnum wallet is dead
https://twitter.com/Magnum_Wallet/status/1333472916588081154
2021-03-20 11:21:09 +01:00
Pavol Rusnak
cc9dd66729
feat(common): let's work with Trezor Suite instead of the web wallet 2021-03-17 16:47:57 +01:00
matejcik
c101754842 fix(common/tools): cast a wider net when looking for CMC match 2021-03-01 12:05:54 +01:00
matejcik
ed0ac98970 fix(common/tools): strip "mainnet" from Ethereum network names 2021-03-01 12:05:54 +01:00
matejcik
090d103382 fix(common/tools): cleaner handling of duplicity overrides 2021-03-01 12:05:54 +01:00
Pavol Rusnak
17fa6ab4ec chore(common): update chains+tokens 2021-03-01 12:05:54 +01:00
Pavol Rusnak
4ed714ba47 common/defs: add xpub_magic_multisig_segwit_{native,p2sh} fields to coins 2021-01-21 23:46:29 +01:00
Pavol Rusnak
a7e7f6fc5f
common/defs: fix typo in cointool; remove icons of already deleted coins
[skip_ci]
2021-01-13 19:52:59 +01:00
matejcik
f0ede24bd7 chore(common): refresh coins details 2020-11-20 18:55:35 +01:00
matejcik
1bade86792 feat(common): load Ethereum networks from upstream 2020-11-20 18:55:35 +01:00
matejcik
e72b6abf47 feat(common/tools): use pathlib in cointool 2020-11-20 18:55:35 +01:00
matejcik
ac65867771 feat(common): move out blockbook urls to a separate file 2020-11-20 18:55:35 +01:00
matejcik
f709df02d6 feat(common/tools): allow overriding non-token network duplicity info 2020-11-20 18:55:35 +01:00
Pavol Rusnak
f0968e8f66
common: don't use Beta/Next but rather Suite 2020-11-14 16:45:31 +01:00
Pavol Rusnak
de44454cbf
common: reintroduce accountviewer.stellar.org 2020-11-14 16:42:43 +01:00
Pavol Rusnak
2148402f84
common/defs: update coins details 2020-09-02 15:05:50 +02:00
Martin Milata
f6b7622dd2 common/tools: add maxfee.py for updating maxfee_kb 2020-08-25 18:05:29 +02:00
Martin Milata
9849d84a5e common/tools: factor out marketcap data download 2020-08-25 18:05:29 +02:00
matejcik
d2a5bb5b34 common: fix style 2020-08-07 11:55:50 +02:00
matejcik
51ea8ccecd common: update token support 2020-08-07 11:49:26 +02:00