Commit Graph

7693 Commits

Author SHA1 Message Date
Guillermo Rauch
1e7b4a596d Changed; trigger open in XHR transports right after starting polling. 2011-06-13 12:18:16 -03:00
Guillermo Rauch
7ec45b516a Added; process buffer after opening socket. 2011-06-13 12:17:54 -03:00
Guillermo Rauch
9218020111 Fixed; make sure to send connect packet after opening sub-socket. 2011-06-13 12:13:56 -03:00
Guillermo Rauch
240b2cd094 Added buffer and namespaces data structures initialization to Socket constructor. 2011-06-13 12:13:35 -03:00
Guillermo Rauch
bd2ce6ecf3 Fixed propagation of packets through SocketNamespace. 2011-06-13 12:10:23 -03:00
Guillermo Rauch
aafbf857dc Trading vim highlighting with pretty github highlighting. 2011-06-13 03:31:13 -03:00
Guillermo Rauch
005f251c69 Trying out GH highlighting. 2011-06-13 03:28:39 -03:00
Guillermo Rauch
94bc2bc05b Trying out GH highlighting. 2011-06-13 03:27:34 -03:00
Guillermo Rauch
c227426f7e Added Readme clarification. 2011-06-13 03:25:59 -03:00
Guillermo Rauch
f06af4f1a3 Updated build 2011-06-13 03:22:59 -03:00
Guillermo Rauch
292bd8ddb4 Added readme clarification 2011-06-13 03:22:11 -03:00
Guillermo Rauch
33e474de46 Trimming fat from repository. 2011-06-13 03:17:14 -03:00
Guillermo Rauch
32f216d2f7 Leveraged npm devDependencies for server. 2011-06-13 03:16:51 -03:00
Guillermo Rauch
0e64f6f746 Removed legacy client 2011-06-13 03:11:12 -03:00
Guillermo Rauch
ad059c7d86 Added chat example. 2011-06-13 03:06:27 -03:00
Guillermo Rauch
ea8cfc5c8f Fixed problem with multiple request handling.
Added proper cleanup
2011-06-13 02:58:10 -03:00
Guillermo Rauch
8fefeb7bd3 Added missing util#toArray. 2011-06-13 02:25:37 -03:00
Guillermo Rauch
838c5ed6f8 Removed automatic transport opening upon creation. 2011-06-12 21:45:29 -03:00
Guillermo Rauch
80c78de852 Fixed style and added TODO for Transport#onData handling. 2011-06-12 21:44:55 -03:00
Guillermo Rauch
f09ba3ba94 Removed onConnect upon socket open. 2011-06-12 21:34:44 -03:00
Guillermo Rauch
80e9edc6a7 Removed onConnect call in handshake since we now have connect packets for all
namespaces, including `''`.
Changed; style fixes
2011-06-12 21:31:10 -03:00
Guillermo Rauch
d931496aa6 Added missing ACK support to message, json and event packets.
Added ACK handling.
2011-06-12 21:30:14 -03:00
Guillermo Rauch
50640cd571 Added ack function to SocketNamespace packet handling. 2011-06-12 21:29:47 -03:00
Guillermo Rauch
ae3be33977 Fixed SocketNamespace signature. 2011-06-12 21:29:06 -03:00
Guillermo Rauch
138a6fb2ae Changed; perform default host/port setting in io#connect. 2011-06-12 21:27:19 -03:00
Guillermo Rauch
c6185ebb0d Adapted tests. 2011-06-12 19:50:40 -03:00
Guillermo Rauch
cecd0296af Added instrumentation for websocket packets. 2011-06-12 19:50:22 -03:00
Guillermo Rauch
d80a5f37a0 Added instrumentation for xhr packets. 2011-06-12 19:50:12 -03:00
Guillermo Rauch
1743baba29 Changed behavior of end and close events, and introduced swapped semaphore. 2011-06-12 19:49:50 -03:00
Guillermo Rauch
9cc1e775c1 Added handshaken instrumentation 2011-06-12 19:49:39 -03:00
Guillermo Rauch
b9ab031f0e Added callback to io.listen.
Removed race condition in websocket room tests (for real this time)
2011-06-12 12:35:18 -03:00
Guillermo Rauch
7d2efd99ab Added timeout for room messages. 2011-06-12 09:03:44 -03:00
Guillermo Rauch
4bd5805a32 Removed 2 extra tests (manual ACKs with .send) 2011-06-12 08:38:20 -03:00
Guillermo Rauch
e7b4d6a38d Fixed race condition in tests. 2011-06-12 08:38:06 -03:00
Guillermo Rauch
e77a363c3c Changed; .send ACK always automatic. 2011-06-12 08:37:40 -03:00
Guillermo Rauch
1db72e17f3 Simplified acks. 2011-06-12 08:37:27 -03:00
Guillermo Rauch
f40e9bde23 Fixed xhr-polling tests. 2011-06-12 07:58:35 -03:00
Guillermo Rauch
32cd5d7d55 Fixed ugly hack. 2011-06-12 07:58:05 -03:00
Guillermo Rauch
e574ba4a5c Fixed; added echo connect packet for all namespaces connections. 2011-06-12 07:53:46 -03:00
Guillermo Rauch
6583e9eac7 Simulate a connect packet when connecting to socket, to trigger the connect event
on '' namespace transparently.
2011-06-12 07:53:17 -03:00
Guillermo Rauch
50a8d2d50a Revert. 2011-06-11 22:56:55 -03:00
Guillermo Rauch
19a0fb6912 Always store consumer function. 2011-06-11 18:24:08 -03:00
Guillermo Rauch
2066aef41a Changed; minor thingies. 2011-06-11 18:22:29 -03:00
Guillermo Rauch
66c1d5fece Added right Content-Type header for JSONP handshake. 2011-06-11 18:18:55 -03:00
Guillermo Rauch
442f9d9522 Fixed JSON-p handshake error reporting (need tests!) 2011-06-11 18:14:18 -03:00
Guillermo Rauch
addf31ab26 Adapted client encoder/decoder for event spec change. 2011-06-11 18:10:38 -03:00
Guillermo Rauch
1db340aad5 Adapted server encoder/decoder for event spec change. 2011-06-11 18:10:03 -03:00
Guillermo Rauch
baa8056b41 Added coverage analysis flag to Makefile. 2011-06-11 17:37:38 -03:00
Guillermo Rauch
7433e58908 Adapted xhr-polling tests. 2011-06-11 17:34:20 -03:00
Guillermo Rauch
3091490cc2 Fixed style. 2011-06-11 17:34:10 -03:00