Commit Graph

552 Commits

Author SHA1 Message Date
iaom b6f613a1aa fix(libukui-search):解决使用find_package引用报错的问题 2023-11-22 11:31:37 +08:00
iaom 2e372c14eb fix(data-collect):修复埋点数据上传失败的问题 2023-11-22 10:32:44 +08:00
iaom 2cb7f2a378 feat(frontend):适配主题的控件圆角配置 2023-11-22 09:08:41 +08:00
iaom da7cdb1551 feat(frontend):适配主题窗口圆角配置 2023-11-21 15:50:30 +08:00
iaom bd9de3c541 fix(data-collect):解决埋点上传崩溃问题 2023-11-21 14:09:25 +08:00
iaom 873c4898ac 更新数据埋点格式 2023-11-16 02:50:32 +00:00
iaom 8b2ab37f91 perf(file-index):使用ukui-file-metadata提供的文件内容解析接口替换原有功能 2023-11-14 16:44:47 +08:00
JunjieBai 1bcf2922c0 perf(plugins):use process manager to open applications. 2023-11-14 08:41:11 +00:00
iaom 8d4126ee6b feat(libsearch):搜索插件增加数据埋点收集功能 2023-11-08 09:56:24 +08:00
JunjieBai e28dae5d10 fix(app-search-plugin):应用图标使用qt的icon引擎找不到,换成xdg的icon加载引擎 2023-11-06 16:50:56 +08:00
JunjieBai afc9bbbfa2 fix(frontend):修改内容搜索插件详情页加载时间文本的顺序 2023-11-01 17:50:37 +08:00
JunjieBai f749537cc2 Adapt the short format of time shown in file search plugin. 2023-11-01 17:44:37 +08:00
JunjieBai ee1af87ccd fix(app-search-plugin):修复在线应用右侧被遮挡的问题,优化在线应用描述界面ui 2023-10-30 16:10:47 +08:00
JunjieBai 4e7e2e3a8a fix(app-search-plugin):add a method to get snippet of text and use it to wrap description of online application. 2023-10-27 15:06:55 +08:00
iaom 26d363ab3f fix(file-search-plugin):修复文件搜索插件中死循环的问题 2023-10-16 05:56:53 +00:00
iaom 7b158ec772 fix(ukui-search-service):修复索引状态监控导致的崩溃问题 2023-10-10 02:29:10 +00:00
JunjieBai 524a43787b perf(settingsearch):修改设置搜索的匹配策略. 2023-10-09 14:24:48 +08:00
iaom 69eb8632fa 增加查看当前索引状态的命令行 2023-10-07 15:44:59 +08:00
iaom d6e3cd46e9 feat(ukui-search-service):为OCR内容索引增加单独的数据库和单独控制开关 2023-09-28 08:46:33 +00:00
JunjieBai 0557dd2eed feat(frontend):修改设置搜索结果显示方式. 2023-09-14 15:17:28 +08:00
JunjieBai b71d5cf5a9 fix(index):修改文本文件解析逻辑
一些格式有问题的文件可能会被解析成乱码,因此检测到编码格式有问题则跳过解析。
2023-09-12 15:41:34 +08:00
iaom 73604c0dfe fix(index):修复了错误的开关索引控制逻辑;
修复了关闭基本索引导致内容索引监听丢失的问题
2023-09-05 18:41:28 +08:00
iaom 81f4a315ee fix(frontend):将通过QIcon和XdgIcon获取图标的方法加锁,避免多线程调用崩溃 2023-09-01 17:30:21 +08:00
iaom 1354acbc44 refact(frontend):优化部分内存占用,删除一些冗余代码 2023-09-01 11:07:57 +08:00
iaom d2e1d204d9 refactor:使用cmake重新构建项目 2023-08-18 15:26:21 +08:00
iaom 490459291e feat(index):增加内容索引开关
内容索引现在可以通过新增的gsettings(content-index-enable)单独控制开关,
新增了version键用于判断gsettings版本,兼容旧版用户配置:
当file-index-enable值为true,升级之后file-index-enable和
content-index-enable都置为true,否则都置为false。
备注:此提交需要配合设置页面的改动一起食用。
2023-08-18 07:17:34 +00: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
iaom 3fd7f2183d fix(file system watcher): 修复文件索引关闭再打开后丢失监听的问题
文件监听在关闭后没哟正确清空所有缓存,导致再次重新开启监听后不能正确添加监听
2023-07-28 10:47:38 +08:00
JunjieBai d6ef08f769 Optimize the logic of the function which is used to snippet chinese in order to adapt to the GB18030-2022 standard. 2023-07-27 13:59:21 +08:00
iaom 637e71e277 修复文件索引中部分中文字符在term中被截断的问题 2023-07-24 11:39:18 +08:00
JunjieBai c0c634f980 Fix the problem that the online app will not be shown because of timeout. 2023-07-20 16:43:04 +08:00
JunjieBai 455dc0bee6 Fix the problem that the right side of the content search's detail page was blocked. 2023-07-19 11:35:43 +08:00
iaom 3d128c42b7 应用搜索调用应用商店接口接口改为异步调用 2023-07-17 08:17:26 +00:00
hewenfei 53b4d3e894 修复多线程搜索崩溃问题 2023-07-10 19:18:48 +08:00
iaom cbf833fa08 精简代码;完善搜索服务插件生命周期管理;增加搜索搜索隐藏文件功能 2023-07-07 05:38:55 +00:00
彭逸豪 0c2ef7bee2 fix: designated initializers cannot be used with a non-aggregate type 2023-07-05 03:31:24 +00:00
JunjieBai 0a0eb0d6ac 修改英文下无默认打开应用提示框的按钮文字为OK 2023-07-04 17:59:32 +08:00
iaom 243a2874e7 解决内容搜索插件详情页加载大图片时阻塞ui的问题 2023-07-04 15:02:20 +08:00
JunjieBai b0159fb2cb Add Mongolian translation files. 2023-06-28 09:35:15 +08:00
iaom 7e296c325a 解决文件搜索接口在使用索引搜索根目录时无法搜到文件的问题 2023-06-16 09:27:48 +08:00
iaom d1bf50859a 解决当搜索UI关闭后未正确停止插件搜索线程的问题;解决遍历搜索时文件搜索插件长时间cpu占用较高的问题。 2023-06-14 06:21:18 +00:00
JunjieBai a128cfb5b7 Add translations files of app widget. 2023-06-07 14:15:44 +08:00
JunjieBai 3b8c35c2c2 optimize global-settings;
Fix the problem that the search window cannot show because it was hidden by something while create-index-dialog is showing.
2023-06-02 17:17:54 +08:00
iaom 255518c245 搜索接口增加搜索结果通知机制和状态查询功能 2023-05-19 16:51:33 +08:00
iaom ed768ff48f 修复添加索引目录后索引状态未更新的问题 2023-05-15 11:35:06 +08:00
JunjieBai e52bc8ca76 Use json to optimize the config file of user's block dir. 2023-05-08 06:53:49 +00:00
iaom 02dfef8627 修复刚开机时应用搜索插件导致偶现卡死问题;优化搜索服务插件接口;优化搜索结果队列处理逻辑。 2023-05-06 17:26:20 +08:00
JunjieBai c91a74c66d Fix the problem that online applications can not jump to the description page in software center. 2023-05-05 17:25:57 +08:00
iaom df3332046f 修复搜索插件生命周期管理内存泄漏问题 2023-05-04 14:11:01 +08:00
iaom f5eaf99f6f 解决一处潜在的崩溃问题 2023-04-28 16:51:51 +08:00
iaom 94ea037203 解决一些编译问题 2023-04-24 18:40:47 +08:00
iaom d9db5ff896 Revert "增加索引目录时采用增量更新检验操作,避免重复索引"
This reverts commit 031ce8bbd8.
2023-04-24 18:33:30 +08:00
iaom e7676c887a 解决索引提示弹窗会挡住模态窗口的问题 2023-04-24 17:36:37 +08:00
iaom e5e62cd3f7 解决一些编译警告,删除一些无用代码,更新README 2023-04-24 14:07:56 +08:00
JunjieBai c5304dfe94 Remove some compilation warnings. 2023-04-24 09:28:42 +08:00
jixiaoxu 12d5e76cc5 修复文件内容索引更新时文件过滤判断逻辑的问题; 2023-04-21 17:20:31 +08:00
iaom 37e3de3cee 解决全局搜索中遍历搜索不能搜索到顶层文件夹的问题 2023-04-21 11:22:41 +08:00
iaom 80320ab9f2 补充编译依赖 2023-04-21 11:08:08 +08:00
iaom 543b766351 解决一些编译警告 2023-04-19 15:14:36 +08:00
iaom b172baca45 整理一些头文件引用,解决打包编译问题 2023-04-19 02:42:47 +00:00
JunjieBai 0e7d204f11 Fix the problem that the app search results contatins the auto-start apps. 2023-04-18 11:38:00 +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
JunjieBai fbd391d110 Fix the proble that can not add '/' to the block dirs in ukcc plugin. 2023-04-12 17:16:30 +08:00
JunjieBai eb0b77035d 修复没有默认打开方式时弹窗按钮为是而不是确定的问题。 2023-04-11 05:52:44 +00:00
iaom ff0dd3384a 补充部分文件copyright. 2023-04-11 10:21:51 +08:00
baijunjie 29e5ee6767 Optimize Dir Watcher. 2023-04-08 23:10:22 +08:00
iaom a2514a1d98 修复搜索接口当设置搜索目录为‘/’时无法搜到内容的问题 2023-04-07 10:21:07 +08:00
JunjieBai 5f4e172c0d Modify the trigger logic of app widget. 2023-04-06 09:50:04 +00:00
iaom 031ce8bbd8 增加索引目录时采用增量更新检验操作,避免重复索引 2023-04-04 09:07:49 +00: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
jixiaoxu 2760b30a2a 修复中文分词接口编译问题; 2023-03-20 15:34:05 +08:00
jixiaoxu 0725b5b097 中文分词接口统一处理; 2023-03-20 15:21:58 +08:00
iaom 308b9b642f 解决文件搜索插件判断索引状态有误的问题和文件图标获取失败的问题 2023-03-16 17:49:12 +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
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