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

926 Commits

Author SHA1 Message Date
Jan Pochyla
53f6347838 protobuf: optimize memory, minor api changes
In StreamReader, avoid buffering reallocs by copying right into caller-supplied buffer.

Add loads() and dumps() to all scalar types through ScalarType superclass.

TODO: The API is steall really ugly, especially the stuff about targets/sources and load() function signatures.
2016-10-14 15:29:14 +02:00
Jan Pochyla
385eab91f1 modtrezorcrypto: add bip32 tests 2016-10-14 15:12:17 +02:00
Jan Pochyla
cd9fca42b7 modtrezorcrypto: add bip32 deserialization 2016-10-14 15:12:17 +02:00
Jan Pochyla
27126396bd update trezor-crypto submodule 2016-10-14 15:12:17 +02:00
Pavol Rusnak
f16d730c58
modtrezorui: display.raw data parameter is now optional 2016-10-14 14:52:36 +02:00
Pavol Rusnak
037df3357c
modtrezorui: functions can draw off-canvas now and respect drawing offset 2016-10-13 18:16:11 +02:00
Pavol Rusnak
35beedfcbc
modtrezorui: add display.offset() function 2016-10-12 18:58:18 +02:00
Pavol Rusnak
57fbd4dfc2
build: parallel build by default 2016-10-12 18:29:01 +02:00
Pavol Rusnak
aa942dc3a9
update vendor/micropython 2016-10-12 16:29:26 +02:00
Jan Pochyla
2d7d241a8d res_collect: fix for resources in subdirectories 2016-10-12 13:12:27 +02:00
Jan Pochyla
0a5e43723f utils: export TrezorUtils.memcpy 2016-10-11 17:18:31 +02:00
Jan Pochyla
275d3505f0 update micropython submodule 2016-10-11 17:18:09 +02:00
Jan Pochyla
39c2766ae0 add modtrezorutils
Contains a memcpy helper for zero-cost copying between two buffers (bytearray or memoryview).
2016-10-11 17:15:50 +02:00
Pavol Rusnak
9e3102742e
modules: add missing copyright headers 2016-10-11 14:05:55 +02:00
Pavol Rusnak
a9131f26e7
debug: fix variable name 2016-10-11 14:01:32 +02:00
Pavol Rusnak
882efbf21b
modtrezormsg: use interfaces index internally, usage_page externally 2016-10-11 13:15:13 +02:00
Pavol Rusnak
a423d4602f
modtrezormsg: store assigned used pages internally, add get_interfaces method 2016-10-11 12:33:02 +02:00
Pavol Rusnak
3f44dfedb5
modtrezormsg: use usage_page to identify interfaces 2016-10-11 12:14:17 +02:00
Pavol Rusnak
d9546d45b9
ui: proper size for loader 2016-10-11 11:29:31 +02:00
Pavol Rusnak
ad6c274e07
modtrezorui: loader icon is now 64x64; reorganize icons 2016-10-10 14:51:52 +02:00
Pavol Rusnak
f8bf6d8cff
tools: added toi2png tool 2016-10-10 13:38:33 +02:00
Pavol Rusnak
cae5fbe434
docs: add RAMs to memory layout 2016-10-10 12:48:30 +02:00
Pavol Rusnak
3857ff4139
docs: fix table 2016-10-10 12:33:10 +02:00
Pavol Rusnak
9f3cb279b3
docs: add memory layout 2016-10-10 12:30:41 +02:00
slush0
51de3a3d9c Setting initial brightness to ui.BACKLIGHT_NORMAL 2016-10-08 13:02:02 +02:00
slush0
ac726746b9 Changed dimming constants (tested on hw) 2016-10-08 12:06:56 +02:00
slush0
cf38b58a73 Reworked homescreen (no blinking, only diming)
Added ui.alert()
2016-10-08 11:47:28 +02:00
Pavol Rusnak
313b5f92e8
add more info to readme 2016-10-07 14:41:21 +02:00
Pavol Rusnak
3e8b025cbd
use mp_obj_new_str_of_type where it makes sense instead of mp_obj_new_str_from_vstr 2016-10-07 13:57:21 +02:00
Pavol Rusnak
2bba78bf87
fix pbkdf2.key() method 2016-10-07 13:41:25 +02:00
Pavol Rusnak
446ea33dc1
minor changes in modtrezorcrypto docu 2016-10-07 13:27:43 +02:00
Pavol Rusnak
4023b83feb
use mp_raise_ValueError and mp_raise_TypeError functions 2016-10-07 12:09:05 +02:00
Pavol Rusnak
9613b0048f
fix travis.yml 2016-10-06 19:15:27 +02:00
chren
29f4913d30 removed res from assets 2 2016-10-06 19:11:47 +02:00
chren
9c15917dd9 removed duplicated res of logo 2016-10-06 18:53:12 +02:00
chren
78efd4f2e0 minor color changes in pin dialog 2016-10-06 17:59:46 +02:00
Pavol Rusnak
90836621f5
tools: skip hidden files in res_collect 2016-10-06 17:54:57 +02:00
Pavol Rusnak
81a8f0b9bc
hasattr hack for refresh is not needed 2016-10-06 17:41:53 +02:00
Pavol Rusnak
a654b4c17d
stmhal: fix display_raw 2016-10-06 16:56:38 +02:00
chren
cb2399197f fixed wipe device header 2016-10-06 16:35:36 +02:00
chren
5a20a48745 added ui header and icons 2016-10-06 16:17:11 +02:00
Pavol Rusnak
3e9b6c09b0
stmhal: simplify init of display 2016-10-06 15:57:05 +02:00
Jan Pochyla
abd20741f6 add seed module, GetPublicKey now works 2016-10-06 15:05:14 +02:00
Jan Pochyla
d0bb7edbfa storage: change api to protobuf 2016-10-06 15:05:14 +02:00
Jan Pochyla
6b94511472 LoadDevice: validate mnemonic, import xprv 2016-10-06 15:05:14 +02:00
Jan Pochyla
e62ded3a2f update micropython submodule 2016-10-06 15:05:14 +02:00
Jan Pochyla
128a4b20b5 crypto: add bip32 2016-10-06 15:05:14 +02:00
Jan Pochyla
71793cc6d1 update trezor-crypto submodule 2016-10-06 15:05:14 +02:00
Jan Pochyla
492e71f147 workflow: less verbose naming 2016-10-06 15:05:14 +02:00
Jan Pochyla
6d5514ac4a make logging less verbose 2016-10-06 15:05:14 +02:00