Commit Graph

261 Commits

Author SHA1 Message Date
ck b1a1654f69 chore: update changelog
5.6.2.2

Log: none
Influence: none
2022-11-30 11:54:26 +08:00
Ye ShanShan 9fb5d8c794 fix: Remove ASan check for debug
Removing asan check

Log: 移除库的asan检测
Influence: none
Change-Id: I248ae4d41dfcb70e565fc68d510b9c318c459ee1
2022-11-29 14:51:24 +08:00
ck b6d844990b feat: construct DDciIconPalette from QPalette
add a way to construct DDciIconPalette from QPalette

Log: none
Influence: none
Change-Id: I4e9b9f8bf3a653c066bf92c7ba1a3ef72526e2ac
2022-11-29 11:42:52 +08:00
ck 1e305e8e38 fix: 包含 href 特性的 svg 图标无法显示
librsvg2 对 SVG2 的 href 解析有问题,需要改成 xlink:href 规避
当前是临时规避方案,如果后续 librsvg2 升级修复这个问题,可以 revert
https://www.w3.org/TR/2018/CR-SVG2-20181004/types.html#InterfaceSVGURIReference

Task: https://pms.uniontech.com/task-view-218689.html
Influence: 包含href的svg图标
Log: 修复包含href的svg图标无法显示的问题
Change-Id: Idaf0ca9519153cd8fe217aeaaeab250b18f35393
2022-11-25 16:20:41 +08:00
deepin-admin-bot 7f0057bcd0 chore: Sync by 3de30af6dc
sync by github workflow

Log: none
Influence: none
2022-11-24 08:45:32 +00:00
deepin-admin-bot f688039440 chore: Sync by 6aa579e31c
sync by github workflow

Log: none
Influence: none
2022-11-18 02:00:24 +00:00
ck 934be318be feat: add DIcon
get pixmap of specified devicePixelRatio
Fix https://pms.uniontech.com/bug-view-162771.html

Log: none
Change-Id: I38b16c8402be74d1ef216faf7c77fa096282dadc
2022-11-17 13:54:12 +08:00
deepin-admin-bot de0385eca6 chore: Sync by 50ad27fb2a
sync by github workflow

Log: none
Influence: none
2022-11-16 03:44:34 +00:00
deepin-admin-bot f94b34cf37 chore: Sync by d15debb9d3
sync by github workflow

Log: none
Influence: none
2022-11-11 06:54:33 +00:00
Ye ShanShan 27eeedefdf feat: Moving loadTranslator from dtkwidget
moving implement of loadTranslator from dtkwidget,
  refact the code's logic.

Log: 加载翻译功能移至dtkgui,以便供dtkdeclarative使用
Bug: https://pms.uniontech.com/bug-view-157977.html
Influence: qml相关应用没有加载翻译
Change-Id: I75483320cbb6f8a1378cb8a93f00da3d8abfc26f
2022-11-03 10:24:56 +08:00
kamiyadm cedce64025 fix: cannot find dman if the installation path not /usr/bin
find dman from system environment variables

Log: none
2022-10-28 13:11:55 +08:00
wang fei aa23085099 feat: Add Warning for unsupport Image format
it causes paint error when load unsupport image format, we add
output some information.
  we can install package `qt5-image-formats-plugins`.
  it's need to support `webp` image for some dci icon.

Log: 添加dciicon图标解析失败导致无法绘制时的警告信息
Influence: none
Change-Id: Ief27263af5caa74c4a9f0436ebdf8759ea39bd82
2022-10-27 11:24:16 +08:00
ck 37aa254da9 fix: filedrag do not send data in ll-box
qApp->applicationPid() 获取的是沙箱中的pid
QDBusConnectionInterface::servicePid 获取的是沙箱外的pid
改成相同的pid

Log: 修复v23无法拖拽邮件到桌面
Bug: https://pms.uniontech.com/bug-view-156601.html
Change-Id: I1e41a47e7f1e5030a33fff766b7fa35c675b7ae7
2022-10-20 11:36:13 +08:00
deepin-admin-bot 3fc47d2201 chore: Sync by 6fbf8e00b9
sync by github workflow

Log: none
Influence: none
2022-10-14 05:24:57 +00:00
rewine 5204f570ef feat: Improve install path information
Log:
1. Add DtkGui_LIBRARY_DIRS
2. fix typo in Config.cmake
3. replace the previously missed  INCLUDE_INSTALL_DIR
2022-09-27 03:35:46 +00:00
Ye ShanShan d30618f92b fix: Cast error when platform theme changed
QMetaMethod::invoke will test whether object is an instance
of the QMetaObject by Q_ASSERT(mobj->cast(object)),
but invokeOnGadge will not, and their role seem to be the same,
we only use DirectConnection to invoke it.
  DPlatformTheme is inherits DNativeSettings, and it's metaobject
is changed to DNativeSettings in qt5platform-plugin.

Log: 调用invoke会做assert判断,导致当qt为debug编译时,改变主题会导致程序崩溃
Influence: 当qt为debug编译时,改变主题会导致程序崩溃
Change-Id: I9133430ba6f3df4c4a806ff9fa96ba8ec8213ce4
2022-09-27 02:10:05 +00:00
Ye ShanShan 999b6f5fc5 fix: Application theme can't follow change by system
DPlatformTheme is invalid when DGuiApplicationHelper::instance()
is called before QApplication constructed. it causes application
theme can't follow change by control-center setted.

  for example:
```c++
DGuiApplicationHelper::instance();
QApplication a(argc, argv);
```
  it also reports warning info about `Must construct a QGuiApplication
before accessing a platform function` in QGuiApplication.

Log: 延迟DPlantfromTheme构造
Bug: https://pms.uniontech.com/bug-view-160485.html
Influence: 先调用DGuiApplicationHelper::instance()可能有影响,
若先构造QApplication,与之前逻辑一致

Change-Id: I91297fb47c38c1ebb6d97f9c62915aa5d5557624
2022-09-26 11:38:24 +08:00
rewine f7324e32cf feat: Improve version information
1. 使用 CMakePackageConfigHelpers 生成 Config.cmake
2. 提供 DtkWidgetConfigVersion.cmake 供调用者检查版本
3. 使用 GNUInstallDir 提供的 FULL 版本变量配置 pkg-config 路径
4. 补充 pkg-config -L 参数
5. 增加引入 dtkcore 版本检查
2022-09-22 14:34:03 +08:00
chenhongtao 69f96446c0 fix(licence): licence
README and LICENSE

Log: fix licence
2022-09-22 05:33:34 +00:00
Wang Zichong 798f77411a chore: update .reuse/dep5 for dox format doc files
更新 dep5 文件,追加对 dox 格式文档文件的声明
2022-09-08 01:36:08 +00:00
Wang Zichong 084d467a83 docs: update docs related to DGuiApplicationHelper
更新与 DGuiApplicationHelper 相关的文档

相关反馈:https://github.com/orgs/linuxdeepin/discussions/3412

Log:
2022-09-08 01:36:08 +00:00
chenhongtao 4cffb60f92 chore(mkspecs): define mkspecs self
一开始只处理了archlinux和debian,但是nixos更加特殊,以外还有很多不知道的处理,所以让打包者自定义好了

Log: mkspecs path
2022-09-06 06:23:02 +00:00
chenhongtao 09de488645 fix(coverage): add the option of compiler to generage gcda files
A mistake, the compile option is forgetton

Log: add compiler options to generage gcda files
2022-09-05 09:04:13 +00:00
chenhongtao 9dbff1eb87 fix(shell): fix recoveryshell to cmake
Now the configure file is cmake , then the shell should be cmake too

Log: fix recoveryshell
2022-09-02 08:28:53 +00:00
chenhongtao adb29f1dff fix: wrong option() usage in CMakeLists.txt
修复错误的 option() 用法

Log: wrong option usage
2022-09-02 15:06:28 +08:00
Chen Bin c20933e29c fix: Abnormal Dci Icon on high resolution screen
The AA_UseHighDpiPixmaps attribute is used to control the icon
blurring problem of the high-resolution screen. However, we do
not use this attribute, but expand the standard size of the icon
by default. This is unreasonable. Therefore, we modified the way
to enlarge the icon size to use AA_ After the usehighdpipixmaps
attribute, the icon blurring problem of the high-resolution screen
is solved.

Log:
Bug: https://pms.uniontech.com/bug-view-150309.html
Change-Id: Ie7d476cdec6c2ddea0a6432bc4a8a7d26aab5cac
2022-09-02 14:19:42 +08:00
chenhongtao 750478f24e feat(doc): add package libdtkgui-doc
build the package for doc

Log: build the pacakge of doc for dtkgui
2022-09-02 06:18:11 +00:00
Chen Bin 0abaada3ce fix: XdgIcon crashed in release mode
The return value is not processed effectively, resulting
in an exception under release mode.

Log:
Change-Id: I0c6e918a99fd6f28a441c23a28c786dac572f5e2
2022-08-31 11:11:45 +08:00
deepin-admin-bot edd1ce77ac "chore: Sync by " 2022-08-30 09:07:26 +00:00
Ye ShanShan bf97026e5e chore: Add zh_CN readme
add README.zh_CN.md

Log: 添加中文说明文档
Influence: none
Change-Id: I2be04bc4b9142d6ba3cb095a1a075212031d6895
2022-08-29 08:25:11 +08:00
xzl 77638b7fb5 chore: update .dep5
更新dep5文件

Log: 更新dep5文件
2022-08-19 10:31:01 +08:00
Chen Bin 4869430d96 fix: blocked UI when help service is not open
When migrating dtkwidget code, not all code was added
completely, leaving out how to get services through the
other thread.

Log:
Influence: None
Change-Id: Ib45b596bff68a138df0b0dd50d8fb8ec0c3827c4
2022-08-18 13:14:20 +08:00
ck d1188cf35b fix(build): invalid digit "8" in octal constant
when BUILD_VERSION start with 0 was recognized as octal

Log:
Influence: debian build
Change-Id: Ic71784120cacd66f763a72f38937fc0d99fb0454
2022-08-18 13:13:56 +08:00
ShootingStarDragons 7f227daf8a feat(tocmake): tocmake
I change the source code from qmake to cmake. Move the files
which will be install to the /usr/include to $root/include, which will
help to mattern match and easylier to do install. and the change will
break the build of qmake

Log: from qmake to cmake

Influence: qmake is breaked
2022-08-17 16:59:12 +08:00
deepin-bot[bot] b9d3127db6
chore: Sync by 8fb17418f4 (#49)
chore: Sync by 8fb17418f4
2022-08-16 09:28:16 +00:00
deepin-bot[bot] bdfcc85de9
chore: Sync by ab82576125 (#48)
chore: Sync by ab82576125
2022-08-16 00:07:28 +00:00
wangyixue 7efd175217 chore: Rename zh_CN README
Rename README_zh_CN.md to README.zh_CN.md.

Log: Rename zh_CN README
Influence: None
2022-08-15 08:12:50 +00:00
deepin-bot[bot] 689785e07e
chore: Sync by 64c2bdac28 (#46)
chore: Sync by 64c2bdac28
2022-08-15 02:22:49 +00:00
wangyixue 1ad9b719d5 chore: Add zh_CN README
Add zh_CN README.

Log: Add zh_CN README
Influence: None
2022-08-15 01:50:18 +00:00
deepin-bot[bot] c4bd7a1dd5
chore: Sync by 1086c873ff (#44)
chore: Sync by 1086c873ff
2022-08-12 01:59:12 +00:00
deepin-bot[bot] 0f802e61e4
chore: Sync by 8cd7951872 (#43)
chore: Sync by 8cd7951872
2022-08-11 08:45:53 +00:00
xzl 987b356f46 chore: adapt REUSE license header
修改版权声明

Log: 修改版权声明
2022-08-11 05:01:51 +00:00
Chen Bin 75e7f708ae chore: Add stream operators for DciIcon
Register the stream operators when the ddciicon
has been initialized. It is convenient to drag
and drop in the list view and register it into
the meta object.

Log:
Influence: None
Change-Id: I90ba9199bd3139e0423f1a3d8a6897990e697708
2022-08-11 02:41:51 +00:00
Wang Zichong c58b078b79 chore: build doxygen documentation
追加基于 doxygen 的文档构建

Log:
2022-08-09 07:58:58 +00:00
Chen Bin 8a9fa760f0 feat: Register the DciIcon as a meta type
After registering the DciIcon as a meta type, it is
convenient for applications to use it on QVariant.

The << and >> operators are provided to facilitate
applications to read and write.

Log:
Influence: None
Change-Id: I0df76a9e5378a46dcb075b2368fd05eb360d074d
2022-07-29 07:31:23 +00:00
zccrs 2c345bbd26 fix: remove unused depend of Archlinux
Remove 'qt5-x11extras'.

Log:
2022-07-27 11:34:32 +08:00
deepin-bot[bot] 7e2f328a57
chore: Sync by fed570b6d7 (#35)
chore: Sync by fed570b6d7
2022-07-26 05:40:33 +00:00
Cloud 20fd72d9d3 fix: build failed when the .git folder exist
build failed when the .git folder exist

Log: fix build failed when the .git folder exist
2022-07-25 08:58:53 +00:00
justforlxz ffe5dfa572 fix: missing runtime qtxdg
add qtxdg package

Log:
2022-07-21 18:05:06 +08:00
deepin-bot[bot] 0c3dd24063
chore: Sync by (#33)
chore: Sync by
2022-07-21 09:55:45 +00:00