115 Commits

Author SHA1 Message Date
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
Perttu Ahola
446f98d94f server/main: Automatic select() fd debugger 2014-09-18 17:26:01 +03:00
Perttu Ahola
8d0b729adc server/state, server/rccpp: Handle build failures correctly 2014-09-18 16:44:52 +03:00
Perttu Ahola
cbaa2b08ca server/rccpp: Unload modules properly to be able to reload them 2014-09-18 16:35:20 +03:00
Perttu Ahola
2e63c4d7a6 server/state: Automatic module reload on init.cpp modification 2014-09-18 16:23:13 +03:00
Perttu Ahola
d967b13ec4 interface/file_watch 2014-09-18 16:04:22 +03:00
Perttu Ahola
8d32289239 client: Remote execution of Lua works 2014-09-18 14:43:34 +03:00
Perttu Ahola
3fea527bb8 client: Move Polycode::EventHandler to client/app 2014-09-18 14:25:37 +03:00
Perttu Ahola
2bfdc3b1c3 testmodules/test1: Send a script to each new client 2014-09-18 14:25:07 +03:00
Perttu Ahola
96c393cbb0 Fix coding style of src/client/state.cpp 2014-09-18 14:24:31 +03:00
Perttu Ahola
3464950156 builtin/network: Fix packet definition sending 2014-09-18 14:22:51 +03:00
Perttu Ahola
43f426dc7f client: Fix deserialization of size 2014-09-18 13:58:13 +03:00
Perttu Ahola
2223e7c02b client: Map packet types to names 2014-09-18 13:45:18 +03:00
Perttu Ahola
c7a1b82628 Remove mutexes from modules and handle locking automatically by callback-based access control 2014-09-18 13:09:30 +03:00
Perttu Ahola
763028cb56 server: No-op module unload 2014-09-18 02:18:48 +03:00
Perttu Ahola
8e7099ea89 server: Callback-based access control to modules 2014-09-18 02:09:53 +03:00
Perttu Ahola
d8a63c303d builtin, testmodules: Constructor and destructor first; then other methods 2014-09-18 01:46:16 +03:00
Perttu Ahola
55541903ab server: Packet buffering and handling 2014-09-18 01:36:02 +03:00
Perttu Ahola
c2bd1b151e doc 2014-09-18 01:12:06 +03:00
Perttu Ahola
8f5f709f60 builtin/network: Send packet names as needed 2014-09-18 01:11:59 +03:00