Guillermo Rauch
f5a8ac293a
Merge pull request #1452 from kevin-roark/update/parser-dependency
...
updated parser dependency
2014-03-15 19:35:35 -02:00
Kevin Roark
b5f90923a2
updated parser dependency
2014-03-15 17:30:47 -04:00
Guillermo Rauch
c574f5f959
Merge pull request #1451 from elisee/patch-1
...
Fix // … to be /* … */ in README.md
2014-03-15 17:57:01 -02:00
elisee
ba339cc460
Fix // … to be /* … */
2014-03-15 20:25:00 +01:00
Guillermo Rauch
aee4dd9a6d
package: bump expect.js
2014-03-15 10:39:21 -03:00
Guillermo Rauch
ad86129437
Release 1.0.0-pre
1.0.0-pre
2014-03-15 10:36:51 -03:00
Guillermo Rauch
c8eda77da3
package: fix versions
2014-03-15 10:33:02 -03:00
Guillermo Rauch
a4fabba781
Readme: tweak
2014-03-15 10:23:25 -03:00
Guillermo Rauch
c19d2692e2
package: bump engine.io
2014-03-14 19:39:10 -03:00
Guillermo Rauch
36ad8e87eb
package: bump socket.io-adapter
2014-03-14 15:05:43 -03:00
Guillermo Rauch
f808c377b0
package: bump engine.io
2014-03-12 15:47:29 -03:00
Guillermo Rauch
41c5b37ac7
bump engine.io
2014-03-11 11:53:42 -03:00
Guillermo Rauch
c972153669
bump client
2014-03-10 20:09:56 -03:00
Guillermo Rauch
44a79f9cee
server: make Server#adapter work after construction
2014-03-07 18:33:36 -03:00
Guillermo Rauch
81e8a0c3a5
added support for volatile packets
2014-03-07 04:09:43 -06:00
Guillermo Rauch
adffabeee3
style
2014-03-07 03:41:22 -06:00
Guillermo Rauch
79dd06a767
socket: fix flags api state
2014-03-07 03:32:27 -06:00
Guillermo Rauch
93df3c47cc
Readme; document Socket#id
2014-03-07 00:43:40 -06:00
Guillermo Rauch
2a3a5a01a2
Readme: document Socket#join and Socket#leave
2014-03-07 00:39:39 -06:00
Guillermo Rauch
dd8745ece2
Readme: document to multiple-call situation
2014-03-07 00:33:54 -06:00
Guillermo Rauch
4615e932c1
Readme: document Socket#to and Socket#in
2014-03-07 00:33:05 -06:00
Guillermo Rauch
7e96f0a1ff
Readme: document Socket#emit
2014-03-07 00:31:01 -06:00
Guillermo Rauch
8df80ee91c
move adapter out
2014-03-06 22:49:38 -06:00
Guillermo Rauch
0c8ed9547c
package: introduce proper engine.io version
2014-03-06 12:11:46 -08:00
Guillermo Rauch
8104694fdf
package: bump parser
2014-03-04 23:29:22 -08:00
Guillermo Rauch
6be582db3d
package: bump client
2014-03-04 00:25:24 -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
Guillermo Rauch
571f3a663c
package: bump socket.io-client for new build
2014-03-01 10:18:33 -08:00
Guillermo Rauch
d293e3be7c
version badge
2014-03-01 09:00:34 -08:00
Guillermo Rauch
e2a5e4b1f2
package: adjust socket.io-client
2014-03-01 08:55:50 -08:00
Guillermo Rauch
7b4c8c67c2
package: bump parser
2014-03-01 08:55:05 -08:00
Guillermo Rauch
e280e17094
Merge pull request #1432 from kevin-roark/add/better-binary-events
...
Updated protocol-facing code for new binary protocol
2014-03-01 08:53:49 -08:00
Guillermo Rauch
947d7b4ea5
Merge pull request #1437 from keyosk/master
...
Update chat example
2014-03-01 08:21:53 -08:00
Cody Massin
318d62e5ad
When displaying leave and join messages show a message with an updated participants count.
...
Signed-off-by: Cody Massin <keyosk@gmail.com >
2014-03-01 00:20:51 -08:00
Kevin Roark
fc34c7d7a4
Updated protocol-facing code to reflect newest parser
...
Socket.io-parser now has a class-based Encoder and Decoder scheme,
so client.js was changed appropriately.
The main difference is that most of the logic for interpreting packets
is now isolated to parser, and client receives a 'decoded' event when
parser has a reconstructed packet ready to go.
2014-02-27 17:54:02 -05:00
Kevin Roark
449c28ce1c
Updated protocol-facing code for new binary protocol
...
This is a squash of four boring commits. The gist is that client.js
encoding and decoding stuff was updated to take an array of encoded packets
to write, and to handle sequences of binary packets to decode. There was
also merging done with upstream. All tests are passing.
2014-02-26 13:45:47 -05:00
Guillermo Rauch
3faca287a5
chat: forward 3000
2014-02-24 16:54:48 -08:00
Guillermo Rauch
266278d14c
prettify
2014-02-24 16:46:23 -08:00
Guillermo Rauch
d286ba2064
rename app->index
2014-02-24 16:28:04 -08:00
Guillermo Rauch
d4ec1b6ff0
use shorthand io call
2014-02-24 16:27:46 -08:00
Guillermo Rauch
49f11f9cf5
README: move to index
2014-02-24 16:27:37 -08:00
Guillermo Rauch
05fd23ddda
Merge pull request #1430 from kevin-roark/fix/has-binary-dependency
...
fixed the has-binary-data dependency
2014-02-21 14:19:35 -08:00
Kevin Roark
d21b1f36a3
fixed the has-binary-data dependency
2014-02-21 17:10:53 -05:00
Guillermo Rauch
573b32cc7d
package: bump client
2014-02-21 13:32:12 -08:00
Guillermo Rauch
16d1afc7fc
Merge pull request #1426 from brishin/binary
...
Binary
2014-02-21 13:02:26 -08:00
Kevin Roark
675830e726
updated socket.io-client dependency
2014-02-20 17:21:39 -05:00
Kevin Roark
b1c971507b
updated engine and -parser dependencies
2014-02-19 19:54:31 -05:00
Kevin Roark
8c3ca99e7c
merged binary with upstream's new chat app
2014-02-19 18:03:36 -05:00