Download
(24Kb)
Download
Updated: 05-21-08 01:18 PM
Updated:05-21-08 01:18 PM
Created:unknown
Downloads:2,131
Favorites:2
MD5:

Lib-ConfigManager1

Version: 1.4.0
by: Saeris [More]

Overview

This addon is a library designed to manage and streamline the numerous get/set operations performed on the configuration tables many other addons use to store saved settings.



Addon Type Information

Addon type: Library
Libraries used:

  • EventsManager1

See the readme file in this addon's folder, or my author portal, for an explanation of the addon type system used.



Support

If you found a bug in this addon, want to provide feedback, want to help translate it, or even just want to ask a question, please contact me using one of these methods:

Email address: [email protected]
ICQ number: 119161819
AIM screenname: SaerisSanoora
Penny Arcade forums name: Saeris

If you use any other method, it might take me significantly longer to see your message and reply.

If you wish to support my efforts, you can donate via PayPal by clicking this button:



History of Changes

See the readme file in this addon's folder, or my author portal, for an explanation of the versioning system used.


1.4.0 (May 21, 2008):
  • Added additional option during registration to specify whether or not empty tables in the configurable table should be deleted at logout.

  • Added optional "useNotEquals" property for table-index type validators.

  • The "defaults" argument for RegisterClient() is now optional.


1.3.0 (May 15, 2008):
  • Changed terminology to be much clearer. All instances of "input" have been clarified to "value" and all instances of "accessor" have been clarified to "key". This more accurately represents exactly what these handler properties are used for. All handlers will upgrade themselves to the new terminology automatically until 2.0.0.

  • Many efficiency improvements through refactoring.

  • Added support for an optional "__selfHandler" key in the primary handlers table, which can contain a handler for the keys at the top level of the configuration table (to control, for instance, the key in "configTable[key] = value;", instead of just the value with normal handlers).

  • Added the ability to specify validators in less rigid layouts, allowing clients to save memory by simply moving single-key tables in the layout up one level. For instance, if a client previously needed "extraValueValidators = { matchAll = { [1] = validator } };", they can now instead use "extraValueValidators = validator".

  • Errors now propagate in the calling client's code instead of in ConfigManager.


1.2.1 (May 6, 2008):
  • Fixed an upgrade error that occurred due to an improper order of returns from the GetLocals() upgrade function.

  • Now uses LibStub as a load manager.


1.2.0 (Apr 19, 2008):
  • Now runs onChange handlers on load (if specified) AFTER the onLoad handler when initializing a config table.

  • Now requires "nil" to be specified in the valid[Input/Accessor]Types string for nil values to be allowed.


1.1.0 (Apr 11, 2008):
[list][*]Added "runOnChangeOnLoad" handler option and config option.


1.0.0 (Mar 8, 2008):
  • Initial release.


See the readme file in this addon's folder for earlier changes.



Developer Notes

See readme file included in the directory.

Optional Files (0)


There have been no comments posted to this file.
Be the first to add one.



Category Jump: