summaryrefslogtreecommitdiffstats
path: root/src/OSSupport (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Added a cEvent::Wait() with timeout.Mattes D2014-10-052-0/+51
|
* OSSupport: Fixed UNICODE Windows builds.Mattes D2014-09-142-8/+8
| | | | The files now compile even inside UNICODE applications.
* Merge remote-tracking branch 'origin/master' into CraftingFixesMattes D2014-08-282-6/+8
|\
| * Removed an unneeded cast.madmaxoft2014-08-151-1/+1
| |
| * Fixed windows compilation and style issues.madmaxoft2014-08-121-4/+4
| |
| * First Implementatation of new Loggin frameworkTycho2014-08-102-3/+5
| |
* | Fixed spaces after "template" keyword.Mattes D2014-08-281-1/+1
|/
* Removed redundant semicolons and re-added warningarchshift2014-07-241-2/+2
|
* Style: Normalized to no spaces before closing parenthesis.madmaxoft2014-07-218-44/+44
|
* Style: Normalized spaces after if, for and while.madmaxoft2014-07-213-13/+13
|
* Socket: removed unused Socket destructorarchshift2014-07-192-10/+0
|
* Fixed style: spaces after commas.madmaxoft2014-07-192-5/+5
|
* Subdirs: Only add_library if not using MSVCarchshift2014-07-191-3/+5
|
* OSSupport/CMakeLists.txt: Replaced glob with list of filesarchshift2014-07-191-5/+32
|
* Fixed tabs used for alignment.madmaxoft2014-07-173-19/+35
|
* Basic style fixes.madmaxoft2014-07-174-7/+7
|
* Normalized comments.madmaxoft2014-07-177-18/+18
| | | | | 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 printf formats for Win buildsmadmaxoft2014-07-012-4/+4
|
* Fixed cFile compilation under MinGW.madmaxoft2014-06-301-0/+3
|
* Nullify deleted pointers.archshift2014-06-193-0/+4
|
* Fixed deadlock when moving players to other worlds.Mattes D2014-06-082-3/+22
| | | | Fixes #1039, fixes #851
* Merge branch 'master' into SslWebAdminMattes D2014-05-105-10/+10
|\
| * Fixed MSVC 64-bit build warnings.Mattes D2014-05-094-8/+8
| |
| * Open files in shared mode on windows, so that other tools may read them.madmaxoft2014-05-021-2/+2
| | | | | | | | This was the behavior before fopen_s() was used for implementation; unlike fopen(), fopen_s() opens the file in exclusive mode.
* | Fixed crashes in the SSL HTTP connection.madmaxoft2014-05-011-2/+4
|/
* Removed the unused cBlockingTCPLink class.madmaxoft2014-04-302-170/+0
|
* Merged branch 'master' into SslWrappers.madmaxoft2014-04-284-10/+11
|\
| * Template MagicTycho2014-04-282-4/+4
| | | | | | | | | | | | 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.
| * Merge pull request #948 from jfhumann/staticFixesMattes D2014-04-271-1/+1
| |\ | | | | | | Fixes motivated by Coverity #1
| | * Fixed unitialized member in gZipFile (CID 43673)jfhumann2014-04-261-1/+1
| | |
| * | Fixed mobs that don't naturally spawn.archshift2014-04-261-5/+5
| | |
| * | Cmake generated projects for IDEs include headers in project files.archshift2014-04-251-0/+1
| |/
* / cSocket creates the socket in Connect if no socket is present yet.madmaxoft2014-04-271-2/+8
|/
* Fixed issues with 64-bit MSVC compilation.madmaxoft2014-04-113-21/+35
|
* Merge branch 'master' into HTTPSizeTTycho2014-04-023-3/+3
|\ | | | | | | | | | | | | Conflicts: src/HTTPServer/EnvelopeParser.h src/HTTPServer/HTTPFormParser.h src/HTTPServer/MultipartParser.h
| * Merge branch 'MacFixes'Tycho2014-04-023-3/+3
| |\ | | | | | | | | | | | | | | | Conflicts: src/DeadlockDetect.cpp src/World.cpp
| | * More fixes to get it to compile for me on Mac 10.9. Mostly just newline additions, but some of the unused variables were causing errors, so I wrapped them in #ifndef __APPLE__ calls, since I didn't know if they were going to be used in the future.Samuel Barney2014-03-251-1/+1
| | | | | | | | | | | | Also had to undefine TOLUA_TEMPLATE_BIND a couple of times.
| | * Added newlines. Without them, the files would not compile.Samuel Barney2014-03-252-2/+2
| | |
* | | Fixed All signedness warnings in HTTPServer.cppTycho2014-04-021-1/+1
|/ /
* | More cFile warning fixes.madmaxoft2014-04-011-1/+1
| |
* | Fixed clang warnings in cGZipFile.madmaxoft2014-04-011-2/+2
| |
* | Fixed clang warnings in cFile.madmaxoft2014-04-011-10/+10
| | | | | | | | We only support 32-bit filesizes (files < 2 GiB).
* | Fixed non-virtual destructors warnings.madmaxoft2014-03-281-9/+11
|/
* Fixed cGZipFile::ReadRestOfFile returning incorrect value.madmaxoft2014-03-181-1/+4
|
* Fixed xofts issuesTycho2014-03-141-1/+1
|
* Added additional macros to support the MSVC size_t format and changed all formats to use the macrosTycho2014-03-121-1/+1
|
* Fixed a load of format string errorsTycho2014-03-111-1/+1
|
* Added macros to follow format string checking through wrappersTycho2014-03-111-1/+1
|
* Fixed cast to type with different alignment in BlockingTCPLinkTycho2014-03-101-1/+1
|
* Fixed cast between types of different alignment in cSocketTycho2014-03-101-1/+2
|
* Fix IsThread destructorTycho2014-03-091-1/+1
|
* Fixed warningsTycho2014-03-071-1/+1
|
* Fixed multiple gcc warnings about unused params.madmaxoft2014-02-281-0/+4
|
* fixed globals.h warningsTycho2014-02-231-1/+5
|
* Fixed #491Tiger Wang2014-02-031-2/+14
|
* Fixed socket leaking.madmaxoft2014-02-031-0/+5
|
* SocketThreads: Fixed sending to closed socket.madmaxoft2014-02-031-1/+6
|
* Fixed timing on *nix.madmaxoft2014-01-281-1/+1
|
* Squashed common code.madmaxoft2014-01-271-14/+7
|
* Fixed Linux compilation.madmaxoft2014-01-271-1/+2
|
* Rewritten networking to use non-blocking sockets.madmaxoft2014-01-274-62/+176
| | | | This fixes #592.
* Merge pull request #581 from worktycho/strerrorMattes D2014-01-257-65/+76
|\ | | | | Switched cEvent to use strerror_r for error messages
| * Switched cEvent to GetOSErrorStringTycho2014-01-253-18/+14
| |
| * Extracted cSocket::GetErrorString into GetOSErrorStringTycho2014-01-256-59/+62
| |
| * Switched cEvent to use strerror_r for error messagesTycho2014-01-231-6/+18
| |
* | Added cFile::Flush().madmaxoft2014-01-252-20/+34
|/ | | | 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.
* Rewritten SocketThreads for proper shutdown scenario.madmaxoft2014-01-194-158/+182
| | | | This fixes #560 and #390.
* SocketThreads: Removed unused code.madmaxoft2014-01-192-53/+3
|
* Fixed SIGPIPE on cSocket::Send().madmaxoft2014-01-163-12/+13
|
* Another VarArgs fix.madmaxoft2014-01-161-4/+2
| | | | This time using va_copy() on platforms that have it and simple assignment on platforms that don't.
* Using a 2nd argument instead of va_copy().madmaxoft2014-01-151-2/+4
| | | | This seems to be the only reasonable C++03-only solution.
* Removed shutdown() from socket closing.madmaxoft2014-01-131-4/+0
| | | | | It's not there for Windows and everything seems fine, the client doesn't shutdown either, so why should we be polite. Fixes #537.
* Added fake functions into cCriticalSection because of the change to ASSERTDiusrex2014-01-051-0/+5
|
* Fixed a race condition in the cQueue class.madmaxoft2014-01-051-59/+86
| | | | Fixes #505.
* Fixed DocumentationTycho2014-01-031-4/+2
|
* derpTycho2014-01-031-1/+1
|
* actual fixTycho2014-01-031-2/+9
|
* fixed failure to return a value from RemoveTycho2014-01-031-1/+1
|
* implement xsofts recommendationsTycho Bickerstaff2014-01-031-9/+15
|
* added documentationTycho Bickerstaff2014-01-021-7/+45
|
* rewrote queue not to use promises for waitsTycho Bickerstaff2014-01-023-105/+11
|
* fogot to add promise classesTycho Bickerstaff2013-12-312-0/+92
|
* clean up code for patchingTycho Bickerstaff2013-12-312-3/+4
|
* refactored chunk Queue to seperate classTycho Bickerstaff2013-12-314-26/+95
|
* Merge remote-tracking branch 'upstream/master' into threadsafequeueTycho Bickerstaff2013-12-221-0/+3
|\
| * Fixed a (valid) warning in RCONServer.madmaxoft2013-12-281-0/+3
| |
* | basic threadsafe queue interfaceTycho Bickerstaff2013-12-212-0/+34
|/
* Merge branch 'master' into cmakeTycho Bickerstaff2013-12-211-2/+2
|\
| * Fixed the rest of constructor reorders.madmaxoft2013-12-201-2/+2
| |
* | added pthread linking code to OSSupportTycho Bickerstaff2013-12-191-0/+4
| |
* | Merge branch 'master' of github.com:mc-server/MCServer into cmakeTycho Bickerstaff2013-12-111-1/+1
|\|
| * fixed comparison of thread handle to Null point rather than null handleTycho Bickerstaff2013-12-101-1/+1
| |
* | added tolua++ command and removed stackwalker from buildTycho Bickerstaff2013-12-101-1/+0
| |
* | more cmake changesTycho Bickerstaff2013-12-101-2/+4
| |
* | more cmakeTycho Bickerstaff2013-12-101-1/+3
| |
* | started work on cmakeTycho Bickerstaff2013-12-101-0/+7
|/
* Fixed the remaining derpsAlexander Harkness2013-11-271-1/+1
|
* Merge remote-tracking branch 'origin/master' into foldermove2Alexander Harkness2013-11-261-4/+5
| | | | | Conflicts: VC2008/MCServer.vcproj
* Merge branch 'master' into foldermove2Alexander Harkness2013-11-261-3/+0
|
* Further attempts to fix compileTiger Wang2013-11-251-1/+1
|
* Attempt to fix compilationTiger Wang2013-11-241-1/+1
|
* Merge remote-tracking branch 'origin/master' into foldermove2Alexander Harkness2013-11-244-7/+90
| | | | | Conflicts: GNUmakefile
* Moved source to srcAlexander Harkness2013-11-2426-0/+3573