Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) | peterbell10 | 2020-10-05 | 1 | -13/+7 |
| | | | | | | | | | | | | | | | * Fix cmake not adding Werror on clang, and _lots_ of warnings * WIP: Build fixes * Cannot make intermediate blockhandler instance * Tiger's changes * Fix BitIndex check * Handle invalid NextState values in cMultiVersionProtocol Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | ||||
* | Reformat messages in NonCtrlHandler | Tiger Wang | 2020-09-05 | 1 | -12/+16 |
| | |||||
* | Streamline startup sequence | Tiger Wang | 2020-09-05 | 1 | -416/+174 |
| | | | | | * Clean up cRoot & main * Move some OS-specifics into OSSupport | ||||
* | Replaced cpp14::make_unique<> with std::make_unique<>. | Mattes D | 2020-08-01 | 1 | -3/+3 |
| | |||||
* | Android build cleanup (#4734) | Mat | 2020-05-10 | 1 | -14/+0 |
| | | | | | | | | | * Android build cleanup * Remove unnecessary workaround * Remove more unnecessities * Bump cmake version | ||||
* | Update fmt to 6.2.0 (#4718) | peterbell10 | 2020-05-05 | 1 | -1/+1 |
| | | | * Update fmt to 6.2.0 | ||||
* | main: Terminate if an exception is thrown. | Mattes D | 2020-01-07 | 1 | -4/+7 |
| | |||||
* | Add the fmt library (#4065) | peterbell10 | 2018-01-03 | 1 | -1/+5 |
| | | | | | | | * 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. | ||||
* | Fix Travis build (#4101) | peterbell10 | 2017-12-22 | 1 | -4/+6 |
| | | | | | | | | | Stop using gdb on osx - was breaking the build Add clang 3.5 build as travis now defaults to 5.0 Fix unknown-warning-option errors on AppleClang ProtoProxy: Use nullptr UrlClientTest: add override to callback destructor Update jsoncpp to use nullptr | ||||
* | Fixed Clang 5.0 compile errors (#4085) | bibo38 | 2017-12-21 | 1 | -0/+10 |
| | | | | | | | | | | | | * 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 | ||||
* | Removed the LeakFinder for Windows. (#3777) | Mattes D | 2017-06-19 | 1 | -30/+0 |
| | |||||
* | Add command line argument for disabling the logfile | worktycho | 2017-06-03 | 1 | -0/+5 |
| | |||||
* | Add support for alternate config file locations (#3578) | Gareth Nelson | 2017-02-22 | 1 | -0/+8 |
| | |||||
* | Use CMake's Android generators to crosscompile | Tiger Wang | 2016-12-12 | 1 | -4/+14 |
| | |||||
* | Fixed port command line argument. (#3287) | Alexander Harkness | 2016-07-30 | 1 | -5/+1 |
| | |||||
* | Revert "Issue3136" | LogicParrot | 2016-04-14 | 1 | -2/+6 |
| | |||||
* | Fixed port override code. | Alexander Harkness | 2016-04-12 | 1 | -6/+2 |
| | |||||
* | Bulk clearing of whitespace | LogicParrot | 2016-02-05 | 1 | -7/+7 |
| | |||||
* | Fix running as a service. | Anthony Birkett | 2016-01-21 | 1 | -0/+3 |
| | | | | | | | | | | Two problems identified, both traced to commit 4315a11 (main.cpp) ParseArguments() was no longer being called before checking cRoot::m_RunAsService. This led to m_RunAsService never being set (we use -d on the command line to instigate a service start). (Root.cpp) Terminate events were being ignored when running as a service. We only need to ignore the cin.good() call, not terminate events as a whole. | ||||
* | Fixed Clang warnings. | Mattes D | 2016-01-06 | 1 | -14/+25 |
| | |||||
* | Added the _UNICODE flag on Windows | Tiger Wang | 2015-09-26 | 1 | -8/+8 |
| | |||||
* | Maked it compileable for clang-3.7 | Lukas Pioch | 2015-09-25 | 1 | -2/+2 |
| | |||||
* | Namechange to Cuberite | Mattes D | 2015-09-25 | 1 | -6/+6 |
| | |||||
* | Ignore Sigpipe | tycho | 2015-09-19 | 1 | -0/+4 |
| | |||||
* | Increase robustness of the logging subsystem | tycho | 2015-09-15 | 1 | -0/+1 |
| | |||||
* | Fixed and improved restarting | Tiger Wang | 2015-08-20 | 1 | -33/+32 |
| | | | | | Restarts are now an actual, close-as-possible to application exit+reopen. | ||||
* | Checked LeakFinder in MSVC2015, enabled support for it. | Mattes D | 2015-08-10 | 1 | -3/+4 |
| | |||||
* | Daemon support on Linux. | Anthony Birkett | 2015-06-05 | 1 | -12/+34 |
| | | | | Added null console log listener, avoid printf() when stdout is closed. | ||||
* | Added cmdline params for crashdump detailness. | Mattes D | 2015-06-02 | 1 | -94/+77 |
| | | | | | Win32-only, also fixed the call scripts. Fixes #2184. | ||||
* | Use the new style command line parameters for Windows Service support. | Anthony Birkett | 2015-06-01 | 1 | -10/+9 |
| | | | | | Ignore invalid or malformed command line parameters, prevent unhandled exceptions. NOTE: Users will need to reinstall the service, now uses "-d" instead of "/service" in the start parameters. | ||||
* | Moved no buffering command line argument to tclap | tycho | 2015-05-20 | 1 | -5/+8 |
| | |||||
* | Move commlog arguments over to TCLAP | tycho | 2015-05-20 | 1 | -25/+18 |
| | |||||
* | Add support for setting ports through command line | tycho | 2015-05-18 | 1 | -1/+12 |
| | |||||
* | Fix max slots logic to only override if acctually present. | tycho | 2015-05-18 | 1 | -4/+9 |
| | |||||
* | Fix service Main | worktycho | 2015-05-16 | 1 | -1/+1 |
| | |||||
* | Move make_unique into a namespace to avoid ADL issues | tycho | 2015-05-16 | 1 | -1/+1 |
| | | | | this prevents VS finding std::make_unique for constructors that take types from std | ||||
* | Initial implementation of IniFile overloading | tycho | 2015-05-16 | 1 | -7/+35 |
| | |||||
* | Print Build info as part of the crash information | worktycho | 2015-05-04 | 1 | -0/+9 |
| | |||||
* | Fixed MSVC warnings, improved comments. | Mattes D | 2015-04-06 | 1 | -5/+5 |
| | |||||
* | Fixed crash on exit introduced with Windows Service capability. | Mattes D | 2015-04-05 | 1 | -7/+14 |
| | | | | Ref.: #1845 | ||||
* | Working as a Windows service. Starts and stops correctly. | Anthony Birkett | 2015-04-01 | 1 | -33/+191 |
| | | | | | | | | | Added "/service" switch, to prompt the binary to attempt starting as a service. Added service* methods, to control service startup. Split up main() into universalMain(), which contains the startup code for both service and normal start. Added cRoot::m_RunningAsService bool, Added cRoot::SetStopping(bool) to allow a stop request to be sent by the service controller. Added cBlockIDMap::init() to avoid loading items.ini before the working directory has been set. | ||||
* | Added cNetwork initialization to program start. | Mattes D | 2015-03-18 | 1 | -0/+4 |
| | | | | Otherwise the server could crash because MSVC doesn't implement magic statics yet. | ||||
* | Added network termination called at app exit. | Mattes D | 2015-01-27 | 1 | -2/+9 |
| | | | | This fixes a crash in MSVC runtime caused by joining a thread in a global var's destructor. | ||||
* | Merged branch 'origin/master' into c++11. | Mattes D | 2014-12-04 | 1 | -1/+6 |
|\ | |||||
| * | Removed unneeded include. | Mattes D | 2014-11-29 | 1 | -1/+0 |
| | | |||||
| * | Added a basic stacktracing for assert and signal failures. | Mattes D | 2014-11-29 | 1 | -0/+6 |
| | | |||||
| * | Windows: Fixed builds with LeakFinder enabled. | Mattes D | 2014-11-26 | 1 | -1/+1 |
| | | |||||
| * | En masse NULL -> nullptr replace | Tiger Wang | 2014-10-23 | 1 | -4/+4 |
| | | |||||
* | | Windows close handlers handles more closes | Tiger Wang | 2014-10-21 | 1 | -5/+2 |
| | | |||||
* | | En masse NULL -> nullptr replace | Tiger Wang | 2014-10-20 | 1 | -4/+4 |
| | | |||||
* | | Migrated cSleep and cTimer to std::chrono | Tiger Wang | 2014-10-20 | 1 | -1/+4 |
|/ | |||||
* | Renamed Loggers | Tycho | 2014-08-12 | 1 | -1/+1 |
| | |||||
* | First Implementatation of new Loggin framework | Tycho | 2014-08-10 | 1 | -0/+2 |
| | |||||
* | Normalized spaces after "catch". | madmaxoft | 2014-07-21 | 1 | -2/+2 |
| | |||||
* | Style: Normalized to no spaces before closing parenthesis. | madmaxoft | 2014-07-21 | 1 | -5/+5 |
| | |||||
* | main.cpp: field style fixes | archshift | 2014-07-20 | 1 | -7/+7 |
| | |||||
* | main.cpp: Fixed warnings with g_TERMINATE_EVENT_RAISED and g_SERVER_TERMINATED | archshift | 2014-07-19 | 1 | -4/+4 |
| | |||||
* | Normalized comments. | madmaxoft | 2014-07-17 | 1 | -2/+2 |
| | | | | | 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. | ||||
* | Fixed spaces around single-line comments. | madmaxoft | 2014-07-17 | 1 | -9/+9 |
| | | | | There should be at least two spaces in front and one space after //-style comments. | ||||
* | Fixed basic whitespace problems. | madmaxoft | 2014-07-17 | 1 | -2/+2 |
| | | | | Indenting by spaces and alignment by spaces, as well as trailing whitespace on non-empty lines. | ||||
* | abort does not take a parameter. | worktycho | 2014-06-01 | 1 | -2/+2 |
| | |||||
* | Use abort in SIGSEGV and SIGABRT handlers | worktycho | 2014-06-01 | 1 | -2/+2 |
| | | | This should cause Mcserver to generate core dumps when it crashes. | ||||
* | Fixed a few unneeded breaks | Tycho | 2014-03-14 | 1 | -1/+0 |
| | |||||
* | Added a "nooutbuf" cmdline param. | madmaxoft | 2014-02-27 | 1 | -11/+16 |
| | | | | This forces that the stdout stream uses no buffer, even when not a TTY. Used for running MCServer under ZeroBraneStudio. | ||||
* | Disabled the leak finder. | madmaxoft | 2014-02-20 | 1 | -1/+3 |
| | |||||
* | SIGABRT exits with failure. | Tiger Wang | 2014-01-27 | 1 | -0/+1 |
| | |||||
* | Fixed client packet parsing. | madmaxoft | 2014-01-26 | 1 | -3/+23 |
| | | | | | When the packet wouldn't fit the current buffer, the server would mis-parse the next packet. This was the cause for #541. Also modified comm logging, now each direction can be turned on separately. | ||||
* | Added SIGABRT to catchers list | Tiger Wang | 2014-01-26 | 1 | -1/+6 |
| | |||||
* | Comm logging is available in both Debug and Release modes. | madmaxoft | 2014-01-25 | 1 | -4/+0 |
| | |||||
* | Fixed *nix compilation for previous commit. | madmaxoft | 2014-01-24 | 1 | -2/+2 |
| | |||||
* | Added per-connection comm logging in debug mode. | madmaxoft | 2014-01-24 | 1 | -1/+24 |
| | | | | It is meant for debugging only, so it is compiled only into debug mode. It is activated by starting the server with "/logcomm" parameter. | ||||
* | Fixed SIGABRT_COMPAT on other architectures. | madmaxoft | 2014-01-17 | 1 | -0/+2 |
| | |||||
* | Changed newline character because of issues | Tiger Wang | 2014-01-16 | 1 | -1/+10 |
| | |||||
* | Graceful shutdown on SIGTERM | Tiger Wang | 2014-01-07 | 1 | -0/+5 |
| | |||||
* | Fixed comments in main.cpp and Player.cpp | Tiger Wang | 2013-12-24 | 1 | -1/+1 |
| | |||||
* | Added some comments in main.cpp | Tiger Wang | 2013-12-23 | 1 | -1/+1 |
| | |||||
* | Added many event catchers | Tiger Wang | 2013-12-22 | 1 | -11/+53 |
| | | | | | | * Window close * CTRL-C * etc. | ||||
* | Moved source to src | Alexander Harkness | 2013-11-24 | 1 | -0/+197 |