Commit Graph

185 Commits

Author SHA1 Message Date
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
Pavol Rusnak 34e3b51ba8
return tuple for msg events as well 2016-09-27 17:24:02 +02:00
slush0 e13d4ac581
Print mouse move to display 2016-09-27 17:24:02 +02:00
slush0 c66dfee6b9
last_sleep info replaced by ring buffer and delay_avg 2016-09-27 17:24:01 +02:00
Pavol Rusnak 8bc3b9e160
update submodules 2016-09-27 17:24:01 +02:00
Pavol Rusnak 11190fccba
remove extraneous motion events from queue 2016-09-27 17:24:01 +02:00
Pavol Rusnak 9856f96cf7
add hw button to msg.select, build 32-bit unix port by default 2016-09-27 17:24:01 +02:00
Pavol Rusnak 8c3ebf3956
update submodule 2016-09-27 17:24:01 +02:00
Jan Pochyla 38aa463060
make utils.select posix-compat 2016-09-27 17:24:00 +02:00
Pavol Rusnak 1664a4fc29
replace wait with msg.select 2016-09-27 17:24:00 +02:00
slush0 fa52ecfb79
WIP 2016-09-27 17:24:00 +02:00
slush0 f9fa429f84
Use constants 2016-09-27 17:24:00 +02:00
slush0 5cf292e41a
Fixed animate_pulse api 2016-09-27 17:24:00 +02:00
Pavol Rusnak 7559207a62
new message handling using msg.select 2016-09-27 17:23:59 +02:00
slush0 338be18601
Updated to animate_pulse API 2016-09-27 17:23:59 +02:00
slush0 ca991fdde6
Main Trezor even loops starts here 2016-09-27 17:23:59 +02:00
slush0 92eeac3612
Handle exceptions in better way, enable to return to main screen many times. 2016-09-27 17:23:59 +02:00
slush0 ab9141dd95
Configuration & boot of apps 2016-09-27 17:23:59 +02:00
slush0 53ce44111e
Playground moved as an app 2016-09-27 17:23:58 +02:00
slush0 b6cdaac364
Removed lib_linux (all platform-dependent handling is done by C modules). 2016-09-27 17:23:58 +02:00
slush0 f22511f036
First apps - homepage, playground 2016-09-27 17:23:58 +02:00
Jan Pochyla de83114dc7
add ui.blend 2016-09-27 17:23:58 +02:00
Pavol Rusnak 904127f263
remove ui.touch, add utils.select 2016-09-27 17:23:57 +02:00
Pavol Rusnak d7a937f553
singlethread handling of sdl events 2016-09-27 17:23:57 +02:00
slush0 767a41cffd
WIP 2016-09-27 17:23:57 +02:00
slush0 07abef7ff4
Added animate_pulse 2016-09-27 17:23:57 +02:00
Pavol Rusnak 4f90848c0a
remove native moduleprotobuf 2016-09-27 17:23:57 +02:00
slush0 0e21c18c2a
WIP 2016-09-27 17:23:56 +02:00
slush0 cb52fdedc3
New decorators unimport_func, unimport_dec 2016-09-27 17:23:56 +02:00
slush0 66d10668ac
Former uasyncio, now heavily modified for trezor purposes. 2016-09-27 17:23:56 +02:00
slush0 369cc485d4
uasyncio renamed as trezor.loop 2016-09-27 17:23:56 +02:00
slush0 a102888233
Event loop moved to loop.py
Removed unused layout demo
2016-09-27 17:23:56 +02:00
slush0 afb4bb7d76
WIP 2016-09-27 17:23:54 +02:00
slush0 c0487f1d6b
Adapt to new event loop interface 2016-09-27 17:23:24 +02:00
slush0 f2703f1af2
Allow parameters to layout functions 2016-09-27 17:23:24 +02:00
slush0 46353ed2e1
Removed EventLoop class, even loop is a module. Saves ~30kB RAM. 2016-09-27 17:23:24 +02:00
slush0 078365f5d9
Updated playground 2016-09-27 17:23:24 +02:00
slush0 cc71fb0a02
Convert delays from float to int (ticks_us) 2016-09-27 17:23:23 +02:00
slush0 f27d5ad725
Remove unused code 2016-09-27 17:23:23 +02:00
Pavol Rusnak d5e2e2ee45
update micropython submodule 2016-09-27 17:23:23 +02:00
Pavol Rusnak ee3614ae6a
cleanup pb2py, add debug to emu.sh 2016-09-27 17:23:23 +02:00
Pavol Rusnak 0a8870f110
add modtrezorutils 2016-09-27 17:23:23 +02:00
Pavol Rusnak bc7cb88cdf
use little endian for toif, fix random 2016-09-27 17:23:22 +02:00
Pavol Rusnak b7013437ee
add nist256p1 and secp256k1 to trezor.crypto.curve 2016-09-27 17:23:22 +02:00
Pavol Rusnak f3f44b408d
add trezor.crypto.ed25519 2016-09-27 17:23:22 +02:00