Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2020-05-10 | Cleanup unneeded globals (#4736) | peterbell10 | 3 | -12/+12 | |
2020-05-07 | Remove old Android leftovers (#4722) | Mat | 1 | -4/+4 | |
2020-05-05 | Update fmt to 6.2.0 (#4718) | peterbell10 | 2 | -5/+10 | |
* Update fmt to 6.2.0 | |||||
2020-04-16 | Using Super. | Mattes D | 5 | -6/+9 | |
2020-04-15 | ServerHandle: Fix closing failed servers. (#4653) | Mattes D | 1 | -1/+4 | |
If the cServerHandle failed to listen, closing it would then crash Cuberite. | |||||
2020-04-02 | Use a reasonable listen backlog value (#4597) | Mat | 1 | -2/+2 | |
2020-03-05 | Stabilise MoveToWorld (#4004) | Mat | 2 | -0/+82 | |
* Stabilise MoveToWorld * Fix comments and deprecate ScheduleMoveToWorld * Enhanced thread safety for m_WorldChangeInfo * Return unique_ptr from cAtomicUniquePtr::exchange * cWorld now calls entity cEntity::OnAddToWorld and cEntity::OnRemoveFromWorld. Allows broadcasting entities added to the world from the world's tick thread. This also factors out some common code from cEntity::DoMoveToWorld and cEntity::Initialize. As a consequence, cEntity::Destroy(false) (i.e. Destroying the entity without broadcasting) is impossible. This isn't used anywhere in Cuberite so it's now deprecated. * Update entity position after removing it from the world. Fixes broadcasts being sent to the wrong chunk. * Fix style * cEntity: Update LastSentPosition when sending spawn packet * Add Wno-deprecated-declarations to the lua bindings * Kill uses of ScheduleMoveToWorld | |||||
2020-01-02 | Fix android builds (#4432) | Alexander Harkness | 1 | -1/+1 | |
* Terminate android build script early if any step fails * Remove deprecated android types * Use android NDK cmake support rather than cmake android NDK support as that support is better supported * Android uses GNU strerror_r? * Fix compilation * Rebase * Fix final issues * Drop submodule changes * Revert change * Parentheses * Lower api levels * Don't use GNU strerror_r for Android Co-authored-by: Mat <mail@mathias.is> | |||||
2019-09-04 | Updated LibEvent to release 2.1.11-stable. (#4383) | Mattes D | 1 | -0/+4 | |
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-08-29 | Force all headers other than "Globals.h" to be included with relative paths (#4269) | peterbell10 | 3 | -5/+2 | |
Closes #4236 CMake now creates a header file in the build directory under the path "include/Globals.h" which just includes "src/Globals.h" with an absolute path. Then instead of adding "src/" to the include directories, it adds "include/". #include "Globals.h" still works by including the build generated file and any other src-relative path will not work. | |||||
2018-08-13 | Fix: Create players folder recursively (#4283) | Nate | 1 | -2/+5 | |
Problem: On a new server the players folder was not created on windows. Root Cause: `GetUUIDFolderName` was returning a folder structure for players with `/` while CreateFolderRecursively was checking for `\\` for win32. The fix is to recognise both forward and backward slashes as file separators on windows. Fixes #4284 | |||||
2018-07-26 | CheckBasicStyle: Check number of empty lines between functions (#4267) | peterbell10 | 5 | -3/+2 | |
Add check for number of empty lines between functions and fix the corresponding failures | |||||
2018-07-22 | cIsThread: Reset m_ShouldTerminate after the thread has stopped (#4258) | peterbell10 | 1 | -8/+2 | |
This allows threads to be restarted after stopping. Fixes #4257 | |||||
2018-05-02 | Prefer static_cast to reinterpret_cast (#4223) | peterbell10 | 3 | -3/+3 | |
* Change reinterpret_cast -> static_cast wherever possible * Remove more unnecessary `const_cast`s. reinterpret_casts should be avoided for the same reason as c-style casts - they don't do any type-checking. reinterpret_cast was mainly being used for down-casting in inheritance hierarchies but static_cast works just as well while also making sure that there is actually an inheritance relationship there. | |||||
2018-02-20 | Fix cUrlClient leak (#4125) | peterbell10 | 2 | -19/+34 | |
Fixes #4040 * The TCP connection is now shutdown after OnBodyFinished * Any open connections are closed when cNetworkSingleton::Terminate() is called. * Removed ownership cycles in cUrlClientRequest * Added a check to the test to ensure there are no leaks. | |||||
2018-01-03 | Add the fmt library (#4065) | peterbell10 | 3 | -13/+13 | |
* 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-12-21 | NetworkLookup: Added "virtual" keyword to overridden dtor. (#4100) | Mattes D | 1 | -1/+1 | |
2017-12-21 | Fixed Clang 5.0 compile errors (#4085) | bibo38 | 1 | -1/+1 | |
* Fixed Clang 5.0 compile errors * Fixed wrong comment * Only disable warnings in Clang 5 or higher * Added a CMake condition for the Clang 5 no-zero-as-null-pointer-constant warning * Now using the use_nullptr branch of the Cuberite specific SQLiteCpp fork | |||||
2017-09-19 | Removed UTF-8 BOM (#4033) | Lukas Pioch | 1 | -1/+1 | |
2017-08-30 | Update mbedtls to 2.5.1 (#3964) | peterbell10 | 2 | -16/+23 | |
* 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-24 | Minor changes (#3909) | mathiascode | 2 | -5/+5 | |
2017-08-06 | Removed unneeded includes (#3902) | Lukas Pioch | 1 | -1/+0 | |
2017-08-03 | Remove double includes part 2 (#3890) | peterbell10 | 4 | -8/+0 | |
2017-07-21 | Remove alignment macros | peterbell10 | 1 | -1/+1 | |
2017-07-21 | Remove smart pointer macros | peterbell10 | 7 | -20/+20 | |
2017-06-22 | NetworkSingleton: Fixed a throw warning in VS2017. (#3792) | Mattes D | 2 | -2/+2 | |
Also fixed the misleading name. | |||||
2017-06-19 | Removed the LeakFinder for Windows. (#3777) | Mattes D | 4 | -5/+1435 | |
2017-06-17 | NetworkSingleton: Fixed an object leak upon termination. | Mattes D | 1 | -0/+1 | |
2017-06-16 | Change error no data to no name | peterbell10 | 1 | -1/+1 | |
2017-06-15 | Replace evdns with getaddrinfo and getnameinfo (#3766) | peterbell10 | 11 | -248/+294 | |
2017-05-21 | Clang 5.0 fixes | Lukas Pioch | 3 | -3/+3 | |
- Added override keyword - Removed inherited member variables | |||||
2017-03-16 | Removed unnecessary check for lower and upper folder | Lukas Pioch | 1 | -6/+0 | |
2017-01-18 | DeadlockDetect now lists some tracked CS's stats. | Mattes D | 2 | -29/+34 | |
2017-01-03 | TCPLink: call networking callbacks with LibEvent unlocked. (#3515) | Mattes D | 1 | -2/+2 | |
2017-01-03 | TCPLink: call networking callbacks with LibEvent unlocked. (#3515) | Mattes D | 1 | -2/+2 | |
2016-12-19 | Updated links and docs (#3488) | mathiascode | 1 | -1/+1 | |
2016-12-12 | Use CMake's Android generators to crosscompile | Tiger Wang | 6 | -19/+30 | |
2016-08-23 | cUrlClient: Exported to Lua API. | Mattes D | 1 | -0/+5 | |
2016-08-22 | cTCPLink supports TLS out of the box. | Mattes D | 3 | -2/+397 | |
2016-08-13 | IPLookup: Fixed a soft memory leak when looking up invalid IPs. | Mattes D | 1 | -1/+7 | |
2016-08-07 | Removed "." and ".." from cFile:GetFolderContents(). (#3301) | Mattes D | 1 | -0/+14 | |
2016-07-18 | CMake: Remove needless minimum version specifications. | Mattes D | 1 | -2/+0 | |
2016-06-26 | Self tests (#3242) | Mattes D | 2 | -6/+3 | |
* SelfTests: Added a cEvent stress-test. * cNetwork: Fixed startup event hang. The original code used to hang with a ~ 1:50000 chance, because on Linux the cEvent was destroyed before its "Set()" returned. | |||||
2016-06-18 | cNetwork: Fixed possible hang when terminating immediately after init. | Mattes D | 2 | -2/+27 | |
2016-06-18 | SelfTests: Removed the unneeded cSelfTests class. | Mattes D | 1 | -1/+0 | |
2016-06-18 | Moved NetworkInterfaceEnum test to a separate test project. | Mattes D | 1 | -28/+0 | |
2016-02-05 | Bulk clearing of whitespace | LogicParrot | 11 | -81/+81 | |
2016-01-01 | Renamed leftover strings to Cuberite / Server, as needed. | Mattes D | 1 | -1/+1 | |
Also upgraded the user setting file for MSVC to 2013. | |||||
2015-12-19 | Use atomic bool for isthread terminate | tycho | 1 | -1/+2 | |
2015-12-19 | Added HTTPS links wherever they are supported. | Alexander Harkness | 2 | -10/+2 | |
2015-12-17 | Moved variables into scope, removed unused variables and fixed variables | Lukas Pioch | 1 | -1/+1 | |
2015-12-03 | Use C++11 auto instead of per-platform types. | Mattes D | 1 | -8/+1 | |
Closes #2686. | |||||
2015-11-19 | Include execinfo.h only on __GLIBC__ | Thomas Boerger | 1 | -1/+3 | |
2015-11-19 | Define stacktrace functions only if __GLIBC__ is defined | Thomas Boerger | 1 | -5/+7 | |
2015-11-19 | Check for __GLIBC__ to detect correct strerror_r version | Thomas Boerger | 1 | -1/+1 | |
2015-10-30 | Changed for-loop iterator in File.cpp to a reference type to reduce object copying and fix the clang build. | bibo38 | 1 | -1/+1 | |
Fixes #2580 | |||||
2015-09-26 | Added the _UNICODE flag on Windows | Tiger Wang | 1 | -1/+1 | |
2015-09-26 | Extended and fixed the cFile API. | Mattes D | 2 | -95/+186 | |
2015-09-17 | Added CircleCI for stylechecking. | Mattes D | 2 | -502/+0 | |
This will allow us to remove the stylecheck from Travis builds, making them a bit faster, and having fast style checks | |||||
2015-08-27 | Small fix for cEvent | Tiger Wang | 2 | -8/+13 | |
Don't bother using atomics since a synchronisation primitive is already being used. | |||||
2015-08-20 | Fixed and improved restarting | Tiger Wang | 2 | -27/+37 | |
Restarts are now an actual, close-as-possible to application exit+reopen. | |||||
2015-08-18 | Some warning fixes | Julian Laubstein | 1 | -1/+3 | |
2015-07-31 | Unified the doxy-comment format. | Mattes D | 3 | -26/+25 | |
2015-07-31 | Moved AString reading hack to cFile. | Mattes D | 2 | -8/+32 | |
2015-07-29 | Silenced and fixed many warning messages across multiple files. | Samuel Barney | 3 | -8/+8 | |
2015-07-23 | Fixed cNetworkSingleton's HasTerminated flag. | Mattes D | 1 | -1/+4 | |
Should fix random failures in Google-test. | |||||
2015-07-07 | Network: Fixed ServerHandle's address formatting. | Mattes D | 1 | -2/+2 | |
2015-06-22 | Fixed minor errors in Tycho's code | Tiger Wang | 4 | -46/+40 | |
Everything should work now :) | |||||
2015-06-11 | SelfTests are registered and executed after logging framework init. | Mattes D | 1 | -3/+10 | |
Fixes #2228. | |||||
2015-06-04 | Skip unknown cflag for Apple clang & remove cSemaphore | Cengiz Can | 4 | -128/+2 | |
2015-05-30 | Fix FreeBSD/clang errors caused by -Werror | linnemannr | 1 | -1/+8 | |
With FreeBSD/clang, -Werror combined with the configured warning flags yields some fatal errors, specifically related to signed conversion, 64 to 32 bit conversion, and tautological compares. CONTRIBUTORS Add myself to the contributor list src/Generating/FinishGen.cpp In cFinishGenPassiveMobs::GetRandomMob(), change the type of RandMob from size_t to the difference_type of the ListOfSpawnables iterator MobIter. Using size_t triggers a 64 bit to 32 bit conversion if the difference_type of the iterator class is 64 bit Also explicitly cast the noise expression to unsigned long so we don't get a signed conversion warning from the modulo against ListOfSpawnables.size() src/OSSupport/StackTrace.cpp FreeBSD 10 and above includes a non glibc implementation of benchmark() for which size_t, not int, is the return type. To account for this and prevent a signed conversion warning, abstract the type for numItems with a macro btsize src/StringUtils.h In StringToInteger(), correct a tautological compare warning for unsigned types with the template. If T is unsigned, comparing std::numeric_limits<T>::min() to the unsigned result is always false. That control can enter this branch in an evaluated template with an unsigned type T may also permit a signed number to be parsed and erroneously stripped of its signedness at runtime. To guard against this and avoid the warning in the case that the number parsed from the string is non-positive, return false and don't try to parse if T is unsigned and control enters the non-positive branch | |||||
2015-05-25 | Support building on FreeBSD | linnemannr | 1 | -1/+1 | |
SetFlags.cmake Add -lexecinfo to linker flags for FreeBSD to resolve backtrace() lib/sqlite/CMakeLists.txt Define _XOPEN_SOURCE to 600 instead of __POSIX_VISIBLE to 200112 for POSIX 1-2001 support. For POSIX standards, the _XOPEN_SOURCE define controls the eventual value of __POSIX_VISIBLE. _XOPEN_SOURCE is defined to 500 in sqlite.c if not already defined, which sets up _POSIX_C_SOURCE and __POSIX_VISIBLE to the 199506 for POSIX.1c lib/tolua++/CMakeLists.txt src/CMakeLists.txt Add /usr/local/lib to the library search path for FreeBSD builds src/OSSupport/Errors.cpp Correct the strerror_r() implementation determination to check whether _GNU_SOURCE is defined, not what it evaluates to | |||||
2015-05-24 | Made -Weverything an error. | tycho | 2 | -2/+2 | |
2015-05-23 | Fix tests | tycho | 1 | -0/+4 | |
2015-05-19 | Finish fixing windows | tycho | 1 | -2/+2 | |
2015-05-19 | Properly fix cFile Warnings | tycho | 2 | -11/+11 | |
2015-05-19 | Fixed a lot of warnings | tycho | 2 | -10/+22 | |
2015-05-09 | CheckBasicStyle: checks spaces around * and &. | Mattes D | 1 | -1/+1 | |
2015-05-09 | More style checking. | Mattes D | 3 | -3/+3 | |
Spaces around some operators are checked. | |||||
2015-04-30 | Fixed bindings for cFile:ReadWholeFile(). | Mattes D | 1 | -1/+6 | |
Fixes #1914 | |||||
2015-04-21 | Network: fixed excessive debug logging. | Mattes D | 2 | -7/+1 | |
2015-04-11 | cFile:ChangeFileExt now accepts extensions with leading dot, too. | Mattes D | 1 | -2/+14 | |
2015-04-11 | Added more cFile API functions. | Mattes D | 2 | -2/+66 | |
GetLastModificationTime, GetPathSeparator() and GetExecutableExt() | |||||
2015-04-10 | Added proper implementation of cFile::ChangeFileExt(). | Mattes D | 1 | -2/+17 | |
2015-04-06 | Added cFile:ChangeFileExt() function. | Mattes D | 2 | -0/+27 | |
2015-03-22 | Unified cPacketizer across all protocols. | Mattes D | 1 | -6/+6 | |
2015-03-18 | Network: Close the UDP endpoint in destructor. | Mattes D | 2 | -0/+11 | |
2015-03-10 | Use std::memcpy to fix alignment | Tiger Wang | 1 | -2/+8 | |
As suggested by @madmaxoft | |||||
2015-03-08 | Potential Linux implementation | Tiger Wang | 1 | -4/+54 | |
2015-02-22 | Network: Replaced magic number with named constant. | Mattes D | 1 | -1/+1 | |
2015-02-22 | cNetwork: Added EnumLocalIPAddresses() function. | Mattes D | 3 | -0/+133 | |
2015-02-20 | UDPEndpointImpl: Fixed clang warnings. | Mattes D | 1 | -3/+3 | |
2015-02-20 | cNetwork: Added UDP API. | Mattes D | 5 | -1/+780 | |
2015-02-18 | NetworkSingleton: LibEvent thread is joined properly on server exit. | Mattes D | 2 | -7/+5 | |
2015-02-18 | Network: Fixed two-socket servers. | Mattes D | 1 | -1/+1 | |
2015-02-14 | Fixed TCP link shutdown. | Mattes D | 2 | -9/+68 | |
The shutdown is postponed until there's no more outgoing data in the LibEvent buffers. | |||||
2015-02-08 | ServerHandle: Fixed socket reuse. | Mattes D | 1 | -10/+30 | |
Fixes CID 104670, CID 104670 and CID 103724. | |||||
2015-02-07 | Use evutil_make_listen_socket_reuseable | Howaner | 1 | -16/+6 | |
2015-02-07 | Set reuse flag to sockets | Howaner | 1 | -1/+24 | |
Should fix #1726 | |||||
2015-02-04 | Exported cServerHandle and cNetwork:Listen to Lua. | Mattes D | 1 | -0/+3 | |
Also added an example to the NetworkTest plugin. | |||||
2015-02-04 | cTCPLink: Fixed missing addresses on link connection. | Mattes D | 1 | -2/+2 | |
2015-01-29 | Fixed missing LibEvent reference in OSSupport. | Mattes D | 1 | -1/+1 | |
2015-01-27 | Fixed listening ports not closed on cServerHandle::Close. | Mattes D | 1 | -0/+3 | |
2015-01-27 | Added network termination called at app exit. | Mattes D | 2 | -12/+43 | |
This fixes a crash in MSVC runtime caused by joining a thread in a global var's destructor. | |||||
2015-01-27 | cTCPLinkImpl: Added the BEV_OPT_THREADSAFE flag. | Mattes D | 1 | -2/+8 | |
2015-01-27 | ServerHandleImpl: Removed needless diagnostic output. | Mattes D | 1 | -4/+0 | |
2015-01-27 | Removed cFile::ReplaceFileNameInvalidChars(). | Mattes D | 2 | -26/+0 | |
Its only usage in cProtocol18 has been changed to a simple string replace - only the IPv6's colons were causing problems. | |||||
2015-01-27 | Removed ListenThread and SocketThreads. | Mattes D | 5 | -1225/+0 | |
They have been replaced by the cNetwork API. Socket.cpp is still used by RCONClient. | |||||
2015-01-27 | cNetwork: Fixed IP address reading for incoming connections. | Mattes D | 1 | -1/+2 | |
2015-01-27 | cFile: Added ReplaceFileNameInvalidChars(). | Mattes D | 2 | -0/+26 | |
2015-01-27 | Fixed missing LibEvent reference in OSSupport. | Mattes D | 1 | -1/+1 | |
2015-01-23 | cNetwork: Added self pointers to keep objects alive for callbacks. | Mattes D | 5 | -17/+39 | |
Ref.: http://forum.mc-server.org/showthread.php?tid=1700&pid=17947#pid17947 | |||||
2015-01-22 | cNetwork: Renamed callback to OnConnected() | Mattes D | 2 | -3/+6 | |
2015-01-22 | cNetwork: Added link creation callback. | Mattes D | 4 | -15/+42 | |
This allows the callback classes to store the link inside them and use it internally later on, mainly for sending data. | |||||
2015-01-22 | cNetwork: Changed listening API. | Mattes D | 4 | -29/+51 | |
The link-callbacks for each new accepted link are now received from the OnIncomingConnection listen-callback. | |||||
2015-01-22 | cNetwork: Added error message to error callbacks. | Mattes D | 5 | -13/+20 | |
2015-01-22 | cTCPLinkImpl: Fixed type conversion warning. | Mattes D | 3 | -5/+5 | |
2015-01-22 | cNetwork: Fixed race conditions with lookups; proper shutdown. | Mattes D | 6 | -82/+123 | |
2015-01-22 | cNetwork: Split the main cpp file into several files. | Mattes D | 13 | -1050/+1148 | |
2015-01-22 | cNetwork: Fixed WinXP dualstack listening. | Mattes D | 1 | -21/+42 | |
2015-01-22 | cNetwork: Split cNetworkSingleton to a separate file. | Mattes D | 4 | -325/+430 | |
2015-01-22 | cNetwork: Fixed WSAStartup()-not-called error in Listen(). | Mattes D | 1 | -0/+3 | |
2015-01-22 | cNetwork: Handle WSA initialization failures. | Mattes D | 1 | -1/+7 | |
2015-01-22 | cNetwork: Added an OnError callback for listening servers. | Mattes D | 2 | -0/+8 | |
The callback receives the error details. | |||||
2015-01-22 | cNetwork: Rewritten server listen into a factory method. | Mattes D | 1 | -88/+102 | |
2015-01-22 | cNetwork: Removed unneeded dependency. | Mattes D | 1 | -1/+0 | |
2015-01-22 | cNetwork: Refactored cTCPLinkImpl::Connect into a factory. | Mattes D | 1 | -41/+48 | |
2015-01-22 | cNetwork: Cosmetics. | Mattes D | 1 | -6/+10 | |
2015-01-22 | cNetwork: Fixed compilation. | Mattes D | 1 | -9/+8 | |
2015-01-22 | Wrap debug variable in ifdef | worktycho | 1 | -0/+2 | |
avoidss unused variable error in clang | |||||
2015-01-22 | cNetwork: Added error logging to server socket creation. | Mattes D | 1 | -6/+24 | |
This is mainly for WinXP and RasPi testing. | |||||
2015-01-22 | cNetwork: Added multithreading protection. | Mattes D | 2 | -3/+28 | |
2015-01-22 | cNetwork: Implemented connection shutdown and close. | Mattes D | 2 | -17/+59 | |
2015-01-22 | cNetwork: Fixed Linux compilation. | Mattes D | 1 | -5/+23 | |
2015-01-22 | cNetwork: Implemented link address getting. | Mattes D | 1 | -57/+117 | |
2015-01-22 | cNetwork: Implemented basic server functionality. | Mattes D | 1 | -122/+215 | |
2015-01-22 | cNetwork: Implemented IP-to-hostname lookup. | Mattes D | 1 | -8/+114 | |
2015-01-22 | cNetwork: Implemented HostnameToIP lookups. | Mattes D | 2 | -6/+141 | |
2015-01-22 | Extracted Google connection test | Tycho | 1 | -74/+3 | |
2015-01-22 | cNetwork: Linux compilation fix. | Mattes D | 2 | -4/+23 | |
2015-01-22 | Implemented LibEvent-based client connections. | Mattes D | 3 | -0/+1027 | |
2015-01-18 | Fixed various warnings. | Mattes D | 1 | -1/+1 | |
2015-01-17 | Fixed CppCheck: (performance) Possible inefficient checking for emptiness. | Kirill Kirilenko | 1 | -2/+2 | |
2014-12-25 | cIsThread: Fixed a race condition on thread start. | Mattes D | 2 | -7/+30 | |
2014-12-11 | Cosmetic touchups. | Mattes D | 1 | -1/+1 | |
Removed trailing whitespace, added cast to remove warning, added file seeking in case of corrupt files. | |||||
2014-12-09 | Added a RemoveIf() function to cQueue | Mattes D | 1 | -0/+23 | |
2014-12-07 | Fixed integer overflow problems. | Mattes D | 2 | -4/+4 | |
The event would overflow when requesting a 60 minute timeout. | |||||
2014-12-07 | Fixed c++11 branch issues. | Mattes D | 1 | -10/+10 | |
2014-12-05 | BasicStyle: Added missing braces to control statements. | Mattes D | 1 | -1/+10 | |
2014-12-05 | Fixed reported parentheses around comparisons. | Mattes D | 1 | -1/+1 | |
2014-12-04 | Fixed trailing whitespace. | Mattes D | 1 | -5/+5 | |
2014-12-03 | Fixes socket leak in HTTP server. | Mattes D | 1 | -3/+11 | |
Fixes #1643. | |||||
2014-11-30 | Fixed compiling on linux. | Howaner | 1 | -0/+1 | |
2014-11-29 | Added a basic stacktracing for assert and signal failures. | Mattes D | 3 | -2/+64 | |
2014-11-23 | Compilation fixes | Tiger Wang | 1 | -2/+2 | |
2014-11-04 | cEvent: Changed chrono duration resolution. | Mattes D | 1 | -1/+1 | |
2014-11-04 | cEvent: Changed steady_clock to system_clock. | Mattes D | 1 | -2/+2 | |
2014-10-24 | Moved the chrono include into Globals. | Mattes D | 1 | -1/+0 | |
2014-10-24 | Added a missing chrono include. | Mattes D | 1 | -0/+1 | |
2014-10-24 | OSSupport/CMakeLists.txt: fixed indentation | archshift | 1 | -3/+3 | |
2014-10-24 | Suggestions | Tiger Wang | 3 | -6/+46 | |
2014-10-24 | Fixed potential linker errors with mingw, as it isn't MSVC and it isn't APPLE. | archshift | 1 | -4/+4 | |
2014-10-23 | Fix linking on OS X, which does not have librt. | archshift | 1 | -2/+6 | |
2014-10-23 | Reimplemented cEvent using C++11 primitives. | Mattes D | 2 | -136/+51 | |
Fixes #1523. | |||||
2014-10-23 | En masse NULL -> nullptr replace | Tiger Wang | 9 | -35/+35 | |
2014-10-21 | Compile fix? | Tiger Wang | 1 | -2/+2 | |
2014-10-20 | En masse NULL -> nullptr replace | Tiger Wang | 9 | -35/+35 | |
2014-10-20 | Use std::recusive_mutex | Tiger Wang | 3 | -52/+9 | |
2014-10-20 | Migrated cSleep and cTimer to std::chrono | Tiger Wang | 6 | -98/+1 | |
2014-10-19 | Use std::thread | Tiger Wang | 7 | -339/+34 | |
2014-10-12 | convert old style casts to fix warnings | Steven Riehl | 1 | -20/+16 | |
2014-10-06 | Update CMakeLists.txt | worktycho | 1 | -1/+1 | |
2014-10-05 | Added a cEvent::Wait() with timeout. | Mattes D | 2 | -0/+51 | |
2014-09-14 | OSSupport: Fixed UNICODE Windows builds. | Mattes D | 2 | -8/+8 | |
The files now compile even inside UNICODE applications. | |||||
2014-08-28 | Fixed spaces after "template" keyword. | Mattes D | 1 | -1/+1 | |
2014-08-15 | Removed an unneeded cast. | madmaxoft | 1 | -1/+1 | |
2014-08-12 | Fixed windows compilation and style issues. | madmaxoft | 1 | -4/+4 | |
2014-08-10 | First Implementatation of new Loggin framework | Tycho | 2 | -3/+5 | |
2014-07-24 | Removed redundant semicolons and re-added warning | archshift | 1 | -2/+2 | |
2014-07-21 | Style: Normalized to no spaces before closing parenthesis. | madmaxoft | 8 | -44/+44 | |
2014-07-21 | Style: Normalized spaces after if, for and while. | madmaxoft | 3 | -13/+13 | |
2014-07-19 | Socket: removed unused Socket destructor | archshift | 2 | -10/+0 | |
2014-07-19 | Fixed style: spaces after commas. | madmaxoft | 2 | -5/+5 | |
2014-07-19 | Subdirs: Only add_library if not using MSVC | archshift | 1 | -3/+5 | |
2014-07-19 | OSSupport/CMakeLists.txt: Replaced glob with list of files | archshift | 1 | -5/+32 | |
2014-07-17 | Fixed tabs used for alignment. | madmaxoft | 3 | -19/+35 | |
2014-07-17 | Basic style fixes. | madmaxoft | 4 | -7/+7 | |
2014-07-17 | Normalized comments. | madmaxoft | 7 | -18/+18 | |
This was mostly done automatically and then visually inspected for obvious errors. All //-style comments should have a 2-space separation from the code, and 1 space after the comment sign. | |||||
2014-07-01 | Fixed printf formats for Win builds | madmaxoft | 2 | -4/+4 | |
2014-06-30 | Fixed cFile compilation under MinGW. | madmaxoft | 1 | -0/+3 | |
2014-06-19 | Nullify deleted pointers. | archshift | 3 | -0/+4 | |
2014-06-08 | Fixed deadlock when moving players to other worlds. | Mattes D | 2 | -3/+22 | |
Fixes #1039, fixes #851 | |||||
2014-05-09 | Fixed MSVC 64-bit build warnings. | Mattes D | 4 | -8/+8 | |
2014-05-08 | Fixed MSVC 64-bit build warnings. | Mattes D | 4 | -8/+8 | |
2014-05-02 | Open files in shared mode on windows, so that other tools may read them. | madmaxoft | 1 | -2/+2 | |
This was the behavior before fopen_s() was used for implementation; unlike fopen(), fopen_s() opens the file in exclusive mode. | |||||
2014-05-01 | Fixed crashes in the SSL HTTP connection. | madmaxoft | 1 | -2/+4 | |
2014-04-30 | Removed the unused cBlockingTCPLink class. | madmaxoft | 2 | -170/+0 | |
2014-04-28 | Template Magic | Tycho | 2 | -4/+4 | |
Removed need to allocate a fake meta block by using templates to provide a version of the code that does not use metas. Also changed the function to a template argument to make sure that the compilier is able to inline it. | |||||
2014-04-27 | cSocket creates the socket in Connect if no socket is present yet. | madmaxoft | 1 | -2/+8 | |
2014-04-26 | Fixed unitialized member in gZipFile (CID 43673) | jfhumann | 1 | -1/+1 | |
2014-04-26 | Fixed mobs that don't naturally spawn. | archshift | 1 | -5/+5 | |
2014-04-25 | Cmake generated projects for IDEs include headers in project files. | archshift | 1 | -0/+1 | |
2014-04-11 | Fixed issues with 64-bit MSVC compilation. | madmaxoft | 3 | -21/+35 | |
2014-04-02 | Fixed All signedness warnings in HTTPServer.cpp | Tycho | 1 | -1/+1 | |
2014-04-01 | More cFile warning fixes. | madmaxoft | 1 | -1/+1 | |
2014-04-01 | Fixed clang warnings in cGZipFile. | madmaxoft | 1 | -2/+2 | |
2014-04-01 | Fixed clang warnings in cFile. | madmaxoft | 1 | -10/+10 | |
We only support 32-bit filesizes (files < 2 GiB). | |||||
2014-03-28 | Fixed non-virtual destructors warnings. | madmaxoft | 1 | -9/+11 | |
2014-03-25 | 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 Barney | 1 | -1/+1 | |
Also had to undefine TOLUA_TEMPLATE_BIND a couple of times. | |||||
2014-03-25 | Added newlines. Without them, the files would not compile. | Samuel Barney | 2 | -2/+2 | |
2014-03-18 | Fixed cGZipFile::ReadRestOfFile returning incorrect value. | madmaxoft | 1 | -1/+4 | |
2014-03-14 | Fixed xofts issues | Tycho | 1 | -1/+1 | |
2014-03-12 | Added additional macros to support the MSVC size_t format and changed all formats to use the macros | Tycho | 1 | -1/+1 | |
2014-03-11 | Fixed a load of format string errors | Tycho | 1 | -1/+1 | |
2014-03-11 | Added macros to follow format string checking through wrappers | Tycho | 1 | -1/+1 | |
2014-03-10 | Fixed cast to type with different alignment in BlockingTCPLink | Tycho | 1 | -1/+1 | |
2014-03-10 | Fixed cast between types of different alignment in cSocket | Tycho | 1 | -1/+2 | |
2014-03-09 | Fix IsThread destructor | Tycho | 1 | -1/+1 | |
2014-03-07 | Fixed warnings | Tycho | 1 | -1/+1 | |
2014-02-28 | Fixed multiple gcc warnings about unused params. | madmaxoft | 1 | -0/+4 | |
2014-02-23 | fixed globals.h warnings | Tycho | 1 | -1/+5 | |
2014-02-03 | Fixed #491 | Tiger Wang | 1 | -2/+14 | |
2014-02-03 | Fixed socket leaking. | madmaxoft | 1 | -0/+5 | |
2014-02-03 | SocketThreads: Fixed sending to closed socket. | madmaxoft | 1 | -1/+6 | |
2014-01-28 | Fixed timing on *nix. | madmaxoft | 1 | -1/+1 | |
2014-01-27 | Squashed common code. | madmaxoft | 1 | -14/+7 | |
2014-01-27 | Fixed Linux compilation. | madmaxoft | 1 | -1/+2 | |
2014-01-27 | Rewritten networking to use non-blocking sockets. | madmaxoft | 4 | -62/+176 | |
This fixes #592. | |||||
2014-01-25 | Added cFile::Flush(). | madmaxoft | 2 | -20/+34 | |
This is useful when using cFile as a log file and we know the server may crash after a specific write, so we flush the file before continuing. | |||||
2014-01-25 | Switched cEvent to GetOSErrorString | Tycho | 3 | -18/+14 | |
2014-01-25 | Extracted cSocket::GetErrorString into GetOSErrorString | Tycho | 6 | -59/+62 | |
2014-01-23 | Switched cEvent to use strerror_r for error messages | Tycho | 1 | -6/+18 | |
2014-01-19 | Rewritten SocketThreads for proper shutdown scenario. | madmaxoft | 4 | -158/+182 | |
This fixes #560 and #390. | |||||
2014-01-19 | SocketThreads: Removed unused code. | madmaxoft | 2 | -53/+3 | |
2014-01-16 | Fixed SIGPIPE on cSocket::Send(). | madmaxoft | 3 | -12/+13 | |
2014-01-16 | Another VarArgs fix. | madmaxoft | 1 | -4/+2 | |
This time using va_copy() on platforms that have it and simple assignment on platforms that don't. | |||||
2014-01-15 | Using a 2nd argument instead of va_copy(). | madmaxoft | 1 | -2/+4 | |
This seems to be the only reasonable C++03-only solution. | |||||
2014-01-13 | Removed shutdown() from socket closing. | madmaxoft | 1 | -4/+0 | |
It's not there for Windows and everything seems fine, the client doesn't shutdown either, so why should we be polite. Fixes #537. | |||||
2014-01-05 | Added fake functions into cCriticalSection because of the change to ASSERT | Diusrex | 1 | -0/+5 | |
2014-01-05 | Fixed a race condition in the cQueue class. | madmaxoft | 1 | -59/+86 | |
Fixes #505. | |||||
2014-01-03 | Fixed Documentation | Tycho | 1 | -4/+2 | |
2014-01-03 | derp | Tycho | 1 | -1/+1 | |
2014-01-03 | actual fix | Tycho | 1 | -2/+9 | |
2014-01-03 | fixed failure to return a value from Remove | Tycho | 1 | -1/+1 | |
2014-01-03 | implement xsofts recommendations | Tycho Bickerstaff | 1 | -9/+15 | |
2014-01-02 | added documentation | Tycho Bickerstaff | 1 | -7/+45 | |
2014-01-02 | rewrote queue not to use promises for waits | Tycho Bickerstaff | 3 | -105/+11 | |
2013-12-31 | fogot to add promise classes | Tycho Bickerstaff | 2 | -0/+92 | |
2013-12-31 | clean up code for patching | Tycho Bickerstaff | 2 | -3/+4 | |
2013-12-31 | refactored chunk Queue to seperate class | Tycho Bickerstaff | 4 | -26/+95 | |
2013-12-22 | fixed rdynamic as its not acctually needed a cmake handles it, looks like the problem was caused by the linux linker accepting the option twice and the os x linker not | Tycho Bickerstaff | 1 | -0/+31 | |
2013-12-28 | Fixed a (valid) warning in RCONServer. | madmaxoft | 1 | -0/+3 | |
2013-12-21 | basic threadsafe queue interface | Tycho Bickerstaff | 2 | -0/+34 | |
2013-12-20 | Fixed the rest of constructor reorders. | madmaxoft | 1 | -2/+2 | |
2013-12-19 | added pthread linking code to OSSupport | Tycho Bickerstaff | 1 | -0/+4 | |
2013-12-10 | added tolua++ command and removed stackwalker from build | Tycho Bickerstaff | 1 | -1/+0 | |
2013-12-10 | more cmake changes | Tycho Bickerstaff | 1 | -2/+4 | |
2013-12-10 | more cmake | Tycho Bickerstaff | 1 | -1/+3 | |
2013-12-10 | fixed comparison of thread handle to Null point rather than null handle | Tycho Bickerstaff | 1 | -1/+1 | |
2013-12-10 | started work on cmake | Tycho Bickerstaff | 1 | -0/+7 | |
2013-11-27 | Fixed the remaining derps | Alexander Harkness | 1 | -1/+1 | |
2013-11-25 | Further attempts to fix compile | Tiger Wang | 1 | -1/+1 | |
2013-11-24 | Attempt to fix compilation | Tiger Wang | 1 | -1/+1 | |
2013-11-24 | Moved source to src | Alexander Harkness | 26 | -0/+3573 | |