Griatch
|
ffa90e1a03
|
Removed clearing of extended 127-159 range, as per #551.
|
2014-08-21 22:49:52 +02:00 |
|
Griatch
|
6ae2ca6901
|
Moved escape mechanism to a central location in serversessionhandler.
|
2014-08-21 09:13:53 +02:00 |
|
Griatch
|
4e2dfef321
|
Added escaping of unicode text input of ASCII control characters and extended characters as per #551.
|
2014-08-21 08:53:01 +02:00 |
|
Griatch
|
8afdbc6adb
|
Changed ansi parser to strip hard-coded ansi codes inserted raw into the stream, as discussed in #551.
|
2014-08-20 20:15:11 +02:00 |
|
Griatch
|
5750f407df
|
Clarified output of utils.string_from_module. See #541.
|
2014-08-15 23:40:16 +02:00 |
|
Michael K
|
42d614dc0e
|
Changed check to basestring, allowing for ansi.
|
2014-08-15 22:00:40 +02:00 |
|
Griatch
|
fdf5c723d2
|
Fixed silly error reporting when trying to create an object of a non-found typeclass.
|
2014-08-09 21:27:01 +02:00 |
|
Griatch
|
8af76ce669
|
Fixed a typo in batchprocessor. Resolves #539.
|
2014-07-07 22:07:04 +02:00 |
|
Griatch
|
e6950aadf2
|
Changed how lazy-loading of handlers work, using a werkzeug recipe. Much more efficient now.
|
2014-07-06 13:10:03 +02:00 |
|
Griatch
|
fb8cf41b4e
|
Added recursive loop-detection to the spawner. This should avoid accidentally creating infinite self-references in prototype structures.
|
2014-07-01 20:16:43 +02:00 |
|
Griatch
|
b9c8c1695c
|
Finalized the spawner API and made the @spawn command also take prototypes directly, e.g. @spawn GOBLIN.
|
2014-07-01 19:39:12 +02:00 |
|
Griatch
|
221d56fecd
|
Made the spawner more streamlined, and allowed the @spawn command to access prototypes in a file specified by the optional PROTOTYPE_MODULES setting.
|
2014-07-01 04:04:54 +02:00 |
|
Griatch
|
6eafe65076
|
Implemented src.utils.spawner along with a test command @spawn. This allows for spawning individualized objects based on a prototype dictionary rather than having to make a new Typeclass for small changes. Allows for setting basid properties as well as Attributes and NAttributes. Supports prototype multiple inheritance (see header of src/utils/spawner.py)
|
2014-07-01 02:14:48 +02:00 |
|
Griatch
|
05d21ef4f7
|
Updated create.create_object to be faster. Made AttributeHandler.add() handle bulk-adding of Attributes and with a slightly more efficient way to create new Attributes.
|
2014-07-01 00:46:20 +02:00 |
|
Griatch
|
cda13989f6
|
Run Migrations! Made Tags unique based on the combination of their db_key, db_category AND their db_tagtype fields.
|
2014-06-30 20:14:58 +02:00 |
|
Kelketek Rritaa
|
a1b596a847
|
Fixed an issue where saving an attribute/tag would make duplicates.
|
2014-06-28 18:01:00 -05:00 |
|
Kelketek Rritaa
|
ca3f92acd0
|
Admin interface greatly improved. Support for editing Attributes added.
Resolves #503. Resolves #201.
|
2014-06-28 16:30:01 -05:00 |
|
Griatch
|
05c9d67ffc
|
Made the tab, space and linebreak ansi characters case-insensitive. Resolves #522.
|
2014-06-28 18:51:04 +02:00 |
|
Griatch
|
3a6a8d5c48
|
Made objects clear more handlers on deletion, also scramble some methods and all database access wrappers to avoid an object memory instance being accessed after it has been deleted. See #509.
|
2014-06-15 12:27:48 +02:00 |
|
Griatch
|
57144b2c21
|
Made objects auto-unsubscribe from tickerhandler when deleted (resolves #515). Fixed a bug that made typeclass loading mechanism not report errors as verbosely as it could.
|
2014-06-14 19:31:19 +02:00 |
|
Griatch
|
c776a2da18
|
Changed batchprocessor regex matching to not rely on python2.7 feature.
|
2014-06-12 23:25:49 +02:00 |
|
Griatch
|
5c212683de
|
Merged Memory modification branch with main. Includes some more testing.
|
2014-06-06 11:37:20 +02:00 |
|
Griatch
|
4e14f46d54
|
Added settings.IDMAPPER_CACHE_MAXSIZE and a new default global script to check if the cache should be flushed. Tested with dummyrunner to maintain the memory usage at a much more stable level.
|
2014-05-18 21:17:10 +02:00 |
|
Griatch
|
f2c75bd0f6
|
Added periodic idmapper cache size check along with conditional flush mechanism. Ran a lot of tests and stress tests to get statistics on usage.
|
2014-05-18 18:28:10 +02:00 |
|
Griatch
|
a143733ccf
|
Made lockhandler write lockwarnings to separate log file
|
2014-05-18 11:18:00 +02:00 |
|
Griatch
|
f49f33d40d
|
Made more work around memory profiling, added a small Script and display program for logging memory usage
|
2014-05-18 10:54:04 +02:00 |
|
Griatch
|
58af67bdf2
|
Fixed flush protection for instances, memory is successfully made available on an idmapper flush now.
|
2014-05-17 14:38:43 +02:00 |
|
Griatch
|
4b8ed234fd
|
Added /flushmem switch to the server command to incur the idmapper flushing.
|
2014-05-15 23:08:21 +02:00 |
|
Griatch
|
e7e50039d7
|
Added deepsize function for size evaluation of object and its referends
|
2014-05-15 21:27:30 +02:00 |
|
Griatch
|
bc80132229
|
Made sure Attributes get dereferenced correctly.
|
2014-05-15 20:25:09 +02:00 |
|
Griatch
|
5e4af3f851
|
Implemented and tested set_recache_protection() on all idmapped objects, to avoid them getting recached. Added successfully to nattribute handler.
|
2014-05-15 10:05:41 +02:00 |
|
Griatch
|
a617924fb0
|
Made flush_cache work correctly on idmapper; added _idmapper_cache_flush_safe variable for 'securing' objects from cache cleanups. Nothing using this system yet.
|
2014-05-15 09:51:24 +02:00 |
|
Griatch
|
b473feec06
|
Added _set_recache() method to all SharedMemoryModel instances. This allows for marking an object as safe or unsafe for recaching.
|
2014-05-14 21:34:15 +02:00 |
|
Griatch
|
87d1254b2c
|
Changed contrib/procpool's PROC_MODIFIED_OBJS list to sit in src.utils.idmapper.base as well as be a WeakValueDictionary instead of a normal list. This removes unnecessary reference counts to objects.
|
2014-05-14 20:07:59 +02:00 |
|
Griatch
|
cdc071981d
|
Added some dummyrunner extra output
|
2014-05-12 09:11:11 +02:00 |
|
Griatch
|
9bfb829274
|
Implemented WeakSharedMemoryModel for Attributes.
|
2014-05-11 15:23:11 +02:00 |
|
Griatch
|
c5839eebba
|
Forgot a fix.
|
2014-05-11 07:28:44 +02:00 |
|
Griatch
|
0c848eb9a2
|
Reverted to a standard dictionary in SharedMemoryBase; not having this does return the old 'going out of scope' from yesteryear.
|
2014-05-11 07:27:56 +02:00 |
|
Griatch
|
e11b242365
|
Continued with weakref and lazyloading fixes.
|
2014-05-11 01:05:59 +02:00 |
|
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 |
|