Tycho
9844368267
Renamed Loggers
2014-08-12 16:05:04 +01:00
Tycho
806d0936dc
First Implementatation of new Loggin framework
2014-08-10 19:34:11 +01:00
madmaxoft
9e7b9a4ebe
Normalized spaces after "catch".
2014-07-21 17:40:44 +02:00
madmaxoft
93d29555e5
Style: Normalized to no spaces before closing parenthesis.
2014-07-21 17:40:43 +02:00
archshift
14826b6606
main.cpp: field style fixes
2014-07-19 15:44:19 -07:00
archshift
ed01e12ed7
main.cpp: Fixed warnings with g_TERMINATE_EVENT_RAISED and g_SERVER_TERMINATED
2014-07-19 14:50:01 -07:00
madmaxoft
2423fbf2ef
Normalized comments.
...
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-17 22:15:34 +02:00
madmaxoft
7fff12bfac
Fixed spaces around single-line comments.
...
There should be at least two spaces in front and one space after //-style comments.
2014-07-17 19:13:23 +02:00
madmaxoft
993fd14ddf
Fixed basic whitespace problems.
...
Indenting by spaces and alignment by spaces, as well as trailing whitespace on non-empty lines.
2014-07-17 16:33:09 +02:00
worktycho
750333855c
abort does not take a parameter.
2014-06-01 17:23:02 +01:00
worktycho
476fdc9952
Use abort in SIGSEGV and SIGABRT handlers
...
This should cause Mcserver to generate core dumps when it crashes.
2014-06-01 17:05:51 +01:00
Tycho
b829c9b14e
Fixed a few unneeded breaks
2014-03-14 07:12:00 -07:00
madmaxoft
a23b5d13bd
Added a "nooutbuf" cmdline param.
...
This forces that the stdout stream uses no buffer, even when not a TTY. Used for running MCServer under ZeroBraneStudio.
2014-02-27 15:17:42 +01:00
madmaxoft
50bebd2dbd
Disabled the leak finder.
2014-02-20 20:13:06 +01:00
Tiger Wang
fc9e527830
SIGABRT exits with failure.
2014-01-27 18:57:26 +00:00
madmaxoft
30c431b479
Fixed client packet parsing.
...
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.
2014-01-26 17:56:12 +01:00
Tiger Wang
ea9de4bbb7
Added SIGABRT to catchers list
2014-01-26 16:15:05 +00:00
madmaxoft
ff066453b8
Comm logging is available in both Debug and Release modes.
2014-01-25 15:28:16 +01:00
madmaxoft
ebcaaad63a
Fixed *nix compilation for previous commit.
2014-01-24 23:05:26 +01:00
madmaxoft
d0da5d392f
Added per-connection comm logging in debug mode.
...
It is meant for debugging only, so it is compiled only into debug mode. It is activated by starting the server with "/logcomm" parameter.
2014-01-24 23:03:48 +01:00
madmaxoft
2354ac2783
Fixed SIGABRT_COMPAT on other architectures.
2014-01-17 11:13:35 +01:00
Tiger Wang
d675173b80
Changed newline character because of issues
2014-01-16 22:30:57 +00:00
Tiger Wang
f578dbfc54
Graceful shutdown on SIGTERM
2014-01-07 21:23:26 +00:00
Tiger Wang
ae6cb01e56
Fixed comments in main.cpp and Player.cpp
2013-12-24 15:16:30 +00:00
Tiger Wang
003043f8ab
Added some comments in main.cpp
2013-12-23 09:41:34 +00:00
Tiger Wang
43e8196309
Added many event catchers
...
* Window close
* CTRL-C
* etc.
2013-12-22 20:03:58 +00:00
Alexander Harkness
675b4aa878
Moved source to src
2013-11-24 14:19:41 +00:00