← 输入框|github.com|刷新
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: funcman/lua
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: lua/lua
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 14 commits
  • 27 files changed
  • 1 contributor

Commits on Aug 28, 2026

  1. Macro 'luaC_condGC' should call pre/pos only once

    With test option HARDMEMTESTS defined, luaC_condGC was calling pre and
    pos twice. That made macro checkGC set the stack top before the GC
    step and then again before the full collection, but the previous step
    could invalidate the pointer used to set top.
    roberto-ieru committed Aug 28, 2026
    Configuration menu
    Copy the full SHA
    c0adc5f View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2026

  1. Added casts to uses of 'sig_atomic'

    'sig_atomic' can be larger than 'int' on some platforms.
    roberto-ieru committed Sep 13, 2026
    Configuration menu
    Copy the full SHA
    35a87f8 View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2026

  1. 'mktime' can return -1

    roberto-ieru committed Sep 15, 2026
    Configuration menu
    Copy the full SHA
    4c32b2d View commit details
    Browse the repository at this point in the history
  2. Another try for silencing MSVS warning C4334

    See also commit 8fac494.
    roberto-ieru committed Sep 15, 2026
    Configuration menu
    Copy the full SHA
    ceb32fb View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2026

  1. Details

    roberto-ieru committed Sep 16, 2026
    Configuration menu
    Copy the full SHA
    973777c View commit details
    Browse the repository at this point in the history
  2. Bug: UB when applying GC parameter

    When computing whether Lua should return from gen-major to gen-minor,
    the difference between the total memory and the previous total memory
    can be negative, which can result in that negative value being
    left-shifted (UB).
    roberto-ieru committed Sep 16, 2026
    Configuration menu
    Copy the full SHA
    0b29f40 View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2026

  1. Correction of maximum string size in 'lundump'

    The maximum size for internal strings in Lua is MAX_SIZE minus
    'sizeof(TString)'. Moreover, 'loadVarint' must be precise about the
    limit of the integer being read.
    roberto-ieru committed Oct 7, 2026
    Configuration menu
    Copy the full SHA
    745b96d View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2026

  1. Avoid underflows in 'luaF_getlocalname'

    A call like 'debug.getlocal(test, -2147483648)' could decrement
    -2147483648, causing an underflow. (As this happens in a debug function,
    the fix was not strictly necessary, but it has no cost in the generated
    code.)
    roberto-ieru committed Oct 12, 2026
    Configuration menu
    Copy the full SHA
    80f3ecc View commit details
    Browse the repository at this point in the history
  2. Bug: Wrong semantics in numeric for loop with NaN

    A numeric for loop with a NaN (Not a Number) limit should never run,
    as the initial value is neither smaller or equal nor greater or equal
    to that limit.
    roberto-ieru committed Oct 12, 2026
    Configuration menu
    Copy the full SHA
    e853320 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6db80b5 View commit details
    Browse the repository at this point in the history
  4. Bug: wrong result for (-0.0 - 0)

    (exp - i) was being optimized to (exp + (-i)), to use OP_ADDI, but
    (-0.0 - 0) is -0.0, while (-0.0 + 0) is +0.0, so the case (exp - 0)
    was excluded from the optimization.
    roberto-ieru committed Oct 12, 2026
    Configuration menu
    Copy the full SHA
    b35736b View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2026

  1. Bug: Calling coroutine.close while closing after error

    A call to 'coroutine.close()' while closing the coroutine returns like
    'resume', with no errors, even if the coroutine previously had stopped
    due to an error.
    roberto-ieru committed Oct 15, 2026
    Configuration menu
    Copy the full SHA
    15b2a78 View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2026

  1. Cast in 'rl_readline_name'

    In Mac OS, 'rl_readline_name' is declared as 'char*', instead of
    'const char*', so we cannot assign to it a string literal such as "lua".
    roberto-ieru committed Oct 16, 2026
    Configuration menu
    Copy the full SHA
    8cb93ba View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2026

  1. Details

    roberto-ieru committed Nov 6, 2026
    Configuration menu
    Copy the full SHA
    c42d820 View commit details
    Browse the repository at this point in the history
Loading