Commit graph

948 commits

Author SHA1 Message Date
Romain Beaumont
1226f0f520 split index.js into mainly createClient.js and createServer.js
also create a few other files containing common information and functions :
* mcHexDigest.js which contain the function of the same name used in both createClient.js and createServer.js
* ursa.js which handle the abstraction on top of ursa and ursa-purejs : used in both createClient.js and createServer.js
* version.js used in index.js, createClient.js and createServer.js
2015-07-27 02:26:36 +02:00
roblabla
8dedf80292 Update HISTORY about UUID change 2015-07-18 17:57:30 +00:00
Robin Lambertz
216625d750 Merge pull request #193 from roblabla/master
Bump MINOR, UUIDs are now represented as dashed string
2015-07-18 19:52:51 +02:00
roblabla
452be2b196 Bump MINOR, UUIDs are now represented as dashed string 2015-07-18 17:48:26 +00:00
Robin Lambertz
bc1fb020fd Merge pull request #184 from rom1504/split_readme
split the readme.md into 2 new files
2015-06-04 13:48:10 +02:00
Romain Beaumont
653e8d05ee split the readme.md into 2 new files : history.md and doc/readme.md, fix #183 2015-05-29 13:24:12 +02:00
Robin Lambertz
4752a0d759 Merge pull request #182 from rom1504/add_info_about_options
document options in mc.createClient(options)
2015-05-29 12:46:42 +02:00
Romain Beaumont
4f8347cbab document options in mc.createClient(options) 2015-05-27 20:19:50 +02:00
roblabla
f337b49f15 Oops, forgot to add the changelog for 0.14.0. 2015-05-27 17:17:38 +00:00
roblabla
36893e1063 Prepare for dev iteration 0.14.1 2015-05-27 16:08:07 +00:00
roblabla
3719be792c Release 0.14.0 2015-05-27 16:05:59 +00:00
Robin Lambertz
c9a740f989 Merge pull request #178 from roblabla/feature-remove-ustring
Remove ustring
2015-05-23 15:27:26 +02:00
Robin Lambertz
22a6906b93 Merge pull request #177 from rom1504/move_functions_to_serializer
move createPacketBuffer and parsePacketData functions to serializer
2015-05-23 15:27:20 +02:00
roblabla
7ecfec8c3b Remove ustring test 2015-05-23 10:28:31 +00:00
roblabla
3815201792 Remove ustring 2015-05-23 10:27:35 +00:00
Romain Beaumont
1a9e08cbd8 move createPacketBuffer and parsePacketData functions to serializer, also move protocol's exports to serializer 2015-05-23 03:31:47 +02:00
roblabla
2b1a0f86cd Improved error handling 2015-05-22 23:43:32 +00:00
Robin Lambertz
84079bb0a8 Merge pull request #173 from rom1504/refactor_numeric
refactor numeric.js : all the functions were the same
2015-05-23 01:16:30 +02:00
Robin Lambertz
31d8f05b9a Merge pull request #175 from rom1504/remove_write_cb
remove write callback
2015-05-23 01:14:43 +02:00
Romain Beaumont
3c61f24991 remove write callback
knowing when the packet has been sent is not an useful information : the fact that it's sent doesn't mean it is received and what we usually want is that the packets are in the proper order no when they are sent
2015-05-23 01:10:58 +02:00
Robin Lambertz
f82f037f29 Merge pull request #174 from roblabla/rewrite-internals
Rewrite internal pipeline to use transform stremas
2015-05-23 00:43:22 +02:00
roblabla
f6a16bfdff Reintroduce packetsToParse 2015-05-22 22:25:12 +00:00
roblabla
64f24858dd Fix writing packets by name or [state,id] 2015-05-22 22:24:47 +00:00
roblabla
f5192ba8b7 remove debug in serializer transform 2015-05-22 21:32:10 +00:00
roblabla
2862ea2034 Bump MINOR version 2015-05-22 19:27:58 +00:00
roblabla
3c0a8eee8f Remove now unused functions 2015-05-22 19:24:09 +00:00
roblabla
f5dda55f81 Reintroduce writeRaw 2015-05-22 19:22:21 +00:00
roblabla
6e6b51ca10 Better node compatibility : Use readable-stream 2015-05-22 19:00:01 +00:00
roblabla
ced091b2b2 Rewrite of the internal serializer using transform streams 2015-05-22 17:26:48 +00:00
roblabla
17dea74357 Rewrite of the internal serializer using transform streams 2015-05-21 20:35:03 +00:00
roblabla
9295bcfbdb Update babel 2015-05-21 20:22:20 +00:00
Romain Beaumont
9866ee41fb refactor numeric.js : all the functions were the same 2015-05-21 16:56:38 +02:00
roblabla
fb6641b374 Fix node-mc-proto disconnecting players from the notchian client 2015-05-19 13:08:09 +00:00
Robin Lambertz
4018860508 Merge pull request #171 from rom1504/add_write_cb
add callback to write (socket.write *is* async) fix #168
2015-05-19 14:31:45 +02:00
Romain Beaumont
6446b205f0 add callback to write (socket.write *is* async) fix #168 2015-05-18 19:01:23 +02:00
Robin Lambertz
e2519f0b9f Merge pull request #170 from rom1504/fix_compressPacketBuffer
fix compressPacketBuffer
2015-05-18 18:36:51 +02:00
Romain Beaumont
8a6a9c00e9 fix compressPacketBuffer : it was not compressing anything until now, also fix a problem in newStylePacket to handle the correct dataSize 2015-05-18 18:24:10 +02:00
roblabla
3cab629259 Oops, remove source-map-support 2015-05-16 01:11:50 +00:00
radare-travis
ad2ad01787 Quickfix for proxy example to properly handle compression changes 2015-05-16 01:08:41 +00:00
radare-travis
790aaaad1a Fix two small bugs in packet scoreboard_team and player_info 2015-05-16 01:08:22 +00:00
radare-travis
02d09e377b Properly handle this frame in nested structures 2015-05-16 01:07:52 +00:00
radare-travis
aad5ba0fd9 Properly handle multiple set_compression requests during PLAY state 2015-05-16 01:07:10 +00:00
Robin Lambertz
6d61de807e Merge pull request #166 from rom1504/fix_editorconfig_indent
fix the indent_size in .editorconfig
2015-05-15 03:36:00 +02:00
Romain Beaumont
1dec8ccffd fix indentation and a few other stuff webstorm felt like fixing (for example if (condition) -> if(condition) since that was the more frequent style in node-minecraft-protocol) 2015-05-14 22:08:49 +02:00
Romain Beaumont
471b53de8f fix the indent_size in .editorconfig 2015-05-14 22:03:43 +02:00
Robin Lambertz
ded460af37 Merge pull request #165 from rom1504/fix_missing_require
fix a missing require in structures.js
2015-05-14 22:01:00 +02:00
Robin Lambertz
b5a89bef89 Merge pull request #164 from rom1504/fix_open_window
fix open_window packet (see http://wiki.vg/Protocol#Open_Window)
2015-05-14 21:28:43 +02:00
Romain Beaumont
55e820aa92 fix the schema (a problem with condition) 2015-05-14 20:10:49 +02:00
Romain Beaumont
77a2eb95dd fix a missing require in structures.js 2015-05-14 20:07:18 +02:00
Romain Beaumont
d3917ad5bc fix open_window packet (see http://wiki.vg/Protocol#Open_Window) 2015-05-14 19:42:52 +02:00