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: mcpplibs/lua
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 7454d2f
Choose a base ref
...
head repository: mcpplibs/lua
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 6fe17fb
Choose a head ref
  • 10 commits
  • 6 files changed
  • 2 contributors

Commits on Mar 1, 2026

  1. fix: lua_newstate signature changed in Lua 5.5 (3 args)

    Lua 5.5 added a third 'seed' parameter to lua_newstate().
    Use version check to pass the extra argument when needed.
    
    Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
    Sunrisepeak and claude committed Mar 1, 2026
    Configuration menu
    Copy the full SHA
    9a8042a View commit details
    Browse the repository at this point in the history

Commits on May 9, 2026

  1. feat: add mcpp.toml for mcpp build support (#2)

    Wires mcpplibs.capi.lua into the mcpp build system. The descriptor:
    - targets `capi-lua` (lib) at `src/capi/lua.cppm` (override the
      default lib-root convention which would look at `src/lua.cppm`),
    - depends on the upstream Lua 5.4.7 C library shipped via
      mcpp-community/mcpp-index (added 2026-05-09).
    
    mcpp 0.0.3's transitive walker propagates lua's headers into our
    compile rule, so the existing `extern "C" { #include <lua.h> ... }`
    in `src/capi/lua_headers.h` keeps working with no path tweaking.
    Verified locally: `mcpp build` is clean against a fresh `target/`.
    Sunrisepeak authored May 9, 2026
    Configuration menu
    Copy the full SHA
    d56abcb View commit details
    Browse the repository at this point in the history
  2. ci: switch to mcpp build (.xlings.json pins mcpp 0.0.3) (#3)

    Replaces the multi-platform xmake CI with a single mcpp-driven
    Linux job:
    - `.xlings.json` declares `mcpp = { linux = "0.0.3" }`.
    - `.github/workflows/ci.yml` boots xlings, runs `xlings install -y`,
      then `mcpp build` + `mcpp test` against the existing mcpp.toml.
    
    xmake.lua + CMakeLists.txt stay untouched for local development; CI
    on Linux now goes through mcpp end-to-end.
    Sunrisepeak authored May 9, 2026
    Configuration menu
    Copy the full SHA
    687495f View commit details
    Browse the repository at this point in the history
  3. ci: cache mcpp's self-bootstrapped sandbox (~800 MB → instant) (#4)

    mcpp 0.0.3's binary lives at xim-x-mcpp/0.0.3/bin/mcpp; on first
    run it self-detects home as that grandparent and bootstraps musl-gcc
    + binutils + glibc + ninja + patchelf into <home>/registry/data/xpkgs.
    Toolchain set is version-pinned by mcpp 0.0.3, so a fixed cache key
    is safe. Cache-hit runs skip the ~800 MB download.
    Sunrisepeak authored May 9, 2026
    Configuration menu
    Copy the full SHA
    7c76eb7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6e15aaf View commit details
    Browse the repository at this point in the history

Commits on May 11, 2026

  1. chore: migrate deps to namespace syntax (mcpp 0.0.6) (#6)

    * chore: migrate deps to namespace syntax (mcpp 0.0.6)
    
    Updates mcpp.toml to use explicit namespace fields:
    - [package].namespace added
    - [package].name uses short name only
    - [dependencies.compat] / [dev-dependencies.compat] for non-modular libs
    - [dependencies.mcpplibs.capi] for C API wrappers
    
    * ci: retrigger with fixed mcpp 0.0.6
    Sunrisepeak authored May 11, 2026
    Configuration menu
    Copy the full SHA
    c69a99c View commit details
    Browse the repository at this point in the history
  2. fix: use [dependencies.compat] for non-modular deps

    lua (C library) and gtest are compat (non-modular) packages in
    mcpp-index. Declare them under [dependencies.compat] /
    [dev-dependencies.compat] subtables so mcpp resolves the correct
    namespace ("compat") instead of the default ("mcpp") namespace.
    
    Required for mcpp 0.0.10+ namespace-aware dependency pipeline.
    Sunrisepeak committed May 11, 2026
    Configuration menu
    Copy the full SHA
    33efc73 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    03b5fb2 View commit details
    Browse the repository at this point in the history

Commits on May 12, 2026

  1. chore: bump mcpp to 0.0.11 + add mcpp usage to README

    - .xlings.json: mcpp 0.0.8 → 0.0.11
    - CI: mcpp 0.0.11
    - README: add mcpp build/usage section
    Sunrisepeak committed May 12, 2026
    Configuration menu
    Copy the full SHA
    ae12683 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6fe17fb View commit details
    Browse the repository at this point in the history
Loading