Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Scanner doesn't need to anchor reserved words | Roberto Ierusalimschy | 2024-12-30 | 1 | -1/+1 |
| | |||||
* | Added gcc option '-Wconversion' | Roberto Ierusalimschy | 2024-07-27 | 1 | -1/+2 |
| | | | | | No warnings for standard numerical types. Still pending alternative numerical types. | ||||
* | Cleaning of llimits.h | Roberto Ierusalimschy | 2024-06-20 | 1 | -0/+11 |
| | | | | | | Several definitions that don't need to be "global" (that is, that concerns only specific parts of the code) moved out of llimits.h, to more appropriate places. | ||||
* | Some 'unsigned int' changed to 'unsigned' | Roberto Ierusalimschy | 2024-03-22 | 1 | -2/+2 |
| | | | | | 'unsigned int' is too long sometimes. (We already write 'long' instead of 'long int'...) | ||||
* | External strings | Roberto Ierusalimschy | 2023-11-09 | 1 | -7/+3 |
| | | | | Strings can use external buffers to store their contents. | ||||
* | Towards external strings | Roberto Ierusalimschy | 2023-11-08 | 1 | -2/+10 |
| | | | | Long strings have a pointer to string contents. | ||||
* | Hash always use all characters in a long string | Roberto Ierusalimschy | 2020-10-12 | 1 | -2/+1 |
| | | | | | | | Hashes for long strings are computed only when they are used as keys in a table, not a too common case. And, in that case, it is to easy to force collisions changing only the characters which are not part of the hash. | ||||
* | Cleaner definition for 'TString' | Roberto Ierusalimschy | 2020-05-19 | 1 | -1/+5 |
| | | | | | Use a variable-sized array to store string contents at the end of a structure 'TString', instead of raw memory. | ||||
* | Short strings always use all bytes in the hash | Roberto Ierusalimschy | 2020-04-01 | 1 | -1/+2 |
| | | | | | | Collisions in short strings occurr just by their existence, when internalizing them. (Collisions in long strings is caused/controlled by the program, when adding them as keys to the same table.) | ||||
* | Clearer distinction between types and tags | Roberto Ierusalimschy | 2020-01-31 | 1 | -2/+2 |
| | | | | | LUA_T* represents only types; tags (types + Variants) are represented by LUA_V* constants. | ||||
* | Strings inside Lua are not fully aligned | Roberto Ierusalimschy | 2019-03-13 | 1 | -1/+1 |
| | | | | | | Removed code to ensure that strings inside Lua (as returned by 'lua_tolstring') always start in fully aligned addresses. Since version 5.3 the documentation does not ensure that. | ||||
* | Removed extra information from RCS keyword strings | Roberto Ierusalimschy | 2018-08-23 | 1 | -1/+1 |
| | | | | | Version numbers and dates (mostly wrong) from RCS keyword strings removed from all source files; only the file name are kept. | ||||
* | userdata can have multiple user values | Roberto Ierusalimschy | 2018-02-20 | 1 | -5/+2 |
| | |||||
* | detail (typo in comments) | Roberto Ierusalimschy | 2017-11-23 | 1 | -2/+2 |
| | |||||
* | no more reference 'memerrmsg' + new reference to "n" | Roberto Ierusalimschy | 2017-07-27 | 1 | -1/+8 |
| | | | | | | (both can be retrieved by 'luaS_newliteral' without creating anything, because they are fixed, but "n" deserves fast access while 'memerrmsg' does not) | ||||
* | new function 'luaS_hashlongstr' | Roberto Ierusalimschy | 2015-11-03 | 1 | -1/+2 |
| | |||||
* | long strings are created directly in final position when possible | Roberto Ierusalimschy | 2015-09-08 | 1 | -1/+2 |
| | | | | | (instead of using an auxiliar buffer to first create the string and then allocate the final string and copy result there) | ||||
* | 'clearapihash' -> 'luaS_clearcache' and moved to 'lstring.c' (which | Roberto Ierusalimschy | 2015-03-25 | 1 | -1/+2 |
| | | | | keeps all code related to this cache) | ||||
* | new cache for interning strings | Roberto Ierusalimschy | 2015-03-04 | 1 | -1/+2 |
| | |||||
* | size of short strings stored in a single byte, to reduce the size | Roberto Ierusalimschy | 2015-01-16 | 1 | -2/+1 |
| | | | | of struct 'TString' | ||||
* | type 'Udata' refers directly to structure inside the union (union | Roberto Ierusalimschy | 2014-07-18 | 1 | -1/+2 |
| | | | | used only for aligning purposes now) | ||||
* | type 'TString' refers directly to the structure inside the union | Roberto Ierusalimschy | 2014-07-18 | 1 | -4/+5 |
| | | | | (union used only for size purposes) | ||||
* | removed function 'luaS_eqstr' (not used anywhere) | Roberto Ierusalimschy | 2014-03-19 | 1 | -2/+1 |
| | |||||
* | userdata can have any Lua value as uservalue | Roberto Ierusalimschy | 2014-02-19 | 1 | -2/+2 |
| | |||||
* | "fixed" objects kept in a separated list (instead of being kept in | Roberto Ierusalimschy | 2013-08-21 | 1 | -3/+1 |
| | | | | 'allgc' list with a bit marking them) | ||||
* | change in string table: string table is now independent of GC lists; all | Roberto Ierusalimschy | 2013-08-21 | 1 | -1/+2 |
| | | | | strings live in 'normal' GC lists | ||||
* | added 'local' bit (true => object is only refered by local variables) | Roberto Ierusalimschy | 2013-08-16 | 1 | -2/+2 |
| | |||||
* | random seed used in the hash of all strings to avoid intentional | Roberto Ierusalimschy | 2012-02-01 | 1 | -2/+2 |
| | | | | collisions | ||||
* | first implementation of long strings | Roberto Ierusalimschy | 2012-01-25 | 1 | -3/+6 |
| | |||||
* | new macro 'isreserved' + 'eqstr' -> 'luaS_eqstr' (may be a function) | Roberto Ierusalimschy | 2012-01-23 | 1 | -4/+10 |
| | |||||
* | new macro 'eqstr' | Roberto Ierusalimschy | 2010-04-05 | 1 | -1/+8 |
| | |||||
* | 'luaS_new' changed from macro to function | Roberto Ierusalimschy | 2010-04-03 | 1 | -4/+2 |
| | |||||
* | must include 'string.h' because a macro uses 'strlen' | Roberto Ierusalimschy | 2010-03-13 | 1 | -1/+2 |
| | |||||
* | added LUAI_FUNC to functions not in the API | Roberto Ierusalimschy | 2005-04-25 | 1 | -4/+4 |
| | |||||
* | details | Roberto Ierusalimschy | 2005-02-23 | 1 | -2/+2 |
| | |||||
* | C functions and userdata also have environments | Roberto Ierusalimschy | 2005-02-18 | 1 | -2/+2 |
| | |||||
* | better control over memory-size overflows | Roberto Ierusalimschy | 2004-11-19 | 1 | -4/+3 |
| | |||||
* | first implementation of generational GC | Roberto Ierusalimschy | 2004-08-24 | 1 | -2/+1 |
| | |||||
* | cleaner code for manipulation of `marked' field | Roberto Ierusalimschy | 2003-11-17 | 1 | -3/+3 |
| | |||||
* | cleaning the stage for generational collection | Roberto Ierusalimschy | 2002-08-16 | 1 | -10/+2 |
| | |||||
* | new macro to `fix' strings | Roberto Ierusalimschy | 2002-04-30 | 1 | -1/+3 |
| | |||||
* | no more explicit support for wide-chars; too much troble... | Roberto Ierusalimschy | 2001-11-28 | 1 | -5/+5 |
| | |||||
* | better syntax for type casts | Roberto Ierusalimschy | 2001-08-31 | 1 | -4/+4 |
| | |||||
* | cleaner way to ensure alignment for strings and userdata | Roberto Ierusalimschy | 2001-06-15 | 1 | -13/+3 |
| | |||||
* | new implementation for userdatas, without `keys' | Roberto Ierusalimschy | 2001-06-06 | 1 | -6/+14 |
| | |||||
* | first (big) step to support wide chars | Roberto Ierusalimschy | 2001-02-23 | 1 | -5/+5 |
| | |||||
* | better separation between basic types | Roberto Ierusalimschy | 2001-02-20 | 1 | -4/+6 |
| | |||||
* | string pointers are always fully aligned | Roberto Ierusalimschy | 2001-02-09 | 1 | -13/+2 |
| | |||||
* | new semantics for pushuserdata (no more different userdatas with same value) | Roberto Ierusalimschy | 2001-02-09 | 1 | -2/+2 |
| | |||||
* | small changes in lstring | Roberto Ierusalimschy | 2001-01-10 | 1 | -3/+3 |
| |