Jan Pochyla
a255938903
main: unlock storage after boot
2017-11-05 21:04:47 +01:00
Jan Pochyla
3ea5b9c151
trezor/ui: close backlight slider properly
2017-10-10 15:35:01 +02:00
Jan Pochyla
04acab723a
trezor/loop: add loop.close()
2017-10-10 15:35:01 +02:00
Jan Pochyla
3483c149a5
loop: fix unschedule
2017-10-10 11:49:14 +02:00
Jan Pochyla
fda9f584e8
trezor/ui/scroll: add Scrollbar widget
2017-10-09 15:34:55 +02:00
Jan Pochyla
72591e053a
trezor/ui: style changes
2017-10-09 15:34:55 +02:00
Jan Pochyla
23fecb0ce4
trezor/ui/loader: fix icon
2017-10-09 15:34:55 +02:00
Jan Pochyla
8ec8615e89
trezor/ui: make layout crossfade faster
2017-10-09 15:34:55 +02:00
Jan Pochyla
a09e64090c
trezor/ui/swipe: rework thresholds
2017-10-09 15:34:55 +02:00
Jan Pochyla
e923b885af
fix style
2017-10-03 12:29:46 +02:00
Jan Pochyla
c254758c83
Revert "trezor/loop: optimization"
...
This reverts commit cfa1705a88
.
In MicroPython, list.clear() does not memset the backing buffer, preventing the
paused tasks from being garbage collected.
2017-10-02 16:18:27 +02:00
Jan Pochyla
cfa1705a88
trezor/loop: optimization
...
Re-cycle queue of paused tasks by clear()ing it rather than pop()ing it out of the dict.
2017-10-02 11:59:30 +02:00
Jan Pochyla
f22edd7609
trezor/ui/confirm: in HoldToConfirm, stop when button is not active
2017-10-02 11:59:30 +02:00
Peter Jensen
027cc49f47
added icons to buttons
2017-09-26 17:05:53 +02:00
Jan Pochyla
808317424d
use trezor.ui.{BG,FG}
2017-09-26 12:05:26 +02:00
Jan Pochyla
2c73a3f0a8
trezor/ui/style: add BG/FG styles
2017-09-26 12:05:26 +02:00
Jan Pochyla
df995eae49
trezor/ui: add experimental layout decorator
2017-09-26 12:05:26 +02:00
Jan Pochyla
305d4d9cc5
trezor/ui/swipe: improve dimming
2017-09-26 12:05:26 +02:00
Jan Pochyla
f2e53ab2eb
trezor/ui: extract styles
2017-09-26 12:05:26 +02:00
Pavol Rusnak
ef5f1326dc
build: use python3 everywhere
2017-09-25 16:18:31 +02:00
Jan Pochyla
3379c94598
apps/common/request_pin: add support for 0
2017-09-21 15:57:08 +02:00
Jan Pochyla
49cc4651c2
bunch of api cleanups
2017-09-19 23:47:35 +02:00
Jan Pochyla
a8e51ceda3
loop: whitespace
2017-09-06 15:43:57 +02:00
Pavol Rusnak
82ae061922
style: add newline to file
2017-09-02 23:10:54 +02:00
Jan Pochyla
112893c46f
log: less colors
2017-08-21 13:31:45 +02:00
Jan Pochyla
a235a6b38b
all: docs, logging
2017-08-21 13:22:35 +02:00
Jan Pochyla
3db1bf89fa
remove trezor.main, simplify trezor.workflow
2017-08-16 15:02:03 +02:00
Jan Pochyla
bc9beaf5d8
wire: fix Context.call
2017-08-15 18:14:14 +02:00
Jan Pochyla
3562ffdc54
wire: pass Context to apps
2017-08-15 18:14:14 +02:00
Jan Pochyla
552444c856
remove src/lib
2017-08-15 18:14:14 +02:00
Jan Pochyla
d2781d030d
msg: rename to io
2017-08-15 18:14:14 +02:00
Jan Pochyla
1f90e781d5
wire: simplify, use async codecs
2017-08-15 18:14:14 +02:00
Pavol Rusnak
fe5b5c1940
tests: update to pytest, regenerate protobuf
2017-07-28 18:58:31 +02:00
Jan Pochyla
915cf849e9
trezor.msg: remove select, add poll
...
TODO: decide if we want to continue polling on interface numbers, or rather on usb/touch file objects
2017-06-26 16:03:20 +02:00
Pavol Rusnak
886c3a0a11
modtrezorcrypto: use lowercase QSTRs so we don't have to 'import as'
2017-06-23 17:50:45 +02:00
Jan Pochyla
afd65833cb
trezor.crypto: rework for new structure
2017-06-20 17:45:34 +02:00
Jan Pochyla
4127655584
trezor.ui.loader: make target parametric
2017-06-20 17:45:34 +02:00
Pavol Rusnak
ce6dca8ed5
trezor.io: rework for new structure
2017-06-20 14:14:47 +02:00
Pavol Rusnak
acb68dc429
trezor.config: rework for new structure
2017-06-20 13:30:02 +02:00
Jan Pochyla
3318ed22f5
trezor.ui.confirm: content is required
2017-06-20 12:03:36 +02:00
Jan Pochyla
bcd94ecbc1
trezor.ui: rework HoldToConfirmDialog
...
Fixes flickering while idle.
2017-06-20 12:03:36 +02:00
Pavol Rusnak
365fd404b1
src: fix style
2017-06-18 23:32:47 +02:00
Jan Pochyla
5b9ef8813a
trezor.utils: fix for mypy, remove genfunc
2017-06-14 19:34:23 +02:00
Jan Pochyla
803c47dca8
extmod: use lowercase names
2017-06-14 18:51:55 +02:00
Pavol Rusnak
73b2ea6c85
travis: add make style (using flake8)
2017-06-13 19:35:34 +02:00
Jan Pochyla
98e82e3cd5
code style
2017-06-12 18:16:06 +02:00
Jan Pochyla
6e15b37205
trezor.wire: less logs
2017-06-12 18:05:06 +02:00
Jan Pochyla
e94d8cc277
trezor.ui.keyboard: complete suggestion on click
2017-06-12 18:04:11 +02:00
Pavol Rusnak
845a3a7e0d
tests: add partial pylint support
2017-06-07 19:06:26 +02:00
Jan Pochyla
c6545b9b6d
trezor: code style
2017-05-31 19:32:40 +02:00
Jan Pochyla
3cb89f3ae7
trezor.ui: send -> touch
2017-05-31 19:30:06 +02:00
Jan Pochyla
dc87e14334
trezor.workflow: reset backlight when starting workflow
2017-05-31 19:29:04 +02:00
Jan Pochyla
e0fc5fb5a5
trezor.main: disable periodic mem stats
2017-05-23 12:42:44 +02:00
Jan Pochyla
d9170740a5
trezor.loop: export syscalls also in lowercase
...
TODO: use only lowercase
2017-05-23 12:42:22 +02:00
Pavol Rusnak
4d4364f0b5
TrezorUi -> TrezorUI
2017-05-15 18:12:05 +02:00
Pavol Rusnak
3765fb734b
remove trezor.debug module, add trezor.io module
2017-05-15 15:48:47 +02:00
Pavol Rusnak
e3b2001c89
rebuild coins
2017-05-12 22:55:47 +02:00
Jan Pochyla
fb398d07cb
touch: change iface num to 255
2017-05-09 16:13:40 +02:00
Pavol Rusnak
e6d93c5933
wallet: fix GetPublicKey msg, regenerate protobuf
2017-05-08 18:04:05 +02:00
Jan Pochyla
403d5344e2
trezor.msg: support new modtrezormsg API
2017-04-21 16:25:00 +02:00
Pavol Rusnak
eef147d810
modtrezorcrypto: add crypto.rfc6979 class
2017-04-03 21:29:52 +02:00
Pavol Rusnak
f13c122561
rebase micropython, min_time -> peektime
2017-03-31 11:30:31 +02:00
Pavol Rusnak
8a6b78187e
modtrezorconfig: don't use mock anymore
2017-03-30 20:57:46 +02:00
Peter Jensen
3daa18a5f1
trezor.ui: fading on swipe up
2017-03-30 17:35:26 +02:00
Peter Jensen
38c37da0c3
trezor.ui: reset device redesign
2017-03-29 14:46:47 +02:00
Peter Jensen
d47e9fb855
trezor.ui: prototype of seed setup
2017-03-28 19:08:59 +02:00
Peter Jensen
5cc87ecdce
trezor.ui: fix container
2017-03-28 13:18:39 +02:00
Peter Jensen
36637c23f6
trezor.ui: remove PM colors and other visuals changes
2017-03-27 21:36:17 +02:00
Peter Jensen
4c206be585
trezor.ui: fix of fix confirmation
2017-03-22 15:15:12 +01:00
Peter Jensen
0723f6c198
trezor.ui: fix confirm
2017-03-22 15:01:16 +01:00
Peter Jensen
80b83add73
trezor.ui: text as widget
2017-03-22 14:47:08 +01:00
Peter Jensen
96020a4953
micro fix
2017-03-21 13:15:15 +01:00
Peter Jensen
8d4cd85659
minor design changes
2017-03-20 21:41:06 +01:00
Jan Pochyla
78d82386d1
trezorhal: adjust to new structure
2017-03-06 17:33:48 +01:00
Pavol Rusnak
9c3c19959b
modtrezorcrypto: add Blake2b
2017-02-28 18:47:27 +01:00
Jan Pochyla
bf878ff15e
trezor.loop: support re-using Sleep and Wait objects
2017-02-20 11:36:28 +01:00
Jan Pochyla
a8f5738398
trezor.ui.keyboard: suggest more accurately
2017-02-09 13:03:10 +01:00
Jan Pochyla
4c8d3e4a35
trezor.ui.keyboard: add two keyboard prototypes
2017-02-08 16:21:32 +01:00
Jan Pochyla
d939cabcb5
trezor.ui.button: add disabled state
2017-02-08 16:21:32 +01:00
Jan Pochyla
e4af95e11b
trezor.ui.confirm: support Widget content
2017-02-08 16:21:32 +01:00
Jan Pochyla
910033d71c
trezor.ui: add Widget
2017-02-08 16:21:32 +01:00
Jan Pochyla
e86924d645
trezor.wire: fix unexpected message error
2017-01-24 14:14:03 +01:00
Jan Pochyla
fed8838545
trezor.ui.confirm: fix HoldToConfirmDialog
2017-01-20 15:51:06 +01:00
Jan Pochyla
ec49c2d97a
trezor.wire: unexpected message should interrupt workflow silently
2017-01-18 18:00:38 +01:00
Jan Pochyla
4ab469d02d
apps.wallet: add qr code to get_address
...
TODO: the widget system clearly needs some work
2017-01-18 17:59:11 +01:00
Jan Pochyla
8bdd59642f
trezor.wire: print session ID as hex
2017-01-06 14:07:18 +01:00
Jan Pochyla
d30e565cb3
trezor.main: fix for new loop
2017-01-06 14:06:03 +01:00
Jan Pochyla
5173a87f3e
trezor.loop: rewrite for utimeq, document
...
- faster, consumes less memory
- untangle loop and ui.refresh
TODO: msg.select could fill a pre-allocated list/bytearray just like utimeq.pop does
TOOD: we could move to a readyness-based async model and let the consumers readinto() the messages right into the target buffers, to avoid allocating tuples inside msg.select()
2017-01-02 15:45:56 +01:00
Jan Pochyla
58612f14d2
trezor.config: fix for stmhal
2016-12-13 16:03:00 +01:00
Jan Pochyla
b8968e7387
minor perf changes
2016-12-12 15:26:49 +01:00
Jan Pochyla
a4f103755b
minor api changes
2016-12-08 16:19:09 +01:00
Jan Pochyla
d56dc88861
wire: refactoring
...
- prefer importing modules instead of module members
- session_id is always first argument
- prefer much shorter names, don't expect users to import module members
- shuffle around session-specific code
- reduce allocations
2016-12-08 16:19:09 +01:00
Jan Pochyla
0b7874ad43
loop: rename Future to Signal
...
Future semantics were changed to allow multiple deliveries to avoid allocating more future objects than neccessary, and Signal describes this behaviour more accurately.
2016-12-08 16:19:09 +01:00
Jan Pochyla
1b27bb480d
trezor.wire: rename modules
2016-12-08 16:19:09 +01:00
Jan Pochyla
05f832cae7
storage: remove pbuf, add pin lock
2016-11-23 15:06:39 +01:00
Jan Pochyla
be7ee61ddd
config: always use bytes() for default value
2016-11-23 15:06:39 +01:00
Pavol Rusnak
a66d0b2e40
trezor.config: fix config_mock syntax
2016-11-21 20:57:16 +01:00
Pavol Rusnak
6575b8059e
trezor.config: use mock implementation on stmhal again
2016-11-21 20:50:41 +01:00
Pavol Rusnak
c6ea71901d
trezor.config: use norcow
2016-11-21 19:56:23 +01:00
Pavol Rusnak
533aebdf6d
trezor.utils: add halt function
2016-11-19 15:23:58 +01:00