Commit Graph

695 Commits

Author SHA1 Message Date
deepin-ci-robot 9c96f05fdb chore: update changelog
Release 5.6.22
2024-01-12 14:20:35 +08:00
ck 8c4f4364b6 chore: remove unused code
remove unused global functions
2024-01-10 11:14:25 +08:00
deepin-ci-robot 7d4ea9d078 chore: update changelog
Release 5.6.21.
2024-01-09 14:23:00 +08:00
chenhongtao a94a528d86 feat: allow skip including headers of annotations
Log:
Issue: https://github.com/linuxdeepin/dtk/issues/147
2023-12-19 14:33:36 +08:00
ck 6afbef5890 chore: fix relative path invalid link
```
 dci --export ./ ./xxx.dci
 # invalid symlink ./1.webp -> 3/36/normal.light/3/1.webp
 # should be       ./1.webp -> ../../normal.light/3/1.webp
```
2023-12-13 10:00:26 +08:00
bluesky 7eec6f3000 chore: remove decltype(auto) for dutil
Log: remove decltype(auto)
2023-12-13 09:59:02 +08:00
YeShanShan af8b7666ff fix: app blocked when AM is unavailable
We don't block application when AM is unavailable.
2023-12-08 19:12:59 +08:00
deepin-ci-robot fea15882e9 chore: update changelog
Release 5.6.20.
2023-11-28 17:55:09 +08:00
chenhongtao 1dfa31cfec chore: add dtk dbus generate function
Log: steal from qt
2023-11-17 09:37:28 +08:00
ck f790bab887 fix: log files limit not work
type convert failed
2023-11-14 15:52:35 +08:00
ck c51d1af37c chore: keep order when deduplication
set is unordered, results are inconsistent
2023-11-09 15:35:53 +08:00
chenhongtao 75c9a19f66 feat(dstandardpaths): add XDG_STATE_HOME
this folder is used to storage history and logs

Log:
2023-11-03 13:19:18 +08:00
ck a7dd2a8678 chore: Implement DSGApplication::getId
- Get appid from dde-application-manager
 Also available in the linglong box due to using pidfd
2023-10-30 14:05:03 +08:00
ComixHe 683df841ad feat: add utils function
1. get desktop(application)Id from absolute path.
2. get absolute path from desktop(application)Id.
3. escape string to special format which is dbus required.
4. unescape dbus object path

Signed-off-by: ComixHe <heyuming@deepin.org>
2023-10-30 09:53:43 +08:00
deepin-ci-robot 387340bda6 chore: update changelog
Release 5.6.19.
2023-10-24 02:33:26 +08:00
wangfei 9c3e18ebf3 chore: add flag UserPublic
add flag UserPublic to Meta file for managing permission among users.

Issue: https://github.com/linuxdeepin/developer-center/issues/5928
2023-10-23 10:26:11 +08:00
Gary Wang c7a4732115 fix: correct Dtk6SettingsToolsMacros.cmake path
* fix: correct Dtk6SettingsToolsMacros.cmake path

修正 Dtk6SettingsToolsMacros.cmake 路径不正确的问题
同时避免硬编码版本号到 6

Log:
2023-10-23 10:21:41 +08:00
YeShanShan f29a571b83 fix: Type error for qdbusxml2cpp
We get typeName using `QMetaType::name` in qt6.
  filename of `moc` is changed from `xxx.moc` to `moc_xxx.cpp`, and
it is consistent with qt6.
https://code.qt.io/cgit/qt/qtbase.git/tree/src/tools/qdbusxml2cpp/qdbusxml2cpp.cpp?h=dev#n221
2023-10-23 00:19:32 +08:00
deepin-ci-robot d990485a29 chore: update changelog
Release 5.6.18.
2023-10-18 15:16:21 +08:00
ck 5f8a646ba3 chore: dpinyin tweak
- remove duplicate results when permuting and combining Pinyin
- limit the number of results to avoid of OOM
- ch2py print elapsed time

Issue: https://github.com/linuxdeepin/dtk/issues/109
2023-10-09 14:54:15 +08:00
Felix Yan 300d1bf584 chore: correct typos in DtkSettingsToolsMacros.cmake
Log:
2023-10-09 09:10:24 +08:00
Yixue Wang 4a8d71defd fix: cmake failure when env is null
When CMAKE_CXX_FLAGS_RELEASE is simply null, string will just receive
three params and this raises an error. Just quote this variable to
ensure it's a string.

Log: fix cmake failure when env is null
2023-09-26 15:14:15 +08:00
Shiroko f8cf655d95 fix: Compiling failed in libspdlog-dev before 1.4.0
spdlog::memory_but_t and spdlog::wmemory_but_t are introduced after
1.4.0.
2023-09-25 10:49:07 +08:00
ck f184e05ebd chore(tools): show help if argc < 2
show help instead of show nothing
2023-09-25 10:48:35 +08:00
ck 844a68df95 fix(build): skip failed unit test
- gsettings schema remvove from dtkcommon, Skip
- if DSYSINFO_PREFIX empty, Skip
- add_definitions ==> target_compile_definitions
- setting cache variable move to dtkcore.cmake
2023-09-19 16:56:18 +08:00
Yixue Wang 8d8bf815f4 fix: missing parameter passing for synchronization
Synchronize-to-dtk6 parameter passing has changed. Synchronize the
new usage.

Log: synchronize new form of parameter passing for synchronize-to-dtk6
Related-to: https://github.com/linuxdeepin/dtk/pull/129
2023-09-19 10:00:09 +08:00
YeShanShan ff6d5d7990 fix: Compiling failed in lower libspdlog-dev
fmt_lib introduced after v1.9.2 in spdlog.
2023-09-19 09:45:10 +08:00
YeShanShan 271edf81b1 feat: Add isDefaultValue for DConfig
Add isDefaultValue function.

Issue: https://github.com/linuxdeepin/dtk/issues/3
2023-09-15 16:55:13 +08:00
YeShanShan 9d338ebeb5 fix: Can't clear cache when reset for DConfig in FileBackend
Clear cache.
2023-09-15 16:55:13 +08:00
wangyixue f6fa26e427 chore: update changelog
Release 5.6.17.
2023-09-08 16:39:48 +08:00
wangyixue 1f419d517d fix: incorrect version passed to cmake in build
Should extract correct tag version from pkgver and then pass to cmake.
 * extract tag version and pass to cmake
 * format PKGBUILD for fewer changes in the future
 * provide a more sensible default pkgver

Log: fix incorrect version passed to cmake in archlinux build
2023-09-05 17:05:40 +08:00
deepin-ci-robot 21c6e452ed chore: update changelog
Release 5.6.16.
2023-08-22 15:13:46 +08:00
wangyixue 2a5ecfc8a5 feat: add synchronization workflow
Add synchronization workflow which will create a pull request in
linuxdeepin/dtk6core each time there is a pull request opened in
this repo. Add .syncexclude file to exclude some files that should
not be synchronized.

Log: add synchronization workflow
2023-08-18 17:41:34 +08:00
wangyixue 4c9f2c87c9 fix: missing dependency qttools5-dev
Qt5Help cmake package is provided by qttools5-dev. Dependency is
missing in debian/control.

Log: fix missing dependency qttools5-dev
2023-08-18 17:41:34 +08:00
ck 58244dd554 chore: console with color at tty
revert to c5ca3ba0
2023-08-18 13:47:08 +08:00
ck 55aaa82cf3 chore: add DtkBuildHelper depends
dtkcommon-dev >= 5.6.16
2023-08-18 13:35:54 +08:00
ck ddbb4e5f94 chore: qch docs tweak
find qhelpgenerator from CMake Target property
2023-08-18 13:33:55 +08:00
ck c6484af1c2 chore: support Qt 6.4 build
headers tweak
2023-08-17 09:48:30 +08:00
ck b9cf2a22be chore: tweak CMakeLists
- use DtkBuildHelper functions
- tests/CMakeLists.txt tweak
2023-08-16 09:28:02 +08:00
ck 4c50be9afb chore: ut linked dtkcore instead of source code
- use linked dtkcore target instead of source code
- test-revoverage.sh tweak
- setup_code_coverage && check_and_add_definitions functions(will move to dtkcommon)
2023-08-15 15:17:32 +08:00
ck 5e2b16c51f fix: FileAppender log level not set
log level not set, spdlog default is Info
fix FileAppender ut failed
2023-08-14 17:22:26 +08:00
wangyixue 276ad0d10d chore: update changelog
Release 5.6.15.
2023-08-14 11:00:48 +08:00
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