Commit graph

15 commits

Author SHA1 Message Date
Griatch
d496606a3c Further development of the reworking of systems using Sessions rather than session id. 2015-11-14 20:32:58 +01:00
Ahmed Charles
bcd8674ef3 Use python3 range.
Including potential memory reduction due to not created unnecessary lists.
2015-11-02 11:47:07 +00:00
Ahmed Charles
8a66fc40a9 Use with_metaclass from future.utils for python3 compat. 2015-11-01 15:11:12 +01: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
3ae00972a9 Added evmore - a more-like pager mechanism for displaying long texts. 2015-07-09 14:37:09 +02:00
Griatch
ea0de32607 Updated the Command class with set_key/set_alias methods to allow for dynamic updating of command key/aliases properties while making sure all optimization recaches are hit. 2015-07-07 16:42:20 +02:00
Griatch
45e0785c8e Made a change to the cmdset comparison algorithm to make sure all commands are compared both by alias and key by use of a set-intersection operation. Before one side of the comparison used key and the other used key+aliases, which led to inconsistent results in some situations, especially when combining system commands with aliases. 2015-06-28 17:58:42 +02:00
Jonathan Piacenti
71389fd6fe Slight wording tweak. 2015-06-20 16:34:38 -05:00
Jonathan Piacenti
27500b9762 Better handling of command ambiguity. 2015-06-20 16:31:59 -05:00
Jonathan Piacenti
462b73b626 Rename display_name and improve docstrings. 2015-06-20 16:31:36 -05:00
Jonathan Piacenti
1822b01086 Add display_name and disambiguation_tag for dynamic naming. 2015-06-20 15:42:39 -05:00
Griatch
e84db3df54 Converted all docstrings in the commands submodule (not the default commands themselves) to Google style as per #709. 2015-05-15 20:05:37 +02: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
Renamed from lib/commands/command.py (Browse further)