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
PengfeiZhang
aea548ad74
Merge branch '0627ukss' into 'ukss-dev'
...
Add interfaces for changing position of top&favorites apps.Add update signal.Modify update logic.Adjust the struct of app-db-manager and app-info-table.
See merge request kylin-desktop/ukui-search!340
2022-07-01 02:43:52 +00: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
hewenfei
d3c509aa2f
修改qurl为qstring
2022-06-28 17:36:31 +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
PengfeiZhang
72aae0bf98
Merge branch '0615ukss' into 'ukss-dev'
...
Optimize the structure of app-search plugin.Fix: The AppDatabase exception will cause the program that calls it to exit.
See merge request kylin-desktop/ukui-search!334
2022-06-27 02:58:56 +00:00
JunjieBai
5b90706ca8
Add a new function to traverse the desktop files and to handle the data in AppDataBase.
...
Adjust the code structure.
2022-06-24 12:12:46 +08:00
hewenfei
c57ffb1750
修改路径的拼接方式
2022-06-23 13:44:38 +08:00
JunjieBai
e7cfd7bd83
Optimize the structure of app-search plugin.
2022-06-23 10:13:58 +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
PengfeiZhang
7523110016
Merge branch 'ukss-dev' into 'ukss-dev'
...
新增应用管理启动接口;
See merge request kylin-desktop/ukui-search!306
2022-06-23 01:17:57 +00:00
iaom
3848939928
解决编译问题。
2022-06-14 20:46:36 +08:00
jixiaoxu
0004538ee3
新增搜索服务应用数据库接口;新增搜索应用插件功能;搜索服务接口新增设置返回数据结构(应用搜索插件);目录结构优化等;
2022-06-13 13:38:47 +08:00
hewenfei
6d419424bf
修改搜索服务searchtask与搜索插件的对应关系.
2022-06-13 08:58:59 +08:00
iaom
46c7ab437c
增加索引删除功能。
2022-06-02 09:23:53 +08:00
baijunjie
0fe176a286
Add the default indexable dir.
...
Add the encapsulation of the singles in dir-watcher.
Modify the removeIndexableListItem, add some locks.
2022-05-31 10:48:45 +08:00
iaom
1a440bf78f
调整索引建立和增加的逻辑,可以实现单独重建某个数据库。
2022-05-27 16:09:46 +08:00
hewenfei
4294019e28
新增解析uop格式文档,增加uof ppt文档解析粒度
2022-05-27 16:09:20 +08:00
hewenfei
04267253a6
新增解析uof格式ppt文档
2022-05-27 16:07:31 +08:00
iaom
a71a14ffbf
新增uof,uot,uos,ofd格式文件内容解析(不支持演示文稿).
2022-05-27 16:07:09 +08:00
iaom
cacf2b8fc8
修复了添加新的索引目录后可能会导致已经索引的内容搜不到的bug。
2022-05-27 14:34:04 +08:00
jixiaoxu
ea46fc8199
新增html文件文本内容解析及搜索功能;
2022-05-27 14:33:17 +08:00
baijunjie
91bcdd6c18
Add the ukui-search-dir-manager process which is instead of dir-watcher to solve the qSettings conflict in the case of multiple processes.
2022-05-27 14:32:01 +08:00
baijunjie
fc4fc82cab
Fix: there's something wrong when the index path which will be added is not exists or is already be added.
2022-05-27 14:25:38 +08:00
iaom
6e7ca5e35c
文件索引改为白名单形式.
2022-05-27 14:25:04 +08:00
baijunjie
a7cec2da4f
Add the dbus interface of dir watcher for file index.
2022-05-27 14:22:50 +08:00
iaom
407251b865
Modified file index switch gsettings.
2022-05-27 14:22:28 +08:00
纪笑旭
772458b8da
Merge branch '0516ukss' into 'ukss-dev'
...
Encapsulate the basic interface of cppjieba.
See merge request kylin-desktop/ukui-search!313
2022-05-27 02:26:41 +00:00
iaom
cb1201a283
修改版本号机制,修改插件版本校验机制。
2022-05-27 09:42:15 +08:00
iaom
6009d862ca
解决翻译问题。
2022-05-25 11:18:04 +08:00
baijunjie
7daa82e66f
Encapsulate the basic interface of cppjieba and hanzi to pinyin.
...
Use the perfect forword to optimize the 'isMultiTone' interface.
2022-05-19 14:32:31 +08:00
jixiaoxu
9c81e40c3a
新增应用管理启动接口;
2022-05-10 13:49:54 +08:00
hewenfei
130c46508b
增加文件搜索插件标签搜索功能
2022-04-28 15:49:51 +08:00
PengfeiZhang
f76f8c8d14
Merge branch 'ukss-dev-content' into 'ukss-dev'
...
1.新增内容搜索插件,2.新增搜索错误信号
See merge request kylin-desktop/ukui-search!299
2022-04-28 07:26:53 +00:00
hewenfei
95ccbf787f
根据review意见更改部分代码
2022-04-26 14:33:06 +08:00
hewenfei
d5ddceee51
增加搜索错误信号,通知调用者搜索异常的信息
2022-04-26 10:43:02 +08:00
PengfeiZhang
8ada095f21
Merge branch 'ukss-dev' into 'ukss-dev'
...
去掉不需要的黑名单判断代码
See merge request kylin-desktop/ukui-search!297
2022-04-26 02:29:27 +00:00
hewenfei
55858964aa
删除文件索引搜索不需要的黑名单判断
2022-04-25 13:51:40 +08:00
hewenfei
338a090081
新增文件内容搜索插件
2022-04-25 11:16:25 +08:00
纪笑旭
3fd06b9569
Merge branch 'ukss-dev' into 'ukss-dev'
...
索引搜索的权重相同的结果项按照修改时间新->旧排列。
See merge request kylin-desktop/ukui-search!293
2022-04-19 01:18:32 +00:00
iaom
ffd72cbaba
索引搜索的权重相同的结果项按照修改时间新->旧排列。
2022-04-19 09:16:20 +08:00
jixiaoxu
ad86d9b3ad
网页搜索占位图替换,尺寸修改;
2022-04-18 16:59:11 +08:00
jixiaoxu
42f7043f6b
文本内容搜索扩展OCR功能;
2022-04-13 13:46:30 +08:00
iaom
8661d1393b
修改了一处命名。
2022-04-11 17:46:13 +08:00
iaom
1135c48abf
修复索引关闭时取消监听不完全的问题。
2022-04-09 17:32:25 +08:00
PengfeiZhang
539dd6529b
Merge branch '0328ukss' into 'ukss-dev'
...
Story#8966:the '/data' directory can be searched by direct search.
See merge request kylin-desktop/ukui-search!282
2022-04-09 08:35:43 +00:00
baijunjie
5e818464c8
Story#8966:the '/data' directory can be searched by direct search.
2022-04-08 11:15:18 +08:00
iaom
b7e8221922
修复了一些小错误.
2022-04-07 15:45:40 +08:00
hewenfei
50bee43617
修改判斷搜索對象的邏輯
2022-03-30 14:46:59 +08:00
hewenfei
8e68962393
1.每个task只发送一次finish信号。2.设置直接搜索时的最大返回结果数量
2022-03-25 14:09:34 +08:00
hewenfei
c4fb3123b2
1.使用索引搜索home目录下的文件。2.增加指定结果集数量接口
2022-03-25 09:40:56 +08:00
iaom
baaac7a4dc
增加文件索引状态查询功能;优化文建索引启动校验逻辑。
2022-03-17 15:40:55 +08:00
iaom
fb7852e8fe
修复了一个愚蠢的错误。
2022-03-15 14:41:37 +08:00
iaom
4e3a9d93c6
使用信号量控制进程顺序,规避由于首次索引时间过长导致inotify队列过长问题。
2022-03-15 13:53:38 +08:00
iaom
5a02265302
增加了一些插件加载时的调试日志。
2022-03-14 16:27:58 +08:00
iaom
565f490035
解决合并代码后的编译问题,更新翻译文件。
2022-03-08 14:50:48 +08:00
jixiaoxu
577d4f6050
修复一处gio资源释放问题;
2022-03-08 10:41:43 +08:00
Jinxujie
f356ca340a
搜索引擎跟随控制面板图标
2022-03-08 10:41:34 +08:00
jixiaoxu
47af66e682
优化多音字字典存储数据结构;部分代码及注释整理;
2022-03-08 10:40:33 +08:00
iaom
fb7811e417
Fix some debuild problems caused by libquazip5-dev and QPainterPath.
2022-03-08 10:37:14 +08:00
iaom
5fd3da4bb5
Update version.
2022-03-08 10:36:09 +08:00
baijunjie
af3ea26b0a
Fix the incorrectly display of the ToolTip.
2022-03-08 10:34:44 +08:00
jixiaoxu
00a349e41b
Bug#106039 展开收起图标未反白;替换网页搜索详情页占位图;
2022-03-08 10:34:31 +08:00
iaom
655fe1ae9f
Update search plugin interface, add stop search function.
2022-03-08 10:34:11 +08:00
jixiaoxu
2e668d374a
新增OCR功能后端;修复内存泄漏一处;
2022-03-08 10:32:11 +08:00
baijunjie
607e021bfc
Add the default icon of the settings search item.
2022-03-08 10:23:21 +08:00
jixiaoxu
45915a06be
修复二进制解析文本问题;
2022-03-08 10:23:04 +08:00
baijunjie
91382784fd
add the lock of the settings search.
2022-03-08 10:22:45 +08:00
baijunjie
0244b8f29b
Modify the form of the htmlText in order to show the correct number of spacing.Modify the code format.
2022-03-08 10:18:22 +08:00
baijunjie
9c86647520
Add icons in the sourse file and use them as fallback icons.
2022-03-08 10:17:53 +08:00
iaom
0fea295bea
Fix a potential bug in plugin interface.
2022-03-08 10:16:21 +08:00
baijunjie
5fb81dd1d9
Align the icon and the title in search list by overriding the drawControl method.
2022-03-08 10:15:40 +08:00
baijunjie
67c134bc17
Change the color of the lines which are on the detail page in night mode.
2022-03-08 10:13:44 +08:00
baijunjie
0d9197fa06
add the mail search plugin.
2022-03-08 10:04:16 +08:00
iaom
24a94db0c6
文件索引增加配置索引目录和黑名单功能;顺便解决了一点编译问题。
2022-03-04 15:15:07 +08:00
PengfeiZhang
5abd667bb8
Merge branch '0228ukss' into 'ukss-dev'
...
Add the DirWatcher Class.
See merge request kylin-desktop/ukui-search!266
2022-03-03 02:43:19 +00:00
iaom
cfca21b857
Add app data iface.
2022-03-01 17:39:53 +08:00
baijunjie
2af31c6df7
Add the DirWatcher Class.
2022-03-01 10:37:03 +08:00
iaom
594371c274
修复队列未释放的问题.
2022-02-16 18:13:59 +08:00
iaom
c4c657c3b4
Add app data code dir.
2022-02-11 11:06:10 +08:00
iaom
c7117369b8
Add file search plugin demo; Optimized ukui search iface.
2022-01-24 09:44:42 +08:00
iaom
b8dd42ad4a
Optimized single application logic.
2022-01-20 15:04:17 +08:00
iaom
4dae1f2d90
Update ukui-service development files and libsearch.pro.
2022-01-18 17:43:13 +08:00
iaom
ca249fbcb5
Revert "Add the default icon of the settings search item."
...
This reverts commit 28ca6873c1
.
2022-01-18 10:54:38 +08:00
baijunjie
28ca6873c1
Add the default icon of the settings search item.
2022-01-18 10:49:57 +08:00
iaom
0e3f594028
Optimized search interface frame, add some annotation.
2022-01-12 18:01:59 +08:00
iaom
cf20f35181
Add file search task plugin frame.
2022-01-11 16:20:40 +08:00
iaom
a422c0cefa
Add plugin manager for search task.
2021-12-31 17:38:02 +08:00
iaom
2d659cf164
Add search interface frame.
2021-12-28 15:56:41 +08:00
iaom
e6cb935fc0
Change namespace.
2021-12-14 14:43:35 +08:00
baijunjie
9692ba6ca6
Refactoring the code of the setting search plugin.
2021-12-13 14:21:22 +08:00
iaom
02bdc54669
Add ukui-search-service.
2021-11-22 16:03:31 +08:00
jixiaoxu
8ef136bcbd
修复word、ppt、excel文件内容解析时的乱码问题;
2021-11-17 10:15:33 +08:00
iaom
ba88374273
添加数据库搜索单次数量限制。
2021-11-11 14:01:15 +08:00
PengfeiZhang
83aeea4ad0
Merge branch '1110frontend' into 'new-frontend'
...
Adapt to the new version of XML file,add some restrictions.
See merge request kylin-desktop/ukui-search!198
2021-11-11 05:33:28 +00:00
baijunjie
905051dc98
Adapt to the new version of XML file,add some restrictions.
2021-11-11 10:50:33 +08:00
iaom
4083ee024d
Fix merge error.
2021-11-11 10:03:57 +08:00
iaom
e95136e6bb
Optimize index switch logic.
2021-11-10 14:20:10 +08:00
PengfeiZhang
311983d9b2
Merge branch '1105frontend' into 'new-frontend'
...
Fix the problem that the name of the setting item was displayed incorrectly...
See merge request kylin-desktop/ukui-search!195
2021-11-10 06:05:47 +00:00
baijunjie
95466f7b4c
Adapt to the new version of XML file.
2021-11-10 11:07:09 +08:00
baijunjie
9b745b0b60
Fix the problem that the name of the setting item was displayed incorrectly and problem that the duplicates are not removed from the English list.
2021-11-10 11:06:09 +08:00
iaom
b50d51dfc8
Integrate blacklist function into Xapian database.
2021-11-10 10:20:16 +08:00
iaom
8e3855e95a
Fix:Index init failed sometimes.
2021-11-08 09:39:03 +08:00
iaom
c2905bc331
Delete content index if file content is empty.
2021-11-08 09:38:19 +08:00
jixiaoxu
a095150f09
Fix double word can not search;
2021-11-08 09:38:19 +08:00
PengfeiZhang
13b269b989
Merge branch '1103frontend' into 'new-frontend'
...
The ukui-control center has modified the jump commands for project sp2 and...
See merge request kylin-desktop/ukui-search!185
2021-11-08 01:26:12 +00:00
jixiaoxu
c44cea1ba3
Add selection after open path;
2021-11-05 10:38:04 +08:00
baijunjie
338ffe6dad
The ukui-control center has modified the jump commands for project sp2 and project ukui-3.1,and the ukui-search needs to be modified accordingliy.
2021-11-03 11:53:48 +08:00