134 Commits

Author SHA1 Message Date
Perttu Ahola
4e76b92196 builtin/network,builtin/client_file: Store and restore state on reload 2014-09-19 17:29:26 +03:00
Perttu Ahola
028e4b9975 Supporting things for builtin/network,builtin/client_file reload restore 2014-09-19 17: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
601de946b7 Move module/include/api.h to module/api.h 2014-09-19 15:54:23 +03:00
Perttu Ahola
f4862fdc0d extensions/graphics3d: Working texture loading 2014-09-19 15:48:03 +03:00
Perttu Ahola
3176478881 builtin/client_data 2014-09-19 15:47:21 +03:00
Perttu Ahola
acbce6c19f client: Support temporary file path 2014-09-19 15:46:15 +03:00
Perttu Ahola
b17ff040d7 client, ext/graphics3d: Loading of textures (not tested) 2014-09-19 15:19:17 +03:00
Perttu Ahola
4301546f2e buildat:Logger -> buildat.Logger 2014-09-19 14:50:25 +03:00
Perttu Ahola
591c04a755 extensions/polycode_sandbox; extensions/graphics3d works for small example 2014-09-19 14:46:46 +03:00
Perttu Ahola
f4798c2913 extensions/graphics3d WIP 2014-09-19 14:12:00 +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
2dc409fad9 impl/packet_stream: Fix coding style 2014-09-19 12:49:05 +03:00
Perttu Ahola
c3a829cd11 util/codestyle.sh: Update to newest directory structure 2014-09-19 12:48:34 +03:00
Perttu Ahola
fd1c93b39b impl/packet_stream: Fix invalid memory access (was fixed previously; broke again in restructuring) 2014-09-19 12:04:06 +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
Perttu Ahola
1e1170313d testmodules/test1/client_lua/init.lua: Disable non-working code 2014-09-19 10:33:16 +03:00
Perttu Ahola
720c08b8c5 .gitignore: /.idea 2014-09-19 10:31:12 +03:00
Perttu Ahola
1bc516a87c client: Organize local scripts to files (init, packet, sandbox, test) 2014-09-19 10:30:49 +03:00
Perttu Ahola
f91a276481 builtin/client_lua: Remove unused boot.lua 2014-09-19 10:04:32 +03:00
Perttu Ahola
79b4273fac doc: Document deps.txt 2014-09-19 10:01:50 +03:00
Perttu Ahola
7557a1a318 client: Sandbox works 2014-09-19 03:07:37 +03:00
Perttu Ahola
7fb086e399 client, builtin/client_file: Synchronize transmission end 2014-09-19 02:55:18 +03:00
Perttu Ahola
fdb4751d06 client: Running cached script files works 2014-09-19 02:43:16 +03:00
Perttu Ahola
fd9f0f50d3 builtin/client_{lua,file}: Remove unused code 2014-09-19 02:25:06 +03:00
Perttu Ahola
60c0a790bb client, builtin/client_file: Transferring of file content into cache 2014-09-19 02:22:53 +03:00
Perttu Ahola
5899a081da client: Sending of packets from Lua 2014-09-19 01:42:52 +03:00
Perttu Ahola
c1fe875a2c client/state, packet_stream: Tidy up logging 2014-09-19 01:11:40 +03:00
Perttu Ahola
8da0f11df9 client_file/boot.lua, testmodules/test1: Tidy up 2014-09-19 01:10:54 +03:00
Perttu Ahola
0414bc8aaf interface/packet_stream: Unify packet streaming code 2014-09-19 00:58:42 +03:00
Perttu Ahola
5f66d2eeb6 File transfer WIP 2014-09-18 23:47:05 +03:00
Perttu Ahola
ab83f7e5ca builtin/client_lua 2014-09-18 21:54:29 +03:00
Perttu Ahola
3db0f36cbe client/state: Fix copying of packet data from deque to string 2014-09-18 21:31:42 +03:00
Perttu Ahola
17fb1254fc server/main: Better main loop timing 2014-09-18 21:30:09 +03:00
Perttu Ahola
0fc5d4fbf3 interface::Server::get_loaded_modules() 2014-09-18 21:29:50 +03:00
Perttu Ahola
99c7a30ea3 util/codestyle.sh: Update to module/<modulee>.cpp file structure 2014-09-18 21:29:15 +03:00
Perttu Ahola
21559cda60 client/app: Log Lua errors on warning level 2014-09-18 20:41:42 +03:00
Perttu Ahola
e11965ac1f server/state: Switch to loading module/<module>.cpp 2014-09-18 20:33:27 +03:00
Perttu Ahola
89d9c7a394 module/server/<module>.cpp -> module/<module>.cpp 2014-09-18 19:57:52 +03:00
Perttu Ahola
3498a07473 module/server/init.cpp -> module/server/<module>.cpp 2014-09-18 19:43:14 +03:00
Perttu Ahola
1fb982fc06 doc: License: Apache 2.0 2014-09-18 19:35:07 +03:00
Perttu Ahola
61a2e6d2d6 doc 2014-09-18 18:12:59 +03:00
Perttu Ahola
bb8f8a6084 impl/linux/file_watch: Log path on inotify_add_watch() failure 2014-09-18 18:12:15 +03:00
Perttu Ahola
ed921ebf4b server/state, testmodules/__loader: Don't automate module reload, instead implement it in __loader 2014-09-18 17:52:44 +03:00
Perttu Ahola
479968f229 builtin/network: Remove client socket event subscriptions in destructor 2014-09-18 17:38:46 +03:00
Perttu Ahola
13544b5060 builtin/network: Remove listening socket event in destructor 2014-09-18 17:27:09 +03:00
Perttu Ahola
ed0bac6cfc impl/linux/file_watch: Add fds to log messages 2014-09-18 17:26:47 +03:00