Commit Graph

7693 Commits

Author SHA1 Message Date
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
Arnout Kazemier
32bf6fecd4 Return instead of wrapping code in a big if statement 2011-06-19 22:33:15 +02:00
Arnout Kazemier
dea523465a Removed my peanuts 2011-06-19 22:29:53 +02:00
Arnout Kazemier
5032cb25d0 clean up 2011-06-19 22:28:13 +02: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
Arnout Kazemier
aeb8832c1d Only emit discconect if the user actually has a nickname 2011-06-19 21:42:53 +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
e9bb2e732c Merge branch 'master' of https://github.com/LearnBoost/Socket.IO-node 2011-06-19 11:12:34 +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
Guillermo Rauch
e1d135bd05 Fixed style 2011-06-18 17:35:56 -03:00
Arnout Kazemier
c35b8405d1 use indexOf instead of array.indexOf because thats not supported in IE 2011-06-18 22:28:30 +02:00
Arnout Kazemier
f79c625657 Added error handling, and output details to console 2011-06-18 22:17:58 +02:00
Arnout Kazemier
2d84ede3e4 don't emit errors when we are reconnecting 2011-06-18 22:17:33 +02:00
Guillermo Rauch
75f54a56e1 Merge pull request #259 from 3rd-Eden/master
Update unit test + send buffers instead of strings
2011-06-18 12:45:06 -07:00
Arnout Kazemier
78285af72f Fix for encoding of the static serve and we should send buffers instead of strings 2011-06-18 21:37:54 +02:00
Guillermo Rauch
c2c6e47e28 Build 2011-06-18 16:35:11 -03:00
Guillermo Rauch
d90014f4ee Merge pull request #258 from 3rd-Eden/master
Improved static serving
2011-06-18 12:20:38 -07:00
Arnout Kazemier
32db05d178 Passes test suite + 2 new tests 2011-06-18 21:12:11 +02:00
Guillermo Rauch
9b1e8bde13 Changed error detecting to throw upon finding a global leak. 2011-06-18 15:36:12 -03:00
Guillermo Rauch
6c14460c9f Removed old globals. 2011-06-18 15:36:02 -03:00