Commit Graph

70 Commits

Author SHA1 Message Date
zty199
f2b69ceb5e fix: typo in config group name
correct: SparkWebAppRunTime -> SparkWebAppRuntime

Log: correct typo when parsing config file
2024-10-20 17:34:24 +08:00
bf6a6893b3 fix: link update 2024-10-20 16:34:45 +08:00
zty199
c18a5b5b36 fix: compilation error on Ubuntu
add QtDBus module in .pro, for older version Dtk5 didn't include this module correctly

Log: add QtDBus module in .pro
2024-10-20 16:29:27 +08:00
64d5e51ef3
!5 reverse merge
Merge pull request !5 from shenmo/master
2024-10-20 08:11:56 +00:00
290c57e1bc actions 2024-10-20 16:03:27 +08:00
zty199
7e5525d4e9 fix: setDescription from cmdline or cfg not working
when aboutDialog is not created yet, ApplicationDescription can't be set

Log: merge changes from develop/qt6 branch
2024-10-20 15:47:35 +08:00
c4e34eb048 fix: Hide buttons can't take effect 2024-10-20 13:22:53 +08:00
3ded131e34
引号没结束
Signed-off-by: shenmo <jifengshenmo@outlook.com>
2024-10-19 15:07:03 +00:00
8a950603d9
1.8
Signed-off-by: shenmo <jifengshenmo@outlook.com>
2024-10-19 15:04:25 +00:00
19233d8c22
feat: Support local html file
Signed-off-by: shenmo <jifengshenmo@outlook.com>
2024-10-19 15:02:56 +00:00
4e4bf8a80f
!4 修复多个窗口共用同一个配置文件导致锁定的问题
Merge pull request !4 from gfdgd xi/master
2024-10-19 14:58:45 +00:00
d197bd3a04 修复多个窗口共用同一个配置文件导致锁定的问题(https://gitee.com/spark-store-project/spark-web-app-runtime/issues/IA759Q) 2024-10-19 22:54:46 +08:00
zty199
a95e7e1beb feat: 使用自定义 webkit 滚动条
使用自定义 webkit 滚动条,避免 QWebEngineView 原生滚动条显示(仅在 QWebEnginePage 加载时生效,部分页面动态刷新时滚动条样式不生效)

Log: 使用自定义 webkit 滚动条
2023-10-14 18:23:58 +08:00
zty199
23b40dd231 fix: 修复关于窗口被主窗口遮挡问题
Application::initAboutDialog 执行过早,qApp->activeWindow() 指针为空,关于窗口没有父对象,与主窗口互相抢占焦点

Log: 去除 Application 构造函数中调用 initAboutDialog 操作;handleAboutAction 中,若 aboutDialog() 指针不为空则 return
2022-12-26 14:25:26 +08:00
zty199
edff5b7b31 chore: 添加 libqt5dbus5 依赖
debian/control 添加 libqt5dbus5 编译与运行依赖

Log: debian/control 添加 libqt5dbus5 依赖;更新 debian/changelog 版本至 1.7.0-1
2022-12-19 09:46:24 +08:00
zty199
6b8b31ebf6 fix: 修复 UOS 编译兼容性问题
网页通知获取依赖 QWebEngineNotification 类,在 Qt 5.13 引入

Log: 添加宏定义,判断 Qt 版本 >= 5.13 启用网页通知功能
2022-12-19 09:40:48 +08:00
zty199
faa613d671 feat: ISSUE #I62BVT 添加网页通知功能
WebEngineView 中添加 WebEngineView::present(std::unique_ptr<QWebEngineNotification> &newNotification) 函数,通过 DNotifySender 转发系统通知

Log: 添加网页通知功能,通知图片缓存在 /tmp 下;使用 DLogManager 生成日志;修复强制使用 DTK 平台插件异常问题
2022-12-19 09:31:32 +08:00
zty199
fa54612642 chore: 更新 debian/changelog
更新 debian/changelog

Log: 更新 debian/changelog
2022-11-21 14:46:09 +08:00
zty199
4a81898cd3 fix: 修复 UOS 上加载 RC 页面始终处于加载中的问题
页面加载始终未触发 loadFinished 信号,判断加载未完成

Log: 添加 loadProgressChanged 信号处理,加载进度到 100% 就显示页面;loadFinished 信号如果报错,在窗口中提示“加载存在错误”
2022-11-21 14:38:57 +08:00
zty199
eb2bdaca63 chore: 更新版本至 1.6.6
更新版本至 1.6.6

Log: 更新版本至 1.6.6;更新翻译文件
2022-11-21 00:09:21 +08:00
zty199
6b25b50696 feat: 支持启动时识别 DTK 主题颜色,判断网页是否需要显示为深色模式(切换 DTK 主题后重启生效,不支持实时生效)
https://github.com/qutebrowser/qutebrowser/issues/4840
启动时判断 DTK 主题颜色,QTWEBENGINE_CHROMIUM_FLAGS 环境变量添加 --blink-settings=preferredColorScheme=0 启用深色模式(或 --force-dark-mode)(Qt >= 5.14,当前仅 Deepin 支持)

Log: 支持启动时识别 DTK 主题颜色,判断网页是否需要显示为深色模式
2022-11-20 23:55:52 +08:00
c6b6734c9e 替换UOS商店 2022-11-20 18:37:37 +08:00
6202da0b1d 1.0 2022-11-20 18:14:42 +08:00
zty199
1b3d161f4d feat: 支持 dpkg-buildpackage 打包
支持 dpkg-buildpackage 打包

Log: 支持 dpkg-buildpackage 打包;整理项目目录结构
2022-11-20 17:49:00 +08:00
zty199
1aed5532a3 feat: 限制同标题进程单例运行;网页链接调用浏览器打开
使用 DApplication::setSingleInstance,使用 标题_uid 创建进程锁,单例运行时新进程自动退出,并拉起原有进程主窗口显示;重写 QWebEnginePage,createWindow 时若链接与原来不同,则调用浏览器打开

Log: 支持单例运行;支持浏览器打开外部链接;修复访问深度论坛默认语言错误问题
2022-11-20 15:57:54 +08:00
d6b5895812 !3 fix: chrome gpu 参数
* fix: chrome gpu 参数
2022-10-08 14:41:19 +00:00
5fa7bb5086 !2 GPU 默认开启
* update: translations
* reademe: update GPU info
* feature: 默认开启GPU
2022-07-08 09:44:17 +00:00
ab56306b3d
update spark-webapp-runtime/main.cpp. 2022-04-07 07:35:03 +00:00
97441a9e07
update spark-webapp-runtime/globaldefine.h. 2022-04-07 07:33:46 +00:00
f4e3e760b1
update spark-webapp-runtime/globaldefine.h. 2022-04-07 07:33:06 +00:00
f7f03b36b9
update spark-webapp-runtime/globaldefine.h. 2022-04-07 07:26:47 +00:00
2ad0147477
!1 通过在main函数强行加入参数修复一些样式问题
Merge pull request !1 from RigoLigo/N/A
2022-04-07 07:16:47 +00:00
RigoLigo
20da4c852d
通过在main函数强行加入参数修复一些样式问题 2022-04-07 07:10:32 +00:00
c303cde973
update README.md.
过于羞耻
2022-02-02 17:07:20 +00:00
ut003880
1db592eb50 feat: 标题栏菜单添加清除缓存按钮
特殊情况下会出现打开页面与预期不符的情况,需要清除缓存文件夹

Log: 标题栏菜单添加清除缓存按钮;整理代码;重新启用自定义关于窗口
2022-01-05 19:02:27 +08:00
e084d58377 修改: spark-webapp-runtime/main.cpp
修改:     spark-webapp-runtime/mainwindow.cpp
	修改:     spark-webapp-runtime/mainwindow.h
2021-12-29 23:24:26 +08:00
ut003880
2453752bd7 fix: 修复退出全屏模式后菜单状态不同步的问题
重载 resizeEvent,根据窗口状态手动同步菜单状态。

Log: 修复退出全屏模式后菜单状态不同步的问题
2021-07-26 15:16:15 +08:00
ut003880
2f38b9dd76 fix: 修复部分网页无法正常跳转的问题
对于网页打开方式为新窗口打开的网页进行修复
2021-07-22 12:44:49 +08:00
zty199
f6542879de Fix Bugs
Fix a bug when 'save as' file dialog is canceled, next download will be blocked.
2021-05-09 00:35:05 +08:00
77a999e22e Improve Features
Delete hint when switching between FullScreen and Windowed Mode;
Support closing MainWindow automatically when windowCloseRequested by
webpage.
2021-01-30 14:11:25 +08:00
8da4f87164 Improve Features
Using DDesktopServices::showFileItem() instead of calling
dde-file-manager directly in QProcess;
Delete useless QDebug info and headers include.
2020-12-16 18:58:00 +08:00
shenmo
0f256ff27b update README.md. 2020-12-07 15:16:09 +08:00
c412743642 Fix Bugs & Improve Features
Restrict downloading one file at a time;
Fix a bug if downloading second file, the progress bar won't show;
Support pause / resume / cancel download operation.
2020-12-01 15:15:47 +08:00
e808bd2af7 Update README.md 2020-11-30 22:31:32 +08:00
0744089adc Delete unused headers 2020-11-30 22:26:15 +08:00
a3da6e964f Fix Bugs
Fix bugs in commandlineparsers.
2020-11-30 15:25:00 +08:00
17bd206e18 Improve Features
Support tray icon;
Fix few bugs about confliction between fullscreen mode and fixsize
option.
2020-11-30 02:22:28 +08:00
3b54057d49 Update translation
Add missing translation.
2020-11-29 03:14:25 +08:00
4b3cc4276d Improve Features
Support run in Fullscreen mode;
Suppport "save as" when downloading files.
2020-11-29 03:02:11 +08:00
4a753259d3 Improve Features
Support downloading files from website directly;
Show DSpinner before webpage loading progress finished.
2020-11-28 04:26:30 +08:00