Commit graph

173 commits

Author SHA1 Message Date
05bdda5d05 Add function callisto_openall(lua_State *) 2023-07-08 18:46:09 +12:00
941722cb01 Rename callistoopen_* functions to luaopen_* 2023-07-08 18:35:59 +12:00
6918a0de04 Line up __index with __newindex in the metatable for environ 2023-07-02 08:41:09 +12:00
b2c028a3cb Add documentation on math.lerp 2023-07-02 08:40:09 +12:00
69b4227271 Split process.pid into two functions: process.pid (get the current process's PID) and process.pidof (get another process's PID) 2023-07-02 08:39:46 +12:00
c62d4056e6 Use the environ table over the environment library 2023-07-02 08:15:17 +12:00
97f527fde8 Remove unnecessary (char *) casts 2023-07-01 19:29:22 +12:00
be27e32ad2 Add .editorconfig 2023-07-01 09:57:28 +12:00
d1c7b71043 Define streq macro in util.h and use it over strcmp in lprocess.c 2023-07-01 09:53:43 +12:00
bcdb57b4dd Add credit to OpenBSD for strlcat and strlcpy 2023-07-01 09:53:08 +12:00
4fb243af7b Add lextra.c and extra library, with sleep() now part of it instead of in os 2023-07-01 09:52:01 +12:00
2d78ec849e Compile Lua 5.4 and lua-cjson using -std=c99 2023-07-01 09:48:15 +12:00
0d7604cb96 Remove unnecessary header files 2023-06-27 18:19:03 +12:00
1506c1e49a Remove use of clearenv(), it is not portable 2023-06-27 17:44:42 +12:00
c739534c38 Lua makefile changes + remove Lua binaries 2023-06-27 17:44:17 +12:00
4acdc08900 Add lua and luac to .gitignore 2023-06-27 16:40:23 +12:00
94f9ca6a6e Use strlcpy over strcpy in cl.parseopts 2023-06-27 12:43:27 +12:00
2cb636f59d Remove libbsd and libdl as a runtime dependency in readme
Now the functions needed from libbsd are supplied by util.c,
and libdl is built into libc. Linking with -ldl causes errors
on some BSDs anyway.
2023-06-27 12:35:21 +12:00
6aa4b6de39 Remove libbsd support 2023-06-27 12:33:51 +12:00
46be9fd805 Add license file 2023-06-26 20:36:37 +12:00
4778738d7c Remove test.lua from config.ld and add it to gitignore 2023-06-26 08:05:38 +12:00
17ee021cf0 Create README.md 2023-06-25 19:25:16 +12:00
b124d99c36 Initial import 2023-06-25 16:47:09 +12:00