Commit graph

316 commits

Author SHA1 Message Date
Griatch
c0417def6d Starting to convert RSS to new system 2014-03-08 11:41:24 +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
8b52591c2f Run Migrations. Added player field to script model in order to allow Players to be scripted in the same way Objects can. 2014-03-08 11:41:23 +01:00
Griatch
9485dc17c8 Added has_key to _SavedDict 2014-03-08 09:39:40 +01:00
Kelketek Rritaa
af0a149148 Made the in-memory representation of ANSIString the clean string, removing the need for the regexable flag. 2014-02-28 14:19:54 -06: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
Kelketek Rritaa
6a7e329a39 Whoops, overcorrected some of that for split(). 2014-02-24 18:14:29 -06:00
Kelketek Rritaa
d4e98a80f9 Resolves #482. ANSIString splitting and slicing more sane. 2014-02-24 15:01:26 -06:00
Kelketek Rritaa
67f53564cb Adjustments for getting interleving ANSI codes in splits, slices, and indexes. 2014-02-22 15:49:26 -06:00
Kelketek Rritaa
8c1b81a06c Implemented .split() and .rsplit() for ANSIString. Props to the PyPy team. 2014-02-21 18:54:38 -06:00
Griatch
b1e08c7da6 Continuing to clean up and fix bugs around Attribute/Tag 2014-02-16 22:09:35 +01:00
Griatch
bad24513e0 Fixed and corrected various bugs resulting from the change to Attributes/Tags). 2014-02-16 21:27:42 +01:00
Kelketek Rritaa
a9ad82d005 Added a 'regexable' mode for ANSIString, fixed a few bugs with it.
Refactored with metaclass and added comments. Resolves #481, Resolves #480
2014-02-15 18:41:55 -06:00
Griatch
6ea4125ef1 Removed func_parts looping from cmdhandler - it didn't work as expected, as shown in #438. Instead reworked utils.delay() to implement the same functionality explicitly. 2014-02-15 23:33:19 +01:00
Griatch
393a3e5e73 Added check to location setter that makes sure to stop a location-loop forming. This closes #454. 2014-02-15 21:05:23 +01:00
Griatch
ab1663c856 Added some example text to evform 2014-02-15 17:03:44 +01:00
Griatch
6198e59f04 Made version string more terse by using the short hash instead of the full one. 2014-02-15 16:58:14 +01:00
Griatch
9ceaeedd9b Implementing saving of database objects as keys to Attribute-dicts. Also fixed some other issues with nested iterables in Attributes. Resolves #404. 2014-02-15 16:52:21 +01:00
delizin
1b0d229eeb Fix to text2html regex pattern 2014-02-10 20:22:35 -05:00
Griatch
4791868d41 Update evform.py 2014-02-03 09:55:38 +01:00
Griatch
bb7c30e774 Update evtable.py 2014-02-03 09:54:50 +01:00
Griatch
985055d64d Some minor changes before merging 2014-02-02 09:26:43 +01:00
Griatch
c09d6eef53 Removing test with ANSIString for the moment. It might not be suited for evform due to regex handling. 2014-02-01 22:39:42 +01:00
Griatch
9b1f376117 Forgot to rename mudform_test.py. 2014-02-01 21:41:30 +01:00
Griatch
6515e501bb Renamed mudtable back to evtable and mudform to evform for consistency. 2014-02-01 21:37:51 +01:00
Kelketek Rritaa
9ebd2d76ce Fixed some unicode encoding mixups. 2014-02-01 14:03:44 -06:00
Griatch
013b35dda8 Added test input file for mudform 2014-02-01 20:19:50 +01:00
Griatch
499d16e9b1 More fixups on the table. 2014-02-01 18:34:35 +01:00
Griatch
b4cbd40db7 Other fixes to the mudform. 2014-02-01 18:15:17 +01:00
Griatch
62dc119296 Fixed mudform unicode issues and expanded docs. 2014-02-01 17:01:15 +01:00
Griatch
f3f96af23a Allignment and minor fixes to how small table headers are resized. 2014-02-01 15:38:53 +01:00
Griatch
a38f9f6bc4 Added first version of mudform - an advanced ascii template formatter. 2014-02-01 14:25:57 +01:00
Griatch
033b07469e Fixed width bug with wider borders. 2014-02-01 14:03:30 +01:00
Griatch
fdc6cc76a4 Multiple fixes to MudTable class, fixing bugs and edge cases. 2014-02-01 13:02:18 +01:00
Kelketek Rritaa
f446a74c28 Resolves #466. Items that are not strings are converted into strings before being turned into ANSIStrings. 2014-01-30 20:40:44 -06:00
Kelketek Rritaa
382bf01bef Fixes #465. Issues with translation method should be resolved. 2014-01-30 20:36:51 -06:00
Griatch
93eba9d7a9 Added Cell ability to replace data in-situ. 2014-01-31 00:27:54 +01:00
Griatch
8e096df0d5 Some more renaming cleanup. 2014-01-31 00:14:49 +01:00
Griatch
3d35f68663 Adding static enforcement of cell size (crop instead of expand vertically) 2014-01-30 23:47:13 +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
Griatch
19cf91f18f Upped south requirement to 0.8.4 since there have been reports of problems with 0.8.2 and 0.8.3. 2014-01-30 18:58:13 +01:00
Kelketek Rritaa
939c97f3f6 Flipped __radd__ arguments for ANSIString.... harder! Added __add__ 2014-01-28 07:22:48 -06:00
Kelketek Rritaa
a54f0b5b9e Merge branch 'master' of https://github.com/evennia/evennia 2014-01-28 07:04:36 -06:00