Commit Graph

12 Commits

Author SHA1 Message Date
asofold
de5f152df9 [BLEEDING] Flesh out aspects of ComponentRegistry.
* Fixes data removal ignoring chat.logins and chat.text for a part.
* Move some components interfaces and ReflectionUtil to NCPCommons.
* Unregister components in reverse order.
* Add ComponentRegistryProvider for generic sub-registries (DataManager
for instance).
* Add IHoldSUbComponents for delayed sub-component registration
(convenient for iteration over parent-components with later registration
of sub components not missing out any registered parent components for
those). [Partly implemented: Using this during runtime does not yet
work, only used in onEnable.]
* Let CheckListener implement IHoldSubComponents and use this with
addCheck to register the queued checks after all the listeners.
* Register the core system components in a bunch before the
CheckListenerS, to allow sub-registries to work directly and to allow
getAPI().addComponent on the plugin class during construction of
CheckListeners.
2013-04-15 16:11:08 +02:00
asofold
31faf7f11e Adjust available build parameters: TEST_LEVEL and DEBUG_LEVEL
Not yet too much in use, though.
2013-02-28 18:09:42 +01:00
asofold
7a84ed371b Add module for build parameter info.
This is needed with the current technique in order to have it available
at the time of testing NCPCommons.
2013-02-27 00:46:56 +01:00
asofold
33af656b29 Add support for build parameters (example: EXTENSIVE_TESTING).
We can put through build parameters for testing and other purposes so
NCP can see them during testing or runtime otherwise. Not sure this is
the final version, though.
2013-02-26 23:14:33 +01:00
asofold
33abae929b Should have used a regex :p. 2013-02-20 22:04:43 +01:00
asofold
c16ccd8435 Add convenience method to StringUtil for splitting by chars. 2013-02-20 21:18:16 +01:00
asofold
ca0fe64688 Add new accumulator class.
This allows accumulating values grouped by number of events rather than
real-time.
2013-02-01 17:27:44 +01:00
asofold
ee1f410dae [SAFETY COMMIT, REFACTOR, BREAKING]
Moving big parts of code between sub-projects. Some refactoring was
needed to unlink some classes. Deprecated methods removed. Some utility
methods were moved to differently named utilities. Few signatures
changed (e.g. BlockProperties.init). Most changes should only concern
bugs or developers who dug into some NCP deeply (not sure those exist).
It should still all be there.
2013-01-20 04:18:08 +01:00
asofold
923b4ebdca No brain necessary for parent pom version, hahaha! 2012-12-17 17:37:42 +01:00
asofold
c433bfe215 Update pom descriptions. 2012-12-14 10:36:58 +01:00
asofold
42521cbb1c Add resources. 2012-12-13 22:57:21 +01:00
asofold
f21ffd68cb RAW split setup (does not compile in eclipse). 2012-12-13 22:48:56 +01:00