Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Small Linux fixes. | madmaxoft | 2013-08-20 | 3 | -3/+4 |
| | |||||
* | Fixed cEvent TimedWait on Linux. | madmaxoft | 2013-08-19 | 1 | -1/+1 |
| | |||||
* | Fixed timed event wait on Linux. | madmaxoft | 2013-08-19 | 1 | -16/+11 |
| | | | | Was causing an error message and the DeadlockDetect didn't work. | ||||
* | cListenThread correctly closes all sockets. | madmaxoft | 2013-08-18 | 1 | -2/+6 |
| | | | | This partially fixes FS 421. | ||||
* | cEvent can now wait for the event with a specified timeout. | madmaxoft | 2013-08-14 | 2 | -26/+88 |
| | |||||
* | cIsThread threads get a window identification on Win. | madmaxoft | 2013-08-11 | 1 | -0/+2 |
| | | | | This enables tools such as TaskInfo to report the thread name directly. | ||||
* | cIsThread: Added the Stop() method and debugging output in Wait() | madmaxoft | 2013-08-11 | 2 | -22/+26 |
| | |||||
* | Added doxyComments for cIsThread. | madmaxoft | 2013-08-11 | 2 | -7/+13 |
| | |||||
* | Changed everyting to Unix line endings. | Alexander Harkness | 2013-07-29 | 4 | -473/+473 |
| | |||||
* | cListenThread initializes m_ShouldReuseAddr to false (valgrind error) | madmaxoft@gmail.com | 2013-07-22 | 1 | -0/+1 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1677 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Added a basic RCON protocol | madmaxoft@gmail.com | 2013-06-27 | 2 | -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_LOOPBACK | madmaxoft@gmail.com | 2013-06-15 | 2 | -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.com | 2013-05-25 | 1 | -11/+26 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1510 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | File: Added file rename and deletion functions | madmaxoft@gmail.com | 2013-05-01 | 2 | -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.com | 2013-04-01 | 1 | -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 messages | madmaxoft@gmail.com | 2013-03-29 | 1 | -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.com | 2013-03-23 | 1 | -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.com | 2013-03-14 | 1 | -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 enough | madmaxoft@gmail.com | 2013-03-05 | 2 | -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 address | madmaxoft@gmail.com | 2013-03-05 | 1 | -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() | madmaxoft | 2013-03-05 | 3 | -16/+22 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1256 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed logic in socketthreads connecting | madmaxoft@gmail.com | 2013-03-05 | 1 | -2/+2 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1255 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | IPv6 support + removed cTCPLink from Lua API | madmaxoft@gmail.com | 2013-03-05 | 5 | -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, cListenThread | madmaxoft@gmail.com | 2013-03-04 | 1 | -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 rewrite | madmaxoft@gmail.com | 2013-03-04 | 3 | -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.com | 2013-02-25 | 3 | -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.com | 2013-02-07 | 2 | -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.com | 2013-02-07 | 4 | -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.com | 2013-01-12 | 2 | -24/+24 |
| | | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1139 0a769ca7-a7f5-676a-18bf-c427514a06d6 | ||||
* | Fixed cCriticalSection's debugging functions | madmaxoft@gmail.com | 2012-12-14 | 2 | -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 #272 | madmaxoft@gmail.com | 2012-11-22 | 3 | -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 fixes | madmaxoft@gmail.com | 2012-11-15 | 1 | -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.com | 2012-10-26 | 2 | -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.com | 2012-09-29 | 2 | -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.com | 2012-09-29 | 2 | -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.com | 2012-09-25 | 3 | -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.com | 2012-09-23 | 26 | -0/+3062 |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@885 0a769ca7-a7f5-676a-18bf-c427514a06d6 |