Griatch
|
63c099c22f
|
Various fixes and debugging of weak-ref changes
|
2014-05-10 19:38:23 +02:00 |
|
Griatch
|
0030530021
|
Added weak reverse references from all handlers.
|
2014-05-10 17:12:49 +02:00 |
|
Griatch
|
4e3789cede
|
Added lazy-loading of on-model handlers.
|
2014-05-10 13:31:50 +02:00 |
|
asechrest
|
11ea572f00
|
Added unittests for utils.py dedent() and list_to_string(). Adjusted list_to_string to correctly handle no endsep.
|
2014-05-06 12:34:08 -04:00 |
|
Griatch
|
12c2402dac
|
Changed crop functionality slightly, inspired by asechrest's unittest.
|
2014-05-05 09:19:03 +02:00 |
|
Griatch
|
e399c418e5
|
Some more cleanup of paths for batchprocessors
|
2014-04-21 01:06:37 +02:00 |
|
Griatch
|
e45160a12b
|
Changed some defaults of EvTable. Made EvTable handle clist command. Resolves #426.
|
2014-04-20 23:45:19 +02:00 |
|
Griatch
|
0dc62a5fc9
|
Refactored batch processors, addressing points in #489.
|
2014-04-20 23:06:10 +02:00 |
|
Griatch
|
792b3c9282
|
Some cleanup code fixes.
|
2014-04-20 18:11:41 +02:00 |
|
Griatch
|
91b23f58a4
|
Removed CHARACTER_DEFAULT_HOME, replaced with DEFAULT_HOME and added START_LOCATION for determining where default commands dump new characters.
|
2014-04-20 15:56:38 +02:00 |
|
Griatch
|
7d0ff9c71c
|
Fixed a database referene bug that would remove ForeignKey referenced objects when reverse referenced through something like db_home (this defaults to CASCADE mode, is now SET_NULL). Also fixed some other minor things.
|
2014-04-20 15:03:53 +02:00 |
|
Griatch
|
82a30cc837
|
Added logger.log_file(msg, filename) as an easy way to log data to an arbitrary file in game/log. log_file() uses threading and open file handles to be non-blocking and inexpensive when logging often.
|
2014-04-19 11:50:52 +02:00 |
|
Griatch
|
01d15f13ee
|
First, untested implementation of websocket protocol support.
|
2014-04-13 13:18:32 +02:00 |
|
Griatch
|
bbba449aa4
|
Added some to evtable/evform, seems to work with ansi now.
|
2014-04-12 15:27:13 +02:00 |
|
Jonathan Piacenti
|
834b039a0d
|
Fixed issues with transformation functions on ANSIString.
|
2014-04-12 15:27:13 +02:00 |
|
Griatch
|
37a1d86659
|
Fixed an error in random_string_from_module that was introduced last update.
|
2014-04-07 08:07:52 +02:00 |
|
Griatch
|
87d621bcbc
|
Changed variable_from_module to no longer return a random entry but all variables from a module. Added random_string_from_module to support the CONNECTION_SCREEN. Also fixed a bug in the connection_screen handling that occationally (randomly) would return an empty entry.
|
2014-04-06 09:40:05 +02:00 |
|
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 |
|