Tony Kovanen
8e5557d712
Added zuul configurations and testing for browsers
2014-02-19 21:26:27 +02: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
Kevin Roark
745ee03102
Added binary support to socket.io
...
This is a squash of about 25 commits, and here is a summary:
adamreis added initial binary test with the doge image.
kevin-roark updated binary tests and wrote some binary encoding protocol.
kevin-roark replaced the custom binary encoding with msgpack because we
have to handle arbitrary json that contains binary.
adamreis added some 'crazy' tests for emmiting and receiving events with
several types of data.
kevin-roark updated client.js to use socket.io-protocol's async encoding
Did a bunch of upstream merging.
2014-02-19 13:46:39 -05:00
Tony Kovanen
43721adf2d
Merged current master
2014-02-19 18:35:05 +02:00
Tony Kovanen
eca3593706
Reverted the build file
2014-02-19 13:57:48 +02:00
Guillermo Rauch
69de792c03
Merge pull request #1427 from grant/upstream
...
Example: Chat -- Welcome message is always on top. Click now focuses input.
2014-02-18 21:14:53 -08:00
Grant Timmerman
d037d6cb38
Redefined input-focus click areas
2014-02-18 21:08:43 -08:00
Grant Timmerman
e06ea11c27
Welcome message is always on top. Click now focuses input.
2014-02-18 20:43:59 -08:00
Guillermo Rauch
ab4ea948cc
Merge pull request #218 from rase-/add/binary-support
...
Binary support
2014-02-18 17:28:57 -08:00
Guillermo Rauch
daf8df8f5c
Merge pull request #1425 from Aaron1011/node_11
...
Test on Node 0.11
2014-02-18 17:00:06 -08:00
Guillermo Rauch
ff2476c7a5
Merge pull request #1415 from grant/upstream
...
Example: Chat
2014-02-18 15:51:51 -08:00
Guillermo Rauch
10e2f12ef9
Merge pull request #3 from brishin/add/binary-support
...
Add/binary support
2014-02-18 15:00:58 -08:00
Tony Kovanen
94ba1afc1f
Added Blob to the list of possible parameter types to send
2014-02-19 00:54:11 +02:00
Kevin Roark
7f4ad41bca
merged new dependencies into upstream
2014-02-18 17:40:27 -05:00
Kevin Roark
26c65aa4a4
Added browser field to package to reduce build
...
Also made some stylistic changes based on guille's comments on PR
so far.
2014-02-18 17:12:06 -05:00
Tony Kovanen
20d06700c3
Removed the need to set any default values for binary support in transports
2014-02-18 23:56:01 +02:00
Tony Kovanen
69eb14b7b2
Increased timeout in binary fallback test
2014-02-18 23:54:23 +02:00
Tony Kovanen
a9a6f25e76
style
2014-02-18 23:33:22 +02:00
Guillermo Rauch
c86ea6d9c6
Merge pull request #2 from HaykoKoryun/patch-1
...
created .npmignore
2014-02-18 13:19:36 -08:00
Guillermo Rauch
bb797a4f83
.travis: drop 0.6, 0.8, upgrade to 0.10
2014-02-18 13:15:22 -08:00
Guillermo Rauch
fd07b59875
Readme: tweak
2014-02-18 13:14:43 -08:00
Guillermo Rauch
1c44485c77
Readme: initial readme
2014-02-18 13:11:21 -08:00
Guillermo Rauch
4f391be65d
README: point to reference implementation
2014-02-18 13:10:03 -08:00
Guillermo Rauch
19a4bf06e3
moved parser into own repo engine.io-parser
2014-02-18 13:08:22 -08:00
Guillermo Rauch
7d2c099f79
package: new repository
2014-02-18 13:06:42 -08:00
Guillermo Rauch
105fb8befe
moving code from engine.io-protocol
2014-02-18 13:06:06 -08:00
Guillermo Rauch
39f6040bfd
Release 1.0.0
2014-02-18 12:23:12 -08:00
Guillermo Rauch
5bfbad0411
Merge pull request #15 from rase-/add/binary-support
...
Binary support
2014-02-18 12:20:20 -08:00
Tony Kovanen
7d8944a856
Redisabled firefox tests because they are still not stable
2014-02-18 20:08:22 +02:00
Aaron Hill
fc77c0faca
Test on Node 0.11
2014-02-18 12:31:07 -05:00
Kevin Roark
27f872754e
added binary info to docs
2014-02-18 11:18:58 -05:00
Guillermo Rauch
746f4cfa30
Revert "don't override empty opts.port"
...
This reverts commit 1bf90f5aaa .
2014-02-17 14:52:11 -08:00
Guillermo Rauch
0ae7977d81
README: tweak
2014-02-17 14:48:05 -08:00
Guillermo Rauch
632684be55
Merge pull request #251 from j-salazar/locationport
...
Don't override empty opts.port
2014-02-17 14:41:22 -08:00
Julian Salazar
1bf90f5aaa
don't override empty opts.port
2014-02-17 14:38:10 -08:00
Grant Timmerman
e0a85a90aa
Changed hash function after testing it on generated lists of random usernames
2014-02-17 13:50:43 -08:00
Grant Timmerman
3aa3213b13
Moved colors to client with hash fn, cleaned up app.js
2014-02-17 13:41:21 -08:00
Tony Kovanen
d269acd2ab
User can now pass in an onlyBinaryUpgrades option to disable upgrading to a transport that doesn't support binary from one that does to avoid the overhead of base64 encoding
2014-02-16 22:55:23 +02:00
Grant Timmerman
575ff2ecfc
Fixed scrollbar height, fixed "undefined is typing", cleaned up fade effect
2014-02-16 12:12:02 -08:00
Grant Timmerman
852a9d34df
Added X is typing functionality
2014-02-16 02:50:33 -08:00
Grant Timmerman
8a3781499d
Reorganized event system, added log event, and changed formatting of chat
2014-02-16 01:05:41 -08:00
Tony Kovanen
caeae2da74
Re-enabled firefox, which seems to behave more stable now
2014-02-16 10:01:44 +02:00
Grant Timmerman
ab60d166ac
Added basic chatroom html
2014-02-15 23:31:00 -08:00
Tony Kovanen
33b5e79ca1
Testing for base64 fallback mechanism now run for browsers that don't support binary types
2014-02-16 09:18:32 +02:00
Tony Kovanen
c9c286da12
Fixed b64 encoding for browsers with no binary types at all
2014-02-16 09:11:24 +02:00
Grant Timmerman
f7838635a7
Added basic login page html for the new design
2014-02-15 23:00:20 -08:00
Tony Kovanen
47842afac1
Updated README to match the updated protocol
2014-02-16 03:13:25 +02:00
Tony Kovanen
990fbc9158
Better hack for running iPhone tests. New simulators now also run ws tests.
2014-02-16 03:09:59 +02:00
Guillermo Rauch
b0ba5dae93
Merge pull request #257 from nlagrow/remember-upgrade
...
Add tests for remembering websocket upgrade
2014-02-15 14:02:16 -08:00
Nick LaGrow
d38c58b772
Add tests for remembering websocket upgrade
...
Add 'rememberUpgrade' section. Tests whether sockets remember the upgrade to
webscoket if and only if the 'rememberUpgrade' flag is set.
2014-02-15 16:38:03 -05:00