Nick Martin
dfd094e6c2
Bump dev bundle vno again.
2012-02-14 18:00:50 -08:00
Nick Martin
0fed828024
Update sockjs to just released 0.2.1.
2012-02-14 18:00:50 -08:00
Nick Martin
b1d4bc85e4
Fixup URL to connect to.
2012-02-14 18:00:50 -08:00
Nick Martin
ff25333349
Remove sockjs listeners correctly.
2012-02-14 18:00:50 -08:00
Nick Martin
a0156989bb
Cleanup socket.io artifact.
2012-02-14 18:00:50 -08:00
Nick Martin
19dc92a6c8
Retransmit pending methods on reconnect, and save them over restarts.
2012-02-14 18:00:50 -08:00
Nick Martin
91f479e9d4
First pass at using new sockjs API. Not at all complete, but passes data back and forth successfully.
2012-02-14 18:00:49 -08:00
Nick Martin
02278b3b5e
Add sockjs client library to stream package.
2012-02-14 18:00:49 -08:00
Nick Martin
7738236ed5
Remove socket.io special case in bundler. sockjs works in the bundle.
2012-02-14 18:00:49 -08:00
Nick Martin
577c779130
Remove unneeded require.
2012-02-14 18:00:49 -08:00
Nick Martin
c37b498436
Bump dev_bundle version number.
2012-02-14 18:00:49 -08:00
Nick Martin
63f893e407
Upgrade misc packages and remove unused package.
2012-02-14 18:00:49 -08:00
Nick Martin
2461bdd3dd
Add sockjs to dev bundle, and deprecate socket.io.
2012-02-14 18:00:49 -08:00
matt debergalis
2ed2e47c84
clean up startup package manifest.
2012-02-14 17:24:07 -08:00
matt debergalis
e1a9fb82b9
alias "future.return()": workaround for bug in js2-mode.
2012-02-14 09:33:25 -08:00
David Greenspan
587913154c
fixed test driver to not flush display; some optimizations
2012-02-13 20:08:07 -08:00
David Greenspan
f2cd91ef6b
updated Underscore to 1.3.1 to fix livedata bug
2012-02-13 14:55:07 -08:00
Nick Martin
3e3b522fde
Only send a data message if there is anything in it. Fixes a problem where we send lots of useless messages.
2012-02-13 14:06:37 -08:00
matt debergalis
b84f048c75
harmonize style: no parens after typeof
2012-02-10 15:43:12 -08:00
matt debergalis
8eeba106c5
add david
2012-02-10 13:14:16 -08:00
Geoff Schmidt
6118837311
Solve the "time travel" problem using database snapshots.
2012-02-09 22:27:48 -08:00
Geoff Schmidt
51d43b1feb
Implement livedata protocol methods.
...
Replaces old "custom collection API" functionality.
2012-02-09 21:36:38 -08:00
Geoff Schmidt
5f27e47c9f
Convert livedata and stream from closures to objects
2012-02-09 20:02:23 -08:00
matt debergalis
6c7a31b1fb
don't serve app html for missing /favicon.ico
2012-02-09 17:23:33 -08:00
Nick Martin
755541f55a
Update script to bump docs as well.
2012-02-09 15:07:03 -08:00
matt debergalis
048f39ca23
bump
2012-02-09 15:03:57 -08:00
Nick Martin
93cce72a65
Bump to version 0.1.4
v0.1.4
2012-02-09 15:02:04 -08:00
matt debergalis
99d3c6cdf5
cache bundled CSS and JS forever
2012-02-09 14:08:38 -08:00
Nick Martin
4abfc27128
Remove very spammy console message that were cluttering the console.
2012-02-08 22:48:45 -08:00
Nick Martin
23354ffcab
Beginning of an automated test script for the CLI.
2012-02-08 22:44:43 -08:00
matt debergalis
4a39318519
Merge branch 'new-protocol'
2012-02-08 13:18:32 -08:00
Nick Martin
c84e8d572f
Add a time field to the skeleton app's objects.
...
Skel counted empty objects, which Live Data will now delete. Adding a
timestamp preserves each object.
2012-02-08 13:15:16 -08:00
Nick Martin
9273b9f69d
Implement Live Data protocol: 'method' and 'result'.
...
The Minimongo insert/update/remove handlers are now implemented as
standard method invocations over the wire, though the client and server
implementations remain separate code paths.
Return values from server-side methods now get sent back to the client
via a 'result' message, but that result isn't wired up to anything
client-side yet.
Server now informs client when outstanding subscriptions and methods
invocations are fully reflected in 'data' messages back to the client.
2012-02-08 13:15:16 -08:00
Nick Martin
08fa853fca
Implement Live Data protocol: 'connect' and 'connected'.
...
For now, high-level behavior is the same. When the transport
disconnects, client doesn't attempt to reuse previous session.
Server always establishes a new Live Data session with each connect.
Server does not support method reply cache, and won't honor a client's
attempt to reuse a previous Live Data session id.
2012-02-08 13:11:14 -08:00
matt debergalis
acd3e24eec
Implement Live Data protocol: 'sub', 'unsub', 'nosub'.
2012-02-08 13:10:58 -08:00
matt debergalis
d23b7ff197
Implement Live Data protocol: 'data'.
...
server now sends attribute diffs to the client, rather than sets of
documents.
2012-02-08 13:04:51 -08:00
Nick Martin
7a88230e48
Somehow 'reload' wasn't included in stream's package.js. Not sure how this worked for me previously.
2012-02-07 14:51:35 -08:00
David Greenspan
476db8cccb
Meteor.Collection() -> new Collection() in tests
2012-02-07 12:06:51 -08:00
David Greenspan
f1368be4d8
Refactor liverange for clarity (and to learn it). Tests pass, whew!
2012-02-07 12:02:34 -08:00
Nick Martin
477dd7eed8
Merge branch 'automatic-reloads'
2012-02-06 23:16:25 -08:00
Nick Martin
88feb09b30
Comments and cleanups.
2012-02-06 23:15:31 -08:00
Nick Martin
c1c8f6f7fe
Rework so as not to use window.location.hash.
2012-02-06 23:15:31 -08:00
Nick Martin
453cffe99a
Make leaderboard safe for session being defined at startup (which happens on reloads).
2012-02-06 23:15:31 -08:00
Nick Martin
6623c245eb
Implement reloading! Mostly works on Chrome.
2012-02-06 23:15:31 -08:00
Nick Martin
6f3cd0324c
api.use must come before api.add_file otherwise it isn't loaded in time.
2012-02-06 23:15:31 -08:00
Nick Martin
03d06a33b1
Tweak retry timeout to try to reconnect quickly the first few times. This makes automatic reloads much faster.
2012-02-06 23:15:31 -08:00
Nick Martin
68511f2dc4
Wire up reload package. Doesn't actually do anything yet, but all the pieces should be in place now.
2012-02-06 23:15:31 -08:00
Nick Martin
cf4cab282e
Add uuid to each server, make client save that off and reload if it changes.
2012-02-06 23:15:31 -08:00
Nick Martin
bd02b31a55
move uuid to it's own package, so stream can depend on it.
2012-02-06 23:15:31 -08:00
Nick Martin
8def45079a
Queue connections while server is restarting.
2012-02-06 23:15:31 -08:00