Commit graph

195 commits

Author SHA1 Message Date
75aaaf922f Fix merge conflict in .gitignore 2023-07-24 13:24:06 +12:00
02fae90b69 Rename lcallisto.h -> callisto.h 2023-07-24 12:31:21 +12:00
4e03fc1620 Rename lcallisto.c -> callisto.c 2023-07-24 12:30:41 +12:00
221ef63cd4 Copy libcallisto.so to DESTDIR/PREFIX/lib (-lcallisto is WIP) 2023-07-24 12:16:55 +12:00
c09a47f790 Define LUA_USE_POSIX 2023-07-24 12:09:37 +12:00
929b2a7aa8 Change include in csto.c, revert LUA_INIT_VAR and change slogan 2023-07-24 12:09:17 +12:00
80549e605e State meaning of an extremely sparse array in json documentation 2023-07-24 12:00:30 +12:00
13c4a6b963 Add ldoc to shell.nix 2023-07-23 12:46:42 +12:00
0a3d8bdbf1 Change 'ar rcu' to 'ar cr' 2023-07-18 12:56:02 +12:00
32ad743d61 Update dependency information in README.md 2023-07-18 12:55:44 +12:00
8b4a0f86cf Remove hard dependency on readline, split makefile config into config.mk 2023-07-18 12:38:03 +12:00
a72a34370c Use clang over gcc in shell.nix 2023-07-18 10:55:37 +12:00
4b6f9f315e Add shell.nix 2023-07-18 10:20:32 +12:00
58a21b1e97 Minify CSS reset section 2023-07-18 10:14:46 +12:00
ca54eca195 Use luaL_argerror over luaL_error in cl.parseopts 2023-07-09 21:43:04 +12:00
9329d60c45 Use if statement over ternary in cl.parseopts 2023-07-09 21:40:47 +12:00
1696efaca1 Rewrite some of lcl.c so it is branchless 2023-07-09 21:21:35 +12:00
07164e0cf2 Add byte and ubyte #defines in util.h 2023-07-09 21:16:53 +12:00
3da66e8932 Complete json documentation 2023-07-09 18:03:10 +12:00
9e9d3e0213 Remove some crap in external/json 2023-07-09 16:39:49 +12:00
612a22678b Remove warnings from lcl.c and lfile.c by fixing some issues 2023-07-09 16:19:37 +12:00
f2ff542bcb Remove los.c and lmath.c, and put their functions in the bundled Lua source 2023-07-09 16:18:10 +12:00
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