Commit Graph

50 Commits

Author SHA1 Message Date
JunjieBai 63ec090747 fix(app-database):classClass为空时会找错desktop文件的问题. 2024-04-22 15:33:16 +08:00
JunjieBai 427384f7b8 fix(app-database-service):do not start a transaction while setting app to favourites. 2024-03-11 16:46:13 +08:00
JunjieBai b7cbc5ae6e perf(app-database-service):去掉收藏换位置功能,只记录是否收藏。 2024-03-06 16:42:19 +08:00
iaom 5b547a6699 fix(app-data-service):修复pid转desktop接口失效问题 2024-02-06 16:51:34 +08:00
JunjieBai 46dc36301a fix(app-database):can not find the currect desktop file by pid
use ProcessManager's dbus interface instead.
2024-02-06 09:31:20 +08:00
iaom 4d34361d46 fix:解决使用find_package无法正常使用ukui-search接口的问题 2024-02-06 09:31:12 +08:00
JunjieBai c0276df65a feat(app-database-service):新增对删除应用目录或其父目录的处理。 2024-01-15 13:34:53 +08:00
iaom 3e2b5a9c27 feat(app-data-service):更新kaiming包路径配置 2023-12-15 10:30:07 +08:00
JunjieBai 3b316f2164 feat(app-database-service):add the support for flatpak & kaiming applications. 2023-12-05 10:55:32 +08:00
JunjieBai 7a86c667a3 fix(app-database-service):使用winID查找desktop文件时一些应用会找错。 2023-11-28 17:48:47 +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
JunjieBai a8c400cdb0 perf(app-database-service):optimize the logic of the method which is used to find desktop file. 2023-08-23 15:37:33 +08:00
iaom d2e1d204d9 refactor:使用cmake重新构建项目 2023-08-18 15:26:21 +08:00
JunjieBai f97213ff60 perf(app-database-service):use the lowercase letters to match the windowClassClass. 2023-08-11 17:04:47 +08:00
JunjieBai 87e6da7336 fix(app-database-service):modify the time sequence of the transmitted signal. 2023-08-11 14:28:13 +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 20a3b21f75 perf(app-database-service):optimize the logic of the tranPidToDesktopFp method. 2023-08-09 15:21:56 +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
iaom 65060337de 优化日志打印机制;删除部分无用代码. 2023-04-14 18:01:19 +08: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
iaom d354773177 更新搜索服务接口,完善应用搜索和文件搜索机制 2023-03-15 16:46:00 +08: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 7f2267d72a Fix the problem that the top and favorite state cannot be set to 0. 2023-02-15 09:45:21 +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 f1f6b36588 Fix#146819 the app-data-service crashes when the destructor is executed. 2022-11-22 09:20:05 +08:00
jixiaoxu 4d498eee0b 修复inotify-watch内存泄漏;修复部分Fortify检测代码问题; 2022-10-13 17:37:59 +08:00
JunjieBai e528b6b3ec Modify the enqueue method of app info queue. 2022-08-08 13:57:08 +08:00
JunjieBai b1eb17be2a Using the file-system-watcher to watch the desktop files' dirs. 2022-08-08 13:55:51 +08:00
JunjieBai 4628054547 Make the appdb dbus autostart.Install the desktop file of app-data-service. 2022-08-08 10:37:49 +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 12d6d64c3b Change the pos if the override of QDbusArgument's operator>> in order to avoid others who use the app-info-table include dbus. 2022-07-04 17:38:59 +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
iaom 5a02265302 增加了一些插件加载时的调试日志。 2022-03-14 16:27:58 +08:00
iaom c4c657c3b4 Add app data code dir. 2022-02-11 11:06:10 +08:00