Commit graph

48 commits

Author SHA1 Message Date
Griatch
377d366d3e Make help pagination not mess up colors. Resolve #2646 2022-09-22 23:30:25 +02:00
Cory F. Cohen
a05ec09f51 Fix various typos in several files.
All are in comments and docstrings, and none should be controversial
in any way (e.g. British versus American spelling).
2022-06-21 21:12:45 -04:00
Griatch
bd3e31bf3c Run black reformatter on code 2022-02-08 13:03:52 +01:00
Griatch
ff61e014d7 Make EvMore auto-exit and change display text. Resolve #2361. 2021-10-09 18:44:18 +02:00
Griatch
d240d5050d Fix lazy-import error for EvMore Command from launchcmd context 2021-07-29 17:03:04 +02:00
Griatch
c7fb61de0f Update doc strings 2021-05-29 13:53:11 +02:00
Griatch
7ff8cbb341 I18n string cleanup and refactoring 2021-05-27 17:37:26 +02:00
Griatch
9238a9bb58 Fix docstring formatting 2020-10-19 22:01:44 +02:00
Griatch
443310b1c4 [Resolve merge conflicts 2020-09-19 14:19:40 +02:00
Griatch
a3c34f5f39 Run black on sources 2020-09-19 14:02:03 +02:00
Griatch
9cdc37355c Resolve merge conflicts 2020-09-16 23:49:05 +02:00
Griatch
4284e5be1e Implement new EvMore functionality. Resolves #2126 2020-09-14 23:35:21 +02:00
Griatch
7307887185 Fix optimized prototype search mechanism. Still no dual db/mod search 2020-09-14 23:35:21 +02:00
Griatch
d607bbb0fc Optimize EvMore for prototypes, as per #2126 2020-09-14 23:35:21 +02:00
Griatch
c051d15f5c Update prototype example module 2020-09-06 13:09:43 +02:00
Griatch
e58147a7e5 Add .sort support for SaverList 2020-07-18 18:03:54 +02:00
Griatch
9fbfc8f8d0 Almost completed refactoring of source docstrings for new doc system 2020-07-10 22:47:37 +02:00
Griatch
21d62e651a Ran black on sources 2020-04-12 12:19:15 +02:00
Griatch
cc5aa91be1 Resolve merge conflicts 2020-04-12 12:19:03 +02:00
Griatch
ca341278e9 Ran black on sources 2020-04-12 12:17:06 +02:00
Griatch
642f17be68 Fix bug in ANSIString 2020-04-11 20:28:29 +02:00
Griatch
458df00272 Fix bugs in format_grid, include verbatim elements 2020-04-11 13:28:24 +02:00
Griatch
f41034e6a7 Refactor EvMore to handle queryset pagination. Resolves #1994. 2020-03-29 14:50:01 +02: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
b5aee2c41e Allow EvMore text argument to be a list 2020-01-10 17:56:45 +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
Greg Taylor
5e1a672fc2 Remove builtins imports
This module is not intended to be used directly in most cases, per:
https://docs.python.org/3/library/builtins.html

None of our usages warrant the explicit import. We also avoid some
confusion as folks dig to see what we are doing to require
importing builtins directly.
2019-09-15 20:29:59 -07:00
Griatch
05b859c0b7 Fix pager output for spawn/list with a very long list. Resolve #1829 2019-09-08 00:46:02 +02:00
Griatch
83c6bb69d1 Allow \f to mark EvMore pagebreaks for cmds. Resolves #1585. 2019-03-31 21:10:37 +02:00
Griatch
298b2c23c6 Cleanup/refactoring of olc menus 2018-08-11 11:49:10 +02:00
Griatch
9e7dc14cbb First version of expanded spawn command with storage 2018-03-04 11:39:55 +01:00
Griatch
9f7fb2734c Make @py output appear for all sessions in MULTISESSION_MODE=1
Resolves #1356.
2017-10-12 18:03:48 +02:00
Griatch
b3c6e9d2cc Update alerts reported by LGTM 2017-09-23 16:46:54 +02: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
21e72e416c Fix error in more edge calculation when using client with SCREENWIDTH=0. Resolves #1257. 2017-03-27 22:40:40 +02:00
Griatch
f7b659dac4 Update evmore to better handle narrow texts like help entries without force-justifying them. Also add the ability to auto-exit the pager immediately when reaching the last page. 2017-02-04 12:04:54 +01:00
Tehom
cbbca99ef8 fix evmore sending messages to stale session object 2017-01-10 17:39:09 +01:00
Tehom
c5c3a9ef0a Resolves player confusion with the EvMore display, making it more clear that 'n/next' is used for continuing, makes 'look' repeat the display, and notifies them when they exit. 2016-10-02 13:36:29 +02:00
Griatch
d407de4dc3 Refactoring of the EvMore to use the new justifier functionality and also properly deal with very long single lines. 2016-10-02 13:11:49 +02:00
Griatch
af8e54c027 Fix player/char reference in evmore, also fixed a calling bug in evmore.msg using the wrong kwarg. 2016-09-03 12:10:57 +02:00
Griatch
efefe3e5ff First version of changed sessid->session change that starts properly. Not fully tested yet. 2015-11-14 21:43: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
11b61fe335 Import python3 compatible object. 2015-11-02 00:19:04 +01:00
Griatch
b9043a9e95 Made sure evmore does pass its kwargs on to the main msg method at all times. 2015-07-09 21:15:35 +02:00
Griatch
900ada5e92 Removed some debug messages from evmore. 2015-07-09 14:45:16 +02:00
Griatch
3ae00972a9 Added evmore - a more-like pager mechanism for displaying long texts. 2015-07-09 14:37:09 +02:00