Commit Graph

1024 Commits

Author SHA1 Message Date
Guillermo Rauch
a3e4caed0d Merge pull request #632 from rileytg/patch-1
fix http://browserify.org/ link
2014-03-01 19:26:45 -08:00
Riley Guerin
a30df67e31 fix http://browserify.org/ link 2014-03-01 13:06:20 -08:00
Guillermo Rauch
4cdfe187b2 build 2014-03-01 10:18:05 -08:00
Guillermo Rauch
8865ea180a package: bump socket.io 2014-03-01 09:33:07 -08:00
Guillermo Rauch
45c5abc7d6 add badge 2014-03-01 09:08:24 -08:00
Guillermo Rauch
f6ffa50e04 package: adjust socket.io 2014-03-01 08:55:27 -08:00
Guillermo Rauch
f602e4e5c2 package: bump parser 2014-03-01 08:54:53 -08:00
Guillermo Rauch
2c0bb5d451 Merge pull request #629 from kevin-roark/add/better-binary-events
Updated protocol-facing code to reflect new binary protocol
2014-03-01 08:53:43 -08:00
Kevin Roark
d2c8362fc6 Updated manager to reflect new class-based protocol
Main difference is the handling of parser.Decoder's 'decoded' event
and removing most of the logic that interprets the packet data from
manager, since parser handles it now.
2014-02-27 18:02:24 -05:00
Kevin Roark
67f15b16d2 Updated protocol-facing code to reflect new binary protocol
This is a squash of 6 small commits. Below is a summary of each. The gist
is that manager.js encoding and decoding portions were changed to work
with the new socket.io-protocol; this includes handling of encoding
a list of packets, and handling sequences of binary packets.

Commit 1 was the initial rewrite.

Commit 2 got all the tests passing via bug fixes.

Commit 3 updated the has-binary-data dependency and the build.

Commit 4 added nice comments.

Commits 5 and 6 updated build and engine.io dependencies respectively.
2014-02-26 13:41:51 -05:00
Guillermo Rauch
b33afd6455 build 2014-02-24 11:13:10 -08:00
Guillermo Rauch
39564b3594 fix dep 2014-02-23 09:30:26 -08:00
Guillermo Rauch
0ffdc7c397 add missing dependency in tests 2014-02-23 09:22:30 -08:00
Guillermo Rauch
f26cc4cd00 travis: fix 2014-02-23 09:15:56 -08:00
Guillermo Rauch
f34f4bb65b build 2014-02-21 13:40:48 -08:00
Guillermo Rauch
f753830874 package: bump socket.io 2014-02-21 13:32:47 -08:00
Guillermo Rauch
c7ac4155ca Merge pull request #622 from kevin-roark/add/binary-support
Add/binary support
2014-02-21 13:18:30 -08:00
Guillermo Rauch
299bfcb533 Merge pull request #624 from Aaron1011/fix_node
Don't test on Node 0.8
2014-02-21 13:02:04 -08:00
Aaron Hill
f5c66b7c59 Don't test on Node 0.8
Zuul 1.5.2 doesn't seem to support it
2014-02-21 16:00:31 -05:00
Guillermo Rauch
c9e738e7c3 Merge pull request #623 from Aaron1011/node_11
Test against Node 0.11
2014-02-21 12:53:15 -08:00
Kevin Roark
2782221069 made text-blob-builder a module and added dev dependency 2014-02-20 18:31:19 -05:00
Aaron Hill
e8a440a3f1 Test against Node 0.11 2014-02-20 18:23:52 -05:00
Kevin Roark
3244a57d58 Merge branch 'upstream' into add/binary-support
Merging the browserify changes, etc.
2014-02-20 17:24:09 -05:00
Kevin Roark
c2785fcbb1 fixed spacing on test and updated build 2014-02-20 17:23:49 -05:00
Guillermo Rauch
2b51abbeea build 2014-02-20 14:14:49 -08:00
Guillermo Rauch
2ae3b9dde2 implemented better browserify pipeline 2014-02-20 13:43:08 -08:00
Kevin Roark
755870466a updated engine and parser dependencies and build 2014-02-19 19:57:02 -05:00
Kevin Roark
9de6059d64 Merge branch 'upstream' into add/binary-support
Conflicts:
	.zuul.yml
	lib/socket.js
	package.json
	socket.io.js
	test/connection.js
	test/support/server.js
2014-02-19 18:16:55 -05:00
Kevin Roark
d5c35bb1f2 Added binary support to socket.io-client
Added changes to reflect socket.io-parser's async encoding, and use
of has-binarydata to check the event type of an event.

Next added browser tests for sending and receiving of binary data via
arraybuffers.

Then added blob tests and blob recognition.

To make blobs fully work (and Files as well), had to add packet buffering
to client so that slow-encoding blobs are still sent before other events.

I fixed a stupid bug I had added where I used the indexof module (for old
browsers) on a string somewhere instead of an array). This was causing
old IE to receive all events twice.

Old iphone tests were still failing so I updated tests to reflect that
some browsers can receive a blob but not construct them.

Finally, reduced build size by adding the "browser" field to package.json
and making browserify less confused.
2014-02-19 14:07:32 -05:00
Guillermo Rauch
dc2afa4bc1 more tests 2014-02-13 14:44:25 -08:00
Guillermo Rauch
a34d4e54dc build 2014-02-12 16:36:07 -08:00
Guillermo Rauch
525de3c99a fix url 2014-02-12 16:28:14 -08:00
Guillermo Rauch
8a438a67a9 fix url for ie6-8 2014-02-11 18:13:25 -08:00
Guillermo Rauch
7466ebee3d fix for old ies 2014-02-11 14:19:37 -08:00
Guillermo Rauch
b9ea532c0e .zuul: add iphone and a few other chromes 2014-02-11 11:38:27 -08:00
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
bc937fc2fb test: prevent global leak problems 2014-02-10 15:52:16 -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
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
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
Guillermo Rauch
6ad57905c4 Merge pull request #611 from poohlty/remove-require-fs
Remove require fs in lib/index.js
2014-02-08 11:41:33 -08:00
Guillermo Rauch
6daaa94f7b Merge pull request #613 from grant/patch-1
Update .travis.yml
2014-02-08 11:41:20 -08:00
Guillermo Rauch
9418352d5b Merge pull request #614 from bmalehorn/zuul_fix
fixed zuul redirect bug
2014-02-08 11:39:23 -08:00
Guillermo Rauch
b19bd5570f Merge pull request #615 from bmalehorn/zuul_update
updated zuul to latest version
2014-02-08 11:38:59 -08:00
Brian Malehorn
a9aa51094e updated zuul to latest version 2014-02-08 13:13:03 -05:00