1
0
Commit Graph

8313 Commits

Author SHA1 Message Date
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
Matyas Dolak
42162b5193 Debuggers: Logging the os.clock for console-scheduled tasks.
This performs the test for #1717.
2015-01-27 13:28:01 +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
Raekye
82a10116dd fix logic bug in cChunk::FastSetBlock filtering out leaves meta changes
- send update if it's not a leaves block and (the original checks)
2015-01-25 19:13:55 -05:00
Raekye
08d84080fa filter out leaves meta changes from being sent to the client 2015-01-25 18:33:08 -05:00
Howaner
1f94c318c5 Readded old DistributeStackToAreas() comment. 2015-01-25 00:40:59 +01:00
Howaner
1eedccc56a Merge branch 'master' into Inventory 2015-01-25 00:34:19 +01:00
Alexander Harkness
e6b50b6037 Gamosocm support 2015-01-24 15:48:30 +00: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
Kirill Kirilenko
5d257178a0 Fixed defect #43662 in Coverity list. 2015-01-23 19:56:17 +03:00
Kirill Kirilenko
ce2d3280ca Fixed defect #43665 in Coverity list. 2015-01-23 19:06:27 +03:00
Kirill Kirilenko
0288e90e0b Fixed defect #73101 in Coverity list. 2015-01-23 19:06:26 +03:00
Kirill Kirilenko
2557eab957 Fixed defect #43671 in Coverity list. 2015-01-23 19:06:25 +03:00
Kirill Kirilenko
14ea50cbe7 Fixed defect #43661 in Coverity list. 2015-01-23 19:06:23 +03:00
Kirill Kirilenko
a216413a33 Fixed defect #71781 in Coverity list. 2015-01-23 19:06:07 +03:00
Matyas Dolak
2b75c89051 ProtoProxy: Added socket startup error reporting.
Fixes CID 66433, fixes CID 66443.
2015-01-23 10:10:25 +01:00
Matyas Dolak
268ea71e4a Fixed negative return values in SchematicFileSerializer.
Fixes CID 103165.
2015-01-23 10:03:39 +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
worktycho
19121d2962 Wrap debug variable in ifdef
avoidss unused variable error in clang
2015-01-22 20:12:51 +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