Roberto Ierusalimschy
|
da4dbe65b2
|
new functionality for "format": "%d$...".
|
1997-07-04 19:35:38 -03:00 |
Roberto Ierusalimschy
|
c8897f2b08
|
counter for gsub only when there is a table (to keep full compatibility)
|
1997-06-19 15:49:40 -03:00 |
Roberto Ierusalimschy
|
b6adfdd01b
|
gsub aborts if error occurs.
|
1997-06-19 14:45:28 -03:00 |
Roberto Ierusalimschy
|
f6d95140ae
|
using old version functions.
|
1997-06-18 18:20:45 -03:00 |
Roberto Ierusalimschy
|
ea98620d98
|
new arguments for gsub
|
1997-06-18 17:15:47 -03:00 |
Roberto Ierusalimschy
|
1848bcc15b
|
"strsub" accepts negative indices (count from the end of the string).
|
1997-06-16 17:29:59 -03:00 |
Roberto Ierusalimschy
|
00050b8a6b
|
detail: local names
|
1997-04-06 11:17:06 -03:00 |
Roberto Ierusalimschy
|
3a9516ffc8
|
luaL check functions do not need the function name (it can be
accessed via luadebug interface).
|
1997-04-06 11:08:08 -03:00 |
Roberto Ierusalimschy
|
42fa305649
|
better error messages;
better names for some API functions.
|
1997-04-04 19:24:51 -03:00 |
Roberto Ierusalimschy
|
264f8c5e7b
|
new (internal?) functions to manipulate userdata
|
1997-03-26 19:23:15 -03:00 |
Roberto Ierusalimschy
|
2de803c250
|
new header 'auxlib.h' + new function luaL_verror
|
1997-03-18 12:30:50 -03:00 |
Roberto Ierusalimschy
|
eea734aa88
|
new module 'auxlib' centralizes functions to get/check parameters.
|
1997-03-17 14:02:29 -03:00 |
Roberto Ierusalimschy
|
8b7f271ea2
|
new pattern item ".-";
empty patterns may be used in gsub.
|
1997-02-21 12:21:34 -03:00 |
Roberto Ierusalimschy
|
1f4ee4a4d2
|
ANSI ctype only works for unsigned chars (or EOF)
|
1996-11-22 11:08:02 -02:00 |
Roberto Ierusalimschy
|
78e454d864
|
BUG: ISO chars are negative, ISO ints are not.
new "balanced" pattern.
|
1996-11-20 11:47:59 -02:00 |
Roberto Ierusalimschy
|
2f19e0ba16
|
SunOS is not ANSI about the return value of "sprintf".
|
1996-11-07 18:26:19 -02:00 |
Roberto Ierusalimschy
|
a1e41e3a12
|
small corrections in error messages
|
1996-10-31 18:18:05 -02:00 |
Roberto Ierusalimschy
|
9d0044ce53
|
"strfind" has an extra parameter to turn off all special characteres.
|
1996-10-31 15:26:04 -02:00 |
Roberto Ierusalimschy
|
3636bbad3a
|
new function "strrep"
|
1996-09-20 15:20:44 -03:00 |
Roberto Ierusalimschy
|
c96ad1c945
|
"strmap" replaced by "strupper" and "strlower" (that's what people will
use, anyway).
"gsub" aceppts a function to give the replacement string.
|
1996-09-16 15:02:40 -03:00 |
Roberto Ierusalimschy
|
36dd1af92d
|
"[^]]" must mean "not ]".
|
1996-08-09 10:14:11 -03:00 |
Roberto Ierusalimschy
|
25b6dae7c0
|
singlematch and item_end are used by "read", in iolib.
|
1996-08-05 17:55:24 -03:00 |
Roberto Ierusalimschy
|
1630c2533a
|
Pattern-Matching!
plus several other changes...
|
1996-08-01 11:55:33 -03:00 |
Roberto Ierusalimschy
|
29f0021837
|
variables which contain string lengths must be long (if they also may
be negative) or size_t.
|
1996-05-22 18:59:07 -03:00 |
Roberto Ierusalimschy
|
3ec9ee0d0f
|
new function "luaI_openlib" to help open libs.
|
1996-04-30 18:13:55 -03:00 |
Roberto Ierusalimschy
|
df1ee1fb1c
|
small "abstraction"
|
1996-03-22 14:57:24 -03:00 |
Roberto Ierusalimschy
|
f1d0276684
|
small bug in strfind.
|
1996-03-21 19:18:08 -03:00 |
Roberto Ierusalimschy
|
a275d9a25b
|
functions "lua_is..." consider coercions.
|
1996-03-19 19:28:37 -03:00 |
Roberto Ierusalimschy
|
2fee7e42c9
|
new option 'q' in function "format".
|
1996-03-14 12:52:35 -03:00 |
Roberto Ierusalimschy
|
f1a1eda7c5
|
old trick in "strsub" does not work with new hash table for strings.
|
1996-02-12 15:34:44 -03:00 |
Roberto Ierusalimschy
|
801722825d
|
"lua_check_number" accepts strings convertible to numbers.
|
1996-02-09 17:00:23 -02:00 |
Roberto Ierusalimschy
|
ca7be1cfeb
|
elimination of function "int2str", as it can be replaced by "format('%c', .)"
|
1996-01-26 10:11:28 -02:00 |
Roberto Ierusalimschy
|
5b71ab780c
|
add_char now is global.
new function format.
|
1996-01-22 15:38:57 -02:00 |
Roberto Ierusalimschy
|
5f664a4516
|
error functions are shared by all libraries
|
1995-11-10 15:54:31 -02:00 |
Roberto Ierusalimschy
|
ae808860ae
|
new functions: "ascii" and "int2str",
small "re-engineering" on parameter checking.
|
1995-10-09 09:49:21 -03:00 |
Roberto Ierusalimschy
|
2d053126e6
|
new function for copy strings (strdup is not ANSI)
|
1995-02-06 17:37:51 -02:00 |
Roberto Ierusalimschy
|
dd28b830e9
|
a null lua_Object is LUA_NOOBJECT, not NULL.
|
1995-02-02 18:05:37 -02:00 |
Roberto Ierusalimschy
|
f4591397da
|
strdup is done via mem.c to control its memory allocation
|
1995-01-14 13:40:26 -02:00 |
Roberto Ierusalimschy
|
53c0a0f43c
|
function 'strfind' now has two optional parameters, to specify where
to start and stop the search.
|
1995-01-06 18:31:10 -02:00 |
Roberto Ierusalimschy
|
fad57bfa00
|
new constant LUA_NOOBJECT.
'lua_error' never returns
|
1994-12-16 13:53:57 -02:00 |
Roberto Ierusalimschy
|
5dfd17dd76
|
new API function 'lua_pushliteral'
|
1994-12-13 13:54:21 -02:00 |
Roberto Ierusalimschy
|
2b5bc5d1a8
|
new module for memory allocation
|
1994-11-16 15:39:16 -02:00 |
Roberto Ierusalimschy
|
1a6536aaad
|
deletion of 'include mm.h'
|
1994-10-18 16:34:47 -02:00 |
Waldemar Celes
|
c364c7286f
|
inclusao de 'lualib.h' para ter prototipos das funcoes de
'iolib_open' e 'strlib_open'.
|
1994-08-17 12:10:04 -03:00 |
Waldemar Celes
|
3577eb6f13
|
Acrescentar o include do gerenciador de memoria "mm".
|
1994-03-28 12:14:02 -03:00 |
Waldemar Celes
|
212fdf861a
|
String library to LUA
|
1993-12-17 16:41:19 -02:00 |
The Lua team
|
cd05d9c5cb
|
oldest known commit
|
1993-07-28 10:18:00 -03:00 |