summaryrefslogtreecommitdiffstats
path: root/tests/Network (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix Android builds (#4998)Tiger Wang2020-10-151-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.
* More CMake cleanupTiger Wang2020-07-121-4/+4
|
* Update libevent to 2.1.12-stablePeter Bell2020-07-061-1/+0
|
* Upgrade to C++17 [CMake] (#4717)Tiger Wang2020-05-161-6/+1
| | | * Make our CMake slightly less insane
* Updated LibEvent to release 2.1.11-stable. (#4383)Mattes D2019-09-041-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)peterbell102018-02-051-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)peterbell102018-01-031-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 Pioch2017-09-191-1/+1
|
* Update mbedtls to 2.5.1 (#3964)peterbell102017-08-301-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)peterbell102017-06-151-0/+6
|
* Added strict static_cast to void * in printf.Mattes D2016-11-131-3/+3
|
* Fixed type-casting-related warnings.Mattes D2016-08-241-8/+5
|
* cTCPLink supports TLS out of the box.Mattes D2016-08-221-1/+12
|
* CMake: Remove needless minimum version specifications.Mattes D2016-07-181-2/+0
|
* SelfTests: More logging for EnumInterfaces.Mattes D2016-06-181-2/+3
|
* SelfTests: Print a quick message on test start.Mattes D2016-06-183-0/+9
|
* SelfTests: Fixed missing override keyword in EchoServer.Mattes D2016-06-181-1/+1
|
* SelfTests: Organized into solution folders.Mattes D2016-06-181-1/+5
|
* Moved NetworkInterfaceEnum test to a separate test project.Mattes D2016-06-182-0/+59
|
* Fixed and improved restartingTiger Wang2015-08-201-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.6tycho2015-05-241-1/+4
|
* Disable -Werror for warnings in tests.tycho2015-05-241-1/+1
|
* Fix teststycho2015-05-231-2/+3
|
* Network tests: Fixed clang warnings.Mattes D2015-02-203-3/+3
|
* Exported cServerHandle and cNetwork:Listen to Lua.Mattes D2015-02-041-0/+1
| | | | Also added an example to the NetworkTest plugin.
* Added network termination called at app exit.Mattes D2015-01-273-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 D2015-01-221-1/+1
|
* cNetwork: Added link creation callback.Mattes D2015-01-222-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 D2015-01-221-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 D2015-01-223-8/+8
|
* cNetwork: Fixed race conditions with lookups; proper shutdown.Mattes D2015-01-221-0/+1
|
* cNetwork: Split the main cpp file into several files.Mattes D2015-01-221-2/+22
|
* cNetwork: Split cNetworkSingleton to a separate file.Mattes D2015-01-221-1/+12
|
* cNetwork: Added an OnError callback for listening servers.Mattes D2015-01-221-0/+5
| | | | The callback receives the error details.
* cNetwork: Added multithreading protection.Mattes D2015-01-221-1/+7
|
* cNetwork: Implemented connection shutdown and close.Mattes D2015-01-221-1/+15
|
* cNetwork: Fixed Linux compilation.Mattes D2015-01-221-1/+1
|
* cNetwork: Implemented link address getting.Mattes D2015-01-221-4/+4
|
* cNetwork: Implemented basic server functionality.Mattes D2015-01-221-1/+67
|
* cNetwork: Implemented IP-to-hostname lookup.Mattes D2015-01-221-3/+16
|
* cNetwork: Implemented HostnameToIP lookups.Mattes D2015-01-224-3/+115
|
* Extracted Google connection testTycho2015-01-222-0/+99