| Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
Spaces around some operators are checked.
|
|
Fixes #1914
|
|
|
|
|
|
GetLastModificationTime, GetPathSeparator() and GetExecutableExt()
|
|
|
|
|
|
|
|
|
|
As suggested by @madmaxoft
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The shutdown is postponed until there's no more outgoing data in the LibEvent buffers.
|
|
Fixes CID 104670, CID 104670 and CID 103724.
|
|
|
|
Should fix #1726
|
|
Also added an example to the NetworkTest plugin.
|
|
|
|
|
|
|
|
This fixes a crash in MSVC runtime caused by joining a thread in a global var's destructor.
|
|
|
|
|
|
Its only usage in cProtocol18 has been changed to a simple string replace - only the IPv6's colons were causing problems.
|
|
They have been replaced by the cNetwork API.
Socket.cpp is still used by RCONClient.
|
|
|
|
|
|
|
|
Ref.: http://forum.mc-server.org/showthread.php?tid=1700&pid=17947#pid17947
|
|
|
|
This allows the callback classes to store the link inside them and use it internally later on, mainly for sending data.
|
|
The link-callbacks for each new accepted link are now received from the OnIncomingConnection listen-callback.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The callback receives the error details.
|
|
|
|
|
|
|
|
|
|
|
|
avoidss unused variable error in clang
|
|
This is mainly for WinXP and RasPi testing.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Removed trailing whitespace, added cast to remove warning, added file seeking in case of corrupt files.
|
|
|
|
The event would overflow when requesting a 60 minute timeout.
|
|
|
|
|
|
|
|
|
|
Fixes #1643.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Fixes #1523.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The files now compile even inside UNICODE applications.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
Fixes #1039, fixes #851
|
|
|
|
|
|
This was the behavior before fopen_s() was used for implementation; unlike fopen(), fopen_s() opens the file in exclusive mode.
|
|
|
|
|
|
Removed need to allocate a fake meta block by using templates to provide a version
of the code that does not use metas. Also changed the function to a template
argument to make sure that the compilier is able to inline it.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
We only support 32-bit filesizes (files < 2 GiB).
|
|
|
|
Also had to undefine TOLUA_TEMPLATE_BIND a couple of times.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This fixes #592.
|
|
This is useful when using cFile as a log file and we know the server may crash after a specific write, so we flush the file before continuing.
|
|
|
|
|
|
|
|
This fixes #560 and #390.
|
|
|
|
|
|
This time using va_copy() on platforms that have it and simple assignment on platforms that don't.
|
|
This seems to be the only reasonable C++03-only solution.
|
|
It's not there for Windows and everything seems fine, the client doesn't shutdown either, so why should we be polite.
Fixes #537.
|
|
|
|
Fixes #505.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|