Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: MicroPythonOS/MicroPythonOS
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.11.2
Choose a base ref
...
head repository: MicroPythonOS/MicroPythonOS
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
  • 16 commits
  • 22 files changed
  • 4 contributors

Commits on May 22, 2026

  1. build_mpos.sh: fix macOS build on Clang 21

    Clang 21 added -Wunterminated-string-initialization, which fails the
    -Werror build when compiling secp256k1's intentionally non-null-terminated
    bip340_algo[13] tag. Extend the existing macOS Clang warning suppression
    with -Wno-error=unterminated-string-initialization.
    
    Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
    bitcoin3us and claude committed May 22, 2026
    Configuration menu
    Copy the full SHA
    7b3c6d3 View commit details
    Browse the repository at this point in the history

Commits on May 30, 2026

  1. Fast composed-font emoji rendering via lv_imgfont_set_range

    Cuts the per-glyph cost of FontManager.getFont(emoji=True) labels
    from "C->Python round-trip per glyph" to "two int compares in C"
    for any codepoint that isn't in the emoji map.
    
    Why this matters: a Lightning Piggy transactions row, the Files
    list, basically any label using a composed (emoji-fallback) font
    is overwhelmingly ASCII. Today every glyph crosses into the
    MicroPython _imgfont_path_cb just to return None, then LVGL
    falls back to the base Montserrat. With LVGL's imgfont gaining a
    codepoint accept/exclude range, codepoints outside the emoji
    range are rejected in C and skip the Python callback entirely;
    LVGL falls back to the base font at C speed. Emoji codepoints
    still hit the Python path (unchanged).
    
    Three pieces:
    
    * internal_filesystem/lib/mpos/ui/font_manager.py
      - _create_emoji_font(size) now calls
        lv.imgfont_set_range(font, cp_min, cp_max, 0xE000, 0xF8FF)
        after creating the imgfont. cp_min/cp_max are computed
        dynamically from the loaded _emoji_maps keys (so the filter
        self-maintains as the emoji set grows — no hardcoded magic).
      - Guarded by try/except AttributeError, so a build whose
        pinned lvgl_micropython SHA predates the patch keeps working,
        just without the speedup.
    
    * scripts/build_mpos.sh
      - Applies lvgl_micropython/imgfont_set_range.patch into
        lib/lvgl during the build, gated by a -f existence check so
        older lvgl_micropython pins (no patch file present) still
        build cleanly.
    
    * lvgl_micropython submodule bump
      - 916ec6b -> e00d9d9, picks up the new imgfont_set_range.patch
        plus a small unrelated brew-config parser fix in
        builder/macOS.py that was breaking macOS builds entirely.
    
    Verified end-to-end on Waveshare ESP32-S3-Touch-LCD-2 (macOS
    desktop build also OK). FontManager.getFont(emoji=True) on
    device computes bounds (0x203C, 0x1F9E2) — exactly the actual
    min/max across the loaded 400-emoji set. Scrolling the LP
    transactions list is noticeably smoother than the pre-patch
    build.
    
    Backward-compat note: lvgl_micropython e00d9d9 is currently only
    on bitcoin3us/lvgl_micropython. Submodule pointer here will
    resolve once that branch lands on MicroPythonOS/lvgl_micropython;
    .gitmodules intentionally still points at the upstream URL.
    
    Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
    bitcoin3us and claude committed May 30, 2026
    Configuration menu
    Copy the full SHA
    b7aa15a View commit details
    Browse the repository at this point in the history

Commits on May 31, 2026

  1. Merge pull request #148 from bitcoin3us/fix/imgfont-fast-emoji-render

    Fast composed-font emoji rendering via lv_imgfont_set_range
    ThomasFarstrike authored May 31, 2026
    Configuration menu
    Copy the full SHA
    baafb7b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9780c28 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #142 from bitcoin3us/fix/macos-clang21-build

    build_mpos.sh: fix macOS build on Clang 21
    ThomasFarstrike authored May 31, 2026
    Configuration menu
    Copy the full SHA
    a4293a7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    fbd7ae3 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d923ce0 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    67cfe0e View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    b53699e View commit details
    Browse the repository at this point in the history
  8. Create AIOReplService

    ThomasFarstrike committed May 31, 2026
    Configuration menu
    Copy the full SHA
    292b25a View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    8fa3c9b View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2026

  1. Configuration menu
    Copy the full SHA
    12b17eb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b397bc2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    10c2345 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2599b6d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a32f0db View commit details
    Browse the repository at this point in the history
Loading