Commit graph

33 commits

Author SHA1 Message Date
Griatch
2b3a32e447 Reshuffling the Evennia package into the new template paradigm. 2015-01-06 14:53:45 +01:00
Griatch
417e8255af Just a small range->xrange addition. 2014-12-17 00:41:18 +01:00
Griatch
140a9f69f0 Fixed a column-border related issue with EvTable. 2014-12-16 23:33:48 +01:00
Griatch
0772341823 Optimizing EvTable for one-time presentation rather than re-use of a once-created table - this leads to optimization possibilities. 2014-12-16 22:01:10 +01:00
Griatch
2bf3a5ce52 Fixed bug that added too many empty rows when adding columns to EvTable using .add_column() 2014-12-15 22:30:02 +01:00
Griatch
ef6fffbca7 Fixed case when some parts of an evtable wouldn't color correctly. Resolves #623. 2014-12-02 09:45:15 +01:00
Griatch
ef23cfceb9 Fixed persistence of options for a given column. Resolves #593. 2014-10-04 17:52:50 +02:00
Griatch
3cc0d6ee16 Removed ability to add EvColumns directly to table - this causes some confusing effects and is not worth the trouble over building the table normally and reformatting with reformat_column. 2014-10-02 09:40:55 +02:00
Griatch
8b8fbe8101 Reworked EvTable to use internal EvColumn objects. This allows a new method on EvTable. Columns with a set width will not be affected by auto-balancing, allowing for mixing fixed and auto-balancing columns as suggested in #550. Changed EvTable keywords involving characters to consistently end with _char, such as corner_top_left -> corner_top_left_char. 2014-10-02 09:08:08 +02:00
Duarte Cordeiro
fd7bb29505 Fixes add_row on EvTable class, allowing the creation of a table without a header. 2014-09-30 16:28:53 +01:00
Griatch
e45160a12b Changed some defaults of EvTable. Made EvTable handle clist command. Resolves #426. 2014-04-20 23:45:19 +02:00
Griatch
bbba449aa4 Added some to evtable/evform, seems to work with ansi now. 2014-04-12 15:27:13 +02:00
Griatch
67c4896a53 More refactoring of the unittest system 2014-03-15 08:03:44 +01:00
Griatch
f349716e09 Removing some rebug output. 2014-03-09 20:26:42 +01:00
Griatch
021dca4ba7 evtable and evform supports ansi, with some limitations due to wrap not being supported by ANSIString at this point. 2014-03-09 20:23:14 +01:00
Griatch
1886d455da Fixed unicode output of evtable, should allow for ansi colors now. 2014-03-09 20:23:14 +01:00
Griatch
28fc4c96bb Added debug for testing ANSIString with evtable 2014-03-09 20:23:14 +01:00
Griatch
ef89099319 Changed .join to ANSIString().join 2014-03-09 20:23:14 +01:00
Griatch
ef8755581c optimized ansi parsing a bit as well as did some general cleanup. 2014-03-09 20:22:48 +01:00
Griatch
44a5a2702d Prepared evtable for changed ANSIString 2014-03-09 20:22:48 +01:00
Griatch
4aa1bfc52d Started making a crop addition to evtable 2014-03-08 11:42:35 +01:00
Griatch
f126d30b36 More cleanup of irc bot code, including having it cleanly disconnect from irc channel when destroyed. 2014-03-08 11:41:24 +01:00
Griatch
7bde8afe66 Added maxwidth argument to evtable, for restricting upper width of table, but allowing it to resize if narrower. 2014-03-08 11:41:24 +01:00
Griatch
259860ff25 Made evform use ANSIStrings internally. It doesn't crash, but wrapping coloured strings doesnot yet work. 2014-02-26 16:45:13 +01:00
Griatch
85dbd4a67e Started converting evform for ansi. There are some issues with regex-splitting still. 2014-02-26 14:31:34 +01:00
Griatch
979c1ab9be Fixed bleed of colour in evtable. Removed some debug outputs. 2014-02-26 13:21:14 +01:00
Griatch
07978e2145 Fixed some issues with counting characters in ANSIString. A first version of Evtable that works with ansi. 2014-02-26 12:33:16 +01:00
Griatch
bb7c30e774 Update evtable.py 2014-02-03 09:54:50 +01:00
Griatch
6515e501bb Renamed mudtable back to evtable and mudform to evform for consistency. 2014-02-01 21:37:51 +01:00
Griatch
023bf52bf2 Renamed evtable to mudtable for clarity. 2014-01-30 23:29:56 +01:00
Griatch
8e70b9df5e Another spelling fix. 2014-01-30 23:05:01 +01:00
Griatch
0a8be58623 Fixed mis-spelled allign->align in evtable. 2014-01-30 22:57:35 +01:00
Griatch
859f77ed50 Added first version of Evtable - a prettytable replacement. 2014-01-30 22:38:31 +01:00