summaryrefslogtreecommitdiffstats
path: root/source/OSSupport (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Removed a stale comment.madmaxoft2013-11-241-3/+0
|
* Fixed socket connection startup.madmaxoft2013-11-242-7/+8
|
* Added cFile:ReadWholeFile() to Lua API.madmaxoft2013-11-232-0/+19
|
* Added cFile:GetFolderContents().madmaxoft2013-11-222-0/+63
| | | | Fix 162.
* Fix for NULL arithmetic compiler warning in Linux.madmaxoft2013-11-132-4/+16
|
* Fixed cFile::CopyFile Linux compilation.madmaxoft2013-10-091-7/+3
|
* APIDump: Documented the new cFile API functions.madmaxoft2013-10-091-2/+2
|
* Moved cMakeDir::MakeDir to cFile::CreateFolder.madmaxoft2013-10-094-49/+24
| | | | And exported to Lua.
* Added static cFile functions to Lua API.madmaxoft2013-10-092-5/+72
|
* cListenThread: Fixed thread termination.madmaxoft2013-10-061-1/+4
|
* Fixed Linux threading issues.madmaxoft2013-09-212-13/+4
|
* Fixed cFile:IsFolder() and plugin-loading.madmaxoft2013-09-211-1/+2
| | | | This should fix loading plugins on Linux.
* Proper folder / file distinction in plugin loading.madmaxoft2013-09-182-0/+17
|
* Removed TimedWait from cEvent.madmaxoft2013-09-052-57/+0
| | | | Unsupported on MacOS.
* Rewritten cTimer not to use heap allocation.madmaxoft2013-08-302-31/+45
|
* Fixed ProtoProxy compilation, added client Kick handling.madmaxoft2013-08-251-3/+14
|
* Small Linux fixes.madmaxoft2013-08-203-3/+4
|
* Fixed cEvent TimedWait on Linux.madmaxoft2013-08-191-1/+1
|
* Fixed timed event wait on Linux.madmaxoft2013-08-191-16/+11
| | | | Was causing an error message and the DeadlockDetect didn't work.
* cListenThread correctly closes all sockets.madmaxoft2013-08-181-2/+6
| | | | This partially fixes FS 421.
* cEvent can now wait for the event with a specified timeout.madmaxoft2013-08-142-26/+88
|
* cIsThread threads get a window identification on Win.madmaxoft2013-08-111-0/+2
| | | | This enables tools such as TaskInfo to report the thread name directly.
* cIsThread: Added the Stop() method and debugging output in Wait()madmaxoft2013-08-112-22/+26
|
* Added doxyComments for cIsThread.madmaxoft2013-08-112-7/+13
|
* Changed everyting to Unix line endings.Alexander Harkness2013-07-294-473/+473
|
* 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