summaryrefslogtreecommitdiffstats
path: root/tests/Network (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-10-15Fix Android builds (#4998)Tiger Wang1-42/+42
Construct paths relative to the Cuberite sources with PROJECT_SOURCE_DIR, instead of wherever the first CMakeLists.txt file happened to be with CMAKE_SOURCE_DIR. In Android's case, the latter was in a folder called android/ but that's not the root of the source tree, so any file path built off that root was wrong. This caused file-specific warnings exclusions to fail to apply.
2020-07-12More CMake cleanupTiger Wang1-4/+4
2020-07-06Update libevent to 2.1.12-stablePeter Bell1-1/+0
2020-05-16Upgrade to C++17 [CMake] (#4717)Tiger Wang1-6/+1
* Make our CMake slightly less insane
2019-09-04Updated LibEvent to release 2.1.11-stable. (#4383)Mattes D1-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.
2018-02-05Deal with covered switches consistently (#4161)peterbell101-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()
2018-01-03Add the fmt library (#4065)peterbell101-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.
2017-09-19Removed UTF-8 BOM (#4033)Lukas Pioch1-1/+1
2017-08-30Update mbedtls to 2.5.1 (#3964)peterbell101-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
2017-06-15Replace evdns with getaddrinfo and getnameinfo (#3766)peterbell101-0/+6
2016-11-13Added strict static_cast to void * in printf.Mattes D1-3/+3
2016-08-24Fixed type-casting-related warnings.Mattes D1-8/+5
2016-08-22cTCPLink supports TLS out of the box.Mattes D1-1/+12
2016-07-18CMake: Remove needless minimum version specifications.Mattes D1-2/+0
2016-06-18SelfTests: More logging for EnumInterfaces.Mattes D1-2/+3
2016-06-18SelfTests: Print a quick message on test start.Mattes D3-0/+9
2016-06-18SelfTests: Fixed missing override keyword in EchoServer.Mattes D1-1/+1
2016-06-18SelfTests: Organized into solution folders.Mattes D1-1/+5
2016-06-18Moved NetworkInterfaceEnum test to a separate test project.Mattes D2-0/+59
2015-08-20Fixed and improved restartingTiger Wang1-0/+1
Restarts are now an actual, close-as-possible to application exit+reopen.
2015-05-24Fix clang 3.6 flags to only be used in clang 3.6tycho1-1/+4
2015-05-24Disable -Werror for warnings in tests.tycho1-1/+1
2015-05-23Fix teststycho1-2/+3
2015-02-20Network tests: Fixed clang warnings.Mattes D3-3/+3
2015-02-04Exported cServerHandle and cNetwork:Listen to Lua.Mattes D1-0/+1
Also added an example to the NetworkTest plugin.
2015-01-27Added network termination called at app exit.Mattes D3-3/+38
This fixes a crash in MSVC runtime caused by joining a thread in a global var's destructor.
2015-01-22cNetwork: Renamed callback to OnConnected()Mattes D1-1/+1
2015-01-22cNetwork: Added link creation callback.Mattes D2-11/+48
This allows the callback classes to store the link inside them and use it internally later on, mainly for sending data.
2015-01-22cNetwork: Changed listening API.Mattes D1-22/+28
The link-callbacks for each new accepted link are now received from the OnIncomingConnection listen-callback.
2015-01-22cNetwork: Added error message to error callbacks.Mattes D3-8/+8
2015-01-22cNetwork: Fixed race conditions with lookups; proper shutdown.Mattes D1-0/+1
2015-01-22cNetwork: Split the main cpp file into several files.Mattes D1-2/+22
2015-01-22cNetwork: Split cNetworkSingleton to a separate file.Mattes D1-1/+12
2015-01-22cNetwork: Added an OnError callback for listening servers.Mattes D1-0/+5
The callback receives the error details.
2015-01-22cNetwork: Added multithreading protection.Mattes D1-1/+7
2015-01-22cNetwork: Implemented connection shutdown and close.Mattes D1-1/+15
2015-01-22cNetwork: Fixed Linux compilation.Mattes D1-1/+1
2015-01-22cNetwork: Implemented link address getting.Mattes D1-4/+4
2015-01-22cNetwork: Implemented basic server functionality.Mattes D1-1/+67
2015-01-22cNetwork: Implemented IP-to-hostname lookup.Mattes D1-3/+16
2015-01-22cNetwork: Implemented HostnameToIP lookups.Mattes D4-3/+115
2015-01-22Extracted Google connection testTycho2-0/+99