Commit Graph

141 Commits

Author SHA1 Message Date
Pavol Rusnak c5897e71ad
split extract bar_radius into a separate function 2016-10-05 20:30:53 +02:00
Pavol Rusnak 27fb301b22
validate mp_buffer_info_t usage for cases where len==0 2016-10-04 19:22:48 +02:00
Pavol Rusnak 157b12374f
make loader smaller 2016-10-04 16:33:57 +02:00
Pavol Rusnak e361eb157d
move text_center and text_right to lower layer, compute text length if not provided 2016-10-04 00:21:06 +02:00
Pavol Rusnak a36616d8e8
allow building unix port with no UI (TREZORUI_NOUI=1) 2016-10-03 19:57:23 +02:00
Pavol Rusnak 18c2066d83
move timer1_get_source_freq to display-stmhal.h 2016-10-03 17:49:45 +02:00
Pavol Rusnak 31a937de1b
bootloader ui (work in progress) 2016-10-03 16:17:49 +02:00
Pavol Rusnak d7398619e1
introduce trezor.ui.display.refresh 2016-10-03 11:52:19 +02:00
Pavol Rusnak 281070492d
fix bootloader, extract FONT_* constants 2016-09-28 18:21:29 +02:00
Pavol Rusnak 19bb7fc1e3
use display_clear where possible 2016-09-28 17:13:46 +02:00
Pavol Rusnak ed975398d9
move ui.clear into ui.display.clear 2016-09-28 17:00:27 +02:00
Jochen Hoenicke 8d3aed7ec0
Tweaked Gamma values 2016-09-28 14:35:11 +02:00
Pavol Rusnak 3a67b4d6d2
enable hw reset of display 2016-09-28 13:43:16 +02:00
Jan Pochyla b49ae3deee
do not update display after each letter 2016-09-27 17:26:16 +02:00
slush0 fdc14513a6
Added 'pass' where docstring is missing. 2016-09-27 17:26:15 +02:00
slush0 9eaf34a2c7
Fixed python header 2016-09-27 17:26:15 +02:00
Pavol Rusnak db6673b50e
move initialization of I2C1 to msg_init() 2016-09-27 17:26:13 +02:00
Jan Pochyla 5c02718c58
fix int param for crypto.random.uniform() 2016-09-27 17:26:10 +02:00
Pavol Rusnak e480871db3
generate proper events from touchscreen 2016-09-27 17:26:10 +02:00
Pavol Rusnak 0d3facf99e
minor changes to display module 2016-09-27 17:26:09 +02:00
Pavol Rusnak ddaa1b1502
adapt display driver for ST7789V 2016-09-27 17:26:09 +02:00
Pavol Rusnak f727cab942
rework aes module, add summary to test script 2016-09-27 17:26:09 +02:00
Pavol Rusnak dd78f83576
update docu strings in aes 2016-09-27 17:26:09 +02:00
Pavol Rusnak 8f80749870
update docu strings in native code 2016-09-27 17:26:09 +02:00
Pavol Rusnak d32dc93c10
implement hid methods in trezor.msg 2016-09-27 17:26:08 +02:00
Pavol Rusnak e577e764fc
modules do not have .name field anymore 2016-09-27 17:26:08 +02:00
Pavol Rusnak d9495b12ac
trezor.crypto.aes finished (including unit tests) 2016-09-27 17:26:07 +02:00
Pavol Rusnak fc05f25255
trezor.crypto.aes work in progres 2016-09-27 17:26:07 +02:00
Pavol Rusnak 80be60c3ff
remove todo 2016-09-27 17:26:07 +02:00
Pavol Rusnak 5c3e0c9b6f
use mp_obj_new_int_from_uint when returning uint32 2016-09-27 17:26:07 +02:00
Pavol Rusnak 754350df9e
fix discrepancy between msg_poll_ui_event and trezorui_poll_sdl_event 2016-09-27 17:26:04 +02:00
Karel Bilek 65746643f4
fix msg_recv iface reporting 2016-09-27 17:26:03 +02:00
Pavol Rusnak f2c331d783
update submodule, start bootloader work 2016-09-27 17:26:02 +02:00
Pavol Rusnak d4d8729568
add mem constants to debug module 2016-09-27 17:26:01 +02:00
Pavol Rusnak fbfd9d4b61
split debug (=dangerous) things from trezor.utils to trezor.debug 2016-09-27 17:26:01 +02:00
Pavol Rusnak a768d32ff9
display.bar now can set roundness 2016-09-27 17:25:59 +02:00
Pavol Rusnak 5b6ab9ca96
small fixes; res contains just toig/toif files (png are in /assets) 2016-09-27 17:25:53 +02:00
chren 9ca6d61bcc
minor design changes in colors, pin and white border 2016-09-27 17:25:52 +02:00
Pavol Rusnak daa1df9f0f
make backlight code cleaner 2016-09-27 17:25:51 +02:00
Pavol Rusnak 8b27cc3b71
trezor.ui.display.backlight works now 2016-09-27 17:25:51 +02:00
Pavol Rusnak 9f40362482
remove homebrew docu generator, use docstring syntax 2016-09-27 17:25:50 +02:00
Pavol Rusnak c0dfe2d702
fix include in ssss 2016-09-27 17:25:50 +02:00
Pavol Rusnak 154184e4e2
add unit tests for trezor.crypto.random 2016-09-27 17:25:48 +02:00
Pavol Rusnak 35b26651ba
add trezor.crypto.random 2016-09-27 17:25:47 +02:00
Pavol Rusnak 2cf75d85e7
more ssss work 2016-09-27 17:25:46 +02:00
Pavol Rusnak 6f08f3f6a8
update docu 2016-09-27 17:25:46 +02:00
Pavol Rusnak 852a950d66
fix issue with format string 2016-09-27 17:25:45 +02:00
Pavol Rusnak 9dc4813ec7
add trezor.crypto.ssss skeleton 2016-09-27 17:25:45 +02:00
Jan Pochyla b6caad6b9b
send touch events on iface in modtrezormsg 2016-09-27 17:25:45 +02:00
Pavol Rusnak b34b8e6959
change license to TREZOR License 2016-09-27 17:25:39 +02:00