Today I added a new $(inc:<filename>) expansion macro, which allows injection of file contents into text output. It is a little dangerous at the moment, and could probably stand to be locked to read-only data (but the same goes for the existing eval-based facets as well, so I’ve added this to the to do list).

While I was testing, I exposed and fixed an infinite recursion bug in the macro expansion routine, not to mention noticing a major speed-up by moving a bunch of static assignments out of the search loop (oops!).

Text Wrapping Fixes

2007-08-12

The text wrapping routines saw some needed fixes today. The first was for a bug wherein Telnet IAC sequences were counted toward line length (most noticeable following the password prompt at login, when the next block of output gets an echo on sequence prepended). The second corrected an implementation oversight where the CR in a Telnet CR+LF line terminator was counted toward the line length, leading to wrapping one character early if a preterminated line happened to be just as long as the configured wrap width.

I know this should have been implemented sooner, but a check_idle method has been added to the User class to warn and eventually disconnect long-idle sessions. The default wait can be set in the config, and even overridden on a per state basis (active, entering_account_name, et cetera). Without this, the engine essentially exhibits a very slow file descriptor leak, eventually leading to a fatal exception.

To Do List

2007-06-10

In the interest of development process transparency (and also as a list of patch requests for anyone interested in pitching in), the mudpy to do list has been added to this site. In it you’ll find a (hopefully) up-to-date, if rather disorganized, list of things that need to be tackled in both the source code and sample data.

Config Writeup

2007-05-13

A section for configuration documentation has been added to the site, detailing the common settings to be tweaked under the new data model (note, this will not be usable with the code in the current snapshot, but is helping me to flesh out the changes required). More to come…