Commit Graph

484 Commits

Author SHA1 Message Date
Arnout Kazemier
becc612279 Fixed url generation 2011-06-20 11:38:12 +02:00
Arnout Kazemier
e97d414439 Removed console.log 2011-06-20 10:53:13 +02:00
Arnout Kazemier
09d80164c3 Merge branch 'master' of https://github.com/LearnBoost/Socket.IO 2011-06-20 08:49:58 +02:00
Guillermo Rauch
90641c1f34 Added test for emitting an event to server and sending back data. 2011-06-19 23:12:13 -03:00
Guillermo Rauch
0408725373 Added test for emitting an event from server and ACKing back data. 2011-06-19 23:08:16 -03:00
Guillermo Rauch
af258f48d9 Added test for emitting an event to server. 2011-06-19 23:05:46 -03:00
Guillermo Rauch
5e3d88d082 Added test for emitting an event from server. 2011-06-19 22:51:34 -03:00
Guillermo Rauch
57eedc0184 Added test for sending json from client. 2011-06-19 22:40:12 -03:00
Guillermo Rauch
883cddac0d Added test for sending json from server. 2011-06-19 22:30:40 -03:00
Guillermo Rauch
1f81e60c8c Added test for namespaces disconnection 2011-06-19 22:09:27 -03:00
Guillermo Rauch
28e6886ca1 Make sure to disconnect socket. 2011-06-19 21:41:26 -03:00
Guillermo Rauch
79b337125e Added Socket namespaces tests. Passes smoothly :D 2011-06-19 21:18:15 -03:00
Guillermo Rauch
93ed4954e1 Build. 2011-06-19 21:08:35 -03:00
Guillermo Rauch
bb9f6d9ed1 Added test for server-sent acks. 2011-06-19 21:08:24 -03:00
Guillermo Rauch
b399db0b95 Added client side ack test. 2011-06-19 20:59:41 -03:00
Guillermo Rauch
96a4a49ccd Added server sid ack test. 2011-06-19 20:59:31 -03:00
Guillermo Rauch
c2a5958c1d Fixed tests race condition when re-running a same instance. 2011-06-19 20:57:10 -03:00
Guillermo Rauch
67c9d02a93 Fixed ack handling for regular messages. 2011-06-19 20:55:09 -03:00
Arnout Kazemier
3742c76c90 Merge branch 'master' of https://github.com/LearnBoost/Socket.IO 2011-06-20 00:58:10 +02:00
Arnout Kazemier
98811fdbc2 Fixed cross port connection issues, and simplified the prepareURL stuff 2011-06-20 00:55:51 +02:00
Guillermo Rauch
6b7dd5ff5c Build. 2011-06-19 19:55:33 -03:00
Guillermo Rauch
bbf4b061de Added test for sending messages from browser. 2011-06-19 19:55:00 -03:00
Guillermo Rauch
0ba64df737 Merge pull request #194 from 3rd-Eden/master
Handle errors and advice
2011-06-19 15:46:48 -07:00
Arnout Kazemier
59355dd877 Handle reconnect advice 2011-06-20 00:42:47 +02:00
Guillermo Rauch
412341f713 Fixed builder test 2011-06-19 19:12:26 -03:00
Guillermo Rauch
0aeac333da Removed dead code 2011-06-19 19:11:41 -03:00
Guillermo Rauch
98a5792bf7 Build conflict. 2011-06-19 18:25:58 -03:00
Guillermo Rauch
401966ddd6 Build. 2011-06-19 18:25:32 -03:00
Guillermo Rauch
42676b1972 Added client side integation test for messages reception. 2011-06-19 18:25:16 -03:00
Guillermo Rauch
4c23b01666 Added integration test for messages emission. 2011-06-19 18:24:59 -03:00
Guillermo Rauch
ea234f31d5 Fixed port assignment for socket.io servers creation. 2011-06-19 18:24:20 -03:00
Guillermo Rauch
82925b092c Fixed style. 2011-06-19 18:24:12 -03:00
Guillermo Rauch
2766f777db Changed; expose CORS feature detection from util. 2011-06-19 18:23:43 -03:00
Guillermo Rauch
d392d132c0 Fixed; before we were handling a forced client disconnection as a transport
disconnection, which is conceptually wrong as the connection was healthy.
2011-06-19 18:23:02 -03:00
Guillermo Rauch
e8bea5cc1e Fixed; avoid reconnection on forced client disconnections (both for when the server
kicks a client and the client disconnects itself.
2011-06-19 18:22:09 -03:00
Guillermo Rauch
e6e34d461e Added Socket#disconnectSync private function. 2011-06-19 18:21:51 -03:00
Guillermo Rauch
a96df88297 Changed; make sure to attach a reason to forced client disconnection to attach a reason to forced client disconnection 2011-06-19 18:21:23 -03:00
Guillermo Rauch
ba96bff4f0 Removed sync logic from main disconnect function. 2011-06-19 18:21:01 -03:00
Guillermo Rauch
565974b651 Removed sync option from Socket#disconnect. 2011-06-19 18:20:13 -03:00
Guillermo Rauch
cfad7509ec Fixed style. 2011-06-19 18:19:58 -03:00
Guillermo Rauch
7080cd0145 Fixed sync disconnect packet, as it can only be done for non-cross domain situations
and browsers with CORS (XDomainRequest does not allow for sync requests).
2011-06-19 18:19:12 -03:00
Guillermo Rauch
0c49ee9ef0 Fixed json and message packets. 2011-06-19 18:18:46 -03:00
Guillermo Rauch
c5b7222866 Fixed; disconnect packet for namespace '' means total socket disconnection, and
otherwise we just fire the `disconnect` event for the namespace.
2011-06-19 18:16:26 -03:00
Guillermo Rauch
6075360235 Changed; handled connect packet type separately on socket namespaces. 2011-06-19 18:16:02 -03:00
Guillermo Rauch
5a2ff26d5e Added missing SocketNamespace#disconnect. 2011-06-19 18:15:27 -03:00
Guillermo Rauch
fc95f0bf4d Removed test-runner package.json. This is now taken care by devDependencies of
the main `package.json`. Thanks V1.
2011-06-19 18:14:44 -03:00
Guillermo Rauch
1ef8e529c8 Merge pull request #193 from whit537/master
The multiple sockets example said "chat" when it meant "news."
2011-06-19 13:26:03 -07:00
Guillermo Rauch
e87577cdec Merge pull request #192 from 3rd-Eden/master
Allow a options in io.connect
2011-06-19 13:23:05 -07:00
Chad Whitacre
33539dfd56 Fix minor type in README.md. 2011-06-19 16:06:50 -04:00
Arnout Kazemier
db7b2a01a9 Fixed io.connect, should take argument 2011-06-19 22:06:22 +02:00