Commit Graph

7693 Commits

Author SHA1 Message Date
Guillermo Rauch
0b7751232f Make sure we prevent GH- 264 in acceptance tests for xhr-polling. 2011-06-21 01:52:39 -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
57d33a4a97 Remove graceful close, as web implementations don't need it. 2011-06-21 01:09:11 -03:00
Guillermo Rauch
5518f8cb2c Added support for CORS of POST requests. 2011-06-21 01:08:25 -03:00
Guillermo Rauch
f49e6f12c7 Fixed issues with defineProperty on Firefox. 2011-06-20 19:34:11 -03:00
Arnout Kazemier
dc46c8b072 Merge branch 'master' of https://github.com/LearnBoost/Socket.IO 2011-06-21 00:23:01 +02:00
Guillermo Rauch
aa8e4c4489 Fixed Socket#publish for IE. 2011-06-20 19:23:01 -03:00
Guillermo Rauch
3022c50452 Merge branch 'master' of github.com:LearnBoost/Socket.IO 2011-06-20 19:20:28 -03:00
Guillermo Rauch
7f045f3d77 Fixed should.js for IE 2011-06-20 19:20:04 -03:00
Guillermo Rauch
92e00b474b Fixed should.js for IE 2011-06-20 19:19:25 -03:00
Guillermo Rauch
d8964061f3 Fixed; added console.log support to test runner. 2011-06-20 19:17:51 -03:00
Arnout Kazemier
165150cd32 Added on("error") checks to each test case, none of these test should emit an error
event
2011-06-21 00:04:29 +02:00
Guillermo Rauch
f4615f9fbf Merge pull request #199 from 3rd-Eden/master
breaks
2011-06-20 14:40:38 -07:00
Arnout Kazemier
d6361f733a added missing breaks; the ack packet also emitted the onerror 2011-06-20 23:38:11 +02:00
Guillermo Rauch
e55c5e91fb Fix for htmlfile 2011-06-20 17:50:26 -03:00
Guillermo Rauch
ae5ace723e Merge branch 'master' of github.com:LearnBoost/Socket.IO-node 2011-06-20 17:34:40 -03:00
Guillermo Rauch
191d68d85f Workaround for race condition 2011-06-20 17:34:16 -03:00
Guillermo Rauch
ac2c1c5f82 Merge pull request #198 from 3rd-Eden/master
.close
2011-06-20 13:22:41 -07: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
Arnout Kazemier
093a6876bb Added support for flashsockets 2011-06-20 21:13:29 +02:00
Arnout Kazemier
63d40941ff XHR now has a close method 2011-06-20 21:13:01 +02:00
Guillermo Rauch
8cdd60d9f7 Fixed double insertion. 2011-06-20 16:01:19 -03:00
Guillermo Rauch
1e50a661c6 Fixed closeTimeout and heartbeatTimeout. 2011-06-20 15:51:08 -03:00
Guillermo Rauch
245a61c205 Build 2011-06-20 15:31:16 -03:00
Guillermo Rauch
5615e5a896 Merge branch 'master' of github.com:LearnBoost/Socket.IO 2011-06-20 15:31:02 -03:00
Guillermo Rauch
c68e80c2d0 Build 2011-06-20 15:30:43 -03:00
Guillermo Rauch
d88da380d5 Merge pull request #197 from 3rd-Eden/master
Utils & shizzle
2011-06-20 10:50:20 -07:00
Guillermo Rauch
6fead979c8 Fixed behavior of onerror for XDomainRequest. 2011-06-20 14:35:26 -03:00
Guillermo Rauch
ce6ed96189 Redone name assignment for transports. 2011-06-20 14:34:40 -03:00
Arnout Kazemier
f85d68fcae +io 2011-06-20 14:59:58 +02:00
Arnout Kazemier
d5b9c0f004 added window 2011-06-20 14:59:09 +02:00
Arnout Kazemier
771ba9c3c7 Incorporated feedback from @dvv 2011-06-20 14:52:53 +02:00
Arnout Kazemier
d9f61298b2 Merge branch 'master' of https://github.com/LearnBoost/Socket.IO 2011-06-20 14:20:09 +02:00