Go to file
Roberto Ierusalimschy 4bd10b6fe8 Better error messages for calling non-callable objects
When available, use the calling code to find a suitable name for what
was being called; this is particularly useful for errors of non-callable
metamethods. This commit also improved the debug information for
order metamethods.
2020-12-29 13:15:54 -03:00
manual Report last error in closing methods 2020-12-22 10:54:25 -03:00
testes Better error messages for calling non-callable objects 2020-12-29 13:15:54 -03:00
.gitignore 'lua_upvalueid' returns NULL on invalid upvalue index 2020-10-12 14:51:28 -03:00
all Revision of stackless implementation 2020-10-12 12:29:09 -03:00
lapi.c Cleaner handling of errors in '__close' metamethods 2020-12-28 11:40:30 -03:00
lapi.h Comments (mosty typos) 2019-12-30 11:45:08 -03:00
lauxlib.c Avoid "bad programming habits" in the reference system 2020-12-03 12:00:32 -03:00
lauxlib.h Details (do not affect regular code) 2020-12-07 11:17:30 -03:00
lbaselib.c Added macro 'luaL_pushfail' 2019-08-16 14:58:02 -03:00
lcode.c Changes in the API of 'luaH_set' and related functions 2020-12-04 11:08:42 -03:00
lcode.h Details 2020-02-27 12:59:22 -03:00
lcorolib.c Report last error in closing methods 2020-12-22 10:54:25 -03:00
lctype.c Easy way to allow Unicode characters in identifiers 2019-12-17 14:24:30 -03:00
lctype.h Better documentation for 'lctype.h' 2020-09-03 09:52:43 -03:00
ldblib.c Details 2020-12-02 15:13:13 -03:00
ldebug.c Better error messages for calling non-callable objects 2020-12-29 13:15:54 -03:00
ldebug.h Better error messages for calling non-callable objects 2020-12-29 13:15:54 -03:00
ldo.c Better error messages for calling non-callable objects 2020-12-29 13:15:54 -03:00
ldo.h Cleaner handling of errors in '__close' metamethods 2020-12-28 11:40:30 -03:00
ldump.c Back to old encoding of versions in binary files 2020-05-06 14:19:08 -03:00
lfunc.c No need to recheck close method before calling it 2020-12-29 10:23:02 -03:00
lfunc.h Cleaner handling of errors in '__close' metamethods 2020-12-28 11:40:30 -03:00
lgc.c Bug when growing a stack 2020-11-08 11:52:26 -03:00
lgc.h Small changes in macros that change GC colors 2020-08-13 15:23:21 -03:00
linit.c Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
liolib.c n Windows, 'popen' accepts "[rw][bt]?" as valid modes 2020-12-03 12:09:50 -03:00
ljumptab.h Several details about 5.4.0 rc1 2020-04-23 14:48:15 -03:00
llex.c Changes in the API of 'luaH_set' and related functions 2020-12-04 11:08:42 -03:00
llex.h Detail 2020-09-15 14:29:52 -03:00
llimits.h Optimization for 'n^2' 2020-11-13 09:59:07 -03:00
lmathlib.c Several details about 5.4.0 rc1 2020-04-23 14:48:15 -03:00
lmem.c Change in macro HARDMEMTESTS for testing GC 2020-07-08 15:36:48 -03:00
lmem.h Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
loadlib.c Back to old encoding of versions in binary files 2020-05-06 14:19:08 -03:00
lobject.c 'luaL_newstate' should not allocate extra memory 2020-11-03 16:34:36 -03:00
lobject.h Cleaner definition for macro 'ttisclosure' 2020-12-16 11:02:40 -03:00
lopcodes.c Several details about 5.4.0 rc1 2020-04-23 14:48:15 -03:00
lopcodes.h Details 2020-10-12 12:29:09 -03:00
lopnames.h Several details about 5.4.0 rc1 2020-04-23 14:48:15 -03:00
loslib.c 'luaL_execresult' does not assume -1 status as error 2020-05-22 15:39:29 -03:00
lparser.c Details 2020-12-02 15:13:13 -03:00
lparser.h Details 2020-12-02 15:13:13 -03:00
lprefix.h Several details about 5.4.0 rc1 2020-04-23 14:48:15 -03:00
lstate.c Reset thread before panicking 2020-12-28 16:34:07 -03:00
lstate.h Reset thread before panicking 2020-12-28 16:34:07 -03:00
lstring.c Hash always use all characters in a long string 2020-10-12 12:29:09 -03:00
lstring.h Hash always use all characters in a long string 2020-10-12 12:29:09 -03:00
lstrlib.c Cleaner handling of floats in pack/unpack 2020-12-16 11:23:51 -03:00
ltable.c Changes in the API of 'luaH_set' and related functions 2020-12-04 11:08:42 -03:00
ltable.h Changes in the API of 'luaH_set' and related functions 2020-12-04 11:08:42 -03:00
ltablib.c Details (typos in comments) 2019-07-05 15:03:15 -03:00
ltests.c Review of asserts in 'ltests.c' 2020-12-08 11:54:21 -03:00
ltests.h Details (do not affect regular code) 2020-12-07 11:17:30 -03:00
ltm.c Fixed bugs of stack reallocation x GC 2020-07-07 18:03:48 -03:00
ltm.h Free bit 7 of GC 'marked' field 2020-08-07 11:21:44 -03:00
lua.c Avoid using 'signal' when 'sigaction' is available 2020-11-24 14:41:50 -03:00
lua.h New release number (5.4.2) 2020-10-12 14:52:39 -03:00
luaconf.h Revision of stackless implementation 2020-10-12 12:29:09 -03:00
lualib.h 'lua_assert' moved from 'lualib.h' to 'lauxlib.h' 2020-12-03 10:39:38 -03:00
lundump.c Fixed bug of long strings in binary chunks 2020-08-18 14:42:11 -03:00
lundump.h Details in comments 2020-05-07 14:52:19 -03:00
lutf8lib.c Details (more uniformity in error messages) 2020-05-27 11:46:47 -03:00
lvm.c Cleaner handling of errors in '__close' metamethods 2020-12-28 11:40:30 -03:00
lvm.h Several details about 5.4.0 rc1 2020-04-23 14:48:15 -03:00
lzio.c Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
lzio.h Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
makefile Compiler optimization back to '-O2' 2020-11-11 15:10:51 -03:00
onelua.c Keep correct type for immediate operands in comparisons 2019-03-22 13:37:17 -03:00
README.md Details 2020-12-02 15:13:13 -03:00

Lua

This is the repository of Lua development code, as seen by the Lua team. It contains the full history of all commits but is mirrored irregularly. For complete information about Lua, visit Lua.org.

Please do not send pull requests. To report issues, post a message to the Lua mailing list.

Download official Lua releases from Lua.org.