Skip to content

Update 1.19.1→1.28.0: patches#31

Open
mmilata wants to merge 20 commits into
dummy-1.28.0from
trezor-v1.28.0
Open

Update 1.19.1→1.28.0: patches#31
mmilata wants to merge 20 commits into
dummy-1.28.0from
trezor-v1.28.0

Conversation

@mmilata

@mmilata mmilata commented Jul 13, 2026

Copy link
Copy Markdown
Member

PR contains commits on top of upstream's v1.28.0 @ e0e9fbb tag. No point in merging, set as the default branch instead of trezor-v1.19.1.

What happened to 1.19.1 patches (branch trezor-v1.19.1):

  • 4051522 modutimeq: add discard method
    • upstream dropped the module, will be bundled in trezor-firmware (PR XXX), commit dropped
  • dedf21d gc: add optional allocation counter (Add optional allocation counter #3)
    • cherry-picked without changes
  • 94c847b prof: trade leaky memory for accurate alloc info
    • base code changed significantly, low prio devel feature, TBD
  • 935dfd3 py/runtime: systemview debug print redirection
    • cherry-picked without changes
  • 0b3174e trezor: forward-portable script to drop unwanted submodules
    • cherry-picked, extended with more submodules
  • e1627d4 chore(trezor): drop unwanted submodules
    • re-generated by tool from previous commit
  • 2e06e07 tools/mpy-tool.py: Initialize line_info_top.
    • cherry-picked without changes
  • a973bbc uzlib(trezor): partially optimize decompression for speed
    • cherry-picked
  • e63e8b8 uzlib(trezor): fix compilation with clang
    • squashed into previous commit
  • 27acb6c uzlib(trezor): add user context for source callback
    • cherry-picked without changes
  • 0dff05a py/stackctrl: Add gcc pragmas to ignore dangling-pointer warning.
    • already upstream
  • d2d9706 mpy-cross/main: Fix return type of mp_import_stat.
    • already upstream
  • 3943026 mpprint: prefix pointer with 0x
    • cherry-picked, needed fixing
  • e4d81eb gc: support user-defined OOM callback
    • cherry-picked without changes
  • ecfabf9 py/runtime: make __main__ preallocate to a configurable size
    • cherry-picked without changes
  • 6bdefd1 tools/mpy-tool.py: Allow skipping files from freezing
    • dropped
  • 52747e8 py/misc: zero stack memory allocated by VSTR_FIXED
    • cherry-picked without changes
  • 8a81439 Revert "tools/mpy-tool.py: Allow skipping files from freezing"
    • dropped
  • f382c78 bare-arm/lib: Add minimal strncmp implementation.
    • already upstream
  • 6b80065 py/qstr: Add support for sorted qstr pools.
    • already upstream
  • 2d09fb5 shared/libc/string0: Don't deref args for n==0 case.
    • already upstream
  • 1f08952 py/nlr: Add "memory" to asm clobbers list in nlr_jump.
    • already upstream
  • 8b7237b Workaround broken GCC va_args on arm64-darwin
  • b989de6 py: allow presizing dicts
    • cherry-picked without changes
  • 5e38f62 py/map: use MP_ERROR_TEXT for mp_map_presize error message
    • squashed into previous commit
  • c718974 py/objstr: export str_modulo_format for efficient logging from Rust
    • cherry-picked without changes
  • 73ccede py/obj: allow disabling traceback allocation
    • cherry-picked without changes
  • 59876fc py/emitinlinethumb: Refactor string literal as array initializer.
    • already upstream
  • c2a5481 py/emitinlinextensa: Simplify register name lookup.
    • already upstream
  • e8d89a0 py: Allow mpy-cross to exclude source lines.
    • cherry-picked without changes, should be upstream in the next micropython release
  • 1f700e1 py/builtinimport: Fix crash handling "weak link" module names.
    • already upstream
  • 1f035b4 py/builtinimport: Allow overriding of mp_builtin___import__.
    • already upstream
  • fbf9558 py/builtinimport: Handle empty sys.path correctly.
    • already upstream
  • f5ec033 py/builtinimport: Optimise sub-package loading.
    • already upstream

@mmilata mmilata changed the title Update 1.19.1->1.28.0: patches Update 1.19.1→1.28.0: patches Jul 13, 2026
@mmilata
mmilata marked this pull request as ready for review July 17, 2026 11:53
@mmilata
mmilata requested review from obrusvit and romanz July 17, 2026 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants