ComixHe
b9bbfb7f6d
refact: Autostart
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-11-15 10:39:44 +08:00
ComixHe
8f6628c5d2
feat: add ProcessGuesser1 service
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-10-19 15:33:12 +08:00
ComixHe
1f73eea404
feat: add desktopfilegenerator and method addUserApplication
...
1. change type of ActionName to 'a{sa{ss}}'
2. refactor the method of serialization
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-10-17 11:44:02 +08:00
ComixHe
f63741b023
feat: add mimeManager Service
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-10-08 18:33:35 +08:00
ComixHe
fb0fc0a8ee
feat: support application hooks
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-10-07 17:14:48 +08:00
ComixHe
6448481cfc
refact: method Identify and CURD method of storage
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-09-14 17:41:16 +08:00
ComixHe
ebb5f613c4
refact: refactor method Identify
and improve unit test
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-09-14 17:41:16 +08:00
ComixHe
bc7fbfb3a1
feat: add property Launcher, Orphaned
...
refactor some method which are related with systemd unit
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-09-14 17:41:16 +08:00
ComixHe
23dcd13f10
feat: support persistent stroage and lastLaunchedTime
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-09-14 17:41:16 +08:00
ComixHe
dc96c21c7d
feat: emit signal when AutoStart Changed
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-09-08 08:53:46 +00:00
ComixHe
4d6e399653
refact: method UpdateApplicationInfo change to ReloadApplications
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-09-06 13:57:18 +08:00
black-desk
4ff60db556
refact: improve scanAutoStart
...
improve scanAutoStart
2023-09-05 11:48:14 +08:00
ComixHe
acba7b727e
feat: support AutoStart
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-09-05 11:48:14 +08:00
black-desk
6adc02375f
feat: scan existing systemd unit
...
We should scan existing systemd unit when we start application manager.
As application manager crash and restarted later,
we can get the launched application instances back.
2023-08-29 10:07:26 +08:00
ComixHe
ccfb245419
refact: Desktop file parsing process and Application methods to
...
Properties
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-08-25 18:23:21 +08:00
ComixHe
06ee5e5899
refact: DesktopFile's method and structure
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-08-22 11:42:13 +08:00
ComixHe
920594d6e5
refact: ApplicationService ctor and some member functions
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-08-22 11:42:13 +08:00
ComixHe
0e7d84f61d
refact: change dbus api and service impl
...
1. change IconName and DisplayName to method
2. refactor impl of GetManagedObject and move it to global.h
3. refactor impl of JobService::status
4. add ut_job.cpp
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-08-22 11:42:13 +08:00
ComixHe
d49a99d252
feat: add objectManager interface
...
refact the way to get DBus interface from Qt Meta System
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-08-22 11:42:13 +08:00
ComixHe
bb83716d27
feat: change dbus interface api
...
1. remove method: Application, Launch. (ApplicationManager1)
2. add property: IconName, DisplayName. (Application1)
3. refact the way of construct ApplicationService.
4. if Desktop Entry Key `Hidden` is true, this application wouldn't
export to DBus.
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-08-22 11:42:13 +08:00
ComixHe
a3dd315e33
test: add identify test
...
fix some bugs found in testing
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-08-16 17:54:42 +08:00
ComixHe
2fa74e40e5
refact: change implementation of UpdateApplicationInfo
...
adjust the way of get XDG_DATA_DIRS.
Signed-off-by: ComixHe <heyuming@deepin.org>
Signed-off-by: black-desk <me@black-desk.cn>
2023-08-14 13:39:05 +08:00
black-desk
5183716873
refact: apply review suggestions
...
Signed-off-by: black-desk <me@black-desk.cn>
2023-08-14 13:39:05 +08:00
ComixHe
bc2bdf559e
example: add launch application example
...
fix some bug while testing the example
Signed-off-by: ComixHe <heyuming@deepin.org>
Signed-off-by: black-desk <me@black-desk.cn>
2023-08-14 13:39:05 +08:00
ComixHe
722d0666d3
feat: add impl of updateApplicationInfo
...
1. change the way to traverse files
2. refact some code
Signed-off-by: ComixHe <heyuming@deepin.org>
Signed-off-by: black-desk <me@black-desk.cn>
2023-08-14 13:39:05 +08:00
ComixHe
799100436c
feat: watch systemd unit new and remove to sync state
...
add default values to XDG_DATA_DIRS if it dosen't set
Signed-off-by: ComixHe <heyuming@deepin.org>
Signed-off-by: black-desk <me@black-desk.cn>
2023-08-14 13:39:05 +08:00
black-desk
4687265e65
refact: restructure project
...
1. adjust project structure;
2. use config.h to locate app-launch-helper binary.
2023-08-07 16:46:57 +08:00
ComixHe
fe284e78b6
feat: implementation of the major feature of dbus service
...
Log:
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-08-07 16:46:57 +08:00
black-desk
857db2625a
style: format code
2023-07-21 14:50:57 +08:00
heyuming
3a278bec79
feat: adjust dbus service structure
...
Log:
2023-07-17 16:20:15 +08:00
heyuming
10add2092c
feat: init dbus service structure
...
Log: 初始化dbus服务结构
2023-07-10 13:59:48 +08:00