Roberto Ierusalimschy
a08d82eb13
llimits.h being used by all Lua code
The definitions in llimits.h are useful not only for the core. That
header only defines types and '#define's, so libs and core still do
not share any real code/data.
5 months ago
Roberto Ierusalimschy
165389b27b
New interface to function 'luaL_openselectedlibs'
Instead of preloading all non-loaded libraries, there is another
mask to select which libraries to preload.
9 months ago
Roberto Ierusalimschy
d738c8d18b
New function 'luaL_openselectedlibs'
Makes it easier to start Lua with only some standard libraries.
2 years ago
Roberto Ierusalimschy
f99509581e
Removed extra information from RCS keyword strings
Version numbers and dates (mostly wrong) from RCS keyword strings
removed from all source files; only the file name are kept.
6 years ago
Roberto Ierusalimschy
34b00c16e2
removed compatibility code with older versions
7 years ago
Roberto Ierusalimschy
5a1c8d8ef3
new constant 'LUA_GNAME' for the name of the global table "_G"
7 years ago
Roberto Ierusalimschy
b2aa2ba046
using constants for "_LOADED" and "PRELOAD"
8 years ago
Roberto Ierusalimschy
3317f5c6d9
includes 'stddef.h' (as it uses NULL)
10 years ago
Roberto Ierusalimschy
36efa6a6b9
no more 'preloadedlibs' when opening libraries (as it is dead code now)
10 years ago
Roberto Ierusalimschy
460968353f
in test mode, debug library is not predefined (to allow testing
'preloadedlibs')
10 years ago
Roberto Ierusalimschy
28fdbcf393
added include for 'lprefix.h', for stuff that must be added before
any other header file
10 years ago
Roberto Ierusalimschy
a73da6112d
deprecated library throws an error if called (instead of silently
not loading itself)
11 years ago
Roberto Ierusalimschy
6ccf150039
new library: utf8
11 years ago
Roberto Ierusalimschy
19fbdf6cae
'luaL_findtable' -> 'luaL_getsubtable'
14 years ago
Roberto Ierusalimschy
c4ea0c3b29
detail (cleaning trailing spaces)
14 years ago
Roberto Ierusalimschy
8c21f463ed
'debug' library is loaded by default
14 years ago
Roberto Ierusalimschy
9e8e60dd5f
bitlib renamed to 'bit32' + new function for arithmetic shift
14 years ago
Roberto Ierusalimschy
7192afafee
new module policy: C modules do not create globals and do not register
themselves with 'require' (let 'require' do its work); new auxiliary
functions luaL_newlib/luaL_newlibtable/luaL_setfuncs/luaL_requiref.
Old luaL_register will be deprecated.
15 years ago
Roberto Ierusalimschy
a139e2e003
old (and complex) luaL_findtable now used only in compatibility code
inside lauxlib.c
15 years ago
Roberto Ierusalimschy
bd262d591f
'coroutine' library separated from 'baselib'
15 years ago
Roberto Ierusalimschy
e34d3c06b0
it is better to call open functions with lua_call to not mess
the caller stack
15 years ago
Roberto Ierusalimschy
064e406f67
no more fenvs!
15 years ago
Roberto Ierusalimschy
f84b575cfa
no more pseudoindex LUA_GLOBALSINDEX; global table now accessible
through registry
15 years ago
Roberto Ierusalimschy
de6fc75d63
several configuration options that do not change often moved out of
luaconf.h and into more internal files
15 years ago
Roberto Ierusalimschy
2e51792596
avoid using deprecated macros lua_[gs]etglobal
15 years ago
Roberto Ierusalimschy
90e2a716c8
details + comments
15 years ago
Roberto Ierusalimschy
3abe3da9fb
new module 'lbitlib.c' for bitwise operations
16 years ago
Roberto Ierusalimschy
0cc3add9f8
variable renaming: 'lualibs' -> 'loadedlibs'; 'luareqlibs' ->
'preloadedlibs'
16 years ago
Roberto Ierusalimschy
71c2eeff98
comments
16 years ago
Roberto Ierusalimschy
47b4858357
detail ('name' of baselib is "_G")
17 years ago
Roberto Ierusalimschy
3904a66ab0
'debug' library must be required before being used
18 years ago
Roberto Ierusalimschy
bfdcbbcd76
small optimizations (lua_newtable -> lua_createtable)
19 years ago
Roberto Ierusalimschy
3390f9a35a
detail
19 years ago
Roberto Ierusalimschy
c7b4f44772
correct name to open package library
20 years ago
Roberto Ierusalimschy
04f657c7f8
new protocol to open standard libraries
20 years ago
Roberto Ierusalimschy
2d5b923759
details
20 years ago
Roberto Ierusalimschy
7d45a5f48f
C functions and userdata also have environments
20 years ago
Roberto Ierusalimschy
ce455481ab
separation between io lib and os lib
21 years ago
Roberto Ierusalimschy
31f6540fba
back with an "open all libs" function
21 years ago
Roberto Ierusalimschy
fb55c96706
obsolete module; not part of the oficial distribution
25 years ago
Roberto Ierusalimschy
89a3ec08f3
function lua_userinit is used only in single-state mode (by lua.c)
25 years ago
Roberto Ierusalimschy
1de5587184
`lua.h' is included before any other Lua header file
25 years ago
Roberto Ierusalimschy
3e38fd2463
`lua_setfallback' leaves things on the stack, so it is better to protect
it.
25 years ago
Roberto Ierusalimschy
29ede6aa13
first implementation of multiple states (reentrant code).
25 years ago
Roberto Ierusalimschy
3cc4ca821e
initialization module (to load libraries)
26 years ago