guoyao
4c6390cd5b
chore: remove build warning
...
as title
Log:
2023-04-27 08:54:19 +08:00
chenhongtao
356801bfaf
feat: add color to ConsoleAppender
...
Log: add color to ConsoleAppender
2023-04-26 13:21:49 +08:00
YeShanShan
0cabf46e81
fix: No log file
...
The log file will not be generated even though we call
`registerFileAppender` when `$HOME` is empty, it is the default for
Qt, But we can fallback it to get the home directory from its user.
e.g. for `dde-dconfig-daemon, it may be called by a specific
user with a home directory but `$HOME` unset.
2023-04-26 13:11:37 +08:00
YeShanShan
2378742c88
fix: AppId fetch error when fallback to applicationName
...
We shouldn't store appId fallback to applicationName.
2023-04-20 13:43:56 +08:00
Felix Yan
d5c4002562
fix: adjust dependencies in PKGBUILD
...
- dconf is no longer used.
- This project only uses libsystemd instead of systemd.
2023-04-18 13:28:06 +08:00
YeShanShan
da225ad0d3
chore: Update dconfig's example
...
Log:
2023-04-17 17:46:30 +08:00
YeShanShan
b0a7d860f5
chore: Rename config function
...
TODO: Add DtkVersion's detection and warning info.
Issue: https://github.com/linuxdeepin/dtk/issues/9
2023-04-17 17:46:30 +08:00
ck
ed3a3c7c19
chore: update to 5.6.10
...
Log: update changelog
2023-04-17 17:26:26 +08:00
deepin-admin-bot
a927f81a04
chore: Sync by 2dd22560f7
...
sync by github workflow
Log: none
Influence: none
2023-04-14 08:41:31 +00:00
deepin-admin-bot
b5599f431b
chore: Sync by c5d10d3aeb
...
sync by github workflow
Log: none
Influence: none
2023-04-14 08:31:57 +00:00
ck
5347bebaff
chore: support XDG_SESSION_DESKTOP set to DDE
...
环境变量设置为 DDE 时,当然是 DDE 了
2023-04-10 18:09:47 +08:00
ck
62bb12cc67
chore: update to 5.6.9
...
Log: update changelog
2023-04-03 10:29:30 +08:00
tsic404
2d9fc8c139
chore(CI): add OBS workflows
...
add OBS workflows and modify PKGBUILD support OBS build
log:
2023-03-29 09:27:56 +08:00
Ye ShanShan
3ace2e4fa7
feat: Support cache to be relocated for DConfigFile
...
Add setCachePrefix function to support that cache can be relocated
by caller, It's default value doesn't changed, and we can refer to
`配置文件规范` in https://github.com/linuxdeepin/deepin-specifications .
Permissions is left to the caller.
For DConfig's FileBackend, we use it's default value.
Issue: https://github.com/linuxdeepin/dtkcore/issues/271
2023-03-20 14:19:20 +08:00
heyuming
46dae03834
feat: append to all appenders when category is not registered
...
之前当程序未将category和appender关联起来时, log无法正常输出,
现添加一种fallback方式来支持此行为
相关issue:https://github.com/linuxdeepin/dtkcore/issues/292
Log: 当没有注册对应的category时输出log信息到所有的appender
2023-03-15 17:46:20 +08:00
heyuming
64731fb083
fix!: remove DCapFSFileEngine
...
由于在开启Relocatable的Qt上,
注册DCapFileEngine会影响到Qt内部代码产生错误的结果,
并且并没有很好的办法判断某个文件是否应该由DCapFileEngine作为后端,
所以移除
Log: 移除DCapFSFileEngine
2023-03-10 16:57:38 +08:00
heyuming
6954ff2ba9
fix: Fix incomplete copy of Vtable
...
1. 修复了因不完整拷贝引起的rtti信息丢失的问题
2. 对于虚表结尾判断增加了新的限制条件
3. 增加了调整虚表指针的方法,
后续可以考虑取消对于函数指针和对象指针类型一致的限制
Log: 修复不完整的虚表拷贝
2023-03-06 13:09:36 +08:00
yyc12345
14dad1ace5
docs: fix MainPage typo
...
- fix typo "camke"
- fix case issue "cmake"
Log: 修复MainPage打字错误:camke。以及cmake大小写错误。
2023-03-02 18:23:55 +08:00
heyuming
2b73ff6f92
fix: fix bug of unit test under clang
...
Log: 修复单元测试在clang下的错误
2023-02-28 09:30:17 +08:00
Ye ShanShan
a100a7637e
refactor: Removing the same code for homePath
...
Using homePath(uid) to implement homePath().
2023-02-24 11:30:17 +08:00
heyuming
04cc067b8d
fix: Temporarily fix the dead loop generated by QDebug destructor when compiling with the relocatable feature of qt
...
Log: 暂时修复由于qt使用relocatable特性编译时QDebug析构时产生的死循环
2023-02-23 18:21:11 +08:00
heyuming
b6f349c8ec
fix: fix compile error when using qt6
...
Log: 修复使用qt6时的编译错误
2023-02-22 15:43:09 +08:00
wangyixue
1d05dbd0fc
chore: update changelog
...
Bump version to 5.6.8.
Log: update changelog to 5.6.8
2023-02-22 15:02:48 +08:00
ck
714de9b43f
chore: specify dtkcommon-dev version
...
dconfig prf and cmake modules were move to dtkcore
dtkcommon-dev depends >= 5.6.4
Log: fix install conflict
2023-02-22 14:57:51 +08:00
wangyixue
ce3894ea37
chore: update changlog
...
Release 5.6.6.
Log: update changelog to 5.6.6
2023-02-21 15:19:03 +08:00
yeshanshan
072dd9562d
feat: Add generic configuration support for DConfig ( #236 )
...
All application can use same configuration by generic
configuration.
Loading cache file can fallback to noappid's directory when not
using appid or not find cache file.
one application writes configuration.
```c++
auto config = DConfig::createGeneric(FileName);
config->setValue("common-configuration", true);
```
other applications read configration can give appid or not to
get the configuration.
Set empty string for DBus caller when using acquireManager.
Log: 配置策略支持应用无关配置,缓存精准匹配到meta是否使用appid
Influence: none
Change-Id: I78b331f9c455617d5dfea6df087b1f4828390974
2023-02-16 09:41:28 +00:00
yeshanshan
56809c72e5
fix: Compiling error in qt5 ( #270 )
...
Adapt to qt5
Log: none
Influence: none
Change-Id: I71280483e12d137a7b8710c8617cea6303ad4909
2023-02-16 08:08:54 +00:00
ck
edbc7c0eda
chore: log file function and line by default
...
add QT_MESSAGELOGCONTEXT dfinetions by default
log file function line by default
Log: log
Change-Id: I119eb2ffe4ac3d372fba874b99b9fc75131c0d6e
2023-02-16 14:21:10 +08:00
ck
558a852e38
chore: private link QtCorePrivate
...
cmake target private link Qt::CorePrivate
Log: cmake link
2023-02-16 11:11:52 +08:00
wangyixue
f33f6e2742
fix: qch generate error
...
qhelpgenerator run failure due to wrong markdown title tree. Change index
title level to fix.
Log: fix qch generate error
2023-02-15 16:54:36 +08:00
xiangzelong
28b9de15b8
docs: update docs
...
更新枚举的文档,使用新的枚举文档宏
修正文档格式
Log:
2023-02-14 13:40:45 +08:00
heyuming
d1605f7da2
feat: support Qt6
...
Log: 支持Qt6
2023-02-14 13:22:03 +08:00
yeshanshan
9e23a65552
fix: missing BUILD_WITH_SYSTEMD macro ( #258 )
...
Define macro to be used in cpp.
Log: none
Influence: none
Change-Id: I40f743e74b5a5c5eb8e94e4ba099747d3d88523d
2023-02-07 09:50:08 +00:00
yeshanshan
ac061d1c9c
fix: Lossing quotation mark for DSG_DATA_DIR macro ( #259 )
...
Add quotation mark for macro.
Log: none
Influence: none
Change-Id: Iaf26210a81e7c2e167e30b976c5e0a1ec26708b9
2023-02-07 09:49:46 +00:00
xzl
a3baefca99
chore: update PKGBUILD
...
更新pkgbuild,添加编译选项
Log:
2023-02-07 17:05:24 +08:00
xzl
d87f609504
docs: remove DConfig.doc
...
删除部分无用文件
Log:
2023-02-06 15:53:12 +08:00
xzl
031149fea3
docs: update readme
...
添加编译选项说明
Log: update readme
2023-02-06 15:43:46 +08:00
xzl
098e3975f0
fix: Removing strong dependencies on systemd
...
去除对systemd的强依赖
Log:
2023-02-06 15:24:41 +08:00
Ye ShanShan
33de26ff1c
fix: Losing dconfig info when compiling and packaging
...
Add adjust for linux when compile.
Add `D_DSG_APP_DATA_FALLBACK` macro when packaging.
see the commit: 7b13e5c4b8
Log: none
Influence: none
Change-Id: Ie047dbd2d8158ed5242dfb5bcc7fa4e02ee1d925
2023-02-03 08:52:09 +00:00
Ye ShanShan
494b185eee
fix: Cleaning path about dconfigfile
...
cleanPath for file path.
cacheChanged is reset when saved avoid to resaving.
Log: none
Influence: none
Change-Id: I5bf6c2165ad19a66ad7684d696bef97c3432f0fa
2023-02-03 08:51:09 +00:00
xzl
965280ab9f
docs: update log index doc
...
更新log index文档 更新示例
Log:
2023-02-02 16:06:20 +08:00
ck
866339a0de
chore: update changelog
...
update changelog
Log: update changelog
Influence: none
Change-Id: I9dbe45aaa1465c30b5e3c85bf70ab0275de967c7
2023-02-02 16:02:37 +08:00
xzl
94e0e3fd86
feat: add journal appenders
...
support log to journal
Log:
2023-01-31 17:44:55 +08:00
wangyixue
b294e425d0
docs: correct unsuitable description
...
Correct typo and unsuitable description.
Log: correct unsuitable description
2023-01-19 13:56:57 +08:00
ck
4cfda53c9c
feat: add chinese2pinyin polyphonic support
...
1. update dpinyin.dict with polyphonic support
2. add pinyin and firstLetters function
3. add ch2py tools to convert Chinese to Pinyin
dict data reference https://github.com/mozillazg/pinyin-data (zdict.txt MIT)
Bug: https://pms.uniontech.com/bug-view-143063.html,https://pms.uniontech.com/bug-view-182013.html
Log: Chinese2Pinyin polyphonic support
Influence: Chinese to Pinyin
Change-Id: I5fd05c071f68908949e2b1abbbd11feed302abd4
2023-01-18 17:36:05 +08:00
heyuming
c65d974733
test: fix DVtableHook and DConfig's unit testing
...
Log: 修复DVtableHook和DConfig的单元测试
2023-01-17 09:46:12 +08:00
xzl
486279cd7c
docs: add dtrashmanager.zh_CN.dox
...
添加文档
Log:
2023-01-17 09:29:14 +08:00
xzl
dc5beeba54
docs: update dfilewatchermanager.zh_CN.dox
...
更新文档,添加示例
Log:
2023-01-16 16:57:37 +08:00
xzl
245dbab5b7
feat: update file watcher manager
...
添加列出当前监控的文件列表的接口
添加删除全部监控的接口
Log:
2023-01-16 16:03:37 +08:00
bluesky
bb2b4428df
docs: update dfilesystemwatcher docs
...
更新dfilesystemwatcher的文档
Log: update docs
Task: deepin-community/coding-quarter#26
2023-01-16 13:19:09 +08:00