Jan Pochyla
6991286f8b
use __iter__ instead of wait
2016-09-27 17:26:06 +02:00
Jan Pochyla
97d402eba8
unify unimport_func and unimport_gen, asyncify
2016-09-27 17:26:06 +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
096f3f898f
move pagination primitives to trezor.ui.scroll
2016-09-27 17:26:03 +02:00
Jan Pochyla
455a436123
autopep8
2016-09-27 17:26:02 +02:00
Jan Pochyla
a4d1b27541
test async/await support in homescreen layout
2016-09-27 17:26:02 +02:00
Pavol Rusnak
545e93d1b4
add layout to u2f app
2016-09-27 17:26:01 +02:00
Pavol Rusnak
cd28103b75
add bitbucket/gitlab to known u2f apps
2016-09-27 17:26:01 +02:00
Pavol Rusnak
6402b3d232
update slush pool logo
2016-09-27 17:26:00 +02:00
Pavol Rusnak
ce734df1b0
add u2f icons, remove toig/toif from assets
2016-09-27 17:26:00 +02:00
Jan Pochyla
ae4540c59b
introduce generic swipe container to reset_device
...
Now its possible to block multiple generators on one interface.
2016-09-27 17:26:00 +02:00
slush0
7aaba5c6ce
Added u2f hash for Slush Pool
2016-09-27 17:26:00 +02:00
chren
53a6132ed8
tests with UI and minor changes in scroll component
2016-09-27 17:25:59 +02:00
chren
be01cee8d3
added loading layout playground
2016-09-27 17:25:59 +02:00
chren
16f81c3264
added dummy scroll down icon with animation
2016-09-27 17:25:59 +02:00
chren
fed9309ffa
added playground of scrollicon
2016-09-27 17:25:59 +02:00
Pavol Rusnak
d3d21bdbbd
remove main_stick and company
2016-09-27 17:25:58 +02:00
chren
771372adb2
replace scrolling to componenet, added mockup for recovery device layout
2016-09-27 17:25:58 +02:00
chren
887c877567
paging "scrollbar"
2016-09-27 17:25:58 +02:00
chren
cb2027ad86
added button to finish [tbd]
2016-09-27 17:25:57 +02:00
chren
7237321470
fix pagination of seed
2016-09-27 17:25:57 +02:00
chren
cd35a592a1
fix way of scrolling
2016-09-27 17:25:57 +02:00
chren
e8601232e8
fixed img url, added img to local res folder
2016-09-27 17:25:57 +02:00
chren
2482d3935d
sign message layout
2016-09-27 17:25:56 +02:00
Jan Pochyla
6c0970df9e
remove apps/seed example
2016-09-27 17:25:55 +02:00
Jan Pochyla
9f0b27f597
add ResetDevice workflow
2016-09-27 17:25:55 +02:00
chren
398e46e9ff
signTx example layout
2016-09-27 17:25:54 +02:00
chren
cefccb91d8
wipe device screen layout
2016-09-27 17:25:54 +02:00
chren
cd80509f06
seed static mockup
2016-09-27 17:25:53 +02:00
chren
bed2d4d50e
change backlight to white and seed mockup
2016-09-27 17:25:53 +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
0e8d7a5d6c
add static seed layout
2016-09-27 17:25:52 +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
Pavol Rusnak
7e8e0e3439
add fido_u2f app skeleton
2016-09-27 17:25:49 +02:00
Jan Pochyla
9232c77529
PinDialog -> PinMatrix, shuffle digits
2016-09-27 17:25:48 +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
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
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
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
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
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
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
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
d612037eda
proof of concept for waiting for events
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
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
fa52ecfb79
WIP
2016-09-27 17:24:00 +02:00
slush0
5cf292e41a
Fixed animate_pulse api
2016-09-27 17:24:00 +02:00
slush0
338be18601
Updated to animate_pulse API
2016-09-27 17:23:59 +02:00
slush0
f22511f036
First apps - homepage, playground
2016-09-27 17:23:58 +02:00