Guillermo Rauch
5f843feb90
namespace: make sure not to fire connection if underlying client closed after next is called from a middleware
2012-12-24 19:50:25 -03:00
Guillermo Rauch
01a06b2b62
Makefile: change slow param
2012-12-24 19:50:13 -03:00
Guillermo Rauch
46d069b3cc
test: added room tracking test
2012-12-24 15:07:23 -03:00
Guillermo Rauch
708af3f803
README: renamed joined to rooms
2012-12-24 15:07:13 -03:00
Guillermo Rauch
0881dfbdce
socket: rename joined to rooms
2012-12-24 15:07:04 -03:00
Guillermo Rauch
c54011b6a1
Readme: document Namespace#connected
2012-12-23 23:25:17 -03:00
Guillermo Rauch
f605b365b4
test: added broadcasting / namespace emit tests
2012-12-23 23:24:35 -03:00
Guillermo Rauch
1ec766799f
test: fix helper to take options
2012-12-23 23:24:19 -03:00
Guillermo Rauch
67f7d5749b
adapter: initial memory impl
2012-12-23 23:23:05 -03:00
Guillermo Rauch
95d8e7531c
socket: keep track of socket in connected hash
2012-12-23 23:21:50 -03:00
Guillermo Rauch
2e71357221
socket: added leaveAll
2012-12-23 23:21:37 -03:00
Guillermo Rauch
ef96e3b07f
socket: added leave
2012-12-23 23:21:18 -03:00
Guillermo Rauch
6046c385b9
socket: added join
2012-12-23 23:21:07 -03:00
Guillermo Rauch
e8d11924aa
socket: added in
2012-12-23 23:20:58 -03:00
Guillermo Rauch
eb0213882f
socket: fix emit
2012-12-23 23:20:46 -03:00
Guillermo Rauch
de8e746959
socket: rooms and flags are now hashes
2012-12-23 23:20:26 -03:00
Guillermo Rauch
dc173330e5
socket: fix flags
2012-12-23 23:20:13 -03:00
Guillermo Rauch
d65635d212
socket: rename rooms to joined
2012-12-23 23:20:03 -03:00
Guillermo Rauch
dd0fd539e6
namespace: fix emit
2012-12-23 23:19:05 -03:00
Guillermo Rauch
5d4f90de47
namespace: make in able to track multiple rooms
2012-12-23 23:18:48 -03:00
Guillermo Rauch
59c8c34ceb
namespace: fix flags
2012-12-23 23:18:38 -03:00
Guillermo Rauch
bcfec6df76
namespace: added connected hash
2012-12-23 23:18:26 -03:00
Guillermo Rauch
dbba592dfa
namespace: implement own flags
2012-12-23 23:18:14 -03:00
Guillermo Rauch
d411dec5a4
index: rename adaptor to adapter
2012-12-23 23:18:01 -03:00
Guillermo Rauch
ab5a226f3e
README: rename Adaptor to Adapter
2012-12-23 23:17:48 -03:00
roam
0dfa68c710
Fixed packet send callback design issue
...
There were two issues here.
1. When Socket.send called with or without callback alternately,
the trigger order is incorrect.
2. The 'drain' event from transport is one per packet for transports
supporting framing like websocket and is all in one for those without
framing like polling.
2012-12-20 00:49:32 +08:00
Guillermo Rauch
a92e8349f0
Release 1.0.3
2012-12-19 00:29:19 -03:00
Guillermo Rauch
fb857bd8b4
index: added Server#adaptor
2012-12-18 18:09:41 -03:00
Guillermo Rauch
2e5fdb65bd
README: improved getters/setters docs and added Adaptor section
2012-12-18 18:07:30 -03:00
Guillermo Rauch
b4f12ea2f9
README: document Socket#rooms
2012-12-18 18:02:28 -03:00
Guillermo Rauch
902373196e
socket: added broadcast flag
2012-12-18 17:28:14 -03:00
Guillermo Rauch
ae516a3f06
test: added args + callback events tests
2012-12-18 17:27:22 -03:00
Guillermo Rauch
ecf937c775
test: style
2012-12-18 17:27:09 -03:00
Guillermo Rauch
d1def44858
test: added event ack tests
2012-12-18 17:23:53 -03:00
Guillermo Rauch
7ff88f80a3
socket: fix Socket#ack
2012-12-18 17:22:50 -03:00
Guillermo Rauch
1b98649bc4
socket: style
2012-12-18 17:22:14 -03:00
Guillermo Rauch
381bc4260a
socket: forgot this js oddity that you can access objects with strings or numbers
2012-12-18 17:20:20 -03:00
Guillermo Rauch
8a5cb03fcb
socket: fix Socket#ack
2012-12-18 17:20:01 -03:00
Guillermo Rauch
22c91d8e49
socket: allow for falsy packet.id
2012-12-18 17:19:36 -03:00
Guillermo Rauch
344323a314
index: make sure decoded id is a Number
2012-12-18 17:16:05 -03:00
Guillermo Rauch
53dae5c6fc
index: added instrumentation through debug
2012-12-18 17:09:33 -03:00
Guillermo Rauch
bd37a9a34b
socket: protect against __proto__ deletion
2012-12-18 17:00:44 -03:00
Guillermo Rauch
f19131bfb0
Release 1.0.2
2012-12-18 16:31:38 -03:00
Guillermo Rauch
2fa98fb61a
package: bumped socket.io-parser
2012-12-18 15:50:14 -03:00
Guillermo Rauch
68c2e389bb
*: bumped socket.io-protocol
2012-12-18 15:49:42 -03:00
Guillermo Rauch
da048ee1bd
index: allow for falsy values in id and data
2012-12-18 15:44:23 -03:00
Guillermo Rauch
6b3cdd7c9c
test: added test for event emitting with send
2012-12-18 15:25:56 -03:00
Guillermo Rauch
3038ce5526
test: added event emitting test
2012-12-18 15:24:24 -03:00
Guillermo Rauch
a0020bcb2c
socket: fix event packet
2012-12-18 15:22:16 -03:00
Guillermo Rauch
c929f8c7fb
test: added socket event reception test
2012-12-18 15:18:26 -03:00