140 Commits

Author SHA1 Message Date
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
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
803ab12ebb Fix coding style 2014-09-17 18:27:30 +03:00
Perttu Ahola
8f8e2ba9be Accepting connections works 2014-09-17 18:26:58 +03:00
Perttu Ahola
c8a932c59f server/state: Interface towards main program for listening to socket activity 2014-09-17 16:56:28 +03:00
Perttu Ahola
94909e39d4 doc 2014-09-17 16:55:56 +03:00
Perttu Ahola
f62a6b59b7 Manage sockets somehow sanely (WIP) 2014-09-17 16:43:37 +03:00
Perttu Ahola
a3892bad3f builtin/network: Move socket creation to core:start 2014-09-17 15:52:15 +03:00
Perttu Ahola
2aa3b69a6d testmodules: Add example of simple inlined one-way call 2014-09-17 15:45:45 +03:00
Perttu Ahola
86e8fbb6fb server/state: Fix startup events 2014-09-17 15:43:44 +03:00
Perttu Ahola
28656736b6 server/main: Allow setting log level using command line argument -l 2014-09-17 15:09:06 +03:00
Perttu Ahola
26ffe31b0b builtin/network: Properly set socket in listening state 2014-09-17 14:58:05 +03:00