summaryrefslogtreecommitdiffstats
path: root/source/OSSupport (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-08-30Rewritten cTimer not to use heap allocation.madmaxoft2-31/+45
2013-08-25Fixed ProtoProxy compilation, added client Kick handling.madmaxoft1-3/+14
2013-08-20Small Linux fixes.madmaxoft3-3/+4
2013-08-19Fixed cEvent TimedWait on Linux.madmaxoft1-1/+1
2013-08-19Fixed timed event wait on Linux.madmaxoft1-16/+11
Was causing an error message and the DeadlockDetect didn't work.
2013-08-18cListenThread correctly closes all sockets.madmaxoft1-2/+6
This partially fixes FS 421.
2013-08-14cEvent can now wait for the event with a specified timeout.madmaxoft2-26/+88
2013-08-11cIsThread threads get a window identification on Win.madmaxoft1-0/+2
This enables tools such as TaskInfo to report the thread name directly.
2013-08-11cIsThread: Added the Stop() method and debugging output in Wait()madmaxoft2-22/+26
2013-08-11Added doxyComments for cIsThread.madmaxoft2-7/+13
2013-07-29Changed everyting to Unix line endings.Alexander Harkness4-473/+473
2013-07-22cListenThread initializes m_ShouldReuseAddr to false (valgrind error)madmaxoft@gmail.com1-0/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1677 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-27Added a basic RCON protocolmadmaxoft@gmail.com2-13/+19
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1628 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-15Socket: Removed the absurd function returning localhost addr, now using INADDR_LOOPBACKmadmaxoft@gmail.com2-17/+2
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1596 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-25Added base Code::Blocks project (WIP, still doesn't compile) and fixed some source errors with MinGW.madmaxoft@gmail.com1-11/+26
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1510 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-01File: Added file rename and deletion functionsmadmaxoft@gmail.com2-0/+24
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1436 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-01ListenThread: Fixed socket-querying, might have crashed some linux versions.madmaxoft@gmail.com1-1/+1
Hopefully this fixes FS #345 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1345 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-29ListenThread now reports the protocol used (IPv4 - IPv6) in its error messagesmadmaxoft@gmail.com1-8/+8
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1322 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-23Fixed a problem in Linux handling of ListenThread.madmaxoft@gmail.com1-1/+4
A closed socket doesn't seem to wake up a select() call on that socket on Linux. Fixed by waking up by a timeout regularly (semi-busywait). Fixes FS #334 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1305 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-14Added water and lava springs.madmaxoft@gmail.com1-3/+3
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1269 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-05Made ListenThread an OSSupport part, as it's generic enoughmadmaxoft@gmail.com2-0/+304
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1258 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-05IPv6: Windows XP doesn't have the inet_pton() function, resorting to custom-formatting the addressmadmaxoft@gmail.com1-3/+17
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1257 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-05IPv6 support: fixed IP string getting on accept()madmaxoft3-16/+22
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1256 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-05Fixed logic in socketthreads connectingmadmaxoft@gmail.com1-2/+2
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1255 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-05IPv6 support + removed cTCPLink from Lua APImadmaxoft@gmail.com5-207/+88
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1253 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-04Moved client socket accepting into a separate thread object, cListenThreadmadmaxoft@gmail.com1-2/+5
MCServer can now listen on multiple ports FS #312 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1252 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-04Starting an IPv6 support / cSocket rewritemadmaxoft@gmail.com3-10/+34
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1250 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-02-25AnvilStats: Added ChunkExtract mode of operation, splitting Anvil files into individual chunks.madmaxoft@gmail.com3-5/+6
Both original zlibbed chunks and re-gzipped chunks are output. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1223 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-02-07cBlockArea can now be saved as a .schematic file.madmaxoft@gmail.com2-2/+31
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1198 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-02-07Added a cGZipFile class for reading GZipped files.madmaxoft@gmail.com4-13/+133
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1196 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-01-12Merged branch "branches/hooks" into "trunk".madmaxoft@gmail.com2-24/+24
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1139 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-14Fixed cCriticalSection's debugging functionsmadmaxoft@gmail.com2-5/+10
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1072 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-22SocketThreads fixes for crashes reported in FS #272madmaxoft@gmail.com3-11/+15
http://www.mc-server.org/support/index.php?do=details&task_id=272&project=2 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1061 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-15More valgrind fixesmadmaxoft@gmail.com1-2/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1044 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-26Critical sections aren't heap-allocated in linux anymore.madmaxoft@gmail.com2-31/+27
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1012 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-29SocketThread: clients aren't double-removed anymore.madmaxoft@gmail.com2-22/+0
git-svn-id: http://mc-server.googlecode.com/svn/trunk@909 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-29Extended the cFile interface with Printf()madmaxoft@gmail.com2-0/+16
git-svn-id: http://mc-server.googlecode.com/svn/trunk@901 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-25Sockets are now owned by SocketThreads instead of ClientHandle (FS #246 and FS #247)madmaxoft@gmail.com3-69/+62
git-svn-id: http://mc-server.googlecode.com/svn/trunk@891 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-23Source files cleanup: OSSupport-related files in a separate subfolder, renamed.madmaxoft@gmail.com26-0/+3062
git-svn-id: http://mc-server.googlecode.com/svn/trunk@885 0a769ca7-a7f5-676a-18bf-c427514a06d6