Commit graph

83 commits

Author SHA1 Message Date
Griatch
f6b43b0416 Ran black on sources 2023-11-02 20:58:03 +01:00
Griatch
2ad58051bb Fix excess blank lines in Evtable options. Resolve #3027. 2023-02-25 18:41:11 +01:00
Griatch
cd07c78240 Ran formatter 2022-12-07 19:35:06 +01:00
Griatch
045a83c6cc Fix justify m_len call. Fixes #3019 2022-12-07 19:34:27 +01:00
Griatch
89d1336cda Apply black 2022-11-28 19:55:02 +01:00
Griatch
da03b22e1c Make utils.justify handle ANSIString properly. Resolve #2986 2022-11-27 18:29:25 +01:00
Griatch
a461a97576 Format code imports 2022-11-10 22:21:12 +01:00
Griatch
cc6206db93 Fix issue with EvTable crop. Resolve #2761 2022-11-06 10:52:24 +01:00
Griatch
9438e5856a Support direct EvColumn adds to EvTable. Resolves #2762 2022-11-06 10:23:20 +01:00
Griatch
7d8c6f2a26 Ran black on code 2022-11-05 23:35:25 +01:00
Griatch
020854f697 Fix EvTable issues. 2022-11-05 23:30:11 +01:00
Griatch
d9ec226436 Add more unit tests for Evtable; start docs for several components 2022-11-05 20:40:39 +01:00
Griatch
9709ecbc57 Support 'a' (absolute) justification. Let EvForm accept EvCells as mappings. Resolve #2762 2022-11-05 17:59:32 +01:00
Griatch
4f8753b683 Make sure to save in atomic transaction. Resovle #2657. 2022-09-25 00:36:37 +02:00
Griatch
b4042641b1 Fix bug in EvTable for alternating row lengths. Resolve #2653 2022-09-24 22:57:54 +02:00
Griatch
b945b69238 Resolve merge conflicts 2021-10-05 21:54:27 +02:00
henddher
b3679861f1 Typos fixed. 2021-10-03 15:40:35 -05:00
Griatch
4cf890b635 Change EvTable vertical rebalance algorithm to simply add empty rows at end. Produces more consistent visual result than old algorithm which could sometimes look like a bug. 2021-09-17 00:49:37 +02:00
Griatch
4e0cf18cfc Merge branch 'master' into develop 2021-08-16 21:11:06 +02:00
Griatch
a4cabd9306 Make EvTable.add_row forward row-options correctly. Resolve #2389. 2021-08-16 21:10:44 +02:00
Griatch
7ff8cbb341 I18n string cleanup and refactoring 2021-05-27 17:37:26 +02:00
Griatch
b449ebe3d4 Fix style to Keyword Args 2020-10-12 21:13:06 +02:00
Griatch
d4f1733bc7 Update docstrings to pass autodoc parsing 2020-10-11 17:15:30 +02:00
Griatch
d414cc3ccd Start add docs again 2020-10-08 21:45:18 +02:00
Griatch
750922a613 Have EvTable width correctly handle asian alphabets as per #2166. 2020-07-15 23:18:53 +02:00
Griatch
28bff4ddde Resolve merge conflicts 2020-07-15 23:18:38 +02:00
Griatch
101152abde Have EvTable width correctly handle asian alphabets 2020-07-15 23:16:57 +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
bd33886cc0 Remove uses of the 'future' py2->3 module
This is no longer needed, now that we are Py3.7+ only. One
layer of indirection removed, and one less dependency.
2019-09-15 00:18:56 -07:00
Griatch
7bf4874f7e Make bottom border-char inherit from top-border char. Resolves #1582. 2019-03-31 00:11:17 +01:00
Griatch
fa8c7657da Clean up unicode mentions in docstrings 2019-01-31 23:44:16 +01:00
Griatch
7a535b35fa Remove __unicode__ magic methods no longer needed 2019-01-30 23:50:43 +01:00
Griatch
72f4fedcbe Merge with develop and fix merge conflicts 2018-10-01 20:58:16 +02:00
Griatch
9bbfc422ee Make EvTable respect col-widths while retaining total table width.
Resolves #1614.
2018-04-22 14:50:17 +02:00
Ryan Stein
6f91e1e546 Remove to_unicode. 2017-11-03 12:36:45 -04:00
Ryan Stein
f2e800ddf1 Unwrap several for statements from 2to3 conversion process. 2017-11-02 12:46:33 -04:00
Ryan Stein
8d0d3a942f Partially port EvTable for Py3. 2017-10-29 22:14:22 -04:00
Ryan Stein
6fa280b9fd Run 2to3. 2017-10-29 13:40:30 -04:00
Scyfris Talivinsky
9d10ca4f39 Fix an issue with adding an empty column to an EvTable
There seems to be an issue with adding an empty column (i.e. a column
with empty data) to an EvTable that has already been set up.  It seems
that the column with empty data is added with one extra row than the
rest of the table, and when a new call to add_rows() is made to EvTable,
the data in the column that was added previously is offset by 1.

This change fixes that by calculating the size of the new column to take
into account the headers BEFORE making the calculation on whether to
expand the column to match the table's size or not.
2017-10-15 13:38:53 -07:00
Nicholas Matlaga
7c7ec3736f Fixed EvCell behaviour mentioned in #1410 2017-09-01 00:18:15 +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
5aba9cf253 Remove accidentally left-in evtable debugs that messed up unittests. 2017-02-28 13:45:12 +01:00
Griatch
c15d5a26c4 Add another errback handler for error in #1207. 2017-02-28 08:08:33 +01:00
BlauFeuer
0dfac7f737 Markup, whitespace, docstring and comments, code 2017-02-20 02:32:01 -05:00
Griatch
74eebfed6d Refactor code to remove alerts as per lgtm and #1176. 2017-01-29 19:02:00 +01:00
Griatch
c6d9c0619e Refactor code for readability and compatibility. 2017-01-27 00:19:27 +01:00