summaryrefslogtreecommitdiff
path: root/ldebug.h
Commit message (Collapse)AuthorAgeFilesLines
* Stack indices changed to union'sRoberto Ierusalimschy2022-10-291-1/+1
| | | | | That will allow to change pointers to offsets while reallocating the stack.
* Optimization/simplification of 'getbaseline'Roberto Ierusalimschy2021-02-021-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 hookRoberto Ierusalimschy2021-01-281-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 objectsRoberto Ierusalimschy2020-12-291-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 functionRoberto Ierusalimschy2020-07-171-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 Ierusalimschy2018-11-291-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 Ierusalimschy2018-10-301-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 stringsRoberto Ierusalimschy2018-08-231-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 possibleRoberto Ierusalimschy2018-06-081-2/+2
|
* minimizing the code ran by 'vmfetch' + no more 'vra'Roberto Ierusalimschy2018-05-021-2/+2
| | | | (the code is simpler without 'vra' and conversion is a no-op)
* janitor work on castsRoberto Ierusalimschy2018-01-281-2/+2
|
* 'lineinfo' in prototypes saved as differences instead of absoluteRoberto Ierusalimschy2017-06-271-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 errorsRoberto Ierusalimschy2015-05-221-1/+3
|
* 'ci_func' don't need to be exportedRoberto Ierusalimschy2015-03-111-4/+1
|
* better error message for bitwise operators (they are not arithmetic...)Roberto Ierusalimschy2014-11-101-3/+4
|
* detail (unknown lines are marked as -1, not 0)Roberto Ierusalimschy2014-02-251-2/+2
|
* correct error message for conversion errors from float to intRoberto Ierusalimschy2013-05-061-1/+3
|
* added 'const' to parameters of 'luaG_concaterror'Roberto Ierusalimschy2013-04-291-2/+3
|
* functions 'traceexec', 'callTM', and 'call_binTM' moved to otherRoberto Ierusalimschy2013-04-251-1/+3
| | | | files to make 'lvm.c' a little smaller
* new type 'l_noret' for function that do not returnRoberto Ierusalimschy2011-10-071-10/+10
|
* stricter control (using tag variants) over closure kinds (Lua x C)Roberto Ierusalimschy2011-06-021-1/+4
|
* 'getline' renamed to 'getfuncline' (to avoid problems with POSIX)Roberto Ierusalimschy2009-06-101-2/+2
|
* no more code checkingRoberto Ierusalimschy2009-04-301-3/+1
|
* added LUAI_FUNC to functions not in the APIRoberto Ierusalimschy2005-04-251-9/+12
|
* new macro `lua_threadyield' + lock stuff in `luaconf.h' + detailsRoberto Ierusalimschy2004-06-021-2/+2
|
* `TObject' renamed to `TValue' + other name changes and better assertionsRoberto Ierusalimschy2003-12-101-4/+4
| | | | for incremental garbage collection
* new way to control `pc' of running functionsRoberto Ierusalimschy2003-07-161-2/+1
|
* new representation for hooks (to allow asynchronous calls to sethook)Roberto Ierusalimschy2002-11-181-5/+3
|
* new simetric format for ABC instructions, to avoid exchanging operandsRoberto Ierusalimschy2002-08-201-2/+2
| | | | for `commutative' operators
* use a linear count for count hookRoberto Ierusalimschy2002-08-121-3/+2
|
* external messages add their own extra informationRoberto Ierusalimschy2002-08-081-2/+2
|
* `luadebug.h' content now is included in `lua.h'Roberto Ierusalimschy2002-08-061-2/+1
|
* new (old?) error handling schemeRoberto Ierusalimschy2002-08-061-2/+1
|
* new implementation for tailcalls and error handlingRoberto Ierusalimschy2002-08-051-1/+2
|
* hook count is quadraticRoberto Ierusalimschy2002-07-081-2/+2
|
* new interface for debug hooksRoberto Ierusalimschy2002-07-081-1/+8
|
* detailsRoberto Ierusalimschy2002-06-241-2/+2
|
* new protocol for error handlingRoberto Ierusalimschy2002-06-181-1/+2
|
* new format for error messagesRoberto Ierusalimschy2002-05-151-1/+2
|
* precompiler may create functions without `lineinfo'Roberto Ierusalimschy2002-05-021-1/+3
|
* line trace uses `savedpc' to save last `pc' seenRoberto Ierusalimschy2002-04-101-1/+3
|
* simpler implementation for line informationRoberto Ierusalimschy2002-03-251-2/+1
|
* erroneous objects may not live in the stackRoberto Ierusalimschy2002-03-191-3/+3
|
* no more explicit support for wide-chars; too much troble...Roberto Ierusalimschy2001-11-281-2/+2
|
* new module lopcodes.c for tables describing opcodesRoberto Ierusalimschy2001-06-281-20/+1
|
* details about opcode parametersRoberto Ierusalimschy2001-06-111-3/+2
|
* detailsRoberto Ierusalimschy2001-06-071-2/+2
|
* new implementation for the Virtual MachineRoberto Ierusalimschy2001-06-051-3/+24
|
* first (big) step to support wide charsRoberto Ierusalimschy2001-02-231-3/+3
|
* checking consistency of jumps.Roberto Ierusalimschy2001-02-121-2/+2
|