Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Bug: Call hook may be called twice when count hook yields | Roberto Ierusalimschy | 2023-07-25 | 1 | -0/+1 |
| | | | | | Took the opportunity and moved the code that controls call hooks in 'luaV_execute' into a function. | ||||
* | Stack indices changed to union's | Roberto Ierusalimschy | 2022-10-29 | 1 | -1/+1 |
| | | | | | That will allow to change pointers to offsets while reallocating the stack. | ||||
* | Optimization/simplification of 'getbaseline' | Roberto Ierusalimschy | 2021-02-02 | 1 | -2/+2 |
| | | | | | By producing absolute line information at regular intervals, a simple division can compute the correct entry for a given instruction. | ||||
* | Optimizations for line hook | Roberto Ierusalimschy | 2021-01-28 | 1 | -0/+10 |
| | | | | | The function 'changedline' tries harder to avoid calling 'luaG_getfuncline' plus small changes in the use of 'L->oldpc'. | ||||
* | Better error messages for calling non-callable objects | Roberto Ierusalimschy | 2020-12-29 | 1 | -0/+1 |
| | | | | | | | 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. | ||||
* | Fixed bug: invalid 'oldpc' when returning to a function | Roberto Ierusalimschy | 2020-07-17 | 1 | -0/+5 |
| | | | | | | | | | | The field 'L->oldpc' is not always updated when control returns to a function; an invalid value can seg. fault when computing 'changedline'. (One example is an error in a finalizer; control can return to 'luaV_execute' without executing 'luaD_poscall'.) Instead of trying to fix all possible corner cases, it seems safer to be resilient to invalid values for 'oldpc'. Valid but wrong values at most cause an extra call to a line hook. | ||||
* | A to-be-closed variable must have a closable value (or be nil) | Roberto Ierusalimschy | 2018-11-29 | 1 | -0/+2 |
| | | | | | | | It is an error for a to-be-closed variable to have a non-closable non-nil value when it is being closed. This situation does not seem to be useful and often hints to an error. (Particularly in the C API, it is easy to change a to-be-closed index by mistake.) | ||||
* | Better error messages for invalid operands in numeric 'for' | Roberto Ierusalimschy | 2018-10-30 | 1 | -0/+2 |
| | | | | | | "Better" and similar to error messages for invalid function arguments. *old message: 'for' limit must be a number *new message: bad 'for' limit (number expected, got table) | ||||
* | Removed extra information from RCS keyword strings | Roberto Ierusalimschy | 2018-08-23 | 1 | -1/+1 |
| | | | | | Version numbers and dates (mostly wrong) from RCS keyword strings removed from all source files; only the file name are kept. | ||||
* | added 'const' to 'Proto*' when possible | Roberto Ierusalimschy | 2018-06-08 | 1 | -2/+2 |
| | |||||
* | minimizing the code ran by 'vmfetch' + no more 'vra' | Roberto Ierusalimschy | 2018-05-02 | 1 | -2/+2 |
| | | | | (the code is simpler without 'vra' and conversion is a no-op) | ||||
* | janitor work on casts | Roberto Ierusalimschy | 2018-01-28 | 1 | -2/+2 |
| | |||||
* | 'lineinfo' in prototypes saved as differences instead of absolute | Roberto Ierusalimschy | 2017-06-27 | 1 | -3/+7 |
| | | | | | | values, so that the array can use bytes instead of ints, reducing its size. (A new array 'abslineinfo' is used when line differences do not fit in a byte.) | ||||
* | reuse of 'addinfo' by lexical errors | Roberto Ierusalimschy | 2015-05-22 | 1 | -1/+3 |
| | |||||
* | 'ci_func' don't need to be exported | Roberto Ierusalimschy | 2015-03-11 | 1 | -4/+1 |
| | |||||
* | better error message for bitwise operators (they are not arithmetic...) | Roberto Ierusalimschy | 2014-11-10 | 1 | -3/+4 |
| | |||||
* | detail (unknown lines are marked as -1, not 0) | Roberto Ierusalimschy | 2014-02-25 | 1 | -2/+2 |
| | |||||
* | correct error message for conversion errors from float to int | Roberto Ierusalimschy | 2013-05-06 | 1 | -1/+3 |
| | |||||
* | added 'const' to parameters of 'luaG_concaterror' | Roberto Ierusalimschy | 2013-04-29 | 1 | -2/+3 |
| | |||||
* | functions 'traceexec', 'callTM', and 'call_binTM' moved to other | Roberto Ierusalimschy | 2013-04-25 | 1 | -1/+3 |
| | | | | files to make 'lvm.c' a little smaller | ||||
* | new type 'l_noret' for function that do not return | Roberto Ierusalimschy | 2011-10-07 | 1 | -10/+10 |
| | |||||
* | stricter control (using tag variants) over closure kinds (Lua x C) | Roberto Ierusalimschy | 2011-06-02 | 1 | -1/+4 |
| | |||||
* | 'getline' renamed to 'getfuncline' (to avoid problems with POSIX) | Roberto Ierusalimschy | 2009-06-10 | 1 | -2/+2 |
| | |||||
* | no more code checking | Roberto Ierusalimschy | 2009-04-30 | 1 | -3/+1 |
| | |||||
* | added LUAI_FUNC to functions not in the API | Roberto Ierusalimschy | 2005-04-25 | 1 | -9/+12 |
| | |||||
* | new macro `lua_threadyield' + lock stuff in `luaconf.h' + details | Roberto Ierusalimschy | 2004-06-02 | 1 | -2/+2 |
| | |||||
* | `TObject' renamed to `TValue' + other name changes and better assertions | Roberto Ierusalimschy | 2003-12-10 | 1 | -4/+4 |
| | | | | for incremental garbage collection | ||||
* | new way to control `pc' of running functions | Roberto Ierusalimschy | 2003-07-16 | 1 | -2/+1 |
| | |||||
* | new representation for hooks (to allow asynchronous calls to sethook) | Roberto Ierusalimschy | 2002-11-18 | 1 | -5/+3 |
| | |||||
* | new simetric format for ABC instructions, to avoid exchanging operands | Roberto Ierusalimschy | 2002-08-20 | 1 | -2/+2 |
| | | | | for `commutative' operators | ||||
* | use a linear count for count hook | Roberto Ierusalimschy | 2002-08-12 | 1 | -3/+2 |
| | |||||
* | external messages add their own extra information | Roberto Ierusalimschy | 2002-08-08 | 1 | -2/+2 |
| | |||||
* | `luadebug.h' content now is included in `lua.h' | Roberto Ierusalimschy | 2002-08-06 | 1 | -2/+1 |
| | |||||
* | new (old?) error handling scheme | Roberto Ierusalimschy | 2002-08-06 | 1 | -2/+1 |
| | |||||
* | new implementation for tailcalls and error handling | Roberto Ierusalimschy | 2002-08-05 | 1 | -1/+2 |
| | |||||
* | hook count is quadratic | Roberto Ierusalimschy | 2002-07-08 | 1 | -2/+2 |
| | |||||
* | new interface for debug hooks | Roberto Ierusalimschy | 2002-07-08 | 1 | -1/+8 |
| | |||||
* | details | Roberto Ierusalimschy | 2002-06-24 | 1 | -2/+2 |
| | |||||
* | new protocol for error handling | Roberto Ierusalimschy | 2002-06-18 | 1 | -1/+2 |
| | |||||
* | new format for error messages | Roberto Ierusalimschy | 2002-05-15 | 1 | -1/+2 |
| | |||||
* | precompiler may create functions without `lineinfo' | Roberto Ierusalimschy | 2002-05-02 | 1 | -1/+3 |
| | |||||
* | line trace uses `savedpc' to save last `pc' seen | Roberto Ierusalimschy | 2002-04-10 | 1 | -1/+3 |
| | |||||
* | simpler implementation for line information | Roberto Ierusalimschy | 2002-03-25 | 1 | -2/+1 |
| | |||||
* | erroneous objects may not live in the stack | Roberto Ierusalimschy | 2002-03-19 | 1 | -3/+3 |
| | |||||
* | no more explicit support for wide-chars; too much troble... | Roberto Ierusalimschy | 2001-11-28 | 1 | -2/+2 |
| | |||||
* | new module lopcodes.c for tables describing opcodes | Roberto Ierusalimschy | 2001-06-28 | 1 | -20/+1 |
| | |||||
* | details about opcode parameters | Roberto Ierusalimschy | 2001-06-11 | 1 | -3/+2 |
| | |||||
* | details | Roberto Ierusalimschy | 2001-06-07 | 1 | -2/+2 |
| | |||||
* | new implementation for the Virtual Machine | Roberto Ierusalimschy | 2001-06-05 | 1 | -3/+24 |
| | |||||
* | first (big) step to support wide chars | Roberto Ierusalimschy | 2001-02-23 | 1 | -3/+3 |
| |