Commit graph

39 commits

Author SHA1 Message Date
homeofpoe
24bd1d2e26 Update evform.py
Fixes uncommented lines.
2022-10-25 09:09:11 -07:00
Griatch
a553f1ab2f Continue with evadventure implementation 2022-03-21 15:35:07 +01:00
Griatch
a18224373e Fix ANSIString parsing on partial slice from start/end of string. Resolve #2205. 2020-10-26 21:53:28 +01:00
Griatch
ea68f165d8 Expand EvForm unit tests for #2205 2020-10-21 22:44:31 +02:00
Griatch
b449ebe3d4 Fix style to Keyword Args 2020-10-12 21:13:06 +02:00
Griatch
9fbfc8f8d0 Almost completed refactoring of source docstrings for new doc system 2020-07-10 22:47:37 +02:00
Griatch
7fed14d233 Rename docstring Kwargs to Keyword Args 2020-07-10 15:57:57 +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
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
fa8c7657da Clean up unicode mentions in docstrings 2019-01-31 23:44:16 +01:00
Griatch
c3ebd8d251 Use to_str/to_bytes, replacing old versions 2019-01-16 23:26:46 +01:00
Griatch
48f334d959 Exploring strange ansi string error 2018-10-14 18:18:59 +02:00
Griatch
72f4fedcbe Merge with develop and fix merge conflicts 2018-10-01 20:58:16 +02:00
Henddher Pedroza
e72f0c832d Code review: succint and pythonic statements 2018-08-23 20:44:31 -05:00
Henddher Pedroza
f855c9078f #1459: force evform.raw_form to have all lines of the same length - effectively a rectangle 2018-08-21 19:54:26 -05:00
Ryan Stein
6f91e1e546 Remove to_unicode. 2017-11-03 12:36:45 -04:00
Ryan Stein
7d524ac328 Unwrap for expressions in comprehensions, too. 2017-11-02 22:52:16 -04:00
Ryan Stein
f2e800ddf1 Unwrap several for statements from 2to3 conversion process. 2017-11-02 12:46:33 -04:00
Ryan Stein
aaf13eec16 Port EvMenu and EvForm for Py3. 2017-10-29 22:14:39 -04:00
Ryan Stein
6fa280b9fd Run 2to3. 2017-10-29 13:40:30 -04:00
Griatch
70fea693e6 Refactor utils test suite into utils/tests/ 2017-10-07 11:27:47 +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
09245589f5 Fix typos in the evform docstring. Resolves #1185. 2017-02-01 23:23:06 +01:00
Griatch
74eebfed6d Refactor code to remove alerts as per lgtm and #1176. 2017-01-29 19:02:00 +01:00
Griatch
49087b50d1 Allow multi-character keys for EvForm cells and tables. This was due to a too restrictive regex. Resolves #1014. 2016-08-20 11:41:53 +02:00
Griatch
ecf6852d46 Made EvCels auto-close colors rather than bleed over. This is necessary to avoid accidental color clashes in tables that fill the cells to a |-border edge (particularly for EvForm. 2016-05-23 23:56:44 +02:00
Griatch
83570848d6 Made all unittests pass again. 2016-05-22 20:45:38 +02:00
Griatch
c7b26ff6a6 Handling ansi-escaping of || in EvForm, since ansi-parsing gets called twice, this needs some extra care. Resolves #888. 2015-11-29 23:50:45 +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
c7e1a6a086 Resolved merge conflicts against master. 2015-10-20 00:07:39 +02:00
Ahmed Charles
bc340fbf0d Remove commented out print statements. 2015-10-19 23:31:19 +02:00
Russell Jones
06c3dc0ed3 Run "futurize -1 -w -n ." 2015-10-01 20:00:28 +01:00
Griatch
eb2bd8d44c Converted a large part of utils/ folder to google code docstrings as per #709. 2015-09-27 20:24:03 +02:00
tajmone
da2f3e18a1 docstrings continued....
Just more docstring works
2015-03-09 13:13:09 +01:00
Griatch
ad3f19896c Changed all src/ and ev references to evennia 2015-01-07 15:36:32 +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/utils/evform.py (Browse further)