Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Parameters for 'lua_createtable' back to int | Roberto Ierusalimschy | 2025-01-21 | 1 | -1/+1 |
| | | | | Tables don't accept sizes larger than int. | ||||
* | Details | Roberto Ierusalimschy | 2025-01-16 | 1 | -1/+1 |
| | | | | New year (2024->2025), typos in comments | ||||
* | Local declaration in the REPL generates a warning | Roberto Ierusalimschy | 2024-09-27 | 1 | -2/+16 |
| | |||||
* | Added gcc option '-Wconversion' | Roberto Ierusalimschy | 2024-07-27 | 1 | -1/+1 |
| | | | | | No warnings for standard numerical types. Still pending alternative numerical types. | ||||
* | Removed compatibility with "= exp" in the REPL | Roberto Ierusalimschy | 2024-07-05 | 1 | -4/+1 |
| | |||||
* | Fixed bug in 'multiline' | Roberto Ierusalimschy | 2024-07-05 | 1 | -14/+14 |
| | | | | | | 'incomplete' was popping error message that should be used in case there is no more lines to complete the input, that is, 'pushline' returns NULL, due to end of file. | ||||
* | lua.c loads 'readline' dynamically | Roberto Ierusalimschy | 2024-07-04 | 1 | -18/+70 |
| | | | | | | | (See comments in luaconf.h.) This change allows easier compilation, as Lua compiles and works even if the package 'readline' is absent from the system. Moreover, non-interactive uses don't load the library, making the stand-alone slightly faster for small loads. | ||||
* | llimits.h being used by all Lua code | Roberto Ierusalimschy | 2024-06-20 | 1 | -0/+1 |
| | | | | | | The definitions in llimits.h are useful not only for the core. That header only defines types and '#define's, so libs and core still do not share any real code/data. | ||||
* | Tricky _PROMPT may trigger undefined behavior in lua.c | Roberto Ierusalimschy | 2024-06-12 | 1 | -2/+3 |
| | |||||
* | Details | Roberto Ierusalimschy | 2024-05-08 | 1 | -2/+2 |
| | | | | | Corrections in comments and manual. Added note in the manual about local variables in the REPL. | ||||
* | New interface to function 'luaL_openselectedlibs' | Roberto Ierusalimschy | 2024-02-15 | 1 | -1/+1 |
| | | | | | Instead of preloading all non-loaded libraries, there is another mask to select which libraries to preload. | ||||
* | Removed compatibility option LUA_COMPAT_GCPARAMS | Roberto Ierusalimschy | 2023-12-22 | 1 | -1/+1 |
| | | | | | | The meaning of different GC parameters changed, so there is point in supporting old values for them. The new code simply ignores the parameters when changing the GC mode, so the incompatibility is small. | ||||
* | New option "setparms" for 'collectgarbage' | Roberto Ierusalimschy | 2023-12-22 | 1 | -1/+1 |
| | | | | | | The generational mode also uses the parameters for the incremental mode in its major collections, so it should be easy to change those parameters without having to change the GC mode. | ||||
* | First criteria for shifts minor<->major | Roberto Ierusalimschy | 2023-12-07 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' into nextversion | Roberto Ierusalimschy | 2023-06-22 | 1 | -3/+11 |
|\ | |||||
| * | Option '-l' discards version sufix from file name | Roberto Ierusalimschy | 2023-05-15 | 1 | -2/+10 |
| | | | | | | | | | | | | 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. | ||||
| * | Detailsv5.4.5 | Roberto Ierusalimschy | 2023-04-18 | 1 | -1/+1 |
| | | | | | | | | Typos in comments and details in the manual. | ||||
| * | Stop GC while building initial state | Roberto Ierusalimschy | 2022-11-23 | 1 | -1/+3 |
| | | |||||
* | | New function 'luaL_openselectedlibs' | Roberto Ierusalimschy | 2022-12-07 | 1 | -1/+5 |
| | | | | | | | | Makes it easier to start Lua with only some standard libraries. | ||||
* | | First version of GC counting objects for control | Roberto Ierusalimschy | 2022-11-23 | 1 | -1/+3 |
|/ | | | | Still needs to review generational mode. | ||||
* | Bug: lua.c assumes that argv has at least one element | Roberto Ierusalimschy | 2022-02-07 | 1 | -12/+23 |
| | |||||
* | Option '-l' can give a name for the global variable. | Roberto Ierusalimschy | 2021-08-16 | 1 | -15/+22 |
| | | | | Sintax for this option now is '-l [globname=]modname'. | ||||
* | Avoid using 'signal' when 'sigaction' is available | Roberto Ierusalimschy | 2020-11-24 | 1 | -3/+23 |
| | | | | | The semantics of 'signal' varies a lot among different implementations; 'sigaction' ensures a more consistent behavior. | ||||
* | _PROMPT can have non-string values | Roberto Ierusalimschy | 2020-10-26 | 1 | -6/+10 |
| | | | | | | 'get_prompt' uses 'luaL_tolstring' to convert _PROMPT or _PROMPT2 value to a string. That conversion may invoke a '__tostring' metamethod. | ||||
* | Improvements in the handling of signals | Roberto Ierusalimschy | 2020-05-22 | 1 | -1/+2 |
| | | | | Added 'volatile' to 'l_signalT' variables plus some minor changes. | ||||
* | Default for warnings changed to "off" | Roberto Ierusalimschy | 2019-08-20 | 1 | -5/+5 |
| | | | | | Warnings are mostly a tool to help developers (e.g., by showing hidden error messages); regular users usually don't need to see them. | ||||
* | Added control messages to warnings | Roberto Ierusalimschy | 2019-08-15 | 1 | -12/+24 |
| | | | | | | | Added the concept of control messages to the warning system, plus the implementation of the controls "@on"/"@off" to turn warnings on/off. Moreover, the warning system in the test library adds some other controls to ease the test of warnings. | ||||
* | Removed use of 'rl_inhibit_completion' in 'lua.c' | Roberto Ierusalimschy | 2018-08-16 | 1 | -3/+2 |
| | | | | | | Some old systems (e.g., Mac OS X 10.4) do not define 'rl_inhibit_completion', even when line history is available. Anyway, the user can configure this option externally, using '~/.inputrc'. | ||||
* | some extra goodies for 'readline' | Roberto Ierusalimschy | 2018-03-16 | 1 | -1/+5 |
| | | | | ('rl_readline_name' and 'rl_inhibit_completion') | ||||
* | better modularization of the code for the REPL | Roberto Ierusalimschy | 2018-03-06 | 1 | -198/+203 |
| | |||||
* | GC default mode for the stand-alone interpreter is generational mode | Roberto Ierusalimschy | 2018-02-06 | 1 | -1/+2 |
| | |||||
* | include first standard header files | Roberto Ierusalimschy | 2017-05-24 | 1 | -2/+3 |
| | | | | | (Some broken compiler has problems with 'signal.h' being included without a definition for 'size_t'.) | ||||
* | detail in usage message for '-l' option | Roberto Ierusalimschy | 2017-04-19 | 1 | -2/+2 |
| | |||||
* | Handling of LUA_PATH/LUA_CPATH moved back to 'package' library | Roberto Ierusalimschy | 2017-01-12 | 1 | -88/+5 |
| | | | | to avoid incompatibilites with previous releases | ||||
* | detail (removing spaces at end of lines) | Roberto Ierusalimschy | 2016-12-22 | 1 | -3/+3 |
| | |||||
* | LUA_PATHSUFFIX -> LUA_VERSUFFIX + LUA_VERSUFFIX used in the | Roberto Ierusalimschy | 2016-12-13 | 1 | -7/+7 |
| | | | | definition of LUA_INITVARVERSION, too. | ||||
* | Handling of LUA_PATH/LUA_CPATH moved from package library to stand | Roberto Ierusalimschy | 2016-07-18 | 1 | -5/+91 |
| | | | | | alone interpreter (so that 'lua.c' concentrates all handling of environment variables) | ||||
* | added ';' at the end of "expression lines" ("return exp;") so that | Roberto Ierusalimschy | 2015-08-14 | 1 | -12/+8 |
| | | | | | an extra ";" at the end is enough to stop Lua printing the result ("return exp;;" is not valid) | ||||
* | details (avoid 'lint' warnings) | Roberto Ierusalimschy | 2015-03-30 | 1 | -8/+7 |
| | |||||
* | detail | Roberto Ierusalimschy | 2015-03-10 | 1 | -3/+3 |
| | |||||
* | line history keep lines without added 'return' | Roberto Ierusalimschy | 2015-03-09 | 1 | -8/+11 |
| | |||||
* | detail (use new returned value from 'lua_getglobal' ) | Roberto Ierusalimschy | 2014-11-11 | 1 | -3/+2 |
| | |||||
* | comments (references to "ANSI C" changed to "ISO C", which is the | Roberto Ierusalimschy | 2014-11-02 | 1 | -2/+2 |
| | | | | international name | ||||
* | added include for 'lprefix.h', for stuff that must be added before | Roberto Ierusalimschy | 2014-11-02 | 1 | -3/+5 |
| | | | | any other header file | ||||
* | LUA_WIN -> LUA_USE_WINDOWS | Roberto Ierusalimschy | 2014-10-31 | 1 | -2/+2 |
| | |||||
* | definitions for 'luai_writestring'/'luai_writeline'/'luai_writestringerror' | Roberto Ierusalimschy | 2014-10-29 | 1 | -10/+10 |
| | | | | | moved to 'lauxlib.h' (they do not need to be stable or configurable) + prefixes changed from 'luai_' to 'lua_' (they are not part of the core) | ||||
* | comments | Roberto Ierusalimschy | 2014-10-20 | 1 | -5/+6 |
| | |||||
* | message handler always adds a traceback to messages (even if they | Roberto Ierusalimschy | 2014-10-20 | 1 | -14/+14 |
| | | | | are not strings), unless they have a __tostring method. | ||||
* | macros 'LUA_QL'/'LUA_QL' deprecated | Roberto Ierusalimschy | 2014-10-17 | 1 | -7/+6 |
| | |||||
* | detail in 'report' + message handler always is called with an | Roberto Ierusalimschy | 2014-09-25 | 1 | -8/+7 |
| | | | | argument + 'report' already handles non-string error messages |