summaryrefslogtreecommitdiffstats
path: root/src/OSSupport (follow)
Commit message (Expand)AuthorAgeFilesLines
* Remove smart pointer macrospeterbell102017-07-217-20/+20
* NetworkSingleton: Fixed a throw warning in VS2017. (#3792)Mattes D2017-06-222-2/+2
* Removed the LeakFinder for Windows. (#3777)Mattes D2017-06-194-5/+1435
* NetworkSingleton: Fixed an object leak upon termination.Mattes D2017-06-171-0/+1
* Change error no data to no namepeterbell102017-06-161-1/+1
* Replace evdns with getaddrinfo and getnameinfo (#3766)peterbell102017-06-1511-248/+294
* Clang 5.0 fixesLukas Pioch2017-05-213-3/+3
* Removed unnecessary check for lower and upper folderLukas Pioch2017-03-161-6/+0
* DeadlockDetect now lists some tracked CS's stats.Mattes D2017-01-182-29/+34
* TCPLink: call networking callbacks with LibEvent unlocked. (#3515)Mattes D2017-01-031-2/+2
* Updated links and docs (#3488)mathiascode2016-12-191-1/+1
* Use CMake's Android generators to crosscompileTiger Wang2016-12-126-19/+30
* cUrlClient: Exported to Lua API.Mattes D2016-08-231-0/+5
* cTCPLink supports TLS out of the box.Mattes D2016-08-223-2/+397
* IPLookup: Fixed a soft memory leak when looking up invalid IPs.Mattes D2016-08-131-1/+7
* Removed "." and ".." from cFile:GetFolderContents(). (#3301)Mattes D2016-08-071-0/+14
* CMake: Remove needless minimum version specifications.Mattes D2016-07-181-2/+0
* Self tests (#3242)Mattes D2016-06-262-6/+3
* cNetwork: Fixed possible hang when terminating immediately after init.Mattes D2016-06-182-2/+27
* SelfTests: Removed the unneeded cSelfTests class.Mattes D2016-06-181-1/+0
* Moved NetworkInterfaceEnum test to a separate test project.Mattes D2016-06-181-28/+0
* Bulk clearing of whitespaceLogicParrot2016-02-0511-81/+81
* Renamed leftover strings to Cuberite / Server, as needed.Mattes D2016-01-011-1/+1
* Use atomic bool for isthread terminatetycho2015-12-191-1/+2
* Added HTTPS links wherever they are supported.Alexander Harkness2015-12-192-10/+2
* Moved variables into scope, removed unused variables and fixed variablesLukas Pioch2015-12-171-1/+1
* Use C++11 auto instead of per-platform types.Mattes D2015-12-031-8/+1
* Include execinfo.h only on __GLIBC__Thomas Boerger2015-11-191-1/+3
* Define stacktrace functions only if __GLIBC__ is definedThomas Boerger2015-11-191-5/+7
* Check for __GLIBC__ to detect correct strerror_r versionThomas Boerger2015-11-191-1/+1
* Changed for-loop iterator in File.cpp to a reference type to reduce object copying and fix the clang build.bibo382015-10-301-1/+1
* Merge pull request #2498 from cuberite/UnicodeOnWindowsTiger Wang2015-09-281-1/+1
|\
| * Added the _UNICODE flag on WindowsTiger Wang2015-09-261-1/+1
* | Extended and fixed the cFile API.Mattes D2015-09-262-95/+186
|/
* Added CircleCI for stylechecking.Mattes D2015-09-172-502/+0
* Small fix for cEventTiger Wang2015-08-272-8/+13
* Fixed and improved restartingTiger Wang2015-08-202-27/+37
* Some warning fixesJulian Laubstein2015-08-181-1/+3
* Unified the doxy-comment format.Mattes D2015-07-313-26/+25
* Moved AString reading hack to cFile.Mattes D2015-07-312-8/+32
* Silenced and fixed many warning messages across multiple files.Samuel Barney2015-07-293-8/+8
* Fixed cNetworkSingleton's HasTerminated flag.Mattes D2015-07-231-1/+4
* Network: Fixed ServerHandle's address formatting.Mattes D2015-07-071-2/+2
* Merge pull request #2224 from cuberite/ChunkQueueCollapsingworktycho2015-07-044-46/+40
|\
| * Fixed minor errors in Tycho's codeTiger Wang2015-06-224-46/+40
* | SelfTests are registered and executed after logging framework init.Mattes D2015-06-111-3/+10
|/
* Skip unknown cflag for Apple clang & remove cSemaphoreCengiz Can2015-06-044-128/+2
* Fix FreeBSD/clang errors caused by -Werrorlinnemannr2015-05-301-1/+8
* Merge branch 'master' into PreventNewWarningstycho2015-05-281-1/+1
|\
| * Support building on FreeBSDlinnemannr2015-05-251-1/+1
* | Made -Weverything an error.tycho2015-05-242-2/+2
* | Fix teststycho2015-05-231-0/+4
* | Finish fixing windowstycho2015-05-191-2/+2
* | Properly fix cFile Warningstycho2015-05-192-11/+11
* | Fixed a lot of warningstycho2015-05-192-10/+22
|/
* CheckBasicStyle: checks spaces around * and &.Mattes D2015-05-091-1/+1
* More style checking.Mattes D2015-05-093-3/+3
* Fixed bindings for cFile:ReadWholeFile().Mattes D2015-04-301-1/+6
* Network: fixed excessive debug logging.Mattes D2015-04-212-7/+1
* cFile:ChangeFileExt now accepts extensions with leading dot, too.Mattes D2015-04-111-2/+14
* Added more cFile API functions.Mattes D2015-04-112-2/+66
* Added proper implementation of cFile::ChangeFileExt().Mattes D2015-04-101-2/+17
* Added cFile:ChangeFileExt() function.Mattes D2015-04-062-0/+27
* Unified cPacketizer across all protocols.Mattes D2015-03-221-6/+6
* Network: Close the UDP endpoint in destructor.Mattes D2015-03-182-0/+11
* Use std::memcpy to fix alignmentTiger Wang2015-03-101-2/+8
* Potential Linux implementationTiger Wang2015-03-081-4/+54
* Network: Replaced magic number with named constant.Mattes D2015-02-221-1/+1
* cNetwork: Added EnumLocalIPAddresses() function.Mattes D2015-02-223-0/+133
* UDPEndpointImpl: Fixed clang warnings.Mattes D2015-02-201-3/+3
* cNetwork: Added UDP API.Mattes D2015-02-205-1/+780
* NetworkSingleton: LibEvent thread is joined properly on server exit.Mattes D2015-02-182-7/+5
* Network: Fixed two-socket servers.Mattes D2015-02-181-1/+1
* Fixed TCP link shutdown.Mattes D2015-02-142-9/+68
* ServerHandle: Fixed socket reuse.Mattes D2015-02-081-10/+30
* Merge pull request #1729 from mc-server/ReuseFlagMattes D2015-02-081-1/+14
|\
| * Use evutil_make_listen_socket_reuseableHowaner2015-02-071-16/+6
| * Set reuse flag to socketsHowaner2015-02-071-1/+24
* | Exported cServerHandle and cNetwork:Listen to Lua.Mattes D2015-02-041-0/+3
* | cTCPLink: Fixed missing addresses on link connection.Mattes D2015-02-041-2/+2
|/
* Fixed listening ports not closed on cServerHandle::Close.Mattes D2015-01-271-0/+3
* Added network termination called at app exit.Mattes D2015-01-272-12/+43
* cTCPLinkImpl: Added the BEV_OPT_THREADSAFE flag.Mattes D2015-01-271-2/+8
* ServerHandleImpl: Removed needless diagnostic output.Mattes D2015-01-271-4/+0
* Removed cFile::ReplaceFileNameInvalidChars().Mattes D2015-01-272-26/+0
* Removed ListenThread and SocketThreads.Mattes D2015-01-275-1225/+0
* cNetwork: Fixed IP address reading for incoming connections.Mattes D2015-01-271-1/+2
* cFile: Added ReplaceFileNameInvalidChars().Mattes D2015-01-272-0/+26
* Fixed missing LibEvent reference in OSSupport.Mattes D2015-01-271-1/+1
* cNetwork: Added self pointers to keep objects alive for callbacks.Mattes D2015-01-235-17/+39
* cNetwork: Renamed callback to OnConnected()Mattes D2015-01-222-3/+6
* cNetwork: Added link creation callback.Mattes D2015-01-224-15/+42
* cNetwork: Changed listening API.Mattes D2015-01-224-29/+51
* cNetwork: Added error message to error callbacks.Mattes D2015-01-225-13/+20
* cTCPLinkImpl: Fixed type conversion warning.Mattes D2015-01-223-5/+5
* cNetwork: Fixed race conditions with lookups; proper shutdown.Mattes D2015-01-226-82/+123
* cNetwork: Split the main cpp file into several files.Mattes D2015-01-2213-1050/+1148
* cNetwork: Fixed WinXP dualstack listening.Mattes D2015-01-221-21/+42
* cNetwork: Split cNetworkSingleton to a separate file.Mattes D2015-01-224-325/+430
* cNetwork: Fixed WSAStartup()-not-called error in Listen().Mattes D2015-01-221-0/+3
* cNetwork: Handle WSA initialization failures.Mattes D2015-01-221-1/+7
* cNetwork: Added an OnError callback for listening servers.Mattes D2015-01-222-0/+8
* cNetwork: Rewritten server listen into a factory method.Mattes D2015-01-221-88/+102
* cNetwork: Removed unneeded dependency.Mattes D2015-01-221-1/+0
* cNetwork: Refactored cTCPLinkImpl::Connect into a factory.Mattes D2015-01-221-41/+48
* cNetwork: Cosmetics.Mattes D2015-01-221-6/+10
* cNetwork: Fixed compilation.Mattes D2015-01-221-9/+8
* Wrap debug variable in ifdef worktycho2015-01-221-0/+2
* cNetwork: Added error logging to server socket creation.Mattes D2015-01-221-6/+24
* cNetwork: Added multithreading protection.Mattes D2015-01-222-3/+28
* cNetwork: Implemented connection shutdown and close.Mattes D2015-01-222-17/+59
* cNetwork: Fixed Linux compilation.Mattes D2015-01-221-5/+23
* cNetwork: Implemented link address getting.Mattes D2015-01-221-57/+117
* cNetwork: Implemented basic server functionality.Mattes D2015-01-221-122/+215
* cNetwork: Implemented IP-to-hostname lookup.Mattes D2015-01-221-8/+114
* cNetwork: Implemented HostnameToIP lookups.Mattes D2015-01-222-6/+141
* Extracted Google connection testTycho2015-01-221-74/+3
* cNetwork: Linux compilation fix.Mattes D2015-01-222-4/+23
* Implemented LibEvent-based client connections.Mattes D2015-01-223-0/+1027
* Fixed various warnings.Mattes D2015-01-181-1/+1
* Fixed CppCheck: (performance) Possible inefficient checking for emptiness.Kirill Kirilenko2015-01-171-2/+2
* cIsThread: Fixed a race condition on thread start.Mattes D2014-12-252-7/+30
* Merge pull request #1657 from mc-server/PrepareChunkMattes D2014-12-111-0/+23
|\
| * Added a RemoveIf() function to cQueueMattes D2014-12-091-0/+23
* | Cosmetic touchups.Mattes D2014-12-111-1/+1
|/
* Fixed integer overflow problems.Mattes D2014-12-072-4/+4
* Merge remote-tracking branch 'origin/master' into c++11EventsMattes D2014-12-0715-485/+149
|\
| * Fixed c++11 branch issues.Mattes D2014-12-071-10/+10
| * Merge remote-tracking branch 'origin/master' into c++11Tiger Wang2014-12-062-4/+12
| |\
| | * Merge pull request #1647 from mc-server/SocketThreadsFixMattes D2014-12-061-3/+11
| | |\
| | | * Fixes socket leak in HTTP server.Mattes D2014-12-031-3/+11
| | * | BasicStyle: Added missing braces to control statements.Mattes D2014-12-051-1/+10
| | * | Fixed reported parentheses around comparisons.Mattes D2014-12-051-1/+1
| | |/
| * | Fixed trailing whitespace.Mattes D2014-12-041-5/+5
| * | Merged branch 'origin/master' into c++11.Mattes D2014-12-043-0/+61
| |\|
| | * Fixed compiling on linux.Howaner2014-11-301-0/+1
| | * Added a basic stacktracing for assert and signal failures.Mattes D2014-11-293-2/+64
| * | Compilation fixesTiger Wang2014-11-231-2/+2
| * | Merged branch 'master' into c++11.Mattes D2014-10-241-1/+5
| |\|
| * | SuggestionsTiger Wang2014-10-243-6/+46
| * | Merged branch 'master' into c++11.Mattes D2014-10-231-8/+4
| |\ \
| * | | Compile fix?Tiger Wang2014-10-211-2/+2
| * | | En masse NULL -> nullptr replaceTiger Wang2014-10-209-35/+35
| * | | Use std::recusive_mutexTiger Wang2014-10-203-52/+9
| * | | Migrated cSleep and cTimer to std::chronoTiger Wang2014-10-206-98/+1
| * | | Use std::threadTiger Wang2014-10-197-339/+34
* | | | cEvent: Changed chrono duration resolution.Mattes D2014-11-041-1/+1
* | | | cEvent: Changed steady_clock to system_clock.Mattes D2014-11-041-2/+2
* | | | Moved the chrono include into Globals.Mattes D2014-10-241-1/+0
* | | | Added a missing chrono include.Mattes D2014-10-241-0/+1
* | | | Merge branch 'master' into c++11EventsMattes D2014-10-241-1/+5
|\ \ \ \ | | |_|/ | |/| |
| * | | OSSupport/CMakeLists.txt: fixed indentationarchshift2014-10-241-3/+3
| * | | Fixed potential linker errors with mingw, as it isn't MSVC and it isn't APPLE.archshift2014-10-241-4/+4
| * | | Fix linking on OS X, which does not have librt.archshift2014-10-231-2/+6
| | |/ | |/|
* / | Reimplemented cEvent using C++11 primitives.Mattes D2014-10-232-136/+51
|/ /
* | En masse NULL -> nullptr replaceTiger Wang2014-10-239-35/+35
* | convert old style casts to fix warningsSteven Riehl2014-10-121-20/+16
|/
* Update CMakeLists.txtworktycho2014-10-061-1/+1
* Added a cEvent::Wait() with timeout.Mattes D2014-10-052-0/+51
* OSSupport: Fixed UNICODE Windows builds.Mattes D2014-09-142-8/+8
* Merge remote-tracking branch 'origin/master' into CraftingFixesMattes D2014-08-282-6/+8
|\
| * Removed an unneeded cast.madmaxoft2014-08-151-1/+1
| * Fixed windows compilation and style issues.madmaxoft2014-08-121-4/+4
| * First Implementatation of new Loggin frameworkTycho2014-08-102-3/+5
* | Fixed spaces after "template" keyword.Mattes D2014-08-281-1/+1
|/
* Removed redundant semicolons and re-added warningarchshift2014-07-241-2/+2
* Style: Normalized to no spaces before closing parenthesis.madmaxoft2014-07-218-44/+44
* Style: Normalized spaces after if, for and while.madmaxoft2014-07-213-13/+13
* Socket: removed unused Socket destructorarchshift2014-07-192-10/+0
* Fixed style: spaces after commas.madmaxoft2014-07-192-5/+5
* Subdirs: Only add_library if not using MSVCarchshift2014-07-191-3/+5
* OSSupport/CMakeLists.txt: Replaced glob with list of filesarchshift2014-07-191-5/+32
* Fixed tabs used for alignment.madmaxoft2014-07-173-19/+35
* Basic style fixes.madmaxoft2014-07-174-7/+7
* Normalized comments.madmaxoft2014-07-177-18/+18
* Fixed printf formats for Win buildsmadmaxoft2014-07-012-4/+4
* Fixed cFile compilation under MinGW.madmaxoft2014-06-301-0/+3
* Nullify deleted pointers.archshift2014-06-193-0/+4
* Fixed deadlock when moving players to other worlds.Mattes D2014-06-082-3/+22
* Merge branch 'master' into SslWebAdminMattes D2014-05-105-10/+10
|\
| * Fixed MSVC 64-bit build warnings.Mattes D2014-05-094-8/+8
| * Open files in shared mode on windows, so that other tools may read them.madmaxoft2014-05-021-2/+2
* | Fixed crashes in the SSL HTTP connection.madmaxoft2014-05-011-2/+4
|/
* Removed the unused cBlockingTCPLink class.madmaxoft2014-04-302-170/+0
* Merged branch 'master' into SslWrappers.madmaxoft2014-04-284-10/+11
|\
| * Template MagicTycho2014-04-282-4/+4
| * Merge pull request #948 from jfhumann/staticFixesMattes D2014-04-271-1/+1
| |\
| | * Fixed unitialized member in gZipFile (CID 43673)jfhumann2014-04-261-1/+1
| * | Fixed mobs that don't naturally spawn.archshift2014-04-261-5/+5
| * | Cmake generated projects for IDEs include headers in project files.archshift2014-04-251-0/+1
| |/
* / cSocket creates the socket in Connect if no socket is present yet.madmaxoft2014-04-271-2/+8
|/
* Fixed issues with 64-bit MSVC compilation.madmaxoft2014-04-113-21/+35
* Merge branch 'master' into HTTPSizeTTycho2014-04-023-3/+3
|\
| * Merge branch 'MacFixes'Tycho2014-04-023-3/+3
| |\
| | * More fixes to get it to compile for me on Mac 10.9. Mostly just newline additions, but some of the unused variables were causing errors, so I wrapped them in #ifndef __APPLE__ calls, since I didn't know if they were going to be used in the future.Samuel Barney2014-03-251-1/+1
| | * Added newlines. Without them, the files would not compile.Samuel Barney2014-03-252-2/+2
* | | Fixed All signedness warnings in HTTPServer.cppTycho2014-04-021-1/+1
|/ /
* | More cFile warning fixes.madmaxoft2014-04-011-1/+1
* | Fixed clang warnings in cGZipFile.madmaxoft2014-04-011-2/+2
* | Fixed clang warnings in cFile.madmaxoft2014-04-011-10/+10
* | Fixed non-virtual destructors warnings.madmaxoft2014-03-281-9/+11
|/
* Fixed cGZipFile::ReadRestOfFile returning incorrect value.madmaxoft2014-03-181-1/+4
* Fixed xofts issuesTycho2014-03-141-1/+1
* Added additional macros to support the MSVC size_t format and changed all formats to use the macrosTycho2014-03-121-1/+1
* Fixed a load of format string errorsTycho2014-03-111-1/+1
* Added macros to follow format string checking through wrappersTycho2014-03-111-1/+1
* Fixed cast to type with different alignment in BlockingTCPLinkTycho2014-03-101-1/+1
* Fixed cast between types of different alignment in cSocketTycho2014-03-101-1/+2
* Fix IsThread destructorTycho2014-03-091-1/+1
* Fixed warningsTycho2014-03-071-1/+1
* Fixed multiple gcc warnings about unused params.madmaxoft2014-02-281-0/+4
* fixed globals.h warningsTycho2014-02-231-1/+5
* Fixed #491Tiger Wang2014-02-031-2/+14
* Fixed socket leaking.madmaxoft2014-02-031-0/+5
* SocketThreads: Fixed sending to closed socket.madmaxoft2014-02-031-1/+6
* Fixed timing on *nix.madmaxoft2014-01-281-1/+1
* Squashed common code.madmaxoft2014-01-271-14/+7
* Fixed Linux compilation.madmaxoft2014-01-271-1/+2
* Rewritten networking to use non-blocking sockets.madmaxoft2014-01-274-62/+176
* Merge pull request #581 from worktycho/strerrorMattes D2014-01-257-65/+76
|\
| * Switched cEvent to GetOSErrorStringTycho2014-01-253-18/+14
| * Extracted cSocket::GetErrorString into GetOSErrorStringTycho2014-01-256-59/+62
| * Switched cEvent to use strerror_r for error messagesTycho2014-01-231-6/+18
* | Added cFile::Flush().madmaxoft2014-01-252-20/+34
|/
* Rewritten SocketThreads for proper shutdown scenario.madmaxoft2014-01-194-158/+182
* SocketThreads: Removed unused code.madmaxoft2014-01-192-53/+3
* Fixed SIGPIPE on cSocket::Send().madmaxoft2014-01-163-12/+13
* Another VarArgs fix.madmaxoft2014-01-161-4/+2
* Using a 2nd argument instead of va_copy().madmaxoft2014-01-151-2/+4
* Removed shutdown() from socket closing.madmaxoft2014-01-131-4/+0
* Added fake functions into cCriticalSection because of the change to ASSERTDiusrex2014-01-051-0/+5
* Fixed a race condition in the cQueue class.madmaxoft2014-01-051-59/+86
* Fixed DocumentationTycho2014-01-031-4/+2
* derpTycho2014-01-031-1/+1
* actual fixTycho2014-01-031-2/+9
* fixed failure to return a value from RemoveTycho2014-01-031-1/+1
* implement xsofts recommendationsTycho Bickerstaff2014-01-031-9/+15
* added documentationTycho Bickerstaff2014-01-021-7/+45
* rewrote queue not to use promises for waitsTycho Bickerstaff2014-01-023-105/+11
* fogot to add promise classesTycho Bickerstaff2013-12-312-0/+92
* clean up code for patchingTycho Bickerstaff2013-12-312-3/+4
* refactored chunk Queue to seperate classTycho Bickerstaff2013-12-314-26/+95
* Merge remote-tracking branch 'upstream/master' into threadsafequeueTycho Bickerstaff2013-12-221-0/+3
|\
| * Fixed a (valid) warning in RCONServer.madmaxoft2013-12-281-0/+3
* | basic threadsafe queue interfaceTycho Bickerstaff2013-12-212-0/+34
|/
* Merge branch 'master' into cmakeTycho Bickerstaff2013-12-211-2/+2
|\
| * Fixed the rest of constructor reorders.madmaxoft2013-12-201-2/+2
* | added pthread linking code to OSSupportTycho Bickerstaff2013-12-191-0/+4
* | Merge branch 'master' of github.com:mc-server/MCServer into cmakeTycho Bickerstaff2013-12-111-1/+1
|\|
| * fixed comparison of thread handle to Null point rather than null handleTycho Bickerstaff2013-12-101-1/+1
* | added tolua++ command and removed stackwalker from buildTycho Bickerstaff2013-12-101-1/+0
* | more cmake changesTycho Bickerstaff2013-12-101-2/+4
* | more cmakeTycho Bickerstaff2013-12-101-1/+3
* | started work on cmakeTycho Bickerstaff2013-12-101-0/+7
|/
* Fixed the remaining derpsAlexander Harkness2013-11-271-1/+1
* Merge remote-tracking branch 'origin/master' into foldermove2Alexander Harkness2013-11-261-4/+5
* Merge branch 'master' into foldermove2Alexander Harkness2013-11-261-3/+0
* Further attempts to fix compileTiger Wang2013-11-251-1/+1
* Attempt to fix compilationTiger Wang2013-11-241-1/+1
* Merge remote-tracking branch 'origin/master' into foldermove2Alexander Harkness2013-11-244-7/+90
* Moved source to srcAlexander Harkness2013-11-2426-0/+3573