This website requires JavaScript.
cc6ad7803a
Fix polling and acks.
Ian Gulliver
2015-06-14 19:24:00 -07:00
a63bd0abda
Rename funciton, allow acking.
Ian Gulliver
2015-06-14 15:26:02 -07:00
0a7adb63a6
Start of polling.
Ian Gulliver
2015-06-14 22:19:18 +00:00
0c0b7713ed
Merge branch 'master' of github.com:flamingcowtv/cosmopolite
Ian Gulliver
2015-06-14 15:13:33 -07:00
de25447566
Add some additional 'ok' return codes.
Ian Gulliver
2015-06-14 15:13:13 -07:00
c20605d3c2
Start of move to polling.
Ian Gulliver
2015-06-14 22:12:03 +00:00
e709514293
It's almost like real tests.
Ian Gulliver
2015-06-14 21:41:43 +00:00
8581ba7672
Start of a better C testing framework.
Ian Gulliver
2015-06-14 21:28:01 +00:00
6c145bf259
Ignore test binary
Ian Gulliver
2015-06-14 20:50:31 +00:00
885e7e8715
New makefile target to run valgrind with the correct options
Ian Gulliver
2015-06-14 07:39:37 +00:00
b8204944c9
Add supressions for valgrind due to libcurl being junk.
Ian Gulliver
2015-06-14 07:38:16 +00:00
da865c3f54
Add missing include
Ian Gulliver
2015-06-14 00:33:10 +00:00
43b59c713a
Minor fixes.
Ian Gulliver
2015-06-14 00:21:32 +00:00
71a972688c
Build fixes for linux.
Ian Gulliver
2015-06-13 20:59:31 +00:00
2ea3dcee71
More portable random number generation.
Ian Gulliver
2015-06-13 20:56:36 +00:00
33579856c8
Untested code for polling instances.
Ian Gulliver
2015-06-12 19:57:55 -07:00
d94b3d08ae
Add passthrough pointer, better Makefile.
Ian Gulliver
2015-06-10 19:50:26 -07:00
b9564576d3
Decode incoming message JSON.
Ian Gulliver
2015-06-09 21:32:34 -07:00
8d9683a00c
Callback framework, message callback.
Ian Gulliver
2015-06-07 15:30:08 -07:00
e24794b229
Remove all the pin support for now.
Ian Gulliver
2015-06-07 14:45:21 -07:00
3995a4d0d9
Don't send pins until a subscription is established, since unpin events never come in that case.
Ian Gulliver
2015-06-07 14:16:54 -07:00
190e1eb182
onpin support, but onunpin never fires, so mostly useless right now.
Ian Gulliver
2015-06-07 10:14:15 -07:00
3f40ddb037
Add a big nasty hack to short-circuit lots of event transmission until we get channels working.
Ian Gulliver
2015-06-06 19:37:04 -07:00
45d75172bf
Handle incoming message events. Fix unsubscribe.
Ian Gulliver
2015-06-06 19:17:42 -07:00
75853c47ac
Implement the cached message & pin fetching functions.
Ian Gulliver
2015-06-06 17:28:49 -07:00
27a7343fed
Implement subscription tracking, cosmo_unsubscribe()
Ian Gulliver
2015-06-06 17:15:32 -07:00
2d556844b5
API TODO list.
Ian Gulliver
2015-06-06 16:05:11 -07:00
b257b23e8a
Add cosmo_current_profile()
Ian Gulliver
2015-06-06 15:32:13 -07:00
897e13010d
Standardize names, modulo style, with JS.
Ian Gulliver
2015-06-06 14:59:08 -07:00
b66b7cc083
Add cosmo_send_message()
Ian Gulliver
2015-06-06 14:56:23 -07:00
6fd030e0bc
Move everything into cosmopolite.c
Ian Gulliver
2015-06-06 14:43:40 -07:00
db7f9bdd9b
Move more curl opts to be global.
Ian Gulliver
2015-06-06 14:34:03 -07:00
22e6ff8090
Makefile, better gitignore
Ian Gulliver
2015-06-06 14:32:52 -07:00
d9e3bd727e
Keep a curl instance around to re-use the connection.
Ian Gulliver
2015-06-06 10:54:58 -07:00
fffbf0f30c
Start of a public header.
Ian Gulliver
2015-06-06 10:44:46 -07:00
f055809a22
Make URL a parameter.
Ian Gulliver
2015-06-06 10:39:33 -07:00
d596ff1444
Retry and backoff working properly.
Ian Gulliver
2015-06-05 23:20:07 -07:00
f8c40a65c5
Response parsing and RPC retries.
Ian Gulliver
2015-06-03 22:45:07 -07:00
28c1f9612c
Actually send commands!
Ian Gulliver
2015-06-03 22:24:07 -07:00
c4ed549342
Move to condition variable communication.
Ian Gulliver
2015-06-03 20:53:27 -07:00
9e4cefb27e
Simplified ownership.
Ian Gulliver
2015-06-03 20:32:00 -07:00
f5cff306de
Start some sanity refactoring.
Ian Gulliver
2015-06-03 20:15:31 -07:00
872426aa78
Store and parse return values, partially handle errors.
Ian Gulliver
2015-06-02 22:53:15 -07:00
b2d595322c
Start of C client library.
Ian Gulliver
2015-06-02 22:21:28 -07:00
1e6da9504a
Set request and response content type to json.
Ian Gulliver
2015-05-31 21:23:45 -07:00
761cb92767
Doc updates for the change in event handling framework.
Ian Gulliver
2015-05-31 18:33:31 -07:00
3fa24f803d
Switch to idiomatic JS Event framework. Remove Unity debugging, as we no longer have interested clients.
Ian Gulliver
2015-05-31 18:00:07 -07:00
014fde230a
Merge branch 'master' of github.com:flamingcowtv/cosmopolite
Ian Gulliver
2015-05-31 16:48:07 -07:00
7e3af49303
Fix test race condition in Profile merge.
Ian Gulliver
2015-05-31 10:07:07 -07:00
eb536ae20a
Change XMLHttpRequest call ordering to satisfy firefox.
Ian Gulliver
2014-11-15 17:30:02 -08:00
1ca44a764e
Log chaos monkey 503s
Ian Gulliver
2014-11-13 13:46:21 -08:00
0aa1d6c41c
Attach a random 32-bit unsigned integer to each message for game protocols.
Ian Gulliver
2014-11-11 15:56:31 -08:00
72c7453091
Style fixes.
Ian Gulliver
2014-06-27 23:17:33 -07:00
f12d8cb8ea
Keep up with QUnit API change.
Ian Gulliver
2014-06-27 23:15:53 -07:00
f675715317
Bugfixes for "me" ACL.
Ian Gulliver
2014-06-21 17:29:10 -07:00
eacb6bd7ba
Use "me" ACL in debug interface.
Ian Gulliver
2014-06-21 12:21:23 -07:00
88c49d6371
Log instance IDs in internal channel callbacks.
Ian Gulliver
2014-06-21 00:15:01 -07:00
368c704b81
Translate events in pre-channel subscribe responses.
Ian Gulliver
2014-06-19 23:36:47 -07:00
381283d864
Document "me" ACL.
Ian Gulliver
2014-06-19 23:30:30 -07:00
f1bfb42258
Document connected()
Ian Gulliver
2014-06-19 23:28:21 -07:00
3c452dabf3
Add message translation layer than can handle "me" as an ACL.
Ian Gulliver
2014-06-19 23:14:26 -07:00
fec7ee2556
Extern for connected()
Ian Gulliver
2014-06-17 21:29:57 -07:00
959049af59
Add connected() function.
Ian Gulliver
2014-06-17 21:28:47 -07:00
c210d826b2
Send profile with every RPC response.
Ian Gulliver
2014-06-17 21:14:59 -07:00
a1ee25a937
Clear pin state before subscribe events.
Ian Gulliver
2014-06-17 21:06:43 -07:00
cb862d787d
Add hashCode to externs.
Ian Gulliver
2014-06-16 21:34:41 -07:00
3629f3c266
Const correctness for private members
Ian Gulliver
2014-06-15 14:46:06 -07:00
bf07fc6196
Doc cleanups. Make public docstrings refer to the website.
Ian Gulliver
2014-06-14 12:23:19 -07:00
a51359068f
Flesh out externs file
Ian Gulliver
2014-06-14 12:21:16 -07:00
7ef3e5ab0c
Add referenced typedefs.
Ian Gulliver
2014-06-14 11:05:53 -07:00
fb0d695d6e
Start of cosmopolite externs.
Ian Gulliver
2014-06-14 11:00:35 -07:00
d88e6b618a
Remove jquery externs
Ian Gulliver
2014-06-14 10:36:23 -07:00
ffc597f222
Document uuid()
Ian Gulliver
2014-06-14 10:28:52 -07:00
10b4c10e83
Make uuid() public
Ian Gulliver
2014-06-13 22:13:01 -07:00
7d45f44265
Survive clearing of localStorage while we're running by caching client ID.
Ian Gulliver
2014-06-13 21:33:19 -07:00
cded0a2865
Fix expiration units.
Ian Gulliver
2014-06-13 21:26:37 -07:00
2be4467784
Compress image, lengthen cache lifetime.
Ian Gulliver
2014-06-13 21:20:13 -07:00
28daefd58a
Enable more pagspeed.
Ian Gulliver
2014-06-13 18:27:34 -07:00
107b0a3132
Remove junk styles.
Ian Gulliver
2014-06-13 18:24:20 -07:00
568e1ad04f
Document new sendMessage resolution callback argument.
Ian Gulliver
2014-06-12 23:14:37 -07:00
40229ff0c0
Return the new message for sendMessage and pin RPCs. Pass it through the sendMessage Promise callback.
Ian Gulliver
2014-06-12 23:12:00 -07:00
493f7b1456
Closure compiler has moved to github
Ian Gulliver
2014-06-12 23:11:48 -07:00
fed379ddc7
Remove duplicate message logging; they're a normal thing now.
Ian Gulliver
2014-06-12 22:55:27 -07:00
5b9dc202b7
Document batch subscribe behavior.
Ian Gulliver
2014-06-12 21:18:04 -07:00
828a9c50ea
Add bulk subscribe support.
Ian Gulliver
2014-06-11 21:46:50 -07:00
bc42e8d5e3
Compiler fixes
Ian Gulliver
2014-06-11 21:32:17 -07:00
d09eee1259
Clean up use of promises to do more sensible things with exceptions.
Ian Gulliver
2014-06-11 21:11:22 -07:00
66c1564980
Add server-side info logging.
Ian Gulliver
2014-06-09 23:51:41 -07:00
1904d6bf50
More reliable document ready detection.
Ian Gulliver
2014-06-09 23:04:18 -07:00
8af50befbe
Don't try to add things to the DOM until it loads.
Ian Gulliver
2014-06-09 22:47:51 -07:00
5d1c4407e0
Add ability to send/receive arbitrary objects from the debug console.
Ian Gulliver
2014-06-09 22:20:17 -07:00
2692d540e8
Change delay to milliseconds and make the backoff/stagger algorithm smarter.
Ian Gulliver
2014-06-09 22:11:34 -07:00
a164d7e7e4
Add mailing list link
Ian Gulliver
2014-06-08 23:59:15 -07:00
a2c32c833e
More website links.
Ian Gulliver
2014-06-08 23:57:47 -07:00
ceb3b77897
Add website link in readme
Ian Gulliver
2014-06-08 23:56:02 -07:00
23f0ce5cc0
Add debug page support for admin ACLs.
Ian Gulliver
2014-06-08 23:55:27 -07:00
53eea12572
Add documentation for magic "admin" value
Ian Gulliver
2014-06-08 23:44:08 -07:00
d2e7b76df9
Add support for magic "admin" ACL that is only satisfied by appengine administrators.
Ian Gulliver
2014-06-08 23:41:23 -07:00
44ede2abbf
Record IP addresses for messages and pins to support later banning.
Ian Gulliver
2014-06-08 22:04:53 -07:00
322eb14a5d
Fix bug when attempt to re-open channel
Ian Gulliver
2014-06-08 21:54:57 -07:00