Commit Graph

7683 Commits

Author SHA1 Message Date
Guillermo Rauch
743ab80f80 Correct sessionid checking 2010-09-01 13:22:56 -07:00
Guillermo Rauch
f86db67c20 Build 2010-09-01 13:21:17 -07:00
Guillermo Rauch
6a7023da9d Clear sessionid upon disconnection 2010-09-01 13:18:37 -07:00
Guillermo Rauch
ca9e732265 Build 2010-09-01 12:58:12 -07:00
Guillermo Rauch
70dde951be Remove _xhr and _sendXhr objects 2010-09-01 11:44:43 -07:00
Guillermo Rauch
7f0c14393e Updated README 2010-09-01 02:19:12 -07:00
Guillermo Rauch
a848324d2a Added note about htmlfile cross-domain 2010-09-01 02:12:40 -07:00
Guillermo Rauch
750f746f60 Moved timeout default into Transport 2010-09-01 02:05:55 -07:00
Guillermo Rauch
5548e916ad Added timeout
Remove callbacks on _onDisconnect and call abort()
Added placeholder for direct disconnect in XHR
2010-09-01 01:59:42 -07:00
Guillermo Rauch
a9d5285509 Timeout logic (fixes #31)
Build
2010-08-31 19:52:37 -07:00
Guillermo Rauch
29ce06f8d9 Don't check for data length to trigger _onData, since most transports are not doing it 2010-08-31 19:49:56 -07:00
Guillermo Rauch
cc05094d29 Set timeout defaults based on heartbeat interval and polling duration (since we dont do heartbeats for polling)
Check for msgs.length _onData
2010-08-31 19:49:12 -07:00
Guillermo Rauch
4c4bec9f44 Removed unused client option (heartbeatInterval) 2010-08-31 19:46:07 -07:00
Guillermo Rauch
6731b2d779 Added onDisconnect call if long poll is interrupted 2010-08-31 19:39:50 -07:00
Guillermo Rauch
56ee90d0bd Polling calls _get directly as opposed to connect()
Build
2010-08-31 19:30:54 -07:00
Guillermo Rauch
b2f92acbbe Disconnection handling upon failure to send a message through xhr-* transports.
Clean up internal xhr buffer upon disconnection
Clean up general buffer in Socket upon disconnection
Mark socket as disconnected
2010-08-31 19:18:04 -07:00
Guillermo Rauch
922a96d28c Opera 10 support
Some README fixes
 - Added API example at the top
 - Added opera
2010-08-31 13:05:41 -07:00
Guillermo Rauch
41ad4057f5 Fix for .fire on IE being called without arguments (fixes #28) + build 2010-08-30 18:42:09 -07:00
Guillermo Rauch
4697574a68 JSONP IE6-7 fixes 2010-08-30 15:22:11 -07:00
Guillermo Rauch
1561b52fee JSONP Polling send fix for IE (only tested in IE8) 2010-08-29 18:27:14 -07:00
Guillermo Rauch
4935e6c4ca Build 2010-08-29 17:42:11 -07:00
Guillermo Rauch
bf0b541129 JSONP polling completed 2010-08-29 16:39:36 -07:00
Guillermo Rauch
c0c5a7e653 Missing inherit call 2010-08-26 16:50:56 -07:00
Guillermo Rauch
bfdb66eac2 Added jsonp-polling to the build script
Version set to 0.6
2010-08-26 16:11:43 -07:00
Guillermo Rauch
596c39e64b JSONP Polling transport
Some small changes for xdomain XHR feature detection
2010-08-26 15:44:39 -07:00
Guillermo Rauch
7ab5806991 Rebuilt socket.io.js 2010-08-26 13:31:47 -07:00
Guillermo Rauch
8d19a4ced3 Android compatibility. Updated web-socket-js. Thanks @sleavitt, @gimite 2010-08-26 13:31:04 -07:00
Guillermo Rauch
9608d40e1a Build 2010-08-23 21:00:38 -07:00
Guillermo Rauch
8e9b16ff15 Automatic JSON decoding support 2010-08-23 20:59:14 -07:00
Guillermo Rauch
37f0194246 Automatic JSON encoding support for objects 2010-08-23 20:48:57 -07:00
Guillermo Rauch
cd30cbf046 Adding test for android for delaying the connection. 2010-08-12 23:52:28 -07:00
Saikat Chakrabarti
cb000bfe4b Fixing a few dangerous loops that otherwise loop into properties that have been added to the prototype elsewhere. 2010-08-04 17:22:03 -07:00
Guillermo Rauch
dd2e23685a Support for initializing io.Socket after the page has been loaded 2010-08-02 13:03:13 -07:00
Guillermo Rauch
aed0fc8ef5 Loading bar fix for iPhone
Some readme fixed and started keeping a changelog
Added io.util.load and io.util.ios
0.5.4
2010-08-02 12:56:27 -07:00
Guillermo Rauch
a3707afc5b Removed onClose from xhr 2010-08-02 09:52:13 -07:00
Guillermo Rauch
6884a643e8 Changed onreadystatechange/send order 2010-08-01 17:14:46 -07:00
Guillermo Rauch
a8efecaa56 0.5.3 2010-08-01 14:04:23 -07:00
Guillermo Rauch
2bcc175241 Build 2010-08-01 14:04:05 -07:00
Guillermo Rauch
40e06d2f73 Restorted _checkSend (accidentally removed) 2010-08-01 14:03:53 -07:00
Guillermo Rauch
6f6ae2e53b Build 2010-08-01 12:33:50 -07:00
Guillermo Rauch
a9d2c738e2 Fixed method duplication 2010-08-01 12:32:20 -07:00
Guillermo Rauch
9ac738be4a 0.5.2
Build
2010-08-01 11:26:05 -07:00
Guillermo Rauch
c5f990c9d6 Fix for queuing before socket is connected.
Make sure XHR-based transports can handle arrays of messages
2010-08-01 11:24:18 -07:00
Guillermo Rauch
f090bca342 Just tested on iPad 2010-07-29 10:42:54 -07:00
Guillermo Rauch
2fe9fec1ef Temporarily changed default for rememberTransport 2010-07-29 10:37:00 -07:00
Guillermo Rauch
42bc64e9a6 Tested browsers list 2010-07-29 02:10:05 -07:00
Guillermo Rauch
f541b540fa Updated README 2010-07-29 01:58:21 -07:00
Guillermo Rauch
7a5e2b8cac Build 2010-07-28 21:08:36 -07:00
Guillermo Rauch
43259d4373 Check for messages to send before trying to send yo 2010-07-28 21:04:08 -07:00
Guillermo Rauch
3579c1ce93 Fixed buffered posting for XHR transports 2010-07-28 20:59:36 -07:00