Commit Graph

7693 Commits

Author SHA1 Message Date
Guillermo Rauch
4ead96448c Release 1.0.1 2014-03-06 17:33:48 -06:00
Guillermo Rauch
7f17c4d4d0 Release 1.0.1 2014-03-06 17:33:35 -06:00
Guillermo Rauch
4c9a4a736d package: bump engine.io-parser 2014-03-06 17:31:58 -06:00
Guillermo Rauch
f14ad2d28d package: bump engine.io-parser 2014-03-06 17:30:49 -06:00
Guillermo Rauch
83514d709f Release 1.0.1 2014-03-06 17:29:14 -06:00
Guillermo Rauch
e247e937fe Merge pull request #6 from kevin-roark/add/binary-ack-support
Encoding ack packets as binary
2014-03-06 17:23:50 -06:00
Guillermo Rauch
66be853117 Merge pull request #6 from rase-/refactor/browser.js
Using the blob module
2014-03-06 17:19:03 -06:00
Guillermo Rauch
a2612ed8c2 Merge pull request #5 from rase-/enhance/style
Style, bump arraybuffer.slice version and remove nbsp
2014-03-06 17:14:16 -06:00
Tony Kovanen
ec08d1d004 Using the blob module for creating a blob constructor that abstracts the constructor api used 2014-03-07 00:35:46 +02:00
Kevin Roark
c8cce3e8c0 removed the 'in' slowness 2014-03-06 17:24:58 -05:00
Guillermo Rauch
4d08358017 transports: fix jshint warnings and style 2014-03-06 14:03:44 -08:00
Kevin Roark
a5ff1d854e added some new tests, including binary with acks 2014-03-06 16:58:21 -05:00
Kevin Roark
2f729e07b4 Encoding ack packets as binary
So that arbitrary data can be passed back and forth in ack callbacks.
2014-03-06 16:52:08 -05:00
Tony Kovanen
56e1ce292d Style, bump arraybuffer.slice version and remove nbsp 2014-03-06 22:49:24 +02:00
Guillermo Rauch
0c8ed9547c package: introduce proper engine.io version 2014-03-06 12:11:46 -08:00
Guillermo Rauch
ee529125d8 package: introduce proper engine.io-client version 2014-03-06 12:11:28 -08:00
Guillermo Rauch
31b5bfc328 readme tweak 2014-03-06 12:06:16 -08:00
Guillermo Rauch
59b4748f6f Release 1.0.0 2014-03-06 11:55:09 -08:00
Guillermo Rauch
38ef3810d1 Release 1.0.0 2014-03-06 11:55:06 -08:00
Guillermo Rauch
caacf6d442 polling-xhr: added OPTIONS support, fixes CORS 2014-03-06 11:33:05 -08:00
Guillermo Rauch
b0e5527513 style 2014-03-06 11:32:24 -08:00
Guillermo Rauch
8104694fdf package: bump parser 2014-03-04 23:29:22 -08:00
Guillermo Rauch
3e7bc3e4f8 package: bump parser 2014-03-04 23:20:06 -08:00
Guillermo Rauch
b8d7885a0e Release 2.1.1 2014-03-04 23:18:59 -08:00
Guillermo Rauch
1b7b04bfba Merge pull request #5 from kevin-roark/fix/remove-blob-object-check
Fix/remove blob object check
2014-03-04 23:15:44 -08:00
Kevin Roark
ba64f07bca Removed has-binary-data dependency
And replaced it with better isBuf function. Has binary data would not have
checked objects that contain blobs. isBuf only checks the current object,
not its child objects
2014-03-05 00:20:52 -05:00
Kevin Roark
47df0694f5 Fixed the object check in binary.removeBlobs
Remove blobs has to iterate over a javascript object and asynchronously
remove the blobs / files. It does this by iterating over arrays and
objects in the larger object recursively.

Problem was in checking for object to iterate over, wasn't checking if
that object was binary data itself. So it was working, but really slowly,
by iterating over every byte in a Buffer and checking it for blobs.
Much faster now :)
2014-03-04 23:50:36 -05:00
Guillermo Rauch
9575acd876 remove duplicate manifest 2014-03-04 15:08:32 -08:00
Guillermo Rauch
b49521610e Merge pull request #636 from nkzawa/patch-5
Set the sent flag to true
2014-03-04 14:55:30 -08:00
Guillermo Rauch
bc2125b250 Merge pull request #638 from j-salazar/lookup_opts
Let uri be optional when adding options for lookup()
2014-03-04 14:55:08 -08:00
Julian Salazar
cec50ca7bc let uri be optional when adding options for lookup() 2014-03-04 12:41:12 -08:00
Naoyuki Kanezawa
696fc5211b set the sent flag to true 2014-03-04 22:58:01 +09:00
Naoyuki Kanezawa
db638c2276 should call callback on open 2014-03-04 22:47:31 +09:00
Guillermo Rauch
6be582db3d package: bump client 2014-03-04 00:25:24 -08:00
Guillermo Rauch
7e629140fd build 2014-03-03 22:54:09 -08:00
Guillermo Rauch
a2812f7b15 Merge branch 'master' of github.com:LearnBoost/socket.io-client 2014-03-03 22:22:28 -08:00
Guillermo Rauch
befeca6d37 build 2014-03-03 22:22:14 -08:00
Guillermo Rauch
94b5387e49 fix reconnection 2014-03-03 22:21:21 -08:00
Guillermo Rauch
265401680d Merge pull request #633 from nkzawa/patch-3
Fix undefined packet type
2014-03-03 22:13:33 -08:00
Guillermo Rauch
570993fdbf build 2014-03-03 17:32:43 -08:00
Guillermo Rauch
502ef414a7 bunch of reconnection fixes 2014-03-03 17:32:33 -08:00
Guillermo Rauch
a8453d9421 README: clarify reconnection events 2014-03-03 14:24:13 -08:00
Guillermo Rauch
12733a8759 test: fix global leakage 2014-03-03 14:22:51 -08:00
Guillermo Rauch
5e28161322 Merge pull request #1440 from kevin-roark/add/binary-broadcasting
Added binary support to broadcasting of events
2014-03-02 20:53:37 -08:00
Kevin Roark
c2bf0ea700 Added binary support to broadcasting of events
lib/namespace.js previously was not considering whether an event had
binary data and was giving all events parser.EVENT type -- now it uses
the has-binary-data module to set the event type appropriately.

Then, after this fix there was a problem with lib/adapter.js -- because
socket.io-parser modifies the packet object in its encoding, the sockets
after the 1st in a broadcast were not getting the correct data. To fix
this, the data is encoded once in adapter, and then the encoded data
is passed to each of the sockets.

lib/socket.js and lib/client.js were updated to allow for the above. The
.packet method of each now takes an optional second "preEncoded" parameter
-- if this is true, then client skips the encoding and just writes the
packet argument directly to engine.

test/socket.io.js was updated to add two new tests that test
multi-messaging of events with binary data.
2014-03-02 22:15:16 -05:00
Naoyuki Kanezawa
a3ae721aae fix undefined packet type 2014-03-02 16:17:11 +09:00
Guillermo Rauch
a9b8bb9810 Merge pull request #608 from nkzawa/patch-2
fix a namespace connection error
2014-03-01 19:31:35 -08:00
Guillermo Rauch
a3e4caed0d Merge pull request #632 from rileytg/patch-1
fix http://browserify.org/ link
2014-03-01 19:26:45 -08:00
Naoyuki Kanezawa
fc4cdb40e7 Merge remote-tracking branch 'upstream/master' into patch-2
Conflicts:
	test/connection.js
2014-03-02 06:22:07 +09:00
Riley Guerin
a30df67e31 fix http://browserify.org/ link 2014-03-01 13:06:20 -08:00