Commit Graph

531 Commits

Author SHA1 Message Date
xzl ec7efcf4a0 docs: update docs dlog modules
更新dlog模块的文档

Log:
2022-11-22 01:06:48 -06:00
xzl cd06007fc4 docs: update docs
更新DLogManager文档,修改代码中的文档

Log:
2022-11-21 02:29:42 -06:00
xzl 78e7260a3e chore: update references doc
更新文档所需参考文档(临时参考性质)

Log:
2022-11-20 23:22:21 -06:00
xzl ee2012ac3e docs: add dcifile docs
添加dci文件文件注释文档

Log:
2022-11-20 21:09:27 -06:00
chenhongtao d4f8a00af7 chore: fix license
Log: fix license in win32/OutputDebugAppender.h
2022-11-20 20:41:17 -06:00
deepin-admin-bot 5cd8571028 chore: Sync by 6aa579e31c
sync by github workflow

Log: none
Influence: none
2022-11-18 02:00:26 +00:00
ck a4c2b8dfb4 chore: update changelog
update changelog

Log: update changelog
Influence: none
Change-Id: Ifb565f0e4bd5ba89197a169ba405c46fdab49180
2022-11-17 03:59:08 -06:00
ck 8d29493870 fix: Logger constructor crash
LoggerPrivate not init..

Log: 修复帮助手册在升级dtkcore后无法打开的问题
Bug: https://pms.uniontech.com/bug-view-172121.html
Change-Id: Ieee74154a33260043af264a176dabc672a17f559
2022-11-17 03:30:14 -06:00
xzl f34e935321 docs: fix some error in doxygen docs.
修复部分文档错误

Log:
2022-11-16 20:26:27 -06:00
xzl 9ef2debe27 docs: add doxygen theme
添加doxygen主题

Log:
2022-11-16 02:42:22 -06:00
xzl ad3a47a6aa docs: update doxygen docs
更新doxygen文档
TODO: 清理已经添加文档代码中中文注释

Log:
2022-11-16 02:17:15 -06:00
deepin-admin-bot 7caa3f79ed chore: Sync by 50ad27fb2a
sync by github workflow

Log: none
Influence: none
2022-11-16 03:44:15 +00:00
xzl 93dbaf9feb docs: add doxygen docs
添加doxgen文档

Log:
2022-11-15 03:28:36 -06:00
deepin-admin-bot e3fa8c33dd chore: Sync by d15debb9d3
sync by github workflow

Log: none
Influence: none
2022-11-11 06:54:21 +00:00
ck 3a65c261d1 fix: missing sw_64 architecture
fix sw_64 build failed

Log: none
Change-Id: I0f0b997eeab1452155b0c4d0da11454e1df1de4e
2022-11-10 15:20:52 +08:00
heyuming a578bc1a5d improvement: remove unnecessary variant member
不需要保留此变量,因为所有构造函数总会初始化value和error其中之一

Log:移除不必要的成员
2022-11-03 14:53:37 +08:00
wangyixue 27f6160b64 chore: update changelog
Update changelog.

Log: update changelog
2022-10-31 17:31:55 +08:00
范朋程 554d22da1a feat: add ddbusextendedabstractinterface
通过此类可以很方便得实现异步dbus通信
修改tools生成信息中的类名

Log: add ddbusextendedabstractinterface
Change-Id: Ida45d0d22d065af3d86c7ad062419183572291dc
feat: add ddbusextendedabstractinterface

通过此类可以很方便得实现异步dbus通信

Log: add ddbusextendedabstractinterface
Change-Id: Ida45d0d22d065af3d86c7ad062419183572291dc
2022-10-31 15:20:34 +08:00
heyuming dbe1403e19 fix: fix missing std::move for rvalue reference qualified function value
Log: 修复右值引用限定函数value缺少std::move
2022-10-31 02:46:12 +00:00
heyuming 66b5a05b97 fix: fix logic error of DExpected<void> partial specialization's destractor
Log:修复DExpected<void>偏特化的析构错误
2022-10-31 02:46:12 +00:00
heyuming 6ff0c5a9b6 refactor: correct function name has_value to hasValue
Log: 更改has_value为hasValue
2022-10-29 10:15:06 +08:00
heyuming 70208feb66 feat: add DError as default template parameter to DUnexpected
Log: 添加DError为DUnexpected的默认模板参数
2022-10-28 14:44:22 +08:00
heyuming 60f4f0dfb0 fix: fix likely/unlikely type convertion error
Log: 修复likely/unlikely的类型转换引起的编译错误
2022-10-28 14:44:22 +08:00
heyuming 75ad55a9b8 fix: fix reinit imcomplete instantiation
修复reinit函数因类型约束不完整导致的编译错误

Log: 修复reinit函数的不完整实例化
2022-10-28 14:44:22 +08:00
chenhongtao 7aa6f4725d fix: missingdefinition
the first time turn to cmake, the definition is missing

Log: return the missingdefinition
2022-10-27 05:40:29 +00:00
heyuming 7465548579 feat: add default template parameter to type E
Log: 为错误类型添加默认模板参数
2022-10-27 03:46:54 +00:00
Ye ShanShan 8cea334b09 fix: DDbusInterface Can't route complex dbus type
QVariant's typeName is not work for complex dbus data type,
(e.g: QList<QDBusObjectPath>), and it causes QMetaObject'indexOfSignal
return -1.
  We add a special action for DBusArgument Type,
  Add type cast to get typeName and demarshall to get data.

Log: 解决DDbusInterface不能转发复杂DBus类型的信号问题
Influence: none
Change-Id: I1e90f96af384393065ed554daf6a3bb46d32bc39
2022-10-26 13:28:27 +00:00
ck 5c48bd4c84 feat: add sysinfo interface
bootTime; shutdownTime; uptime; arch

Log:
Change-Id: I460a517a6bdb6a980ebf8a6956c1dc8041274985
2022-10-26 18:10:08 +08:00
heyuming a32e231fd4 chore: add CMake rules for installing dexpected.h
以及derror.h

Log: 添加dexpected.h的CMake安装规则
2022-10-24 02:36:46 +00:00
chenhongtao 1b0ec70e0c doc: update README
README to LGPL-3.0-or-later

Log: fix licence
2022-10-21 14:44:40 +08:00
ck 1b07dacb79 feat: update Log license
1. 本次修改为了保证接口兼容头文件部分
的接口定义基本没有变动,包括文件名也是不变的。
但是实现部分做了一些调整,在原有实现的基础上做了
一些改进,包括不限于编码风格和部分定制化的修改。
2. 删除log目录下的无用 LICENSE 文件
3. 更新根目录下的 LICENSE 文件,LGPL-3.0-or-later

Log: none
Change-Id: I23e12fc3cff2ba1221586aa70fcb898bd4f15225
2022-10-21 14:21:47 +08:00
heyuming 01fc362af0 chore: change Dexpected to DExpected
Derror和Dunexpected同理

Log: Dexpected改名为DExpected
2022-10-20 15:26:21 +08:00
heyuming d7cd2fd226 docs: add docs for Derror and Dexpected class
Log: 加入Derror和Dexpected的文档
2022-10-20 14:35:42 +08:00
heyuming ae532db64d feat: add Derror class
Log:加入Derror错误类
2022-10-20 14:35:42 +08:00
heyuming 68952c80d0 feat: add Dexpected class
Dexpected作为错误处理模板类,Dunexpected作为辅助类

Log:加入Dexpected类
2022-10-20 14:35:42 +08:00
deepin-admin-bot 9371813c93 chore: Sync by 6fbf8e00b9
sync by github workflow

Log: none
Influence: none
2022-10-14 05:24:48 +00:00
rewine 8ce7d3e3c7 feat: Optimize compilation parameters
Log: Optimize compilation parameters
2022-10-09 07:21:28 +00:00
guoyao 1b4b0c229a fix(DDBusInterface): can not emit property changed signal
can not emit property changed signal

Log:
2022-09-29 09:04:34 +08:00
rewine 563a954d9c feat: set DtkCore_LIBRARY_DIRS
Log: set DtkCore_LIBRARY_DIRS
2022-09-28 01:06:58 +00:00
liuheng 42bd299eb2 chore: update changelog
update changelog

Log:
2022-09-21 14:34:00 +08:00
ck f1c10cbbff chore: 微调 ddbusinterface 类
1. 去除编译警告,用 static 修饰变量
2. 空指针检测
3. 加上dtkcore 的 namespace

Log: none
Influence: none
Change-Id: Ibf8b72a01f4450f0fdac54a2f6f7040535dd75ee
2022-09-21 13:21:07 +08:00
rewine 17c429611f chore: use SameMajorVersion in version file
Log: dtk 5 与 dtk 6 不保证兼容,使用 SameMajorVersion 更好
2022-09-20 09:04:21 +00:00
heyuming 24313e806b feat: add ddbusinterface
增加ddbusinterface2并且修改相关cmake文件

Log:增加ddbusinterface类
2022-09-14 10:32:28 +08:00
rewine 363b612ef7 chore(tools): remove deprecated script
Log: remove deprecated script
2022-09-08 16:01:54 +08:00
rewine e3f7f6bbd9 fix: don't check DtkCore_TOOL_DIR cause split pkgs
Log: deepin 中,tool 会被分到和 dev 不同的包,因此 dev 提供的 config.cmake  不应该检查
DtkCore_TOOL_DIR 是否存在
2022-09-08 14:38:00 +08:00
rewine 40324bf909 fix: use FULL install path
Log: 安装路径使用绝对路径, INCLUDE_INSTALL_DIR 会传给 .pc 文件
2022-09-08 01:53:37 +00:00
rewine 5321d477ad feat: use CMakePackageConfigHelpers to generate better config.cmake
1. 对 CMAKE_INSTALL_PREFIX 默认值修改移动到根目录 CMakeLists.txt
2. 增加 INCLUDE_INSTALL_DIR TOOL_INSTALL_DIR 变量化简写法
3. 使用专门处理 config.cmake 的 configure_package_config_file 函数代替 configure_file
4. 使用 write_basic_package_version_file 生成 cmake 用的版本文件
5. 补充 pkg-config 的 -L 参数
6. 使用更普适的方法配置 pkg-config 内路径
2022-09-07 10:01:28 +00:00
rewine 513d12a0c1 chore(mkspecs): define mkspecs self
Log: mkspecs path
2022-09-06 06:37:03 +00:00
rewine 7b5422934f chore: use DSG_PREFIX_PATH set PREFIX
Log: use DSG_PREFIX_PATH set PREFIX
2022-09-06 06:37:03 +00:00
chenhongtao 068a6d9688 fix(shell): wrong target
A mistake, since the target name changed, the target name in shell
should also change

Log: fix recoveryshell
2022-09-06 06:16:31 +00:00