Commit Graph

31 Commits

Author SHA1 Message Date
iaom 249ed86569 fix(app-data):删除无用的头文件引用 2024-02-26 10:28:22 +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 696fe0d88a 补充缺失的copyright 2024-01-30 14:40:49 +08:00
JunjieBai 9c089716bf fix:(application-info):修改了sdk的头文件中的析构函数实现导致二进制不兼容 2024-01-26 10:05:51 +08:00
JunjieBai dae035d35b fix(ApplicationInfo):多线程使用数据库接口查询时会出现错误。 2024-01-15 13:34:46 +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
iaom aee23999ac fix(libsearch):解决编译问题 2023-11-27 11:20:16 +08: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 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