summaryrefslogtreecommitdiff
path: root/ldump.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Small changes in the header of binary filesRoberto Ierusalimschy2019-03-191-3/+1
| | | | | | | | | - LUAC_VERSION is equal to LUA_VERSION_NUM, and it is stored as an int. - 'sizeof(int)' and 'sizeof(size_t)' removed from the header, as the binary format does not depend on these sizes. (It uses its own serialization for unsigned integer values.)
* 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.
* better names for macros for tags and types.Roberto Ierusalimschy2018-02-261-3/+3
| | | | | rttype -> rawtt; ttyperaw -> withvariant; ttype -> ttypetag; tnov -> ttype
* detail (identation of switch)Roberto Ierusalimschy2017-11-281-18/+17
|
* dumping ints and size_ts compactedRoberto Ierusalimschy2017-06-271-11/+21
|
* 'lineinfo' in prototypes saved as differences instead of absoluteRoberto Ierusalimschy2017-06-271-1/+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.)
* avoid calling write function with empty blockRoberto Ierusalimschy2015-10-081-2/+2
|
* avoid expression with side effect (in debug mode) inside 'sizeof'Roberto Ierusalimschy2015-03-301-2/+3
|
* size of short strings stored in a single byte, to reduce the sizeRoberto Ierusalimschy2015-01-161-2/+2
| | | | of struct 'TString'
* added include for 'lprefix.h', for stuff that must be added beforeRoberto Ierusalimschy2014-11-021-3/+6
| | | | any other header file
* type 'TString' refers directly to the structure inside the unionRoberto Ierusalimschy2014-07-181-3/+3
| | | | (union used only for size purposes)
* allows different 'source' for each prototype, but inherits it fromRoberto Ierusalimschy2014-06-181-10/+17
| | | | | parent when they are equal (only possible case for chunks created by the parser)
* added assertion about sources being the same for all protos in a chunkRoberto Ierusalimschy2014-06-181-2/+4
|
* source for all prototypes must be equal in a chunk; no need to storeRoberto Ierusalimschy2014-06-181-2/+2
| | | | each one separated
* some details to avoid warningsRoberto Ierusalimschy2014-04-011-2/+2
|
* missplelling in comments/function names (endianess -> endianness)Roberto Ierusalimschy2014-03-271-2/+2
|
* make all dumps/loads go trhough Load/DumpVector (so it is easierRoberto Ierusalimschy2014-03-111-4/+10
| | | | to adapt the code to correct endianess, if needed)
* keep chunk's headers compatible at least up to LUAC_VERSION (to beRoberto Ierusalimschy2014-03-111-3/+5
| | | | able to detect correctly version mismatches)
* "indent -kr -i2 -br -brf -nut" plus a few manual formatingRoberto Ierusalimschy2014-03-101-137/+141
|
* no need to store a full 'size_t' fo the size of (frequent) small stringsRoberto Ierusalimschy2014-03-011-11/+11
|
* more regularity with vectors + sizeof computed by the macros themselvesRoberto Ierusalimschy2014-02-281-11/+11
|
* all chars used in binary dumps are unsigned ('lu_byte')Roberto Ierusalimschy2014-02-281-18/+18
|
* store number of upvalues of main function in front of the dump,Roberto Ierusalimschy2014-02-271-1/+2
| | | | so that undump can create initial closure before reading its prototype
* more explicit handling of headers for binary chunksRoberto Ierusalimschy2014-02-271-4/+12
|
* dumping and undumping integersRoberto Ierusalimschy2013-04-261-6/+14
|
* 'ttypenv' -> 'ttnov'Roberto Ierusalimschy2013-04-121-3/+3
|
* "default: lua_assert(0)" in switches helps debugging + usesRoberto Ierusalimschy2012-01-231-3/+4
| | | | non-variant types in binary files
* detailsRoberto Ierusalimschy2011-11-241-3/+3
|
* changes by lhf (better control of chars x bytes)Roberto Ierusalimschy2011-05-171-3/+3
|
* version from lhfRoberto Ierusalimschy2010-10-251-9/+6
|
* first version of _ENV; no more global variablesRoberto Ierusalimschy2010-03-121-2/+1
|
* first implementation of lexical environmentsRoberto Ierusalimschy2009-09-301-1/+2
|
* information about upvalues (where they come from) kept in Proto structure,Roberto Ierusalimschy2009-09-281-3/+14
| | | | instead of sequence of pseudo-opcodes after OP_CLOSURE
* useless test removed (pointed by lint)Roberto Ierusalimschy2008-07-031-2/+2
|
* avoid trailing white spacesRoberto Ierusalimschy2006-09-111-2/+2
|
* small change to strip file names when stripping debug informationv5.1Roberto Ierusalimschy2006-02-171-2/+2
|
* new versions by lhfRoberto Ierusalimschy2005-11-161-72/+57
|
* several small detailsRoberto Ierusalimschy2005-05-171-3/+4
|
* debug information for last line of a function definitionRoberto Ierusalimschy2005-05-051-2/+3
|
* function constants may include boolean valuesRoberto Ierusalimschy2004-10-041-1/+4
|
* `lua_Chunkwriter' returns 0 in case of successRoberto Ierusalimschy2004-07-091-12/+17
|
* new scheme for configuration through `luaconf.h'Roberto Ierusalimschy2004-04-301-1/+2
|
* `TObject' renamed to `TValue' + other name changes and better assertionsRoberto Ierusalimschy2003-12-101-3/+3
| | | | for incremental garbage collection
* no more checks for non-default compilation options + luaU_dump hasRoberto Ierusalimschy2003-08-151-10/+8
| | | | new option to strip debug info
* last changes by lhfv5.0Roberto Ierusalimschy2003-04-101-4/+5
|
* different variables for number of upvalues and size of upvalue arrayRoberto Ierusalimschy2003-02-111-8/+3
| | | | (makes code clearer)
* dump/undump of upvalue namesRoberto Ierusalimschy2003-01-271-9/+23
|
* each .c file defines its own nameRoberto Ierusalimschy2002-12-041-1/+3
|
* module for dumping chunksRoberto Ierusalimschy2002-10-251-0/+158