wangyixue
de4dc37e39
chore: update changelog
...
Release 5.6.17.
2023-09-08 16:40:52 +08:00
Fan PengCheng
f9d2dcdeb9
fix: 修复应用异常退出后颜色主题未保存的问题
...
修改为设置后立即保存
Log: 修复应用异常退出后颜色主题未保存的问题
Influence: 应用的主题选项在退出重启后未恢复上一次的选择
Bug: https://pms.uniontech.com/bug-view-201203.html
Change-Id: I73b92fd781737e757827bbb6aca87887c2c16ce9
2023-09-01 11:06:12 +08:00
deepin-ci-robot
69e79f8e3a
chore: update changelog
...
Release 5.6.16.
2023-08-22 15:17:45 +08:00
wangfei
09b956383e
fix: dci icon cache key miss theme name
...
dci 图标缓存没有加上主题名导致可能在不同的主题时匹配到其他主题缓存的图标
Issue: https://github.com/linuxdeepin/developer-center/issues/4517
2023-08-21 14:49:36 +08:00
ck
d3d7096c0d
fix(build): ut failed on Qt6.4
...
Fix ut build
2023-08-21 14:15:33 +08:00
ck
b211db014e
chore: add DtkBuildHelper depends
...
dtkcommon-dev >= 5.6.16
2023-08-21 14:08:54 +08:00
YeShanShan
1bbeb9f475
fix: Compiling error in qt6.4
...
QThemeIconEntries changed from QList<QIconLoaderEngineEntry*>
to std::vector<std::unique_ptr<QIconLoaderEngineEntry>>
QFont hasn't include QObject header file.
2023-08-17 16:38:30 +08:00
ck
f08f6ea538
chore: ut build without source
...
- filedrag destroy server to emit serverDestroyed
- compare color sometime failed, convert to rgb first
- ut build without source(cmake -DEnableCov=ON)
2023-08-16 09:28:17 +08:00
wangyixue
cd822bb2c8
chore: update changelog
...
Release 5.6.15.
2023-08-14 11:00:48 +08:00
houchengqiu
c2b0782d00
refator: rewrite hasUserManual function
...
1.porting dbus interface(ManualExists) implementation to dtk
Log: rewrite hasUserManual function
2023-08-03 11:44:40 +08:00
houchengqiu
3f1960067b
chore: Adaptation for Qt5.11
...
Adaptation for Qt5.11
Log: Adaptation for Qt5.11
2023-08-03 11:44:40 +08:00
ck
8f4319308b
chore: add unit test
...
- make tests/test-recoverage.sh runable again
- DDciIconPalette
- DNativeSettings
- add a minimal qpa plugin for test
2023-08-02 16:23:10 +08:00
ck
c2b8c1508b
chore: do not show ui in ut
...
use QWidget::createWinId instead of QWidget::show
to create window handle(QWindow)
2023-08-02 16:23:10 +08:00
ck
07b454ccb7
chore: iconengine tweak and uint test
...
- forward declaration XdgIconLoaderEngine
- xdgiconloader headers position tweak
- XDG colorScheme color support alpha (css color is RGBA not ARGB)
- add ut_XdgIconProxyEngine ut_DIconProxyEngine
2023-07-31 13:29:16 +08:00
deepin-ci-robot
5f457d2225
chore: update changelog
...
Release 5.6.14.
2023-07-27 16:17:11 +08:00
ck
afb7340011
feat: load app and qt Translation files
...
- interface: DGuiApplicationHelper::loadTranslator();
- auto load qt_xxx.qm && qtbase_xxx.qm && appName_xxx.qm
- add loadTranslator ut
2023-07-27 11:52:02 +08:00
ck
994133ca16
fix: dplatformtheme fetchPalette crash
...
nullptr check
2023-07-26 17:29:55 +08:00
wangyixue
9523642508
feat: add helper for high dpi pixmap
...
Add loadNxPixmap for high dpi pixmap.
Log: add loadNxPixmap
2023-07-26 14:29:30 +08:00
ck
e7834e1763
fix: DFileDragClient::serverDestroyed nerver emit
...
emit serverDestroyed in ~DFileDragServer()
DDndClientSignalRelay::serverDestroyed emit DFileDragClient::serverDestroyed
add dfiledrag unit test
2023-07-25 08:56:50 +08:00
ck
fa3ca10d03
fix(build): DIconTheme ut failed
...
DIconTheme::createIconEngine always create DIconProxyEngine
so DIconTheme::isBuiltinIcon && DIconTheme::isXdgIcon failed
add DIconProxyEngine::proxyKey() to get proxy iconengine's key
2023-07-21 16:13:51 +08:00
ck
ba55aa6e7d
feat: DIconTheme::findQIcon add fallback icon
...
support fallback icon
2023-07-18 11:00:28 +08:00
wangfei
1cb3939cf9
fix: build failed in qt6 due to proxyengine
...
adjust some about iconproxyengine to build qt6
Log: fix build failed in qt6 due to proxyengine
2023-07-13 13:05:41 +08:00
ck
ff836690e5
chore: remove unused pro files
...
remove pro files
2023-07-12 09:43:34 +08:00
YeShanShan
95f8b5ffd3
refactor: Move dotsPerInch from normal function to slots
...
It exports to qt meta system for qml.
and it doesn't break ABI compatibility depend on
https://community.kde.org/Policies/Binary_Compatibility_Issues_With_C%2B%2B#Using_signals_instead_of_virtual_functions
2023-07-12 08:51:48 +08:00
wangfei
0b63795ee7
chore: add proxyiconengine
...
add proxyiconengine from qt5integration
Log: add proxyicnengine from qt5integration
2023-07-10 17:33:37 +08:00
deepin-admin-bot
e17e250fe1
chore: Sync by 559e91167d
...
sync by github workflow
Log: none
Influence: none
2023-07-10 06:30:59 +00:00
SPUER
20c5c09315
chore: reduce compilation warnings
...
解决赋值返回警告
解决\l不能解析警告
解决\value不能解析警告
Issue: https://github.com/linuxdeepin/dtk/issues/96
2023-07-07 06:07:15 +00:00
wangfei
724af5ebf3
chore: add unit test about dciiconengine
...
add unit test about dciiconengine
Log: add unit test about dciiconengine
2023-07-07 09:54:54 +08:00
wangfei
b810be77cb
chore: adjust icontheme
...
dciiconEngine is added to createIconEngine interface.
Log: dciiconEngine is added to createIconEngine interface.
2023-07-07 09:54:30 +08:00
wangfei
98b9632f63
chore: add dciiconengine
...
add dciiconengine frome qt5integration
Log: add dciiconengine
2023-07-06 13:11:14 +08:00
ck
d867a02cda
refactor!: deprecate some interfaces in dtk6
...
- DGuiApplicationHelper -7
- DPalette -1
- DPlatformTheme -27 properties
2023-07-06 11:24:23 +08:00
wangfei
0d9e457d13
chore: add unit test about builtinengine
...
add unit test ut_builtinengine about builtinengine
Log: add unit test about builtinengine
2023-07-05 16:12:26 +08:00
WangFei
2c4cc71e0d
chore: adjust xdgiconproxyengine ( #167 )
...
add difference about xdgiconproxyengine from qt5integration
Log: add difference about xdgiconproxyengine from qt5integration
Co-authored-by: wangfei <wangfei@deepin.org>
2023-07-05 07:51:38 +00:00
WangFei
4350475fe1
chore: adjust builtiniconengine ( #164 )
...
add the difference about builtiniconengine from qt5integration
Log: add the difference about builtiniconengine from qt5integration
Co-authored-by: wangfei <wangfei@deepin.org>
2023-07-05 07:50:57 +00:00
WangFei
3cf033b048
chore: change OUTPUT_DIR variable in cmake ( #163 )
...
change OUTPUT_DIR to CMAKE_CURRENT_BINARY_DIR
Log: change OUTPUT_DIR to CMAKE_CURRENT_BINARY_DIR
Co-authored-by: wangfei <wangfei@deepin.org>
2023-07-04 03:36:24 +00:00
syn
536f1f9dff
chore: ignore doxygen-theme folder
...
Log: 修复编译时加上BUILD_THEME宏后,自动拉取doxygen-theme导致git管理的项目产生污染
Task: https://github.com/linuxdeepin/dtk/issues/99
2023-07-03 17:21:36 +08:00
wangyixue
6588a86d71
chore: update changelog
...
Release 5.6.12.
2023-06-25 16:38:19 +08:00
ck
0ad02e6ce7
chore: update dconfig appid
...
1. dconfig meta file installed by libdtkdata.
2. appid switch to org.deepin.dtk.preference
2023-06-25 09:38:21 +08:00
ck
62b66a9f05
fix: ut failed
...
1. dciicon memery leak(ReaderData not delete)
2. DImageHandler memery leak
3. use png instead of svg (no need svg imageiohandler plugin)
2023-06-19 13:13:09 +08:00
ck
dcede1f96d
chore: Adapt Qt6 && Dtk6 compilation
...
Since xdgiconloader is not adapted to Qt6, libxdg is disabled by default when compiling Dtk6
Do not install dconfig file in dtkgui to avoid conficts with dtk6gui
C++ 17 by default
DVERSION ==> DTK_VERSION
cmake_minimum_required 3.13
tools install to CMAKE_INSTALL_LIBEXECDIR
2023-06-19 13:13:09 +08:00
ck
b683e97cbc
fix(build): suport build with Qt6 && Qt5
...
使用条件编译将选择不同版本 Qt 接口
2023-06-19 13:13:09 +08:00
heyuming
58095a743f
fix: fix build failure due to metasystem change
...
在构建dtkwidget中遇到
Log: 修复因为元系统改变导致的编译失败
2023-06-07 18:32:28 +08:00
deepin-admin-bot
6c4bbde470
chore: Sync by 2e5e092ba3
...
sync by github workflow
Log: none
Influence: none
2023-05-10 02:24:13 +00:00
ck
dd10f593b7
chore: bump version to 5.6.11
...
update changelog
2023-05-08 15:07:16 +08:00
YeShanShan
3196e5d7a0
fix: App blocked by hasUserManual in live system
...
Maunal dbus service isn't registed in live system firstly, we
should wakeup it instead of blocking UI.
It may be cause app of `longlong` hasn't Manual when click menu
to show Maunal firstly.
Bug: https://pms.uniontech.com/bug-view-197713/.html
Log: 解决在live系统中,帮助手册dbus调用导致应用阻塞
2023-05-05 14:02:59 +08:00
rewine
6b366af60a
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-05-05 03:51:14 +00:00
chenhongtao
8aee0513e7
fix: reuse lint
...
Log: fix reuse
2023-05-05 03:23:23 +00:00
zccrs
d52cc4c111
chore: add a unit test for DDciIconPlayer
...
Test the non-animation image.
2023-04-26 13:26:13 +08:00
YeShanShan
6dc214c70a
fix: ThemeType is inconsistent
...
We should emit Event to prompt QGuiApplication update QPalette.
if themeType is changed firstly.
2023-04-24 18:54:24 +08:00
YeShanShan
978be55303
fix: App crashed when `setPaletteType` called early
...
ASSERT: "The application ID is empty" if `setPaletteType` is
called before QGuiApplication contrusted.
`q->themeType` will try to use `DConfig`, It's applicationName
is Empty.
2023-04-24 13:58:07 +08:00