Lion Kortlepel
b3e8d86cef
refactor Lua result handling for safety
...
this massively improves thread safety and cleanly serializes accesses
into the lua engine's result objects where accesses before were
extremely unsafe and could access a corrupt/invalid stack.
this fixes various obscure crashes related to accessing results,
without changing any observable behavior.
2026-04-19 18:17:54 +00:00
Lion Kortlepel
aff537afdf
add AGPL-3.0 license header
2024-01-23 21:00:11 +01:00
Lion Kortlepel
32756ccc4a
Use read instead of ifstream rdbuf
2021-09-20 17:19:38 +02:00
Lion Kortlepel
3626f4108e
Use filestreams instead of c-lib
2021-09-20 17:05:28 +02:00
Lion Kortlepel
d7a4322313
More windows fixes
2021-09-20 17:00:30 +02:00
Lion Kortlepel
d84051bdd3
possible fix for windows path issue
2021-09-20 16:59:42 +02:00
Lion Kortlepel
6f9f790c5b
Lua: Add FS.Remove, FS.Rename (move), FS.Copy, FS.Exists
2021-09-20 00:36:22 +02:00
Lion Kortlepel
785b858651
Same as last one
...
yikes.
2021-09-19 12:29:02 +02:00
Lion Kortlepel
a4ff9488c5
Satisfy MSVC's weird attraction to using .string() when its not necessary
...
I cannot bear another minute of msvc, i swear
2021-09-19 12:23:26 +02:00
Lion Kortlepel
60b86e2be6
Create TLuaChunk constructor to satisfy MSVC
2021-09-19 12:12:38 +02:00
Lion Kortlepel
8419ca2234
possible windows compiler fix
2021-09-19 01:32:30 +02:00
Lion Kortlepel
38dffc5462
Lua: Pass plugin path and filename to queue for later
2021-09-18 01:20:26 +02:00
Lion Kortlepel
62fd369625
Lua: Fix more compile errors for windows
2021-09-17 02:30:20 +02:00
Lion Kortlepel
e75e65815c
Lua: change a static_cast to a reinterpret_cast, fun times
...
:^)
2021-09-17 01:27:45 +02:00
Lion Kortlepel
c73d56c143
Possible compiler fix
2021-09-17 00:54:41 +02:00
Lion Kortlepel
9b9c18a4c1
Lua: Add variadic print, LuaAPI
2021-09-16 11:54:52 +02:00
Lion Kortlepel
ba0678dade
Continue Lua Rewrite
2021-09-16 03:21:00 +02:00
Lion Kortlepel
dd4e4c4467
Start rewrite of lua, rename all print functions
2021-09-16 01:04:01 +02:00