matejcik
01832d5ae9
core: call close_others() in place of ButtonRequest
...
this makes sense, really: close_others() requests UI exclusivity, and
that is something that generally happens at the same places we emit a
ButtonRequest
2020-06-04 16:18:46 +02:00
matejcik
eabfcab9b9
core: add default messages to some error codes
2020-06-04 16:18:46 +02:00
Tomas Susanka
bf20537f41
core: add option to omit cancel button in HoldToConfirm; add it to reset
2020-03-30 16:00:12 +00:00
matejcik
1e9352b9e0
core: add SD format dialog, generalize sdcard usage
2020-02-20 12:51:48 +01:00
matejcik
a79279115e
core: move confirm_signal evaluation into concrete Layout implementations
...
Apart from making the code more correct for its users in
apps.common.confirm and elsewhere, this fixes a problem where the
confirm_signal would be scheduled before the dialog is rendered.
By making sure that handle_rendering is scheduled (i.e., listed in
create_tasks) before confirm_signal, we can be sure to render at least
once and thus appear in the UI test results.
2020-01-23 15:45:10 +01:00
matejcik
d17f879d97
mypy: use GenericContext protocol to work-around DummyContext
2019-10-22 14:36:25 +00:00
Tomas Susanka
0511cc8b8c
core: add final mypy fixes!
2019-10-22 14:36:25 +00:00
Andrew Kozlik
60f6ab9087
core: Fix mypy warnings.
2019-10-18 14:36:40 +02:00
Tomas Susanka
cefb1cf4fd
core: refactor slip39
2019-09-19 16:38:29 +02:00
Jan Pochyla
2c8b90f86e
core/loop: properly cleanup task waiting on a chan
2019-08-22 17:29:21 +02:00
Jan Pochyla
bb2556a22c
core: improve code documentation, simplify wire package
...
* docs: improve loop.py, ui.init
* docs: improve trezor.loop, rename spawn to race
* docs: wire
* core/wire: simplify and document the session handler
* core/wire: improve documentation
* core/wire: improve docs
* core/docs: document ui.grid function
* core: decouple ui and workflow, document both
* core: improve docs
Co-authored-by: Tomas Susanka <tsusanka@gmail.com>
2019-08-20 16:20:02 +02:00
Tomas Susanka
96cdd886bc
core: fix Hold To Confirm button
2019-07-15 14:16:49 +02:00
Jan Pochyla
758a1a2528
core/typing: add annotations
2019-07-09 12:51:48 +02:00
Tomas Susanka
80f8f7900d
core: add slip39 support to reset and recovery device
2019-06-23 21:33:58 +02:00
Jan Pochyla
36534325f0
core: revamp the UI subsystem
2019-05-28 13:12:46 +02:00
matejcik
e5670856a2
MONOREPO CREATE FROM trezor-core
2019-04-15 19:14:40 +02:00