Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2023-12-01 | Removed parameter in 'collectgarbage("step")' | Roberto Ierusalimschy | 2 | -57/+3 | |
A call to 'collectgarbage("step")' always performs one GC basic step. | |||||
2023-11-30 | Removed deprecated options in 'lua_gc' | Roberto Ierusalimschy | 4 | -39/+10 | |
Options 'setpause' and 'setstepmul' were deprecated in Lua 5.4. | |||||
2023-11-29 | Comments detailing the ages for generational GC | Roberto Ierusalimschy | 5 | -16/+59 | |
Plus other comments and small details. | |||||
2023-11-24 | Panic functions should not raise errors | Roberto Ierusalimschy | 3 | -4/+14 | |
The standard panic function was using 'lua_tostring', which may raise a memory-allocation error if error value is a number. | |||||
2023-11-24 | Details in the manual | Roberto Ierusalimschy | 1 | -21/+13 | |
2023-11-24 | Simpler coding for new representation for arrays | Roberto Ierusalimschy | 3 | -50/+36 | |
With the tags comming first in a cell, we can define the whole cell as a C type and let C do part of the address computations. | |||||
2023-11-15 | Buffer in 'luai_makeseed' measured in bytes | Roberto Ierusalimschy | 2 | -12/+20 | |
In the (rare) cases when sizeof(void*) or sizeof(time_t) are not multiples of sizeof(int), we still can use all their bytes in the seed. | |||||
2023-11-13 | Default paths stored as external strings | Roberto Ierusalimschy | 1 | -2/+3 | |
2023-11-13 | Auxiliary buffer uses external strings | Roberto Ierusalimschy | 3 | -27/+40 | |
The buffer system from the auxiliary library reuses its buffer as external memory when closing long strings. | |||||
2023-11-13 | Correct anchoring and GC barriers in 'loadString' | Roberto Ierusalimschy | 2 | -42/+37 | |
Call to 'luaH_setint' could call the GC with the string unanchored. Moreover, previously saved strings were being assigned to the prototype without a barrier. | |||||
2023-11-10 | Fixed buffers save long strings as external. | Roberto Ierusalimschy | 4 | -16/+29 | |
2023-11-09 | External strings | Roberto Ierusalimschy | 9 | -14/+195 | |
Strings can use external buffers to store their contents. | |||||
2023-11-08 | Towards external strings | Roberto Ierusalimschy | 4 | -22/+36 | |
Long strings have a pointer to string contents. | |||||
2023-11-08 | Details | Roberto Ierusalimschy | 1 | -9/+18 | |
Comments and parameter name in header file. | |||||
2023-11-08 | Solving merge issue with use of tables in dump/undump | Roberto Ierusalimschy | 2 | -6/+7 | |
The use of tables in dump/undump to reuse strings did not exist in the version that changed the representation of arrays, so it was not corrected for the new API for tables. | |||||
2023-11-03 | Full implementation of new representation for arrays | Roberto Ierusalimschy | 5 | -29/+96 | |
2023-11-01 | Bug: Recursion in 'getobjname' can stack overflow | Roberto Ierusalimschy | 2 | -69/+87 | |
'getobjname' now broken in two, a basic version that handles locals, upvalues, and constants, and a full version, which uses the basic version to handle table accesses (globals and fields). | |||||
2023-10-30 | Full abstraction for representation of array values | Roberto Ierusalimschy | 9 | -93/+128 | |
2023-10-27 | Avoid direct accesses to the array part of a table | Roberto Ierusalimschy | 1 | -49/+79 | |
2023-10-26 | Simpler test in 'luaH_getint' | Roberto Ierusalimschy | 1 | -11/+25 | |
The test whether key is inside the array part of a table uses a bit trick to avoid computing the real size of the array part. | |||||
2023-09-08 | Removed test for "corrupted binary dump" | Roberto Ierusalimschy | 2 | -15/+1 | |
Test is too non portable. (For instance, it does not work for different number types.) | |||||
2023-09-08 | Avoid casts from unsigned long to floating-point | Roberto Ierusalimschy | 1 | -7/+24 | |
Old Microsoft compilers do not support those casts. | |||||
2023-09-05 | Added suport for Fixed Buffers | Roberto Ierusalimschy | 12 | -34/+160 | |
A fixed buffer keeps a binary chunk "forever", so that the program does not need to copy some of its parts when loading it. | |||||
2023-08-30 | New macro 'getlstr' | Roberto Ierusalimschy | 5 | -22/+37 | |
Accesses content and length of a 'TString'. | |||||
2023-08-30 | Field 'Proto.is_vararg' uses only one bit | Roberto Ierusalimschy | 8 | -13/+20 | |
So that the other bits can be used for other purposes. | |||||
2023-08-25 | Opcode in dumps is stored properly aligned | Roberto Ierusalimschy | 2 | -1/+30 | |
2023-08-25 | Cannot use 'getshrstr' before setting 'shrlen' | Roberto Ierusalimschy | 1 | -1/+1 | |
2023-08-23 | Documentation for "LUA_NOENV" | Roberto Ierusalimschy | 1 | -0/+4 | |
Registry field "LUA_NOENV" (that signals to libraries that option -E is on) now part of the "official" API of Lua stand-alone. | |||||
2023-08-23 | Bug: Wrong line number for function calls | Roberto Ierusalimschy | 2 | -10/+10 | |
2023-08-17 | More disciplined use of 'getstr' and 'tsslen' | Roberto Ierusalimschy | 9 | -33/+37 | |
We may want to add other string variants in the future; this change documents better where the code may need to handle those variants. | |||||
2023-08-17 | More control over encoding of test files | Roberto Ierusalimschy | 6 | -28/+49 | |
The few UTF-8 test files are commented as such, and there is only one non UTF-8 test file (to test non UTF-8 sources). | |||||
2023-07-25 | Bug: Call hook may be called twice when count hook yields | Roberto Ierusalimschy | 4 | -11/+27 | |
Took the opportunity and moved the code that controls call hooks in 'luaV_execute' into a function. | |||||
2023-07-13 | Thread stacks resized in the atomic phase | Roberto Ierusalimschy | 1 | -3/+5 | |
Although stack resize can be a little expensive, it seems unusual to have too many threads needing resize during one GC cycle. On the other hand, the change allows full collections to skip the propagate phase, going straight from a pause to the atomic phase. | |||||
2023-07-03 | Details | Roberto Ierusalimschy | 2 | -3/+2 | |
2023-06-21 | Removed redundancy in definitions of version/release | Roberto Ierusalimschy | 1 | -11/+21 | |
String rendering now derived from the numeric original definitions. | |||||
2023-06-16 | Avoid inclusion loop in 'ltm.h' | Roberto Ierusalimschy | 1 | -3/+2 | |
2023-06-14 | Bug: read overflow in 'l_strcmp' | Roberto Ierusalimschy | 1 | -18/+20 | |
Equality according to 'strcoll' does not imply that strings have the same length. | |||||
2023-05-22 | Several functions turned 'static' | Roberto Ierusalimschy | 7 | -23/+18 | |
Several functions that were already being used only inside their own file have been declared as 'static'. | |||||
2023-05-16 | Some cleaning in the new table API | Roberto Ierusalimschy | 8 | -210/+189 | |
2023-05-16 | New table API for 'set' functions | Roberto Ierusalimschy | 5 | -71/+180 | |
2023-05-15 | Towards a new implementation of arrays | Roberto Ierusalimschy | 5 | -59/+108 | |
The array part of a table wastes too much space, due to padding. To avoid that, we need to store values in the array as something different from a TValue. Therefore, the API for table access should not assume that any value in a table lives in a *TValue. This commit is the first step to remove that assumption: functions luaH_get*, instead of returning a *TValue where the value lives, receive a *TValue where to put the value being accessed. (We still have to change the luaH_set* functions.) | |||||
2023-05-15 | Option '-l' discards version sufix from file name | Roberto Ierusalimschy | 4 | -11/+26 | |
Like 'require', the command-line option '-l' discards an optional version suffix (everything after an hyphen) from a file name when creating the module name. | |||||
2023-05-15 | Small improvements in tests | Roberto Ierusalimschy | 2 | -21/+24 | |
2023-05-15 | Details | Roberto Ierusalimschy | 5 | -14/+14 | |
- Better comments about short strings in opcodes. - luaH_newkey made static. | |||||
2023-05-02 | "Emergency" new version 5.4.6v5.4.6 | Roberto Ierusalimschy | 5 | -22/+41 | |
'lua_resetthread' is back to its original signature, to avoid incompatibilities in the ABI between releases of the same version. New function 'lua_closethread' added with the "correct" signature. | |||||
2023-04-18 | Detailsv5.4.5 | Roberto Ierusalimschy | 7 | -14/+14 | |
Typos in comments and details in the manual. | |||||
2023-03-31 | New year (2023) | Roberto Ierusalimschy | 3 | -5/+4 | |
Also, small tweak in makefile. (-Wsign-compare is already enabled by -Wextra.) | |||||
2023-03-27 | More orderliness in casts of enumerations | Roberto Ierusalimschy | 2 | -27/+57 | |
2023-03-24 | More regularity in uses of enums in 'lcode.c' | Roberto Ierusalimschy | 1 | -18/+18 | |
2023-03-23 | Clock component removed from 'luaL_makeseed' | Roberto Ierusalimschy | 4 | -11/+9 | |
'clock' can be quite slow on some machines. |