Roberto Ierusalimschy
|
1514e49d43
|
avoid using function environments in C libraries (as it probably will
be deprecated)
|
2010-03-17 18:37:37 -03:00 |
|
Roberto Ierusalimschy
|
4f5f2fe367
|
new function 'luaL_cpcall'
|
2010-01-21 14:49:21 -02:00 |
|
Roberto Ierusalimschy
|
55d3138397
|
removed old prototype for 'luaI_openlib' (which does not exist anymore)
|
2010-01-11 14:00:45 -02:00 |
|
Roberto Ierusalimschy
|
f3a6815000
|
compatibility code removed or moved to luaconf.h
|
2010-01-06 13:14:15 -02:00 |
|
Roberto Ierusalimschy
|
c3a6f3fa1c
|
'lua_objlen' replaced by 'lua_rawlen', 'lua_len', and 'luaL_len'
|
2009-12-17 14:20:01 -02:00 |
|
Roberto Ierusalimschy
|
4a818f068a
|
'checkversion' implemented in the auxiliary library
|
2009-06-18 15:59:58 -03:00 |
|
Roberto Ierusalimschy
|
547e47649f
|
'luaL_typeerror' spelled right
|
2009-02-13 17:39:34 -02:00 |
|
Roberto Ierusalimschy
|
daddc57abd
|
luaL_tostring -> luaL_tolstring (more generic)
|
2008-01-03 15:07:59 -02:00 |
|
Roberto Ierusalimschy
|
ffc5f78229
|
detail
|
2007-06-22 12:39:34 -03:00 |
|
Roberto Ierusalimschy
|
3f78748ef3
|
traceback function moved to auxlib
|
2007-06-22 12:33:54 -03:00 |
|
Roberto Ierusalimschy
|
8d3dd04137
|
clearing some old compatibility code
|
2007-06-21 10:52:27 -03:00 |
|
Roberto Ierusalimschy
|
01fa1bc114
|
luaL_testudata (a luaL_checkudata that does not raise errors) is
very needed.
|
2007-05-15 15:46:12 -03:00 |
|
Roberto Ierusalimschy
|
cf86576a83
|
new function luaL_tostring
|
2007-02-07 15:51:21 -02:00 |
|
Roberto Ierusalimschy
|
18330b6091
|
lua_dostring/lua_dofile should return any values returned by the chunk
|
2006-04-12 17:31:15 -03:00 |
|
Roberto Ierusalimschy
|
bfdcbbcd76
|
small optimizations (lua_newtable -> lua_createtable)
|
2005-12-29 14:23:32 -02:00 |
|
Roberto Ierusalimschy
|
053e873145
|
new macro luaL_opt to avoid evaluating defaults when no needed
|
2005-10-21 11:47:42 -02:00 |
|
Roberto Ierusalimschy
|
ce67a9be31
|
avoid exporting undefined functions
|
2005-09-06 14:19:51 -03:00 |
|
Roberto Ierusalimschy
|
3390f9a35a
|
detail
|
2005-08-26 14:36:32 -03:00 |
|
Roberto Ierusalimschy
|
9273fbd131
|
no more 'luaL_get/setfield' (replaced by more direct luaL_findtable)
|
2005-08-26 14:32:05 -03:00 |
|
Roberto Ierusalimschy
|
027e9e99ca
|
simpler implementation for userdata types
|
2005-08-18 17:36:26 -03:00 |
|
Roberto Ierusalimschy
|
16ddf86168
|
luaL_openlib -> luaL_register and new function luaL_loadstring
|
2005-08-15 11:12:32 -03:00 |
|
Roberto Ierusalimschy
|
d6ff5d9f46
|
searchpath is "private affair" of loadlib
|
2005-07-13 16:02:42 -03:00 |
|
Roberto Ierusalimschy
|
d628795940
|
lua_objsize -> lua_objlen (more compatible with use of `len´ in other
places [opcode name, metamethod index, etc.])
|
2005-05-31 11:34:02 -03:00 |
|
Roberto Ierusalimschy
|
90de38bf1f
|
warnings in VS .Net
|
2005-05-31 11:25:18 -03:00 |
|
Roberto Ierusalimschy
|
e8a7ecb982
|
luaL_findstring -> luaL_checkoption
|
2005-05-25 10:21:26 -03:00 |
|
Roberto Ierusalimschy
|
38da9d568a
|
better use defined/undefined as flag values for macros
|
2005-05-20 16:09:05 -03:00 |
|
Roberto Ierusalimschy
|
e6e543a534
|
better control for compatibility code
|
2005-03-29 13:20:48 -03:00 |
|
Roberto Ierusalimschy
|
6eb68ba57a
|
all function declarations surround name with parentheses
|
2005-01-10 15:31:50 -02:00 |
|
Roberto Ierusalimschy
|
e5cfa7a367
|
use of parentheses around macro parameters in call lists, to avoid
problems with comma expressions
|
2004-10-18 09:51:44 -03:00 |
|
Roberto Ierusalimschy
|
cf2a194edc
|
better API for luaL_getfield/setfield
|
2004-09-29 18:00:25 -03:00 |
|
Roberto Ierusalimschy
|
6acfb91c8d
|
new auxiliary functions to implement new package system
|
2004-09-21 13:54:32 -03:00 |
|
Roberto Ierusalimschy
|
7a796a0682
|
new macro `luaL_typename'
|
2004-07-09 15:23:17 -03:00 |
|
Roberto Ierusalimschy
|
a6179adf12
|
detail
|
2004-06-30 09:58:44 -03:00 |
|
Roberto Ierusalimschy
|
753625c3f3
|
new interface for search-path function
|
2004-06-29 13:57:56 -03:00 |
|
Roberto Ierusalimschy
|
0c49857c1a
|
new scheme to search paths
|
2004-06-21 17:05:29 -03:00 |
|
Roberto Ierusalimschy
|
f4718544de
|
what is provided by lauxlib.c should be defined at lauxlib.h
|
2004-06-02 14:37:03 -03:00 |
|
Roberto Ierusalimschy
|
1e0aaf2156
|
luaL_dofile' and luaL_dostring' are deprecated
|
2004-05-31 16:27:14 -03:00 |
|
Roberto Ierusalimschy
|
763b8fba1b
|
more stuff goes to configuration file
|
2004-05-03 09:28:43 -03:00 |
|
Roberto Ierusalimschy
|
9804467eeb
|
detail
|
2004-03-13 10:32:09 -03:00 |
|
Roberto Ierusalimschy
|
f04fe526cd
|
new functions `lua_tointeger' and lua_pushinteger'
|
2003-10-07 17:13:41 -03:00 |
|
Roberto Ierusalimschy
|
b97fb932ec
|
Lua kernel does not use malloc/free functions.
|
2003-10-02 17:31:17 -03:00 |
|
Roberto Ierusalimschy
|
0d88545b82
|
warnings from several compilers (mainly typecasts when lua_Number is float)
|
2003-04-03 10:35:34 -03:00 |
|
Roberto Ierusalimschy
|
40cfb0691e
|
new auxiliary functions for `type' manipulation
|
2003-03-18 09:25:32 -03:00 |
|
Roberto Ierusalimschy
|
2fef8c772b
|
auxiliary function to check userdata with types
|
2003-02-11 13:32:31 -02:00 |
|
Roberto Ierusalimschy
|
41ed3c4771
|
getn/setn in C moved to lauxlib
|
2003-01-27 11:46:16 -02:00 |
|
Roberto Ierusalimschy
|
c499442e5f
|
compatibility macros must be available by default
|
2003-01-17 13:28:09 -02:00 |
|
Roberto Ierusalimschy
|
097edd3884
|
better names for auxiliar functions
|
2002-11-14 13:41:38 -02:00 |
|
Roberto Ierusalimschy
|
32a5d96dfc
|
`setmetatable' cannot change protected objects
|
2002-09-16 16:49:45 -03:00 |
|
Roberto Ierusalimschy
|
2c670baf24
|
avoid the use of "obvious" names in header files to avoid conflicts
|
2002-08-30 17:00:59 -03:00 |
|
Roberto Ierusalimschy
|
9998082839
|
external messages add their own extra information
|
2002-08-08 17:08:41 -03:00 |
|
Roberto Ierusalimschy
|
aa3da1605c
|
`newproxy' uses its own weaktable
|
2002-07-01 16:23:58 -03:00 |
|
Roberto Ierusalimschy
|
89b102bd1d
|
new `luaL_weakregistry' function
|
2002-06-25 16:15:21 -03:00 |
|
Roberto Ierusalimschy
|
1dbe708aa8
|
new protocol for error handling
|
2002-06-18 12:19:27 -03:00 |
|
Roberto Ierusalimschy
|
ad7103ea3a
|
lua_load* defined in auxlib (and so renamed to luaL_load*)
|
2002-06-03 17:11:41 -03:00 |
|
Roberto Ierusalimschy
|
955def0348
|
new names for string formating functions
|
2002-05-16 15:39:46 -03:00 |
|
Roberto Ierusalimschy
|
71144e3ff0
|
errors `return' int, to avoid warnings
+ home-made `sprintf' (first version)
|
2002-05-06 16:05:10 -03:00 |
|
Roberto Ierusalimschy
|
751cd867d3
|
new way to handle errors
|
2002-05-01 17:48:12 -03:00 |
|
Roberto Ierusalimschy
|
cd99bbcd0d
|
better support for new libraries
|
2002-04-02 17:42:49 -03:00 |
|
Roberto Ierusalimschy
|
88c9bf99de
|
standard libraries in packages
|
2002-03-20 09:54:08 -03:00 |
|
Roberto Ierusalimschy
|
d070506a25
|
new function luaL_errstr
|
2002-02-05 20:36:52 -02:00 |
|
Roberto Ierusalimschy
|
34df9976a9
|
some compatibility macros
|
2002-01-03 15:28:58 -02:00 |
|
Roberto Ierusalimschy
|
592a309177
|
tag system replaced by event tables
|
2001-12-05 18:15:18 -02:00 |
|
Roberto Ierusalimschy
|
72659a0605
|
no more explicit support for wide-chars; too much troble...
|
2001-11-28 18:13:13 -02:00 |
|
Roberto Ierusalimschy
|
46347d768e
|
`ref' support goes to auxlib
|
2001-10-31 17:40:14 -02:00 |
|
Roberto Ierusalimschy
|
070204300c
|
more consistent names for auxlib functions
|
2001-10-26 15:33:30 -02:00 |
|
Roberto Ierusalimschy
|
45b173cbf8
|
warnings/details
|
2001-07-21 21:59:36 -03:00 |
|
Roberto Ierusalimschy
|
2a50188269
|
avoid use of l_char outside INTERNALs (use lua_char instead)
|
2001-04-06 18:17:37 -03:00 |
|
Roberto Ierusalimschy
|
39b7978329
|
first (big) step to support wide chars
|
2001-02-23 14:17:25 -03:00 |
|
Roberto Ierusalimschy
|
7e3d3e1f70
|
details
|
2001-02-02 17:02:40 -02:00 |
|
Roberto Ierusalimschy
|
a53d9b66ca
|
first implementation for type names
|
2001-01-25 14:45:36 -02:00 |
|
Roberto Ierusalimschy
|
4894c27962
|
lua_Number defined in lua.h (1st version)
|
2000-12-04 16:33:40 -02:00 |
|
Roberto Ierusalimschy
|
f379d06e24
|
all API functions are declared in a single line (to facilitate pre-processing).
|
2000-10-30 10:38:50 -02:00 |
|
Roberto Ierusalimschy
|
2cbbf3933a
|
new macro LUALIB_API (so the lib can be a separate DLL)
|
2000-10-27 14:15:53 -02:00 |
|
Roberto Ierusalimschy
|
64eecc0b82
|
new macro LUA_API
|
2000-10-20 14:39:03 -02:00 |
|
Roberto Ierusalimschy
|
001f2bdd0e
|
new definition for types-tags
|
2000-10-05 09:14:08 -03:00 |
|
Roberto Ierusalimschy
|
f6834f4393
|
new API function `lua_type' + new type lua_Type
|
2000-10-02 17:10:55 -03:00 |
|
Roberto Ierusalimschy
|
4ef14ba280
|
new function `luaL_addstring'
|
2000-09-12 10:48:22 -03:00 |
|
Roberto Ierusalimschy
|
8060193702
|
`lauxlib' is now part of the libraries (not used by core Lua)
|
2000-09-11 17:29:27 -03:00 |
|
Roberto Ierusalimschy
|
787a78f83e
|
new scheme for buffers
|
2000-09-11 14:38:42 -03:00 |
|
Roberto Ierusalimschy
|
cad91499dd
|
no more support for single state
|
2000-09-04 15:27:32 -03:00 |
|
Roberto Ierusalimschy
|
a97f29f154
|
explicit stack control in the API
|
2000-08-29 17:43:28 -03:00 |
|
Roberto Ierusalimschy
|
9fdf73bc9a
|
first version for new API
|
2000-08-28 14:57:04 -03:00 |
|
Roberto Ierusalimschy
|
e238efc536
|
default now is multi-state
|
2000-08-09 16:16:57 -03:00 |
|
Roberto Ierusalimschy
|
ef62b340e0
|
code cleaner for 16 bits.
|
2000-05-24 10:54:49 -03:00 |
|
Roberto Ierusalimschy
|
4fbe775154
|
details
|
1999-12-29 14:24:03 -02:00 |
|
Roberto Ierusalimschy
|
3c9e29f56d
|
details
|
1999-12-03 09:26:23 -02:00 |
|
Roberto Ierusalimschy
|
7d1499ba88
|
new macro luaL_openl
|
1999-11-22 15:39:51 -02:00 |
|
Roberto Ierusalimschy
|
29ede6aa13
|
first implementation of multiple states (reentrant code).
|
1999-11-22 11:12:07 -02:00 |
|
Roberto Ierusalimschy
|
c787dccd9b
|
"const" !!!
|
1999-08-16 17:52:00 -03:00 |
|
Roberto Ierusalimschy
|
f2d35bdc78
|
format for file source is independent of "ldo".
|
1999-03-10 11:19:41 -03:00 |
|
Roberto Ierusalimschy
|
5a8bb00df4
|
storing chunk "sources" instead of "filenames".
|
1999-03-04 18:23:39 -03:00 |
|
Roberto Ierusalimschy
|
766e67ef3b
|
to avoid warnings about "typecast" (Visual C++)
|
1998-12-28 11:44:54 -02:00 |
|
Roberto Ierusalimschy
|
9618aaf07d
|
small corrections in comments
|
1998-06-19 13:14:09 -03:00 |
|
Roberto Ierusalimschy
|
c9902be294
|
"findname" moved from lobject.c to lauxlib.c (so libraries may use it).
|
1998-06-18 13:57:03 -03:00 |
|
Roberto Ierusalimschy
|
88a2023c32
|
support for strings with '\0'
|
1998-03-06 13:54:42 -03:00 |
|
Roberto Ierusalimschy
|
9f043e8017
|
luaL_arg_check now is inlined
|
1998-01-09 13:09:53 -02:00 |
|
Roberto Ierusalimschy
|
502343b402
|
new scheme for buffers, centralized in auxlib.
|
1997-12-17 18:48:58 -02:00 |
|
Roberto Ierusalimschy
|
80b3d28f4a
|
details (mainly error messages)
|
1997-12-09 11:50:08 -02:00 |
|
Roberto Ierusalimschy
|
accd7bc253
|
small modifications (format, small optimizations, etc)
|
1997-11-21 17:00:46 -02:00 |
|
Roberto Ierusalimschy
|
a580480b07
|
new implementation for globals: Global value is stored in TaggedString
|
1997-09-26 12:02:26 -03:00 |
|