James Halliday
8494eea2bc
fix to make io resolve where this !== window so it works with module bundling
2011-02-26 16:13:33 -08:00
James Halliday
65be353cbb
drop sys in favor of console
2011-02-25 03:38:17 -08:00
James Halliday
dc03de6cb1
a package.json all up in this!
2011-02-25 03:37:26 -08:00
Martin Kreichgauer
0a1a93b484
Reference a local copy of this.io internally
2011-02-09 12:00:47 -08:00
Guillermo Rauch
b6149c0c9e
Added changelog
2011-02-05 11:38:01 -08:00
Guillermo Rauch
e3376a5251
Release 0.6.2
2011-02-05 11:37:43 -08:00
Guillermo Rauch
7515915957
Fixed problem with xhr-multipart buffering
2011-02-05 11:35:58 -08:00
Guillermo Rauch
4e95643a46
Updated Flash websocke transport
2011-02-05 11:35:33 -08:00
Guillermo Rauch
badb0ac883
Removed submodule
2011-02-05 11:35:15 -08:00
Guillermo Rauch
9804716115
Updated README
2011-02-05 11:33:40 -08:00
Guillermo Rauch
4d457ec203
Building Daniel Beardsley's changes into socket.io.js
2010-12-26 01:51:42 -08:00
Daniel Beardsley
686e1d1dfa
Fixed the broken tryTransportsOnConnectTimeout option
...
and added the 'connect_failed' event after the last available transport fails to connect within the timeout
The function was re-creating the list of transports each time the timeout was hit, effectively only continually retrying the second transport, and never making it past that.
2010-12-26 01:42:18 -08:00
Daniel Beardsley
24358ae3f0
Add 'connecting' event emit on each connection attempt.
2010-12-26 00:57:53 -08:00
Guillermo Rauch
69991be5cc
0.6.1
2010-12-23 20:51:04 -08:00
Guillermo Rauch
803dcad6fb
Build
2010-12-23 17:45:08 -08:00
Guillermo Rauch
3b352ecfea
Fire 'error' event when socket.onerror fires (thanks @tomyan)
2010-12-23 17:41:27 -08:00
Guillermo Rauch
50add1ae02
Corrected position of WEB_SOCKET_SWF_LOCATION check
2010-12-23 17:37:48 -08:00
Guillermo Rauch
d74c7f1199
Allow to specify WEB_SOCKET_SWF_LOCATION before socket.io is loaded. Thanks @saikat
2010-12-23 17:36:14 -08:00
Guillermo Rauch
a3f6e1a9f3
Applied several bug fixes (thanks Toby Ho - @airportyh)
2010-12-23 17:29:53 -08:00
Guillermo Rauch
763ce20da0
Better readyState read
2010-12-23 17:27:19 -08:00
Guillermo Rauch
7c90584c07
Wrapped XHR abort() in a try-catch clause
2010-12-23 17:26:24 -08:00
Guillermo Rauch
f75464bb6d
send(null) for FF2/3
2010-12-23 17:24:58 -08:00
Guillermo Rauch
280c999e3a
Removed XHR onload handler
2010-12-23 17:23:58 -08:00
Guillermo Rauch
66599a6591
Removed onload handler cleanup
2010-12-23 17:21:50 -08:00
Guillermo Rauch
e89e20eada
Fixed connect timeout being fired after an explicit disconnect. Thanks @mbrevoort
2010-12-23 17:15:53 -08:00
Guillermo Rauch
f1332af1ee
Renaming fire to emit and making a copy of events first (thanks @fjakobs)
2010-12-23 15:00:27 -08:00
Guillermo Rauch
7a5197c1e7
Make sure to only destroy if the _iframe was created
2010-11-01 12:58:25 -03:00
Guillermo Rauch
9fb0b3ec8a
Fixed io.util.merge
2010-10-30 21:28:48 -03:00
Guillermo Rauch
1f06916c4e
Added io.utils.merge
...
Removed flashsocket onClose logic since its handled by connectTimeout
Added socket checks when disconnecting / sending messages
2010-10-28 19:15:08 -03:00
Guillermo Rauch
e31a3beeed
Fixed semicolons (thanks SINPacifist)
2010-10-20 19:21:31 -03:00
Guillermo Rauch
d8da8efe91
Added io.util.merge for options merging. Probably should be recursive at some point. Thanks SINPacifist
2010-10-20 19:18:19 -03:00
Guillermo Rauch
c226b89c29
Removed unnecessary onClose handling, since this is taken care by Socket (thanks SINPacifist)
2010-10-20 19:12:15 -03:00
Guillermo Rauch
336331a32c
Make sure not to try other transports if the socket.io cookie was there
2010-09-25 11:06:22 +02:00
Guillermo Rauch
33c40b96d1
Temporarily reverting to /socket.io/ to serve the SWF
2010-09-24 06:03:58 +02:00
Guillermo Rauch
669ff4c038
Updating web-socket-js
2010-09-20 17:58:11 -07:00
Guillermo Rauch
b9c70a8279
Build
2010-09-20 16:28:29 -07:00
Guillermo Rauch
ef13f123ba
Oops
2010-09-20 16:28:21 -07:00
Guillermo Rauch
c76e867462
Build
2010-09-20 16:26:17 -07:00
Guillermo Rauch
9501cb1197
Make sure not to abort the for loop when skipping the transport
2010-09-20 16:26:00 -07:00
Guillermo Rauch
f6d29b62a5
Fix for this inside of the timeout
...
Build
2010-09-20 15:59:01 -07:00
Guillermo Rauch
c2917c7989
Connect timeout ( fixes #34 )
...
Try different transports upon connect timeout (fixes #35 )
2010-09-20 15:53:29 -07:00
Guillermo Rauch
c73d292d9e
Restored rememberTransport to default
2010-09-20 15:40:52 -07:00
Guillermo Rauch
aa8afe4d5d
Removed io.setPath check
2010-09-20 15:39:35 -07:00
Guillermo Rauch
33a89f8aee
Clarification for serving Flash
...
Added .gitignore
2010-09-20 15:30:19 -07:00
Guillermo Rauch
8dc8e90540
CDN instructions
2010-09-20 12:42:46 -07:00
Guillermo Rauch
4a52e9ab71
Make sure IE7 doesn't err on the multipart feature detection. Thanks Davin Lunz
2010-09-10 12:09:39 -07:00
Guillermo Rauch
1851f58a81
CORS feature detection. Fixes IE7 attempting cross domain requests through their incomplete XMLHttpRequest implementation.
2010-09-09 17:31:31 -07:00
Guillermo Rauch
660f9adb2c
Now altering WEB_SOCKET_SWF_LOCATION (this way we don't need the web-socket-js WebSocket object to be there)
...
Flashsocket .connect() and .send() call addTask.
Removed _loaded, since addTask does load checking internally
Build
2010-09-09 17:19:55 -07:00
Guillermo Rauch
30b7200a53
Make sure flashsocket can only be loaded on browsers that don't have a native websocket
2010-09-09 16:36:51 -07:00
Guillermo Rauch
86c35873ca
Leveraging __addTask to delay sent messages until WebSocket through SWF is fully loaded.
...
Removing __isFlashLite check
2010-09-09 16:18:09 -07:00