summaryrefslogtreecommitdiffstats
path: root/source/OSSupport (follow)
Commit message (Collapse)AuthorAgeFilesLines
* cListenThread initializes m_ShouldReuseAddr to false (valgrind error)madmaxoft@gmail.com2013-07-221-0/+1
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1677 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Added a basic RCON protocolmadmaxoft@gmail.com2013-06-272-13/+19
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1628 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Socket: Removed the absurd function returning localhost addr, now using INADDR_LOOPBACKmadmaxoft@gmail.com2013-06-152-17/+2
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1596 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Added base Code::Blocks project (WIP, still doesn't compile) and fixed some source errors with MinGW.madmaxoft@gmail.com2013-05-251-11/+26
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1510 0a769ca7-a7f5-676a-18bf-c427514a06d6
* File: Added file rename and deletion functionsmadmaxoft@gmail.com2013-05-012-0/+24
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1436 0a769ca7-a7f5-676a-18bf-c427514a06d6
* ListenThread: Fixed socket-querying, might have crashed some linux versions.madmaxoft@gmail.com2013-04-011-1/+1
| | | | | | Hopefully this fixes FS #345 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1345 0a769ca7-a7f5-676a-18bf-c427514a06d6
* ListenThread now reports the protocol used (IPv4 - IPv6) in its error messagesmadmaxoft@gmail.com2013-03-291-8/+8
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1322 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Fixed a problem in Linux handling of ListenThread.madmaxoft@gmail.com2013-03-231-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
* Added water and lava springs.madmaxoft@gmail.com2013-03-141-3/+3
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1269 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Made ListenThread an OSSupport part, as it's generic enoughmadmaxoft@gmail.com2013-03-052-0/+304
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1258 0a769ca7-a7f5-676a-18bf-c427514a06d6
* IPv6: Windows XP doesn't have the inet_pton() function, resorting to custom-formatting the addressmadmaxoft@gmail.com2013-03-051-3/+17
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1257 0a769ca7-a7f5-676a-18bf-c427514a06d6
* IPv6 support: fixed IP string getting on accept()madmaxoft2013-03-053-16/+22
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1256 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Fixed logic in socketthreads connectingmadmaxoft@gmail.com2013-03-051-2/+2
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1255 0a769ca7-a7f5-676a-18bf-c427514a06d6
* IPv6 support + removed cTCPLink from Lua APImadmaxoft@gmail.com2013-03-055-207/+88
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1253 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Moved client socket accepting into a separate thread object, cListenThreadmadmaxoft@gmail.com2013-03-041-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
* Starting an IPv6 support / cSocket rewritemadmaxoft@gmail.com2013-03-043-10/+34
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1250 0a769ca7-a7f5-676a-18bf-c427514a06d6
* AnvilStats: Added ChunkExtract mode of operation, splitting Anvil files into individual chunks.madmaxoft@gmail.com2013-02-253-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
* cBlockArea can now be saved as a .schematic file.madmaxoft@gmail.com2013-02-072-2/+31
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1198 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Added a cGZipFile class for reading GZipped files.madmaxoft@gmail.com2013-02-074-13/+133
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1196 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Merged branch "branches/hooks" into "trunk".madmaxoft@gmail.com2013-01-122-24/+24
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1139 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Fixed cCriticalSection's debugging functionsmadmaxoft@gmail.com2012-12-142-5/+10
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1072 0a769ca7-a7f5-676a-18bf-c427514a06d6
* SocketThreads fixes for crashes reported in FS #272madmaxoft@gmail.com2012-11-223-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
* More valgrind fixesmadmaxoft@gmail.com2012-11-151-2/+1
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1044 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Critical sections aren't heap-allocated in linux anymore.madmaxoft@gmail.com2012-10-262-31/+27
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1012 0a769ca7-a7f5-676a-18bf-c427514a06d6
* SocketThread: clients aren't double-removed anymore.madmaxoft@gmail.com2012-09-292-22/+0
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@909 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Extended the cFile interface with Printf()madmaxoft@gmail.com2012-09-292-0/+16
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@901 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Sockets are now owned by SocketThreads instead of ClientHandle (FS #246 and FS #247)madmaxoft@gmail.com2012-09-253-69/+62
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@891 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Source files cleanup: OSSupport-related files in a separate subfolder, renamed.madmaxoft@gmail.com2012-09-2326-0/+3062
git-svn-id: http://mc-server.googlecode.com/svn/trunk@885 0a769ca7-a7f5-676a-18bf-c427514a06d6