Commit Graph
100 Commits
Author SHA1 Message Date
Kenzie Togami fa42e40281 Limit expression thread count to processor count. 2019-10-26 16:44:23 -07:00
Kenzie Togami b0528f157a Improve timeout tracking for expressions 2019-10-26 16:18:59 -07:00
Kenzie Togami 91a78f725a Some shading fixes 2019-10-19 00:48:49 -07:00
Kenzie Togami a273e55e7a Fix gradle build 2019-10-18 22:39:52 -07:00
Kenzie Togami 1ba02c54b7 Completely rewrite the expression parser in ANTLR. 2019-10-18 22:27:31 -07:00
Kenzie Togami 9f1e7cdaaf Small modifications for better visitors 2019-10-13 02:20:10 -07:00
Kenzie Togami 7d52374fc0 Add initial ANTLR setup + lex/parser 2019-10-13 02:02:47 -07:00
Kenzie Togami 3093c45675 Restore mixin generic 2019-09-30 14:59:51 -07:00
Kenzie Togami a273e27eda Properly use mixins to implement Watchdog 2019-09-30 14:58:11 -07:00
Kenzie Togami 7e3fc6c8e7 Disable watchdog ticking by default, //watchdog to turn on 2019-09-29 22:10:04 -07:00
Kenzie Togami 8af68fc884 Initial watchdog setup. Bukkit needs adapters, everything needs testing. 2019-09-29 22:09:55 -07:00
Kenzie Togami fa25ad22cd Harden JsonFileSessionStore against nulls/Gson oddities 2019-09-23 11:46:24 -07:00
Kenzie Togami 982caaffab Trigger test for hooks 2019-09-22 17:08:16 -07:00
Kenzie Togami bb8c150ed3 Update ForgeGradle + Gradle 2019-09-22 14:12:34 -07:00
Kenzie Togami 445b7706fc Restructure how Loom is included in build env 2019-09-22 13:42:26 -07:00
Kenzie Togami 6162a47002 Force non-Locatable actors to use placeAtPos1 2019-09-21 18:21:22 -07:00
Kenzie Togami 23ca70e49a [Forge] Update to Recommended Forge, newer mappings 2019-09-14 01:06:49 -07:00
Kenzie Togami ba26d788af Add /brush none and unbind aliases 2019-09-09 18:13:57 -07:00
Kenzie Togami 0e9fee3b60 Add /tool back, deprecate global tool commands 2019-09-08 17:46:29 -07:00
Kenzie Togami fa364dd738 [Forge] Update FG + Forge 2019-09-07 21:59:13 -07:00
Kenzie Togami 8fdd15f357 [CLI,Libs] Minimize CLI, exclude slf4j from libs 2019-09-01 20:11:34 -07:00
Kenzie Togami 299d703f24 [Doctools] Fix //expand listing, ensure no missed commands 2019-08-29 19:58:00 -07:00
Kenzie Togami 45bfa0d140 [Doctools] Add command-topic for CSS markup 2019-08-26 00:45:08 -07:00
Kenzie Togami 7af397bd56 [Doctools] Fix //rotate description quoting 2019-08-26 00:17:22 -07:00
Kenzie Togami a0b9810c44 [Doctools] Read source files for command ordering 2019-08-13 20:06:15 -07:00
Kenzie Togami 33633acbe7 Add validator extent to every entry point, fix extent ordering 2019-08-12 10:04:29 -07:00
Kenzie TogamiandMatthew Miller f472c20bfb Memory optimizations (#505)
* Remove LocatedBlock overhead in LBL map

* Add new space-efficient block map, with thourough testing

* Drop ordering property, add full insertion test

* Add licenses

* Fix mocked platform conflicts

* Disable full block map testing for faster builds

* Re-implement BlockMap with fastutil maps

* Re-write chunk batching to be memory efficient

* Make MultiStageReorder use BlockMap

* Increase LBL load factor, fix long-pack limit detection

* Fix infinite loop in chunk batching

* Save memory in history by cleaning up MSR

* Re-implement LocatedBlockList in BlockMap

* Fix data race with BlockType lazy fields

* Make IDs ALWAYS present, only runtime-consistent. Use for memory efficiency in BlockMap

* Remap inner structure of BlockMap for smaller maps

* Remove containedBlocks fields, not very efficient

* Fix minor de-optimizing bug in stage reorder

* Make long packed y signed

* Add extended Y limit configuration option

* Add licenses

* Store 3 ints for unoptimized BV list

* Add final to BitMath

* Correct int-cast for long-packing
2019-08-12 22:06:40 +10:00
Kenzie Togami f83de2a703 Fix bug with spaces at end of suggestions. 2019-08-08 16:28:00 -07:00
Kenzie Togami 8880385878 [Forge] Switch off of deprecated getEntityPlayer 2019-08-05 14:21:18 -07:00
Kenzie Togami 35edd95c87 [Forge] Update to 28.0.45 for package rename 2019-08-05 14:17:56 -07:00
Kenzie Togami 5f5c067081 [Forge] Mark chunks for save after editing biomes 2019-08-02 20:39:34 -07:00
Kenzie Togami f848d3114f Re-load internal state IDs when WORLD_EDITING cap is re-loaded 2019-08-02 15:47:29 -07:00
Kenzie Togami 7d31ac6dea Update to Forge 28.0.34 for PlayerInteract fix 2019-08-02 14:03:06 -07:00
Kenzie Togami 50cea37439 Fix other minor suggestion bugs 2019-07-27 23:49:11 -07:00
Kenzie Togami 76b608f90b Fix suggestions on Bukkit for good 2019-07-27 23:31:38 -07:00
Kenzie Togami 3a5170a0e8 Potenially fix quoted string completion 2019-07-27 18:12:18 -07:00
Kenzie Togami d134820bcb Merge branch 'master' into fix/quoted 2019-07-27 17:41:44 -07:00
Kenzie Togami c8cf0d8ba6 [Forge] Update to 1.14.4, pending Forge bugfixes 2019-07-25 19:19:03 -07:00
Kenzie Togami 8975347703 Fix Forge regen, by retaining the world reference. Also close the world. 2019-07-17 18:02:45 -07:00
Kenzie TogamiandGitHub 6e90c59136 Merge pull request #504 from EngineHub/feature/junit-5
Switch to JUnit 5
2019-07-16 04:21:06 -07:00
Kenzie Togami c1f4eecd77 Narrow timeout test exception type 2019-07-15 17:18:10 -07:00
Kenzie Togami 5c5c822f4b Replace try-fail-catch-assert with assertThrows 2019-07-15 16:38:34 -07:00
Kenzie Togami 3b157b67c3 Move Bukkit to JUnit 5 2019-07-15 16:38:33 -07:00
Kenzie Togami 429d022752 Move Core to JUnit 5 2019-07-15 16:38:33 -07:00
Kenzie Togami e98b99edcd Properly acquire JUnit 4, drop json-simple 2019-07-15 16:38:33 -07:00
Kenzie TogamiandGitHub bcea78c701 Merge pull request #503 from EngineHub/feature/kotlin-dsl-gradle-scripts
Kotlin DSL Gradle Scripts
2019-07-15 14:17:51 -07:00
Kenzie Togami 5fa311be48 Account for IntelliJ bug 2019-07-15 09:42:28 -07:00
Kenzie Togami ad5dcbea58 Attempt to fix ASM conflict 2019-07-15 09:14:02 -07:00
Kenzie Togami 98e29f634f Fix fabric output jar 2019-07-14 00:00:11 -07:00
Kenzie Togami 58863c22e8 Try downgrading fabric 2019-07-13 23:26:31 -07:00
Kenzie Togami 52a62b984b Improve logging, update to 5.5.1 2019-07-13 22:16:16 -07:00
Kenzie Togami 5277f99bf2 Minor fixes for craftscripts in Forge 2019-07-12 13:49:45 -07:00
Kenzie Togami 5a14693aa9 Migrate Sponge, Libs to Kotlin DSL 2019-07-12 13:49:45 -07:00
Kenzie Togami 3bdc1c1cf2 Fixup after shade rhino merge 2019-07-12 13:49:45 -07:00
Kenzie Togami 3d4025c757 Migrate Forge to Kotlin DSL 2019-07-12 13:49:45 -07:00
Kenzie Togami 47b9716bdc Migrate Fabric to Kotlin DSL 2019-07-12 13:49:45 -07:00
Kenzie Togami 55100761a3 Migrate Core to Kotlin DSL 2019-07-12 13:49:45 -07:00
Kenzie Togami ab8397e517 Migrate Bukkit to Kotlin DSL 2019-07-12 13:49:45 -07:00
Kenzie Togami 19802e478c Re-write root and libs to Kotlin DSL 2019-07-12 13:49:45 -07:00
Kenzie Togami eccbad92e8 Move away from deprecation, move dependencies towards buildSrc 2019-07-12 13:49:45 -07:00
Kenzie Togami 59c2a15cda Further minor cleanup from Gradle 5 change 2019-07-12 13:49:45 -07:00
Kenzie TogamiandGitHub 4874c314d0 Merge pull request #501 from EngineHub/feature/gradle-5
Update to Gradle 5
2019-07-11 22:01:09 -07:00
Kenzie TogamiandGitHub 9e7d46662c Merge pull request #498 from EngineHub/feature/improved-chunk-batching
Buffered extent improvements
2019-07-10 14:25:22 -07:00
Kenzie TogamiandGitHub b5ed1973d3 Merge pull request #500 from EngineHub/bugfix/libraries-in-forge-jar
Shade Rhino and truezip into Forge dist
2019-07-10 14:12:50 -07:00
Kenzie Togami e87a5559d6 Ensure blocks are not moved below world boundary 2019-07-10 14:10:22 -07:00
Kenzie Togami c5c6a091fd Update to Gradle 5.5 2019-07-09 18:21:21 -07:00
Kenzie Togami 05bf211d73 Prepare worldedit-libs for shadow upgrade 2019-07-08 20:25:59 -07:00
Kenzie Togami 5a464142ae Shade Rhino and truezip into Forge dist 2019-07-08 20:21:31 -07:00
Kenzie Togami 2ee71cc72f Grav brush: move to bottom, not down one 2019-07-06 15:41:11 -07:00
Kenzie Togami 3ad80665d8 Fix gravity brush itself, not EditSession 2019-07-06 00:12:17 -07:00
Kenzie Togami f2c47f3759 License for new class 2019-07-04 11:55:27 -07:00
Kenzie Togami 99ee32fe8e Many fixes for buffered extents 2019-07-04 11:43:36 -07:00
Kenzie Togami d27daefd3e Implement getBlock for chunk batching extent
Also improve speed of comparators, by using ::comparingX and bitwise
ops.
2019-07-03 21:11:36 -07:00
Kenzie Togami 255f016df3 [Forge] Update to 1.14.3 2019-06-26 19:44:42 -07:00
Kenzie Togami 7879be157e [Forge] Update to newer 1.14.2 forge, mappings 2019-06-22 12:42:20 -07:00
Kenzie TogamiandMatthew Miller 27c7d488a2 Add perf. improvments for Forge 2019-06-15 17:33:17 +10:00
Kenzie TogamiandMatthew Miller 8c17aab9c5 Clean-up some misc. parts of the code 2019-06-15 17:33:17 +10:00
Kenzie TogamiandMatthew Miller a3a175ab8c Initial attempt at binding state IDs 2019-06-15 17:33:17 +10:00
Kenzie Togami d46cd78e14 Port doc printer to Kotlin, heavily improve 2019-06-05 23:26:57 -07:00
Kenzie Togami bae2a0b244 Update Piston to 0.4.1 for bugfixes 2019-06-04 18:57:40 -07:00
Kenzie Togami 620992dd57 Update Piston to 0.4.0 for bugfixes 2019-06-01 01:51:25 -07:00
Kenzie Togamiandwizjany 3b2b7f2c68 Initial attempt at restoring regen functionality (#475) 2019-05-26 20:00:45 -04:00
Kenzie Togami 3173e26109 Fix //expand, improve //help 2019-05-17 22:24:31 -07:00
Kenzie Togami e7613dd879 Stop using IAE to communicate parameter mis-use 2019-05-14 17:57:05 -07:00
Kenzie Togami 718c2e8306 Update Piston to 0.2.4 for even more bug fixes 2019-05-14 17:25:55 -07:00
Kenzie Togami 93dd956bae Bump Piston to 0.2.3 for deadlock fix 2019-05-13 04:04:46 -07:00
Kenzie Togami 6765c2896d Bump text-extras to 3.0.2 2019-05-13 02:47:05 -07:00
Kenzie Togami a2b67f8ddb Re-write EventBus to be faster 2019-05-10 05:01:01 -07:00
Kenzie Togami 389671b43b Apply eclipse plugin to prevent crash in FG 2019-05-10 03:39:29 -07:00
Kenzie TogamiandKenzie Togami 067a570df0 Implement basic Forge suggestions 2019-05-05 23:06:20 -07:00
Kenzie TogamiandKenzie Togami 8a3e6a12b9 Implement suggestions for Bukkit + Sponge 2019-05-05 23:06:20 -07:00
Kenzie TogamiandKenzie Togami 1c54a04fd1 Update Text to 3 2019-05-05 23:06:20 -07:00
Kenzie TogamiandKenzie Togami 4355f8cbf7 Update Piston for suggestions, add hacky-pseudo-suggestions 2019-05-05 23:06:20 -07:00
Kenzie TogamiandKenzie Togami acc0e7d09c Fix logging on Bukkit, align adapter versions 2019-05-05 23:06:20 -07:00
Kenzie Togami 5781b4cd76 Update Piston version 2019-05-01 16:13:06 -07:00
Kenzie TogamiandKenzie Togami b419446109 Add checkstyle regexp to validate case methods 2019-05-01 15:24:32 -07:00
Kenzie TogamiandKenzie Togami 13a8c480e3 Insert Locale.ROOT into all case change methods 2019-05-01 15:24:32 -07:00
Kenzie Togami fb4fb980e0 Condense some command packages 2019-04-30 15:03:18 -07:00
Kenzie Togami 743d7f08ab Purge intake-like command system 2019-04-30 14:59:45 -07:00
Kenzie Togami 7c1764548d Deprecate old system, still in use by WG/CB 2019-04-30 13:53:14 -07:00