73 Commits (master)

Author SHA1 Message Date
Roberto Ierusalimschy 0acd55898d Added gcc option '-Wconversion' 3 months ago
Roberto Ierusalimschy 55ac40f859 Cleaning of llimits.h 5 months ago
Roberto Ierusalimschy 0593256707 'luaH_get' functions return tag of the result 8 months ago
Roberto Ierusalimschy ce6f5502c9 'luaH_get' functions return 'TValue' 8 months ago
Roberto Ierusalimschy cc2b66c856 Removed type 'varint_t' 8 months ago
Roberto Ierusalimschy c8121ce34b Revising code for Varint encoding in dumps 9 months ago
Roberto Ierusalimschy e7af9cdf0b Fixed buffers reuse absolute line information 11 months ago
Roberto Ierusalimschy 4eda1acafa Cleaner protocol between 'lua_dump' and writer function 11 months ago
Roberto Ierusalimschy eabf425c76 Correct anchoring and GC barriers in 'loadString' 12 months ago
Roberto Ierusalimschy 3b57e37e48 Fixed buffers save long strings as external. 1 year ago
Roberto Ierusalimschy 19afd91687 Solving merge issue with use of tables in dump/undump 1 year ago
Roberto Ierusalimschy f33cda8d6e New macro 'getlstr' 1 year ago
Roberto Ierusalimschy 96f7714237 Field 'Proto.is_vararg' uses only one bit 1 year ago
Roberto Ierusalimschy 0554581605 Opcode in dumps is stored properly aligned 1 year ago
Roberto Ierusalimschy ab859fe59b Bug: Loading a corrupted binary file can segfault 2 years ago
Roberto Ierusalimschy 7d6a97e42b Dump doesn't need to reuse 'source' 2 years ago
Roberto Ierusalimschy d70a0c91ad Dump/undump reuse strings 2 years ago
Roberto Ierusalimschy 61a4e64a66 Back to old encoding of versions in binary files 5 years ago
Roberto Ierusalimschy e8a52281d9 Code style in 'ldump'/'lundump'. 5 years ago
Roberto Ierusalimschy 46c3587a6f Clearer distinction between types and tags 5 years ago
Roberto Ierusalimschy 5ff408d218 Changed internal representation of booleans 5 years ago
Roberto Ierusalimschy f6aab3ec1f First implementation of constant propagation 5 years ago
Roberto Ierusalimschy 54f7b46c1e New implementation for constants 5 years ago
Roberto Ierusalimschy f53eabeed8 Small changes in the header of binary files 6 years ago
Roberto Ierusalimschy f99509581e Removed extra information from RCS keyword strings 6 years ago
Roberto Ierusalimschy ef8263f81f better names for macros for tags and types. 7 years ago
Roberto Ierusalimschy dfd188ba12 detail (identation of switch) 7 years ago
Roberto Ierusalimschy 124bfd2081 dumping ints and size_ts compacted 7 years ago
Roberto Ierusalimschy b42430fd3a 'lineinfo' in prototypes saved as differences instead of absolute 7 years ago
Roberto Ierusalimschy 0c78de0d6d avoid calling write function with empty block 9 years ago
Roberto Ierusalimschy fcc6e1220e avoid expression with side effect (in debug mode) inside 'sizeof' 10 years ago
Roberto Ierusalimschy 7e2015a46d size of short strings stored in a single byte, to reduce the size 10 years ago
Roberto Ierusalimschy 28fdbcf393 added include for 'lprefix.h', for stuff that must be added before 10 years ago
Roberto Ierusalimschy ca41b43f53 type 'TString' refers directly to the structure inside the union 10 years ago
Roberto Ierusalimschy 7021cc9bc8 allows different 'source' for each prototype, but inherits it from 11 years ago
Roberto Ierusalimschy 04da0a40c0 added assertion about sources being the same for all protos in a chunk 11 years ago
Roberto Ierusalimschy 94266dfdbd source for all prototypes must be equal in a chunk; no need to store 11 years ago
Roberto Ierusalimschy 607be77ec8 some details to avoid warnings 11 years ago
Roberto Ierusalimschy 420cc62fac missplelling in comments/function names (endianess -> endianness) 11 years ago
Roberto Ierusalimschy 80fe8504f5 make all dumps/loads go trhough Load/DumpVector (so it is easier 11 years ago
Roberto Ierusalimschy e976384213 keep chunk's headers compatible at least up to LUAC_VERSION (to be 11 years ago
Roberto Ierusalimschy 197e249433 "indent -kr -i2 -br -brf -nut" plus a few manual formating 11 years ago
Roberto Ierusalimschy f69e0ade19 no need to store a full 'size_t' fo the size of (frequent) small strings 11 years ago
Roberto Ierusalimschy 99a1c06ea3 more regularity with vectors + sizeof computed by the macros themselves 11 years ago
Roberto Ierusalimschy 93e28031de all chars used in binary dumps are unsigned ('lu_byte') 11 years ago
Roberto Ierusalimschy de84b3fecb store number of upvalues of main function in front of the dump, 11 years ago
Roberto Ierusalimschy 054179c2ff more explicit handling of headers for binary chunks 11 years ago
Roberto Ierusalimschy eee51492e2 dumping and undumping integers 12 years ago
Roberto Ierusalimschy 8f8665fffa 'ttypenv' -> 'ttnov' 12 years ago
Roberto Ierusalimschy f88806a1fb "default: lua_assert(0)" in switches helps debugging + uses 13 years ago