Commit Graph

21 Commits

Author SHA1 Message Date
Emmanuel Garette f4bf3dc390 add PathConfig 2018-10-31 08:00:19 +01:00
Emmanuel Garette 5b5f06a612 do same api for property and permissive 2018-10-07 15:54:08 +02:00
Emmanuel Garette 2d063f8170 coverages 2018-09-15 22:44:49 +02:00
Emmanuel Garette aa9aef6e78 remove _cache_paths (path is now directly in option)
better TiramisuAPI support
2018-09-08 20:17:20 +02:00
Emmanuel Garette 89ccfa8aa1 setpermissive => setpermissives 2018-08-18 08:14:47 +02:00
Emmanuel Garette 6b6fa5e499 remove getapi in tests 2018-08-14 23:07:07 +02:00
Emmanuel Garette 42fc21e6f5 update access to property or permissive in tests 2018-04-06 08:30:32 +02:00
Emmanuel Garette d5d826f967 adapt tests 2018-03-19 08:33:53 +01:00
Emmanuel Garette ddaadb0701 coverage 2017-07-21 18:03:34 +02:00
Emmanuel Garette c8bc3093c7 python 3.5 support 2017-07-09 09:49:03 +02:00
Emmanuel Garette 6ca3e236f9 reset cache when permissive is added 2017-04-20 11:20:37 +02:00
Emmanuel Garette 44cd618704 remove pep8 validation errors 2015-07-24 17:54:10 +02:00
Emmanuel Garette 9d92ab84d7 regression: permissive for option is apply every time, not only when global permissive is set 2014-01-16 09:49:37 +01:00
Emmanuel Garette 0f966f6d26 check if permissive is in global properties before allow permissive for an option 2013-12-09 15:29:37 +01:00
Emmanuel Garette 8c24903dfb order in properties can change 2013-08-28 21:23:42 +02:00
gwen fbf05ba5e4 python 3 compatibility
remove __eq__ and __ne__ in Option
2013-08-28 21:13:42 +02:00
Emmanuel Garette 62553aba1f test invalid owner in setowner 2013-08-23 09:29:42 +02:00
Emmanuel Garette b6bb685ca5 key is now always path and change opt by path dictionary storage 2013-08-21 22:21:50 +02:00
Emmanuel Garette 2d57ed160e work on MetaConfig 2013-05-02 11:34:57 +02:00
Emmanuel Garette e883e5b89e remove _setoption in SymLinkOption
objimpl_ => optimpl_
ConflictConfigError => ConflictError
add read_write/read_only/getowner in Config
2013-04-22 09:19:05 +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