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

2102 Commits

Author SHA1 Message Date
Jan Pochyla
9c34491e20
self.__dict__ does not work properly in uP, workaround 2016-09-27 17:25:47 +02:00
Jan Pochyla
2880be1db6
use == instead of 'is' for scalars, cleanup PinDialog 2016-09-27 17:25:47 +02:00
Jan Pochyla
46f96ddb81
Message can be initialized with kwargs 2016-09-27 17:25:47 +02:00
Pavol Rusnak
67ea7dbd15
add persistance to trezor.config mock 2016-09-27 17:25:46 +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
ea3bd0b6f8
rename resource collector script and move it to scripts 2016-09-27 17:25:46 +02:00
Jan Pochyla
7195e1d12f
dispatch on wire_type instead of message_type 2016-09-27 17:25:45 +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
71b89c748a
adapt rest of code to touch changes, example works 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
Jan Pochyla
421f17bfee
rework events around interfaces, split msg.py to wire.py
Touch events are sent on special interface now.
2016-09-27 17:25:44 +02:00
Jan Pochyla
3677b8142b
add touch event rotation, msg dispatcher, wallet app 2016-09-27 17:25:44 +02:00
Pavol Rusnak
b34b8e6959
change license to TREZOR License 2016-09-27 17:25:39 +02:00
Pavol Rusnak
b0a5297aed
fix gitignore filename 2016-09-27 17:24:24 +02:00
Pavol Rusnak
fc528f5733
add collect_res script, load frrom resources.py if provided 2016-09-27 17:24:24 +02:00
Pavol Rusnak
509962abc6
move trezor.gettext.gettext to trezor.res.gettext 2016-09-27 17:24:24 +02:00
Pavol Rusnak
0b54ae9124
introduce trezor.res module 2016-09-27 17:24:24 +02:00
Pavol Rusnak
bf4d1bdea3
add trezor.gettext 2016-09-27 17:24:24 +02:00
Pavol Rusnak
38b66cb6d8
introduce msg.setup proof-of-concept 2016-09-27 17:24:23 +02:00
Pavol Rusnak
bf02fe0ddf
trezor.msg is now iface aware 2016-09-27 17:24:23 +02:00
Pavol Rusnak
c56719ea8c
regenerated messages 2016-09-27 17:24:23 +02:00
Pavol Rusnak
af9d2cf21f
add mock for trezor.config 2016-09-27 17:24:23 +02:00
Pavol Rusnak
2576d9c3a4
trezor.storage -> trezor.config 2016-09-27 17:24:23 +02:00
Pavol Rusnak
0fb6fc05a5
further changes to trezor.storage 2016-09-27 17:24:22 +02:00
Pavol Rusnak
9ed3b24edf
add default value to trezor.storage.get 2016-09-27 17:24:22 +02:00
Pavol Rusnak
ddf6771981
add trezor.storage 2016-09-27 17:24:22 +02:00
Jan Pochyla
53ab1b8a7d
add protobuf example to playground
Use with python-trezor:

./cmdtr.py -t udp get_public_node -n 0
2016-09-27 17:24:22 +02:00
Jan Pochyla
b41c94dee4
update msg tests 2016-09-27 17:24:22 +02:00
Jan Pochyla
8f49a104bf
make msg functions more readable, add pbuf wrappers 2016-09-27 17:24:21 +02:00
Jan Pochyla
362e835807
MessageType.type -> MessageType.wire_type 2016-09-27 17:24:21 +02:00
Jan Pochyla
f5b802d421
add loads, dumps to MessageType and Message 2016-09-27 17:24:21 +02:00
Jan Pochyla
506f2e0c36
send real wire msgs in send_udp.py 2016-09-27 17:24:21 +02:00
Jan Pochyla
9104d7684c
fix msg.send() 2016-09-27 17:24:21 +02:00
Jan Pochyla
46acb9ff2b
HID_READ is 8 now 2016-09-27 17:24:20 +02:00
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
Pavol Rusnak
dbc57b16d4
simulator border now reflects backlight value 2016-09-27 17:24:19 +02:00
Pavol Rusnak
171a7b3795
display.orientation() and display.backlight() now return current value 2016-09-27 17:24:19 +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
Pavol Rusnak
5968eb3f5f
add build_cross and build_frozen make targets 2016-09-27 17:24:19 +02:00
Pavol Rusnak
0653ea7edc
update micropython 2016-09-27 17:24:18 +02:00
Pavol Rusnak
18abed64f0
fix black as alpha in ui simulator 2016-09-27 17:24:18 +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