Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'master' into nextversion | Roberto Ierusalimschy | 2022-12-23 | 1 | -5/+5 |
|\ | |||||
| * | Detail in make file for testes/libs | Roberto Ierusalimschy | 2022-12-23 | 1 | -5/+5 |
| | | | | | | | | Everything depends on the Lua version (as given by 'lua.h') | ||||
* | | Changes in opcodes for generic 'for' | Roberto Ierusalimschy | 2022-12-22 | 3 | -29/+38 |
| | | | | | | | | | | Again, as the control variable is read only, the code doesn't need to keep an internal copy of it. | ||||
* | | Simplification in opcodes for numerical 'for' | Roberto Ierusalimschy | 2022-12-21 | 2 | -27/+27 |
| | | | | | | | | | | As the control variable is read only, the code doesn't need to keep an internal copy of it. | ||||
* | | Control variables in for loops are read only | Roberto Ierusalimschy | 2022-12-21 | 5 | -37/+40 |
| | | |||||
* | | Towards Lua 5.5 | Roberto Ierusalimschy | 2022-12-20 | 5 | -129/+12 |
| | | |||||
* | | Dump doesn't need to reuse 'source' | Roberto Ierusalimschy | 2022-12-20 | 3 | -12/+35 |
| | | | | | | | | All strings are being reused now, including 'source'. | ||||
* | | Dump/undump reuse strings | Roberto Ierusalimschy | 2022-12-15 | 5 | -12/+77 |
| | | | | | | | | | | A repeated string in a dump is represented as an index to its first occurence, instead of another copy of the string. | ||||
* | | Merge branch 'master' into nextversion | Roberto Ierusalimschy | 2022-12-15 | 1 | -8/+9 |
|\| | |||||
| * | Small change in barrier macros | Roberto Ierusalimschy | 2022-12-15 | 1 | -8/+9 |
| | | | | | | | | Reuse macros for objects when defining the macros for values. | ||||
* | | Merge branch 'master' into nextversion | Roberto Ierusalimschy | 2022-12-15 | 1 | -27/+41 |
|\| | |||||
| * | Small improvements in 'lmem.c' | Roberto Ierusalimschy | 2022-12-15 | 1 | -27/+41 |
| | | | | | | | | | | | | Added some auxiliary macros + fixed a bug in compilation option EMERGENCYGCTESTS. (It should not try to force an emergency collection when it cannot run one.) | ||||
* | | Merge branch 'master' into nextversion | Roberto Ierusalimschy | 2022-12-14 | 3 | -11/+21 |
|\| | |||||
| * | Details in some header files | Roberto Ierusalimschy | 2022-12-14 | 3 | -11/+21 |
| | | | | | | | | | | Identifier LUA_NUMTAGS was deprecated (changed to LUA_NUMTYPES) + better handling of some inclusion loops. | ||||
* | | Changed signal of GC debt | Roberto Ierusalimschy | 2022-12-13 | 6 | -25/+22 |
| | | | | | | | | Positive debts seems more natural then negative ones. | ||||
* | | Revamp of GC parameters | Roberto Ierusalimschy | 2022-12-13 | 6 | -41/+61 |
| | | | | | | | | | | More uniformity when handling GC parameters + avoid divisions by 100 when applying them. | ||||
* | | Merge branch 'master' into nextversion | Roberto Ierusalimschy | 2022-12-12 | 2 | -7/+11 |
|\| | |||||
| * | Reduce calls to 'luaC_step' when GC is stopped | Roberto Ierusalimschy | 2022-12-09 | 1 | -3/+6 |
| | | |||||
| * | Details | Roberto Ierusalimschy | 2022-12-02 | 1 | -5/+5 |
| | | | | | | | | Parentheses and comments. | ||||
* | | New function 'luaL_openselectedlibs' | Roberto Ierusalimschy | 2022-12-07 | 7 | -69/+71 |
| | | | | | | | | Makes it easier to start Lua with only some standard libraries. | ||||
* | | Simplification in handling of GC debt | Roberto Ierusalimschy | 2022-12-06 | 2 | -20/+22 |
| | | | | | | | | | | Each incremental step has always the same size (stepsize), and the debt for next step also is always the same. | ||||
* | | Merge branch 'master' into nextversion | Roberto Ierusalimschy | 2022-12-01 | 2 | -4/+2 |
|\| | |||||
| * | Stop GC while building initial state | Roberto Ierusalimschy | 2022-11-23 | 1 | -1/+3 |
| | | |||||
| * | Removed unused field 'UpVal.tbc' | Roberto Ierusalimschy | 2022-11-08 | 2 | -4/+2 |
| | | |||||
* | | Simpler control for major collections | Roberto Ierusalimschy | 2022-11-29 | 6 | -136/+77 |
| | | |||||
* | | Removed GC checks from function calls | Roberto Ierusalimschy | 2022-11-24 | 5 | -20/+10 |
| | | | | | | | | | | Function calls do not create new objects. (It may use memory with stack reallocation, but now that is irrelevant to the GC.) | ||||
* | | 'l_mem' renamed to 'l_obj' to count objects | Roberto Ierusalimschy | 2022-11-23 | 6 | -49/+51 |
| | | |||||
* | | First version of GC counting objects for control | Roberto Ierusalimschy | 2022-11-23 | 9 | -156/+162 |
| | | | | | | | | Still needs to review generational mode. | ||||
* | | Added a counter of the total number of existing objects | Roberto Ierusalimschy | 2022-11-03 | 3 | -0/+5 |
| | | | | | | | | It may simplify the control of the garbage collector. | ||||
* | | Merge branch 'master' into nextversion | Roberto Ierusalimschy | 2022-11-01 | 3 | -12/+16 |
|\| | |||||
| * | Threads are created like other objects | Roberto Ierusalimschy | 2022-11-01 | 3 | -12/+16 |
| | | | | | | | | | | Using a version of 'luaC_newobj' that allows offsets (extra space before the object itself). | ||||
* | | Tables have a 'lastfree' information only when needed | Roberto Ierusalimschy | 2022-11-01 | 7 | -24/+84 |
|/ | | | | | Only tables with some minimum number of entries in their hash part have a 'lastfree' field, kept in a header before the node vector. | ||||
* | Stack reallocation done with a single realloc | Roberto Ierusalimschy | 2022-10-31 | 2 | -22/+52 |
| | | | | | | | To avoid the need of both the old and the new stack addresses valid at the same time, to correct the pointers to the stack, these pointers are changed to offsets before the reallocation and then changed back to pointers after the reallocation. | ||||
* | Stack indices changed to union's | Roberto Ierusalimschy | 2022-10-29 | 19 | -370/+384 |
| | | | | | That will allow to change pointers to offsets while reallocating the stack. | ||||
* | Details | Roberto Ierusalimschy | 2022-10-26 | 1 | -2/+7 |
| | | | | Added comments in the makefile about other useful '-fsanitize' options. | ||||
* | Bug: stack overflow with nesting of coroutine.close | Roberto Ierusalimschy | 2022-10-25 | 6 | -6/+38 |
| | |||||
* | Removed test function 'luaH_isdummy' | Roberto Ierusalimschy | 2022-10-21 | 2 | -3/+0 |
| | | | | It was not being used anywhere. | ||||
* | Option '-l g=mod' added to the manual | Roberto Ierusalimschy | 2022-10-19 | 1 | -11/+12 |
| | | | | Plus some other improvements in the manual. | ||||
* | Details | Roberto Ierusalimschy | 2022-10-19 | 2 | -7/+7 |
| | | | | Some cast operations rewritten to use respective macros. | ||||
* | Portability issue in a test for 'string.format' | Roberto Ierusalimschy | 2022-10-19 | 1 | -2/+7 |
| | |||||
* | Negation in constant folding of '>>' may overflow | Roberto Ierusalimschy | 2022-09-23 | 4 | -4/+19 |
| | |||||
* | Small simplification in overflow check in 'getfield' | Roberto Ierusalimschy | 2022-09-23 | 2 | -3/+10 |
| | | | | | Subtracting a small non-negative int from a non-negative int cannot overflow, and adding a non-negative int to INT_MIN cannot overflow. | ||||
* | Bug: 'utf8.codes' accepts spurious continuation bytes | Roberto Ierusalimschy | 2022-09-23 | 2 | -12/+27 |
| | |||||
* | New test for table rehash | Roberto Ierusalimschy | 2022-09-16 | 1 | -9/+29 |
| | |||||
* | Note in the manual about using '...' as an expression | Roberto Ierusalimschy | 2022-09-08 | 1 | -5/+16 |
| | |||||
* | Corrected error message in 'table.remove' | Roberto Ierusalimschy | 2022-09-07 | 1 | -1/+1 |
| | |||||
* | Changed the growth rate of string buffers | Roberto Ierusalimschy | 2022-09-06 | 2 | -6/+7 |
| | | | | | | | | The growth rate of string buffers was reduced from 2 to 1.5 (3/2). As string buffers start larger (256~1024 bytes), they don't need to grow that fast. Moreover, a lower rate allows multiplicative growth up to larger sizes (3/2 of the maximum). (After that, the growth becomes linear, which is mostly useless.) | ||||
* | Bug: 'break' may not properly close variable in a 'for' loop | Roberto Ierusalimschy | 2022-08-24 | 2 | -8/+28 |
| | | | | | | | Function 'leaveblock' was generating "break" label before removing variables from the closing block. If 'createlabel' created a 'close' instruction (which it did when matching a goto/break that exited the scope of an upvalue), that instruction would use the wrong level. | ||||
* | Simpler handling of Byte Order Mark (BOM) | Roberto Ierusalimschy | 2022-08-23 | 2 | -26/+56 |
| | |||||
* | Bug: set correct pause when (re)entering gen. collection. | Roberto Ierusalimschy | 2022-08-23 | 1 | -32/+31 |
| |