Commits on Dec 17, 2018

  1. Lua 5.3.5 ported to git

    This is the first commit for the branch Lua 5.3. All source files
    were copied from the official distribution of 5.3.5 in the Lua site.
    The test files are the same of 5.3.4. The manual came from the
    previous RCS repository, revision 1.167.1.2.
    roberto-ieru committed Dec 17, 2018
  2. Bug: Long brackets with a huge number of '=' causes overflow

    A long bracket with too many equal signs can overflow the 'int' used for
    the counting and some arithmetic done on the value. Changing the counter
    to 'size_t' avoids that. (Because what is counted goes to a buffer, an
    overflow in the counter will first raise a buffer-overflow error.)
    roberto-ieru committed Dec 17, 2018

Commits on Mar 27, 2019

  1. Fixed bug in 'lua_upvaluejoin'

    Bug-fix: joining an upvalue with itself could cause a use-after-free
    crash.
    roberto-ieru committed Mar 27, 2019

Commits on Nov 22, 2019

  1. More generic pattern when testing 'string.format'

    The result of 'string.format("%a", 0.0)' can have multiple zeros
    after the dot.
    roberto-ieru committed Nov 22, 2019

Commits on Nov 25, 2019

  1. File 'bugs' no longer tracked by git

    The file 'bugs' reports bugs in several different versions
    (corresponding to different branches in the repository), without
    a clear division of "this bugs belongs to this version". So, it
    doesn't make sense to track it along with one (or many) versions.
    roberto-ieru committed Nov 25, 2019

Commits on Dec 27, 2019

  1. Fixed typos in comments

    roberto-ieru committed Dec 27, 2019

Commits on Jun 18, 2020

  1. Fixed missing GC barriers in compiler and undump

    While building a new prototype, the GC needs barriers for every object
    (strings and nested prototypes) that is attached to the new prototype.
    roberto-ieru committed Jun 18, 2020

Commits on Jul 13, 2020

  1. Added .gitignore

    roberto-ieru committed Jul 13, 2020

Commits on Jul 14, 2020

Commits on Jul 20, 2020

Commits on Aug 3, 2020

Commits on Aug 12, 2020

  1. 'realloc' can fail when shrinking a block

    According to ISO C, 'realloc' can fail when shrinking a block. If that
    happens, 'l_alloc' simply ignores the fail and returns the original
    block.
    roberto-ieru committed Aug 12, 2020
  2. Added directory 'testes/libs/P1' to the repository

    This directory is used for some tests. As standard Lua has no command
    to create directories, it must be present before running the tests.
    roberto-ieru committed Aug 12, 2020

Commits on Aug 18, 2020

  1. Fixed bug of long strings in binary chunks

    When "undumping" a long string, the function 'LoadVector' can call the
    reader function, which can run the garbage collector, which can collect
    the string being read. So, the string must be anchored during the call
    to 'LoadVector'. (This commit also fixes the identation in 'l_alloc'.)
    roberto-ieru committed Aug 18, 2020

Commits on Jan 15, 2023

  1. AGENT-260 import NetBSD Kernel Lua

    ok pctammela@
    Lourival Vieira Neto authored and lneto committed Jan 15, 2023
  2. AGENT-260 port NetBSD Kernel Lua to Linux

    ok lneto@
    tammela-cujo authored and lneto committed Jan 15, 2023
  3. AGENT-326 avoid %f on lauxlib.c for kernel Lua

    ok lneto@
    tammela-cujo authored and lneto committed Jan 15, 2023
  4. AGENT-392 port os.time() to Linux kernel

    ok lneto@
    tammela-cujo authored and lneto committed Jan 15, 2023
  5. AGENT-402 port integer mathlib routines to the kernel

    ok lneto@
    iru- authored and lneto committed Jan 15, 2023
  6. AGENT-711 port Lunatik to arm

    gabriel-cujo authored and lneto committed Jan 15, 2023
  7. AGENT-994 Workaround in case panic is defined as a macro by the kernel

    Iruatã Souza authored and lneto committed Jan 15, 2023
  8. RABID-516 Always use GFP_ATOMIC on krealloc

    Always use GFP_ATOMIC on krealloc because it cannot be called with
    GFP_KERNEL while holding a spin_lock.
    Victor Fusco authored and lneto committed Jan 15, 2023
  9. NFLUA-49 update copyright

    tammela-cujo authored and lneto committed Jan 15, 2023
  10. LUAK-4 add kernel module searcher

    tammela-cujo authored and lneto committed Jan 15, 2023
  11. LUAK-41 adjust to C90

    tammela-cujo authored and lneto committed Jan 15, 2023
  12. LUAK-28 update copyright

    Lourival Vieira Neto authored and lneto committed Jan 15, 2023
  13. update copyright

    lneto committed Jan 15, 2023
  14. Fix redefinition of time_t bug

    VictorNogueiraRio authored and lneto committed Jan 15, 2023

Commits on Jan 26, 2023

  1. Merge tag 'v5.3.6' into lunatik

    lneto committed Jan 26, 2023
  2. Revert "LUAK-51 return secs, nsecs in os.time()"

    This reverts commit 6f12b9f.
    
    - we should not change API semantics like this; instead, we should add
      another one if needed.
    lneto committed Jan 26, 2023
  3. add support for kernel 5.x

    - see:
    ** https://lwn.net/Articles/813350/
    ** https://lwn.net/Articles/835121/
    ** linux/Documentation/core-api/timekeeping.rst
    ** torvalds/linux@c0891ac
    lneto committed Jan 26, 2023

Commits on Feb 26, 2023

  1. Merge tag 'v5.4.4' into lunatik

    lneto committed Feb 26, 2023
  2. Revert "AGENT-994 Workaround in case panic is defined as a macro by t…

    …he kernel"
    
    This reverts commit 6742351.
    lneto committed Feb 26, 2023
  3. update .gitignore with *.o.cmd

    lneto committed Feb 26, 2023
  4. Revert "AGENT-754 use 64 bit integers in 32 bit kernel"

    This reverts commit 8ab5aba.
    
    * if needed, we should implement this as a library
    lneto committed Feb 26, 2023