Commit Graph
100 Commits
Author SHA1 Message Date
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 7fac63cffb Moved accessors to cpp file 2014-05-24 13:37:25 +01:00
Tycho 8f964886e0 Implemented style changes 2014-05-24 13:33:40 +01:00
Tycho 4ab8288116 Merge branch 'master' into chunksparsing/structs 2014-05-24 12:44:49 +01:00
Tycho 41692da30c Ignore CTest files 2014-05-23 15:01:27 +01:00
Tycho 4b23472097 Fixed if spaces 2014-05-21 21:46:20 +01:00
Tycho 88c61a2e96 Fixed reversed comparisons to null 2014-05-21 21:18:14 +01:00
Tycho 93c0dcb1fe Added space to ChunkData.cpp 2014-05-21 20:26:43 +01:00
Tycho bd880603a5 Changed cChunkData::SetMeta to return a bool indicating whether the value changed 2014-05-21 20:18:09 +01:00
Tycho 5929ffbc40 Fixed stylistic issues 2014-05-21 20:08:34 +01:00
Tycho 024027db89 Renamed cChunkBuffer to cChunkData 2014-05-21 19:58:48 +01:00
Tycho cdd3d11496 Fixed minor style issues 2014-05-21 18:33:54 +01:00
Tycho 8a0d3f7921 Fixed issue with types not being defined for an unused parameter 2014-05-18 15:37:17 +01:00
Tycho f451075c1f derp 2014-05-17 15:32:28 +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
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 5d39ecc64b Fixed bug that caused Array Setters to always create segments 2014-05-11 18:42:38 +01:00
Tycho a6940445f6 test 0 values 2014-05-11 18:29:47 +01:00
Tycho 9568c223ff SkyLight defaults to 0xFF 2014-05-11 18:24:21 +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 009f749962 Coverage builds are called MCServer not MCServer_debug 2014-05-10 18:07:50 +01:00
Tycho 7ca33bd832 Fixed stupid error 2014-05-10 17:56:59 +01:00
Tycho 43fc1471a1 Merge branch 'master' into chunksparsing/structs 2014-05-10 17:55:43 +01:00
Tycho 7ebb0afd4e Fail build on error 2014-05-10 17:52:46 +01:00
Tycho 4e6499c1c2 Don't run start test under gcov 2014-05-10 17:51:20 +01:00
Tycho 6124b5208c quite gcov take 4 2014-05-10 17:47:45 +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 cb6200345c Fixed bug in setting metas 2014-05-10 15:19:06 +01:00
Tycho 83a7b2333f quieted gcov 4 2014-05-10 14:44:20 +01:00
Tycho 90f91ae977 quieted gcov 3 2014-05-10 14:34:08 +01:00
Tycho 3b8f28aa49 quieted gcov 2 2014-05-10 14:13:25 +01:00
Tycho 149793da05 Relocate gcda files so gcov can find them 3 2014-05-10 14:11:35 +01:00
Tycho 5b23bc53cc rewrote exclustions 2014-05-10 14:05:39 +01:00
Tycho 9e17adc845 quieted gcov 2014-05-10 13:59:34 +01:00
Tycho 79570552b9 Relocate gcda files so gcov can find them take 2 2014-05-10 13:57:46 +01:00
Tycho 740aed3aef Relocate gcda files so gcov can find them 2014-05-10 13:46:05 +01:00
Tycho 189c7529e9 Add qutes to scripts 2014-05-10 13:18:40 +01:00
Tycho 6e6d7c1159 Fix spaces in bash 2014-05-10 13:17:09 +01:00
Tycho cebbb8abd0 Make scripts executable 2014-05-10 13:14:32 +01:00
Tycho 5be9bac448 Fixed missing Dollar signs 2014-05-10 13:12:57 +01:00
Tycho b66b1e5b10 Fixed paths 2014-05-10 13:12:01 +01:00
Tycho 604ed439a8 Fix bash ifs 2014-05-10 13:09:47 +01:00
Tycho d478e3cfb1 Merge branch 'master' into chunksparsing/structs
Conflicts:
	src/Chunk.h
2014-05-10 05:05:44 -07:00
Tycho 77395b3739 Maybe coverage working? 2014-05-10 05:03:36 -07:00
Tycho ec407dd27d Merge branch 'master' into chunksparsing/structs
Conflicts:
	src/Chunk.cpp
2014-05-03 06:07:56 -07:00
Tycho 616ddf5ca5 cCHunkBuffer that compiles with TestGlobals.h 2014-05-03 06:02:51 -07:00
Tycho 8d6919f3b6 Fixed polarssl programs included 2014-05-01 12:05:11 -07:00
Tycho 47cc1a84e1 Tests off by default take 2 2014-05-01 11:57:07 -07:00
Tycho 1929b46aff Disable polarssl tests by default 2014-05-01 11:52:08 -07:00
Tycho 8780b324ff Merge branch 'master' into chunksparsing/structs 2014-05-01 11:50:40 -07:00
Tycho 9928698d6d Merged change to enable testing to be disabled
This is confirmed upstream but is unlikely to get into the repository for
several weeks
2014-05-01 09:53:43 -07:00
Tycho ed071538d5 Changed polarssl repo to point to cloned copy of polarssl 2014-05-01 09:47:22 -07:00
Tycho ad5cdf9f2d Removed static from combinators.
THis allows us to use the functions in template params at the cost of polluting the global namespace.
2014-04-28 11:07:06 -07:00
Tycho 6d520e398b Fixed unbraced ifs 2014-04-28 11:00:43 -07:00
Tycho 05fe6d6c58 Removed inlines from combinators
gcc requires external linkage for functions provided to template parameters
2014-04-28 10:52:48 -07:00
Tycho a42480cf82 Template Magic
Removed need to allocate a fake meta block by using templates to provide a version
of the code that does not use metas. Also changed the function to a template
argument to make sure that the compilier is able to inline it.
2014-04-28 10:31:07 -07:00
Tycho 744e00c904 Worked around const pointer 2014-04-27 13:43:59 -07:00
Tycho 077179277c Fixes to uninitallsed array access in Noise.cpp
CID 43634, 43634
2014-04-27 13:20:00 -07:00
Tycho 71c51783f3 Initalize counter in fastrandom
Fixes CID 43622
2014-04-27 13:15:19 -07:00
Tycho a2b1fa6520 Initialised MetaArrays in BlockArea
Fixes CID 43621
2014-04-27 13:12:36 -07:00
Tycho 25d933883a Removed unneeded assert
Fixed CID 43610
2014-04-27 13:07:21 -07:00
Tycho 35dc88e4ff Removed Old Asserts
Removed asserts about non-negative numbers on what are now unsigned types
Fixes CID 43608
2014-04-27 12:42:29 -07:00
Tycho d15743df1c Removed old unused code 2014-04-27 12:41:22 -07:00
Tycho ee354a405b Fixed OnPluginMessage hook not exiting early.
OnPluginMessage hook would call all plugins even after one returned true.
Fixes CID 43512
2014-04-27 12:37:08 -07:00
Tycho 1d3ad6faa2 Added Testing capability 2014-04-27 12:25:03 -07:00
Tycho 6f1fea759e Fixed bad comment 2014-04-27 08:14:56 -07:00
Tycho d412630904 Fixed a couple of segfaults and made Free a seperate function 2014-04-27 08:11:56 -07:00
Tycho 48a2488477 Added other half of implementation 2014-04-27 07:38:16 -07:00
Tycho 2730a41946 Fixed issues with gcc 2014-04-27 07:10:30 -07:00
Tycho e3bdc81ca0 Fixed MobProximity Counter to remove chunk copys 2014-04-27 06:46:13 -07:00
Tycho dcb2a590e3 Fixed bad merge 2014-04-27 06:45:33 -07:00
Tycho 57b8ee9163 Merge branch 'master' into chunksparsing/structs
Conflicts:
	src/Chunk.cpp
	src/Chunk.h
2014-04-27 06:35:27 -07:00
Tycho e40f9d6e5b Implemented Chunk Sparsing with segments 2014-04-26 10:50:23 -07:00
Tycho 01546020fc Replaced all the .data() calls so the code compiles in VS2008 2014-04-10 12:12:36 -07:00
Tycho 18793ca568 Fixed missing - that caused all neighbour lookups to go to the chunkmap 2014-04-08 08:59:50 -07:00
Tycho 10e72a122c Removed check for enqueuing a chunk that is already enqueued to be loaded
This remaval is safe as cWorldStorage checks for duplicate chunks when dequeuing
and removes an expensive iteration whilst holding the queue lock
2014-04-08 08:43:28 -07:00
Tycho f5cb81eb1b Added support for redstone latching
fixes #856
2014-04-06 11:09:33 -07:00
Tycho c89f7902df Added forgoten lua file 2014-04-06 05:56:43 -07:00
Tycho 23395a5ce1 Merge branch 'master' into override
Conflicts:
	lib/tolua++/CMakeLists.txt
2014-04-05 14:12:17 -07:00
Tycho 0075b2f72e Merge branch 'master' into HTTPSizeT
Conflicts:
	src/HTTPServer/EnvelopeParser.h
	src/HTTPServer/HTTPFormParser.h
	src/HTTPServer/MultipartParser.h
2014-04-02 07:51:48 -07:00
Tycho b449ad8613 Merge branch 'MacFixes'
Conflicts:
	src/DeadlockDetect.cpp
	src/World.cpp
2014-04-02 06:54:57 -07:00
Tycho 741a64c250 Merge branch 'master' into HTTPSizeT 2014-04-02 06:37:24 -07:00
Tycho 1f5a4a39f2 Fixed All signedness warnings in HTTPServer.cpp 2014-04-02 06:36:25 -07:00
Tycho dcaea749ae Merge branch 'master' into globals 2014-04-02 06:05:55 -07:00
Tycho 298c0b409a Fixed tolua++ override support 2014-04-02 06:04:17 -07:00
Tycho 7ece0cc836 Fixed format string in HTTPConnection 2014-04-02 05:10:08 -07:00
Tycho 93bb5369a8 Fixed Comparison to -1 in HTTPMessage.h 2014-04-02 05:06:38 -07:00
Tycho 5653997bcc Added override specifier to functions declared in cWorld 2014-03-22 08:43:54 -07:00
Tycho 0cfb12f0d1 Added Additonal check for xxd existance 2014-03-22 08:30:49 -07:00
Tycho 830a9c3bb4 FIrst attempt at adding override support to tolua 2014-03-22 08:16:07 -07:00
Tycho 2266c2150d Merge branch 'master' into size_t_lua
Conflicts:
	lib/tolua++/src/bin/basic_lua.h
2014-03-22 07:48:16 -07:00
Tycho a69a1ef032 Fixed enum checking functions not being called in generated code 2014-03-20 13:23:15 -07:00
Tycho 6a3fe7adcc Fixed bugs in patched tolua output 2014-03-19 12:38:00 -07:00