Commit Graph

96 Commits

Author SHA1 Message Date
JunjieBai 53f36107b2 feat(frontend):修改设置搜索结果显示方式. 2023-09-14 16:37:54 +08:00
JunjieBai b328bc8cb8 fix(index):修改文本文件解析逻辑
一些格式有问题的文件可能会被解析成乱码,因此检测到编码格式有问题则跳过解析。
2023-09-14 16:37:34 +08:00
iaom 5b81eb9d7e fix(index):修复了错误的开关索引控制逻辑;
修复了关闭基本索引导致内容索引监听丢失的问题
2023-09-08 08:52:03 +08:00
iaom 5608fd13ca fix(frontend):将通过QIcon和XdgIcon获取图标的方法加锁,避免多线程调用崩溃 2023-09-08 08:51:31 +08:00
iaom 9bce2df131 refact(frontend):优化部分内存占用,删除一些冗余代码 2023-09-08 08:51:24 +08:00
iaom f46bfe0c28 refactor:使用cmake重新构建项目 2023-08-21 14:57:08 +08:00
iaom 92ff17f21b feat(index):增加内容索引开关
内容索引现在可以通过新增的gsettings(content-index-enable)单独控制开关,
新增了version键用于判断gsettings版本,兼容旧版用户配置:
当file-index-enable值为true,升级之后file-index-enable和
content-index-enable都置为true,否则都置为false。
备注:此提交需要配合设置页面的改动一起食用。
2023-08-21 14:54:43 +08:00
JunjieBai 50f7bb1f5c feat(app-database-service):add a method to find desktop file through WinId, add a START_UP_WMCLASS field to the database. 2023-08-21 14:54:21 +08:00
iaom 8db3f0219a fix(file system watcher): 修复文件索引关闭再打开后丢失监听的问题
文件监听在关闭后没哟正确清空所有缓存,导致再次重新开启监听后不能正确添加监听
2023-08-01 13:54:37 +08:00
JunjieBai da7ae48cad Optimize the logic of the function which is used to snippet chinese in order to adapt to the GB18030-2022 standard. 2023-08-01 13:54:30 +08:00
iaom f6c928c8e1 修复文件索引中部分中文字符在term中被截断的问题 2023-08-01 13:54:23 +08:00
JunjieBai fe3feb68e3 Fix the problem that the online app will not be shown because of timeout. 2023-08-01 13:54:16 +08:00
JunjieBai 9d62a24662 Fix the problem that the right side of the content search's detail page was blocked. 2023-08-01 13:53:19 +08:00
iaom 2c1cce5309 应用搜索调用应用商店接口接口改为异步调用 2023-08-01 13:53:09 +08:00
hewenfei 04e32c49ce 修复多线程搜索崩溃问题 2023-07-14 09:21:31 +08:00
iaom 17f291b9a2 精简代码;完善搜索服务插件生命周期管理;增加搜索搜索隐藏文件功能 2023-07-14 09:21:01 +08:00
彭逸豪 ac1d5ce056 fix: designated initializers cannot be used with a non-aggregate type 2023-07-14 09:20:52 +08:00
JunjieBai b0ac58b952 修改英文下无默认打开应用提示框的按钮文字为OK 2023-07-14 09:20:39 +08:00
iaom e4d221402d 解决内容搜索插件详情页加载大图片时阻塞ui的问题 2023-07-14 09:20:29 +08:00
JunjieBai 37f3ddfdea Add Mongolian translation files. 2023-07-14 09:20:19 +08:00
iaom eb89486427 解决文件搜索接口在使用索引搜索根目录时无法搜到文件的问题 2023-06-19 14:17:38 +08:00
iaom 275f69dd3f 解决当搜索UI关闭后未正确停止插件搜索线程的问题;解决遍历搜索时文件搜索插件长时间cpu占用较高的问题。 2023-06-19 14:17:31 +08:00
JunjieBai 01bd00c8af Add translations files of app widget. 2023-06-07 15:37:33 +08:00
JunjieBai 243bcd050e 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-06 15:22:03 +08:00
iaom 2c04b82f4f 搜索接口增加搜索结果通知机制和状态查询功能 2023-06-06 15:21:28 +08:00
iaom 0e152ae63a 修复添加索引目录后索引状态未更新的问题 2023-06-06 15:21:12 +08:00
JunjieBai 7c0b582f46 Use json to optimize the config file of user's block dir. 2023-05-11 17:59:30 +08:00
iaom f9f6fecd1d 修复刚开机时应用搜索插件导致偶现卡死问题;优化搜索服务插件接口;优化搜索结果队列处理逻辑。 2023-05-11 17:59:16 +08:00
JunjieBai 064c15471f Fix the problem that online applications can not jump to the description page in software center. 2023-05-11 17:59:10 +08:00
iaom 16ad2709ec 修复搜索插件生命周期管理内存泄漏问题 2023-05-11 17:59:02 +08:00
iaom c37771cdaa 解决一处潜在的崩溃问题 2023-05-11 17:58:52 +08:00
iaom 6268e9b4b2 解决一些编译问题 2023-04-26 11:21:49 +08:00
iaom d6565c87d6 Revert "增加索引目录时采用增量更新检验操作,避免重复索引"
This reverts commit 031ce8bbd8.
2023-04-26 11:21:42 +08:00
iaom 5ae7233b21 解决索引提示弹窗会挡住模态窗口的问题 2023-04-26 11:21:32 +08:00
iaom ab431825ef 解决一些编译警告,删除一些无用代码,更新README 2023-04-26 11:21:25 +08:00
JunjieBai 819a256054 Remove some compilation warnings. 2023-04-26 11:21:18 +08:00
jixiaoxu fdb4696a3b 修复文件内容索引更新时文件过滤判断逻辑的问题; 2023-04-26 11:21:10 +08:00
iaom e3daee0b53 解决全局搜索中遍历搜索不能搜索到顶层文件夹的问题 2023-04-26 11:21:02 +08:00
iaom bfed529867 补充编译依赖 2023-04-26 11:20:55 +08:00
iaom fcb5aa4142 解决一些编译警告 2023-04-26 11:20:48 +08:00
iaom 760da8a757 整理一些头文件引用,解决打包编译问题 2023-04-19 10:53:01 +08:00
JunjieBai cda4acfff7 Fix the problem that the app search results contatins the auto-start apps. 2023-04-18 17:02:38 +08:00
JunjieBai dd7fc545b6 Add AUTO_START field.
Add a interface to get desktop file path by desktop file name.
2023-04-18 17:02:31 +08:00
iaom 92f22930eb 优化日志打印机制;删除部分无用代码. 2023-04-18 17:02:21 +08:00
JunjieBai d7c962177e Add a interface to set launched state.
Add a method to set value of field in database.
2023-04-18 17:02:14 +08:00
JunjieBai 3a90aff469 Fix the proble that can not add '/' to the block dirs in ukcc plugin. 2023-04-12 17:26:00 +08:00
JunjieBai 360f991846 修复没有默认打开方式时弹窗按钮为是而不是确定的问题。 2023-04-12 17:25:42 +08:00
iaom 72e7b7d717 补充部分文件copyright. 2023-04-12 17:25:27 +08:00
baijunjie 9c1d2f482b Optimize Dir Watcher. 2023-04-12 17:25:18 +08:00
iaom a339b337eb 修复搜索接口当设置搜索目录为‘/’时无法搜到内容的问题 2023-04-12 17:24:56 +08:00