Commit Graph

7693 Commits

Author SHA1 Message Date
Sweet Song
da88410d3d Does not emit close on incorrect socket connection 2013-05-10 16:16:31 -04:00
Guillermo Rauch
a86505ee9f Merge pull request #157 from goinstant/indexof
use indexof component for ie8 and below
2013-05-09 14:24:11 -07:00
Gavin Uhma
35c49c72e7 use indexof component for ie8 and below 2013-05-09 17:58:59 -03:00
Benjamin Arthur Lupton
6a11d09590 Removed 0.6 from travis, added 0.10
Also stringified the versions as they should be, as it is a yaml file so `0.10` becomes `0.1`, so for versions we should use strings - `"0.10"` stays `0.10`
2013-04-19 12:45:47 +10:00
Guillermo Rauch
af0a4576c3 Merge pull request #160 from mjgil/bug-159-fix
adding fix for when websocket is undefined
2013-04-06 09:22:28 -07:00
Guillermo Rauch
4e924b9a2d Merge pull request #151 from brozie/master
Use xhr wherever possible instead of xdomainrequest
2013-04-05 08:56:15 -07:00
Róbert Oroszi
df01aeaef9 should handle xdomain, if we are in the browser 2013-04-05 15:28:03 +02:00
Róbert Oroszi
5f8d4f2f0b hostname should be tested against host, + port strict equality 2013-04-05 15:23:03 +02:00
Janne Laukkanen
2e54dda152 use ping() in setPing() 2013-04-04 13:15:07 +03:00
Janne Laukkanen
0e12bcaf9b improve ping api 2013-04-04 13:15:07 +03:00
Malcom Gilbert
365aaaa6cc Merge remote branch 'upstream/master' into bug-159-fix 2013-04-03 15:56:46 -04:00
Guillermo Rauch
b5c982cc19 Merge pull request #148 from 3rd-Eden/better-node-xhr
Don't check against the window to detect node.js, wrap code in a try cat...
2013-03-27 07:16:36 -07:00
3rd-Eden
3c6eb2a177 Don't check against the window to detect node.js, wrap code in a try catch statement
and have it degrade gracefully.

Fixes #147
2013-03-26 21:41:00 +01:00
Malcom Gilbert
51ede1ec38 adding test for faulty websocket request 2013-03-24 18:21:55 -04:00
Guillermo Rauch
315935484a Merge pull request #162 from mscdex/patch-1
Fix typos and use consistent capitalization
2013-03-23 20:21:14 -07:00
Brian White
6bd328e79e Fix typos and use consistent capitalization 2013-03-23 23:56:54 -03:00
Guillermo Rauch
17df993e76 Merge branch 'master' of github.com:/LearnBoost/engine.io 2013-03-23 19:36:26 -07:00
Guillermo Rauch
db297a75c1 Merge pull request #157 from albertyfwu/bug136_tests
added tests for callbacks and buffering
2013-03-23 19:35:50 -07:00
Guillermo Rauch
ccb4b9cbbe package: for travis 2013-03-23 19:24:05 -07:00
Guillermo Rauch
68780141ef Merge pull request #145 from MatthewMueller/patch-1
I *think* this is a typo.
2013-03-23 19:14:53 -07:00
Matthew Mueller
07777168fb I *think* this is a typo.
Right now, whenever I try upgrading to WS, I get:

    Uncaught TypeError: Object #<Transport> has no method 'setInterval'

Did a quick search for WS.prototype.setInterval and I don't see it anywhere. Removing `this` makes the upgrade work correctly.
2013-03-23 19:07:28 -07:00
Malcom Gilbert
0280352f88 sending error on transport creation failure due to bad request 2013-03-22 17:08:37 -04:00
Janne Laukkanen
9bac4635ed fix/156 add payload socket.close() test 2013-03-22 19:37:39 +02:00
Guillermo Rauch
64f6b244b6 Merge pull request #1189 from kaosdynamics/patch-1
Fix socket.io-client repository name
2013-03-19 16:35:17 -07:00
Guillermo Rauch
55a089d01c Merge pull request #141 from albertyfwu/bug136
add support for callbacks with socket.send()
2013-03-19 09:57:07 -07:00
albertyfwu
63f29dab50 readme minor fix 2013-03-19 12:14:47 -04:00
albertyfwu
6dd979cc13 remove from tests 2013-03-19 12:12:32 -04:00
albertyfwu
17d2dc275c only flush if writeBuffer is length 0
in onClose, cleanup writeBuffer, callbackBuffer
2013-03-19 12:11:55 -04:00
albertyfwu
237499cdfb added test for client-side buffer cleanup 2013-03-19 12:09:40 -04:00
Guillermo Rauch
683690253c Merge pull request #142 from rykov/master
Adding Version Badge to README
2013-03-18 14:41:11 -07:00
TJ Holowaychuk
64244adbf6 mit 2013-03-18 14:39:44 -07:00
Michael Rykov
6d0e9c05e5 Adding Version Badge to README 2013-03-18 14:37:46 -07:00
Guillermo Rauch
c19ce153f3 Merge pull request #158 from rykov/master
Add Version Badge to README
2013-03-18 14:36:54 -07:00
Michael Rykov
b6c477a29b Add Version Badge to README 2013-03-18 14:33:50 -07:00
albertyfwu
a14a0bf676 added drain event 2013-03-18 13:24:14 -04:00
albertyfwu
4998d01503 fix flush and flushComplete events 2013-03-17 22:18:33 -04:00
albertyfwu
15912c22c4 changed flushComplete to flush 2013-03-17 22:18:16 -04:00
albertyfwu
3a499d1bac added documentation for send and flush, flushComplete events 2013-03-17 21:03:27 -04:00
albertyfwu
671d2fe6dd changed test to listen to flushComplete 2013-03-17 21:02:54 -04:00
albertyfwu
0062f4ae03 added flush event to Socket.flush 2013-03-17 20:56:10 -04:00
albertyfwu
6d51d73d14 more extensive tests for executing callbacks in order 2013-03-17 20:55:30 -04:00
albertyfwu
8c6a03d9ad changed test to test callbacks in order 2013-03-17 13:38:57 -04:00
albertyfwu
28af6bd777 added tests for callbacks and buffering 2013-03-17 12:49:30 -04:00
albertyfwu
c12c1e29fa fixed drain bug splicing with upgrading 2013-03-17 11:50:39 -04:00
albertyfwu
25d092ca98 changes 2013-03-17 02:17:24 -04:00
albertyfwu
c650d9ad55 added in delayed flushing/callbacks 2013-03-17 02:07:20 -04:00
albertyfwu
b4c3eb8a23 empty callbackBuffer 2013-03-17 01:56:08 -04:00
albertyfwu
f15760d38b Merge branch 'bug136' of https://github.com/albertyfwu/engine.io-client into bug136 2013-03-17 01:52:48 -04:00
albertyfwu
d081750310 changed int to var 2013-03-17 01:52:27 -04:00
albertyfwu
994b569e86 add support for callbacks with socket.send() 2013-03-17 01:52:26 -04:00