Commit Graph

492 Commits

Author SHA1 Message Date
Guillermo Rauch
ce6ed96189 Redone name assignment for transports. 2011-06-20 14:34:40 -03:00
Guillermo Rauch
9ce50b9c59 Merge branch 'master' of github.com:LearnBoost/Socket.IO 2011-06-20 09:01:57 -03:00
Guillermo Rauch
6d46ccd8c7 Build 2011-06-20 09:01:27 -03:00
Guillermo Rauch
bd84609fa3 Merge pull request #196 from 3rd-Eden/master
Load swf based on the connection options
2011-06-20 02:42:27 -07:00
Arnout Kazemier
f0d85b5a3f Merge branch 'master' of https://github.com/LearnBoost/Socket.IO 2011-06-20 11:38:48 +02:00
Arnout Kazemier
becc612279 Fixed url generation 2011-06-20 11:38:12 +02:00
Guillermo Rauch
1c8b8000de Merge branch 'master' of github.com:LearnBoost/Socket.IO 2011-06-20 06:17:18 -03:00
Guillermo Rauch
3fda1e6d35 Fixes cross domain XHR on IE8/9 2011-06-20 06:16:50 -03:00
Guillermo Rauch
0c7f44fc28 Merge pull request #195 from 3rd-Eden/master
prepareURL fixes
2011-06-20 01:54:20 -07: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