ComixHe
95019a38f4
refact: unit test for Job
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2024-01-19 09:47:30 +08:00
ComixHe
f796535233
fix: unescape exec before pass this arg to wordexp
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-10-19 15:16:40 +08:00
ComixHe
5597ba5c44
fix: compatible with gcc 11
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-10-18 13:59:27 +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
black-desk
b71ceb5fc1
build: using gtest_discover_tests
...
improve unit test
2023-10-13 10:08:56 +08:00
ComixHe
aff8cff0ec
refact: change underlying type of desktop entry
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-10-13 10:08:56 +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
black-desk
d1bdab899d
feat: add property installedTime,X-flatpak,X-linglong
...
Signed-off-by: black-desk <me@black-desk.cn>
2023-08-31 16:55:35 +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
black-desk
04c076b6d9
fix: register QDBusObjectPath in ut
...
qt 6.4 will failed to connect to signal if we do not register this type.
Signed-off-by: black-desk <me@black-desk.cn>
2023-08-30 15:02:29 +08:00
ComixHe
16ebd64789
build: remove asan when running ut
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-08-30 15:02:29 +08:00
ComixHe
f2d5b7b307
refact: remove static env instance
...
Signed-off-by: ComixHe <heyuming@deepin.org>
2023-08-30 15:02:29 +08:00
ComixHe
ce2148e5cd
fix: incorrect behavior when parse and launch
...
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
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
de09f3dbc2
refact: add test-coverage.sh and some docs
...
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
4394edd8b8
build: remove unnecessary source
...
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
5fed3ed9f0
feat: add test for desktopentry and jobmanager
...
Log:
2023-07-21 14:50:57 +08:00