1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-28 09:08:07 +00:00
Commit Graph

76 Commits

Author SHA1 Message Date
Jan Pochyla
e67037bc4d fix homescreen rotation, revert the logo 2016-09-27 17:41:20 +02:00
chren
fe4e024088
changed homescreen bg 2016-09-27 17:26:17 +02:00
chren
4d672fee28
added some backgrounds and change color vars 2016-09-27 17:26:15 +02:00
Jan Pochyla
e9c7a67c73
make imports more local, remove trezor.workflows, minor tweaks 2016-09-27 17:26:13 +02:00
Jan Pochyla
70110187cc
overload __iter__ in loop.Wait
This will automatically exit child tasks in case of close() or throw() on the waiting task, but only if run through `await` or `yield from`
2016-09-27 17:26:11 +02:00
Jan Pochyla
099767d592
session/workflow overhaul
- lazy loading and importing of protobuf messages
- workflow dispatching through codec pipeline on the first message report

HACK: workflow killing
TODO: cap on concurrent sessions
TODO: ui locking/queuing
TODO: session storage
TODO: tests
2016-09-27 17:26:06 +02:00
Jan Pochyla
312859ba71
add experimental animation with async for 2016-09-27 17:26:03 +02:00
Jan Pochyla
a4d1b27541
test async/await support in homescreen layout 2016-09-27 17:26:02 +02:00
chren
4852609efb
added clear display to pin dialog 2016-09-27 17:25:52 +02:00
Jan Pochyla
377fffa5a5
add wipe, wire.write is a generator, add trezor/workflows 2016-09-27 17:25:50 +02:00
Pavol Rusnak
c08c4cd386
fix trezor.res 2016-09-27 17:25:49 +02:00
Jan Pochyla
6a647b124d
add management app skeleton and ConfirmDialog
We might rewrite PinDialog as a content for ConfirmDialog in the
future. Also, I'm beginning to hit memory issues on a 64-bit system.
2016-09-27 17:25:47 +02:00
Jan Pochyla
7195e1d12f
dispatch on wire_type instead of message_type 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
3677b8142b
add touch event rotation, msg dispatcher, wallet app 2016-09-27 17:25:44 +02:00
Pavol Rusnak
0b54ae9124
introduce trezor.res module 2016-09-27 17:24:24 +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
4fb5dd0421
sleep -> Sleep 2016-09-27 17:24:18 +02:00
Pavol Rusnak
d746c79fb8
add display.text_width 2016-09-27 17:24:07 +02:00
slush0
06515321cf
Reworked wait into class 2016-09-27 17:24:06 +02:00
Jan Pochyla
c97db79d14
WIP wait fix 2016-09-27 17:24:05 +02:00
slush0
b0d9a4b884
Implemented basic loop.wait() 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
slush0
5cf292e41a
Fixed animate_pulse api 2016-09-27 17:24:00 +02:00
slush0
f22511f036
First apps - homepage, playground 2016-09-27 17:23:58 +02:00