Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed bug of long strings in binary chunksv5.3.6v5.3 | Roberto Ierusalimschy | 2020-08-18 | 1 | -3/+7 |
| | | | | | | | When "undumping" a long string, the function 'LoadVector' can call the reader function, which can run the garbage collector, which can collect the string being read. So, the string must be anchored during the call to 'LoadVector'. (This commit also fixes the identation in 'l_alloc'.) | ||||
* | Fixed missing GC barriers in compiler and undump | Roberto Ierusalimschy | 2020-06-18 | 1 | -8/+12 |
| | | | | | While building a new prototype, the GC needs barriers for every object (strings and nested prototypes) that is attached to the new prototype. | ||||
* | Lua 5.3.5 ported to gitv5.3.5 | Roberto Ierusalimschy | 2018-12-17 | 1 | -1/+1 |
| | | | | | | | This is the first commit for the branch Lua 5.3. All source files were copied from the official distribution of 5.3.5 in the Lua site. The test files are the same of 5.3.4. The manual came from the previous RCS repository, revision 1.167.1.2. | ||||
* | macro 'incr_top' replaced by function 'luaD_inctop'. (It is not used | Roberto Ierusalimschy | 2015-11-02 | 1 | -2/+2 |
| | | | | in critical time pathes, can save a few bytes without the macro) | ||||
* | macros 'getaddrstr' and 'getstr' unified (they do the same thing) | Roberto Ierusalimschy | 2015-09-17 | 1 | -2/+2 |
| | |||||
* | long strings are created directly in final position when possible | Roberto Ierusalimschy | 2015-09-08 | 1 | -9/+11 |
| | | | | | (instead of using an auxiliar buffer to first create the string and then allocate the final string and copy result there) | ||||
* | added include for 'lprefix.h', for stuff that must be added before | Roberto Ierusalimschy | 2014-11-02 | 1 | -3/+6 |
| | | | | any other header file | ||||
* | more precision between closure types ('LClosure' x 'CClosure') | Roberto Ierusalimschy | 2014-06-19 | 1 | -8/+8 |
| | |||||
* | allows different 'source' for each prototype, but inherits it from | Roberto Ierusalimschy | 2014-06-18 | 1 | -11/+17 |
| | | | | | parent when they are equal (only possible case for chunks created by the parser) | ||||
* | source for all prototypes must be equal in a chunk; no need to store | Roberto Ierusalimschy | 2014-06-18 | 1 | -2/+4 |
| | | | | each one separated | ||||
* | 'setnvalue' -> 'setfltvalue' (for consitency with 'fltvalue') | Roberto Ierusalimschy | 2014-04-29 | 1 | -2/+2 |
| | |||||
* | some details to avoid warnings | Roberto Ierusalimschy | 2014-04-01 | 1 | -2/+2 |
| | |||||
* | missplelling in comments/function names (endianess -> endianness) | Roberto Ierusalimschy | 2014-03-27 | 1 | -3/+3 |
| | |||||
* | make all dumps/loads go trhough Load/DumpVector (so it is easier | Roberto Ierusalimschy | 2014-03-11 | 1 | -4/+10 |
| | | | | to adapt the code to correct endianess, if needed) | ||||
* | keep chunk's headers compatible at least up to LUAC_VERSION (to be | Roberto Ierusalimschy | 2014-03-11 | 1 | -7/+8 |
| | | | | able to detect correctly version mismatches) | ||||
* | no need to avoid negative ints in 'LoadInt' | Roberto Ierusalimschy | 2014-03-10 | 1 | -3/+1 |
| | |||||
* | "indent -kr -i2 -br -brf -nut" plus a few manual formating | Roberto Ierusalimschy | 2014-03-10 | 1 | -207/+222 |
| | |||||
* | no need to store a full 'size_t' fo the size of (frequent) small strings | Roberto Ierusalimschy | 2014-03-01 | 1 | -5/+5 |
| | |||||
* | more regularity with vectors + sizeof computed by the macros themselves | Roberto Ierusalimschy | 2014-02-28 | 1 | -8/+7 |
| | |||||
* | all chars used in binary dumps are unsigned ('lu_byte') | Roberto Ierusalimschy | 2014-02-28 | 1 | -6/+5 |
| | |||||
* | store number of upvalues of main function in front of the dump, | Roberto Ierusalimschy | 2014-02-27 | 1 | -9/+3 |
| | | | | so that undump can create initial closure before reading its prototype | ||||
* | more explicit handling of headers for binary chunks | Roberto Ierusalimschy | 2014-02-27 | 1 | -45/+29 |
| | |||||
* | no more local collection | Roberto Ierusalimschy | 2014-02-13 | 1 | -2/+1 |
| | |||||
* | added 'local' bit (true => object is only refered by local variables) | Roberto Ierusalimschy | 2013-08-16 | 1 | -2/+5 |
| | |||||
* | dumping and undumping integers | Roberto Ierusalimschy | 2013-04-26 | 1 | -3/+13 |
| | |||||
* | no more 'Proto' objects on the stack. Protos are anchored on outer | Roberto Ierusalimschy | 2012-05-08 | 1 | -11/+24 |
| | | | | Protos or on a Closure, which must be created before the Proto. | ||||
* | error function can be 'l_noret' | Roberto Ierusalimschy | 2012-03-19 | 1 | -2/+2 |
| | |||||
* | "default: lua_assert(0)" in switches helps debugging + uses | Roberto Ierusalimschy | 2012-01-23 | 1 | -1/+2 |
| | | | | non-variant types in binary files | ||||
* | avoid a few warnings (casts) | Roberto Ierusalimschy | 2011-12-07 | 1 | -3/+3 |
| | |||||
* | details | Roberto Ierusalimschy | 2011-11-24 | 1 | -2/+2 |
| | |||||
* | changes by lhf (better control of chars x bytes) | Roberto Ierusalimschy | 2011-05-17 | 1 | -21/+41 |
| | |||||
* | no need of lookahead in Zio | Roberto Ierusalimschy | 2011-02-23 | 1 | -3/+3 |
| | |||||
* | trying to avoid assumption that sizeof(char)==1 | Roberto Ierusalimschy | 2011-02-07 | 1 | -3/+3 |
| | |||||
* | version from lhf | Roberto Ierusalimschy | 2010-10-25 | 1 | -26/+14 |
| | |||||
* | first version of _ENV; no more global variables | Roberto Ierusalimschy | 2010-03-12 | 1 | -2/+1 |
| | |||||
* | first implementation of lexical environments | Roberto Ierusalimschy | 2009-09-30 | 1 | -1/+2 |
| | |||||
* | information about upvalues (where they come from) kept in Proto structure, | Roberto Ierusalimschy | 2009-09-28 | 1 | -6/+17 |
| | | | | instead of sequence of pseudo-opcodes after OP_CLOSURE | ||||
* | no more code checking | Roberto Ierusalimschy | 2009-04-30 | 1 | -2/+1 |
| | |||||
* | two bugs: invalid boolean values in constant table + too deep recursion | Roberto Ierusalimschy | 2008-04-07 | 1 | -3/+6 |
| | | | | when reading nested functions | ||||
* | avoid trailing white spaces | Roberto Ierusalimschy | 2006-09-11 | 1 | -3/+3 |
| | |||||
* | small change to strip file names when stripping debug informationv5.1 | Roberto Ierusalimschy | 2006-02-17 | 1 | -2/+2 |
| | |||||
* | new versions by lhf | Roberto Ierusalimschy | 2005-11-16 | 1 | -180/+107 |
| | |||||
* | warnings in VS .Net | Roberto Ierusalimschy | 2005-05-31 | 1 | -5/+5 |
| | |||||
* | debug information for last line of a function definition | Roberto Ierusalimschy | 2005-05-05 | 1 | -2/+3 |
| | |||||
* | function constants may include boolean values | Roberto Ierusalimschy | 2004-10-04 | 1 | -1/+4 |
| | |||||
* | new scheme for configuration through `luaconf.h' | Roberto Ierusalimschy | 2004-04-30 | 1 | -1/+2 |
| | |||||
* | `TObject' renamed to `TValue' + other name changes and better assertions | Roberto Ierusalimschy | 2003-12-10 | 1 | -11/+13 |
| | | | | for incremental garbage collection | ||||
* | parser fully reentrant(!) | Roberto Ierusalimschy | 2003-08-27 | 1 | -1/+9 |
| | |||||
* | zio does not keep "source" name (nobody uses it) | Roberto Ierusalimschy | 2003-08-25 | 1 | -3/+2 |
| | |||||
* | no more checks for non-default compilation options + luaU_dump has | Roberto Ierusalimschy | 2003-08-15 | 1 | -5/+1 |
| | | | | new option to strip debug info |