Nathan Adams
|
c282b26b60
|
Removed unneeded field from contextbuilder
|
2017-08-10 13:22:58 +02:00 |
|
Nathan Adams
|
9c5af32afa
|
When we redirect, add initial node to the context
|
2017-08-10 09:03:10 +02:00 |
|
Nathan Adams
|
78f4187908
|
Fixed from failing prematurely on partially matching literals
|
2017-08-07 09:24:14 +02:00 |
|
Nathan Adams
|
2d7644dce3
|
Change usage text of redirects based on if it's root or not
|
2017-08-03 12:41:19 +02:00 |
|
Nathan Adams
|
a67b4b51b0
|
Added float argument
|
2017-08-01 09:38:14 +02:00 |
|
Nathan Adams
|
4b9170fd7f
|
Added a redirect option on nodes
|
2017-07-31 14:39:59 +02:00 |
|
Nathan Adams
|
7f490f0a8b
|
A context's arguments should be sorted
|
2017-07-27 14:06:58 +02:00 |
|
Nathan Adams
|
42631c29b7
|
Store start & end on parsed arguments
|
2017-07-27 11:07:09 +02:00 |
|
Nathan Adams
|
152c0b09d1
|
Removed unused copy methods, no longer needed
|
2017-07-27 11:00:35 +02:00 |
|
Nathan Adams
|
5181559f46
|
Made all exceptions throw with context
|
2017-07-27 09:58:14 +02:00 |
|
Nathan Adams
|
9276feddd4
|
Ported new methods to StringReader from nbt parsing
|
2017-07-26 14:01:43 +02:00 |
|
Nathan Adams
|
dcda383dc9
|
Allow disabling of command exception stack trace
|
2017-07-26 14:01:29 +02:00 |
|
Nathan Adams
|
d0be598676
|
Code cleanup
|
2017-07-25 16:07:03 +02:00 |
|
Nathan Adams
|
3bb1a888fb
|
Made node parsing also use readers
|
2017-07-25 16:00:38 +02:00 |
|
Nathan Adams
|
d2a5eeedc5
|
Fixed up tests to use the new reader in type parsing
|
2017-07-25 15:31:14 +02:00 |
|
Nathan Adams
|
9e481e3f24
|
Started moving towards passing around one big reader, instead of lots of strings
|
2017-07-25 15:07:58 +02:00 |
|
Nathan Adams
|
a7674e984d
|
Source is no longer required to get an argument result
|
2017-07-25 13:19:36 +02:00 |
|
Nathan Adams
|
ce5eb700b8
|
Removed DynamicParsedArgument, undoing previous work to split it up.
Realized that returning a fixed partial is the same thing, but doesn't complicate the code so much.
|
2017-07-25 13:18:22 +02:00 |
|
Nathan Adams
|
8e53d8ff4f
|
Added usage text to string
|
2017-07-20 13:59:54 +02:00 |
|
Nathan Adams
|
74f7c0e6b0
|
Added bool argument
|
2017-07-20 13:57:48 +02:00 |
|
Nathan Adams
|
eaf4c6175d
|
Keep nodes sorted alphabetically for niceness
|
2017-07-20 13:32:12 +02:00 |
|
Nathan Adams
|
daea2d76d7
|
Fixed suffix with empty input
|
2017-07-20 13:08:12 +02:00 |
|
Nathan Adams
|
e82d657d26
|
Added suffix to integer, and pass context around some more
|
2017-07-20 13:01:22 +02:00 |
|
Nathan Adams
|
13a7d53bdc
|
Renamed CommandArgumentType -> ArgumentType
|
2017-07-10 12:04:52 +02:00 |
|
Nathan Adams
|
c1a159f75a
|
Pass in source to evaluations of arguments
|
2017-07-04 15:12:31 +02:00 |
|
Nathan Adams
|
4af7274892
|
Fixed how optional commands work - we don't find an earlier command in the tree anymore.
|
2017-06-30 09:17:07 +02:00 |
|
Nathan Adams
|
9a3f987c97
|
Overhauled usage generation
|
2017-06-29 15:15:12 +02:00 |
|
Nathan Adams
|
4337a9645e
|
Added new StringArgumentType
|
2017-06-29 10:31:14 +02:00 |
|
Nathan Adams
|
60c5770f5e
|
Exposed parse results a little easier. Make no distinction between "no permission" and "no command".
|
2017-06-28 16:34:52 +02:00 |
|
Nathan Adams
|
523e9d0236
|
Allow turning nodes back into builders without children
|
2017-06-28 15:09:19 +02:00 |
|
Nathan Adams
|
716e8f3f16
|
Two nodes at the same position that can both parse is no longer supported. Separated ERROR_UNKNOWN_COMMAND into ERROR_UNKNOWN_ARGUMENT
|
2017-06-28 13:16:02 +02:00 |
|
Nathan Adams
|
fbf3546f18
|
Fixed crash executing ""
|
2017-06-28 12:22:35 +02:00 |
|
Nathan Adams
|
e9a930c3b5
|
Added/optimized getInput methods to both builder and context
|
2017-06-28 11:15:30 +02:00 |
|
Nathan Adams
|
7d4dcc3e4b
|
Allow changing of a source after creation of a contextbuilder
|
2017-06-28 11:08:26 +02:00 |
|
Nathan Adams
|
e6b78a5f2a
|
Allow access to an unbuilt context, for caching parsed functions
|
2017-06-28 11:07:42 +02:00 |
|
Nathan Adams
|
bafe8e6b56
|
Made getArgument return the actual value, not a container object
|
2017-06-28 10:55:56 +02:00 |
|
Nathan Adams
|
8e3b29d22e
|
Split ParsedArgument into fixed or dynamic, added copy methods for caching contexts
|
2017-06-28 10:54:10 +02:00 |
|
Nathan Adams
|
3946b084a0
|
Commands should return an int success count
|
2017-06-27 15:34:42 +02:00 |
|
Nathan Adams
|
73015f87d2
|
Typo!
|
2017-06-27 13:08:39 +02:00 |
|
Nathan Adams
|
6575257e0d
|
Implemented permissions (predicate on each node)
|
2017-06-26 14:49:55 +02:00 |
|
Nathan Adams
|
014caa2905
|
Pass S (source type, was sometimes T) through to all nodes, so Command can have source type
|
2017-06-26 09:44:29 +02:00 |
|
Nathan Adams
|
f0f038b57a
|
Quote string replacements to avoid pattern issues
|
2017-06-22 09:35:33 +02:00 |
|
Nathan Adams
|
7ac8998e5a
|
Removed dependency on lang3
|
2017-06-22 09:34:30 +02:00 |
|
Nathan Adams
|
f372eb3b98
|
Added support for suggestions tabcompletions of a command input
|
2017-06-22 09:05:16 +02:00 |
|
Nathan Adams
|
eba88b2773
|
More cleanup
|
2017-06-21 14:36:17 +02:00 |
|
Nathan Adams
|
c2141ce38b
|
Code cleanup
|
2017-06-21 14:29:26 +02:00 |
|
Nathan Adams
|
400657b472
|
Removed findbugs jsr
|
2017-06-21 14:25:36 +02:00 |
|
Nathan Adams
|
e12ab0b6d8
|
Updated libraries
|
2017-06-21 14:21:15 +02:00 |
|
Nathan Adams
|
a4dca40ffb
|
Added gradle wrapper and updated to gradle 4
|
2017-06-21 14:11:41 +02:00 |
|
Nathan Adams
|
b6b684efc7
|
Extracted some hardcoded strings to constants
|
2014-10-13 12:18:42 +02:00 |
|