- Aug 18, 2020
-
-
Roberto Ierusalimschy authored
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'.)
-
- Aug 12, 2020
-
-
Roberto Ierusalimschy authored
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 Ierusalimschy authored
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.
-
- Aug 03, 2020
-
-
Roberto Ierusalimschy authored
-
- Jul 20, 2020
-
-
Roberto Ierusalimschy authored
-
- Jul 14, 2020
-
-
Roberto Ierusalimschy authored
-
- Jul 13, 2020
-
-
Roberto Ierusalimschy authored
-
- Jun 18, 2020
-
-
Roberto Ierusalimschy authored
While building a new prototype, the GC needs barriers for every object (strings and nested prototypes) that is attached to the new prototype.
-
- Dec 27, 2019
-
-
Roberto Ierusalimschy authored
-
- Nov 25, 2019
-
-
Roberto Ierusalimschy authored
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.
-
- Nov 22, 2019
-
-
Roberto Ierusalimschy authored
The result of 'string.format("%a", 0.0)' can have multiple zeros after the dot.
-
- Mar 27, 2019
-
-
Roberto Ierusalimschy authored
Bug-fix: joining an upvalue with itself could cause a use-after-free crash.
-
- Dec 17, 2018
-
-
Roberto Ierusalimschy authored
-
Roberto Ierusalimschy authored
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 Ierusalimschy authored
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.
-
- Jan 31, 2017
-
-
Roberto Ierusalimschy authored
-
- Jan 12, 2017
-
-
Roberto Ierusalimschy authored
to avoid incompatibilites with previous releases
-
- Dec 22, 2016
-
-
Roberto Ierusalimschy authored
-
Roberto Ierusalimschy authored
-
- Dec 20, 2016
-
-
Roberto Ierusalimschy authored
-
- Dec 13, 2016
-
-
Roberto Ierusalimschy authored
-
Roberto Ierusalimschy authored
definition of LUA_INITVARVERSION, too.
-
- Dec 06, 2016
-
-
Roberto Ierusalimschy authored
-
- Dec 04, 2016
-
-
Roberto Ierusalimschy authored
-
Roberto Ierusalimschy authored
-
- Nov 07, 2016
-
-
Roberto Ierusalimschy authored
node for its hash part + new macro 'allocsizenode'
-
- Oct 19, 2016
-
-
Roberto Ierusalimschy authored
it can do some mess (and break C assertions) before detecting the error.
-
Roberto Ierusalimschy authored
comments + some instructions can call functions in unespected ways (e.g., finalizers)
-
Roberto Ierusalimschy authored
as a finalizer
-
- Sep 20, 2016
-
-
Roberto Ierusalimschy authored
-
- Sep 08, 2016
-
-
Roberto Ierusalimschy authored
test "inuse <= LUAI_MAXSTACK" for stack overflow is not correct, as the real maximum usable size is "LUAI_MAXSTACK - EXTRA_STACK")
-
- Sep 05, 2016
-
-
Roberto Ierusalimschy authored
an __index; so, 'pairsmeta' should not check for tables. ('pairs' already checks for tables through 'next'.)
-
Roberto Ierusalimschy authored
-
- Sep 01, 2016
-
-
Roberto Ierusalimschy authored
-
- Aug 22, 2016
-
-
Roberto Ierusalimschy authored
-
- Aug 01, 2016
-
-
Roberto Ierusalimschy authored
(confuses the debug lib and gains very little in performance)
-
- Jul 29, 2016
-
-
Roberto Ierusalimschy authored
it coud do some mess (and break C assertions) before detecting the error. Now it tests for those errors before anything else.
-
- Jul 19, 2016
-
-
Roberto Ierusalimschy authored
go through registers)
-
Roberto Ierusalimschy authored
go through registers)
-
Roberto Ierusalimschy authored
-