Commit Graph

454 Commits

Author SHA1 Message Date
Gavin Uhma
336430a3be set withCredentials to true before xhr to fix authentication 2011-11-08 18:28:21 -04:00
Guillermo Rauch
d12e0714e9 Release 0.8.7 2011-11-05 13:47:31 -07:00
Guillermo Rauch
3480429371 Fixed handling of \n by jsonp-polling 2011-10-27 12:08:06 +08:00
Guillermo Rauch
3d65f393d3 Fixed jsonp-polling feature detection.
JSONP-Polling can't run inside of a webworker.
2011-10-27 11:36:48 +08:00
Guillermo Rauch
ff6d17ff18 Added temporary hack for indicator detection in ff webworker.
We must add `util.ua.gecko` instead.
2011-10-27 11:32:59 +08:00
Guillermo Rauch
572296a7ff Added proper check for document in global. 2011-10-27 11:32:44 +08:00
Guillermo Rauch
e2e878787b Merge branch 'master' of github.com:LearnBoost/socket.io-client 2011-10-27 11:23:36 +08:00
Guillermo Rauch
ec5d96539c Fixed host discovery lookup [holic]. 2011-10-27 11:21:18 +08:00
jscharlach
172db2035f Adding a check to the close timeout reset so that it won't reset the timeout for a closed connection. This is necessary because the server sends a 'disconnect' message after the client runs a socket.disconnect() which causes the client to reset the close timeout and effectively hang until the the timeout occurs. 2011-10-24 13:26:05 -03:00
Guillermo Rauch
bbdf68975c Merge branch 'master' into webworker 2011-10-19 00:13:33 -07:00
Guillermo Rauch
a935aeb20f Merge pull request #313 from Leonya/master
Google Closure Compiler shows a warning for this line of code
2011-10-19 00:12:20 -07:00
Guillermo Rauch
12f61cf122 Merge pull request #315 from danielbeardsley/disconnect_immediately
Remove closeTimeout wait between transport disconnect and socket.io disconnect
2011-10-19 00:11:24 -07:00
Guillermo Rauch
cd35cccfac Merge pull request #246 from 3rd-Eden/jsonppollingindicator
This hack kills the loading indicator in FF
2011-10-19 00:11:03 -07:00
Guillermo Rauch
241eda3d43 Fixed swfobject and web_socket.js to not assume window. 2011-10-18 16:29:21 -07:00
Guillermo Rauch
c7e107a19c Added reference to global object 2011-10-18 16:29:07 -07:00
Guillermo Rauch
4be456f65c Fixed CORS detection for webworker 2011-10-18 16:28:46 -07:00
Guillermo Rauch
6ffd18abe9 Fix defer for webkit in a webworker. 2011-10-18 16:28:19 -07:00
Guillermo Rauch
f8deca10e6 Fixed io.util.request to not rely on window. 2011-10-18 16:27:19 -07:00
Guillermo Rauch
d376099930 Fixed; find WebSocket in global instead of window 2011-10-18 16:26:53 -07:00
Guillermo Rauch
4300d8364f FIxed; use global instead of window and dont rely on document. 2011-10-18 16:26:26 -07:00
Guillermo Rauch
ab60690883 Fixed; JSON-P handshake if CORS is not available 2011-10-18 16:26:01 -07:00
Guillermo Rauch
8542fcda19 Fixed, use shortcut for options. 2011-10-18 16:25:38 -07:00
Guillermo Rauch
933874a906 Fixed; look up location in global object. 2011-10-18 16:25:11 -07:00
Guillermo Rauch
d7a9e9e3f7 Release 0.8.5 2011-10-07 11:22:41 -07:00
Daniel Beardsley
283b0119d6 Make underlying Transport disconnection trigger immediate socket.io disconnection
This solves the frustration of a client being aable to tell it's connection has been severed.
2011-10-06 00:23:34 -07:00
Leonid Khachaturov
da060de77a Fix warning when compressing with Google Closure Compiler:
WARNING - If this if/for/while really shouldnt have a body, use {}
    for (var j = arr.length, i = i < 0 ? i + j < 0 ? 0 : i + j : i || 0;
        ^
2011-09-29 11:12:57 +02:00
Arnout Kazemier
165662cc96 Stop throwing errors when error occures in node 2011-09-10 12:57:11 +02:00
Guillermo Rauch
d34723812c Release 0.8.4 2011-09-06 07:47:17 -07:00
Guillermo Rauch
43f9d29c41 Fixed xDomain detection (fixes #462 from socket.io). 2011-09-03 14:30:52 -07:00
Guillermo Rauch
27ed6ca98a Fixed flashsocket flash version check (fixes #2547) [firejune] 2011-09-03 14:12:24 -07:00
Guillermo Rauch
79dfa54105 Release 0.8.3 2011-09-03 12:40:30 -07:00
Guillermo Rauch
cbca52d9c7 Fixed \n parsing for non-JSON packets. 2011-09-03 12:16:45 -07:00
Guillermo Rauch
24c30177de Fixed; make Socket.IO XHTML doctype compatible (fixes #460 from server) 2011-09-03 10:57:49 -07:00
Guillermo Rauch
7a863e6cc8 Fixed support for Node.JS running socket.io-client. 2011-09-03 10:57:15 -07:00
Guillermo Rauch
0419213a74 Merge pull request #273 from 3rd-Eden/feature/policy
Feature/policy
2011-08-31 09:35:34 -07:00
Arnout Kazemier
67f399263a Fixed merge fail 2011-08-29 21:32:44 +02:00
Arnout Kazemier
70d45aa8a9 Merge branch 'master' of github.com:LearnBoost/socket.io-client into FF6
Conflicts:
	lib/transports/websocket.js
2011-08-29 21:30:13 +02:00
Arnout Kazemier
ecb370e820 Removed '' 2011-08-29 21:28:00 +02:00
Guillermo Rauch
62feaa3ba8 Release 0.8.2 2011-08-29 10:33:41 -07:00
Guillermo Rauch
fcd2552a5a Style fixes
Rebuild
2011-08-29 10:32:17 -07:00
Guillermo Rauch
3a8943a817 Release 0.8.1 2011-08-29 09:39:01 -07:00
einaros
a44da0fb74 javascript encoding issue 2011-08-29 11:51:57 +02:00
einaros
b9729a7679 fixed issue where websocket detection runs before flashsocket initialization, causing the latter not to work 2011-08-29 11:37:23 +02:00
Guillermo Rauch
2b416c25f6 Bump version. 2011-08-28 15:38:39 -07:00
Guillermo Rauch
4fdb7f73f7 Changed detection of WebSocket object.
Fixed; removed pollution of window.
2011-08-28 15:23:11 -07:00
einaros
a30aaf5a3e added mozilla MozWebSocket redirect 2011-08-28 11:36:22 +02:00
Guillermo Rauch
1f8e07d0d0 Release 0.7.11 2011-08-27 15:28:09 -07:00
Guillermo Rauch
434a6c2965 Release 0.7.10 2011-08-27 11:38:19 -07:00
Arnout Kazemier
cf6de27faf Fix for failing fallback in websockets 2011-08-16 00:39:54 +02:00
Guillermo Rauch
0b6c3db573 Added check on Socket#onConnect to prevent double connect events on the main manager. 2011-08-12 10:12:42 -07:00