Commit Graph

461 Commits

Author SHA1 Message Date
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
Guillermo Rauch
96231d4987 Merge pull request #191 from 3rd-Eden/master
socket.json.*
2011-06-19 11:11:36 -07:00
Arnout Kazemier
9d4d06c5a6 Fixed socket.json.send and socket.json.emit 2011-06-19 20:08:53 +02:00
Guillermo Rauch
ee9dc67fb8 Added npm link to test-acceptance Makefile rule. 2011-06-19 14:53:32 -03:00
Guillermo Rauch
5f2092aa98 Merge pull request #190 from 3rd-Eden/develop
Styling + bugfix
2011-06-19 10:46:39 -07:00
Arnout Kazemier
1509fbcb19 Removed option.host, it should be provided by default in the constructor 2011-06-19 19:40:09 +02:00
Arnout Kazemier
6363b62f43 Fixed #188 and fixed a bug where secure wasn't correctly set 2011-06-19 19:27:07 +02:00
Arnout Kazemier
0b2ee0849f Styling 2011-06-19 19:10:14 +02:00
Guillermo Rauch
08c8ece68a Updated dev dependencies. 2011-06-19 13:46:01 -03:00
Guillermo Rauch
fb2bce672c Merge pull request #187 from 3rd-Eden/develop
Fixes
2011-06-19 05:15:48 -07:00
Arnout Kazemier
52e578d410 Fixed json and messages, we should have used $emit 2011-06-19 12:16:26 +02:00
Arnout Kazemier
1fc0c3cf29 Fixed stylus typo 2011-06-19 12:00:29 +02:00
Arnout Kazemier
ed70375e9d Added more devDependencies 2011-06-19 11:58:32 +02:00
Arnout Kazemier
a5315c80b8 Merge branch 'master' of https://github.com/LearnBoost/Socket.IO into develop 2011-06-19 11:12:27 +02:00
Guillermo Rauch
ca7383096d Build 2011-06-18 19:12:01 -03:00
Guillermo Rauch
9503c04a58 Merge branch 'master' of github.com:LearnBoost/Socket.IO 2011-06-18 19:08:47 -03:00
Guillermo Rauch
3cdb331221 Adapted test. 2011-06-18 19:05:34 -03:00
Guillermo Rauch
b05092b567 Added helper for creation of client-side sockets.
Added globals for state of suite and case.
2011-06-18 19:04:52 -03:00
Guillermo Rauch
15b752d6d2 Expose socket.io ports for each test. 2011-06-18 19:04:40 -03:00
Guillermo Rauch
1a45fd8159 Added socket.io server creator that matches servers. 2011-06-18 19:04:13 -03:00
Guillermo Rauch
b545744617 Merge pull request #186 from 3rd-Eden/develop
indexOf + don't emit handshake errors during reconnect
2011-06-18 13:58:45 -07:00
Arnout Kazemier
1450f9d3a1 Merge branch 'master' of https://github.com/LearnBoost/Socket.IO into develop 2011-06-18 22:55:11 +02:00
Guillermo Rauch
7b7c3d2d36 Added first integration test. Disabled for node until we have node transports. 2011-06-18 17:46:42 -03:00
Guillermo Rauch
9ccd67fd0a Added socket.test.js to list of tests to run. 2011-06-18 17:46:17 -03:00