Commit Graph

7693 Commits

Author SHA1 Message Date
Marco Aurélio
bddf652c25 Add express 3.0 instructions on Readme.md 2012-07-30 15:53:47 -03:00
Guillermo Rauch
c795e4cf1a Merge pull request #971 from Coreh/express-3.x-warn
Add warning to .listen() to ease the migration to Express 3.x
2012-07-30 11:49:53 -07:00
Marco Aurélio
6afbb34581 Add warning to .listen() to ease the migration to Express 3.x 2012-07-30 15:43:00 -03:00
nateps
225e86f333 Don't try to reconnect after receiving a 403 authorization error 2012-07-27 16:58:29 -07:00
Guillermo Rauch
ac39dbc721 Merge pull request #964 from crickeys/xhr_polling_disconnectSync
Fix disconnectSync getting ignored
2012-07-27 10:06:03 -07:00
Stepan Filatov
f5d55ba2c1 Make client compatible with AMD loaders. Issue #338. 2012-07-27 20:46:55 +04:00
Stepan Filatov
85df087ced Make client compatible with AMD loaders. Issue #338. 2012-07-27 20:41:31 +04:00
Petr Běhan
a5c5c20438 restore compatibility with node 0.4.x 2012-07-27 15:38:57 +02:00
Brian Gruber
f48b40e134 Fix disconnectSync getting ignored
If using xhr-polling and a browser closes a tab or window, the
disconnectSync in the socket.io-client method is called which sends an
XHR request to the server indicating a disconnect. This line would cause
that to be ignored and so the server would have to wait for a timeout to
mark them as disconnect. This was possibly because it was sent from a
different tcp socket than the current connection.
2012-07-26 21:19:00 -05:00
Guillermo Rauch
fb6a4d5329 Merge pull request #438 from ycarmel/master
Fix issues around fallback mechanism and xhr-polling heartbeat
2012-07-25 17:36:59 -07:00
Guillermo Rauch
1679fd564c Release 0.9.8 0.9.8 2012-07-24 17:36:30 -07:00
Guillermo Rauch
494d87db67 Release 0.9.8 2012-07-24 17:35:39 -07:00
Guillermo Rauch
bb900d445a Release 0.9.7 0.9.7 2012-07-24 11:16:20 -07:00
Guillermo Rauch
ccd816f07f Release 0.9.7 2012-07-24 10:58:21 -07:00
Guillermo Rauch
49ac184cd1 jsonp-polling: fixed open check 2012-07-24 10:55:52 -07:00
Guillermo Rauch
bf76f927b1 xhr-polling: fixed open check 2012-07-24 10:54:55 -07:00
Guillermo Rauch
21dd18626b Release 0.9.7 2012-07-24 10:53:14 -07:00
Guillermo Rauch
0ae824e768 socket: fn check no longer needed 2012-07-24 10:50:35 -07:00
Guillermo Rauch
dc9dbb75fb Merge branch 'master' of github.com:LearnBoost/socket.io-client
Conflicts:
	dist/socket.io.min.js
2012-07-24 10:48:52 -07:00
Guillermo Rauch
d81b06b342 Release 0.9.7 2012-07-24 10:47:53 -07:00
Guillermo Rauch
d8923ee2af transport: fix potential open collision 2012-07-24 10:47:03 -07:00
Guillermo Rauch
c6fed55f53 tests: fixed tests for 0.8 2012-07-24 10:39:23 -07:00
Guillermo Rauch
6adebc85fc Merge pull request #958 from xaroth8088/master
Prevent crash when socket leaves a room twice.
2012-07-22 11:26:21 -07:00
xaroth8088
7a087bcc94 Prevent crash when socket leaves a room twice. 2012-07-22 11:09:06 -07:00
Guillermo Rauch
18422183c8 Merge pull request #957 from xaroth8088/master
Corrects unsafe usage of for..in, permitting socket.io to be used in environments that extend Object, etc.
2012-07-21 11:44:28 -07:00
xaroth8088
aeb904f58b Corrects unsafe usage of for..in, permitting socket.io to be used in environments where Object, Function, etc. have been extended.
http://yuiblog.com/blog/2006/09/26/for-in-intrigue/
2012-07-21 11:30:15 -07:00
xaroth8088
9c0b9de7f0 Revert "Corrects unsafe usage of for..in, permitting socket.io to be used in environments that extend Object, etc."
This reverts commit 81552c11ca.
2012-07-21 11:21:11 -07:00
xaroth8088
81552c11ca Corrects unsafe usage of for..in, permitting socket.io to be used in environments that extend Object, etc.
http://yuiblog.com/blog/2006/09/26/for-in-intrigue/
2012-07-21 10:29:20 -07:00
Guillermo Rauch
f90a919848 Merge pull request #452 from crickeys/bug/xhr_ie
Properly formats disconnectSync URI and sends it
2012-07-19 21:33:39 -07:00
Brian Gruber
888e9008e5 Properly formats disconnectSync URI and sends it
Also, fixes an issue if using https AND InternetExplorer on crossdomain
sites. In these cases the use of XDomainRequest was not working because
it relied on checks to see if the protocols matched or not. For some
reason, paramaters weren't being passed around and so these checks
failed incorrectly.
2012-07-19 23:17:58 -05:00
Guillermo Rauch
7eb043714c Merge pull request #34 from bionicbrian/master
'ws' in Example C in README appears to be a typo? Should be 'engine'?
2012-07-16 11:26:36 -07:00
Brian Moore
a671072c06 change 'ws' to 'engine' in README C example 2012-07-16 11:23:47 -07:00
TJ Holowaychuk
19e192dd41 Release 0.0.3 2012-07-11 20:02:41 -07:00
TJ Holowaychuk
d23e2ad533 add docs for .listeners(event) 2012-07-11 20:02:02 -07:00
TJ Holowaychuk
bcb45a5817 change .has to .hasListeners
as per guillermo request, which makes sense! inheriting
from emitter and then overriding .has with your own thing
could potentially suck
2012-07-11 20:01:40 -07:00
Guillermo Rauch
e1fe76aebe Fix for node 0.8 with gzip compression. Thanks @vadimi 2012-07-09 16:58:02 -07:00
Guillermo Rauch
4d5cc77ea5 Merge pull request #421 from TutoringAustralasia/manual_buffer_flushing
Adding support for manual buffer flushing
2012-07-09 08:42:15 -07:00
Guillermo Rauch
a7f6efeb80 Merge pull request #32 from 3rd-Eden/patch-1
Added the correct location of the SPEC file
2012-07-06 11:45:11 -07:00
Arnout Kazemier
cbe261f009 Added the correct location of the SPEC file 2012-07-06 15:04:56 +03:00
Guillermo Rauch
bfbc49ae35 Release 0.1.0 2012-07-03 15:36:46 -07:00
Guillermo Rauch
f220104618 Release 0.1.0 2012-07-03 15:35:21 -07:00
Guillermo Rauch
21f3e7033a Adapted test to new API 2012-07-03 14:20:16 -07:00
Guillermo Rauch
2edf01dd2c Added thorough cookie tests. 2012-07-03 14:20:05 -07:00
Guillermo Rauch
1c0a3e69ad Removed engine version test. 2012-07-03 14:19:49 -07:00
Guillermo Rauch
c754f549f7 Added transport headers Set-Cookie injection 2012-07-03 14:19:28 -07:00
Guillermo Rauch
2ce2138de4 Added handshake request to polling transports. 2012-07-03 14:18:46 -07:00
Guillermo Rauch
f3e867a2a8 Added headers event to transports. 2012-07-03 14:18:32 -07:00
Guillermo Rauch
45d07bc816 Introduced Transport#request 2012-07-03 14:18:09 -07:00
Guillermo Rauch
73cf06cc34 Added accessor to transport handshake request 2012-07-03 14:17:17 -07:00
Guillermo Rauch
f30f353a36 Renamed Socket#req to Socket#request 2012-07-03 14:16:35 -07:00