index
:
lua
master
v5-2
v5.3
v5.4
A mirror of https://github.com/lua/lua
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
lstring.c
(
follow
)
Commit message (
Expand
)
Author
Age
Files
Lines
*
Bug: Buffer overflow in string concatenation
Roberto Ierusalimschy
2023-12-21
1
-1
/
+1
*
Cannot use 'getshrstr' before setting 'shrlen'
Roberto Ierusalimschy
2023-08-25
1
-1
/
+1
*
More disciplined use of 'getstr' and 'tsslen'
Roberto Ierusalimschy
2023-08-17
1
-5
/
+6
*
Broadening the use of branch hints
Roberto Ierusalimschy
2021-02-24
1
-4
/
+4
*
Hash always use all characters in a long string
Roberto Ierusalimschy
2020-10-12
1
-16
/
+4
*
Short strings always use all bytes in the hash
Roberto Ierusalimschy
2020-04-01
1
-5
/
+7
*
Clearer distinction between types and tags
Roberto Ierusalimschy
2020-01-31
1
-5
/
+5
*
Details
Roberto Ierusalimschy
2019-06-03
1
-2
/
+2
*
Removed extra information from RCS keyword strings
Roberto Ierusalimschy
2018-08-23
1
-1
/
+1
*
new macros 'likely'/'unlikely' with hints for jump predictions
Roberto Ierusalimschy
2018-05-30
1
-5
/
+5
*
userdata can have multiple user values
Roberto Ierusalimschy
2018-02-20
1
-5
/
+8
*
no more 'nfield' string
Roberto Ierusalimschy
2018-02-15
1
-8
/
+5
*
janitor work on casts
Roberto Ierusalimschy
2018-01-28
1
-2
/
+2
*
'rehash' -> 'tablerehash'
Roberto Ierusalimschy
2017-12-18
1
-6
/
+6
*
back to reallocation when resizing the string table.
Roberto Ierusalimschy
2017-12-12
1
-30
/
+60
*
more freedom in handling memory-allocation errors (not all allocations
Roberto Ierusalimschy
2017-12-08
1
-2
/
+5
*
using explicit tests for allocation overflow whenever possible
Roberto Ierusalimschy
2017-12-07
1
-2
/
+10
*
rehashes string table always allocating a new array instead of
Roberto Ierusalimschy
2017-12-01
1
-17
/
+11
*
no more reference 'memerrmsg' + new reference to "n"
Roberto Ierusalimschy
2017-07-27
1
-8
/
+8
*
tiny code refactoring in 'luaS_hash'
Roberto Ierusalimschy
2015-11-23
1
-4
/
+3
*
new function 'luaS_hashlongstr'
Roberto Ierusalimschy
2015-11-03
1
-1
/
+11
*
detail (added assertion)
Roberto Ierusalimschy
2015-10-08
1
-1
/
+2
*
code for string cache generalized for "associative sets" (compiler
Roberto Ierusalimschy
2015-09-22
1
-16
/
+22
*
macros 'getaddrstr' and 'getstr' unified (they do the same thing)
Roberto Ierusalimschy
2015-09-17
1
-4
/
+4
*
long strings are created directly in final position when possible
Roberto Ierusalimschy
2015-09-08
1
-7
/
+13
*
detail (i + 1 > exp is simply i >= exp)
Roberto Ierusalimschy
2015-06-18
1
-2
/
+2
*
'strcache' elements as arrays of 1 element hints that cache can
Roberto Ierusalimschy
2015-06-01
1
-9
/
+9
*
'clearapihash' -> 'luaS_clearcache' and moved to 'lstring.c' (which
Roberto Ierusalimschy
2015-03-25
1
-1
/
+14
*
new cache for interning strings
Roberto Ierusalimschy
2015-03-04
1
-3
/
+31
*
size of short strings stored in a single byte, to reduce the size
Roberto Ierusalimschy
2015-01-16
1
-12
/
+15
*
added include for 'lprefix.h', for stuff that must be added before
Roberto Ierusalimschy
2014-11-02
1
-4
/
+6
*
'iswhite' and related macros now can work directly on any object
Roberto Ierusalimschy
2014-07-21
1
-3
/
+3
*
type 'Udata' refers directly to structure inside the union (union
Roberto Ierusalimschy
2014-07-18
1
-5
/
+5
*
type 'TString' refers directly to the structure inside the union
Roberto Ierusalimschy
2014-07-18
1
-22
/
+22
*
added check for conversion 'obj2gco' (and corrections for small
Roberto Ierusalimschy
2014-07-18
1
-3
/
+3
*
use appropriate macros to convert GCObject to specific types
Roberto Ierusalimschy
2014-06-18
1
-3
/
+7
*
LUAI_FUNC is being used only in header files
Roberto Ierusalimschy
2014-04-02
1
-2
/
+2
*
removed function 'luaS_eqstr' (not used anywhere)
Roberto Ierusalimschy
2014-03-19
1
-10
/
+1
*
userdata can have any Lua value as uservalue
Roberto Ierusalimschy
2014-02-19
1
-3
/
+3
*
check for shrinking string table done only at the end of a GC cycle
Roberto Ierusalimschy
2013-09-11
1
-3
/
+1
*
'luaC_newobj' does not handle special cases; only special case
Roberto Ierusalimschy
2013-09-11
1
-3
/
+3
*
back to open hashing for the string table (but with a different
Roberto Ierusalimschy
2013-09-05
1
-78
/
+43
*
tables and userdata all go to local list, too
Roberto Ierusalimschy
2013-08-28
1
-2
/
+2
*
LOCALBLACK changed to LOCALMARK and used also to control whether object
Roberto Ierusalimschy
2013-08-27
1
-3
/
+3
*
C functions and strings now go to the local list; first version
Roberto Ierusalimschy
2013-08-23
1
-2
/
+2
*
some details over new implementation of string table
Roberto Ierusalimschy
2013-08-22
1
-16
/
+18
*
change in string table: string table is now independent of GC lists; all
Roberto Ierusalimschy
2013-08-21
1
-52
/
+88
*
no more generational collection !!!
Roberto Ierusalimschy
2013-08-05
1
-2
/
+1
*
new constant 'MAX_SIZE', distinct from 'MAX_SIZET', for sizes visible
Roberto Ierusalimschy
2013-06-19
1
-3
/
+3
*
detail
Roberto Ierusalimschy
2013-01-08
1
-2
/
+2
[next]