Commit graph

180 commits

Author SHA1 Message Date
Petr Mrázek
07cbab111f WIP just a witespace change to have a commit to PR in 2022-10-26 17:18:12 +02:00
Petr Mrázek
a6c4baa1b6 Correct the pr check workflow 2022-10-26 17:12:10 +02:00
Benny
b0f5818a59
Change azure blob storage (#117) 2022-10-26 16:59:13 +02:00
Petr 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ázek
3c773a7188 Only publish on master 2022-10-19 10:55:57 +02:00
Petr Mrázek
06df81922f Implement ADO pipeline builds 2022-10-19 10:55:57 +02:00
slicedlime (Mikael Hedberg)
cf754c4ef6 Use rootian locale for case conversion. 2021-03-23 12:52:01 +01:00
slicedlime (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
Daniel Ennis
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 dda9680be5

Co-authored-by: virustotalop <virustotalop@gmail.com>

* Restore back to a LinkedHashMap

since iteration order isn't important anyways.

Co-authored-by: virustotalop <virustotalop@gmail.com>
2021-03-18 15:36:43 +01:00
BeetMacol
55f6e25c03 Correct README punctuation
Add two missing dots and remove space before exclamation mark
2021-03-18 15:08:34 +01:00
boq
559d8f3972 Allow single quote in strings 2019-02-19 13:34:51 +01:00
Sleepy Flower Girl
447845ba89 Fix very minor grammer mistakes
with changes
2018-10-14 14:51:58 -04:00
PROgrm_JARvis
6eec4e50ac Update LICENSE formatting (#24) 2018-10-14 14:44:36 -04:00
DoNotSpamPls
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_JARvis
e527fec986 Make <Stars> clickable 2018-10-14 14:32:32 -04:00
Elias Ojala
5a7ea58024 Make fork button clickable 2018-10-14 14:32:32 -04:00
MrMicky
7ee589b29b Remove unnecessary Guava usages (#13) 2018-10-04 13:29:08 +02:00
Adam Poloczek
bcbd596c24 link shields respectively to the latest release and license file 2018-10-02 17:54:48 +02:00
Leon Linhart
d156febab6 Make gradlew executable 2018-10-02 17:54:19 +02:00
Leon Linhart
9d8019b407 Add travis CI configuration 2018-10-02 17:54:19 +02:00
PROgrm_JARvis
d3cb749c4b Add shields (from shields.io) to README.md (#12) 2018-10-02 11:54:25 +02:00
Earthcomputer
e60b24f36b Fix long argument examples 2018-09-28 14:04:53 +02:00
boq
bbfb8a7da1 Remove unused generic 2018-09-26 20:43:26 +02:00
boq
107b852c74 Implement calculation of suggestions for any text position 2018-09-26 20:43:26 +02:00
Earthcomputer
b10b4479e2 Add string reader long tests 2018-09-26 20:43:13 +02:00
Earthcomputer
88714288a7 Add long argument 2018-09-26 20:43:13 +02:00
TheIntelloBoX
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
boq
019c0e3727 Pass StringReader instead of strings to CommandDispatcher 2018-07-24 14:52:17 +02:00
Nathan Adams
4dca222938 Don't publish .md5 files 2018-07-24 14:49:11 +02:00
Nathan Adams
235f0c9b28 Use env.AWS_ROLE_ARN for publishing 2018-07-02 12:55:47 +02:00
Nathan Adams
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 Bok
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
Searge
46a0d3be41 Version 0.1.25 2018-05-02 15:06:33 +02:00
Searge
19c991b8b2 Added tests for suggesting numerical values instead of string values in suggestion builder 2018-05-02 15:06:33 +02:00
Searge
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