Commit Graph

214 Commits

Author SHA1 Message Date
Arnout Kazemier
2c4350afbd Merge branch 'develop' of git://github.com/dvv/Socket.IO into develop 2011-06-06 13:40:16 +02:00
Vladimir Dronnikov
e365ae8ec7 typo. Socket#onConnect() is given use 2011-06-06 07:28:09 -04:00
Arnout Kazemier
07e3605f92 Websocket so send error to socket.onError not to websocket.onError which will cause a loop 2011-06-06 13:20:06 +02:00
Vladimir Dronnikov
21e730fe60 Merge branch 'develop' of github.com:3rd-Eden/Socket.IO into develop 2011-06-06 07:17:46 -04:00
Arnout Kazemier
979f692921 Renamed this.socket to this.websocket as it clashes with the Socket instance in the tranport.. which is also called this.socket 2011-06-06 13:10:54 +02:00
Vladimir Dronnikov
4e5f83587a Merge branch 'develop' of github.com:3rd-Eden/Socket.IO into develop 2011-06-06 04:52:24 -04:00
Arnout Kazemier
f864d2ec72 Fixes wrong inhert & mixin arguments + added io.sockets 2011-06-06 10:46:00 +02:00
Vladimir Dronnikov
c260ad8756 Merge branch 'develop' of github.com:3rd-Eden/Socket.IO into develop
Conflicts:
	lib/transports/websocket.js
	socket.io.min.js
2011-06-06 03:47:42 -04:00
Vladimir Dronnikov
d1f1ce4575 this typos 2011-06-06 03:40:31 -04:00
Arnout Kazemier
02ba0d7db8 Updated to the correct position of the parsers 2011-06-05 21:38:33 +02:00
Arnout Kazemier
e04f5e36b2 Use native JSON if it's supported
Updated reference in transport to the new location of the parser
Updated the test suite to use the io.JSON
2011-06-05 21:32:38 +02:00
Arnout Kazemier
766f5d595e Added qunit test suite for the parser 2011-06-05 20:58:53 +02:00
Arnout Kazemier
c8c2c6ede4 add all parse methods under the parser namespace 2011-06-05 19:34:55 +02:00
Arnout Kazemier
796506f91a Fixed uniqueUri as parseUri doesn't return :// for protocols
it https should default to port 443 instead of port 80

the merge function now allows deep merges without chocking on recursion
2011-06-02 22:33:35 +02:00
Arnout Kazemier
4d87a8ccd6 Only check for complete, loaded indicates that the DOM is loaded, and not the page and all its resources 2011-06-02 20:57:07 +02:00
Arnout Kazemier
08e19abff6 Use native Array.isArray where possible 2011-06-02 20:52:23 +02:00
Arnout Kazemier
78b5c80a95 Changed the 'undefined' === module check as in the qunit test suite module is a function and this caused allot errors; 2011-06-02 20:12:23 +02:00
Arnout Kazemier
e04fb5e9f7 added alias for addListener as the EventEmitter also supports this 2011-06-02 20:11:49 +02:00
Vladimir Dronnikov
e71b2b5644 here we go again -- typos mostly 2011-06-02 08:20:07 -04:00
Vladimir Dronnikov
c6d938babe another portion of typos 2011-06-02 06:57:57 -04:00
Vladimir Dronnikov
824282d382 typos 2011-06-02 06:34:41 -04:00
Guillermo Rauch
49816ac6c1 Added new io namespace. 2011-05-30 11:31:37 -03:00
Guillermo Rauch
6267a02056 Refactored Socket 2011-05-30 11:31:24 -03:00
Guillermo Rauch
e809856d84 Refactored Transport 2011-05-30 11:31:12 -03:00
Guillermo Rauch
3524463831 Refactored HTMLFile 2011-05-30 11:31:01 -03:00
Guillermo Rauch
d1a119d9c3 New EventEmitter 2011-05-30 11:30:51 -03:00
Guillermo Rauch
e6c49ea102 Now bundling (non-global non-obstrusive) JSON. 2011-05-30 11:30:31 -03:00
Guillermo Rauch
5650e91ecb Added new parser. 2011-05-30 11:30:25 -03:00
Guillermo Rauch
f78a874a3a Refactored JSONP polling transport. 2011-05-30 11:30:12 -03:00
Guillermo Rauch
c0c7b92387 Refactored websocket transport. 2011-05-30 11:30:01 -03:00
Guillermo Rauch
f2724ede6c Removed non-standard transports. 2011-05-30 11:29:50 -03:00
Guillermo Rauch
74fd94f2c5 Refactored XHR-polling transport. 2011-05-30 11:29:25 -03:00
Guillermo Rauch
7879f35f1e Refactored XHR transport. 2011-05-30 11:29:12 -03:00
Guillermo Rauch
4ee1d5d94b Added new utilities, refactored others. 2011-05-30 11:28:51 -03:00
Guillermo Rauch
39c6307850 Added SocketNamespace interface. 2011-05-30 11:28:36 -03:00
Arnout Kazemier
b1cde55d97 Fixes #133 2011-05-13 22:02:47 +02:00
Arnout Kazemier
d77379ced0 Fixing #208 again, now with proper update 2011-05-13 21:56:43 +02:00
Arnout Kazemier
9082bb8265 Finished the JSDoc intergration, and did a final automatic spelling check. 2011-03-13 21:02:40 +01:00
Arnout Kazemier
ae05abc44a Added better descriptions and examples + typo fixes 2011-03-13 00:24:09 +01:00
Arnout Kazemier
c63efa3a36 More modifications to the JSDocs 2011-03-11 16:42:34 +01:00
Arnout Kazemier
d484cb7f78 More JSDoc documentation, replaced the /*! with /** in the licensen headers for dox compatiblity 2011-03-11 13:13:12 +01:00
Arnout Kazemier
924731b63a Merge branch 'jsdoc' of github.com:Hotelsnl/Socket.IO into jsdoc 2011-03-11 09:08:59 +01:00
Arnout Kazemier
8dca195ce3 Added some JSDocs 2011-03-10 22:23:24 +01:00
Arnout Kazemier
bdc37c1650 More documentation 2011-03-10 17:04:53 +01:00
Arnout Kazemier
6f3d47bd9c Work in progress of converting the files to JSDoc. Finished the transport.js but and started work on the other files. 2011-03-09 23:06:33 +01:00
Arnout Kazemier
d6665e9a1b Removed double var statements.. 2011-03-09 17:01:39 +01:00
Arnout Kazemier
0fcc9c07e9 Removed globals that where introduced by commit: 0a1a93b484 2011-03-09 16:25:48 +01:00
Arnout Kazemier
bddffb1e43 Removed pointless flashcheck codes. We are already bundling the SWFObject inside of the Socket.io.js
This functionality contains checking for flash availablity.

The new Flash check will also check on Flash version number as web-socket-js requires flash 10.0+
2011-03-09 15:59:24 +01:00
Arnout Kazemier
adde74610e Updated the README to reflect the API updates. Added .once support and support for .connect(fn); 2011-03-09 09:46:25 +01:00
Arnout Kazemier
2b48f93d46 First basic implemenation of .once but still need to figure out a way to also have the .once removed as it's wrapped in a function. Anyways this alone is enough to close bug #103 . Because we now have a once listener we can easily fix #38 2011-03-08 23:06:41 +01:00