143 Commits (67cae2854cd2f90ff0cd91d641ab0b76417a1302)

Author SHA1 Message Date
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
Roberto Ierusalimschy 894cd31c52 #string is primitive 20 years ago
Roberto Ierusalimschy 280f7becb8 "%0" stands for the whole pattern (in gsub) 20 years ago
Roberto Ierusalimschy 80ac5e83fd details (alphabetical order for list of functions) 20 years ago
Roberto Ierusalimschy 8efb44b5e0 changes in 'string.find' and 'string.gfind' (new 'string.match' and 20 years ago
Roberto Ierusalimschy 90de38bf1f warnings in VS .Net 20 years ago
Roberto Ierusalimschy f21e9c172f details 20 years ago
Roberto Ierusalimschy 67578ec51f several small details 20 years ago
Roberto Ierusalimschy c2bb9abcec better quotes for strings in error messages 20 years ago
Roberto Ierusalimschy da32450c3d new API function `lua_tolstring' 20 years ago
Roberto Ierusalimschy 6cf85dcc90 metatables for all types 20 years ago
Roberto Ierusalimschy 408cb71795 avoid name conflict with some spurious included header files 20 years ago
Roberto Ierusalimschy f8df21bd20 `luaconf.h´ exports all its definitions always (so all of them 20 years ago
Roberto Ierusalimschy 0ed8519127 detail 20 years ago
Roberto Ierusalimschy 10e48b9160 details 20 years ago
Roberto Ierusalimschy 45d566f676 small corrections (thanks to Mike Pall) 20 years ago
Roberto Ierusalimschy 9e6aa878c9 string.byte truncates indices out of range 21 years ago
Roberto Ierusalimschy c0fdaf5842 string.byte may return multiple values 21 years ago
Roberto Ierusalimschy 4206d7ed60 `lua_Chunkwriter' returns 0 in case of success 21 years ago
Roberto Ierusalimschy 2b2d8ecd7a details 21 years ago
Roberto Ierusalimschy b4cd38ba6c new scheme for configuration through `luaconf.h' 21 years ago
Roberto Ierusalimschy 24434b59f7 '%' must be '%%' to avoid formatting problems 21 years ago
Roberto Ierusalimschy f04fe526cd new functions `lua_tointeger' and lua_pushinteger' 21 years ago
Roberto Ierusalimschy 0ddedaee92 new function `string.reverse' 22 years ago
Roberto Ierusalimschy 0d88545b82 warnings from several compilers (mainly typecasts when lua_Number is float) 22 years ago
Roberto Ierusalimschy 1a553f9199 better error messages 22 years ago
Roberto Ierusalimschy d8a3a00d84 `string.find' also accepts out-of-range indices 22 years ago
Roberto Ierusalimschy 034de1fe73 new names for functions that open C libraries 22 years ago
Roberto Ierusalimschy 8f105d6b59 string.byte returns nil if index is out-of-range 22 years ago