Commit Graph

45 Commits

Author SHA1 Message Date
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
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
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
Ye ShanShan
703a27c1ee feat: add dde-am tool to launch application
add dde-am tool.
2024-03-27 14:26:32 +08:00
ComixHe
31ba0334d8 chore: bump version to 1.2.0
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-03-11 16:44:58 +08:00
ComixHe
1b4fb5551d feat: add GIO_LAUNCHED_DESKTOP_FILE to runtime envs
add hooks for dde-dock

Signed-off-by: ComixHe <heyuming@deepin.org>
2024-03-11 16:44:58 +08:00
ComixHe
5e8c53479d chore: correct package name
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-10-30 13:15:04 +08:00
ComixHe
2795203b23 chore: compatible with old AM
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-09-28 11:23:50 +08:00
rewine
efb1212945 feat(cmake): all install path use GNUInstallDirs
Log: all install path use GNUInstallDirs
2023-09-19 13:18:45 +08:00
ComixHe
8f05ea9490 fix: discard all output from hook
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-09-19 13:17:25 +08:00
ComixHe
bbe0551ffb fix: launch autostart application after scaleFactor has been set
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-09-19 13:17:25 +08:00
Tianyu Chen
1a042cfde8
fix: am-update-hook always success
add || true to satisfy dpkg hook
2023-09-06 20:27:37 +08:00
ComixHe
f3381a4387 feat: add dpkg post-invoke hook
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-09-06 16:26:38 +08:00
ComixHe
4ffe4bf1a8 chore: incorrect service location
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-09-06 16:26:38 +08:00
ComixHe
d198ecebc8 chore: update dependency of Application Manager Service
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-09-06 11:44:05 +08:00
ComixHe
cb8b98c980 chore!: change service name of AM
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-09-01 17:15:40 +08:00
ComixHe
4c9d4491df refact: remove unnecessary open operation
fix AM can't access some dirs due to
systemd 254's sandboxing option: PrivateUser
is true by default.

Signed-off-by: ComixHe <heyuming@deepin.org>
2023-09-01 15:58:16 +08:00
ComixHe
0896f845a6 chore: Avoiding binary conflicts with existing AM
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-08-30 15:02:29 +08:00
ComixHe
c85f3d0950 chore: add service file
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-08-30 15:02:29 +08:00
black-desk
235db8ab0c refact: remove almost all files
This is a prepare commit for the following refactor of
dde-application-manager.

I remove almost all files in this git repository.

We will start the refactor in later commits.

Signed-off-by: black-desk <me@black-desk.cn>
2023-07-06 10:05:34 +08:00
Zhang Dingyuan
39c50de56f fix: no environment variable on wayland
Sort to dde-session-pre.target
2023-05-11 18:04:46 +08:00
Zhang Dingyuan
0ffe1d4b2d
fix: duplicate systemd service
Use Dbus type service, and place it in the app.slice
2023-04-24 17:50:29 +08:00
tsic404
80cf2501fa chore: rename project to dde-application-manager
rename project to dde-application-manager

log:
2023-02-23 21:57:34 +08:00
zsien
71f5ed71c2 feat: set fullscreen launcher by default
启动器默认全屏显示

Log: 启动器默认全屏显示
2023-02-15 11:14:03 +08:00
donghualin
35ac315646 fix: 修复社区版任务栏的显示模式错误
AM中初始化的显示模式设置为空,当AM第一次启动的时候,读取到的显示模式配置如果为空,就判断当前系统是否为社区版,如果是社区版,就让其配置为时尚模式,否则,就配置为高效模式

Log:
Influence: 安装社区版,观察任务栏启动是否为时尚模式
Bug: https://pms.uniontech.com/bug-view-175723.html
Change-Id: I51e7678716ca8064a61c8ab3b703d03beb779291
2022-12-08 03:11:17 +00:00
tanfeng
e4f4a47b87 chore: V23接口改造适配
V23接口改造适配

Log: V23接口改造适配
Influence: 无
Task: https://pms.uniontech.com/task-view-207483.html
Change-Id: I91e7c2807c168e87781e18aedc7aec887702ae13
2022-12-06 14:39:36 +08:00
songwentao
dacd8088a4 fix: 修复录屏应用没有显示在启动器中的问题
systemd拉起deepin-application-manager进程时,系统环境变量XDG_CURRENT_DESKTOP键值为空,而录屏应用只显示在Deepin系统环境中
修复方法:在XDG_CURRENT_DESKTOP赋值后再拉起deepin-application-manager.

Log:
Influence: 修改AM 启动时序,确保系统环境变量已装载完成再启动
Bug: https://pms.uniontech.com/bug-view-159147.html
Change-Id: I39301ff52d54d53131890c847e418799a91b83b8
2022-09-22 06:01:00 +00:00
songwentao
b66fc78553 feat: 转移玲珑包后缀提供配置功能实现到启动器
玲珑包后缀提供配置功能的实现转移到启动器

Log:
Influence: 默认隐藏后缀,开启,玲珑应用则显示,否则,隐藏.
Bug: https://pms.uniontech.com/bug-view-154585.html
Change-Id: I50f727eec1d815f39206780ae76ef774d17e5023
2022-08-27 11:04:56 +08:00
donghualin
5dd3341ba6 fix: 修复新安装系统无法显示默认驻留应用的问题
修改dconfig配置中默认驻留的应用路径,让AM启动的时候可以正常读取

Log: 修复新系统启动的时候无法显示默认驻留的问题
Influence: 第一次安装系统,查看任务栏是否有控制中心等默认驻留应用
Bug: https://pms.uniontech.com/bug-view-147721.html
Change-Id: If458aea1141e3f19ee5731ddfdd3dc221749bacb
2022-08-17 09:09:48 +00:00
donghualin
2a44cac44a feat: 增加设置任务栏是否开启窗口多开的接口
增加接口setShowMultiWindow和showMultiWindow接口,用于设置和返回任务栏是否支持窗口多开的功能

Log: 增加设置任务栏是否开启窗口多开的功能
Influence: 控制中心-个性化-任务栏,设置开启或者关闭任务栏支持窗口多开,观察任务栏相同的应用打开多个窗口的情况下,是否在多开区域存在多开的窗口
Task: https://pms.uniontech.com/task-view-170977.html
Change-Id: I208aba19f3ab94a02f72e64d0d4eeb1e83a7a6bf
2022-08-12 07:24:05 +00:00
donghualin
d7d2f252b7 fix: 增加设置是否显示最近打开区域的接口
1.增加本地配置,并增加bool类型变量来表示是否显示最近打开应用
2.在应用打开或者退出的时候,根据是否显示最近打开应用的配置来决定是否显示当前应用图标

Log: 增加是否显示最近打开应用接口
Influence: 时尚模式下,调用setShowRecent接口,观察任务栏是否显示最近打开应用
Bug: https://pms.uniontech.com/bug-view-147717.html
Change-Id: I9e2f8a8ea74bf4deb2f1db9af8b87ff1827c2297
2022-08-10 07:03:52 +00:00
donghualin
8b89bc9092 feat: 增加关闭最后三个未驻留应用到任务栏上图标不消失的功能
增加最近打开区域的配置,在关闭未驻留应用的时候判断是否需要移除图标,同时更新配置

Log: 完成最近打开应用的功能
Influence: 任务栏-打开多个未驻留应用,然后依次关闭,当剩下最后三个的时候,观察是否还在任务栏
Bug: https://pms.uniontech.com/bug-view-147721.html
Change-Id: Ia78e973b41acb3e87c515f3bd8479f603b3dcdfd
2022-08-08 05:21:52 +00:00
songwentao
20a2642e74 feat: 玲珑包后缀提供配置功能实现
玲珑包后缀提供配置功能的实现

Log:
Influence: 默认隐藏后缀,开启,玲珑应用则显示,否则,隐藏.
Task: https://pms.uniontech.com/task-view-152805.html
Change-Id: I72e390a8e25396454c451cde28a795e923b28144
2022-07-21 17:33:32 +08:00
weizhixiang
1ba800d8a3 fix: 修复初次被systemd拉起时内存泄露的问题
XCBUtils类中使用到XCB接口,其中reply类型部分接口返回值需要手动释放

Log:
Task: https://pms.uniontech.com/task-view-145329.html
Influence: 不会出现内存泄露的问题
Change-Id: Idf8f37d1144c9e5b87161c64f3b18695fbcef0d9
2022-06-14 20:56:21 +08:00
weizhixiang
d2b5e1b33b chore: 暂时禁止AM自启动
暂时禁止AM自启动,待V23启动器和任务栏测试功能基本正常再设置AM自启

Log:
Task: https://pms.uniontech.com/task-view-145329.html
Influence: 无
Change-Id: I25a7817b743994371452fab4eecc152d774ccc53
2022-06-08 22:48:31 +08:00
weizhixiang
44b18dd1b1 fix: 修改AM随dde-session-daemon一起启动
修改AM随dde-session-daemon一起启动

Log:
Task: https://pms.uniontech.com/task-view-144887.html
Influence: 正常启动
Change-Id: Ic2c05e38a2146c354b147b8f3b717f261867a140
2022-06-08 14:41:06 +08:00
weizhixiang
9833e1d7fb chore: 修复AM初次启动占用大量内存的问题
修复AM初次启动占用大量内存的问题

Log:
Task: https://pms.uniontech.com/task-view-144887.html
Influence: 正常启动
Change-Id: I6f76ee7101dd846d55f37cec949b9201bc331cd0
2022-06-08 10:51:28 +08:00
weizhixiang
765365d364 feat: 设置为开机自启动,异常退出后自动拉起
设置为开机自启动,异常退出后自动拉起

Log:
Task: https://pms.uniontech.com/task-view-142733.html
Influence: 开机自启动,退出自动被拉起
Change-Id: I5c9f8ef80e8a4f5fed2aa9bb59de09455a165360
2022-06-06 17:31:12 +08:00
tanfeng
38cf02a51f feat: AM loader实现启动freedesktop类型应用
AM loader可以正常启动freedesktop类型应用了

Log: AM loader实现启动freedesktop类型应用
Task: https://pms.uniontech.com/task-view-108539.html
Influence: AM loader
Change-Id: If56835e638ca38ed53bcc7a0dddeca47e05cc8ba
2022-05-25 11:46:28 +08:00
weizhixiang
5997b3a2a1 feat: 修改自启动应用启动方式
*修改自启动应用启动方式, 采用loader进程先校验应用信息,再拉起应用的方式
*修复launcher模块部分接口导出失败的问题
*增加launcher、dock、loader模块代码注释

Log: 修改自启动应用启动方式
Task: https://pms.uniontech.com/task-view-131611.html
Influence: 应用启动方式不同
Change-Id: Ie88027602d1395c6bbad69e610f3639ecc7dfbc1
2022-05-24 11:47:11 +08:00
tanfeng
68f52fe831 feat: 指定服务slice、接口类私有化封装处理
指定服务slice、接口类私有化封装处理

Log: 指定服务slice、接口类私有化封装处理
Task: https://pms.uniontech.com/task-view-109315.html
Influence: 无
Change-Id: I7111960eab2cb49e439905aac67ac0f83165f6d8
2022-05-18 21:14:48 +08:00
weizhixiang
08d9f4895b feat: 实现StartManager功能
实现StartManager功能, 曝露在ApplicationManager服务上

Log: 实现StartManager功能
Task: https://pms.uniontech.com/task-view-130337.html
Influence: 无
Change-Id: I8e83a66f8c25b09e0f4be1e4be9defac95b02b80
2022-05-18 16:22:24 +08:00
Li Xi
13a1cabda1 feat: 实现Apps服务、Launcher服务、Dock服务
*重写Apps服务,新服务分为org.deepin.daemon.DFWatcher1和org.deepin.daemon.ALRecorder1两个服务
*重写Launcher服务, 新服务名为org.deepin.dde.daemon.Launcher1
*重写Dock服务, 新服务名为org.deepin.dde.daemon.Dock1
*重写部分go-lib接口,保存在src/lib目录, 后续从项目中提出统一存放至开发库
*使用XCB库实现与XServer交互,存放在src/lib目录
*放弃依赖dde-qt-dbus-factory包, 将xml文件生成的静态编译代码存放在frameworkdbus目录

Log: 实现Apps服务、Launcher服务、Dock服务
Task: https://pms.uniontech.com/task-view-109315.html
Influence: 无
Change-Id: Ia9676060bfe81ce8d02c48972cc3d3cbaf665a31
2022-05-13 15:42:55 +08:00
tanfeng
0b22bb3adf feat: 初始代码
AM初始代码,迁移自gitlabwh

Log:
Task: https://pms.uniontech.com/task-view-108539.html
Influence:
Change-Id: I6096f97e5d68d13796ff5dc51d9858c0f40264a0
2022-03-30 17:56:27 +08:00