Commit Graph

372 Commits

Author SHA1 Message Date
Arnout Kazemier
59df51f05a Another stab at https://github.com/LearnBoost/socket.io/issues/274 2011-07-20 22:33:03 +02:00
Guillermo Rauch
d43ed6aa81 Fixed default port for secure connections. 2011-07-12 20:53:10 -03:00
Guillermo Rauch
df4f763350 Release 0.7.4 2011-07-12 04:59:16 -03:00
Guillermo Rauch
e8c50dbd5e Merge pull request #224 from 3rd-Eden/of
Added test suite + of method on the namespace so we have a simular api on
2011-07-12 00:49:20 -07:00
Guillermo Rauch
c274187364 Merge pull request #234 from 3rd-Eden/flood
When you disconnect before the connection timeout is called, you will cre
2011-07-10 12:15:57 -07:00
Guillermo Rauch
0babfeb9b1 Merge pull request #222 from dvv/master
honor document.location.protocol
2011-07-10 12:15:20 -07:00
Arnout Kazemier
4028c21d57 When you disconnect before the connection timeout is called, you will create a flood
of unaccepted messages
2011-07-10 21:08:40 +02:00
Arnout Kazemier
7c88d3f774 Removed console.log statement 2011-07-10 12:29:42 +02:00
Arnout Kazemier
7cf47f9f3a Fixed issue #223 where flashblock exposed a bug in our connection timeout code 2011-07-10 12:25:03 +02:00
Arnout Kazemier
34ab001a28 Fixed a nasty IE bug where it's unable to parse the unicode characture when it's
looked up using data[0]. It will return undefined instead the actual char.

But luckly charAt does return the correct characture
2011-07-10 00:43:26 +02:00
Arnout Kazemier
ca5d229508 Added test suite + of method on the namespace so we have a simular api on the client
as we would have on the server.
2011-07-03 22:32:59 +02:00
Vladimir Dronnikov
b3a156885b honor document protocol, unless overriden 2011-07-01 21:02:17 +04:00
Arnout Kazemier
3afe88904c Removed bloat from repo, use uglify as dependency, and updated package.json
And removed old builder
2011-07-01 10:45:27 +02:00
Guillermo Rauch
56ddb4e7a8 Release 0.7.3 2011-06-30 10:30:59 -03:00
Vladimir Dronnikov
8ce05bc68c acks: automatic for .send and manual for .emit 2011-06-29 08:33:08 -07:00
Arnout Kazemier
e8e92268c5 Style fixes + don't init on each check & clear the flashsocket tasks on close 2011-06-29 09:49:19 +02:00
Arnout Kazemier
9da035d356 WIP @ namespace.auth, still needs test-acceptance 2011-06-27 17:06:48 +02:00
Jacob Thornton
0c864cab47 add support for new io.connect... 2011-06-23 18:26:14 -07:00
Arnout Kazemier
270c10c4a5 Style fix 2011-06-22 21:08:25 +02:00
Arnout Kazemier
20de0b7a60 Fixed double connect events 2011-06-22 21:03:41 +02:00
Guillermo Rauch
a7e1a34d6b Fixed reconnection with jsonp-polling maintaining old sessionid. [franck34] 2011-06-22 05:03:39 -03:00
Guillermo Rauch
7a8e785f73 Release 0.7.2 2011-06-22 04:10:45 -03:00
Guillermo Rauch
abe9ac43b8 Added noop message type. 2011-06-22 04:09:35 -03:00
Guillermo Rauch
81a02aaaf0 Release 0.7.1 2011-06-21 21:08:00 -03:00
Arnout Kazemier
a470c6a7c7 Changed the check for xdomain, as the first argument is a reference to the socket 2011-06-21 12:19:20 +02:00
Guillermo Rauch
a7021b4985 Fix for IE6. 2011-06-21 06:03:29 -03:00
Guillermo Rauch
3820fa30fe Fixed; made injecting scripts extremely reliable.
Fix for disconnection loop.
2011-06-21 05:12:11 -03:00
Guillermo Rauch
191d498521 The cake was a lie. 2011-06-21 04:37:42 -03:00
Guillermo Rauch
a5b53f036c Fix for polling close. 2011-06-21 03:38:58 -03:00
Guillermo Rauch
39f60fd805 Call onClose before clearing xhr to make sure we update .open state in the
callbacks. See previous commit.
2011-06-21 01:50:23 -03:00
Guillermo Rauch
13c9e4813f Prevent endless loop of .get upon Socket#disconnect. 2011-06-21 01:50:01 -03:00
Guillermo Rauch
54ead36e40 Implemented new payload API for XHR. 2011-06-21 01:49:46 -03:00
Guillermo Rauch
b05319dad6 Implemented setBuffer in XHR transports. 2011-06-21 01:49:27 -03:00
Guillermo Rauch
a4614146e7 Implemented WebSocket#payload, to avoid artificial framing on top of the WebSocket
protocol.
2011-06-21 01:48:44 -03:00
Guillermo Rauch
6c34ddc6da Changed; leverage setBuffer in WebSocket transport. 2011-06-21 01:48:24 -03:00
Guillermo Rauch
facf772126 Changed; leverage new setBuffer from jsonp-polling. 2011-06-21 01:48:03 -03:00
Guillermo Rauch
c7296b9008 Fixed; keep track of open readyState in Transport. 2011-06-21 01:47:38 -03:00
Guillermo Rauch
5743360c02 Make sure to restore the close timeout upon getting data. 2011-06-21 01:47:13 -03:00
Guillermo Rauch
417b7f12f1 Fixed; make sure to close the transport upon disconnection. 2011-06-21 01:46:54 -03:00
Guillermo Rauch
6588c1aad1 Fixed connect and heartbeat timeout mismatch. 2011-06-21 01:46:41 -03:00
Guillermo Rauch
885511161e Implemented better Socket#send buffering. 2011-06-21 01:46:22 -03:00
Guillermo Rauch
47055988c1 Make sure to call XHR#close from HTMLFile#close 2011-06-21 01:45:41 -03:00
Guillermo Rauch
aa8e4c4489 Fixed Socket#publish for IE. 2011-06-20 19:23:01 -03:00
Arnout Kazemier
d6361f733a added missing breaks; the ack packet also emitted the onerror 2011-06-20 23:38:11 +02:00
Arnout Kazemier
f00f7e379f Merge branch 'master' of https://github.com/LearnBoost/Socket.IO 2011-06-20 22:22:08 +02:00
Arnout Kazemier
5916e325e3 this.open trigges popups.. changed to self.open. But disabled the reopen delay for
0.7 because it's not realy for production usage yet
2011-06-20 22:19:00 +02:00
Guillermo Rauch
334f1baaab Added proper charset for xhr POST. 2011-06-20 17:17:55 -03:00
Arnout Kazemier
e4f6cbe759 Merge branch 'master' of https://github.com/LearnBoost/Socket.IO 2011-06-20 21:24:43 +02:00
Guillermo Rauch
d145258d13 Added XHR#close. 2011-06-20 16:19:43 -03:00
Arnout Kazemier
3136ae3c4f Merge branch 'master' of https://github.com/LearnBoost/Socket.IO 2011-06-20 21:13:53 +02:00