Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bugs: Internal Lua values may escape through the debug API +v5.2.1 | Roberto Ierusalimschy | 2012-06-11 | 1 | -2/+39 |
| | | | | Problems when yielding from debug hooks | ||||
* | bugs in yields inside debug hooks | Roberto Ierusalimschy | 2012-06-08 | 4 | -13/+23 |
| | |||||
* | new auxiliary function 'luaI_printinst' (to print a single instruction) | Roberto Ierusalimschy | 2012-06-07 | 1 | -1/+7 |
| | |||||
* | includes counts from 'sweeptolive' in cost of atomic step | Roberto Ierusalimschy | 2012-05-31 | 1 | -8/+15 |
| | |||||
* | bug in luaL_getsubtable (calling lua_absindex not with original stack) | Roberto Ierusalimschy | 2012-05-31 | 1 | -3/+3 |
| | |||||
* | small bug in error handling of finalizers (cannot call lua_tostring | Roberto Ierusalimschy | 2012-05-31 | 1 | -27/+45 |
| | | | | | | inside the core) + small bug in luaC_checkfinalizer (when avoiding remove object being sweeped from sweep list) + small changes in GC pace control (for the atomic part) | ||||
* | small improvement in lua_checkmemory (only allow dead objects in | Roberto Ierusalimschy | 2012-05-31 | 1 | -7/+12 |
| | | | | part of the sweep list not yet sweeped) | ||||
* | update of 'lua_checkmemory' | Roberto Ierusalimschy | 2012-05-30 | 1 | -4/+10 |
| | |||||
* | bug: object being moved to 'finobj' list might not be sweeped by | Roberto Ierusalimschy | 2012-05-30 | 1 | -4/+7 |
| | | | | the collector | ||||
* | typos in comments | Roberto Ierusalimschy | 2012-05-30 | 2 | -5/+5 |
| | |||||
* | only count in 'atomic' objects marked for the first time | Roberto Ierusalimschy | 2012-05-29 | 1 | -5/+8 |
| | |||||
* | more efficient way to apply 'stepmul' + some changes in GC parameters | Roberto Ierusalimschy | 2012-05-28 | 1 | -18/+29 |
| | |||||
* | definition for 'MAX_LMEM' | Roberto Ierusalimschy | 2012-05-28 | 1 | -1/+3 |
| | |||||
* | definition of 'GCSTEPSIZE' moved to header file + small changes | Roberto Ierusalimschy | 2012-05-23 | 2 | -10/+13 |
| | |||||
* | compensate for 'GCSTEPSIZE' in GC steps | Roberto Ierusalimschy | 2012-05-23 | 1 | -2/+2 |
| | |||||
* | removed debug code | Roberto Ierusalimschy | 2012-05-23 | 1 | -17/+1 |
| | |||||
* | spaces -> tabs in #defines | Roberto Ierusalimschy | 2012-05-23 | 5 | -30/+31 |
| | |||||
* | detail ('char' should be 'const char') | Roberto Ierusalimschy | 2012-05-22 | 1 | -2/+2 |
| | |||||
* | merge of fields 'lastmajormem' (used in gen. mode) and 'estimate' | Roberto Ierusalimschy | 2012-05-22 | 4 | -15/+15 |
| | | | | (used in inc. mode) | ||||
* | try to avoid sweeping new objects created with new white (and | Roberto Ierusalimschy | 2012-05-22 | 3 | -27/+43 |
| | | | | therefore not collectable in the current cycle) | ||||
* | simpler macro 'luaC_condGC' + better 'step' in 'lua_gc' + | Roberto Ierusalimschy | 2012-05-21 | 3 | -17/+35 |
| | | | | | micro bug in 'luaC_checkfinalizer' (current sweep object could be removed from 'allgc' list) | ||||
* | revamp of the GC pace control; more like 5.1: any X Kbytes allocated | Roberto Ierusalimschy | 2012-05-20 | 2 | -97/+120 |
| | | | | makes the GC handle f(X) Kbytes of objects | ||||
* | extend optimization of 'if a then break end' for the case | Roberto Ierusalimschy | 2012-05-20 | 1 | -4/+10 |
| | | | | 'if a then break; end' | ||||
* | allow "long double" precision for PI constant if needed | Roberto Ierusalimschy | 2012-05-18 | 1 | -6/+6 |
| | |||||
* | removed 'stringmark' trick | Roberto Ierusalimschy | 2012-05-14 | 1 | -25/+19 |
| | |||||
* | macro 'checkGC' takes care of setting 'top' to limit stack live values | Roberto Ierusalimschy | 2012-05-14 | 1 | -16/+9 |
| | |||||
* | details (header comments) | Roberto Ierusalimschy | 2012-05-14 | 2 | -3/+4 |
| | |||||
* | test for whether collector is running moved from function to | Roberto Ierusalimschy | 2012-05-11 | 3 | -16/+8 |
| | | | | macro 'luaC_condGC'. | ||||
* | definition for 'LUAI_MAXSHORTLEN' moved to luaconf.h (too important) | Roberto Ierusalimschy | 2012-05-11 | 2 | -13/+9 |
| | |||||
* | better(?) handling of '#define's for IEEE-related tricks + avoid using | Roberto Ierusalimschy | 2012-05-11 | 3 | -66/+82 |
| | | | | IEEE trick for 64-bit integer types (lua_Integer on 64-bit machines) | ||||
* | bug: wrong handling of 'nCcalls' in coroutines | Roberto Ierusalimschy | 2012-05-11 | 1 | -6/+35 |
| | |||||
* | useless parameter in macro 'luai_makeseed' | Roberto Ierusalimschy | 2012-05-11 | 1 | -2/+2 |
| | |||||
* | no more 'Proto' objects on the stack. Protos are anchored on outer | Roberto Ierusalimschy | 2012-05-08 | 11 | -90/+103 |
| | | | | Protos or on a Closure, which must be created before the Proto. | ||||
* | wrong error message when 'coroutine.create' or 'coroutine.wrap' are | Roberto Ierusalimschy | 2012-04-27 | 1 | -2/+3 |
| | | | | | called with no arguments (new thread is assumed to be the missing argument). | ||||
* | small bug: a reader function should not modify the Lua stack | Roberto Ierusalimschy | 2012-04-27 | 1 | -1/+2 |
| | |||||
* | bug: wrong handling of 'nCcalls' in coroutines | Roberto Ierusalimschy | 2012-04-26 | 1 | -5/+4 |
| | |||||
* | detail (separate code to create 'searchers' table into a new function) | Roberto Ierusalimschy | 2012-04-26 | 1 | -12/+15 |
| | |||||
* | primaryexp -> suffixedexp; prefixexp -> primaryexp + more 'syntactical' | Roberto Ierusalimschy | 2012-04-20 | 1 | -15/+17 |
| | | | | way to distinguish between function calls and assignments | ||||
* | details (using lua_setglobal/lua_getglobal instead of explicit | Roberto Ierusalimschy | 2012-04-20 | 2 | -15/+8 |
| | | | | use of the global table) | ||||
* | release 5.2.1 | Roberto Ierusalimschy | 2012-04-20 | 1 | -4/+4 |
| | |||||
* | different scheme to check arguments to '%d', '%x', etc. Old scheme | Roberto Ierusalimschy | 2012-04-20 | 1 | -8/+9 |
| | | | | did not work well when lua_Number is an integer. | ||||
* | Finalizers may call functions from a dynamic library after | Roberto Ierusalimschy | 2012-04-12 | 1 | -2/+102 |
| | | | | the library has been unloaded | ||||
* | bug: C libraries must be unloaded after all other finalizers have run, | Roberto Ierusalimschy | 2012-04-11 | 1 | -33/+41 |
| | | | | because a finalizer may use a C function from a C library | ||||
* | 'if' to avoid empty 'memcpy' (may be expensive) | Roberto Ierusalimschy | 2012-04-03 | 1 | -2/+4 |
| | |||||
* | string hash may not use all bytes (but this is configurable now) + | Roberto Ierusalimschy | 2012-03-28 | 1 | -5/+28 |
| | | | | small other changes | ||||
* | definition for 'LUA_MAXSHORTLEN' moved to 'lstring.c' (used only there) | Roberto Ierusalimschy | 2012-03-28 | 1 | -10/+1 |
| | |||||
* | error function can be 'l_noret' | Roberto Ierusalimschy | 2012-03-19 | 1 | -2/+2 |
| | |||||
* | cleaner code (avoids loop with empty body) | Roberto Ierusalimschy | 2012-03-19 | 1 | -3/+5 |
| | |||||
* | 'luaL_checkversion' called by 'luaL_setfuncs' | Roberto Ierusalimschy | 2012-03-18 | 1 | -1/+2 |
| | |||||
* | random seed used in the hash of all strings to avoid intentional | Roberto Ierusalimschy | 2012-02-01 | 5 | -12/+49 |
| | | | | collisions |