211 Commits (c25072a246eddff711ebec8e4acce9593bc5ff70)

Author SHA1 Message Date
Roberto Ierusalimschy be6d215f67 BUG: gsub('a', '(b?)%1*' ...) loops (because the capture is empty). 27 years ago
Roberto Ierusalimschy 043c2ac258 new names for "lua_pushlstr" and "lua_getstrlen" 27 years ago
Roberto Ierusalimschy 88a2023c32 support for strings with '\0' 27 years ago
Roberto Ierusalimschy 8622dc18bf bug: format size limits with little problems 27 years ago
Roberto Ierusalimschy 6ac047afc4 details 27 years ago
Roberto Ierusalimschy 0e1058cfdd small optimizations in switch order 27 years ago
Roberto Ierusalimschy 502343b402 new scheme for buffers, centralized in auxlib. 27 years ago
Roberto Ierusalimschy 82d09fbf0d new structure for closures, without static variables. 27 years ago
Roberto Ierusalimschy 80b3d28f4a details (mainly error messages) 27 years ago
Roberto Ierusalimschy 9ae0c082a3 small details by lint. 27 years ago
Roberto Ierusalimschy 75ac0d2172 Standard library for strings and pattern-matching 28 years ago
Roberto Ierusalimschy da4dbe65b2 new functionality for "format": "%d$...". 28 years ago
Roberto Ierusalimschy c8897f2b08 counter for gsub only when there is a table (to keep full compatibility) 28 years ago
Roberto Ierusalimschy b6adfdd01b gsub aborts if error occurs. 28 years ago
Roberto Ierusalimschy f6d95140ae using old version functions. 28 years ago
Roberto Ierusalimschy ea98620d98 new arguments for gsub 28 years ago
Roberto Ierusalimschy 1848bcc15b "strsub" accepts negative indices (count from the end of the string). 28 years ago
Roberto Ierusalimschy 00050b8a6b detail: local names 28 years ago
Roberto Ierusalimschy 3a9516ffc8 luaL check functions do not need the function name (it can be 28 years ago
Roberto Ierusalimschy 42fa305649 better error messages; 28 years ago
Roberto Ierusalimschy 264f8c5e7b new (internal?) functions to manipulate userdata 28 years ago
Roberto Ierusalimschy 2de803c250 new header 'auxlib.h' + new function luaL_verror 28 years ago
Roberto Ierusalimschy eea734aa88 new module 'auxlib' centralizes functions to get/check parameters. 28 years ago
Roberto Ierusalimschy 8b7f271ea2 new pattern item ".-"; 28 years ago
Roberto Ierusalimschy 1f4ee4a4d2 ANSI ctype only works for unsigned chars (or EOF) 28 years ago
Roberto Ierusalimschy 78e454d864 BUG: ISO chars are negative, ISO ints are not. 28 years ago
Roberto Ierusalimschy 2f19e0ba16 SunOS is not ANSI about the return value of "sprintf". 28 years ago
Roberto Ierusalimschy a1e41e3a12 small corrections in error messages 28 years ago
Roberto Ierusalimschy 9d0044ce53 "strfind" has an extra parameter to turn off all special characteres. 28 years ago
Roberto Ierusalimschy 3636bbad3a new function "strrep" 29 years ago
Roberto Ierusalimschy c96ad1c945 "strmap" replaced by "strupper" and "strlower" (that's what people will 29 years ago
Roberto Ierusalimschy 36dd1af92d "[^]]" must mean "not ]". 29 years ago
Roberto Ierusalimschy 25b6dae7c0 singlematch and item_end are used by "read", in iolib. 29 years ago
Roberto Ierusalimschy 1630c2533a Pattern-Matching! 29 years ago
Roberto Ierusalimschy 29f0021837 variables which contain string lengths must be long (if they also may 29 years ago
Roberto Ierusalimschy 3ec9ee0d0f new function "luaI_openlib" to help open libs. 29 years ago
Roberto Ierusalimschy df1ee1fb1c small "abstraction" 29 years ago
Roberto Ierusalimschy f1d0276684 small bug in strfind. 29 years ago
Roberto Ierusalimschy a275d9a25b functions "lua_is..." consider coercions. 29 years ago
Roberto Ierusalimschy 2fee7e42c9 new option 'q' in function "format". 29 years ago
Roberto Ierusalimschy f1a1eda7c5 old trick in "strsub" does not work with new hash table for strings. 29 years ago
Roberto Ierusalimschy 801722825d "lua_check_number" accepts strings convertible to numbers. 29 years ago
Roberto Ierusalimschy ca7be1cfeb elimination of function "int2str", as it can be replaced by "format('%c', .)" 29 years ago
Roberto Ierusalimschy 5b71ab780c add_char now is global. 29 years ago
Roberto Ierusalimschy 5f664a4516 error functions are shared by all libraries 29 years ago
Roberto Ierusalimschy ae808860ae new functions: "ascii" and "int2str", 30 years ago
Roberto Ierusalimschy 2d053126e6 new function for copy strings (strdup is not ANSI) 30 years ago
Roberto Ierusalimschy dd28b830e9 a null lua_Object is LUA_NOOBJECT, not NULL. 30 years ago
Roberto Ierusalimschy f4591397da strdup is done via mem.c to control its memory allocation 30 years ago
Roberto Ierusalimschy 53c0a0f43c function 'strfind' now has two optional parameters, to specify where 30 years ago