Commit Graph

21 Commits

Author SHA1 Message Date
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 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
iaom 366201ddf9 删除多余日志打印 2023-03-24 11:24:30 +08:00
iaom d354773177 更新搜索服务接口,完善应用搜索和文件搜索机制 2023-03-15 16:46:00 +08:00
JunjieBai bf22f0e150 Optimize the search app interface. 2023-03-14 16:13:11 +08:00
JunjieBai 0e267ac29c Optimize the interfaces which help to get apps' data. 2023-03-14 14:01:28 +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
jixiaoxu 2b01ee0e80 修复QSqlDatabasePrivate::removeDatabase警告;修复部分内存泄露;修复QDir的entryInfoList方法在查找不存在目录时小概率崩溃的问题; 2022-10-19 17:11:05 +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 57df997039 Fix: The AppDatabase exception will cause the program that calls it to exit. 2022-06-23 10:12:02 +08:00
jixiaoxu 0004538ee3 新增搜索服务应用数据库接口;新增搜索应用插件功能;搜索服务接口新增设置返回数据结构(应用搜索插件);目录结构优化等; 2022-06-13 13:38:47 +08:00
iaom 24a94db0c6 文件索引增加配置索引目录和黑名单功能;顺便解决了一点编译问题。 2022-03-04 15:15:07 +08:00
iaom cfca21b857 Add app data iface. 2022-03-01 17:39:53 +08:00
iaom c4c657c3b4 Add app data code dir. 2022-02-11 11:06:10 +08:00