Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |