Mattes D
|
086e112161
|
Update COMPILING.md
Fixed VS2013 download link
|
2015-02-08 18:18:11 +01:00 |
|
Mattes D
|
1ce9164694
|
Protocol 1.7: Fixed Coverity issues.
Fixes CID 66411, CID 103166 and CID 103167.
|
2015-02-08 14:49:46 +01:00 |
|
Mattes D
|
81d7329ad3
|
ServerHandle: Fixed socket reuse.
Fixes CID 104670, CID 104670 and CID 103724.
|
2015-02-08 14:41:24 +01:00 |
|
Mattes D
|
a939e2ded9
|
WSSAnvil: Fixed chunk data padding.
When the chunk data fit perfectly into the old space, an extra 4 KiB of padding zeroes were written, overwriting the next chunk.
Fixes #1730.
|
2015-02-08 12:24:15 +01:00 |
|
Mattes D
|
5ee5a691b7
|
Merge pull request #1729 from mc-server/ReuseFlag
Set reuse flag to sockets
|
2015-02-08 00:08:18 +01:00 |
|
Mattes D
|
512b1a6b0e
|
Merge pull request #1718 from mc-server/LuaNetworkAPI
Lua Network API
|
2015-02-07 17:46:16 +01:00 |
|
Mattes D
|
43b68975f7
|
APIDump: Added client and server examples.
|
2015-02-07 13:30:45 +01:00 |
|
Mattes D
|
02b6a9303e
|
Merge pull request #1727 from mc-server/Entities
Added IsOnGround() to cEntity
|
2015-02-07 12:53:13 +01:00 |
|
Mattes D
|
adf0020cd4
|
APIDump: Added cNetwork documentation.
|
2015-02-06 18:44:05 +01:00 |
|
Mattes D
|
d1c9ce2a03
|
NetworkTest plugin: updated comments and splash loading.
|
2015-02-04 10:39:48 +01:00 |
|
Mattes D
|
0e769f12ac
|
LuaServerHandle: Removed debugging output.
|
2015-02-04 08:42:28 +01:00 |
|
Mattes D
|
014b96adb3
|
Exported cServerHandle and cNetwork:Listen to Lua.
Also added an example to the NetworkTest plugin.
|
2015-02-04 08:40:52 +01:00 |
|
Mattes D
|
17498a97a2
|
cNetwork: Exported lookup functions to Lua API.
Also added an example in the NetworkTest plugin.
|
2015-02-04 08:40:52 +01:00 |
|
Mattes D
|
04347084d6
|
NetworkTest plugin: Added cNetwork:Connect test code.
|
2015-02-04 08:40:51 +01:00 |
|
Mattes D
|
e098728fa8
|
cTCPLink: Fixed missing addresses on link connection.
|
2015-02-04 08:40:51 +01:00 |
|
Mattes D
|
360c632e36
|
cNetwork: Exported the Connect() method and cTCPLink class to Lua.
|
2015-02-04 08:40:50 +01:00 |
|
Mattes D
|
fd49e34e33
|
Merge pull request #1713 from mc-server/UseLibevent
Use libevent
|
2015-01-30 08:40:45 +01:00 |
|
Mattes D
|
64a16a7309
|
CheckBasicStyle: Fixed a forgotten file close.
|
2015-01-29 11:10:32 +01:00 |
|
Mattes D
|
076c87f797
|
Fixed missing LibEvent reference in OSSupport.
|
2015-01-29 07:40:01 +01:00 |
|
Mattes D
|
32dd102988
|
Updated PolarSSL.
|
2015-01-27 17:40:16 +01:00 |
|
Mattes D
|
1d69cad676
|
Updated LibEvent.
|
2015-01-27 16:26:35 +01:00 |
|
Mattes D
|
79dee9bb70
|
Fixed listening ports not closed on cServerHandle::Close.
|
2015-01-27 14:53:39 +01:00 |
|
Mattes D
|
de7f5fc794
|
Fixed server failure to open any port not aborting the server.
|
2015-01-27 14:53:38 +01:00 |
|
Mattes D
|
19d463ae1c
|
Fixed a deadlock in cClientHandle network sending.
|
2015-01-27 14:53:38 +01:00 |
|
Mattes D
|
053362e604
|
Added network termination called at app exit.
This fixes a crash in MSVC runtime caused by joining a thread in a global var's destructor.
|
2015-01-27 14:53:37 +01:00 |
|
Mattes D
|
9a2200f8bb
|
cTCPLinkImpl: Added the BEV_OPT_THREADSAFE flag.
|
2015-01-27 14:53:37 +01:00 |
|
Mattes D
|
2557f2867d
|
ServerHandleImpl: Removed needless diagnostic output.
|
2015-01-27 14:53:36 +01:00 |
|
Mattes D
|
4eecf9363a
|
Client: Only decode protocol when there's actual data incoming.
|
2015-01-27 14:53:36 +01:00 |
|
Mattes D
|
b3437c5b01
|
Added LibEvent license to the binary distribution pack.
|
2015-01-27 14:53:35 +01:00 |
|
Mattes D
|
1b9c0f1030
|
Removed cFile::ReplaceFileNameInvalidChars().
Its only usage in cProtocol18 has been changed to a simple string replace - only the IPv6's colons were causing problems.
|
2015-01-27 14:53:34 +01:00 |
|
Mattes D
|
edce2cbdcf
|
Fixed enchant packet handling.
|
2015-01-27 14:53:34 +01:00 |
|
Mattes D
|
e8a9f0a5df
|
Turned off echo in Windows script.
|
2015-01-27 14:53:33 +01:00 |
|
Mattes D
|
13091e0fa0
|
RCONServer: Changed variables to UInt32.
|
2015-01-27 14:53:33 +01:00 |
|
Mattes D
|
6ec5e8caa7
|
Replaced atoi() with StringToInteger().
|
2015-01-27 14:53:32 +01:00 |
|
Mattes D
|
f243aa387c
|
Removed ListenThread and SocketThreads.
They have been replaced by the cNetwork API.
Socket.cpp is still used by RCONClient.
|
2015-01-27 14:53:32 +01:00 |
|
Mattes D
|
86f2f82d2a
|
BlockingSslClientSocket: Migrated to cNetwork API.
|
2015-01-27 14:53:31 +01:00 |
|
Mattes D
|
7dfeb67f01
|
Converted cServer to use the cNetwork API.
|
2015-01-27 14:53:31 +01:00 |
|
Mattes D
|
1f2f8b553b
|
cNetwork: Fixed IP address reading for incoming connections.
|
2015-01-27 14:53:30 +01:00 |
|
Mattes D
|
978fc6a988
|
Protocol18: Fixed failure with invalig logfile names.
|
2015-01-27 14:53:30 +01:00 |
|
Mattes D
|
f1f12495b2
|
cFile: Added ReplaceFileNameInvalidChars().
|
2015-01-27 14:53:29 +01:00 |
|
Mattes D
|
7cff25f0ff
|
StringUtils: Fixed bad predicate in MergeStringVectors().
Instead of preventing duplicates it was allowing only duplicates.
|
2015-01-27 14:53:29 +01:00 |
|
Mattes D
|
28ffc55d89
|
RCON server: fixed compilation.
|
2015-01-27 14:53:28 +01:00 |
|
Mattes D
|
b93903db23
|
Fixed RCONClient compilation.
|
2015-01-27 14:53:28 +01:00 |
|
Mattes D
|
9e61ad8c74
|
Migrated RCON server to cNetwork API.
|
2015-01-27 14:53:27 +01:00 |
|
Mattes D
|
059af2efdc
|
Fixed a crash in RCON server.
|
2015-01-27 14:53:27 +01:00 |
|
Mattes D
|
80a386cbc4
|
Fixed missing LibEvent reference in OSSupport.
|
2015-01-27 14:53:26 +01:00 |
|
Mattes D
|
f477b524bb
|
WebAdmin uses the new cNetwork API.
|
2015-01-27 14:53:26 +01:00 |
|
Mattes D
|
7990d223ea
|
IniFile: Added common code to migrate ports.
Old settings have IPv4 and IPv6 ports as separate values, new settings have a single value for the ports.
|
2015-01-27 14:53:25 +01:00 |
|
Mattes D
|
40e231bc29
|
StringUtils: Added string vector manipulation.
|
2015-01-27 14:53:25 +01:00 |
|
Mattes D
|
4a732cc80e
|
Merge pull request #1716 from Raekye/master
filter out leaves meta changes from being sent to the client (resolves #1714)
|
2015-01-26 09:52:35 +01:00 |
|
Mattes D
|
f91de20ca1
|
Merge pull request #1701 from mc-server/libevent
LibEvent-based socket API
|
2015-01-24 09:27:55 +01:00 |
|
Mattes D
|
10cfa61fbc
|
cNetwork: Added self pointers to keep objects alive for callbacks.
Ref.: http://forum.mc-server.org/showthread.php?tid=1700&pid=17947#pid17947
|
2015-01-23 23:01:18 +01:00 |
|
Mattes D
|
b0b0fdfd3a
|
Merge pull request #1712 from UltraCoderRU/fix_coverity
Fixed Coverity defects.
|
2015-01-23 18:29:01 +01:00 |
|
Mattes D
|
9014bdfa32
|
cNetwork: Renamed callback to OnConnected()
|
2015-01-22 22:49:37 +01:00 |
|
Mattes D
|
dbf7f13bd4
|
cNetwork: Added link creation callback.
This allows the callback classes to store the link inside them and use it internally later on, mainly for sending data.
|
2015-01-22 20:13:06 +01:00 |
|
Mattes D
|
5b4c5cf2be
|
cNetwork: Changed listening API.
The link-callbacks for each new accepted link are now received from the OnIncomingConnection listen-callback.
|
2015-01-22 20:13:05 +01:00 |
|
Mattes D
|
64855ed340
|
cNetwork: Added error message to error callbacks.
|
2015-01-22 20:13:04 +01:00 |
|
Mattes D
|
00253403b3
|
cTCPLinkImpl: Fixed type conversion warning.
|
2015-01-22 20:13:03 +01:00 |
|
Mattes D
|
d4682463a1
|
cNetwork: Fixed race conditions with lookups; proper shutdown.
|
2015-01-22 20:13:02 +01:00 |
|
Mattes D
|
c0cb787c10
|
cNetwork: Split the main cpp file into several files.
|
2015-01-22 20:13:02 +01:00 |
|
Mattes D
|
1e5aedacea
|
cNetwork: Fixed WinXP dualstack listening.
|
2015-01-22 20:13:01 +01:00 |
|
Mattes D
|
d3076a3e16
|
cNetwork: Split cNetworkSingleton to a separate file.
|
2015-01-22 20:13:00 +01:00 |
|
Mattes D
|
ae29a82eba
|
cNetwork: Fixed WSAStartup()-not-called error in Listen().
|
2015-01-22 20:12:59 +01:00 |
|
Mattes D
|
60807adfb5
|
cNetwork: Handle WSA initialization failures.
|
2015-01-22 20:12:58 +01:00 |
|
Mattes D
|
7cddb62374
|
cNetwork: Added an OnError callback for listening servers.
The callback receives the error details.
|
2015-01-22 20:12:57 +01:00 |
|
Mattes D
|
646e636933
|
cNetwork: Rewritten server listen into a factory method.
|
2015-01-22 20:12:56 +01:00 |
|
Mattes D
|
4647e6ad71
|
cNetwork: Removed unneeded dependency.
|
2015-01-22 20:12:55 +01:00 |
|
Mattes D
|
728a624e48
|
cNetwork: Refactored cTCPLinkImpl::Connect into a factory.
|
2015-01-22 20:12:55 +01:00 |
|
Mattes D
|
6f29cfe084
|
cNetwork: Cosmetics.
|
2015-01-22 20:12:54 +01:00 |
|
Mattes D
|
5cc8d82a23
|
cNetwork: Fixed compilation in out-of-source builds.
|
2015-01-22 20:12:53 +01:00 |
|
Mattes D
|
b59206207c
|
cNetwork: Fixed compilation.
|
2015-01-22 20:12:52 +01:00 |
|
Mattes D
|
235b8f1f6b
|
cNetwork: Added error logging to server socket creation.
This is mainly for WinXP and RasPi testing.
|
2015-01-22 20:12:50 +01:00 |
|
Mattes D
|
ddb1818dd5
|
cNetwork: Added multithreading protection.
|
2015-01-22 20:12:50 +01:00 |
|
Mattes D
|
d8ac99a037
|
cNetwork: Implemented connection shutdown and close.
|
2015-01-22 20:12:49 +01:00 |
|
Mattes D
|
9ffca12709
|
cNetwork: Fixed Linux compilation.
|
2015-01-22 20:12:48 +01:00 |
|
Mattes D
|
a2aa37bdc5
|
cNetwork: Implemented link address getting.
|
2015-01-22 20:12:47 +01:00 |
|
Mattes D
|
28e97d5468
|
cNetwork: Implemented basic server functionality.
|
2015-01-22 20:12:46 +01:00 |
|
Mattes D
|
251c96952b
|
cNetwork: Implemented IP-to-hostname lookup.
|
2015-01-22 20:12:45 +01:00 |
|
Mattes D
|
fde44cba08
|
cNetwork: Implemented HostnameToIP lookups.
|
2015-01-22 20:12:45 +01:00 |
|
Mattes D
|
c7335255ac
|
Excluded PolarSSL tests from MCS tests.
|
2015-01-22 20:12:44 +01:00 |
|
Mattes D
|
bef957ef14
|
Added newline to logged messages in the tests.
|
2015-01-22 20:12:43 +01:00 |
|
Mattes D
|
b8b3409b74
|
cNetwork: Linux compilation fix.
|
2015-01-22 20:12:41 +01:00 |
|
Mattes D
|
6f5e267d58
|
Implemented LibEvent-based client connections.
|
2015-01-22 20:12:40 +01:00 |
|
Mattes D
|
a8a7488b54
|
Added the libevent library.
|
2015-01-22 20:12:39 +01:00 |
|
Mattes D
|
f36a00c603
|
Merge pull request #1708 from mc-server/WarningFixes
Warning fixes
|
2015-01-22 14:33:36 +01:00 |
|
Mattes D
|
9429cdcb53
|
Fixed warnings in StringUtils.
|
2015-01-21 20:39:34 +01:00 |
|
Mattes D
|
2df8e4863f
|
Fixed warnings in FastNBT.cpp.
|
2015-01-20 23:52:53 +01:00 |
|
Mattes D
|
5ac3a23586
|
Fixed warnings in 1.7 protocol.
|
2015-01-18 22:43:35 +01:00 |
|
Mattes D
|
45b1d5ff78
|
Fixed various warnings.
|
2015-01-18 18:01:24 +01:00 |
|
Mattes D
|
b1c58b7b52
|
cWorld: Fixed a type warning.
|
2015-01-18 15:10:05 +01:00 |
|
Mattes D
|
83ed6a2c1b
|
Fixed type conversion warnings.
|
2015-01-18 11:25:16 +01:00 |
|
Mattes D
|
e38f41d32f
|
Merge pull request #1702 from mc-server/chrono
Started to convert more of MCServer to std::chrono
|
2015-01-18 11:21:36 +01:00 |
|
Mattes D
|
e211aafaa4
|
Fixed type-conversion warnings.
|
2015-01-18 11:02:17 +01:00 |
|
Mattes D
|
50918a5214
|
Merge pull request #1707 from UltraCoderRU/master
Fixed some problems found by CppCheck
|
2015-01-17 19:52:26 +01:00 |
|
Mattes D
|
52d307e3b0
|
CMake: Check libs in submodules before configuring.
This provides an early error message when someone forgets to init / update submodules.
|
2015-01-09 20:38:25 +01:00 |
|
Mattes D
|
7d13a2a77a
|
Fixed Linux compilation.
|
2015-01-03 22:39:55 +01:00 |
|
Mattes D
|
06c2669cf6
|
Protocols: Ignore garbage data at the end of PluginMessage packets.
Fixes #1692.
|
2015-01-03 22:24:15 +01:00 |
|
Mattes D
|
35a3a1b9f4
|
cByteBuffer: Improved SingleThreadAccessChecker performance.
But it's still poor and unusable for regular testing.
|
2015-01-03 22:24:12 +01:00 |
|
Mattes D
|
7a400bdcd1
|
Merge pull request #1691 from tonibm19/patch-3
Added player count to webadmin
|
2014-12-30 10:34:37 +01:00 |
|
Mattes D
|
19ff14752e
|
MobHead: Fixed wither spawning.
|
2014-12-25 20:41:27 +01:00 |
|