Commit graph

751 commits

Author SHA1 Message Date
Robin Lambertz
d7e74f7f9e Merge pull request #259 from basicer/thenable-before-ping
Allow beforePing to receive a callback.
2015-10-04 22:13:40 +02:00
Rob Blanckaert
16452d4a4c Allow beforePing to receive a callback to call with its result when
it accepts three arguements. Allows async processing while
calculating response.
2015-10-04 13:46:07 -04:00
Robin Lambertz
cf3eeb71c3 Merge pull request #273 from rom1504/update_mc_wrap
fix the bug in mcwrap : using batch.concurrency(1) is needed
2015-10-02 15:46:34 +02:00
Romain Beaumont
c0b744a3a5 fix the bug in mcwrap : using batch.concurrency(1) is needed 2015-10-02 15:33:41 +02:00
Robin Lambertz
9de632977c Merge pull request #272 from rom1504/update_mc_wrap
update mcwrap again, should be enough this time
2015-10-02 14:00:50 +02:00
Romain Beaumont
1625d6b3dd update mcwrap again, should be enough this time 2015-10-02 12:57:11 +02:00
Robin Lambertz
14abcb8d32 Merge pull request #271 from rom1504/update_mc_wrap
update minecraft-wrap : hopefully this will finally give us enough information to fix the problem
2015-10-02 12:46:45 +02:00
Romain Beaumont
b2b56565d2 update minecraft-wrap : hopefully this will finally give us enough information to fix the problem 2015-10-02 12:40:58 +02:00
Romain Beaumont
92b4b2bf8d split the tests in 3 files, fix #265 2015-10-02 02:02:54 +02:00
Robin Lambertz
a37560eb50 Merge pull request #268 from rom1504/remove_readPackets_dep_in_client
remove dependency to readPackets from client.js : fix #267
2015-10-02 01:35:47 +02:00
Robin Lambertz
4c14c8f859 Merge pull request #269 from roblabla/feature-fixTests
Fix tests : client.session.username doesn't exist
2015-10-02 01:34:19 +02:00
roblabla
8ce13dd9e2 Fix tests : client.session.username doesn't exist 2015-10-02 01:30:23 +02:00
Robin Lambertz
5207141cec Merge pull request #262 from roblabla/feature-useNodeYggdrasil
Use node-yggdrasil. Fix validation problem
2015-10-02 01:24:38 +02:00
Robin Lambertz
c5d4848dfd Merge pull request #263 from rom1504/enable_client_connection_tests
Enable client connection tests
2015-10-02 01:24:31 +02:00
roblabla
c889f2c5f7 Use node-yggdrasil. Fix validation problem 2015-10-02 01:19:41 +02:00
Robin Lambertz
eccc9b7029 Merge pull request #266 from rom1504/update_mc_wrap
update minecraft-wrap : wrap.download now automatically checks the md5 of the file before and after downloading
2015-10-02 01:13:09 +02:00
Romain Beaumont
5962c259a0 remove dependency to readPackets from client.js : fix #267 2015-10-01 15:06:33 +02:00
Romain Beaumont
9e0cecfc6f update minecraft-wrap : wrap.download now automatically checks the md5 of the file before and after downloading 2015-10-01 14:25:07 +02:00
Romain Beaumont
449c8dee00 increase mocha timeout to 20s for benchmarks 2015-09-30 18:16:41 +02:00
Romain Beaumont
1d5f55235e use mocha for benchmark (allow better mocha grepping + it's cleaner) 2015-09-30 18:11:57 +02:00
Romain Beaumont
788ad29815 fix chat count problem in tests + line listener 2015-09-30 17:53:24 +02:00
Romain Beaumont
698a64f926 fix and enable online client connection test 2015-09-30 17:30:52 +02:00
Romain Beaumont
fd0d9f5a13 fix and enable offline client connection test 2015-09-30 17:23:47 +02:00
Robin Lambertz
8d9f37c2ba Merge pull request #257 from rom1504/static_cross_version
enable cross version with an option in createClient and createServer
2015-09-30 15:50:38 +02:00
Robin Lambertz
240d60c307 Merge pull request #261 from rom1504/update_mc_data
update mcData : 15w39c and 1.8.8
2015-09-30 15:40:20 +02:00
roblabla
6c3359598e Fix syntax error in test.js 2015-09-30 13:34:49 +02:00
Romain Beaumont
c9c537e393 remove some stuff I forgot in browser.js 2015-09-30 12:45:38 +02:00
Romain Beaumont
4d93e7246f update mcData : 15w39c and 1.8.8 2015-09-30 11:04:05 +02:00
Romain Beaumont
3f50a6f19a add an optional argument to the proxy example to specify the version 2015-09-30 00:17:44 +02:00
Romain Beaumont
7871ac446a fix proxy relatively to the unexposing of createPacketBuffer
also fix a small bug in serializer.js
2015-09-30 00:03:42 +02:00
Romain Beaumont
917b6adda1 enable cross version with an option in createClient and createServer :
* put parsePacketData in deserializer and createPacketBuffer in serializer
* remove packets from the index and expose readPacket instead
* load packets when needed in various files
* make tests test every supported version
static cross version of #234, fix #65, fix #240
2015-09-29 22:44:28 +02:00
roblabla
df2caf74cb 0.15.1 development iteration 2015-09-25 20:40:46 +02:00
Robin Lambertz
d719976835 Merge pull request #256 from mhsjlw/patch-1
Colons are supposed to be next to the closest char
2015-09-25 01:38:13 +02:00
mhsjlw
b4eac8c1c5 Colons are supposed to be next to the closest char
At least, in English
2015-09-24 19:19:26 -04:00
Robin Lambertz
eeee12485b Merge pull request #255 from rom1504/patch-1
fix package.json repository url
2015-09-24 15:25:18 +02:00
Romain Beaumont
156427d1c6 fix package.json repository url 2015-09-24 15:18:00 +02:00
roblabla
307a87f750 Release 0.15.0 2015-09-24 15:06:41 +02:00
Robin Lambertz
da3a241775 Merge pull request #213 from rom1504/kick_client_when_wrong_version
[WIP] Kick client when he is using the wrong version of the client, fix #209
2015-09-24 13:58:04 +02:00
roblabla
5e810d3b81 Update example, remove mention of test coverage output 2015-09-24 12:28:41 +02:00
Romain Beaumont
fdc24cbeed Kick client when he is using the wrong version of the client, fix #209 2015-09-24 00:04:13 +02:00
roblabla
f7e50721e8 Update the README and docs 2015-09-23 23:26:50 +02:00
Robin Lambertz
baca58459d Merge pull request #247 from rom1504/check_start_server_err
check the error in the callback of wrap.startServer
2015-09-23 23:07:15 +02:00
Robin Lambertz
9d9287d64c Merge pull request #248 from rom1504/es6-classes
more es6 classes
2015-09-23 23:07:07 +02:00
Robin Lambertz
24dced6e39 Merge pull request #252 from rom1504/remove_zfill_dependency
remove zfill dependency used nowhere
2015-09-23 21:30:39 +02:00
Robin Lambertz
7e7d5da2ba Merge pull request #246 from rom1504/fix_protocol_version_in_ping
fix ping.js protocol version
2015-09-23 21:30:24 +02:00
Romain Beaumont
8aa0d786f0 use es6 properties in protocol.js 2015-09-23 21:06:34 +02:00
Romain Beaumont
5aee0000e4 use es6 properties in server.js 2015-09-23 21:04:54 +02:00
Romain Beaumont
68c589a3b0 move getter and setter after the constructor in client.js 2015-09-23 21:03:07 +02:00
Romain Beaumont
bbde23bb02 use es6 properties for client.js
see https://github.com/jeffmo/es-class-properties and http://odetocode.com/blogs/scott/archive/2014/10/14/features-of-es6-part-9-classes.aspx
2015-09-23 21:01:38 +02:00
Robin Lambertz
a337e5ae3e Merge pull request #249 from rom1504/fix_client_chat
clean up and fix client_chat
2015-09-23 20:25:03 +02:00