David Reichard
|
af491d9f30
|
Fix multimatch error. Resolves #2514
|
2021-09-04 23:36:54 -04:00 |
|
Griatch
|
703ebf1fa1
|
Fix errors in cmdparser for post-index match-separators
|
2021-01-19 21:00:25 +01:00 |
|
Griatch
|
5f8911ec72
|
Better handle multimatch index out of scope. Resolve #2207.
|
2020-11-13 20:40:12 +01:00 |
|
Griatch
|
69d85bd184
|
Make scripts/objects lists use EvMore. Change EvMore to not justify by default.
|
2020-01-11 15:49:12 +01:00 |
|
Griatch
|
4ea6209123
|
Ran black on branc
|
2019-12-16 20:31:42 +01:00 |
|
Griatch
|
c2c7fa311a
|
Format code with black. Add makefile to run fmt/tests
|
2019-09-28 18:18:11 +02:00 |
|
Griatch
|
57d2f3e15e
|
Another fix to cmdparser
|
2019-08-28 20:11:35 +02:00 |
|
Griatch
|
db25c88e37
|
Fix regression error on one-character input. Resolves #1901
|
2019-08-26 08:44:25 +02:00 |
|
Griatch
|
6743d4e4c9
|
Extend new unit tests in main cmdparser
|
2019-08-09 22:41:37 +02:00 |
|
Griatch
|
74f22791d8
|
Resolve merge conflicts
|
2019-02-03 15:45:17 +01:00 |
|
Griatch
|
11d39a57b5
|
Add unit tests for syscmds, refactor cmdparser
|
2019-02-01 23:23:41 +01:00 |
|
Ryan Stein
|
6fa280b9fd
|
Run 2to3.
|
2017-10-29 13:40:30 -04:00 |
|
Griatch
|
b278337172
|
Make PEP8 cleanup of line spaces and character distances as well as indents
|
2017-08-19 23:16:36 +02:00 |
|
Griatch
|
5590ee2258
|
Rename all instances of Player->Account.
|
2017-07-07 23:47:21 +02:00 |
|
Griatch
|
1fbb4c4358
|
Add functioning prefix-ignorer and cleanup of code.
|
2017-02-17 09:19:55 +01:00 |
|
Griatch
|
dffbf9f8d6
|
Rework prefix-ignorer to retain a reference to the unstripped cmdname. Currently unworking.
|
2017-02-17 09:19:55 +01:00 |
|
Griatch
|
596efe4c72
|
Add prefix-ignorer. This will identify allow users to target a command using both cmd, @cmd, +cmd etc. If there are two different commands @cmd and cmd, entering @cmd will still explicitly target the former. Single-character commands consisting of only an ignore-character will not be ignored. Configure and turn off using settings.CMD_PREFIX_IGNORE.
|
2017-02-17 09:18:04 +01:00 |
|
Griatch
|
e6f857a536
|
Remove setting.SEARCH_MULTIMATCH_SEPARATOR, replacing it with SEARCH_MULTIMATCH_REGEX and SEARCH_MULTIMATCH_TEMPLATE. This allows simple yet powerful control over the error output without needing to overload the parser.
|
2016-09-11 10:39:47 +02:00 |
|
Griatch
|
0ae1f9f171
|
Fixed a bug with identifying a unique command index (should be 1-N, not 0-(N-1)).
|
2016-01-19 21:23:51 +01:00 |
|
Ahmed Charles
|
cbe1eefcf0
|
Move to python3 style division.
All of these are currently integer division in python2.
|
2015-11-01 20:47:18 +00:00 |
|
Griatch
|
2743f98fb0
|
Removed SEARCH_AT_MULTIMATCH_INPUT and SEARCH_AT_MULTIMATCH_CMD settings and connected functions - these are no longer individually overloadable. SEARCH_AT_RESULT function now handles all error reporting. Also added SEARCH_MULTIMATCH_SEPARATOR to make it easy to replace the character used to separate multi-matches (1-box, 2-box is using '-' by default), in response to #795. Also moved the default SEARCH_AT_RESULT function from the cmdparser to evennia.utils.utils.
|
2015-09-27 13:05:29 +02:00 |
|
Griatch
|
a7e42b2a5b
|
Changed cmdparser to properly convert to unicode before length measuring, which was causing unexpected behavior with non-ASCII charsets.
|
2015-09-04 21:11:01 +02:00 |
|
Griatch
|
8ac424c216
|
Made multi-command-match display on multiple lines
|
2015-06-20 23:48:09 +02:00 |
|
Jonathan Piacenti
|
1822b01086
|
Add display_name and disambiguation_tag for dynamic naming.
|
2015-06-20 15:42:39 -05:00 |
|
Jonathan Piacenti
|
a5887d23e2
|
Make command ambiguity handler pluggable.
|
2015-06-20 13:18:50 -05:00 |
|
Griatch
|
64c6d06d0f
|
Fixed the loading of the menu_login contrib, doing some cleanup in the error reporting at the same time. Also added evennia to the search path for cmdsets and typeclasses so that one can give the path to e.g contrib when loading.
|
2015-05-17 00:49:41 +02:00 |
|
Griatch
|
ae88d67548
|
Updated docstrings for a few modules, adopting to styles as per #709.
|
2015-05-15 18:43:04 +02:00 |
|
Griatch
|
2c46ede247
|
Added more overloading modules and cleaned up the template some more.
|
2015-01-07 18:21:28 +01:00 |
|
Griatch
|
3ff937a6fd
|
Updated commands to use new evennia path.
|
2015-01-07 14:31:35 +01:00 |
|
Griatch
|
c7325a5032
|
Further reworking, naming the library folder 'evennia' instead of lib or src.
|
2015-01-07 13:36:57 +01:00 |
|