Commit Graph

150 Commits

Author SHA1 Message Date
Guillermo Rauch
98e3c135b4 Release 1.2.1 2014-11-21 04:59:13 +01:00
Guillermo Rauch
8006f28952 Merge pull request #764 from thexeos/master
Prevent undefined callback error
2014-11-15 15:12:42 +09:00
Guillermo Rauch
295be0bda9 Release 1.2.0 2014-10-27 15:54:58 -07:00
thexeos
c1246c6fe8 Prevent undefined callback error
If the same callback() is called multiple times from the server, then the client ends up with "TypeError: fn is undefined", due to the fact that the acks object is updated (client callback is removed) after the first call.
2014-10-08 20:50:21 +01:00
Guillermo Rauch
09c8781c8f Release 1.1.0 2014-09-04 12:06:07 +02:00
Artur Delura
b537b8edf9 Removed unnecessary code from try block. Only decode packet is needed. 2014-07-23 20:28:48 +02:00
Nathan Rajlich
66ef715ee8 build 2014-06-26 10:20:06 -07:00
Guillermo Rauch
191b342e55 Release 1.0.6 2014-06-19 14:57:45 -07:00
Guillermo Rauch
799843b032 Release 1.0.5 2014-06-17 18:14:40 -07:00
Guillermo Rauch
658b8fd36c Release 1.0.4 2014-06-02 20:08:33 -07:00
Guillermo Rauch
fa60e791e9 Release 1.0.3 2014-05-31 18:34:49 -07:00
Guillermo Rauch
ed0b5c13ff Release 1.0.0-pre5 2014-05-22 09:35:33 -07:00
Guillermo Rauch
668cb4bd54 build 2014-05-19 16:01:55 -07:00
Guillermo Rauch
45ddad7467 Release 1.0.0-pre3 2014-05-17 15:40:41 -07:00
Guillermo Rauch
4a7085d2c5 Release 1.0.0-pre2 2014-04-27 19:40:32 -07:00
Guillermo Rauch
af2d92a530 build 2014-03-12 15:46:46 -03:00
Guillermo Rauch
12a67e8aa9 build 2014-03-12 15:39:59 -03:00
Guillermo Rauch
d1d332d91a build 2014-03-12 14:38:54 -03:00
Guillermo Rauch
bb5f739636 build 2014-03-10 20:09:20 -03:00
Guillermo Rauch
7e629140fd build 2014-03-03 22:54:09 -08:00
Guillermo Rauch
befeca6d37 build 2014-03-03 22:22:14 -08:00
Guillermo Rauch
570993fdbf build 2014-03-03 17:32:43 -08:00
Guillermo Rauch
4cdfe187b2 build 2014-03-01 10:18:05 -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
f34f4bb65b build 2014-02-21 13:40:48 -08: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
Kevin Roark
755870466a updated engine and parser dependencies and build 2014-02-19 19:57:02 -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
a34d4e54dc build 2014-02-12 16:36:07 -08:00
Guillermo Rauch
c5051b67e8 fix connection test 2013-12-26 23:35:50 -03:00
Guillermo Rauch
39d5e20944 switch to browserify 2013-12-25 16:00:27 -03:00
Guillermo Rauch
e34906c650 Added dist/ directory. 2011-06-07 19:29:45 -03:00
Arnout Kazemier
343779bb1b Don't double encode.. Removed .packet and just updated heartbeat to do a .send instead 2011-06-07 20:53:06 +02:00
Vladimir Dronnikov
ca4e2f5dcf WS#prepareUrl should override Transport#prepareUrl 2011-06-06 08:16:10 -04:00
Vladimir Dronnikov
2ddd53d46c WS#connect -> WS#open 2011-06-06 08:02:17 -04:00
Vladimir Dronnikov
0c52c5c3b2 cleanup 2011-06-06 07:40:41 -04:00
Vladimir Dronnikov
e365ae8ec7 typo. Socket#onConnect() is given use 2011-06-06 07:28:09 -04:00
Vladimir Dronnikov
c260ad8756 Merge branch 'develop' of github.com:3rd-Eden/Socket.IO into develop
Conflicts:
	lib/transports/websocket.js
	socket.io.min.js
2011-06-06 03:47:42 -04:00
Vladimir Dronnikov
d1f1ce4575 this typos 2011-06-06 03:40:31 -04:00
Arnout Kazemier
e04f5e36b2 Use native JSON if it's supported
Updated reference in transport to the new location of the parser
Updated the test suite to use the io.JSON
2011-06-05 21:32:38 +02:00
Arnout Kazemier
0dae527615 Small refactor of the test suite to use equal instead of ok 2011-06-05 21:14:35 +02:00
Arnout Kazemier
478894bc35 new builds 2011-06-02 22:41:47 +02:00
Vladimir Dronnikov
e71b2b5644 here we go again -- typos mostly 2011-06-02 08:20:07 -04:00
Vladimir Dronnikov
c6d938babe another portion of typos 2011-06-02 06:57:57 -04:00
Vladimir Dronnikov
824282d382 typos 2011-06-02 06:34:41 -04:00
Arnout Kazemier
b1cde55d97 Fixes #133 2011-05-13 22:02:47 +02:00