1
0
Commit Graph

180 Commits

Author SHA1 Message Date
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
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
Tycho
a9b8a530b1 Extracted Google connection test 2015-01-22 20:12:42 +01:00
Tiger Wang
17be0e3b7a Removed test 2014-12-13 12:17:04 +00:00
Tiger Wang
44b2deab97 Fixed compilation? 2014-11-01 16:36:45 +00:00
worktycho
c40f65ad83 Update creatable.cpp 2014-09-27 15:29:11 +01:00
Tycho
73dfe1fe81 Fix accedental c++11 2014-09-17 18:59:45 +01:00
Tycho
6e7c0e33b5 Added first test to show the object can be created 2014-09-17 18:40:10 +01:00
madmaxoft
d9f6c691cc CopyBlocks test: decreased the test size.
It just needlessly ate up test time; there's no need for such rigorous testing once the test started succeeding.
2014-09-01 21:31:27 +02:00
Tycho
ee50790398 Merge branch 'master' of github.com:mc-server/MCServer 2014-06-16 15:12:50 +01:00
Mattes D
f2470ff7c1 Reduced the number of cChunkData::CopyBlockTypes() tests, added progress. 2014-05-30 18:32:15 +02:00
Tycho
cbb9e15257 Fix bugs in test 2014-05-30 17:13:36 +01:00
Mattes D
76c07b1ec7 Added a cChunkData::CopyBlockTypes() unit test. 2014-05-30 17:44:24 +02:00
madmaxoft
e136f6e0f5 Fixed cChunkData nibble copying. 2014-05-30 11:35:29 +02:00
madmaxoft
0b60caac4a Test failures are reported verbosely and into the debug console on Win. 2014-05-30 10:56:12 +02:00
madmaxoft
0b49529e42 Fixed test return values. 2014-05-30 09:17:50 +02:00
madmaxoft
59068b77b7 Fixed wrong block sizes for copying / setting. 2014-05-29 20:21:39 +02:00
madmaxoft
c5763f3af7 Fixed test compilation. 2014-05-29 19:43:01 +02:00
Tycho
19df18c461 Fixed test globals to work with precompiled headers 2014-05-27 12:46:22 +01:00
Tycho
944d29c0ae inject TestGlobals.h correctly 2014-05-24 14:09:51 +01:00
Tycho
8f964886e0 Implemented style changes 2014-05-24 13:33:40 +01:00
Tycho
024027db89 Renamed cChunkBuffer to cChunkData 2014-05-21 19:58:48 +01:00
Tycho
016b8f7b99 C++11 2014-05-17 15:19:35 +01:00
Tycho
1f98f21dd1 fixed assignment bugs and Skylight bug 2014-05-17 15:11:58 +01:00
worktycho
7616895eb3 Fix assignment operators test 2014-05-17 14:35:08 +01:00
worktycho
d53c84a781 Add test for zeros 2014-05-17 14:07:49 +01:00
worktycho
a7a811af3a Add tests for assignment operator 2014-05-17 13:59:31 +01:00
worktycho
710656f84f Rewrote array copies test
Moved each patten test into its own scope to test all unallocated section code paths.
Moved 0's around so that they test the allocated sections code paths.
2014-05-17 13:39:28 +01:00
Tycho
97dc7d8f66 Added some more tests 2014-05-11 19:40:32 +01:00
Tycho
c46f240d81 Added several more testsfor arrays and coordinates 2014-05-11 19:24:09 +01:00
Tycho
a6940445f6 test 0 values 2014-05-11 18:29:47 +01:00
Tycho
79ab80718e Cerated array copy tests for block and skylight 2014-05-11 15:57:56 +01:00
Tycho
9278bb732d Fixed a bug in writting zeros to a non-allocated section 2014-05-11 15:52:02 +01:00
Tycho
0adb5c94b8 Fixed stupid buffer overflow in array setblocks 2014-05-10 17:46:49 +01:00
Tycho
ba25f6b524 Add arries copies tests 2014-05-10 16:15:45 +01:00
Tycho
29d5f8eb0a Added new test 2014-05-10 16:08:08 +01:00
Tycho
0940747f3b Added some more tests 2014-05-10 15:30:48 +01:00
Tycho
77395b3739 Maybe coverage working? 2014-05-10 05:03:36 -07:00
Tycho
616ddf5ca5 cCHunkBuffer that compiles with TestGlobals.h 2014-05-03 06:02:51 -07:00
Tycho
1d3ad6faa2 Added Testing capability 2014-04-27 12:25:03 -07:00
Alexander Harkness
d777c7efd9 Moved some files. 2013-12-21 12:59:41 +00:00