sk89q
4d4e1c6c26
Handle region data load / save failure more gracefully.
...
Also remove use of BoneCP and reorganize the classes.
2014-08-22 02:08:37 -07:00
sk89q
c43a24d78f
Abandon TreeSet in ApplicableRegionSet for performance reasons.
2014-08-17 19:18:21 -07:00
sk89q
cab42af53b
Reimplemented the quirks of the old flag code.
2014-08-17 00:49:32 -07:00
sk89q
d9d665ab14
Add some extra tests to ApplicableRegionSetTest.
2014-08-16 21:09:12 -07:00
sk89q
fac6ebef40
Implement new methods for accessing flags.
2014-08-16 21:09:01 -07:00
sk89q
5a63115fb2
Don't make membership always override the BUILD flag anymore.
2014-08-16 21:08:17 -07:00
sk89q
4597849466
Allow __global__ BUILD to be set to DENY.
2014-08-16 13:55:54 -07:00
sk89q
a35aaf9659
Force __global__ BUILD flag to NONE.
...
This is due to the legacy reason of the global region having not
been previously processed as a regular region.
2014-08-16 13:54:04 -07:00
sk89q
7481acba8c
Updated FlagValueCalculator to treat global regions a lowest priority region.
2014-08-16 13:30:58 -07:00
sk89q
b1fb143fd4
Add a new (unused for now) flag value implementation.
...
It supports region groups and fixes inconsistency issues.
2014-08-16 02:42:02 -07:00
sk89q
d3f3489c7e
Fix child regions not inheriting parent flags.
...
This also fixes a unit test.
2014-08-15 03:48:25 -07:00
sk89q
7a01168781
Rewrite region API. Migrations need to be re-implemented.
...
This commit, however, adds:
* Better support for background saves and loads.
* Periodical writes of region changes rather than explicit save() calls.
* Rewrite of the MySQL region code.
* Support for partial saves when using MySQL.
* Decoupling of region index implementations and RegionManager.
What still needs to be done includes:
* Background region modification operations (addmember, etc.).
* Unit tests to verify correctness of the partial saving.
* Migration support (to be re-added).
* Better handling when regions are failing to save.
* Testing of the /rg load and /rg save commands.
* Verification of how server shutdown / world unload is handled.
* Verification that thread-unsafe concurrent saves of data is not happening.
2014-08-08 20:28:49 -07:00
sk89q
418b8ff6a7
Add support for UUIDs in domains.
2014-08-01 17:36:56 -07:00
sk89q
1581390092
Add unit test to test global command blacklist with region command whitelist.
2014-07-21 19:52:27 -07:00
sk89q
cd221ea19c
Refactor command filter into a unit tested class.
...
Also adds support for regex \s as the subcommand delimiter.
2014-07-21 19:36:25 -07:00
sk89q
6deafa660d
Cleanup code and add checkstyle configs from WorldEdit.
2014-07-12 19:31:43 -07:00
TomyLobo
4ce97bca0e
Added a unit test for ProtectedRegion.intersectsEdges.
2014-02-28 00:48:40 +01:00
TomyLobo
4718c5dab0
Removed unused imports.
2013-06-07 14:06:07 +02:00
Wizjany
a34e48a145
Added unit test for entry and exit flags to put the matter to rest.
...
Also cleaned up a few other things regarding tests.
2013-03-01 22:20:16 -05:00
sk89q
f199b977eb
Added more tests for the PRTreeRegionManager to fail.
2012-10-29 12:14:10 -07:00
sk89q
5715e2c835
WorldGuard has good unit tests for regions, why not use them for PRTreeRegionManager?
...
LET'S WATCH THE WORLD BURN.
2012-10-29 12:14:10 -07:00
TomyLobo
18b5a4e106
Added @Ignore to TestPlayer.
...
Stupid old mavens...
2012-04-23 11:07:05 +02:00
Eric Puidokas
35e6ef5cd8
Implemented edge intersection checking
2011-10-19 23:48:02 +02:00
Eric Puidokas
4bb967ab4a
Added Cuboid -> Polygonal intersect tests
2011-10-19 16:21:14 +02:00
Eric Puidokas
7c1f878610
Fixed ProtectedCuboidRegion->ProtectedCuboidRegion intersection checking
2011-10-19 16:21:14 +02:00
Eric Puidokas
bc37d365ab
Added unit tests for ProtectedCuboidRegion.getIntersectingRegions
2011-10-18 02:43:00 +02:00
TomyLobo
5acd3a7f6c
Fixed warnings.
2011-08-15 09:08:33 +02:00
sk89q
564d4442fc
Added a bunch of unit tests for regions.
2011-06-27 11:10:20 -07:00
sk89q
3b871b9c00
Added more region unit tests.
2011-06-27 11:10:19 -07:00
sk89q
65834a2087
Undeprecated ApplicableRegionSet.allows(StateFlag)
2011-06-27 11:10:19 -07:00
sk89q
2277183330
Added some more region priority unit tests.
2011-06-11 01:21:08 -07:00
sk89q
dd14f3c469
Fixed priorities and parent-child regions, I believe. More testing is required. Removed dated CSVDatabaseTest.
2011-05-26 21:55:23 -07:00
sk89q
936996da17
Moved the unit tests to their proper place as recommended by the Maven gods.
2011-05-03 02:07:21 -07:00