Commit Graph

7 Commits

Author SHA1 Message Date
YeShanShan f7a7a3b1fc feat: DConfig add check for no existed item when override
We shouldn't add the item when override file has no existed
item in meta items.
2023-05-17 13:38:09 +08:00
wangfei 5b650fb843 feat: add license infomation feature
1. add dlicenseinfo interface
2. add dlicenseinfo unit test
3. add dlicenseinfo document

Log: add license information feature
2023-05-09 16:30:56 +08:00
Ye ShanShan 0960bea4e2 feat: Add interface for Dconfig
add reset function;
add Dconfig construct containing appId, to keep compatible,we use
a static function to avoid ambiguous, construct function calls
no appid's. it is useful to access other application's configure
timely in DBusBackend.

Log:
Influence: user can access other application's configure and
reset value for the key.

Change-Id: Id707a96ba1216b406b5c6f724ba5d715cfb053db
2022-03-09 08:46:10 +08:00
Ye ShanShan 23beccfc00 refactor: 重构DConf Class并适配DBus service开发。
重构DConfig类的实现,按类型处理不同的程序配置实现;
调整DConfig class接口来适配dbusservice开发;
添加客户端请求资源释放请求;
增加通过环境变量来初始化后端类型;
修改翻译解析方式;
添加单元测试;
loadOverride函数的局部变量path名称与成员变量因同名被隐藏。

Log: 
Change-Id: I48206c666068e8a85feca6a35639059fc6112be0
2021-10-14 15:35:42 +08:00
ck 8c740058a1 refactor: 调整单元测试结构
将多个项目合并成一个,threadutils改成gtest

Log: 单元测试结构调整
Change-Id: I211e046f70510c299f0fc61538407956f3ea62ce
2021-02-26 17:44:40 +08:00
zccrs d75ecdd05e feat: support override global vtable of class
add test for DVtableHook interface
2020-01-01 12:24:40 +08:00
Iceyer c876180f53 feat: add group interface for DSettingsGroup
Change-Id: Iba5963b4d5f4b3dc28ac00b4d57a2f5c97c5defd
2018-02-28 14:51:08 +08:00