Commit graph

75 commits

Author SHA1 Message Date
Chris Marsh
ffab428366 Don't need 2017-07-27 16:08:17 -07:00
Chris Marsh
20ad7e4ced OSX/linux version initial attempt 2017-07-27 16:08:17 -07:00
Chris Marsh
bfcfd10baa fix some warnings, format 2017-07-27 16:08:17 -07:00
Chris Marsh
f617f3b78d Let's just register in init 2017-07-27 13:29:24 -07:00
Chris Marsh
1f6fd05884 Add registry key to simplify launching 2017-07-27 11:56:19 -07:00
Chris Marsh
fbb9828538 Add install and bundle targets 2017-07-25 16:00:12 -07:00
Chris Marsh
eff657014b Add quit to test shutdown works; empty command to not send presence. 2017-07-25 14:33:12 -07:00
Chris Marsh
211350604b like using better 2017-07-25 13:56:56 -07:00
Chris Marsh
7dcc2d45e3 Make that define a cmake option. 2017-07-25 13:40:30 -07:00
Chris Marsh
eb2f6f8edc bootstrapping fix 2017-07-25 11:57:52 -07:00
Chris Marsh
7c07dba3f7 Handle initial connect failure better. 2017-07-25 11:41:12 -07:00
Chris Marsh
fbd8d6897d Automate running clang-format if it is available. 2017-07-25 11:02:28 -07:00
Chris Marsh
7a6172a300 Format 2017-07-25 09:27:48 -07:00
Chris Marsh
866e6d1104 Clean up this allocation junk 2017-07-25 09:06:48 -07:00
Chris Marsh
38c0599380 Just use stack allocations in parsing by default. 2017-07-24 14:59:45 -07:00
Chris Marsh
63058ddf23 Error message cb 2017-07-24 14:58:53 -07:00
Chris Marsh
88ab85c81e Rename, move some json stuff to header 2017-07-24 10:54:47 -07:00
Chris Marsh
449584b9c9 Register for events for our three callbacks 2017-07-21 15:42:59 -07:00
Chris Marsh
063a329a0b Wait for READY event for connection. 2017-07-21 13:54:52 -07:00
Chris Marsh
559f56b05c I'm still not convinced of this multiple ipc pipe thing. 2017-07-20 15:59:50 -07:00
Chris Marsh
6ea9c46f77 Rename a thing 2017-07-20 15:59:15 -07:00
Chris Marsh
827c056602 I like this better over here. 2017-07-20 15:08:34 -07:00
Chris Marsh
fa437ad897 Fix up sending presence format 2017-07-20 14:59:32 -07:00
Chris Marsh
85fc57dea2 getpid 2017-07-20 14:58:23 -07:00
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