Commit Graph

12 Commits

Author SHA1 Message Date
Emmanuel Garette 682d9fe207 add option name's validation and rename Option method with objimpl_ 2013-04-20 21:58:52 +02:00
Emmanuel Garette d4ef47759e Manipulate properties is now more convenient:
c.cfgimpl_get_settings().has_property('hidden') => 'hidden' in c.cfgimpl_get_settings()
c.cfgimpl_get_settings().has_property('hidden', option1) => 'frozen' in c.cfgimpl_get_settings()[opt]

c.cfgimpl_get_settings().get_properties(option1) => c.cfgimpl_get_settings()[option1]
c.cfgimpl_get_settings().get_properties(option1) => c.cfgimpl_get_settings()[option1]

c.cfgimpl_get_settings().add_property('hidden', option1) => c.cfgimpl_get_settings()[optiont1].append('hidden')
c.cfgimpl_get_settings().del_property('hidden', option1) => c.cfgimpl_get_settings()[optiont1].remove('hidden')

c.cfgimpl_get_settings().enable_property('hidden') => c.cfgimpl_get_settings().append('hidden')
c.cfgimpl_get_settings().disable_property('hidden') => c.cfgimpl_get_settings().remove('hidden')
2013-04-20 17:30:05 +02:00
Emmanuel Garette 656b751995 mandatory is a true property (no more MandatoryError) + tests 2013-04-16 22:44:16 +02:00
Emmanuel Garette e6f00948f3 optimisations and all is properties 2013-04-03 12:20:26 +02:00
gwen 9259a6e3f7 values are in value objects now 2013-02-07 16:20:21 +01:00
gwen eb7e393864 the value owner is a string now 2012-11-15 10:55:14 +01:00
gwen 09dba4b959 suppression of the override 2012-11-12 12:06:58 +01:00
gwen 11b2edd07d Option.force_default() -> opt value returns the default value 2012-08-13 16:06:02 +02:00
gwen 45ff59aea2 tests are passing again after package renaming 2012-07-23 14:52:08 +02:00
gwen 9aa9d9780a everything in src for packaging purposes 2012-07-13 09:42:14 +02:00
gwen d1f97ca50f everything in src for packaging purposes 2012-07-13 09:37:25 +02:00
gwen 8b16814ab4 first revision 2012-05-13 20:48:51 +02:00