Commit Graph

95 Commits

Author SHA1 Message Date
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
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
8d19a4ced3 Android compatibility. Updated web-socket-js. Thanks @sleavitt, @gimite 2010-08-26 13:31:04 -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
40e06d2f73 Restorted _checkSend (accidentally removed) 2010-08-01 14:03:53 -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
2fe9fec1ef Temporarily changed default for rememberTransport 2010-07-29 10:37:00 -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
Guillermo Rauch
ad76f786b4 Replacing unicode characters for flashsocket 2010-07-28 19:45:27 -07:00
Guillermo Rauch
1c9351c6cf Fix onHeartbeat internal call reference 2010-07-28 18:33:44 -07:00
Guillermo Rauch
9ce1d7b272 Changed frame unicode character 2010-07-28 16:47:46 -07:00
Guillermo Rauch
c2da5a06aa Fix for event firing 2010-07-28 16:40:07 -07:00
Guillermo Rauch
e469528f4e Removed reference to .messages (legacy JSON decoding) 2010-07-28 16:35:28 -07:00
Guillermo Rauch
c42d188872 Make sure websocket transport name is lowercase 2010-07-28 16:28:39 -07:00
Guillermo Rauch
13976ac33e Make sure parent constructors are called properly
Fix for Flashsocket not calling Websocket constructor
2010-07-28 16:08:09 -07:00
Guillermo Rauch
a91013ffd9 Server > Socket typo 2010-07-28 16:04:49 -07:00
Guillermo Rauch
a219ed68fb Fixed bad reference to Flashsocket
Fixed typo in parent call to _onClose
Fixed broken XHR.request reference
2010-07-28 16:02:39 -07:00
Guillermo Rauch
78ede4bcf8 Fixed typo 2010-07-28 15:59:44 -07:00
Guillermo Rauch
d94ff19cad Fixed leaked global 2010-07-28 11:34:38 -07:00
Guillermo Rauch
068335da6b Handling of undefined and null values
Implemented isArray
2010-07-28 11:15:36 -07:00
Guillermo Rauch
93d2424c32 Added util.isArray for safe array type checking
Fix for _encode
2010-07-28 11:12:15 -07:00
Guillermo Rauch
f0a307269f Updated builder
Added makefile and `make build` task
Updated socket.io.js
Added basic prototype inheritance support
2010-07-28 10:58:33 -07:00
Guillermo Rauch
1fb3b86a9f Updated web-socket-js 2010-07-28 10:35:39 -07:00
Guillermo Rauch
534fc32542 Implemented encoding 2010-07-28 10:13:39 -07:00
Guillermo Rauch
adb95f4ceb Updated encoding/decoding
Updated README
2010-07-28 10:07:12 -07:00
Guillermo Rauch
587c579504 Implementation of buffering for XHR send messages
XHR sending is now handled exclusively by XHR.js
HTMLFile inherits from XHR for POST handling
Implemented heartbeats echoing
Events integrated directly into socket.js
New default method to add events is `on`.
Added aliases for old event handling methods
Simplified utilities / removed legacy code
Updated build.js
Actually implemented the private method _get for XHR transports (we were overriding connect() before)
Updated example/API
2010-07-21 23:16:03 -07:00
Guillermo Rauch
e67d6544d1 Removed object, options, json dependencies
Simplified classes
Bump version to 0.5
2010-07-19 14:49:31 -07:00
Guillermo Rauch
fec3a888e0 0.2.4 2010-06-18 03:00:02 -03:00
Jacob Thornton
0f950af625 changes removeEvent to splice event array rather than delete from it, which was causing undefinied valuesand throwing errors 2010-06-12 11:47:35 -07:00
Guillermo Rauch
8d19f82c9f Added checks for cross-domain in transports
Added support for XDomainRequest (IE8)
2010-06-01 08:38:20 -03:00