Ian Gulliver
|
ac4437b7b2
|
Restructure promise API, use it in cosmo, add test.
|
2015-07-01 04:48:25 +00:00 |
|
Ian Gulliver
|
13fe1a07ce
|
Actually start calling promises.
|
2015-06-28 12:22:23 -07:00 |
|
Ian Gulliver
|
f2a3b3c677
|
TODO about locking issues
|
2015-06-28 11:56:41 -07:00 |
|
Ian Gulliver
|
d1a4510d2b
|
Refactoring for sanity, avoid some unnecessary copies.
|
2015-06-28 11:55:09 -07:00 |
|
Ian Gulliver
|
a3b6977088
|
More promise plumbing.
|
2015-06-28 11:43:17 -07:00 |
|
Ian Gulliver
|
4b79ef06de
|
Plumbing for promise integration.
|
2015-06-28 11:18:05 -07:00 |
|
Ian Gulliver
|
b29690734a
|
Move command queue to our own linked list, so we can attach promises.
Fix OS X build.
|
2015-06-28 09:54:03 -07:00 |
|
Ian Gulliver
|
f3e38ec8a6
|
Add double subscribe test.
|
2015-06-24 04:26:51 +00:00 |
|
Ian Gulliver
|
e5e81673ff
|
Add getmessages test.
|
2015-06-24 04:20:43 +00:00 |
|
Ian Gulliver
|
92d40db1cd
|
Add a TODO
|
2015-06-24 04:05:46 +00:00 |
|
Ian Gulliver
|
1482d81883
|
Strengthen some SSL options, pave the way for future options and public key pinning.
|
2015-06-24 04:01:32 +00:00 |
|
Ian Gulliver
|
e04f06e2e5
|
Autogenerate client IDs to make instantiation easier. Set us up for client ID rotation later.
|
2015-06-24 03:01:24 +00:00 |
|
Ian Gulliver
|
db9b63cec8
|
Switch to uuid names for Event keys, because appengine reuses model ids.
|
2015-06-22 20:56:27 -07:00 |
|
Ian Gulliver
|
f3bde736f7
|
Log timestamp of torture run start.
|
2015-06-23 03:45:00 +00:00 |
|
Ian Gulliver
|
e29838a58e
|
Fix reconnect test failure.
|
2015-06-20 17:42:54 +00:00 |
|
Ian Gulliver
|
494a1060f9
|
Debug log callbacks fired.
|
2015-06-20 15:37:21 +00:00 |
|
Ian Gulliver
|
a994c7e7ec
|
Clean up debug logging story.
|
2015-06-20 15:32:57 +00:00 |
|
Ian Gulliver
|
7ab52899de
|
Test-only fix, torture improvements.
|
2015-06-20 06:22:38 +00:00 |
|
Ian Gulliver
|
e382392170
|
Torture test script.
|
2015-06-20 05:48:45 +00:00 |
|
Ian Gulliver
|
0603c2c601
|
Merge branch 'master' of github.com:flamingcowtv/cosmopolite
|
2015-06-20 05:45:39 +00:00 |
|
Ian Gulliver
|
33ce1fe805
|
More resilient method for determining when we've reconnected.
|
2015-06-20 05:45:26 +00:00 |
|
Ian Gulliver
|
a8d0661626
|
Forgot the cron handler.
|
2015-06-19 22:43:41 -07:00 |
|
Ian Gulliver
|
33f368910f
|
Better method for tracking reconnect of polling clients.
|
2015-06-19 22:43:20 -07:00 |
|
Ian Gulliver
|
9a726558ca
|
Add complex object test.
|
2015-06-20 02:56:03 +00:00 |
|
Ian Gulliver
|
aa5751c89d
|
Bulk subscribe support (mainly just to mirror JS)
|
2015-06-20 01:16:50 +00:00 |
|
Ian Gulliver
|
65c118ce6c
|
Debugging support.
|
2015-06-19 22:57:11 +00:00 |
|
Ian Gulliver
|
f434b5ff7b
|
Rename and reorder tests to match test.js
|
2015-06-19 22:35:16 +00:00 |
|
Ian Gulliver
|
457cc92e1e
|
Add login callback.
|
2015-06-19 22:27:28 +00:00 |
|
Ian Gulliver
|
a850c79817
|
Hide cosmo struct definition from the public API.
|
2015-06-19 22:18:24 +00:00 |
|
Ian Gulliver
|
d89d1cc2f6
|
disconnect callback
|
2015-06-18 05:43:05 +00:00 |
|
Ian Gulliver
|
d0d0ed1e21
|
Add a connect callback.
|
2015-06-18 04:27:17 +00:00 |
|
Ian Gulliver
|
c72f2ff30e
|
Add resubscription after reconnect, with a test.
|
2015-06-18 04:11:13 +00:00 |
|
Ian Gulliver
|
f89e936f55
|
Don't delete all events, just the ones that are acked.
|
2015-06-15 21:31:21 -07:00 |
|
Ian Gulliver
|
1102701bea
|
Merge branch 'master' of github.com:flamingcowtv/cosmopolite
|
2015-06-15 21:25:25 -07:00 |
|
Ian Gulliver
|
0ead64a41d
|
Tell polling clients when we've recreated their connection and they need to resubscribe.
|
2015-06-15 21:25:00 -07:00 |
|
Ian Gulliver
|
601c82427a
|
Framework for resubscribing on reconnect, some parsing cleanups.
|
2015-06-16 04:24:43 +00:00 |
|
Ian Gulliver
|
2790b6bce1
|
Subscription state tracking, some parsing cleanups.
|
2015-06-16 02:15:17 +00:00 |
|
Ian Gulliver
|
1325ad570e
|
Event cleanup pipeline.
|
2015-06-14 21:48:36 -07:00 |
|
Ian Gulliver
|
4a6cb1f9bd
|
Boom, real passing tests.
|
2015-06-15 03:26:41 +00:00 |
|
Ian Gulliver
|
0df573171d
|
Change lots of keys to IDs for length.
|
2015-06-14 19:56:13 -07:00 |
|
Ian Gulliver
|
71514b7655
|
Move events from keys to ids.
|
2015-06-14 19:33:40 -07:00 |
|
Ian Gulliver
|
a006375441
|
Polling and acks.
|
2015-06-15 02:27:03 +00:00 |
|
Ian Gulliver
|
cc6ad7803a
|
Fix polling and acks.
|
2015-06-14 19:24:00 -07:00 |
|
Ian Gulliver
|
a63bd0abda
|
Rename funciton, allow acking.
|
2015-06-14 15:26:02 -07:00 |
|
Ian Gulliver
|
0a7adb63a6
|
Start of polling.
|
2015-06-14 22:19:18 +00:00 |
|
Ian Gulliver
|
0c0b7713ed
|
Merge branch 'master' of github.com:flamingcowtv/cosmopolite
|
2015-06-14 15:13:33 -07:00 |
|
Ian Gulliver
|
de25447566
|
Add some additional 'ok' return codes.
|
2015-06-14 15:13:13 -07:00 |
|
Ian Gulliver
|
c20605d3c2
|
Start of move to polling.
|
2015-06-14 22:12:03 +00:00 |
|
Ian Gulliver
|
e709514293
|
It's almost like real tests.
|
2015-06-14 21:41:43 +00:00 |
|
Ian Gulliver
|
8581ba7672
|
Start of a better C testing framework.
|
2015-06-14 21:28:01 +00:00 |
|