Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[draft] THP #4050

Draft
wants to merge 44 commits into
base: main
Choose a base branch
from
Draft

[draft] THP #4050

wants to merge 44 commits into from

Commits on Oct 9, 2024

  1. Configuration menu
    Copy the full SHA
    92eff86 View commit details
    Browse the repository at this point in the history
  2. refactor(core): expose USE_TOUCH and USE_BUTTON to uPy

    [no changelog]
    TychoVrahe authored and M1nd3r committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    0a4d8cb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    550dd48 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    cb89e66 View commit details
    Browse the repository at this point in the history
  5. refactor(core): remove debuglink support from main handle_session

    It is being moved into a custom handler for the debug app.
    matejcik authored and M1nd3r committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    a687d6b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    9f8f98f View commit details
    Browse the repository at this point in the history
  7. fix(core): set default value for do_not_restart

    otherwise if _handle_single_message raises an exception (which is
    fortunately not something that should generally happen), the
    finally-block would fail on "referenced before assignment"
    matejcik authored and M1nd3r committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    33f94f9 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    e24033c View commit details
    Browse the repository at this point in the history
  9. refactor(core/ui): improve LayoutObj initialization

    * RequestPaint message is sent at construction time to force calculation
      of number of pages
    * given that Attach corresponds to "start the layout" message, Child now
      responds to Attach the same way it responds to RequestPaint, by
      force-repainting everything.
    matejcik authored and M1nd3r committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    8db1cfe View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    bd8ff08 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    eaeabcf View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    9450877 View commit details
    Browse the repository at this point in the history
  13. feat(core): show progress before starting to wipe device

    This doesn't actually advance the progress while device erase is ongoing, but at least the user sees a loader.
    matejcik authored and M1nd3r committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    5090068 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    d59a97a View commit details
    Browse the repository at this point in the history
  15. tests: use read_layout everywhere

    matejcik authored and M1nd3r committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    a4e6c9a View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    8cbd419 View commit details
    Browse the repository at this point in the history
  17. tests: fix small irregularities

    matejcik authored and M1nd3r committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    cc38064 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    f5a6f99 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    48a8caf View commit details
    Browse the repository at this point in the history
  20. docs(core): add changelog

    matejcik authored and M1nd3r committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    3212a3d View commit details
    Browse the repository at this point in the history
  21. feat(tests): sync received responses

    to prevent "unexpected response to Initialize" errors
    matejcik authored and M1nd3r committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    5f46b2b View commit details
    Browse the repository at this point in the history
  22. fix(tests): restore test functionality on legacy

    The global layout related changes were wrong for T1 where debuglink
    behavior is significantly different; in particular, it is not always
    possible to communicate over debuglink.
    
    This change reverts to the old behavior for T1B1 and keeps the new one
    only for core-based models.
    matejcik authored and M1nd3r committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    f6c300d View commit details
    Browse the repository at this point in the history
  23. refactor(core/ui): reusable timers

    matejcik authored and M1nd3r committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    cc66199 View commit details
    Browse the repository at this point in the history
  24. feat(core): drop support for after-step-hook

    This was necessary for hooking display.refresh() with the old UI toolkit.
    With the new one, we explicitly refresh the display after every paint, so
    implicit after-step refresh seems no longer necessary.
    matejcik authored and M1nd3r committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    d010fe1 View commit details
    Browse the repository at this point in the history
  25. fix(core): allow Ping while locked

    same behavior as on Trezor One
    matejcik authored and M1nd3r committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    f03492c View commit details
    Browse the repository at this point in the history
  26. fix(python): improve robustness of TrezorClientDebugLink setup

    * improve sync_responses to work on uninitialized instance
    * sync responses at construction time
    matejcik authored and M1nd3r committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    6ab4a62 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    76fa5ce View commit details
    Browse the repository at this point in the history
  28. fix(tests): stop waiting for background task after a timeout

    Otherwise a test can hang if the result is not returned. This is not
    even covered by pytest-timeout because if a test fails, the call to
    task.kill() happens during teardown, and pytest-timeout doesn't cover
    that.
    matejcik authored and M1nd3r committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    5806c33 View commit details
    Browse the repository at this point in the history
  29. style(core/rust): avoid unused warning

    matejcik authored and M1nd3r committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    9267bc8 View commit details
    Browse the repository at this point in the history
  30. style: fix style problems

    matejcik authored and M1nd3r committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    18197d6 View commit details
    Browse the repository at this point in the history
  31. fix(python): opportunistically catch a debuglink desync

    In certain cases a DebugLinkState response can get stalled and debuglink
    will not read it -- i.e., a situation analogous to wirelink de-sync.
    There doesn't seem to be a good way to force-sync debuglink the same way
    wirelink does it, but we can detect a wrong response to a
    DebugLinkGetState and skip it.
    matejcik authored and M1nd3r committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    9b26a6f View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    2e0cd1c View commit details
    Browse the repository at this point in the history
  33. chore: update fixtures

    matejcik authored and M1nd3r committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    c522d4d View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    3e5acb4 View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    c0e03fc View commit details
    Browse the repository at this point in the history
  36. fix(tests): do not place recorded.zip into the destdir

    instead, download it to a temp location, as the Prophecy (and authors of
    urlretrieve) foretold
    matejcik authored and M1nd3r committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    86c2de7 View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    62418da View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    c90001b View commit details
    Browse the repository at this point in the history
  39. style(core/rust): fix linter complaints

    matejcik authored and M1nd3r committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    8334634 View commit details
    Browse the repository at this point in the history
  40. chore: update fixtures

    matejcik authored and M1nd3r committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    24ec37f View commit details
    Browse the repository at this point in the history
  41. style: make style_check passing

    matejcik authored and M1nd3r committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    d5cd02a View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    a640fff View commit details
    Browse the repository at this point in the history
  43. fixup! chore: update fixtures

    matejcik authored and M1nd3r committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    4d7c3bc View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2024

  1. Configuration menu
    Copy the full SHA
    98c4f11 View commit details
    Browse the repository at this point in the history