Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Streamline startup sequence | Tiger Wang | 2020-09-05 | 1 | -0/+2 |
| | | | | | * Clean up cRoot & main * Move some OS-specifics into OSSupport | ||||
* | Upgrade to C++17 [CMake] (#4717) | Tiger Wang | 2020-05-16 | 1 | -11/+2 |
| | | | * Make our CMake slightly less insane | ||||
* | Cleanup some workarounds and warnings (#4735) | peterbell10 | 2020-05-10 | 1 | -4/+0 |
| | | | | | | | | | * Cleanup thread_local usage in FastRandom * Use constexpr to avoid clang warning * Fix more Wglobal-constructor warnings * Make MSVC happy? | ||||
* | Stabilise MoveToWorld (#4004) | Mat | 2020-03-05 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | ||||
* | Updated LibEvent to release 2.1.11-stable. (#4383) | Mattes D | 2019-09-04 | 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. | ||||
* | Force all headers other than "Globals.h" to be included with relative paths (#4269) | peterbell10 | 2018-08-29 | 1 | -3/+0 |
| | | | | | | | 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. | ||||
* | Add the fmt library (#4065) | peterbell10 | 2018-01-03 | 1 | -0/+1 |
| | | | | | | | * 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 the LeakFinder for Windows. (#3777) | Mattes D | 2017-06-19 | 1 | -0/+2 |
| | |||||
* | Replace evdns with getaddrinfo and getnameinfo (#3766) | peterbell10 | 2017-06-15 | 1 | -0/+3 |
| | |||||
* | Use CMake's Android generators to crosscompile | Tiger Wang | 2016-12-12 | 1 | -8/+0 |
| | |||||
* | CMake: Remove needless minimum version specifications. | Mattes D | 2016-07-18 | 1 | -2/+0 |
| | |||||
* | Renamed leftover strings to Cuberite / Server, as needed. | Mattes D | 2016-01-01 | 1 | -1/+1 |
| | | | | Also upgraded the user setting file for MSVC to 2013. | ||||
* | Silenced and fixed many warning messages across multiple files. | Samuel Barney | 2015-07-29 | 1 | -1/+1 |
| | |||||
* | Skip unknown cflag for Apple clang & remove cSemaphore | Cengiz Can | 2015-06-04 | 1 | -2/+0 |
| | |||||
* | Made -Weverything an error. | tycho | 2015-05-24 | 1 | -1/+1 |
| | |||||
* | Fix tests | tycho | 2015-05-23 | 1 | -0/+4 |
| | |||||
* | cNetwork: Added EnumLocalIPAddresses() function. | Mattes D | 2015-02-22 | 1 | -0/+1 |
| | |||||
* | cNetwork: Added UDP API. | Mattes D | 2015-02-20 | 1 | -0/+2 |
| | |||||
* | Removed ListenThread and SocketThreads. | Mattes D | 2015-01-27 | 1 | -6/+0 |
| | | | | | They have been replaced by the cNetwork API. Socket.cpp is still used by RCONClient. | ||||
* | Fixed missing LibEvent reference in OSSupport. | Mattes D | 2015-01-27 | 1 | -1/+1 |
| | |||||
* | cNetwork: Split the main cpp file into several files. | Mattes D | 2015-01-22 | 1 | -1/+8 |
| | |||||
* | cNetwork: Split cNetworkSingleton to a separate file. | Mattes D | 2015-01-22 | 1 | -0/+2 |
| | |||||
* | Implemented LibEvent-based client connections. | Mattes D | 2015-01-22 | 1 | -0/+2 |
| | |||||
* | Merged branch 'origin/master' into c++11. | Mattes D | 2014-12-04 | 1 | -0/+2 |
|\ | |||||
| * | Added a basic stacktracing for assert and signal failures. | Mattes D | 2014-11-29 | 1 | -2/+6 |
| | | |||||
* | | Merged branch 'master' into c++11. | Mattes D | 2014-10-24 | 1 | -1/+5 |
|\| | |||||
| * | OSSupport/CMakeLists.txt: fixed indentation | archshift | 2014-10-24 | 1 | -3/+3 |
| | | |||||
| * | Fixed potential linker errors with mingw, as it isn't MSVC and it isn't APPLE. | archshift | 2014-10-24 | 1 | -4/+4 |
| | | |||||
| * | Fix linking on OS X, which does not have librt. | archshift | 2014-10-23 | 1 | -2/+6 |
| | | |||||
* | | Compile fix? | Tiger Wang | 2014-10-21 | 1 | -2/+2 |
| | | |||||
* | | Migrated cSleep and cTimer to std::chrono | Tiger Wang | 2014-10-20 | 1 | -2/+0 |
| | | |||||
* | | Use std::thread | Tiger Wang | 2014-10-19 | 1 | -2/+0 |
|/ | |||||
* | Update CMakeLists.txt | worktycho | 2014-10-06 | 1 | -1/+1 |
| | |||||
* | Subdirs: Only add_library if not using MSVC | archshift | 2014-07-19 | 1 | -3/+5 |
| | |||||
* | OSSupport/CMakeLists.txt: Replaced glob with list of files | archshift | 2014-07-19 | 1 | -5/+32 |
| | |||||
* | Cmake generated projects for IDEs include headers in project files. | archshift | 2014-04-25 | 1 | -0/+1 |
| | |||||
* | added pthread linking code to OSSupport | Tycho Bickerstaff | 2013-12-19 | 1 | -0/+4 |
| | |||||
* | added tolua++ command and removed stackwalker from build | Tycho Bickerstaff | 2013-12-10 | 1 | -1/+0 |
| | |||||
* | more cmake changes | Tycho Bickerstaff | 2013-12-10 | 1 | -2/+4 |
| | |||||
* | more cmake | Tycho Bickerstaff | 2013-12-10 | 1 | -1/+3 |
| | |||||
* | started work on cmake | Tycho Bickerstaff | 2013-12-10 | 1 | -0/+7 |