Commit Graph

185 Commits

Author SHA1 Message Date
Pavol Rusnak 85d068f03f
reorganize modtrezorui sources 2016-09-27 17:24:14 +02:00
Pavol Rusnak 1e1242437c
sram_init -> display_sram_init 2016-09-27 17:24:14 +02:00
Pavol Rusnak a473ad2100
make update -> make vendor 2016-09-27 17:24:14 +02:00
Pavol Rusnak 5fe006f41d
update info about bootloader format 2016-09-27 17:24:13 +02:00
Pavol Rusnak e1450e3f7f
os -> core 2016-09-27 17:24:13 +02:00
Jan Pochyla 15a03ce994
WIP: more UI experiments, now with 100% more OOP 2016-09-27 17:24:13 +02:00
slush0 4fec964a90
Merge branch 'master' of github.com:satoshilabs/trezor-os 2016-09-27 17:24:13 +02:00
slush0 e00abf4d18
Updated vendor/firmware structures 2016-09-27 17:24:12 +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
Pavol Rusnak 55a7bf92ce
fix import _io to uio 2016-09-27 17:24:12 +02:00
Pavol Rusnak f24dd6b42f
add validity timestamp 2016-09-27 17:24:12 +02:00
Pavol Rusnak 871ea5cc70
update vendor/micropython 2016-09-27 17:24:11 +02:00
Pavol Rusnak d268cf3b57
document python crypto apis 2016-09-27 17:24:11 +02:00
Pavol Rusnak 7fb1d7247c
remove self from documentation where it should not be 2016-09-27 17:24:11 +02:00
Pavol Rusnak d76477674d
add recv to send_udp example 2016-09-27 17:24:11 +02:00
Pavol Rusnak 67c0ecfb23
add possibility to change UDP ip+port via env variables 2016-09-27 17:24:11 +02:00
Pavol Rusnak 15254ffce5
regenerate messages 2016-09-27 17:24:10 +02:00
Pavol Rusnak c5b5955539
add more docu 2016-09-27 17:24:10 +02:00
Pavol Rusnak 08009cbeb6
update docu 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 bc95e83aea
Generate message type constant into message modules 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
Jan Pochyla b5f8c2303c
make event ids positive again
They are unsigned on the python side anyway.
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 d2f65d67cd
rename buffer variables, add const where possible 2016-09-27 17:24:07 +02:00
Pavol Rusnak 588be646c0
move text_center, text_right methods into display class 2016-09-27 17:24:07 +02:00
Pavol Rusnak 707b642954
use wider border in emu 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
Pavol Rusnak e1d9e96f15
add build instructions 2016-09-27 17:24:05 +02:00
Pavol Rusnak 5c6a7c91f2
iconfgcolor in display.loader works now 2016-09-27 17:24:05 +02:00
Jan Pochyla c97db79d14
WIP wait fix 2016-09-27 17:24:05 +02:00
Pavol Rusnak 0e18fcce96
add iconcolor to display.loader (not implemented yet) 2016-09-27 17:24:05 +02:00
Pavol Rusnak c91bca8a8a
improve display.loader 2016-09-27 17:24:04 +02:00
Pavol Rusnak 244002a4a8
fix last commit 2016-09-27 17:24:04 +02:00
Pavol Rusnak 6f4a34b741
add display.loader 2016-09-27 17:24:04 +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