Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Upgrade to C++17 [CMake] (#4717) | Tiger Wang | 2020-05-16 | 1 | -6/+1 |
| | | | * Make our CMake slightly less insane | ||||
* | Updated LibEvent to release 2.1.11-stable. (#4383) | Mattes D | 2019-09-04 | 1 | -1/+3 |
| | | | | | | This finally restores my ability to compile on Windows and Linux from the same source folder (on a network drive). LibEvent broke this long ago by writing a config file into the source folder, rather than build folder. Now it's finally fixed. | ||||
* | Deal with covered switches consistently (#4161) | peterbell10 | 2018-02-05 | 1 | -0/+4 |
| | | | | | | | * Fixes a number of "<function>: not all control paths return a value" warnings on MSVC. * Introduces the UNREACHABLE global macro and uses it instead of conditionally compiled switch defaults. * Move cNBTParseErrorCategory from FastNBT.h into FastNBT.cpp to prevent bad calls to message() | ||||
* | Add the fmt library (#4065) | peterbell10 | 2018-01-03 | 1 | -1/+2 |
| | | | | | | | * 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. | ||||
* | Removed UTF-8 BOM (#4033) | Lukas Pioch | 2017-09-19 | 1 | -1/+1 |
| | |||||
* | Update mbedtls to 2.5.1 (#3964) | peterbell10 | 2017-08-30 | 1 | -12/+14 |
| | | | | | | | | | | | | | | | | | | | | | | * 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 | ||||
* | Replace evdns with getaddrinfo and getnameinfo (#3766) | peterbell10 | 2017-06-15 | 1 | -0/+6 |
| | |||||
* | Added strict static_cast to void * in printf. | Mattes D | 2016-11-13 | 1 | -3/+3 |
| | |||||
* | Fixed type-casting-related warnings. | Mattes D | 2016-08-24 | 1 | -8/+5 |
| | |||||
* | cTCPLink supports TLS out of the box. | Mattes D | 2016-08-22 | 1 | -1/+12 |
| | |||||
* | CMake: Remove needless minimum version specifications. | Mattes D | 2016-07-18 | 1 | -2/+0 |
| | |||||
* | SelfTests: More logging for EnumInterfaces. | Mattes D | 2016-06-18 | 1 | -2/+3 |
| | |||||
* | SelfTests: Print a quick message on test start. | Mattes D | 2016-06-18 | 3 | -0/+9 |
| | |||||
* | SelfTests: Fixed missing override keyword in EchoServer. | Mattes D | 2016-06-18 | 1 | -1/+1 |
| | |||||
* | SelfTests: Organized into solution folders. | Mattes D | 2016-06-18 | 1 | -1/+5 |
| | |||||
* | Moved NetworkInterfaceEnum test to a separate test project. | Mattes D | 2016-06-18 | 2 | -0/+59 |
| | |||||
* | Fixed and improved restarting | Tiger Wang | 2015-08-20 | 1 | -0/+1 |
| | | | | | Restarts are now an actual, close-as-possible to application exit+reopen. | ||||
* | Fix clang 3.6 flags to only be used in clang 3.6 | tycho | 2015-05-24 | 1 | -1/+4 |
| | |||||
* | Disable -Werror for warnings in tests. | tycho | 2015-05-24 | 1 | -1/+1 |
| | |||||
* | Fix tests | tycho | 2015-05-23 | 1 | -2/+3 |
| | |||||
* | Network tests: Fixed clang warnings. | Mattes D | 2015-02-20 | 3 | -3/+3 |
| | |||||
* | Exported cServerHandle and cNetwork:Listen to Lua. | Mattes D | 2015-02-04 | 1 | -0/+1 |
| | | | | Also added an example to the NetworkTest plugin. | ||||
* | Added network termination called at app exit. | Mattes D | 2015-01-27 | 3 | -3/+38 |
| | | | | This fixes a crash in MSVC runtime caused by joining a thread in a global var's destructor. | ||||
* | cNetwork: Renamed callback to OnConnected() | Mattes D | 2015-01-22 | 1 | -1/+1 |
| | |||||
* | cNetwork: Added link creation callback. | Mattes D | 2015-01-22 | 2 | -11/+48 |
| | | | | This allows the callback classes to store the link inside them and use it internally later on, mainly for sending data. | ||||
* | cNetwork: Changed listening API. | Mattes D | 2015-01-22 | 1 | -22/+28 |
| | | | | The link-callbacks for each new accepted link are now received from the OnIncomingConnection listen-callback. | ||||
* | cNetwork: Added error message to error callbacks. | Mattes D | 2015-01-22 | 3 | -8/+8 |
| | |||||
* | cNetwork: Fixed race conditions with lookups; proper shutdown. | Mattes D | 2015-01-22 | 1 | -0/+1 |
| | |||||
* | cNetwork: Split the main cpp file into several files. | Mattes D | 2015-01-22 | 1 | -2/+22 |
| | |||||
* | cNetwork: Split cNetworkSingleton to a separate file. | Mattes D | 2015-01-22 | 1 | -1/+12 |
| | |||||
* | cNetwork: Added an OnError callback for listening servers. | Mattes D | 2015-01-22 | 1 | -0/+5 |
| | | | | The callback receives the error details. | ||||
* | cNetwork: Added multithreading protection. | Mattes D | 2015-01-22 | 1 | -1/+7 |
| | |||||
* | cNetwork: Implemented connection shutdown and close. | Mattes D | 2015-01-22 | 1 | -1/+15 |
| | |||||
* | cNetwork: Fixed Linux compilation. | Mattes D | 2015-01-22 | 1 | -1/+1 |
| | |||||
* | cNetwork: Implemented link address getting. | Mattes D | 2015-01-22 | 1 | -4/+4 |
| | |||||
* | cNetwork: Implemented basic server functionality. | Mattes D | 2015-01-22 | 1 | -1/+67 |
| | |||||
* | cNetwork: Implemented IP-to-hostname lookup. | Mattes D | 2015-01-22 | 1 | -3/+16 |
| | |||||
* | cNetwork: Implemented HostnameToIP lookups. | Mattes D | 2015-01-22 | 4 | -3/+115 |
| | |||||
* | Extracted Google connection test | Tycho | 2015-01-22 | 2 | -0/+99 |