Griatch
|
67c4896a53
|
More refactoring of the unittest system
|
2014-03-15 08:03:44 +01:00 |
|
Griatch
|
7571e3606d
|
Some cleanups of the unittests.
|
2014-03-15 07:37:02 +01:00 |
|
Griatch
|
cafbb43f7a
|
Fixed a bug in dbserialize when handling nested tuples.
|
2014-03-11 23:24:22 +01:00 |
|
Kelketek Rritaa
|
0a7734c3d5
|
Added tests for ANSIString, and fixed some bugs for it along the way.
|
2014-03-09 20:43:36 +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
|
b80baca8e1
|
Fixed error in removing ansi-escapes.
|
2014-03-09 20:23:14 +01:00 |
|
Griatch
|
13dc71e02e
|
Changed parser.strip_ansi to parser.strip_raw_codes for contexual clarity.
|
2014-03-09 20:23:14 +01:00 |
|
Griatch
|
1a65d12b2c
|
Fixed a bug in strip_ansi that caused issues all over.
|
2014-03-09 20:23:14 +01:00 |
|
Griatch
|
ef89099319
|
Changed .join to ANSIString().join
|
2014-03-09 20:23:14 +01:00 |
|
Kelketek Rritaa
|
f0130d8384
|
Added tests for ANSIString, and fixed some bugs for it along the way.
|
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 |
|
Kelketek Rritaa
|
04eb057419
|
Fixed regression where reconverted ANSIStrings would lose all codes.
Made slices append trailing color codes.
|
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
|
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 |
|