Commit Graph

251 Commits

Author SHA1 Message Date
Chris Marsh
79d70b8bae Let's use rapidjson instead of roll-your-own json. Added helpers to keep allocations minimized. 2017-07-20 13:24:18 -07:00
Chris Marsh
12054246a2 C nonsense 2017-07-20 13:22:11 -07:00
Chris Marsh
c6c0aefa4f Rename 2017-07-19 14:40:54 -07:00
Chris Marsh
0d6282fe33 send a ping to test 2017-07-18 16:06:07 -07:00
Chris Marsh
29641da939 clean out simplest version 2017-07-18 14:31:24 -07:00
Chris Marsh
79e0e336c5 quieter 2017-07-18 11:13:22 -07:00
Chris Marsh
b947e6afe5 Back off on reconnect rate 2017-07-18 11:10:39 -07:00
Chris Marsh
7082a13d49 test server end instead of destroy connection 2017-07-18 09:48:06 -07:00
Chris Marsh
0d0485444d Make io thread optional 2017-07-18 09:47:33 -07:00
Chris Marsh
6168a36201 fix params to cb 2017-07-18 09:46:49 -07:00
Chris Marsh
52290c488c Do need queue here. Writes async now. 2017-07-17 15:42:49 -07:00
Chris Marsh
444e10acaf Don't need queue here 2017-07-17 15:42:06 -07:00
Chris Marsh
c8e81c2c81 less magic number 2017-07-17 15:00:13 -07:00
Chris Marsh
0f10ebff43 wip what layer some things should be in, mostly async now 2017-07-17 14:49:31 -07:00
Chris Marsh
9dc93f64b8 wip 2017-07-17 09:28:54 -07:00
Chris Marsh
72446df921 less stubby 2017-07-13 10:47:18 -07:00
Chris Marsh
2212ba5c43 win32 only 2017-07-13 10:12:46 -07:00
Chris Marsh
b1399f9ed5 yup 2017-07-13 10:11:09 -07:00
Chris Marsh
ea64751f70 hmm 2017-07-13 10:10:09 -07:00
Chris Marsh
79823706e8 stub unix 2017-07-13 10:08:14 -07:00
Chris Marsh
9e31f96691 win32 only 2017-07-13 08:43:15 -07:00
Chris Marsh
930cd722d5 Start using rapidjson 2017-07-13 08:32:08 -07:00
Chris Marsh
1b65e53da7 Rename some things, stub of async version, download rapidjson in cmake file 2017-07-11 15:59:14 -07:00
Chris Marsh
e3d663bc95 Fix this up a little so we retry a little right after failure. 2017-07-10 16:00:05 -07:00
Chris Marsh
f41137e5cf Fix up sync version to new protocol 2017-07-10 15:25:47 -07:00
Chris Marsh
2a31affb81 Fix up simple version to new protocol 2017-07-10 14:55:30 -07:00
Chris Marsh
381edef1fa testing 2017-07-10 14:54:58 -07:00
Chris Marsh
0de2509d2e Update message format for test js stuff 2017-07-07 16:00:29 -07:00
Chris Marsh
77b0e51691 these need extern C 2017-07-07 14:00:29 -07:00
Chris Marsh
7c92afb392 clean that out 2017-07-07 14:00:05 -07:00
Chris Marsh
e3e2fd72f4 Start on adding update function 2017-07-07 09:41:20 -07:00
Chris Marsh
cb34ca725f Even simpler 2017-07-07 09:40:50 -07:00
Chris Marsh
6d7e279074 Move some stuff, hook up connect/disconnect cbs 2017-07-06 11:46:13 -07:00
Chris Marsh
47c488ac6b Making another one, cleaning up some 2017-06-30 16:18:54 -07:00
Chris Marsh
ae13d40b74 blah 2017-06-30 14:37:06 -07:00
Chris Marsh
24b9dc001b ignore vscode files 2017-06-30 14:35:27 -07:00
Chris Marsh
df02787af6 Hey look, I can still do C if I really try. 2017-06-30 14:31:48 -07:00
Chris Marsh
2be56aebab Rename 2017-06-30 13:57:53 -07:00
Chris Marsh
39d8336b06 Moving files around; cleaned up example a little 2017-06-30 12:00:45 -07:00
Chris Marsh
0768b06ec1 Make naming better, move some code around. 2017-06-29 16:04:44 -07:00
Chris Marsh
22e34d48c9 Clean up a little, add gitignore 2017-06-29 12:46:13 -07:00
Chris Marsh
1a83c2872c Trying out cmake 2017-06-29 09:17:10 -07:00
Chris Marsh
4b77b81b2d Very minimal first version; connects, sends presence updates inline, disconnects. Other than opening pipe does no allocations. 2017-06-29 09:16:25 -07:00
Chris Marsh
390bed4d71 Basic Zork game loop :-)
Send presence on each command.
2017-06-29 08:59:59 -07:00
Chris Marsh
06047d4160 Sync header defs with docs 2017-06-29 08:58:38 -07:00
Chris Marsh
d14e810be0 Test server: print more diagnostics, track connections more 2017-06-29 08:58:03 -07:00
Chris Marsh
568de58f36 step toward making this compilable 2017-06-27 13:19:58 -07:00
Chris Marsh
d0ad279d33 pipe names 2017-06-27 13:19:36 -07:00
Chris Marsh
8e13ed2a63 clean up sample to just basics for now, start stubbing in lib 2017-06-27 12:24:35 -07:00
Chris Marsh
6271f29996 adding a js test server 2017-06-27 12:23:09 -07:00