Commit graph

13 commits

Author SHA1 Message Date
Louis-Antoine
05ae84bd09 Fix Lua stacktrace not showing in various situations 2020-11-13 19:12:25 +01:00
Louis-Antoine
6e073efbb7 Fix I_Error when queuing multiple Lua files 2020-05-19 23:50:37 +02:00
Louis-Antoine
ccc51df93b Fix sending Lua files in text mode 2020-05-19 21:36:21 +02:00
Louis-Antoine
1b62785cfa Refactor Lua file transfer code 2020-05-19 15:16:51 +02:00
Louis-Antoine
af5500575b Fix warning and formatting 2020-03-02 13:33:12 +01:00
James R
26ff2e0355 Fix compiler warnings 2020-02-20 17:18:26 -08:00
Louis-Antoine
ce7aa23155 Remove all potentially dangerous functions
Basically any function that calls fopen() is gone,
except the ones created by me.

And no access to stdin/stdout/stderr
through io.read()/io.write().
Not really harmful but why would you want that in SRB2.
2020-01-25 01:37:50 +01:00
Louis-Antoine
ad1d8f96f3 Fix the compiler warning fix 2020-01-24 23:34:39 +01:00
Louis-Antoine
4cf1e19030 Fix two compiler warnings 2020-01-24 23:24:54 +01:00
Louis-Antoine
8e92f3829c Add .dat and .csv to whitelisted file extensions 2020-01-24 17:51:20 +01:00
Louis-Antoine
1b6d056b91 Rename "luafiles/shared/" to "luafiles/client/" 2020-01-24 17:11:00 +01:00
Louis-Antoine
7f48cc9ed5 Split open() into open() and openlocal()
open() for normal, consistency-friendly reading,
openlocal() for writing and local reading.
2020-01-24 02:47:51 +01:00
Louis-Antoine
6d42930c8e Update Lua I/O support to 2.2 2020-01-22 23:08:57 +01:00