Commit Graph

712 Commits (1280073c044fd082a1808cd720f7169b2b7db21a)

Author SHA1 Message Date
Jan Pochyla 5bc5707077
WIP: pin dialog style
8 years ago
Jan Pochyla 15a03ce994
WIP: more UI experiments, now with 100% more OOP
8 years ago
Pavol Rusnak 347925169d
two more occurences
8 years ago
Pavol Rusnak 55a7bf92ce
fix import _io to uio
8 years ago
Jan Pochyla ef22adb2b7
WIP: experiment with pin dialog
8 years ago
Pavol Rusnak d268cf3b57
document python crypto apis
8 years ago
Pavol Rusnak 15254ffce5
regenerate messages
8 years ago
Pavol Rusnak 3d8f8a659a
rework documentation, proof of concept api docu generator
8 years ago
slush0 561b82a5be
Fixed API (wait() returns number, not Sleep object)
8 years ago
Jan Pochyla e382737fda
use friendlier event enums
8 years ago
Jan Pochyla af482d3da1
experiment with touch event multiplexing
8 years ago
Jan Pochyla e8122cc975
__call_at -> __schedule
8 years ago
Jan Pochyla d612037eda
proof of concept for waiting for events
8 years ago
Pavol Rusnak 0ba9f6b6bb
add autogenerated messages
8 years ago
Pavol Rusnak b0a6b3fe15
implement bar with rounder corners
8 years ago
Pavol Rusnak 588be646c0
move text_center, text_right methods into display class
8 years ago
Pavol Rusnak 6f9edb349c
add fingerprint layout
8 years ago
Pavol Rusnak d746c79fb8
add display.text_width
8 years ago
slush0 4a918a4ba0
Stickuv playground
8 years ago
Jan Pochyla 20dad5a300
style, fix possible exception in run_forever
8 years ago
Jan Pochyla 36dad0137b
fix _Wait
8 years ago
slush0 06515321cf
Reworked wait into class
8 years ago
Pavol Rusnak b7b57ae53e
new pbkdf2 api with update
8 years ago
Jan Pochyla c97db79d14
WIP wait fix
8 years ago
slush0 2d75289bf3
__wait_for_event integrated into main loop
8 years ago
slush0 3a7e343a43
Implemented log.exception, improved logging
8 years ago
slush0 b0d9a4b884
Implemented basic loop.wait()
8 years ago
Pavol Rusnak 6a5f16207c
move log to trezor
8 years ago
Jan Pochyla 29e20e302a
fix log
8 years ago
Jan Pochyla ac28a41d96
hide loop.call_at, use yield or run_forever
8 years ago
Pavol Rusnak 4eb87b2fd8
first parameter of log methods is now name
8 years ago
Jan Pochyla e7bfb64502
rework the event loop
8 years ago
Pavol Rusnak 71496913ba
rework logging
8 years ago
slush0 e13d4ac581
Print mouse move to display
8 years ago
slush0 c66dfee6b9
last_sleep info replaced by ring buffer and delay_avg
8 years ago
Pavol Rusnak 9856f96cf7
add hw button to msg.select, build 32-bit unix port by default
8 years ago
Pavol Rusnak 1664a4fc29
replace wait with msg.select
8 years ago
slush0 fa52ecfb79
WIP
8 years ago
slush0 f9fa429f84
Use constants
8 years ago
slush0 5cf292e41a
Fixed animate_pulse api
8 years ago
Pavol Rusnak 7559207a62
new message handling using msg.select
8 years ago
slush0 338be18601
Updated to animate_pulse API
8 years ago
slush0 ca991fdde6
Main Trezor even loops starts here
8 years ago
slush0 92eeac3612
Handle exceptions in better way, enable to return to main screen many times.
8 years ago
slush0 ab9141dd95
Configuration & boot of apps
8 years ago
slush0 53ce44111e
Playground moved as an app
8 years ago
slush0 b6cdaac364
Removed lib_linux (all platform-dependent handling is done by C modules).
8 years ago
slush0 f22511f036
First apps - homepage, playground
8 years ago
Jan Pochyla de83114dc7
add ui.blend
8 years ago
Pavol Rusnak 904127f263
remove ui.touch, add utils.select
8 years ago
slush0 767a41cffd
WIP
8 years ago
slush0 07abef7ff4
Added animate_pulse
8 years ago
Pavol Rusnak 4f90848c0a
remove native moduleprotobuf
8 years ago
slush0 0e21c18c2a
WIP
8 years ago
slush0 cb52fdedc3
New decorators unimport_func, unimport_dec
8 years ago
slush0 66d10668ac
Former uasyncio, now heavily modified for trezor purposes.
8 years ago
slush0 369cc485d4
uasyncio renamed as trezor.loop
8 years ago
slush0 a102888233
Event loop moved to loop.py
8 years ago
slush0 afb4bb7d76
WIP
8 years ago
slush0 c0487f1d6b
Adapt to new event loop interface
8 years ago
slush0 f2703f1af2
Allow parameters to layout functions
8 years ago
slush0 46353ed2e1
Removed EventLoop class, even loop is a module. Saves ~30kB RAM.
8 years ago
slush0 078365f5d9
Updated playground
8 years ago
slush0 cc71fb0a02
Convert delays from float to int (ticks_us)
8 years ago
slush0 f27d5ad725
Remove unused code
8 years ago
Pavol Rusnak ee3614ae6a
cleanup pb2py, add debug to emu.sh
8 years ago
Pavol Rusnak 0a8870f110
add modtrezorutils
8 years ago
Pavol Rusnak bc7cb88cdf
use little endian for toif, fix random
8 years ago
Pavol Rusnak b7013437ee
add nist256p1 and secp256k1 to trezor.crypto.curve
8 years ago
Pavol Rusnak f3f44b408d
add trezor.crypto.ed25519
8 years ago
slush0 e6df94cbd5
pb2py generator, build_pb2.sh
8 years ago
Pavol Rusnak 32403b618e
use ubinascii for unhexlify in unit tests
8 years ago
Pavol Rusnak b41c1c3e4d
add data size to toi format header
8 years ago
Pavol Rusnak f8713bad4d
add sha3
8 years ago
Pavol Rusnak 3d3d8e89a5
don't use native base58
8 years ago
Pavol Rusnak b29ece66ef
use pbkdf2_hmac from mbedtls
8 years ago
Pavol Rusnak a230d9d294
hashes and pbkdf2 now have api of hashlib
8 years ago
Pavol Rusnak afbd1b0f22
use api similar to hmac in pbkdf2 module
8 years ago
Pavol Rusnak 5d929fba0e
add trezor.crypto.pbkdf2
8 years ago
Pavol Rusnak 8b9f2a95b3
add trezor.crypto.hmac
8 years ago
Pavol Rusnak 4c3eb5f015
allow to call hash.digest() more than once
8 years ago
Pavol Rusnak 21db5a6ff7
use streamed version of ripemd160
8 years ago
Pavol Rusnak 0ab2170cc6
add ripemd160
8 years ago
Pavol Rusnak 60d45a5d34
modify trezor.crypto.hash api to be similar to python api
8 years ago
Pavol Rusnak 7b702314a6
fix last commit
8 years ago
Pavol Rusnak 4eccc55c5c
add unit tests, add t.c.sha512
8 years ago
Pavol Rusnak e88cd6f20d
add trezor.utils (pure python)
8 years ago
Pavol Rusnak 0d8112f6b4
split trezor.crypto into more modules
8 years ago
Pavol Rusnak ed39c2001e
remove t.c.base58.*_check functions from module (this is app logic), add t.c.sha256 module
8 years ago
slush0 ddfde9a0ad
Initial version of protobuf library
8 years ago
slush0 ee9b9ca351
Polished binding to protobuf, msg.
8 years ago
slush0 456e1fba44
Pipe support & async pipe transport
8 years ago
slush0 cbc2be00ca
Initial version of module os (from micropython-lib)
8 years ago
Pavol Rusnak 0f2670f12e
add trezor.crypto
8 years ago
Pavol Rusnak a5e861e0aa
introduce trezor.msg and trezor.protobuf
8 years ago
Pavol Rusnak d0e179e090
rename touch.callback functions
8 years ago
Pavol Rusnak 516057a7fa
touch code wip
8 years ago
slush0 9cb42cc88d
Merge branch 'master' of github.com:satoshilabs/trezor-os
8 years ago
Pavol Rusnak 37a33efc57
refactor color and font definitions to trezor.ui module
8 years ago
slush0 8948d2c42a
tap.png
8 years ago
slush0 dc20152afe
Playground reflects new trezor.ui.display API
8 years ago
slush0 a42b654eba
Playground
8 years ago
slush0 971e9f7ff1
Lightly refactored uasyncio, added logging
8 years ago
Pavol Rusnak bba9418214
add touch (WIP)
8 years ago
slush0 0b0e6186c6
Added uasyncio
8 years ago
Pavol Rusnak 8493da5f97
introduce trezor module
8 years ago
Pavol Rusnak 4a9b60a0f3
add load to Makefile
8 years ago
Pavol Rusnak ee67b0bab7
make display class a singleton
8 years ago
Pavol Rusnak 774d6aaee4
use constants
8 years ago
Pavol Rusnak c41922a654
fix wording
8 years ago
Pavol Rusnak fef9a2266d
more font work
8 years ago
slush0 7dc716a05a
Stub for python src & emu.sh
8 years ago