1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-17 03:48:09 +00:00
Commit Graph

129 Commits

Author SHA1 Message Date
Jan Pochyla
87145c2b5f
make the var names in msg.py a bit less similar 2016-09-27 17:24:20 +02:00
Jan Pochyla
4a255e8b77
add write_message 2016-09-27 17:24:20 +02:00
Jan Pochyla
f98fc4c0c8
add reading of logical messages from HID 2016-09-27 17:24:20 +02:00
Pavol Rusnak
627f547fcb
update docu 2016-09-27 17:24:20 +02:00
Jan Pochyla
c0313cc868
put ui.utils back in ui/__init__.py 2016-09-27 17:24:19 +02:00
Jan Pochyla
f3c9715ff3
split ui code in modules 2016-09-27 17:24:19 +02:00
Jan Pochyla
3a5d29848b
Wait supports syscall instead of gens now 2016-09-27 17:24:18 +02:00
Jan Pochyla
4fb5dd0421
sleep -> Sleep 2016-09-27 17:24:18 +02:00
Jan Pochyla
9f84e52ea3
add example of swipe
TODO: simplify
TODO: fix bug with black color in oriented modes
2016-09-27 17:24:18 +02:00
Jan Pochyla
412ac2daa7
support multiple event handlers 2016-09-27 17:24:17 +02:00
Pavol Rusnak
8f7fc96301
add trezor.crypto.bip39.seed 2016-09-27 17:24:17 +02:00
Pavol Rusnak
910926e25c
add trezor.crypto.bip39 2016-09-27 17:24:17 +02:00
Jan Pochyla
32c7782d89
sleep -> Sleep 2016-09-27 17:24:17 +02:00
Jan Pochyla
97ac6c52f0
syscalls are objects now, make schedule public 2016-09-27 17:24:16 +02:00
Jan Pochyla
7bf92f118b
button border 2016-09-27 17:24:16 +02:00
Jan Pochyla
ef44e9ded8
add counter to time_queue, kill gens with close() 2016-09-27 17:24:16 +02:00
Jan Pochyla
0f74597215
pin dialog 2016-09-27 17:24:15 +02:00
Jan Pochyla
5bc5707077
WIP: pin dialog style 2016-09-27 17:24:15 +02:00
Jan Pochyla
15a03ce994
WIP: more UI experiments, now with 100% more OOP 2016-09-27 17:24:13 +02:00
Pavol Rusnak
347925169d
two more occurences 2016-09-27 17:24:12 +02:00
Pavol Rusnak
55a7bf92ce
fix import _io to uio 2016-09-27 17:24:12 +02:00
Jan Pochyla
ef22adb2b7
WIP: experiment with pin dialog
Mostly to try out current design of the event loop and the event
multiplexing.  It works, but the pin_widget code is not really something
extra.
2016-09-27 17:24:12 +02:00
Pavol Rusnak
d268cf3b57
document python crypto apis 2016-09-27 17:24:11 +02:00
Pavol Rusnak
15254ffce5
regenerate messages 2016-09-27 17:24:10 +02:00
Pavol Rusnak
3d8f8a659a
rework documentation, proof of concept api docu generator 2016-09-27 17:24:10 +02:00
slush0
561b82a5be
Fixed API (wait() returns number, not Sleep object) 2016-09-27 17:24:09 +02:00
Jan Pochyla
e382737fda
use friendlier event enums 2016-09-27 17:24:09 +02:00
Jan Pochyla
af482d3da1
experiment with touch event multiplexing
Now we can have 2 buttons!
2016-09-27 17:24:09 +02:00
Jan Pochyla
e8122cc975
__call_at -> __schedule 2016-09-27 17:24:09 +02:00
Jan Pochyla
d612037eda
proof of concept for waiting for events 2016-09-27 17:24:08 +02:00
Pavol Rusnak
0ba9f6b6bb
add autogenerated messages 2016-09-27 17:24:08 +02:00
Pavol Rusnak
b0a6b3fe15
implement bar with rounder corners 2016-09-27 17:24:08 +02:00
Pavol Rusnak
588be646c0
move text_center, text_right methods into display class 2016-09-27 17:24:07 +02:00
Pavol Rusnak
6f9edb349c
add fingerprint layout 2016-09-27 17:24:07 +02:00
Pavol Rusnak
d746c79fb8
add display.text_width 2016-09-27 17:24:07 +02:00
slush0
4a918a4ba0
Stickuv playground 2016-09-27 17:24:06 +02:00
Jan Pochyla
20dad5a300
style, fix possible exception in run_forever 2016-09-27 17:24:06 +02:00
Jan Pochyla
36dad0137b
fix _Wait 2016-09-27 17:24:06 +02:00
slush0
06515321cf
Reworked wait into class 2016-09-27 17:24:06 +02:00
Pavol Rusnak
b7b57ae53e
new pbkdf2 api with update 2016-09-27 17:24:05 +02:00
Jan Pochyla
c97db79d14
WIP wait fix 2016-09-27 17:24:05 +02:00
slush0
2d75289bf3
__wait_for_event integrated into main loop 2016-09-27 17:24:04 +02:00
slush0
3a7e343a43
Implemented log.exception, improved logging
Removed unused code
2016-09-27 17:24:04 +02:00
slush0
b0d9a4b884
Implemented basic loop.wait() 2016-09-27 17:24:03 +02:00
Pavol Rusnak
6a5f16207c
move log to trezor 2016-09-27 17:24:03 +02:00
Jan Pochyla
29e20e302a
fix log 2016-09-27 17:24:03 +02:00
Jan Pochyla
ac28a41d96
hide loop.call_at, use yield or run_forever 2016-09-27 17:24:03 +02:00
Pavol Rusnak
4eb87b2fd8
first parameter of log methods is now name 2016-09-27 17:24:03 +02:00
Jan Pochyla
e7bfb64502
rework the event loop 2016-09-27 17:24:02 +02:00
Pavol Rusnak
71496913ba
rework logging 2016-09-27 17:24:02 +02:00