Commit Graph

193 Commits (b145f8f309d5fe6fc89d0c39f4abda9c50516f6b)

Author SHA1 Message Date
Jan Pochyla b6caad6b9b
send touch events on iface in modtrezormsg
8 years ago
Pavol Rusnak b34b8e6959
change license to TREZOR License
8 years ago
Pavol Rusnak 38b66cb6d8
introduce msg.setup proof-of-concept
8 years ago
Pavol Rusnak bf02fe0ddf
trezor.msg is now iface aware
8 years ago
Pavol Rusnak 2576d9c3a4
trezor.storage -> trezor.config
8 years ago
Pavol Rusnak 0fb6fc05a5
further changes to trezor.storage
8 years ago
Pavol Rusnak 9ed3b24edf
add default value to trezor.storage.get
8 years ago
Pavol Rusnak ddf6771981
add trezor.storage
8 years ago
Jan Pochyla 9104d7684c
fix msg.send()
8 years ago
Jan Pochyla 46acb9ff2b
HID_READ is 8 now
8 years ago
Pavol Rusnak dbc57b16d4
simulator border now reflects backlight value
8 years ago
Pavol Rusnak 171a7b3795
display.orientation() and display.backlight() now return current value
8 years ago
Pavol Rusnak 5968eb3f5f
add build_cross and build_frozen make targets
8 years ago
Pavol Rusnak 18abed64f0
fix black as alpha in ui simulator
8 years ago
Pavol Rusnak 8f7fc96301
add trezor.crypto.bip39.seed
8 years ago
Pavol Rusnak 910926e25c
add trezor.crypto.bip39
8 years ago
Pavol Rusnak 9222b77a03
improve inflate code
8 years ago
Jan Pochyla 2e280ca358
TOUCH_END is uint(4) now
8 years ago
Pavol Rusnak 20e426e846
rename gen_loader.py to loader_gen.py
8 years ago
Pavol Rusnak 406f0c6783
move unpack of icon to display_loader()
8 years ago
Pavol Rusnak 85d068f03f
reorganize modtrezorui sources
8 years ago
Pavol Rusnak 1e1242437c
sram_init -> display_sram_init
8 years ago
Pavol Rusnak 871ea5cc70
update vendor/micropython
8 years ago
Pavol Rusnak 7fb1d7247c
remove self from documentation where it should not be
8 years ago
Pavol Rusnak 67c0ecfb23
add possibility to change UDP ip+port via env variables
8 years ago
Pavol Rusnak c5b5955539
add more docu
8 years ago
Pavol Rusnak 3d8f8a659a
rework documentation, proof of concept api docu generator
8 years ago
Jan Pochyla b5f8c2303c
make event ids positive again
8 years ago
Pavol Rusnak b0a6b3fe15
implement bar with rounder corners
8 years ago
Pavol Rusnak d2f65d67cd
rename buffer variables, add const where possible
8 years ago
Pavol Rusnak 588be646c0
move text_center, text_right methods into display class
8 years ago
Pavol Rusnak 707b642954
use wider border in emu
8 years ago
Pavol Rusnak 6f9edb349c
add fingerprint layout
8 years ago
Pavol Rusnak d746c79fb8
add display.text_width
8 years ago
Pavol Rusnak b7b57ae53e
new pbkdf2 api with update
8 years ago
Pavol Rusnak 5c6a7c91f2
iconfgcolor in display.loader works now
8 years ago
Pavol Rusnak 0e18fcce96
add iconcolor to display.loader (not implemented yet)
8 years ago
Pavol Rusnak c91bca8a8a
improve display.loader
8 years ago
Pavol Rusnak 244002a4a8
fix last commit
8 years ago
Pavol Rusnak 6f4a34b741
add display.loader
8 years ago
Pavol Rusnak 34e3b51ba8
return tuple for msg events as well
8 years ago
Pavol Rusnak 11190fccba
remove extraneous motion events from queue
8 years ago
Pavol Rusnak 9856f96cf7
add hw button to msg.select, build 32-bit unix port by default
8 years ago
Jan Pochyla 38aa463060
make utils.select posix-compat
8 years ago
Pavol Rusnak 1664a4fc29
replace wait with msg.select
8 years ago
Pavol Rusnak 7559207a62
new message handling using msg.select
8 years ago
Pavol Rusnak 904127f263
remove ui.touch, add utils.select
8 years ago
Pavol Rusnak d7a937f553
singlethread handling of sdl events
8 years ago
Pavol Rusnak 4f90848c0a
remove native moduleprotobuf
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
Pavol Rusnak 33f3566f61
adapt to new trezor-crypto
8 years ago
Pavol Rusnak dd93b1a0cf
remove mbedtls
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 8b4280b296
remove trezor-crypto, use mbedtls, use lowercase for trezor modules
8 years ago
Pavol Rusnak 4777df03b6
import mbedtls, use it in for hashes
8 years ago
Pavol Rusnak cbea384a79
use macros for block/digest sizes
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 4ff68e7494
add static to mp_define_const
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
Pavol Rusnak 2694e3ad63
add trezor.crypto.base58 functionality (decode_check needs fix)
8 years ago
Pavol Rusnak 2cc116f812
add trezor-crypto as submodule
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 a447cb5492
refactor display_rawcmd into display_raw
8 years ago
Pavol Rusnak 1f4230dc20
implement trezor.ui.qrcode
8 years ago
Pavol Rusnak 089409c995
update docu, add display.backlight
8 years ago
Pavol Rusnak 516057a7fa
touch code wip
8 years ago
Pavol Rusnak 1d06839b37
prepare touch events for SDL
8 years ago
Pavol Rusnak bba9418214
add touch (WIP)
8 years ago
Pavol Rusnak 8493da5f97
introduce trezor module
8 years ago
Pavol Rusnak ee67b0bab7
make display class a singleton
8 years ago
Pavol Rusnak fef9a2266d
more font work
8 years ago
Pavol Rusnak 14e792e346
add mouseclick handling to modTrezorUi-unix
8 years ago
Pavol Rusnak cdd89f9a77
add black border around display in emulator
8 years ago
Pavol Rusnak be3cd79bc8
add Display.orientation and Display.rawcmd
8 years ago
Pavol Rusnak 05d00668e0
add Display.rotation (WIP for stmhal)
8 years ago
Pavol Rusnak 2d90abe4bf
add Display.icon function
8 years ago
Pavol Rusnak 047578c4c0
add write_callback to sinf_inflate function
8 years ago
Pavol Rusnak cf4078543b
allow more than 1 built-in font
8 years ago
Pavol Rusnak 0069b72f26
import modTrezorUi source
8 years ago