Roberto Ierusalimschy
|
4b44793dc5
"bug": lua_createtable with sizes changed (array <-> record)
|
16 vuotta sitten |
Roberto Ierusalimschy
|
a5f68589c0
avoid using 'UNUSED' (not defined outside the kernel)
|
16 vuotta sitten |
Roberto Ierusalimschy
|
5cdec7d124
added "\n" at the end of 'package.config' (so that the string
|
16 vuotta sitten |
Roberto Ierusalimschy
|
7e9bc41fe7
'loadlib(lib, "*")' loads 'lib' with global names exported to all
|
16 vuotta sitten |
Roberto Ierusalimschy
|
afe849c9b4
change in error message
|
17 vuotta sitten |
Roberto Ierusalimschy
|
bb48f456d9
bug: 'module' now checks that is caller is a Lua function
|
17 vuotta sitten |
Roberto Ierusalimschy
|
bc82b4d78a
new function 'package.searchpath'
|
17 vuotta sitten |
Roberto Ierusalimschy
|
8d3dd04137
clearing some old compatibility code
|
18 vuotta sitten |
Roberto Ierusalimschy
|
df50c84ee0
BUG: loadlib should not use Lua internals (lobject.h)
|
18 vuotta sitten |
Roberto Ierusalimschy
|
afa0d0ac0d
new constant LUA_OK
|
19 vuotta sitten |
Roberto Ierusalimschy
|
a7c9e45c64
avoid trailing white spaces
|
19 vuotta sitten |
Roberto Ierusalimschy
|
c7b89dd280
small bug: should not use string after popping it
|
19 vuotta sitten |
Roberto Ierusalimschy
|
ee41bc03ab
details
|
19 vuotta sitten |
Roberto Ierusalimschy
|
672bb67ee6
environment variable names should be configurable
|
19 vuotta sitten |
Roberto Ierusalimschy
|
bfdcbbcd76
small optimizations (lua_newtable -> lua_createtable)
|
19 vuotta sitten |
Roberto Ierusalimschy
|
0561f71f0f
(much) better error messages for 'require'
|
19 vuotta sitten |
Roberto Ierusalimschy
|
6cd461633d
clearer error message for uninstalled loadlib
|
19 vuotta sitten |
Roberto Ierusalimschy
|
5511bf6b9d
avoid comparisons between (void *) and (int *)
|
20 vuotta sitten |
Roberto Ierusalimschy
|
522481a788
avoid some warnings
|
20 vuotta sitten |
Roberto Ierusalimschy
|
e41fb9a604
registry._LOADED created "on demand"
|
20 vuotta sitten |
Roberto Ierusalimschy
|
9e88b336b4
unused assignment
|
20 vuotta sitten |
Roberto Ierusalimschy
|
2bcbd3c725
avoid 'PathRemoveFileSpec' (not very portable)
|
20 vuotta sitten |
Roberto Ierusalimschy
|
351f7dad6b
default for 'module' is opaque (with option 'seeall')
|
20 vuotta sitten |
Roberto Ierusalimschy
|
3390f9a35a
detail
|
20 vuotta sitten |
Roberto Ierusalimschy
|
9273fbd131
no more 'luaL_get/setfield' (replaced by more direct luaL_findtable)
|
20 vuotta sitten |
Roberto Ierusalimschy
|
39cdbce23e
no more '-w' option + new way to check module existence
|
20 vuotta sitten |
Roberto Ierusalimschy
|
2f2b4a42a9
luaL_checkudata raises an error if value is not correct
|
20 vuotta sitten |
Roberto Ierusalimschy
|
5e8a9e324c
luaL_openlib -> luaL_register, luaL_putchar -> luaL_addchar
|
20 vuotta sitten |
Roberto Ierusalimschy
|
c7b4f44772
correct name to open package library
|
20 vuotta sitten |
Roberto Ierusalimschy
|
ab3dfa5594
store some configuration information
|
20 vuotta sitten |