8c5777fb98
tree: add standard copyright phrasing
...
Callisto - standalone scripting platform for Lua 5.4
Copyright (c) 2023-2024 Jeremy Baxter.
2024-02-19 10:16:45 +13:00
b5d61a25cb
rename the statically linked strlcpy to strbcpy
...
stands for "string bounds copy". Some systems like macOS include their
very own version of strlcpy and testing for that would require some
bloat like gnu automake so I'm just gonna rename it to prevent any
future conflicts. I only test on Linux and OpenBSD anyway. ;)
2024-01-25 19:47:57 +13:00
cae9985747
change BSD ifndefs to __OpenBSD__ and remove unnecessary ifdefs
...
I'm not sure if any operating system other than OpenBSD
has strlcpy/strlcat. May need to use a configure script
for this later on.
2023-12-23 16:33:38 +13:00
290289cbf5
Refactor and fix up a lot of code
...
Don't tell the boss I forgot a couple of free()s...
2023-11-26 17:13:41 +13:00
fe38efac42
Rename cl.parseopts to cl.options
2023-08-15 15:17:57 +12:00
02fae90b69
Rename lcallisto.h -> callisto.h
2023-07-24 12:31:21 +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
612a22678b
Remove warnings from lcl.c and lfile.c by fixing some issues
2023-07-09 16:19:37 +12:00
941722cb01
Rename callistoopen_* functions to luaopen_*
2023-07-08 18:35:59 +12:00
97f527fde8
Remove unnecessary (char *) casts
2023-07-01 19:29:22 +12:00
0d7604cb96
Remove unnecessary header files
2023-06-27 18:19:03 +12:00
94f9ca6a6e
Use strlcpy over strcpy in cl.parseopts
2023-06-27 12:43:27 +12:00
6aa4b6de39
Remove libbsd support
2023-06-27 12:33:51 +12:00
b124d99c36
Initial import
2023-06-25 16:47:09 +12:00