ck
24a29a0f9f
feat: use spdlog reimplement dlog
...
reimplement dlog
use `DLogHelper` instead of `CuteMessageLogger` `LoggerTimingHelper`
keep CuteMessage symbol for compatibility (fix undefined symbol: _ZNK3Dtk4Core17CuteMessageLogger5writeEPKcz)
2023-08-14 09:00:43 +08:00
ck
a4eba32e2b
chore: dlog example tweak
...
dbus not used
message tweak
2023-08-10 09:50:20 +08:00
deepin-ci-robot
d614c5d254
chore: update changelog
...
Release 5.6.14.
2023-07-27 16:17:11 +08:00
ck
0ef910387a
chore: add some unit test
...
- DDBusInterface DNotifySender DDBusExtendedAbstractInterface
- DExpected && DError
- DSysInfo/DLicenseInfo/DSingleton ut split from ut_dutil.cpp
- DSGApplication DStandardPaths DCapManager
- DThreadUtils warnings
- DLogManager
2023-07-21 10:45:08 +08:00
ck
efc5668128
chore: dsysinfo tweak
...
- add test file path support
- fix ensureDeepinInfo may break loop too ealy
2023-07-19 15:02:09 +08:00
ck
226add3554
chore: should include QVector headers
...
```use DComponentInfos = QVector<DComponentInfo*>;```
should include QVector headers or may get build error like
"invalid use of incomplete type ‘using DComponentInfos = class
QVector<Dtk::Core::DLicenseInfo::DComponentInfo*>’
{aka ‘class QVector<Dtk::Core::DLicenseInfo::DComponentInfo*>’}"
2023-07-18 17:12:33 +08:00
ck
43be742963
fix: internalPropSet nerver emit propertyChanged
...
signal should emit when reply *Not* contain an error msg
2023-07-18 17:12:33 +08:00
ck
588ada8684
feat: add systembus send support
...
DDBusSender::system()
2023-07-17 09:00:10 +08:00
ck
3a661dfff0
chore: add ut for DDbusSender
...
- tweek FakeDBusService. add method and read/write propery
- test DDbusSender. call dbus method and get/set dbus property
2023-07-11 13:30:15 +08:00
ck
d0b7680edb
chore: make test-recoverage.sh runable again
...
- set -e : exit if command has a non-zero exit status
- fix test target name ut-DtkCore
2023-07-11 13:30:15 +08:00
deepin-admin-bot
63dbfbcac3
chore: Sync by 559e91167d
...
sync by github workflow
Log: none
Influence: none
2023-07-10 06:12:34 +00:00
chenhongtao
d4a9334349
chore(dcapmanager): RuntimeTime -> RuntimeDir
...
Log:
2023-07-07 06:57:17 +00:00
SPUER
8922e02148
chore: reduce compilation warnings
...
解决docs部分警报
Issue: https://github.com/linuxdeepin/dtk/issues/96
2023-07-07 14:11:16 +08:00
chenhongtao
8610d26c9f
fix: typo in xdg
...
Log:
2023-07-07 05:39:26 +00:00
chenhongtao
7967167ad3
fix: updateProp cannot convert to property type
...
if there is a property, try to convert to the type
Log:
2023-07-06 05:11:00 +00:00
ck
868218a1db
refactor!: deprecate some interfaces in dtk6
...
- dconfig_meta_files/dconfig_override_files remove in dtk6
- not install deprecated class headers
- remove deprecated interfaces in dtk6
2023-07-05 10:19:56 +08:00
ck
d56c3629e8
chore: remove unused pro files
...
remove unused files
2023-07-05 10:19:56 +08:00
wangfei
e10d0b4ca0
chore: change OUTPUT_DIR variable in cmake
...
change OUTPUT_DIR to CMAKE_CURRENT_BINARY_DIR
Log: change OUTPUT_DIR to CMAKE_CURRENT_BINARY_DIR
2023-07-04 11:35:44 +08:00
Skye-rs
4698eca093
chore: ignore doxygen-theme folder
...
Add new rules to .gitignore
Log: 对/dtkcore/.gitignore文件添加忽略文件规则,避免dtk文档主题编译产物污染git目录
Issue: dtk-issues-99
Task: https://github.com/linuxdeepin/dtk/issues/99#issue-1785401780
2023-07-03 09:28:28 +00:00
chenhongtao
66150cdbc7
chore: function need to be marked as override
...
Log:
2023-06-26 02:13:10 +00:00
wangyixue
b0513ab6c8
chore: update changelog
...
Release 5.6.13.
2023-06-25 16:38:00 +08:00
ck
7456ea4f72
chore: remove libdtkcommon depends
...
libdtkcore5 does not depend libdtkcommon
2023-06-25 13:09:03 +08:00
ck
8827126b47
chore: remove ddbusinterface property cache
...
有的服务属性改变时不会发送 ProperiesChanged 导致属性变化后再次
获取属性时还是旧的 value ,因为缓存不会更新
2023-06-19 16:34:37 +08:00
wangyixue
5e8b5d2820
fix: qdbusxml2cpp-fix not in path
...
Now qdbusxml2cpp-fix is not in PATH, just export it as a target so
others can use it.
Log: fix qdbusxml2cpp-fix not in path
2023-06-19 14:40:22 +08:00
heyuming
beb491e781
fix: move Qt CorePrivate to target private link
...
Log:
2023-06-19 10:05:01 +08:00
heyuming
2df5ca70dd
feat: add DThreadUtils class
...
Log: 添加DThreadUtils类
2023-06-16 14:15:25 +08:00
ck
f5fd6cf9a8
feat: support dtk6core build
...
cmake -DDVERSION=6.0.0 to build libdtk6core
install qdbusxml2cpp-fix to DCore/bin to avoid conficts
do not build doc when build dtk6
remove Core5Compat depends
DVERSION ==> DTK_VERSION
tools install to CMAKE_INSTALL_LIBEXECDIR
2023-06-16 08:32:50 +08:00
renbin
d74c7fbc52
fix: fix DTextEncoding warnings.
...
Delete never be ececuted code, use new-style cast,
avoid "disable expansion of recursive macro".
Log: fix DTextEncoding warnings.
2023-06-09 13:30:56 +00:00
renbin
475671232e
fix: DTextEncoding ut failed in Qt6.
...
1. Fix DTextEncoding muti-byte encoding calculation error.
2. Replace QTextCodec with QStringConverter in Qt6 env.
3. Add convertTextEncodinigEx() interface.
Log: Fix DTextEncoding ut failed in Qt6.
2023-06-08 17:26:52 +08:00
ck
05d45d0eda
fix: ut_dfilewater failed on Qt6
...
QFile::rename changed on Qt6
rename does not emit fileMoved
2023-06-07 17:14:49 +08:00
heyuming
fba0d234ca
fix: fix build failed due to gcc compiler bug
...
Log: 修复因为GCC编译器bug导致构建失败
2023-06-06 14:19:29 +08:00
ck
5d1ae206f9
fix(build): build faild on Qt6
...
QVariant constructor && QDBusMetaType::demarshall
2023-06-06 10:15:46 +08:00
chenhongtao
4630b5c621
fix(ut): failed ut
...
Log: fix failed ut
2023-06-02 10:17:31 +08:00
YeShanShan
1a16c38d77
fix: DConfig's `subpathIsValid` produces error
...
It's correctly even if subpath is not exist, so we can't use
`QDir::canonicalPath` to adjust subpath.
Add ut.
2023-06-01 13:45:52 +08:00
chenhongtao
db8fd1bf7b
fix(dccinterface): fix cannot get the right type
...
Log: fix cannot get the right type
2023-05-31 07:46:03 +00:00
YeShanShan
50ff1e70fb
feat: DConfig exports metadir's implementation
...
Export metadir's search path for users.
Issue: https://github.com/linuxdeepin/dtk/issues/10
2023-05-24 10:38:33 +08:00
YeShanShan
a6969026dd
feat: DConfig add check for subpath
...
Avoid to access unprivileged directory by DConfig's subpath.
Issue: https://github.com/linuxdeepin/dde-app-services/issues/54
2023-05-23 17:46:06 +08:00
wangyixue
0f879bdebb
fix: calling delay in DDBusSender
...
When creating QAbstractInterface, Qt will try to invoke instrospection
into the DBus path, this is sometimes costing when instrospection
is not ready for that path. Change the implementation of DDBusSender.
Don't use QDBusInterface. Instead, create a QDBusMessage and invoke it
directly. This is sensible because DDBusSender is just a wrapper like
QDBusInterface, it shouldn't rely on QDBusInterface.
Issue: https://github.com/linuxdeepin/developer-center/issues/4415
Log: fix calling delay in DDBusSender
2023-05-23 10:27:27 +08:00
wangyixue
d8c7f501a0
fix(cmake): wrong use of option and wrong macro
...
* BUILD_VERSION should be a string, not a boolean option;
* Should use CMAKE_INSTALL_PREFIX as DSG_PREFIX_PATH in test,
CMAKE_PREFIX_PATH might be a list. And there's difference between
two variables;
* Trim some trailing spaces.
Log: fix wrong use of option and wrong macro
2023-05-22 16:44:37 +08:00
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
ck
03d2332e31
chore: bump version to 5.6.12
...
update changelog
2023-05-15 11:42:32 +08:00
YeShanShan
60c61be94a
chore: Revert deleted function for DVtableHook
...
The functions are used in template, and they aren't inline,
so we can't delete them in this version, but we can remove
their implementation.
It caused in fb4845350a
2023-05-15 09:10:32 +08:00
chenhongtao
386087df58
chore: back cache of caculate memoryInstalled
...
Log: bring back cache for caculate memoryInstalled
2023-05-10 16:08:21 +08:00
deepin-admin-bot
d46820fbfa
chore: Sync by 2e5e092ba3
...
sync by github workflow
Log: none
Influence: none
2023-05-10 02:23:53 +00: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
ck
12d337dcd0
chore: bump version to 5.6.11
...
update changelog
2023-05-08 15:07:11 +08:00
chenhongtao
c5ca3ba029
fix: color is in file if is redirect
...
Log: use isatty func to check if is stderr is redirected
2023-05-05 02:58:17 +00:00
rewine
c6c9aa8332
fix: must set CMAKE_INSTALL_PREFIX before GNUInstallDirs
...
Log: Never modify the value of CMAKE_INSTALL_PREFIX after including GNUInstallDirs, Otherwise incorrect CMAKE_INSTALL_FULL_XXXX values will be computed
2023-04-28 07:40:50 +00:00
heyuming
d073f8c81e
fix: incorrect DSecureString destructor
...
Log: 修复DSecureString的析构函数
2023-04-28 09:24:14 +08:00
heyuming
fb4845350a
fix: sync with qt5platform-plugins
...
623ce74a8c
Log: 同步qt5platform-plugins
2023-04-27 10:18:07 +08:00