1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-12 16:30:56 +00:00
trezor-firmware/trezorlib
matejcik 06927e003e trezorlib: get rid of TextUIMixin
This also moves DebugLinkMixin to debuglink.py and converts the mixin to
a subclass of TrezorClient (which is finally becoming a
reasonable-looking class). This takes advantage of the new UI protocol
and is ready for further improvements, namely, queuing input for tests
that require swipes.

The ui.py module contains a Click-based implementation of the UI
protocol. Use of callback_* methods has been limited and will probably
be cleaned up further (The contract has changed so we'll try to make
third party code fail noisily. It is unclear whether a backwards
compatible approach will be possible).

Furthermore, device.recovery() now takes a callback as an argument. This
way we can get rid of WordRequest callbacks, which are only used in the
recovery flow.
2018-10-10 13:15:28 +02:00
..
messages build: remove prebuilt protobuf files 2018-07-09 13:46:18 +02:00
qt Fix Qt5/4 import strategy. 2018-10-04 17:42:59 +02:00
tests trezorlib: get rid of TextUIMixin 2018-10-10 13:15:28 +02:00
transport style: uppercase hex constants to conform with black 18.9b0 style 2018-10-01 14:01:33 +02:00
__init__.py build: do not import trezorlib in setup.py, parse out __version__ by hand 2018-07-09 13:46:18 +02:00
_ed25519.py style: apply black/isort 2018-08-13 18:22:19 +02:00
btc.py btc: add script_type to get_public_node 2018-09-05 15:21:11 +02:00
cardano.py trezorlib+tools: remove usage of binascii 2018-09-27 16:52:28 +02:00
ckd_public.py style: apply black/isort 2018-08-13 18:22:19 +02:00
client.py trezorlib: get rid of TextUIMixin 2018-10-10 13:15:28 +02:00
coins.py decred: Return tree and version in insight api (#319) 2018-10-10 12:44:54 +02:00
cosi.py cosi: fix bug in signing code, make tests pass 2018-10-02 16:11:20 +02:00
debuglink.py trezorlib: get rid of TextUIMixin 2018-10-10 13:15:28 +02:00
device.py trezorlib: get rid of TextUIMixin 2018-10-10 13:15:28 +02:00
ethereum.py tests: fix eip155 test 2018-09-03 14:53:53 +02:00
exceptions.py trezorlib: get rid of TextUIMixin 2018-10-10 13:15:28 +02:00
firmware.py style: uppercase hex constants to conform with black 18.9b0 style 2018-10-01 14:01:33 +02:00
lisk.py style: uppercase hex constants to conform with black 18.9b0 style 2018-10-01 14:01:33 +02:00
log.py style: apply black/isort 2018-08-13 18:22:19 +02:00
mapping.py style: apply black/isort 2018-08-13 18:22:19 +02:00
misc.py style: apply black/isort 2018-08-13 18:22:19 +02:00
nem.py trezorlib+tools: remove usage of binascii 2018-09-27 16:52:28 +02:00
ontology.py add Ontology support (#301) 2018-09-06 15:36:44 +02:00
protobuf.py style: uppercase hex constants to conform with black 18.9b0 style 2018-10-01 14:01:33 +02:00
protocol_v1.py style: apply black/isort 2018-08-13 18:22:19 +02:00
protocol_v2.py style: apply black/isort 2018-08-13 18:22:19 +02:00
ripple.py tests: ripple fix 2018-09-05 10:42:32 +02:00
stellar.py style: uppercase hex constants to conform with black 18.9b0 style 2018-10-01 14:01:33 +02:00
tezos.py added Tezos support (#302) 2018-09-10 16:40:31 +02:00
tools.py trezorlib: get rid of TextUIMixin 2018-10-10 13:15:28 +02:00
tx_api.py decred: Return tree and version in insight api (#319) 2018-10-10 12:44:54 +02:00
ui.py trezorlib: get rid of TextUIMixin 2018-10-10 13:15:28 +02:00