Commit Graph

29 Commits

Author SHA1 Message Date
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