Tsic Liu
230636f2e1
feat: add startupwmclass prop export
...
log: as title
2024-09-10 09:55:40 +08:00
Tsic Liu
5b99e9e4b9
feat: add cmake for find am dbus api
...
log: as title
2024-09-05 13:41:27 +08:00
Yutao Meng
18a176c223
fix: Unable to run program with options
...
Issue: https://pms.uniontech.com/bug-view-243475.html
Log: Unable to run program with options
Signed-off-by: Yutao Meng <mengyutao@deepin.org>
2024-08-28 14:22:42 +08:00
ComixHe
0e6c21360c
fix: change canConvert(int) to canConvert<typename T>()
...
method canConvert(int) has been deprecated
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-08-13 09:41:52 +08:00
ComixHe
57fbf5f681
fix: uninstantiated static_assert(false, "") was ill-formed
...
This is c++ language core issue, refactoring the implementation of dumpDBusObject.
core issue:
https://cplusplus.github.io/CWG/issues/2518.html
gcc has fixed this bug since version 13.1:
relative-commit: https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=9944ca17c0766623bce260684edc614def7ea761
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-08-13 09:41:52 +08:00
ck
7939cd568a
chore: bump version to 1.2.15
...
release 1.2.15
Log: bump version to 1.2.15
2024-07-11 10:44:16 +08:00
ck
88b0159cc3
fix: deepin-home checkauto start failed
...
初次启动时对比filepath 还需要看看 X-Deepin-GenerateSource
Issue: https://github.com/linuxdeepin/developer-center/issues/9638
2024-07-10 17:04:06 +08:00
ck
50a0ad53ec
feat: add app extra/unset env config
...
to fix #8667 you can
- subpath:"/FoxitReader" appExtraEnvironments : "QT_QPA_PLATFORM=xcb"
- subpath:"/FoxitReader" appEnvironmentsBlacklist : "QT_QPA_PLATFORM"
```
dde-dconfig set -a org.deepin.dde.application-manager -r org.deepin.dde.application-manager -k appExtraEnvironments -s "/FoxitReader" -v "[\"QT_QPA_PLATFORM=xcb\"]"
dde-dconfig set -a org.deepin.dde.application-manager -r org.deepin.dde.application-manager -k appEnvironmentsBlacklist -s "/FoxitReader" -v "[\"QT_QPA_PLATFORM\"]"
```
Issue: https://github.com/linuxdeepin/developer-center/issues/8667
2024-06-13 11:32:10 +08:00
ComixHe
006f80d681
refactor!: remove old dde-dock compatibility files
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-06-12 11:01:02 +08:00
ck
a38e507673
chore: bump version to 1.2.14
...
release 1.2.14
Log: bump version to 1.2.14
2024-06-07 14:16:36 +08:00
ck
fd3ca82346
chore: add instance on start state
...
get all states `systemctl --state=help`
use ListUnitsByPatterns to list Units
2024-06-06 16:29:23 +08:00
ComixHe
e14d7b9540
refactor: dumpDBusObject
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-06-06 11:52:43 +08:00
ck
e827f404ac
fix: build faild
...
dumpDBusObject
2024-06-06 11:52:43 +08:00
ck
60414b5271
refactor: use QHash instead of QMap
...
- use QHash to improve access performance
- key use appId instead of objectpath
2024-06-05 16:22:23 +08:00
ck
2cc1515229
fix: instance not add if service start after AM
...
try add instance on JobNew signal
Issue: https://github.com/linuxdeepin/developer-center/issues/8879
2024-06-05 16:22:23 +08:00
zsien
2dcc4a12e6
chore: bump version to 1.2.13
...
* chore: set apps quit timeout to 3s (https://github.com/linuxdeepin/developer
-center/issues/8554)
2024-05-27 09:16:23 +08:00
zsien
234c014475
chore: set apps quit timeout to 3s
...
添加 systemd drop-in 文件,将 app-DDE- 开头的
服务退出超时时间设置为 3s
Issues: linuxdeepin/developer-center#8554
2024-05-27 09:16:23 +08:00
ck
571cd93382
chore: make sure autostart dir existed
...
mkdir if autostart dir not existed
2024-05-22 16:14:33 +08:00
ck
84db7090d5
feat: add safe_sendErrorReply
...
crash when Not called from DBus (ApplicationService::setAutoStart)
2024-05-22 16:14:33 +08:00
zhangkun
4267b3b4b7
fix: unable to launch application with non path exec field
...
Only check for situations without shebang
Issue: https://github.com/linuxdeepin/developer-center/issues/8682
2024-05-22 10:16:04 +08:00
shenmo
b2c0e41631
adjust: Fix use too long time when starting apps
...
Rewrite this script to make it easier to read and disable full-text scan when the executable is not even a text
1. Check if the file is a script and is executable and lack of shebang.(If not executable, we should not let it run.)
1.1 If python, then use python, else use bash.
2. If do not need to fix,just try to run.
2024-05-21 16:03:12 +08:00
Ye ShanShan
714f77f952
feat: add DSG_APP_ID environment for application
...
as title.
2024-05-17 18:07:06 +08:00
ComixHe
23002cda6a
fix: correct autostart source during scanning autostart desktop file
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-05-15 13:30:59 +08:00
ck
0555895452
chore: check std::find_if result
...
sendErrorReply if not found..
2024-05-15 11:02:53 +08:00
ck
9abfe04e4a
chore: bump version to 1.2.12
...
release 1.2.12
Log: bump version to 1.2.12
2024-05-14 21:24:15 +08:00
ck
fa62291daf
fix: open terminal with shortcut for first time crashed
...
reutrn {} at end of std::vector<MimeInfo>
Issue: https://github.com/linuxdeepin/developer-center/issues/8598
2024-05-14 21:24:15 +08:00
ck
d989a82b37
chore: bump version to 1.2.11
...
release 1.2.11
Log: bump version to 1.2.11
2024-05-13 09:49:07 +08:00
ck
b639ab054e
fix: crash when desktop file has "Hidden"
...
xdg 自启动目录下有些desktop文件有 Hidden 字段没有 GenerateSource
导致调用为构造的app(nullptr)
Issue: https://github.com/linuxdeepin/developer-center/issues/8523
2024-05-13 09:49:07 +08:00
wangfei
1c74a0a284
chore: bump version to 1.2.10
...
release version 1.2.10
Log:
2024-05-11 15:27:30 +08:00
wangfei
fc493458d3
fix: crashed when launching a application contains "%U"
...
add the condition when the index = -1
Issue: https://github.com/linuxdeepin/developer-center/issues/7964
2024-05-10 15:17:57 +08:00
wangfei
c115eb9e21
fix: revert "crashed when removing a invalid index"
...
when the name contains a single space, the command parse raises the issue.
Issue: https://github.com/linuxdeepin/developer-center/issues/8498
2024-05-10 15:17:57 +08:00
wangfei
3b5f8498d7
chore: bump version to 1.2.9
...
release version 1.2.9
Log:
2024-05-10 15:03:19 +08:00
wangfei
47dba7e30c
fix: dman display nothing
...
if parameters are empty, remove "%abc" in command
Issue: https://github.com/linuxdeepin/developer-center/issues/8481
2024-05-09 16:29:14 +08:00
ck
8ffe19ac5a
chore: bump version to 1.2.8
...
release 1.2.8
Log: bump version to 1.2.8
2024-05-09 09:50:58 +08:00
wangfei
a2892b193f
fix: crashed when removing a invalid index (-1)
...
handle the exceptional case that location is -1
Issue: https://github.com/linuxdeepin/developer-center/issues/7964
2024-05-07 15:33:17 +08:00
ck
9a29c0e09a
fix: autostart desktop content error
...
always update autostart application entry
Issue: https://github.com/linuxdeepin/developer-center/issues/8261
2024-05-06 17:43:21 +08:00
zhangkun
93c0373a40
chore: dump version to 1.2.7
...
Release version 1.2.7
Log:
2024-05-06 13:41:34 +08:00
zhangkun
18720ef75a
feat: Add a hook and wrap all applications in the hook script to start
...
Add a hook to solve the problem of not being able to start some startup scripts for applications without shebang
Log
2024-04-29 14:50:04 +08:00
zhangkun
089cb6155a
chore: dump version to 1.2.6
...
Release version 1.2.6
Log:
2024-04-28 05:41:25 +00:00
zhangkun
2d0659044d
feat: Can emit correct remove signal when uninstalling applications patched by deepin-deb-fix
...
check TryExec when doReloadApplications
add deepin-deb-fix to Suggested dependency
2024-04-26 13:24:48 +08:00
dengbo
37827209e4
chore: bump version to 1.2.5
...
bump version to 1.2.5
Log: update changelog
2024-04-24 13:42:32 +08:00
ck
9dd7e7f2a1
fix: dde-open file failed
...
QUrl("/tmp/xxx.png").toLocalFile() is Empty..
Issue: https://github.com/linuxdeepin/developer-center/issues/8142
2024-04-23 16:19:52 +08:00
Yixue Wang
e6fd0a61a5
feat: support apps launched directly by systemd
...
Do not filter out those not launched by application manager. Assume
unit name as the app id. When Identify, assume there is only one
unique instance.
Log: support apps launched directly by systemd
Related-to: https://github.com/linuxdeepin/developer-center/issues/8088
2024-04-23 14:27:06 +08:00
Yutao Meng
60965359cb
fix: Return correct mimetype and default app for directories
...
Log: Return correct mimetype and default app for directories
2024-04-22 17:05:23 +08:00
zhangkun
63dd8b00e9
chore: bump version to 1.2.4
...
Log: update changelog
2024-04-19 15:52:54 +08:00
zhangkun
064a8dda75
fix: self start setting failed
...
incorrect information was set for key: 'X-Deepin-GenerateSource'
Issue: https://github.com/linuxdeepin/developer-center/issues/7637
2024-04-15 09:33:11 +00:00
Ye ShanShan
8851263925
fix: missing package parsed when ReloadApplicaitons
...
Restart timer to merge directory changed and dpkg hook event.
Reload applications when called from dbus.
issue: https://github.com/linuxdeepin/developer-center/issues/7830
2024-04-15 16:09:44 +08:00
ck
5080e9b5de
chore: bump version to 1.2.3
...
release 1.2.3
Log: bump version to 1.2.3
2024-04-08 17:06:15 +08:00
Ye ShanShan
4a4e8866bd
fix: missing splitter for env
...
Using QStringList's `join` instead of QString's `append`
to package envrionments.
2024-04-08 12:30:31 +08:00
Ye ShanShan
f1031391ea
fix: can't write environ to storage
...
m_environ maybe empty when it is be set more than once.
and the key is already exists in storage.
2024-04-08 12:30:31 +08:00