ee11358d7fnull or empty strings should be omitted
Chris Marsh
2017-08-02 14:57:02 -07:00
7324ae890csquelch warnings in 64bit compile
Chris Marsh
2017-08-02 14:56:39 -07:00
7fe7e2ab53Initial pass at a unity example... no callbacks yet.
Chris Marsh
2017-08-02 11:31:35 -07:00
27e39a0ec5Initial unity project example
Chris Marsh
2017-08-02 11:03:20 -07:00
60ad70adc2Fix ordering of ready/disconnect callbacks.
Chris Marsh
2017-08-02 10:44:55 -07:00
a7eb65355emissed a format
Chris Marsh
2017-08-02 10:44:08 -07:00
2311a26eb0Fix my dll making, also other cmake variable use
Chris Marsh
2017-08-01 13:32:56 -07:00
67a81b82cdMoar readme
Chris Marsh
2017-07-31 15:58:46 -07:00
1e971e1161Start on dllification
Chris Marsh
2017-07-31 15:58:39 -07:00
120fe1b069Make these use my helper functions
Chris Marsh
2017-07-31 15:40:31 -07:00
d5e6c4c11atrack open/close state in connection, disconnect on read error, clarify error codes a little
Chris Marsh
2017-07-31 14:42:36 -07:00
c3c27c730dnote max sizes
Chris Marsh
2017-07-28 16:06:46 -07:00
1b7f782f57register join and spectate handlers too
Chris Marsh
2017-07-28 13:53:05 -07:00
059ab337c8Seed random number generator
Chris Marsh
2017-07-28 13:52:34 -07:00
52bdc2714dMore complete presence data to test with.
Chris Marsh
2017-07-28 13:43:43 -07:00
98852fba82Wrap json writer the same way I did reader. More RAII for json writing so I'm less likely to mess it up again.
Chris Marsh
2017-07-28 13:42:58 -07:00
e69f9fbf71Just keep a single queued presence message.
Chris Marsh
2017-07-28 10:59:32 -07:00
a6a9b6259fmissed a format I guess
Chris Marsh
2017-07-28 10:57:22 -07:00
ef60ec40c3Do/wrap error checking around json reading
Chris Marsh
2017-07-28 10:03:05 -07:00
6774b5d881Only queue messages when connected.
Chris Marsh
2017-07-28 09:45:53 -07:00
6b10bd6c51Explain backoff
Chris Marsh
2017-07-28 09:45:11 -07:00
93d9ba10c2Fixup event names - GAME_XXXXX not XXXXX_GAME - Nuked the WantsPresence event
Jason Citron
2017-07-28 00:19:10 -07:00
6338a572d3Size key was missing from the party array
Jason Citron
2017-07-27 23:36:22 -07:00
9eb7e41c4btry more pipes
Chris Marsh
2017-07-27 16:02:47 -07:00
ffab428366Don't need
Chris Marsh
2017-07-27 15:24:35 -07:00
20ad7e4cedOSX/linux version initial attempt
Chris Marsh
2017-07-27 15:09:05 -07:00
bfcfd10baafix some warnings, format
Chris Marsh
2017-07-27 13:52:37 -07:00
f617f3b78dLet's just register in init
Chris Marsh
2017-07-27 13:29:24 -07:00
1f6fd05884Add registry key to simplify launching
Chris Marsh
2017-07-27 11:56:19 -07:00
fbb9828538Add install and bundle targets
v0.0.0
Chris Marsh
2017-07-25 16:00:12 -07:00
eff657014bAdd quit to test shutdown works; empty command to not send presence.
Chris Marsh
2017-07-25 14:33:12 -07:00
211350604blike using better
Chris Marsh
2017-07-25 13:56:56 -07:00
7dcc2d45e3Make that define a cmake option.
Chris Marsh
2017-07-25 13:40:30 -07:00
eb2f6f8edcbootstrapping fix
Chris Marsh
2017-07-25 11:57:52 -07:00
7c07dba3f7Handle initial connect failure better.
Chris Marsh
2017-07-25 11:41:12 -07:00
fbd8d6897dAutomate running clang-format if it is available.
Chris Marsh
2017-07-25 10:15:42 -07:00
7a6172a300Format
Chris Marsh
2017-07-25 09:27:48 -07:00
866e6d1104Clean up this allocation junk
Chris Marsh
2017-07-25 09:06:48 -07:00
38c0599380Just use stack allocations in parsing by default.
Chris Marsh
2017-07-24 14:59:45 -07:00
63058ddf23Error message cb
Chris Marsh
2017-07-24 14:58:53 -07:00
88ab85c81eRename, move some json stuff to header
Chris Marsh
2017-07-24 10:54:47 -07:00
449584b9c9Register for events for our three callbacks
Chris Marsh
2017-07-21 15:42:59 -07:00
063a329a0bWait for READY event for connection.
Chris Marsh
2017-07-21 13:54:52 -07:00
559f56b05cI'm still not convinced of this multiple ipc pipe thing.
Chris Marsh
2017-07-20 15:59:50 -07:00
6ea9c46f77Rename a thing
Chris Marsh
2017-07-20 15:59:15 -07:00
827c056602I like this better over here.
Chris Marsh
2017-07-20 15:08:34 -07:00
fa437ad897Fix up sending presence format
Chris Marsh
2017-07-20 14:59:32 -07:00
85fc57dea2getpid
Chris Marsh
2017-07-20 14:58:23 -07:00
79d70b8baeLet's use rapidjson instead of roll-your-own json. Added helpers to keep allocations minimized.
Chris Marsh
2017-07-20 13:24:18 -07:00
12054246a2C nonsense
Chris Marsh
2017-07-20 13:22:11 -07:00
c6c0aefa4fRename
Chris Marsh
2017-07-19 14:40:54 -07:00
0d6282fe33send a ping to test
Chris Marsh
2017-07-18 14:49:44 -07:00
29641da939clean out simplest version
Chris Marsh
2017-07-18 14:29:54 -07:00
79e0e336c5quieter
Chris Marsh
2017-07-18 11:13:22 -07:00
b947e6afe5Back off on reconnect rate
Chris Marsh
2017-07-18 11:10:39 -07:00
7082a13d49test server end instead of destroy connection
Chris Marsh
2017-07-18 09:48:06 -07:00
0d0485444dMake io thread optional
Chris Marsh
2017-07-18 09:47:33 -07:00
6168a36201fix params to cb
Chris Marsh
2017-07-18 09:46:49 -07:00
52290c488cDo need queue here. Writes async now.
Chris Marsh
2017-07-17 15:42:49 -07:00
444e10acafDon't need queue here
Chris Marsh
2017-07-17 15:42:06 -07:00
c8e81c2c81less magic number
Chris Marsh
2017-07-17 15:00:13 -07:00
0f10ebff43wip what layer some things should be in, mostly async now
Chris Marsh
2017-07-17 14:49:31 -07:00
9dc93f64b8wip
Chris Marsh
2017-07-17 09:28:54 -07:00
72446df921less stubby
Chris Marsh
2017-07-13 10:40:13 -07:00
2212ba5c43win32 only
Chris Marsh
2017-07-13 10:12:46 -07:00
b1399f9ed5yup
Chris Marsh
2017-07-13 10:11:09 -07:00
ea64751f70hmm
Chris Marsh
2017-07-13 10:10:09 -07:00
79823706e8stub unix
Chris Marsh
2017-07-13 10:08:14 -07:00
9e31f96691win32 only
Chris Marsh
2017-07-13 08:41:28 -07:00
930cd722d5Start using rapidjson
Chris Marsh
2017-07-13 08:32:08 -07:00
1b65e53da7Rename some things, stub of async version, download rapidjson in cmake file
Chris Marsh
2017-07-11 15:59:14 -07:00
e3d663bc95Fix this up a little so we retry a little right after failure.
Chris Marsh
2017-07-10 16:00:05 -07:00
f41137e5cfFix up sync version to new protocol
Chris Marsh
2017-07-10 15:25:47 -07:00
2a31affb81Fix up simple version to new protocol
Chris Marsh
2017-07-10 14:55:30 -07:00
381edef1fatesting
Chris Marsh
2017-07-10 14:54:58 -07:00
0de2509d2eUpdate message format for test js stuff
Chris Marsh
2017-07-07 16:00:29 -07:00
77b0e51691these need extern C
Chris Marsh
2017-07-07 14:00:29 -07:00
7c92afb392clean that out
Chris Marsh
2017-07-07 14:00:05 -07:00
e3e2fd72f4Start on adding update function
Chris Marsh
2017-07-07 09:41:20 -07:00
cb34ca725fEven simpler
Chris Marsh
2017-07-07 09:40:50 -07:00
6d7e279074Move some stuff, hook up connect/disconnect cbs
Chris Marsh
2017-07-06 11:46:13 -07:00
47c488ac6bMaking another one, cleaning up some
Chris Marsh
2017-06-30 16:18:54 -07:00
ae13d40b74blah
Chris Marsh
2017-06-30 14:37:06 -07:00
24b9dc001bignore vscode files
Chris Marsh
2017-06-30 14:35:27 -07:00
df02787af6Hey look, I can still do C if I really try.
Chris Marsh
2017-06-30 14:31:48 -07:00
2be56aebabRename
Chris Marsh
2017-06-30 13:57:53 -07:00
39d8336b06Moving files around; cleaned up example a little
Chris Marsh
2017-06-30 12:00:45 -07:00
0768b06ec1Make naming better, move some code around.
Chris Marsh
2017-06-29 16:04:44 -07:00
22e34d48c9Clean up a little, add gitignore
Chris Marsh
2017-06-29 09:38:07 -07:00
1a83c2872cTrying out cmake
Chris Marsh
2017-06-29 09:17:10 -07:00
4b77b81b2dVery minimal first version; connects, sends presence updates inline, disconnects. Other than opening pipe does no allocations.
Chris Marsh
2017-06-29 09:16:25 -07:00
390bed4d71Basic Zork game loop :-) Send presence on each command.
Chris Marsh
2017-06-29 08:59:59 -07:00
06047d4160Sync header defs with docs
Chris Marsh
2017-06-29 08:58:38 -07:00
d14e810be0Test server: print more diagnostics, track connections more
Chris Marsh
2017-06-29 08:58:03 -07:00
568de58f36step toward making this compilable
Chris Marsh
2017-06-27 13:19:58 -07:00
d0ad279d33pipe names
Chris Marsh
2017-06-27 13:19:36 -07:00
8e13ed2a63clean up sample to just basics for now, start stubbing in lib
Chris Marsh
2017-06-27 12:24:35 -07:00
6271f29996adding a js test server
Chris Marsh
2017-06-27 12:23:09 -07:00
661b5fa3b5initial commit
Chris Marsh
2017-06-23 16:04:36 -07:00