Commit Graph

424 Commits

Author SHA1 Message Date
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
iaom 498147414d 手动删除索引顶层目录时更新监听目录缓存 2023-02-28 15:04:30 +08:00
iaom e53d13c54b 修改应用搜索插件接口图标返回格式 2023-02-27 13:49:46 +08:00
iaom 9b835b9686 优化inotify信号处理,解决若干由于信号处理不当导致的索引不正确问题 2023-02-27 05:48:08 +00: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
iaom f82f1cb4cd 优化应用搜索功能;修复偶现搜索结果重复问题 2023-01-22 17:11:53 +08:00
iaom a6a5b7846a 修复偶现的由于队列处理不当导致的搜索应用崩溃问题。 2023-01-21 19:47:34 +08:00
JunjieBai 4fdc102102 Optimize the result queue logic of app search plugin. 2023-01-17 17:53:20 +08:00
jixiaoxu e73366e7f0 完善应用搜索中断返回逻辑; 2023-01-16 15:56:58 +08:00
iaom 3eddcd3f90
!54 移除无用的信号量
Merge pull request !54 from iaom/0113
2023-01-14 13:40:13 +00:00
iaom c4c50b40b4 更新libukui-search的pc文件 2023-01-14 21:25:14 +08:00
iaom baf40c3cf7 移除无用的信号量 2023-01-13 15:09:37 +08:00
JunjieBai 95736ef771 Fix: the app widget will display a exception while zooming. 2023-01-03 00:37:34 +00:00
iaom c3fadf77c2 修复两处内存问题 2022-12-29 14:27:46 +08:00
baijunjie 020f869a29 Modify settings search, use dbus interface of ukcc instead of xml file to get data. 2022-12-23 09:31:25 +00:00
iaom c6322feb77 增加unmount信号监听处理 2022-12-23 15:41:57 +08:00
iaom 09a423aa38 解决注册文本内容插件命令失效问题 2022-12-21 15:16:39 +08:00
iaom 77395a8627 修复反复开关索引导致的索引异常问题(偶现打开索引失败) 2022-12-21 07:05:49 +00:00
iaom c749aa7b83 解决设置网络搜索引擎不生效的问题 2022-12-12 08:42:48 +08:00
iaom 3af1582eb1 增加了一个用于调试的索引状态监控页面,可通过'ukui-search-service -m'打开. 2022-12-12 08:37:37 +08:00
iaom 37ab793367 解决添加和删除索引目录异常的问题 2022-12-08 17:41:55 +08:00
JunjieBai 6b06460e79 Add a switch for fuzzy search.
Add the logic to custom the search scope.

Modify the ui of search plugin of ukcc.
2022-12-07 17:52:17 +08:00
iaom 15c4331da8 解决首次索引后,重启后无法搜索部分文件的问题 2022-12-05 08:46:38 +00:00
iaom 495669c057 增加索引数据库版本号机制,版本号升级时将重建数据库 2022-12-02 07:23:22 +00:00
jixiaoxu ff5cb5327d 完善汉字转拼音接口逻辑; 2022-12-01 13:51:30 +08:00
iaom 83f1b904ad 解决文件内容搜索详情页获取数据时偶现的崩溃问题 2022-11-30 16:19:18 +08:00
iaom 134d2039ec 增加文件内容模糊搜索功能,优化全局设置代码 2022-11-29 14:05:16 +08:00
iaom 3d8cebba41 优化文件索引操作 2022-11-25 17:32:15 +08:00
baijunjie 192b2e9ed5 Add plugin re-register and un-register function.
Modify the destructor function of Applications search plugin.

Enable plugins to adjust their order.
2022-11-25 11:30:39 +08:00
iaom 51eb1798e2 修复内容搜索详情页加载图片失败导致的崩溃问题。 2022-11-17 11:38:01 +08:00
iaom ceb36981b4 搜索插件接口增加一个反向调用接口,应用搜索增加截图打开时隐藏主页面动作。 2022-11-02 20:50:30 +08:00
JunjieBai 3969164c56 update app-widget config file. 2022-10-21 09:22:17 +08:00
JunjieBai 713924b808 小插件接口参数类型改了,需要重新适配。 2022-10-21 09:20:32 +08:00
JunjieBai d00912d546 Add app widget plugin. 2022-10-21 09:14:21 +08:00
jixiaoxu 2b01ee0e80 修复QSqlDatabasePrivate::removeDatabase警告;修复部分内存泄露;修复QDir的entryInfoList方法在查找不存在目录时小概率崩溃的问题; 2022-10-19 17:11:05 +08:00
jixiaoxu 4d498eee0b 修复inotify-watch内存泄漏;修复部分Fortify检测代码问题; 2022-10-13 17:37:59 +08:00
jixiaoxu ffef1d76ee 新增进程间同步信号量;新增可索引目录默认值; 2022-10-11 16:10:10 +08:00
JunjieBai a7c6899b17 Add FileSystemWatcher to the install files. 2022-08-23 13:42:19 +08:00
JunjieBai b1eb17be2a Using the file-system-watcher to watch the desktop files' dirs. 2022-08-08 13:55:51 +08:00
iaom cce6136b20 解决移除监听失败的问题. 2022-08-08 10:36:21 +08:00
iaom 8462a8cbcf 增加非递归监听模式。 2022-08-05 14:12:48 +08:00
jixiaoxu ee5d5ae413 新增藏文翻译;修复藏文结果列表高度计算问题;修改输入框右键翻译方案; 2022-08-05 14:11:11 +08:00
iaom ad3d677aa8 Add file system watcher(Encapsulate inotify). 2022-07-29 11:22:53 +08:00
PengfeiZhang 720ac7304c Merge branch '0707ukss' into 'ukss-dev'
add a queue to process all insert&update&delete operations of database and use...

See merge request kylin-desktop/ukui-search!348
2022-07-12 10:57:18 +00: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
hewenfei ea9972e296 include QMap and QUrl 2022-07-07 16:03:12 +08:00
JunjieBai 31b85270b1 Fix#125632 action label's color doesn't change whth the heightlight color. 2022-07-06 14:29:05 +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