20 Commits

Author SHA1 Message Date
Perttu Ahola
3917701b47 client: Use sandboxed urho3d in extensions for interoperability with modules 2014-09-27 15:29:50 +03:00
Perttu Ahola
0965047f89 client: buildat.disconnect() 2014-09-27 09:58:16 +03:00
Perttu Ahola
fbc8c98931 util/codestyle.sh: Fix Lua Vim modeline magic 2014-09-24 15:13:49 +03:00
Perttu Ahola
abab2f9ee0 Apply Vim modeline magic to everything 2014-09-24 14:54:15 +03:00
Perttu Ahola
3157198a30 buildat.run_script_file: Add to client_api.txt and switch from instance-style to namespace-style call 2014-09-24 14:17:16 +03:00
Perttu Ahola
1c2111e266 Wrap global variables created by sandbox so that they don't pollute the actual global sandbox table 2014-09-24 01:13:26 +03:00
Perttu Ahola
d934d02f6e testmodules/test1: Shows a 3D scene controllable by user input; add and fix other things to support it 2014-09-24 01:12:16 +03:00
Perttu Ahola
e9c4f5a468 extensions/polycode_sandbox: Automagic sandbox wrapper for Polycode's Lua class model - now sandboxed code can subclass classes provided by Polycode 2014-09-22 01:23:47 +03:00
Perttu Ahola
5dcde57c38 client: Fix undescriptive error message when extension module returns nil 2014-09-21 10:18:11 +03:00
Perttu Ahola
f456b110e4 Prepend license notice to all lua files 2014-09-21 01:20:43 +03:00
Perttu Ahola
175c06ba5e client/sandbox.lua: Add assert() to sandbox environment 2014-09-20 19:59:45 +03:00
Perttu Ahola
eb9e2ada26 client/lua: buildat.bytes(data) 2014-09-20 14:19:20 +03:00
Perttu Ahola
b991ce1149 client/sandbox.lua: Add a safe subset of the standard library to the sandbox environment 2014-09-20 03:02:25 +03:00
Perttu Ahola
66ab5c1985 builtin/client_file, interface/file_watch: Watch changes in automatically transferred files and reload content for new clients 2014-09-19 16:46:17 +03:00
Perttu Ahola
4301546f2e buildat:Logger -> buildat.Logger 2014-09-19 14:50:25 +03:00
Perttu Ahola
3db773a999 client/lua: buildat.dump 2014-09-19 13:38:10 +03:00
Perttu Ahola
b5db1b839e client: Improve Lua error handling and sandbox run_script() 2014-09-19 13:17:22 +03:00
Perttu Ahola
20cf5c4390 client: Get full traceback on lua_pcall() error 2014-09-19 12:51:02 +03:00
Perttu Ahola
dd39767cf5 client/extensions 2014-09-19 11:29:59 +03:00
Perttu Ahola
fc03490d78 Move stuff from /share to / 2014-09-19 10:40:10 +03:00