Mattes D
d2e8643607
Fixed type-casting-related warnings.
2016-08-24 22:26:53 +02:00
Mattes D
c45bd4b968
HTTP: Fixed empty headers parsing.
2016-08-24 08:28:44 +02:00
Mattes D
74918ce805
cUrlClient: Refactored callbacks to use UniquePtr.
2016-08-22 23:44:37 +02:00
Mattes D
641cb063bc
cTCPLink supports TLS out of the box.
2016-08-22 23:44:36 +02:00
Mattes D
6c760ee348
UrlClient: Basic HTTP implementation.
2016-08-22 22:16:42 +02:00
Alexander Harkness
58b29adc88
Fixed cFastRandom Test. ( #3291 )
...
This resolves #3290
2016-08-03 09:35:42 +02:00
Mattes D
8eaa8613da
CMake: Remove needless minimum version specifications.
2016-07-18 22:11:42 +02:00
Mattes D
1462e4f70e
Self tests ( #3242 )
...
* SelfTests: Added a cEvent stress-test.
* cNetwork: Fixed startup event hang.
The original code used to hang with a ~ 1:50000 chance, because on Linux the cEvent was destroyed before its "Set()" returned.
2016-06-26 14:51:12 +01:00
Mattes D
4d9769a484
SelfTests: More logging for EnumInterfaces.
2016-06-18 13:12:11 +02:00
Mattes D
ea47247dc7
SelfTests: Print a quick message on test start.
2016-06-18 13:12:10 +02:00
Mattes D
36eefbf0f2
SelfTests: Removed the unneeded cSelfTests class.
2016-06-18 13:12:10 +02:00
Mattes D
aa4b3ebf2f
SelfTests: Fixed HTTPMessageParser tests for out-of-source builds.
2016-06-18 13:12:09 +02:00
Mattes D
82e81c01a2
SelfTests: Fixed missing override keyword in EchoServer.
2016-06-18 13:12:09 +02:00
Mattes D
75a81cf753
SelfTests: Moved BoundingBox test to a separate project.
2016-06-18 13:12:09 +02:00
Mattes D
a781be5456
SelfTests: Moved SchematicFileSerializer test into a separate project.
2016-06-18 13:12:08 +02:00
Mattes D
db17f585af
SelfTests: Moved cCompositeChat test to a separate project.
2016-06-18 13:12:08 +02:00
Mattes D
ab6f68b42c
SelfTests: Moved ByteBuffer test to a separate project.
2016-06-18 13:12:07 +02:00
Mattes D
3d164a77cb
SelfTests: Organized into solution folders.
2016-06-18 13:12:07 +02:00
Mattes D
3184433756
Moved NetworkInterfaceEnum test to a separate test project.
2016-06-18 13:12:06 +02:00
LogicParrot
77bf00a599
Out of world blocks are now always considered air blocks
2016-04-23 09:54:34 +03:00
Mattes D
52d18b4559
WebAdmin uses the new HTTP parser framework.
2016-03-01 16:19:58 +01:00
Mattes D
12d95ab047
HTTP: Fixed response parser, unified API.
2016-03-01 16:19:58 +01:00
Mattes D
1d05fc95ae
Added unit test for parsing HTTP request.
2016-03-01 16:19:57 +01:00
Mattes D
80e1eb37dd
Renamed leftover strings to Cuberite / Server, as needed.
...
Also upgraded the user setting file for MSVC to 2013.
2016-01-01 21:05:09 +01:00
Mattes D
122d824a8a
Added a Json parser and serializer to Lua API.
2015-12-24 14:00:31 +01:00
Alexander Harkness
8b851d5048
Added HTTPS links wherever they are supported.
2015-12-19 14:30:32 +00:00
tycho
91d0abae4c
Working coverage build
2015-12-18 11:19:21 +01:00
Gargaj
66e6589883
blockheight mechanism
2015-12-13 15:16:15 +01:00
Mattes D
b8fbba5eb9
Added PieceStructures generator.
2015-12-01 10:35:07 +01:00
Tiger Wang
4315a11393
Fixed and improved restarting
...
Restarts are now an actual, close-as-possible to application
exit+reopen.
2015-08-20 16:15:23 +01:00
Tiger Wang
8656e149c8
Improved maps
2015-07-14 21:46:30 +01:00
Mattes D
66a164a9a7
Added neighbor specification in the OnNeighborChanged() block callback.
...
Fixes the OnNeighborChanged endless recursion with large melon / pumpkin fields.
Fixes #2213 .
2015-07-01 10:40:16 +02:00
Samuel Barney
e70e2b8ecc
Rebased version of Code
2015-06-22 11:29:38 -06:00
Mattes D
e06dd8f20e
Added basic support for loading village prefabs from files.
2015-06-20 15:37:41 +02:00
Mattes D
8df31067d4
Externalized cPrefabPiecePool self-test.
2015-06-19 16:15:59 +02:00
tycho
51b4584b42
Fix clang 3.6 flags to only be used in clang 3.6
2015-05-24 15:22:55 +01:00
tycho
95b81b3ef1
Disable -Werror for warnings in tests.
2015-05-24 14:16:05 +01:00
tycho
a5624debcb
Fix tests
2015-05-23 13:21:02 +01:00
tycho
7f35671b21
Fix tests
2015-05-19 19:53:16 +01:00
Mattes D
591b4eeb8a
Network tests: Fixed clang warnings.
2015-02-20 16:08:21 +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
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
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
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
d3076a3e16
cNetwork: Split cNetworkSingleton to a separate file.
2015-01-22 20:13:00 +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