Commit Graph

102 Commits

Author SHA1 Message Date
Kevin Roark
2782221069 made text-blob-builder a module and added dev dependency 2014-02-20 18:31:19 -05:00
Kevin Roark
c2785fcbb1 fixed spacing on test and updated build 2014-02-20 17:23:49 -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
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
bc937fc2fb test: prevent global leak problems 2014-02-10 15:52:16 -08:00
Brian Malehorn
01bf1a613b fixed zuul redirect bug
url() has optional parameter loc
2014-02-08 12:53:40 -05:00
Guillermo Rauch
c5051b67e8 fix connection test 2013-12-26 23:35:50 -03:00
Guillermo Rauch
0f4653c11a make url tests run only on node due to location pollution 2013-12-26 22:32:44 -03:00
Guillermo Rauch
7e42ef05cc url: restore location in tests 2013-12-26 22:00:41 -03:00
Guillermo Rauch
e65b9b5329 add zuul 2013-12-26 21:25:23 -03:00
Guillermo Rauch
b0046b6c4b test: adapted url tests with new simplifications 2012-12-16 21:22:03 -03:00
Guillermo Rauch
98e939a2ea test: remove emitter tests 2012-12-16 19:32:19 -03:00
Guillermo Rauch
510538813d url: finished module with tests 2012-12-10 18:31:54 -03:00
Guillermo Rauch
d5652feadc 1.0 client initial commit 2012-12-10 03:31:57 -03:00
Guillermo Rauch
7b4cb7013e test: adapted test for EventEmitter update 2012-08-13 14:02:01 -07:00
Chelsea Robb
a55ed9bf57 Renamed 'auto flush' option to manualFlush 2012-04-24 12:52:23 +10:00
Gabe Hollombe
76cf0b30cf added tests for auto and manual buffer flushing 2012-04-23 18:01:37 +07:00
Guillermo Rauch
c1de89007a Unicode snowman for you 2011-10-27 12:09:09 +08:00
Guillermo Rauch
7c2dbf3ba5 Added webworker 2011-10-18 16:31:53 -07:00
Guillermo Rauch
72a05035e0 Added webworker cs acceptance test 2011-10-18 16:31:28 -07:00
Guillermo Rauch
42e27e857c Added unicode tests. 2011-09-03 13:26:22 -07:00
Guillermo Rauch
2a5c7b2c5b Added parser test for newline. 2011-09-03 12:24:52 -07:00
Guillermo Rauch
85991d9e6a Added acceptance test for sending newlines. 2011-09-03 12:22:17 -07:00
Guillermo Rauch
72e06aff1b Fixed socket namespace connect test.
Remove broken alternative namespace connect test.
2011-08-12 10:13:24 -07:00
Arnout Kazemier
9ad05ab6d2 Passes test 2011-08-07 23:48:52 +02:00
Guillermo Rauch
7fbf340c63 Fixed builder test 2011-08-03 12:01:19 -07:00
Guillermo Rauch
6392a40388 Merge pull request #266 from 3rd-Eden/bugs/ie8
Small test case clean up
2011-08-02 16:03:19 -07:00
Arnout Kazemier
b235e709de Merge branch 'master' of github.com:LearnBoost/socket.io-client into query
Conflicts:
	support/test-runner/app.js
	test/socket.test.js
2011-08-03 00:27:07 +02:00
Arnout Kazemier
6cf4577a90 seems like this would work.. 2011-08-02 23:16:02 +02:00
Arnout Kazemier
846b3b3e40 Typo and removed the throw error 2011-08-02 22:49:57 +02:00
Guillermo Rauch
66925b26f6 Merge branch 'master' of github.com:LearnBoost/socket.io-client
Conflicts:
	support/test-runner/app.js
2011-08-02 10:54:57 -07:00
Guillermo Rauch
15414cba65 Added test encoding a payload test 2011-08-02 10:53:56 -07:00
Guillermo Rauch
39348defe7 Merge pull request #250 from DanielBaulig/issue-247
Fix for Issue 247
2011-07-29 21:09:13 -07:00
Guillermo Rauch
1ccd77a97c Merge pull request #253 from 3rd-Eden/bug/252
fix for #252 only the last response was send to the server
2011-07-29 21:07:13 -07:00
Arnout Kazemier
573e1d61c8 Added test case for encoding issue 2011-07-26 10:35:13 +02:00
Arnout Kazemier
6e8325e78f fix for #252 only the last response was send to the server 2011-07-25 22:53:53 +02:00
Daniel Baulig
1919425c5b Fixed builder LOC test case 2011-07-22 23:29:39 +02:00
Arnout Kazemier
2b4d7c8d15 Merge branch 'master' of github.com:LearnBoost/socket.io-client into query
Conflicts:
	lib/io.js
2011-07-17 23:52:25 +02:00
Arnout Kazemier
31a89ac232 Updated to count messages and connects 2011-07-08 00:16:33 +02:00
Arnout Kazemier
bbb80cbb5b Added testcase for query string sending / getting 2011-07-07 23:50:08 +02:00
Arnout Kazemier
4aaa4137a0 Work in progress of adding query string support, it should be availble in all
transports
2011-07-07 20:24:56 +02:00
Arnout Kazemier
826c496787 Working in progress of adding querystring support to the client
Also fixed some missing semicolons, bug in reconnect and add reconnect limit
2011-07-06 00:39:05 +02:00
Arnout Kazemier
ca5d229508 Added test suite + of method on the namespace so we have a simular api on the client
as we would have on the server.
2011-07-03 22:32:59 +02:00
Arnout Kazemier
1966441bcc Removed console.log + added \n 2011-06-29 09:55:44 +02:00
Arnout Kazemier
eecc0f115e Added test suite 2011-06-28 22:22:07 +02:00
Arnout Kazemier
20de0b7a60 Fixed double connect events 2011-06-22 21:03:41 +02:00
Arnout Kazemier
165150cd32 Added on("error") checks to each test case, none of these test should emit an error
event
2011-06-21 00:04:29 +02:00