Commit Graph

28 Commits

Author SHA1 Message Date
JunjieBai e06970515b feat(app-database-service):新增对删除应用目录或其父目录的处理。 2024-01-12 14:49:05 +08:00
JunjieBai 3b316f2164 feat(app-database-service):add the support for flatpak & kaiming applications. 2023-12-05 10:55:32 +08:00
JunjieBai e49d867075 perf(app-database-service):add keywords field and use it to find applications more accurately. 2023-11-28 17:15:42 +08:00
JunjieBai e18bb390a7 fix(app-database-service):数据库删除后重建失败,应用打开次数记录错误.
建数据库时缺少START_UP_WMCLAS字段导致所有数据写入失败,记录打开次数换成使用processmanager的信号来触发.
2023-11-14 08:41:11 +00:00
iaom d2e1d204d9 refactor:使用cmake重新构建项目 2023-08-18 15:26:21 +08:00
JunjieBai ba31496a89 feat(app-database-service):add a method to find desktop file through WinId, add a START_UP_WMCLASS field to the database. 2023-08-10 11:15:10 +08:00
JunjieBai 6ae9125746 refactor(app-database-service):remove the redundant slots inherited from QThread. 2023-08-09 15:19:44 +08:00
JunjieBai c5304dfe94 Remove some compilation warnings. 2023-04-24 09:28:42 +08:00
JunjieBai b59d0a57d8 Add AUTO_START field.
Add a interface to get desktop file path by desktop file name.
2023-04-17 09:27:54 +00:00
JunjieBai 8f03c44ef4 Add a interface to set launched state.
Add a method to set value of field in database.
2023-04-14 15:57:39 +08:00
iaom ff0dd3384a 补充部分文件copyright. 2023-04-11 10:21:51 +08:00
JunjieBai 610210a9a3 Fix the problem that the infos of update signal are incomplete. 2023-04-04 17:00:16 +08:00
JunjieBai e09044dfee Optimize the logic which change position and set state of favorites/top.
Optimize the logic of the database transaction.
2023-04-04 14:31:39 +08:00
JunjieBai ea3913cb5b Fix the problem that the DONT_DISPLAY field is null in database. 2023-03-22 15:47:27 +08:00
JunjieBai 4a98056c06 Solve the problem that the database will delete all info while install desktop files. 2023-03-16 02:52:03 +00:00
JunjieBai f9a638c05b Add app infos in autostart dir.
Add DONT_DISPLAY field to database.

Use ApplicationInfoMap instead of the previous structure to transform apps' data.
2023-03-14 13:51:55 +08:00
iaom b1a8486bd1 更新应用数据服务的接口定义(未完成) 2023-03-09 11:16:05 +08:00
JunjieBai 04a9cb487e Add a method which can find the desktop file for the process by pid. 2023-02-23 03:44:32 +00:00
JunjieBai 68a1fc4f43 Fix the problem that the changePos interface cannot change top&favorites pos successful. 2023-02-20 10:02:49 +08:00
JunjieBai 738f116b83 optimize the signal transformer, modify the data struct of the signals. 2023-02-06 11:46:07 +08:00
jixiaoxu 1d737c8f2a 搜索服务应用数据库新增跟随版本更新机制; 2022-12-22 02:55:43 +00:00
JunjieBai b1eb17be2a Using the file-system-watcher to watch the desktop files' dirs. 2022-08-08 13:55:51 +08:00
JunjieBai 6408223760 Fix the error count of launch times.
Modify the enqueue operation of app queue.
2022-07-14 19:01:56 +08:00
JunjieBai d3b6fcf844 add a queue to process all insert&update&delete operations of database and use dbus to encapsulate them. 2022-07-12 11:26:03 +08:00
JunjieBai 27f28df33d Add two timers to handle multi signals in a short time.
Modify the update logic, add update signals while set or change pos of top&favorites.

Adjust the struct of the app info table.
2022-06-29 17:23:01 +08:00
JunjieBai 13288b97bb Add interfaces for changing position of top&favorites apps.
Add appDB update signal.

Add signal transformer and register its signals as dbus signals.
2022-06-28 11:20:41 +08:00
JunjieBai 5b90706ca8 Add a new function to traverse the desktop files and to handle the data in AppDataBase.
Adjust the code structure.
2022-06-24 12:12:46 +08:00
jixiaoxu 0004538ee3 新增搜索服务应用数据库接口;新增搜索应用插件功能;搜索服务接口新增设置返回数据结构(应用搜索插件);目录结构优化等; 2022-06-13 13:38:47 +08:00