Griatch
|
53b204bb76
|
Fixed code to pass unittests. Change script's is_valid method to correctly catch if it is checked on an object which is already deleted, as per #509.
|
2014-06-15 13:19:38 +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
|
81aa43933c
|
Mudlet seems to fail TTYPE handshake if data compression is activated before TTYPE. Should resolve #512.
|
2014-06-14 20:35:00 +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
|
ce2d11ad12
|
Fixed bug in taghandler. Resolves #516.
|
2014-06-14 18:21:40 +02:00 |
|
Griatch
|
43da170962
|
Update README.md
|
2014-06-13 10:00:11 +02:00 |
|
Griatch
|
d68421065d
|
Update README.md
|
2014-06-13 09:44:41 +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
|
cfd2f111f1
|
Updating to make unittests work
|
2014-05-11 19:41:37 +02:00 |
|
Griatch
|
f3af089aac
|
Some cleanup of the server command.
|
2014-05-11 19:03:45 +02:00 |
|
Griatch
|
9bfb829274
|
Implemented WeakSharedMemoryModel for Attributes.
|
2014-05-11 15:23:11 +02:00 |
|
Griatch
|
f67effa0f9
|
Made Attributes into a normal Model instead of a SharedMemoryModel (like Tags). Removed artificial exclusivity of strvalue and value on Attributes.
|
2014-05-11 08:57:36 +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
|
dc2cce5f4f
|
Fixed the Command CmdExample class.
|
2014-05-10 19:57:59 +02:00 |
|
Griatch
|
3be02c8f03
|
Added settings.CMDSET_PATHS to allow to give cmdsets without the full path.
|
2014-05-10 19:51:46 +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 |
|
Griatch
|
6f90149506
|
Merge pull request #511 from asechrest/myfixes
Added unittests for utils.py dedent() and list_to_string(). Adjusted lis...
|
2014-05-07 11:10:06 +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 |
|
Russell Jones
|
2b2d222e83
|
Some simple and proposed tests for the ScriptDB object. These pass OK with ./manage.py test, at least after running the server at least once.
|
2014-05-05 19:03:33 +01:00 |
|
Griatch
|
12c2402dac
|
Changed crop functionality slightly, inspired by asechrest's unittest.
|
2014-05-05 09:19:03 +02:00 |
|
asechrest
|
bb854384bd
|
Add unittest of utils.crop
|
2014-05-05 01:59:51 -04:00 |
|
Griatch
|
fdca3ddec9
|
Some minor refactoring.
|
2014-05-05 00:07:04 +02:00 |
|
Griatch
|
42c0235d0d
|
Added an example unittest to test_utils_utils.py.
|
2014-05-03 23:51:08 +02:00 |
|
Griatch
|
23efa02965
|
Cleanup of some other reference calls.
|
2014-04-30 20:38:46 +02:00 |
|
Griatch
|
047eee4bed
|
Some more cleanup.
|
2014-04-30 20:31:13 +02:00 |
|
Griatch
|
86b771fb68
|
Some minor cleanups related to typeclass lookup calls.
|
2014-04-30 20:11:40 +02:00 |
|
Griatch
|
0cae40f41a
|
Made DEFALT_HOME a fallback for a missing START_LOCATION in unloggedin-create.
|
2014-04-26 05:47:23 +02:00 |
|
Griatch
|
4e7bfb95b5
|
Fixed some documentation on object typeclass.
|
2014-04-25 16:24:48 +02:00 |
|
Griatch
|
29961a93f2
|
Changed contrib.extended_room's search to use the quiet keyword instead of the old ignore_errors.
|
2014-04-25 16:19:46 +02:00 |
|
Griatch
|
5d1b74ea17
|
Made msg() properly trigger the at_msg_receive hook, as per #506.
|
2014-04-25 13:56:48 +02:00 |
|
Griatch
|
4ab5e2aa22
|
Fixed Attributehandler.get() default return value.
|
2014-04-25 09:01:49 +02:00 |
|
Griatch
|
c402f9424c
|
Added more verbose logging of typeclass module's syntax errors.
|
2014-04-23 20:29:38 +02:00 |
|