albertyfwu
c16137a7e5
added fake drain
2013-03-16 23:09:53 -04:00
albertyfwu
28766dba9e
fix featurecheck
2013-03-16 18:33:32 -04:00
albertyfwu
8ea4bb9b6b
feature-check for bufferedAmount
2013-03-16 18:31:58 -04:00
albertyfwu
bf13803a9e
make sure to stop interval if transport closes
2013-03-16 17:23:52 -04:00
albertyfwu
e358f0d0c7
add 'drain' emit to WS
2013-03-16 16:53:26 -04:00
Guillermo Rauch
f9f0c1227e
util: implemented simple qsParse
2013-03-16 09:19:48 -07:00
Guillermo Rauch
5baecf5cc6
socket: implement qs support for string
2013-03-16 09:19:34 -07:00
Guillermo Rauch
c8bc1d4984
Merge pull request #131 from shtylman/emitter
...
require 'emitter' versus 'emitter-component'
2013-03-13 09:57:33 -07:00
Roman Shtylman
6514cd9732
require 'emitter' versus 'emitter-component'
...
Use the github style dependency to just grab the emitter package from
github. Use the long form because short form is all sorts of broken with
npm.
2013-03-13 12:00:10 -04:00
Ryan Liu
39d34ea53f
capitalized eio, added a comment saying that the protocol is an int, not a string
2013-03-05 19:00:26 -05:00
Ryan Liu
99a4601dcf
added query.eio to take protocol version from parser. Also changed Socket.protocol to take that same protocol version
2013-03-05 18:09:41 -05:00
Ryan Liu
0435d1cf2a
issue 83 IE9/10: returned if this.xhr was undefined
2013-03-05 14:39:44 -05:00
albertyfwu
1c54df627b
changed callback function to have arguments of packet, index, total instead of packet, isDone
2013-02-24 22:18:07 -05:00
albertyfwu
4801248297
updated engine.io-client to work with new payload structure
2013-02-24 21:16:39 -05:00
albertyfwu
c749d4361a
actually fixed bug86 this time (modified sources instead of engine.io.js)
2013-02-22 11:09:31 -05:00
Guillermo Rauch
5260fe37f2
Merge pull request #111 from ysaw/bug108
...
Added onerror handler for script tag in jsonp transport
2013-02-16 08:33:27 -08:00
Yihui Saw
4680c20859
changed error message to match xhr error message on jsonp transport script tag
2013-02-15 21:45:04 -05:00
Yihui Saw
3432e0aab3
Added onerror handler for script tag in jsonp transport
2013-02-15 20:51:37 -05:00
Malcom Gilbert
04b3da0944
remove uid qs
2013-02-15 19:32:29 -05:00
Guillermo Rauch
cdca3b6a57
lib: removed editor file
...
cc @sweetieSong
2013-02-14 13:01:50 -08:00
Guillermo Rauch
8b655dd5f7
polling-jsonp: fix ie6 JSONP on SSL
2013-02-01 09:35:57 -08:00
Andor Goetzendorff
c4528ecbe7
close also if socket.readyState is on "opening"
2013-01-30 16:59:22 +01:00
Sweet Song
5929dcdea9
parser.js: removed the file
...
package.json: added the engine.io-parser dependency
everything else: switched to engine.io-parser
2013-01-28 11:40:15 -05:00
Sérgio Ramos
5f8356a567
fix "TypeError: Object #<Object> has no method 'global'"
2013-01-21 14:26:49 +00:00
Andor Goetzendorff
05c4bf02fe
client now ignores unsupported upgrades
2013-01-17 17:35:18 +01:00
Raynos
eb4d91bde9
Do not shadow global XMLHttpRequest
...
If you use the XMLHttpRequest variable name then the if
typeof XMLHttpRequest === 'undefined' check will always
return false and the XHR polling method is never used.
This is needed because JSONP polling is buggy and doesn't emit
close when server shutsdown. JSONP should be fixed / disabled.
2013-01-06 17:03:52 -08:00
Guillermo Rauch
2e07479ef0
socket: added data event (as synonym to message)
2012-12-17 00:10:24 -03:00
Guillermo Rauch
ab70697913
socket: remove resource and fix path
2012-12-16 20:52:01 -03:00
Guillermo Rauch
a7d4d192d6
socket: fixed access to opts
2012-12-16 20:51:53 -03:00
Guillermo Rauch
00a5640a12
socket: constructor can accept uri/opts simultaneously
2012-12-16 20:34:18 -03:00
Guillermo Rauch
3b032f74ec
socket: proper host/hostname support
2012-12-16 20:03:23 -03:00
Guillermo Rauch
1ba966b865
socket: ensure onclose idempotency
2012-12-16 19:55:37 -03:00
Guillermo Rauch
0514526653
socket: added onerror instrumentation
2012-12-16 19:55:24 -03:00
Guillermo Rauch
55076c3f56
socket: fix style
2012-12-16 19:52:33 -03:00
Sérgio Ramos
23315f46a9
use window to detect platform and fix global reference
2012-12-12 16:43:49 +00:00
Sérgio Ramos
942581c64f
*: fix references to global ( fixes #79 )
2012-12-10 20:27:18 +00:00
Guillermo Rauch
adadcdfbe8
*: fix references to global ( fixes #79 )
2012-12-10 12:10:20 -03:00
Guillermo Rauch
37ac529df7
emitter: added back WebSocket compat
2012-12-10 03:34:38 -03:00
Guillermo Rauch
157f0f94d4
socket: export constructors and utils
2012-12-08 20:13:45 -03:00
Guillermo Rauch
bfbe9ef288
polling-xhr: fixed emitter require
2012-12-08 20:10:32 -03:00
Guillermo Rauch
4c7725c267
socket: export protocol
2012-12-08 19:56:21 -03:00
Guillermo Rauch
6d7272d79a
emitter: re-export Emitter
2012-12-08 19:55:01 -03:00
Guillermo Rauch
ddd9ee491b
lib: removed engine.io-client aggregation
2012-12-08 19:50:09 -03:00
Guillermo Rauch
9e8a3bd0b3
socket: added compatibility with pre-1.0.0
2012-12-08 19:43:35 -03:00
Guillermo Rauch
65abecb780
*: use local emitter wrapper
2012-12-08 19:43:21 -03:00
Guillermo Rauch
05b0137ed1
emitter: added emitter to remove try/catch ugliness from modules and add node-compatible methods
2012-12-08 19:41:56 -03:00
Guillermo Rauch
3269a7f849
polling-xhr: implemented emitter component
2012-12-08 19:32:43 -03:00
Guillermo Rauch
16a853cfb5
*: fix comments
2012-12-08 19:32:31 -03:00
Guillermo Rauch
a763f20560
engine.io-client: remove EventEmitter exposure
2012-12-08 19:21:39 -03:00
Guillermo Rauch
5b6f52e23b
socket: make Socket self-initializable for component require
2012-12-08 19:19:07 -03:00