Commit Graph

7693 Commits

Author SHA1 Message Date
Guillermo Rauch
ca72a22102 package: bump socket.io-parser to fix debug bug 2014-02-10 16:27:04 -08:00
Guillermo Rauch
8bec36b803 socket: fix event blacklisting on ie8<= 2014-02-10 16:26:45 -08:00
Guillermo Rauch
3e972eb423 Release 1.1.1 2014-02-10 16:06:23 -08:00
Guillermo Rauch
e7f3b5fe40 package: bump debug to fix browserify issues 2014-02-10 16:04:42 -08:00
Guillermo Rauch
bc937fc2fb test: prevent global leak problems 2014-02-10 15:52:16 -08:00
Jonathan Ong
b2d7c9be50 Merge pull request #42 from poshaughnessy/license
Add license to Readme (same format as the other components)
2014-02-10 08:42:19 -08:00
Peter O'Shaughnessy
d09675998d Add license to Readme (same format as the other components) 2014-02-10 11:10:43 +00:00
Kevin Roark
589791df3e Added support for reading File objects
Uses the same code as the Blob stuff before (fileReader can take a
Blob or File, and make an ArrayBuffer from either).

Browsers can now directly pass file handles because why not, probably
more useful than blobs.
2014-02-10 03:50:00 -05:00
Kevin Roark
3e561290ce Added Blob support and made encoding async
In order to add Blob support to Socket.IO (part of the larger binary
support), the encode function was made asynchronous (it now takes a
callback) because blobs are converted to ArrayBuffers via an
async FileReader method.

Tests were also added to test the encoding and decoding of Buffers and
ArrayBuffers. The reason there is a new special test method to test
encoded vs decoded ArrayBuffers is that decoded ArrayBuffers in node
don't have the slice function (it is native code that can't be
transmitted over msgpack). Not sure how big of an issue this is.

Because of this new async, we need to now worry about buffering, etc.
Ideally this would all be engine.io level, but dang blobs.

Blob support is very close to file support -- update on that soon.
2014-02-09 14:49:22 -08:00
Guillermo Rauch
d4e6e1df71 Merge pull request #254 from mokesmokes/upgradeEvent
document Socket.upgrade event, and fix its timing just after setTranspor...
2014-02-09 12:22:06 -08:00
Mark Mokryn
facf40ad9b emit socket upgrade event after upgrade done 2014-02-09 22:12:34 +02:00
GK
de2c561e45 made parseUri its own node module, change parseUri calls and tests 2014-02-09 12:09:57 -08:00
Guillermo Rauch
980b6a7c40 package: bump engine.io 2014-02-09 11:18:49 -08:00
Guillermo Rauch
9ebe35936c package: bump engine.io-client 2014-02-09 11:18:37 -08:00
Guillermo Rauch
e1fbce0f35 Merge branch 'master' of github.com:LearnBoost/socket.io-client 2014-02-09 11:12:37 -08:00
Guillermo Rauch
fba0495614 README: fix test section 2014-02-09 11:11:05 -08:00
Guillermo Rauch
b10cf177e7 README: bump copyright 2014-02-09 11:08:38 -08:00
Guillermo Rauch
13dac10c72 package: bump engine.io server 2014-02-09 09:57:47 -08:00
Guillermo Rauch
06d031aea6 Release 0.9.0 2014-02-09 09:57:22 -08:00
Guillermo Rauch
5a2259571e Release 0.9.0 2014-02-09 09:57:14 -08:00
Tony Kovanen
0bf7f8b301 Reorganizing binary testing on the browser 2014-02-09 19:54:59 +02:00
Guillermo Rauch
d55ad6231b added npm-debug.log to gitignore 2014-02-09 08:57:38 -08:00
Guillermo Rauch
fd37233821 test: fixed close flag 2014-02-09 08:51:16 -08:00
Guillermo Rauch
2b0b281f68 Merge pull request #239 from mokesmokes/closefix
fix GH-207
2014-02-09 08:46:32 -08:00
Guillermo Rauch
9cde1b367c Merge pull request #214 from mokesmokes/closetest
add tests for https://github.com/LearnBoost/engine.io-client/issues/207
2014-02-09 08:46:09 -08:00
Guillermo Rauch
b59ce1fd50 Merge pull request #247 from bmalehorn/parseUri
fix util.parseUri('localhost:3000') bug
2014-02-09 08:42:40 -08:00
Brian Malehorn
ebefd5e33a fix parseUri('localhost:80'), add ipv6 addresses 2014-02-09 11:06:33 -05:00
Tony Kovanen
7fa7f82759 Fixes for iPhone safari 2014-02-09 09:44:15 +02:00
Kevin Roark
6c22a75cf9 browser style msgpack 2014-02-08 17:49:27 -08:00
Guillermo Rauch
824f80a2a8 Merge pull request #619 from grant/patch-2
Fixed Spelling Mistake
2014-02-08 17:25:37 -08:00
Grant Timmerman
3c593cf93d Fixed Spelling Mistake
succesful -> successful
2014-02-08 17:19:09 -08:00
Guillermo Rauch
d2f2cc8490 Merge pull request #618 from defunctzombie/fix/url-test
Fix/url test
2014-02-08 16:53:22 -08:00
Tony Kovanen
26cc5aaabc Extracted arraybuffer slicing to a separate module 2014-02-09 02:38:39 +02:00
Roman Shtylman
a70d7e5a44 update debug dependency for browserify 2014-02-08 16:37:57 -08:00
Roman Shtylman
9c7a52ca51 fix using undefined location global in node for lib/url
use `global.location` to support node and browsers
2014-02-08 16:37:10 -08:00
Tony Kovanen
4e436fd130 Not running blob tests in browsers that don't support blobs 2014-02-09 01:35:07 +02:00
Guillermo Rauch
d220856275 Merge pull request #248 from poohlty/cleanup-test
Use !this.xhr for testing in cleanup method
2014-02-08 15:15:26 -08:00
Tony Kovanen
238ebe6b6d Moved tests for sending and receiving binary 2014-02-09 01:10:10 +02:00
Tianyu Liu
90dc66e998 Use !this.xhr for testing in cleanup method 2014-02-08 15:00:07 -08:00
Kevin Roark
95a2a4bd5d replaced custom binary encoding with msgpack 2014-02-08 14:29:06 -08:00
Tony Kovanen
72221d6cfb Really fixed binary support detection 2014-02-09 00:26:49 +02:00
Tony Kovanen
dd0f5e71a2 Fixed websocket binary support detection 2014-02-09 00:23:35 +02:00
Guillermo Rauch
36b284dd7f README: style 2014-02-08 14:18:48 -08:00
Kevin Roark
e374341a56 initial binary support encoding 2014-02-08 14:11:18 -08:00
Tony Kovanen
f2623da126 Changed blob feature detection 2014-02-08 23:59:02 +02:00
Guillermo Rauch
1ed7920b0e Merge pull request #222 from nlagrow/upgrade
Deny upgrade when proxy doesn't support websocket
2014-02-08 13:50:06 -08:00
Guillermo Rauch
c0393fce20 Merge pull request #1399 from lzyzsd/master
fix captcha in comment
2014-02-08 12:13:01 -08:00
Guillermo Rauch
093f5f7186 style 2014-02-08 12:12:47 -08:00
Guillermo Rauch
1f0f209d5e Merge pull request #1411 from get/server-client-file
change index to read build file from client
2014-02-08 12:11:57 -08:00
Nick LaGrow
468ca23339 Merge branch 'master' of https://github.com/LearnBoost/engine.io into upgrade 2014-02-08 12:11:35 -08:00