Commit Graph

38 Commits

Author SHA1 Message Date
Guillermo Rauch
4f6734b006 Merge pull request #202 from 3rd-Eden/master
Misc
2011-05-09 15:19:46 -07:00
Guillermo Rauch
5ddc23f82e Fixed style [OCD-related work]. 2011-05-08 22:42:57 -07:00
Guillermo Rauch
910995a8f2 Fixed emission of non-socket.io events in SocketNamespace. 2011-05-08 22:42:31 -07:00
Guillermo Rauch
5f8192799b Fixed iteration of namespaces in Manager 2011-05-08 22:42:16 -07:00
Guillermo Rauch
790e916cd4 OCD-related work. 2011-05-08 20:46:29 -07:00
Guillermo Rauch
7f3c5f6a73 Fixed typo 2011-05-08 20:44:54 -07:00
Guillermo Rauch
4889057f9a Changed/Added some tests 2011-05-08 20:40:18 -07:00
Guillermo Rauch
a27a6ad2b6 Changed; only output CORS headers for cross-domain requests to minimize framing.
Changed debug instrumentation.
2011-05-08 20:38:53 -07:00
Guillermo Rauch
0a69b580c4 Added WebSocket#writeVolatile (and WebSocket#drained state)
Added WebSocket#doClose
2011-05-08 20:38:10 -07:00
Guillermo Rauch
6665e08cb7 Added HTTPTransport#doClose. 2011-05-08 20:37:49 -07:00
Guillermo Rauch
600c05bbbe Changed; leveraged Transport#close instead of Transport#write with empty string.
Added more debug instrumentation.
2011-05-08 20:37:08 -07:00
Guillermo Rauch
d5e922ba12 Changed debug statement. 2011-05-08 20:36:49 -07:00
Guillermo Rauch
c39191b3fd Added the notion of forced disconnects.
Added Transport#onSocketConnect interface.
Added Transport#clearTimeouts
Added heartbeat response handling.
Added Transport#close, Transport#onClose, chanaged Transport#end.
2011-05-08 20:35:38 -07:00
Guillermo Rauch
eb77c5e01a Added disconnction handler in Memory store. 2011-05-08 20:35:22 -07:00
Guillermo Rauch
d739f560b8 Added SocketNamespace#log getter.
Added SocketNamespace#socket to retrieve/create Sockets.
Added packet handling.
2011-05-08 20:34:28 -07:00
Guillermo Rauch
c32708c383 Changed; make sure to ignore newListener event when Socket#emit is overridden.
Changed; keep track of disconnected state and ACK callbacks.
Added; make sure to emit the `disconnect` event.
Removed readyState handling, shouldn't be part of the public API.
2011-05-08 20:31:21 -07:00
Guillermo Rauch
34a701fb7f Changed; initialize default namespace with Manager#for instead of manually.
Changed; perform error handling for Store#isHandshaken.
Added; handle manual disconnect urls.
Changed; make sure to initialize a socket for all namespaces when a client connects.
Changed; delegate packet handling to the appropriate SocketNamespace.
Changed; cache regular expression for checkRequest method.
2011-05-08 20:28:16 -07:00
Guillermo Rauch
b7488e7a13 Added failing disconnection event test 2011-05-07 18:33:43 -07:00
Guillermo Rauch
ed12f347eb Changed; make sure to clear polling timeout if the connection closes.
Added "clearPollTimeout" method
2011-05-07 18:33:17 -07:00
Guillermo Rauch
5d7c5f7471 Changed; make sure to compare the decoded packet representation with an empty
endpoint and advice.
2011-05-07 18:25:40 -07:00
Guillermo Rauch
416cd66591 Fix for detecting HTTP-based transports for get() test shortcut. 2011-05-07 18:25:14 -07:00
Guillermo Rauch
c3171be7a8 Added; implemented message handling at transport level for heartbeat clearing and
disconnection handling.
2011-05-07 18:24:45 -07:00
Guillermo Rauch
8cd476295a Added Store disconnect method 2011-05-07 18:24:29 -07:00
Guillermo Rauch
209426a9b0 Changed; implemented write-only Socket.
Added log accessor to Socket
2011-05-07 18:23:59 -07:00
Arnout Kazemier
8f1d96ad7f Updated the readme, fixed typos, changed socket.io requires to socket.io-node requires as that is the name according to the package.json.
Also updated the styling to fancy pancy HTML highlighting
2011-05-07 13:58:32 +02:00
Arnout Kazemier
3a5ab7675d Updated the package.json, added more keywords. Added repo and fixed the engine requirement or it will not work with future node versions. 2011-05-07 13:51:41 +02:00
Guillermo Rauch
ece9b120a9 Changed; allow for writeonly sockets (used to permit a specific socket to message
another socket, or group of sockets).
2011-05-06 20:23:42 -07:00
Guillermo Rauch
981a0e22b4 Changed; leverage new utilities signature. 2011-05-06 20:23:33 -07:00
Guillermo Rauch
80e8777dba Changed; leverage new utilities signature 2011-05-06 20:23:12 -07:00
Guillermo Rauch
0df8acc280 Fixed; ignore parser for empty GET responses.
Changed; style
2011-05-06 20:22:41 -07:00
Guillermo Rauch
4243ddfb89 Changed; utility functions signature now path, port, opts, fn, with opts being
optional.
Changed; parser override only for paths that include transports.
Changed; style.
2011-05-06 20:22:07 -07:00
Guillermo Rauch
9215d77898 Changed; make sure that get() decodes the payload and also preserves the frame parser. 2011-05-06 17:28:42 -07:00
Guillermo Rauch
d2c74536e0 Changed; improved htmlfile framing size. 2011-05-06 17:12:52 -07:00
Guillermo Rauch
deb45624ba Changed; test utilities now expose get / post / req
Changed; req now accepts a response parser
2011-05-06 17:01:11 -07:00
Guillermo Rauch
136850a7b5 Fixed; package json is now actual json (fixes #199) 2011-05-06 16:46:57 -07:00
Guillermo Rauch
42a4e6bc9e Updated README 2011-05-06 15:41:04 -07:00
Guillermo Rauch
c2d0774d46 Removed const (slow) 2011-05-06 15:12:51 -07:00
Guillermo Rauch
1514af064f Socket.IO 0.7-pre 2011-05-05 08:49:40 -07:00