271 Commits (c1a63c45f8ec5932993c8cec40d3c5ec0743349c)

Author SHA1 Message Date
Roberto Ierusalimschy b5bf7d9ef4 'string.format' checks whether values for integer formats are 13 years ago
Roberto Ierusalimschy 17526ed2fe no more errors on accesses to 'string' and strings 14 years ago
Roberto Ierusalimschy 817f8674af avoid warning about -unsigned value 14 years ago
Roberto Ierusalimschy c9d1d9f9c6 better way to test overflows with string indices 14 years ago
Roberto Ierusalimschy ad2531a0ee more complete (and hopefuly more correct) handling of 'sizeof(char)' 14 years ago
Roberto Ierusalimschy bad231c481 'LUA_USELONGLONG' -> 'LUA_USE_LONGLONG' 14 years ago
Roberto Ierusalimschy a25416a8d5 use of 'luaL_tolstring' for option '%s' in 'string.format' 14 years ago
Roberto Ierusalimschy e7a9c45a48 trying to avoid assumption that sizeof(char)==1 14 years ago
Roberto Ierusalimschy c4ea0c3b29 detail (cleaning trailing spaces) 14 years ago
Roberto Ierusalimschy 7106c491dd 'sep' argument to 'string.rep' + 'string.rep' preallocates entire 14 years ago
Roberto Ierusalimschy 8980c630bf error when indexing strings with invalid keys 14 years ago
Roberto Ierusalimschy af119c8b55 official support for floating hexa numerals 14 years ago
Roberto Ierusalimschy a2eaad5d81 'gfind' was deprecated in 5.1 14 years ago
Roberto Ierusalimschy 24baa919c1 small bug: 'find' did not detect magic chars after a \0 in a pattern 14 years ago
Roberto Ierusalimschy 43ec354722 added support for conditional use of %Lg when using long double 14 years ago
Roberto Ierusalimschy fdd5f2f7a3 comment typos 14 years ago
Roberto Ierusalimschy 4590a89b32 corrected warnings from different compilers (mostly casts and small 14 years ago
Roberto Ierusalimschy 7192afafee new module policy: C modules do not create globals and do not register 15 years ago
Roberto Ierusalimschy 5a7dee0c5d added class '%g' in patterns (for graphical characters) 15 years ago
Roberto Ierusalimschy 658ea8752b no need to handle '\0' differently from other control chars in 15 years ago
Roberto Ierusalimschy fc6203ee43 BUG: 'string.format' may get buffer when there are missing arguments 15 years ago
Roberto Ierusalimschy 4541243355 patterns now accept '\0' as a regular character 15 years ago
Roberto Ierusalimschy 9100f7479a new implementation for Generic Buffer manipulation (using userdata as 15 years ago
Roberto Ierusalimschy 1fd4c482a0 reorganization of switch in function 'match' (details) 15 years ago
Roberto Ierusalimschy 46f1429936 more options moved from luaconf.h into internal files 15 years ago
Roberto Ierusalimschy de6fc75d63 several configuration options that do not change often moved out of 15 years ago
Roberto Ierusalimschy 9107dd115c no more compatibility code for 'string.gfind' 15 years ago
Roberto Ierusalimschy a6f465f558 new mark LUAMOD_API for all luaopen_* functions 15 years ago
Roberto Ierusalimschy f4eed60ca9 better treatment of integer formats in string.format 16 years ago
Roberto Ierusalimschy cbf0c7a103 check for invalid use of '%' in replacement string in 'string.gsub' 16 years ago
Roberto Ierusalimschy b1203e036d 'posrelat' avoids problems with -(-2^31) 17 years ago
Roberto Ierusalimschy 24359ae294 'string.find' cannot find things after subject's end 17 years ago
Roberto Ierusalimschy 788506dd58 detail 17 years ago
Roberto Ierusalimschy c06cc60946 BUG: 'gsub' may go wild when wrongly called without its third 17 years ago
Roberto Ierusalimschy 7a78495f31 avoid problems with 'ptrdiff_t' 17 years ago
Roberto Ierusalimschy d62a21b9d3 when formatting with '%q', all control characters are coded 18 years ago
Roberto Ierusalimschy 93d3c8450c bug: string.format("%") reads past the string 18 years ago
Roberto Ierusalimschy a7c9e45c64 avoid trailing white spaces 18 years ago
Roberto Ierusalimschy ee41bc03ab details 19 years ago
Roberto Ierusalimschy fe8f4c06f1 detail (better error message for invalid format) 19 years ago
Roberto Ierusalimschy 8487913697 BUG: option '%q' for string.format does not handle '\r' correctly 19 years ago
Roberto Ierusalimschy bfdcbbcd76 small optimizations (lua_newtable -> lua_createtable) 19 years ago
Roberto Ierusalimschy 428325baec detail 19 years ago
Roberto Ierusalimschy 9fbefdf69c integer formats in 'string.format' may need to operate with larger-than-int 19 years ago
Roberto Ierusalimschy 88f9843eee better error message 19 years ago
Roberto Ierusalimschy 62367dda44 string.gsub accepts a table as the replacement value 19 years ago
Roberto Ierusalimschy ed7039024d avoid some warnings 19 years ago
Roberto Ierusalimschy bf96d3fdd9 'string.find' as it was in 5.0 19 years ago
Roberto Ierusalimschy 3390f9a35a detail 19 years ago
Roberto Ierusalimschy 5e8a9e324c luaL_openlib -> luaL_register, luaL_putchar -> luaL_addchar 20 years ago