Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-04-06 | registry: add in-memory implementation for tests | Matthias Hecker | |
2016-03-25 | fixes registry for 2.3.0, bug caused by wrong #get_impl | Matthias Hecker | |
previously getimpl returned eigenclasses aswell which always was an issue but i guess a minor change in ruby triggered this. | |||
2014-05-03 | [registry] fix subregistry re-use (closes #1) | M. Hecker | |
2014-03-06 | [registry] improved tests, sqlite/tc bugfixes | Matthias H | |
2014-03-06 | [registry] small refactoring and added flush test | Matthias H | |
2014-03-06 | [registry] added sqlite3 database adapter | Matthias H | |
2014-03-05 | [registry] migrate tc directory name to registry_tc | Matthias Hecker | |
2014-02-24 | [registry] optimize at every restart/rescan | Matthias H | |
2014-02-24 | [registry] refactoring into a abstract and factory | Matthias H | |
* a new abstract class AbstractAccessor is the new base for all concrete database implementations. * a factory now, dynamically discovers those implementations in the registry/ directory and will create the configured type for the plugins. * again: this makes db keys case-sensitive (aka 'the correct way of doing things' -.-) * re-added tokyocabinet | |||
2010-03-16 | Moved DB stuff to registry/bdb | Voker57 | |
2009-02-22 | registry: expose set and bulk parameters | Giuseppe Bilotta | |
expose set and bulk parameters in the each*() iterators. Some plugins might need it for faster lookup. | |||
2009-02-22 | registry: spare useless I/O | Giuseppe Bilotta | |
The each_key()/each_value() methods of the accessor relied on the each() method of the database, wasting I/O bandwidth and time by loading unnecessary data (particularly when running each_key() on databases with ridiculously enormous values such as in the markov plugin case). | |||
2009-02-15 | + @bot.path and datafile methods | Giuseppe Bilotta | |
We provide two methods that make it more simple and elegant for botmodules to define paths relative to the bot's own directory (botclass) and to the BotModule's (assumed) non-registry directory. The first method is Irc::Bot#path(), which joins its arguments with the botclass. This method can be used to access datafiles in the bot directory with a much cleaner syntax; and since it uses File.join, the resulting paths are also properly formatted on each platform, which doesn't hurt. Each BotModule now also carries a dirname() method that should return the directory under botclass that holds the BotModule's datafiles. dirname() defaults to the BotModule's name(), but it can be overridden, e.g. for backwards compatibility (see the patch for the quotes plugin), or for BotModules that share their datafiles. Datafiles can be accessed using the BotModule#datafile() method that joins the botclass, the dirname() and whatever other argument is passed. | |||
2009-01-30 | * (registry) rdoc fix | Giuseppe Bilotta | |
A stupid missing hash sign prevented the full registry accessor doc from being parsed by rdoc. | |||
2007-12-16 | * (registry) no infinite recursion, please | Dmitry Kim | |
2007-12-14 | * (registry) dup() the default on return | Dmitry Kim | |
2007-12-14 | * (registry) fix the default value handling for non-existent registry files | Dmitry Kim | |
2007-09-22 | registry.rb: don't create registry file unless accessing it for writing | Giuseppe Bilotta | |
2007-09-17 | registry: it's @recovery, not @recover | Giuseppe Bilotta | |
2007-09-12 | namespaces: move rbot-specific classes and modules from Irc::* to Irc::Bot::* | Giuseppe Bilotta | |
2007-09-02 | registry.rb: suppress warning when @recovery is not defined | Giuseppe Bilotta | |
2007-07-09 | integrated ruby-gettext | Yaohan Chen | |
modified a few files to allow translated messages created gettext template file initialized gettext files for Japanese and Simplified Chinese | |||
2007-04-11 | use pretty printing with Logger (debug, info, warning and error messages) | Giuseppe Bilotta | |
2007-03-25 | registry: allow plugins to provide a recovery proc in case data marshalling ↵ | Giuseppe Bilotta | |
fails | |||
2007-03-18 | + lazy behavior for plugin registries (don't create a BDB file until the ↵ | Dmitry Kim | |
registry is accessed by plugin for the first time) | |||
2006-08-12 | Fix a problem with subregistries | Giuseppe Bilotta | |
2006-08-03 | Make keywords.rb into a plugin and sync with 0.9.10 | Giuseppe Bilotta | |
2006-08-03 | Lots of fixes all around, in preparation for the new auth coremodule | Giuseppe Bilotta | |
2006-07-22 | Of course, I forgot about creating the subregistry directories for brand new ↵ | Giuseppe Bilotta | |
installations. This fixes it, even though the code should be brought over to dbhash instead of being duplicated all around | |||
2006-07-21 | Fix path creation when upgrading 0.9.9 or earlier single-db registry | Giuseppe Bilotta | |
2006-07-21 | Fix subregistry importing from single-file (0.9.9 or older) plugin database | Giuseppe Bilotta | |
2006-07-20 | All lib/rbot files are now upgraded to the new logging feature | Giuseppe Bilotta | |
2006-06-08 | Improved handling of database handling and cleanup during shutdown | Giuseppe Bilotta | |
2006-06-07 | The sub_registry method for BotRegistryAccessor had somehow gotten AWOL. ↵ | Giuseppe Bilotta | |
This commit restores it, since it is used by the quiz plugin used by the amaroK bot insanity, and it might be useful for other plugins (e.g. topic, auth) | |||
2006-02-10 | use a db env for the databases to avoid some corruption problems (I hope) | Tom Gilbert | |
2006-02-09 | attempt to resolve #65 | Tom Gilbert | |
2006-01-27 | autosplit registry. now we have one per plugin. | Tom Gilbert | |
TODO creates empty dbs for plugins that don't even use the registry. would be nice to only create on write but how feasible is that? | |||
2005-12-12 | try to handle backwards compat issues | Tom Gilbert | |
2005-08-03 | Thu Aug 04 00:11:52 BST 2005 Tom Gilbert <tom@linuxbrit.co.uk> | Tom Gilbert | |
* Tweaked the debug() stuff a bit. Need to do this more cleanly really * Added a fair bit of documentation for some of the new features | |||
2005-07-27 | move rbot into lib - still rearranging for packaging/installation | Tom Gilbert | |