summaryrefslogtreecommitdiffstats
path: root/src/main.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Style: Normalized to no spaces before closing parenthesis.madmaxoft2014-07-211-5/+5
|
* main.cpp: field style fixesarchshift2014-07-201-7/+7
|
* main.cpp: Fixed warnings with g_TERMINATE_EVENT_RAISED and g_SERVER_TERMINATEDarchshift2014-07-191-4/+4
|
* Normalized comments.madmaxoft2014-07-171-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.madmaxoft2014-07-171-9/+9
| | | | There should be at least two spaces in front and one space after //-style comments.
* Fixed basic whitespace problems.madmaxoft2014-07-171-2/+2
| | | | Indenting by spaces and alignment by spaces, as well as trailing whitespace on non-empty lines.
* abort does not take a parameter.worktycho2014-06-011-2/+2
|
* Use abort in SIGSEGV and SIGABRT handlersworktycho2014-06-011-2/+2
| | | This should cause Mcserver to generate core dumps when it crashes.
* Fixed a few unneeded breaksTycho2014-03-141-1/+0
|
* Added a "nooutbuf" cmdline param.madmaxoft2014-02-271-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.madmaxoft2014-02-201-1/+3
|
* SIGABRT exits with failure.Tiger Wang2014-01-271-0/+1
|
* Fixed client packet parsing.madmaxoft2014-01-261-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 listTiger Wang2014-01-261-1/+6
|
* Comm logging is available in both Debug and Release modes.madmaxoft2014-01-251-4/+0
|
* Fixed *nix compilation for previous commit.madmaxoft2014-01-241-2/+2
|
* Added per-connection comm logging in debug mode.madmaxoft2014-01-241-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.madmaxoft2014-01-171-0/+2
|
* Changed newline character because of issuesTiger Wang2014-01-161-1/+10
|
* Graceful shutdown on SIGTERMTiger Wang2014-01-071-0/+5
|
* Fixed comments in main.cpp and Player.cppTiger Wang2013-12-241-1/+1
|
* Added some comments in main.cppTiger Wang2013-12-231-1/+1
|
* Added many event catchersTiger Wang2013-12-221-11/+53
| | | | | | * Window close * CTRL-C * etc.
* Moved source to srcAlexander Harkness2013-11-241-0/+197