65 Commits

Author SHA1 Message Date
Perttu Ahola
cb6b59ac41 WIP 2014-10-02 14:38:59 +03:00
Perttu Ahola
c6a88ac4ce WIP 2014-10-02 13:52:48 +03:00
Perttu Ahola
a14d0e1b46 extensions/sandbox_test: Add names 2014-10-02 13:42:04 +03:00
Břetislav Štec
86b35173e3 extensions/urho3d/safe_classes.lua: Wrap more methods for Scene and Node 2014-09-29 19:59:50 +02:00
Perttu Ahola
3947187ef5 Fix coding style 2014-09-28 21:19:19 +03:00
Perttu Ahola
ba42488bf8 extensions/sandbox_test: When loaded, start checking values at runtime as reported by magic_sandbox 2014-09-28 15:25:08 +03:00
Perttu Ahola
b23711f066 extensions/sandbox_test/try_exploit.lua: Try calling found functions 2014-09-28 14:00:17 +03:00
Perttu Ahola
0e7c9fc6e4 extensions/urho3d: Fix exploit revealed by extensions/sandbox_test caused by a stupid mistake 2014-09-28 12:59:35 +03:00
Perttu Ahola
1148decb2a extensions/sandbox_test: Search for exploits in latest real sandbox environments and a test sandbox environment (KEY_F10) 2014-09-28 12:57:47 +03:00
Perttu Ahola
779e95b3ec extensions/__menu: Fix UI warnings 2014-09-28 01:05:04 +03:00
Perttu Ahola
4e7d03adc6 client: Get rid of exception about inexisting remote resource when accessing a local resoource 2014-09-28 00:55:37 +03:00
Perttu Ahola
b3a151e8a9 extensions/uistack: Global UIStack instance "main", which the main menu uses too 2014-09-27 16:09:17 +03:00
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
2e66905d84 extensions/urho3d: Basic shadow properties; use in testmodules/test1 2014-09-27 09:15:39 +03:00
Perttu Ahola
d2a1830ce5 extensions/urho3d: Better event error logging for sandbox-subscribed events 2014-09-27 08:44:24 +03:00
Perttu Ahola
810360a93e extensions/urho3d: Move class whitelist to safe_classes.lua 2014-09-27 08:41:10 +03:00
Perttu Ahola
51cc8240af extensions/urho3d: Whitelist events in safe_events.lua 2014-09-27 08:38:28 +03:00
Perttu Ahola
2a0bd20e40 extensions/urho3d: Move list of safe globals to safe_globals.lua 2014-09-27 07:47:05 +03:00
Perttu Ahola
61d541b8b3 extensions/urho3d: Sandbox using extensions/magic_sandbox 2014-09-27 07:18:53 +03:00
Perttu Ahola
ee200cddad extensions/magic_sandbox 2014-09-27 07:18:47 +03:00
Perttu Ahola
6a98105c5a extensions/uistack: Fix coding style 2014-09-27 07:18:46 +03:00
Perttu Ahola
423c7a7b5a extensions/__menu: Connecting to servers 2014-09-26 16:36:14 +03:00
Perttu Ahola
8f44b7490a buildat.connect_server(address) -> status, error 2014-09-26 16:36:14 +03:00
Perttu Ahola
1f30a0cc33 extensions/__menu: Use UIStack 2014-09-26 16:36:10 +03:00
Perttu Ahola
9739bf430d extensions/uistack 2014-09-26 16:33:56 +03:00
Perttu Ahola
8a472b04f3 extensions/urho3d: SubscribeToEvent: Return global name of the generated global callback 2014-09-26 16:33:55 +03:00
Perttu Ahola
f11bd3ed25 extensions/__menu: Figuring out how this thing should work 2014-09-26 16:33:34 +03:00
Perttu Ahola
865e71ec38 extensions/__menu: Initial testing 2014-09-26 16:32:59 +03:00
Perttu Ahola
50d6cf6b3f extensions/urho3d: Support SubscribeToEvent with object parameter 2014-09-26 16:32:58 +03:00
Perttu Ahola
4cd96ea32a extensions/urho3d: Provide the API and an improved version of SubscribeToEvent() to the unsafe environment 2014-09-26 16:32:58 +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
3110d21c3c Dynamic resource reloading works as long as files aren't deleted in between like what git checkout does 2014-09-24 10:58:46 +03:00
Perttu Ahola
a3e4705452 testmodules/test1: Disable mouse control, use test1/green_texture.png for floor 2014-09-24 01:13:30 +03:00
Perttu Ahola
625d7a53c1 client: Loading resources received from server works 2014-09-24 01:13:26 +03:00
Perttu Ahola
50ec3815c8 Remove unused extensions: graphics joyinput keyinput mouseinput polycode_sandbox ui 2014-09-24 01:13:26 +03:00
Perttu Ahola
bc5be04fcf testmodules/test1: Use h3d namespace 2014-09-24 01:13:26 +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
12d7465f4e Move client/urho3d.lua to extensions/urho3d 2014-09-24 01:13:26 +03:00
Perttu Ahola
3721ba59f3 extensions/experimental: Remove accidentally added unused test code 2014-09-22 03:12:57 +03:00
Perttu Ahola
46fc4b2844 extensions/ui: UIElement.hasFocus property 2014-09-22 02:29:25 +03:00
Perttu Ahola
4dc1d10c82 extensions/{graphics,ui}: Implement event handling class model 2014-09-22 02:29:25 +03:00
Perttu Ahola
3ea0544172 extensions/polycode_sandbox: Recursive wrapper method resolver 2014-09-22 02:17:04 +03:00
Perttu Ahola
344b5149fa extensions/polycode_sandbox: Recursive type checking 2014-09-22 01:23:56 +03:00
Perttu Ahola
2aa3325c5f extensions/polycode_sandbox: Sandbox class wrapper: Allow mirroring Polycode's internal class inheritance with minimal effort 2014-09-22 01:23:56 +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
400fce6a99 extensions/graphics3d -> extensions/graphics 2014-09-21 12:44:10 +03:00
Perttu Ahola
7dce426a29 extensions/ui: Initial base, with related changes in a lot of places 2014-09-21 12:42:53 +03:00
Břetislav Štec
fdf5b76a8c extensions/joyinput 2014-09-21 01:48:48 +03:00