Commit Graph
177 Commits
Author SHA1 Message Date
Petr MrázekandPetr Mrázek b411777f47 Remove travis-ci file 2022-10-26 16:55:22 +02:00
Petr Mrázek 0c9c87e4e6 Add PR check using GitHub Actions 2022-10-26 16:55:22 +02:00
Petr MrázekandPetr Mrázek 3c773a7188 Only publish on master 2022-10-19 10:55:57 +02:00
Petr MrázekandPetr Mrázek 06df81922f Implement ADO pipeline builds 2022-10-19 10:55:57 +02:00
slicedlime (Mikael Hedberg)andslicedlime (Mikael Hedberg) cf754c4ef6 Use rootian locale for case conversion. 2021-03-23 12:52:01 +01:00
slicedlime (Mikael Hedberg)andslicedlime (Mikael Hedberg) 60a94e529d Cache lowercase versions of inputs and literals to avoid repeated calls to toLowerCase().
Thank you to Spottedleaf.
2021-03-23 12:52:01 +01:00
242de3fe73 Don't sort children on node addition to save on performance (#68)
* Use a Tree Map for children to save on performance

Everytime a child is added to the CommandNode, the children was sorted.
This action is extremely heavy with large node trees such as Minecraft.

From what I can see, sort order was not even needed by type since
the dispatcher parse checks argument and literal nodes instead.

Testing on /bossbar command seemed to have no impact to behavior.

Credit to https://github.com/PaperMC/Paper/commit/dda9680be520bba8cc8b4a20072af42bd8420e7a

Co-authored-by: virustotalop <[email protected]>

* Restore back to a LinkedHashMap

since iteration order isn't important anyways.

Co-authored-by: virustotalop <[email protected]>
2021-03-18 15:36:43 +01:00
BeetMacolandslicedlime (Mikael Hedberg) 55f6e25c03 Correct README punctuation
Add two missing dots and remove space before exclamation mark
2021-03-18 15:08:34 +01:00
boqandNathan Adams 559d8f3972 Allow single quote in strings 2019-02-19 13:34:51 +01:00
Sleepy Flower GirlandNathan Adams 447845ba89 Fix very minor grammer mistakes
with changes
2018-10-14 14:51:58 -04:00
PROgrm_JARvisandNathan Adams 6eec4e50ac Update LICENSE formatting (#24) 2018-10-14 14:44:36 -04:00
DoNotSpamPlsandNathan Adams 8986ae2428 Upgrade Gradle to the latest version, small preparations for Gradle 5
Also upgraded dependencies in a non-breaking manner
2018-10-14 14:35:42 -04:00
PROgrm_JARvisandNathan Adams e527fec986 Make <Stars> clickable 2018-10-14 14:32:32 -04:00
Elias OjalaandNathan Adams 5a7ea58024 Make fork button clickable 2018-10-14 14:32:32 -04:00
MrMickyandNathan Adams 7ee589b29b Remove unnecessary Guava usages (#13) 2018-10-04 13:29:08 +02:00
Adam PoloczekandNathan Adams bcbd596c24 link shields respectively to the latest release and license file 2018-10-02 17:54:48 +02:00
Leon LinhartandNathan Adams d156febab6 Make gradlew executable 2018-10-02 17:54:19 +02:00
Leon LinhartandNathan Adams 9d8019b407 Add travis CI configuration 2018-10-02 17:54:19 +02:00
PROgrm_JARvisandNathan Adams d3cb749c4b Add shields (from shields.io) to README.md (#12) 2018-10-02 11:54:25 +02:00
EarthcomputerandNathan Adams e60b24f36b Fix long argument examples 2018-09-28 14:04:53 +02:00
boqandNathan Adams bbfb8a7da1 Remove unused generic 2018-09-26 20:43:26 +02:00
boqandNathan Adams 107b852c74 Implement calculation of suggestions for any text position 2018-09-26 20:43:26 +02:00
EarthcomputerandNathan Adams b10b4479e2 Add string reader long tests 2018-09-26 20:43:13 +02:00
EarthcomputerandNathan Adams 88714288a7 Add long argument 2018-09-26 20:43:13 +02:00
TheIntelloBoXandNathan Adams 6a15305c3d Update README.md (#9) 2018-09-26 20:42:33 +02:00
Nathan Adams 8e9859e471 Added javadoc to CommandDispatcher 2018-09-26 10:42:35 +02:00
Nathan Adams 1fe283c136 Added readme 2018-09-26 10:42:35 +02:00
Nathan Adams 189c7d0433 Add MIT license 2018-09-26 10:42:35 +02:00
Nathan Adams 872658c737 Add copyright to all code 2018-09-26 10:42:35 +02:00
boqandErik Broes 019c0e3727 Pass StringReader instead of strings to CommandDispatcher 2018-07-24 14:52:17 +02:00
Nathan AdamsandErik Broes 4dca222938 Don't publish .md5 files 2018-07-24 14:49:11 +02:00
Nathan AdamsandFry 235f0c9b28 Use env.AWS_ROLE_ARN for publishing 2018-07-02 12:55:47 +02:00
Nathan AdamsandSeargeDP 1ecf0558a0 Upload to S3 if -PbuildNumber is set, otherwise version is foo.0-SNAPSHOT published to local maven repo 2018-06-29 13:03:44 +02:00
Bartek BokandGitHub 805c001658 Merge pull request #2 from Mojang/translatable_exceptions
Changed exceptions to Messages, to allow translations via library holders (ie minecraft game)
2018-05-30 14:20:09 +02:00
Nathan Adams 631096e871 Changed exceptions to Messages, to allow translations via library holders (ie minecraft game) 2018-05-30 12:45:07 +02:00
SeargeandNathan Adams 46a0d3be41 Version 0.1.25 2018-05-02 15:06:33 +02:00
SeargeandNathan Adams 19c991b8b2 Added tests for suggesting numerical values instead of string values in suggestion builder 2018-05-02 15:06:33 +02:00
SeargeandNathan Adams 5c50fa7691 Support lists of integers as suggestions 2018-05-02 15:06:33 +02:00
Nathan Adams 9fd10a2f3b Added missing gradle wrapper 2018-05-02 11:45:38 +02:00
Nathan Adams 956b25d391 Fix automatic unit tests 2018-05-02 11:24:29 +02:00
Nathan Adams 0b2414808e Version 0.1.24 2018-02-07 13:45:50 +01:00
Nathan Adams ed3ecfbae3 Add tooltips to command suggestions 2018-02-06 11:30:39 +01:00
Nathan Adams ecfa4b31dd Suggestions:getList() now returns <Suggestion> not <String> 2018-02-05 16:28:48 +01:00
Nathan Adams 2def16ba85 Sort suggestions case-insensitively 2018-02-05 15:57:01 +01:00
Nathan Adams 182168acd5 Don't automatically remove common prefixes from suggestions 2018-02-05 15:51:48 +01:00
Nathan Adams 482e8601da Fixed crash in tab-completion 2018-01-31 11:17:59 +01:00
Nathan Adams 0827fe17d4 Don't system.out spam 2018-01-31 09:31:38 +01:00
Nathan Adams 69c2a248de Added functionality for finding ambiguities on-the-fly 2018-01-30 16:16:36 +01:00
Nathan Adams 3498398452 Fixed literals with special characters 2018-01-17 15:58:22 +01:00
Nathan Adams 928912de68 Catch redirect errors when forked 2018-01-17 12:46:19 +01:00