103 Commits

Author SHA1 Message Date
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
Perttu Ahola
815b63dcab client/state: Buffer data and read packets 2014-09-18 01:11:37 +03:00
Perttu Ahola
1b1b016cf5 Client receives stuff 2014-09-18 00:22:57 +03:00
Perttu Ahola
89b02eeb19 Fix core/log coding style 2014-09-17 23:45:14 +03:00
Perttu Ahola
73f5da9636 Move logging from c55/log to core/log and use it everywhere 2014-09-17 23:44:42 +03:00
Perttu Ahola
dcd21a17ea Use network::Interface for sending packets 2014-09-17 23:22:00 +03:00
Perttu Ahola
f401ac6daf util/codestyle.sh: Replace stupid million space indentations with two tabs 2014-09-17 23:05:05 +03:00
Perttu Ahola
780db76d91 Direct inter-module interface 2014-09-17 23:00:36 +03:00
Perttu Ahola
14abc20e5f Fix coding style 2014-09-17 20:58:23 +03:00
Perttu Ahola
8e6c0a7d0d util/codestyle.sh: Remove -w (--indent-preproc-define) 2014-09-17 20:58:12 +03:00
Perttu Ahola
fc2cd76250 testmodules/test1: Request packet type from network 2014-09-17 20:49:30 +03:00
Perttu Ahola
2830e5656d testmodules/test1: Response to new client 2014-09-17 20:24:06 +03:00
Perttu Ahola
f8c21cc2d5 Streamline event handling with a macro 2014-09-17 20:15:46 +03:00