1
0
Commit Graph

64 Commits

Author SHA1 Message Date
peterbell10
757231cc6e
Add the fmt library (#4065)
* Replaces AppendVPrintf with fmt::sprintf
* fmt::ArgList now used as a type safe alternative to varargs.
* Removed SIZE_T_FMT compatibility macros. fmt::sprintf is fully portable and supports %zu.
* Adds FLOG functions to log with fmt's native formatting style.
2018-01-03 17:41:16 +00:00
Alexander Lyons Harkness
1926181cb7 Fix style of Tools 2017-12-24 14:23:23 +00:00
peterbell10
832b394715 Fix Travis build (#4101)
Stop using gdb on osx - was breaking the build
Add clang 3.5 build as travis now defaults to 5.0
Fix unknown-warning-option errors on AppleClang
ProtoProxy: Use nullptr
UrlClientTest: add override to callback destructor
Update jsoncpp to use nullptr
2017-12-22 18:25:46 +00:00
Lukas Pioch
c5f590d460 Removed UTF-8 BOM (#4033) 2017-09-19 10:34:08 +02:00
peterbell10
84941bcc9f Update mbedtls to 2.5.1 (#3964)
* Renaming changes:
  * macro prefix "POLARSSL" -> "MBEDTLS"
  * functions now prefixed with "mbedtls_"
  * rename PolarSSL++ -> mbedTLS++
  * rename polarssl submodule

* Use mbedtls' AES-CFB8 implementation.

* Add cSslConfig to wrap mbedtls_ssl_config

* Update cTCPLink and cBlockingSslClientSocket to use cSslConfig

* Use cSslConfig in cHTTPServer

* Use cSslConfig for cMojangAPI::SecureRequest

* CI Fixes

* Set -fomit-frame-pointer on the right target
2017-08-30 15:00:06 +01:00
Mattes D
d2e8643607 Fixed type-casting-related warnings. 2016-08-24 22:26:53 +02:00
tycho
e1d5e5e165 Improved types of utf 16 strings 2015-10-02 17:26:53 +02:00
Mattes D
b913c5da69 Added VarInt64, normalized cPacketizer datatype names. 2015-03-22 23:09:23 +01:00
Mattes D
8df9f1685a ProtoProxy: Fixed connection and logging. 2015-03-22 15:00:51 +01:00
Mattes D
b1d4b3bb96 Unified cByteBuffer types.
cByteBuffer now reads and writes any of the [U]Int<N> types.
2015-03-21 13:00:20 +01:00
Matyas Dolak
dc5ab256a5 ProtoProxy: Fixed warnings in Connection.cpp. 2015-01-21 14:15:35 +01:00
Matyas Dolak
b333551830 ProtoProxy: Fixed warnings in Connection.cpp. 2015-01-21 11:24:32 +01:00
Mattes D
9e4528793a ProtoProxy: Log block change packet details. 2014-12-25 20:41:12 +01:00
Mattes D
557dc5a93f ProtoProxy: Added a sanity check to metadata string lengths.
Fixes CID 66415.
2014-12-21 22:51:17 +01:00
Mattes D
3c3cb198f3 Fixed c++11 branch issues. 2014-12-07 15:46:27 +01:00
Tiger Wang
6382989ba0 Compilation fixes 2014-11-23 14:22:05 +00:00
Tiger Wang
ae36ba5d33 Compilation fix 2014-09-28 13:08:00 +01:00
madmaxoft
3e854bc596 ProtoProxy: Renamed PublicKey to CryptoKey. 2014-05-01 20:20:12 +02:00
madmaxoft
6cb2d2461f Moved the rest of the Crypto objects into their own respective files. 2014-04-29 17:37:15 +02:00
madmaxoft
d9f7ae6a4d Moved cPublicKey to its separate file in PolarSSL++. 2014-04-29 17:13:08 +02:00
madmaxoft
21e5690811 ProtoProxy: Fixed weird gcc compilation errors. 2014-04-14 18:50:44 +02:00
madmaxoft
449afa850e ProtoProxy: Added 1.7.9 compatibility. 2014-04-14 18:24:44 +02:00
madmaxoft
446a651502 ProtoProxy: Fixed a few Clang and MSVC warnings. 2014-04-04 08:55:48 +02:00
Tycho
e3646fc877 Fixed a couple of unneeded returns in ProtoProxy 2014-03-14 08:05:35 -07:00
Tycho
ef58b0eb54 Fixed comments an assert 2014-03-12 09:49:37 -07:00
Tycho
98e15a34a4 Fixed xofts issues 2014-03-10 13:18:53 -07:00
Tycho
bc556e7f00 Fixed Issues in ProtoProxy 2014-03-10 12:21:18 -07:00
madmaxoft
ae897804a0 ProtoProxy: Added encryption support. 2014-01-28 23:53:54 +01:00
madmaxoft
8f1890e877 ProtoProxy: Modified to use PolarSSL. 2014-01-25 19:19:37 +01:00
madmaxoft
d8014d1ed8 ProtoProxy: Fixed connection on *nix. 2014-01-24 18:51:15 +01:00
Tiger Wang
71b01234a2 ProtoProxy: UpdateBlockEntity NBT is written 2014-01-19 00:55:08 +00:00
madmaxoft
1aeecdbe43 ProtoProxy: Compiles under Linux. 2014-01-17 13:15:54 +01:00
madmaxoft
c4f4eda347 ProtoProxy: Fixed compilation in Windows and in Linux. 2014-01-17 12:38:25 +01:00
madmaxoft
f436f87464 Fixed ProtoProxy compilation. 2014-01-15 19:10:03 +01:00
madmaxoft
9af16c3f28 ProtoProxy: Fixed login kick packet direction. 2014-01-13 20:31:08 +01:00
madmaxoft
17363716a1 ProtoProxy: Fixed favicon relaying.
The buffer was too small for the favicon; now it's dynamic.
2014-01-08 17:17:37 +01:00
madmaxoft
c19f2d7383 ProtoProxy: Fixed description-changing to work with 1.7.4. 2013-12-15 20:41:35 +01:00
madmaxoft
1373539bce ProtoProxy: Fixed metadata parsing. 2013-12-05 12:20:37 +01:00
madmaxoft
f0aab7c580 ProtoProxy: Added dblquotes. 2013-11-10 22:58:39 +01:00
madmaxoft
e7ba63b43c ProtoProxy: Fixed SpawnMob packet. 2013-11-07 17:13:25 +01:00
madmaxoft
cd52eeb223 ProtoProxy: Fixed the SpawnObjectVehicle packet. 2013-11-03 11:59:06 +01:00
madmaxoft
81aa5f3419 ProtoProxy: Removed unused enums. 2013-11-03 11:59:06 +01:00
madmaxoft
0652e7a4c8 ProtoProxy: Fixed handling of incomplete packets. 2013-11-03 11:59:06 +01:00
madmaxoft
e4906b3027 ProtoProxy: Working 1.7 protocol.
Players can login, move around, dig blocks.
2013-10-29 22:55:16 +01:00
madmaxoft
db62f8bcea ProtoProxy: Updated the server-side packets to 1.7.
Forgotten a file in the previous commit.
2013-10-29 22:14:30 +01:00
madmaxoft
21192e5ead ProtoProxy: The login part of the protocol is implemented. 2013-10-29 15:47:22 +01:00
madmaxoft
fe82ada084 ProtoProxy: Implemented 1.7.2 status request / response / ping. 2013-10-28 23:05:53 +01:00
madmaxoft
19bfab9eca ProtoProxy: Added handling for the Explosion packet.
This will help #129.
2013-09-19 21:51:59 +02:00
madmaxoft
d9494ccf1e ProtoProxy: Removed the per-packet sleep from the DEBUG version.
It is now enabled by defining a macro, by default off.
2013-09-19 21:35:33 +02:00
madmaxoft
36a6df8a34 ProtoProxy: Logs are saved to a Logs subfolder. 2013-09-08 11:27:49 +02:00