39 Commits

Author SHA1 Message Date
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
8d32289239 client: Remote execution of Lua works 2014-09-18 14:43:34 +03:00
Perttu Ahola
2bfdc3b1c3 testmodules/test1: Send a script to each new client 2014-09-18 14:25:07 +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
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
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
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
Perttu Ahola
92f3a138cf Switch Event::Private::p from sp_ to up_ 2014-09-17 19:07:26 +03:00
Perttu Ahola
e81305ade4 WIP 2014-09-17 18:52:59 +03:00
Perttu Ahola
afa0d193f5 Include dtime in tick events 2014-09-17 18:33:02 +03:00
Perttu Ahola
8f8e2ba9be Accepting connections works 2014-09-17 18:26:58 +03:00
Perttu Ahola
f62a6b59b7 Manage sockets somehow sanely (WIP) 2014-09-17 16:43:37 +03:00
Perttu Ahola
2aa3b69a6d testmodules: Add example of simple inlined one-way call 2014-09-17 15:45:45 +03:00
Perttu Ahola
220b858749 Event loop works 2014-09-17 14:53:06 +03:00
Perttu Ahola
7d78bad1de Apply coding style 2014-09-17 11:43:53 +03:00
Perttu Ahola
3ef62d8685 Apply coding style 2014-09-17 11:14:18 +03:00
Perttu Ahola
c752531121 interface::Server::check_module 2014-09-17 09:39:25 +03:00
Perttu Ahola
0287e82006 Bind a socket but don't listen to it yet 2014-09-17 04:04:50 +03:00
Perttu Ahola
c156e7b0fb Remove Module::test_add 2014-09-17 02:24:02 +03:00
Perttu Ahola
5004d1e156 Custom event and stuff 2014-09-17 02:18:03 +03:00
Perttu Ahola
47f13e5204 Allow using cereal from modules 2014-09-17 01:25:55 +03:00
Perttu Ahola
dd860c461d interface/event 2014-09-17 01:04:51 +03:00
Perttu Ahola
101dde83d8 Load all modules based on directory listing 2014-09-17 00:41:27 +03:00
Perttu Ahola
32232ce6c2 WIP; Loading of multiple modules works 2014-09-16 23:57:31 +03:00
Perttu Ahola
caba69b5d0 module/main.cpp -> module/init.cpp 2014-09-16 23:38:58 +03:00
Perttu Ahola
6414b38518 WIP: Module loading starts to take shape 2014-09-16 23:38:58 +03:00
Perttu Ahola
389872bafe WIP 2014-09-16 23:14:04 +03:00
Perttu Ahola
9dd2ec7a59 WIP 2014-09-16 22:42:47 +03:00
Perttu Ahola
ec0c0b64e6 WIP 2014-09-16 21:28:54 +03:00
Perttu Ahola
995af6d2b6 WIP 2014-09-16 21:00:01 +03:00
Perttu Ahola
d355b436e6 WIP 2014-09-16 20:39:57 +03:00