Commit Graph

394 Commits

Author SHA1 Message Date
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
iaom 25bae31cff Add processing logic for encrypted files. 2021-10-29 14:34:07 +08:00
baijunjie b3c2ed7fec Determine whether the OpenXML file is encrypted. 2021-10-29 14:28:55 +08:00
jixiaoxu 7ecc6419a3 Add web search detail page; Change selection rules; Fix translation bug; Add web search plugin; Add some resouces; 2021-10-27 11:37:55 +08:00
iaom 26acf20077 Merge from dev-unity. 2021-10-19 11:14:35 +08:00
iaom d5ebf5a985 Fix:Term pos error when creat Xapian document. 2021-10-19 09:40:57 +08:00
PengfeiZhang 7c0e9f55a2 Merge branch '0929frontend' into 'new-frontend'
Fix:Application items cannot be found by using Pinyin and initials when the...

See merge request kylin-desktop/ukui-search!158
2021-10-08 07:24:30 +00:00
kirito e0cb6a46b3 Fix:Application items cannot be found by using Pinyin and initials when the system language is English. 2021-09-29 16:58:05 +08:00
kirito ac5a339307 Configuration items cannot be found by using Pinyin and initials when the system language is English. 2021-09-29 11:38:54 +08:00
jixiaoxu b9b206cb3a Add web search selection with no result; App search fix bug; 2021-09-24 15:35:47 +08:00
jixiaoxu 95955e5d92 Fix detail page content display bug; 2021-09-23 20:49:21 +08:00
kirito cf1cb802f4 Resolve the problems raised by the Code review meeting.
Fix:the commonly&recently entry in homepage do not refresh; unknown application item is shown in homepage;the type of result is mistakenly identified.
the unknown icon will get from a obsolute path.
2021-09-23 15:51:09 +08:00
iaom ce5c804a11 Add pop up window for file search plugin. 2021-09-23 10:31:13 +08:00
iaom 9998b87f29 Fix: Black list wont't work when block home location. 2021-09-15 14:47:08 +08:00
PengfeiZhang dc6c7625f6 Merge branch '0908dev' into 'dev-unity'
Fix the problem of incomplete file name display.

See merge request kylin-desktop/ukui-search!133
2021-09-15 01:22:44 +00:00
iaom ac8013e047 Optimized app search. 2021-09-14 10:22:18 +08:00
iaom c94f70e042 Fix: Wrong display of some files' icons. 2021-09-13 21:05:49 +08:00
baijunjie 70d7135e54 Merge branch '0908dev' into 'dev-unity'
Fix: incomplete file name display;the contents of some files are not fully displayed.
2021-09-13 20:43:30 +08:00
jixiaoxu 81ad29c4de Extend app search timeout; 2021-09-13 19:46:39 +08:00
iaom 4f3c134cc7 Optimized desktop files parser in app search. 2021-09-10 15:03:50 +08:00
iaom 091dac9d73 Fix: UI stuck occasionally. 2021-09-08 15:31:47 +08:00
iaom ea93efee7a Merge from dev-unity. 2021-09-07 17:53:19 +08:00
iaom d216398c82 Fix: Index error when process a whole dir. 2021-09-07 17:11:23 +08:00
iaom c877f83d4b Fix : Index crash when meet encrypt .doc files. 2021-08-27 18:07:42 +08:00
纪笑旭 af28835640 Merge branch '0720-newfrontend' into 'new-frontend'
Merge from dev-unity and update app search.

See merge request kylin-desktop/ukui-search!111
2021-08-26 12:24:07 +00:00
iaom d48fe5e52e Update app search. 2021-08-26 19:59:31 +08:00
Zihao Zhang d2491180b1 delete ')' 2021-08-26 03:28:39 +00:00
zhangzihao d721df0784 Add keyword bord. Remove description hint. 2021-08-26 11:22:10 +08:00
zhangzihao 3efb8f66a6 Add note search plugin. 2021-08-26 08:20:38 +08:00
iaom 96cc2b3bd0 Merge from dev-unity. 2021-08-25 18:00:53 +08:00
iaom d9ac480ae1 Fix:Wrong mutex operation in search-manager. 2021-08-24 17:14:28 +08:00
jixiaoxu 86c5ce7e73 Set settings search not distinguish Chinese and English; Fix settings search results with '/'; 2021-08-23 19:37:17 +08:00
iaom 1e0f66c8ff Merge from dev-unity. 2021-08-20 16:03:51 +08:00
PengfeiZhang 87eccf6dc4 Merge branch '0818dev' into 'dev-unity'
fix the question that the keyword will be cut off in the resultPage of the file content search.

See merge request kylin-desktop/ukui-search!99
2021-08-20 06:04:45 +00:00
baijunjie a7e296ca0c fix the question that the keyword will be cut off in the resultPage of the file content search. 2021-08-20 10:10:46 +08:00
iaom 359af667fc Update pinyinWithoutTone.txt. 2021-08-19 10:45:51 +08:00
iaom 27da9f3a0e Update app search. 2021-08-11 09:34:32 +08:00
iaom e245fccd11 Optimize the application search plug-in code. 2021-08-10 17:50:50 +08:00
baijunjie@kylinos.cn cc3cd423f9 make a snippet without cut cjk char 2021-08-06 17:45:28 +08:00
iaom ea5242b921 Update UI;Update internal plugins. 2021-08-06 10:54:48 +08:00
jixiaoxu ba0e71c23d Add order of best match results;Fix best match dissplay bug; 2021-08-03 16:08:30 +08:00
jixiaoxu ddc4aff954 Add best matches; Fix best list bug; 2021-08-02 13:46:59 +08:00
iaom 7d569715ea Add internal plugin detail pages;
Modified debian files.
2021-07-31 16:12:04 +08:00
iaom 0894cd56a8 Merge from dev-unity. 2021-07-20 11:28:36 +08:00
iaom 303c1fee6c Update binary-parser.cpp. 2021-07-19 14:09:35 +08:00
iaom deea743dec Add preview page iface. 2021-07-08 18:53:16 +08:00
Zhai Kangning ee3060f30f Update file-utils.cpp 2021-07-07 06:20:22 +00:00
iaom 7f04d303f2 Update file-utils.cpp/isOrUnder method. 2021-07-07 10:23:59 +08:00
iaom 37fa621452 [Fix] Path inclusive relation judgment incorrectly. 2021-07-06 16:53:32 +08:00
iaom 29e8968938 Add actions. 2021-07-05 14:27:14 +08:00
iaom f99ce401e6 Add a preview page plugin iface. 2021-07-03 16:49:37 +08:00
iaom 7fb1dba37f Merge from dev-unity 2021-07-03 16:07:17 +08:00
iaom 272d707230 [Fix] Creat fifo error sometimes. 2021-07-01 19:37:37 +08:00
iaom 099779fdc7 Merge from dev-unity 2021-06-30 16:24:45 +08:00
PengfeiZhang edfe1a0d4b Merge branch '0621-dev' into 'dev-unity'
Add a systembus iface for add inotify_max_user_instance, avoid inotify_init fail.

See merge request kylin-desktop/ukui-search!50
2021-06-30 03:08:33 +00:00
PengfeiZhang 8f35f1dfa1 Merge branch '0607-dev' into 'dev-unity'
Fix a bug(continue->break)

See merge request kylin-desktop/ukui-search!48
2021-06-30 02:21:17 +00:00
iaom 2daf23f7bd Add a systembus iface for add inotify_max_user_instance, avoid inotify_init fail. 2021-06-30 10:09:25 +08:00
jixiaoxu e3ffea6ea6 Fix a bug(break->continue) 2021-06-30 09:03:00 +08:00
iaom eef1f4e10f Merge from dev-unity 2021-06-29 14:00:05 +08:00
PengfeiZhang 316a4ae815 Merge branch '0607-dev' into 'dev-unity'
Fix a bug for app match;

See merge request kylin-desktop/ukui-search!46
2021-06-28 12:00:36 +00:00
rookie-J 4b02fdbb34 Fix a bug for app match; 2021-06-28 19:38:27 +08:00
PengfeiZhang 91c13ca43d Merge branch '0621-dev' into 'dev-unity'
[Fix] Tray icon click won't work after Win+D; Close inotify fd after closed file index service.

See merge request kylin-desktop/ukui-search!42
2021-06-26 06:47:59 +00:00
PengfeiZhang 89e06e6e92 Merge branch '0607-dev' into 'dev-unity'
Optimization of IDF dictionary loading mode; Limit the maximum number of words segmentation; Other optimization;

See merge request kylin-desktop/ukui-search!38
2021-06-26 06:42:55 +00:00
iaom d3181a36f2 Close inotify fd after closed file index service. 2021-06-25 16:30:46 +08:00
rookie-J bbf27b9d5f Optimization of IDF dictionary loading mode; Limit the maximum number of words segmentation; Other optimization; 2021-06-23 15:50:19 +08:00
iaom 5833658c82 Merge from dev-untiy. 2021-06-19 15:55:22 +08:00
iaom 91705118f8 Remove black list check when add one(under '/home' or not). 2021-06-18 17:28:27 +08:00
rookie-J 278c34db34 Add settings search plugin. 2021-06-18 09:48:58 +08:00
iaom a88bdf25d7 Add app search plugin. 2021-06-17 14:08:55 +08:00
Zihao Zhang 8886ee098a Merge branch '0605-dev' into 'dev-unity'
Add inotify events queue for merging events.

See merge request kylin-desktop/ukui-search!31
2021-06-15 07:19:25 +00:00
iaom d4939e118d Optimized pending file queue process logic. 2021-06-11 19:58:32 +08:00
Zhai Kangning 00365d291c Merge branch '0607-dev' into 'dev-unity'
Optimization of Jieba keyword extraction; Optimize memory and efficiency;

See merge request kylin-desktop/ukui-search!21
2021-06-11 07:27:25 +00:00
zhangjiaping 13cda837b7 Fix ui bugs.
Link:http://172.17.66.192/biz/bug-view-60982.html
Link:http://172.17.66.192/biz/bug-view-61034.html
2021-06-11 11:45:07 +08:00
iaom b9da7ad708 Add inotify events queue for merging events. 2021-06-10 20:43:57 +08:00
rookie-J b5b3926320 Optimization of Jieba keyword extraction; Optimize memory and efficiency 2021-06-07 15:37:06 +08:00
iaom 5692fe6505 Use shared memory to synchronous the path map between inotify-index subprocess and main process. 2021-06-04 16:38:02 +08:00
iaom 900b666154 Add a new thread pool for first index instead of using global thread pool. 2021-06-02 15:17:27 +08:00
iaom c85a4a5d27 [FIX]: Offset info error in keyword extraction. 2021-05-31 14:56:59 +08:00
iaom 63e81d08a2
Merge pull request #248 from ukui/v10sp1-dev
Merge from v10sp1-dev for app search optimization.
2021-05-31 14:32:33 +08:00
iaom bfb1d518f6
Merge pull request #246 from rookie-J/0506-dev
Optimize xml-file treatment; Optimize jieba escape character;
2021-05-31 14:18:12 +08:00
iaom f36c3b0bf7 Optimezed function of app search. 2021-05-30 11:28:04 +08:00
fensite 2154e5cae0
Update search-manager.cpp 2021-05-28 17:33:15 +08:00
rookie-J e01552618d Optimize xml-file treatment; Optimize jieba escape character; 2021-05-28 15:55:26 +08:00
Mouse Zhang 8e3fd0b1d1
Update search-manager.cpp 2021-05-28 15:49:49 +08:00
iaom a6d98d5085 Some optimization. 2021-05-28 14:22:17 +08:00
iaom 1ab8001445 Add modify time in result info. 2021-05-28 10:16:28 +08:00
iaom c643518001 Add file search internal plugins. 2021-05-27 21:10:11 +08:00
rookie-J 82a8d61cd1 Add file size judgment; Optimize the reference of Jieba function; Fix the default storage path of Jieba temporary files; 2021-05-22 09:18:35 +08:00
Mouse Zhang a7c098934c
Merge pull request #238 from sunfengsheng/main
Can search kde,mate,LX
2021-05-20 08:59:30 +08:00
Mouse Zhang 1f81c9bcb5
Merge pull request #237 from iaom/0512-dev
Fix: Automatic completion won't work in next search after clicked actions in detial widget.
2021-05-20 08:59:16 +08:00
iaom d9720d2b67 Modified search plugin iface. 2021-05-19 14:29:26 +08:00
sunfengsheng ed62e618d0 Can search kde,mate,LX 2021-05-19 09:58:57 +08:00
iaom f07f9085bf
Merge pull request #228 from sunfengsheng/main
fix:Night mode can be search in huawei
2021-05-18 20:48:08 +08:00
iaom 70a8ced4b8 Fix: Block list conf won't work. 2021-05-17 20:54:48 +08:00
iaom abce24773c Fix:Index process crashed when parsing some wps templates. 2021-05-17 14:47:39 +08:00
sunfengsheng 18442feb70 fix:Night mode can be search in huawei
link:172.17.66.192/biz/bug-view-48908.html
2021-05-17 14:09:23 +08:00
zhangzihao 48c388d129 Remove useless dbus call. 2021-05-15 22:45:08 +08:00
iaom 1ad0542fca
Merge branch 'main' into 0512-dev 2021-05-13 11:39:26 +08:00
iaom 5ff0d20b1f Optimized index status record mechanism. 2021-05-13 11:17:07 +08:00
zhangjiaping 16e7a0523a Optimize: Add compilation environment check.
添加部分编译选项。
2021-05-12 16:27:24 +08:00
zhangjiaping f4ea89dec8 Uniform window icon & optimize code. 2021-05-12 15:58:38 +08:00
rookie-J 546f80af48 Optimize the process of Qsettings.setValue(). 2021-05-12 15:01:20 +08:00
fensite 7598394fd6
Merge pull request #224 from rookie-J/0506-dev
Fix blockpath uneffective problem
2021-05-08 11:05:35 +08:00
fensite e6b3455966
Update search-manager.cpp 2021-05-08 11:02:13 +08:00
rookie-J b552c4f7a5 Fix blockpath uneffective problem 2021-05-08 09:26:12 +08:00
iaom 1077958980 Delete libchinese-segmentation-dev pkg. 2021-05-07 20:48:15 +08:00
rookie-J 035c68cc45 Fix plugin iface compilation problem. 2021-05-06 20:23:36 +08:00
iaom df42e034e9 Add plugin manager. 2021-05-03 00:21:36 +08:00
iaom 2f0e34774f Add namespace 'Zeeker';
Add plugin iface;
Add libchinese-segmentation-dev package;
Update translations.
2021-04-30 16:28:50 +08:00
zhangzihao 422c73fd1e Format code style. 2021-04-26 15:06:47 +08:00
iaom a70be3f810
Merge pull request #213 from sunfengsheng/main
fix:can not search android app
2021-04-26 00:34:12 -05:00
sunfengsheng 41ece5dce3 fix:can not search android app
link:172.17.66.192/biz/bug-view-49153.html
2021-04-26 11:39:43 +08:00
iaom 0c5a1ffcb5 Make direct search case insensitive. 2021-04-22 10:02:27 +08:00
iaom 6a8aa85c8f Avoid a deadly bug.:wq 2021-04-21 09:31:03 +08:00
Mouse Zhang 675e595bad
Merge pull request #201 from mammonsama666/0416-dev
Add default value for font-size & style-name.
2021-04-20 20:06:13 +08:00
zhangzihao 6969fba1fd Add change search method in ukui-search. 2021-04-20 16:24:07 +08:00
Mouse Zhang fd9a19ecae Add switch search method. 2021-04-16 16:09:50 +08:00
zhangjiaping 4688ec8e15 Add default value for font-size & style-name. 2021-04-16 15:57:48 +08:00
Mouse Zhang ffb51b9d17 Add direct search without index. 2021-04-16 15:35:54 +08:00
Mouse Zhang 82e74f4c6c
Merge pull request #200 from MouseZhangZh/main
Move headers' reference from source files to header files.
2021-04-16 11:39:04 +08:00
Mouse Zhang 154203f44b Move headers' reference from source files to header files. 2021-04-16 11:20:14 +08:00
zhangjiaping a5054306a1 Fix: Font-size & row height will not refresh in search list.
修复字体大小改变时搜索结果列表行高和fontmetircs不刷新的bug.
2021-04-15 15:06:24 +08:00
Zihao Zhang b4775df2eb Merge branch '0413-dev' into 'main'
Add support for pdf in file parser.

See merge request kylin-desktop/ukui-search!15
2021-04-15 05:44:30 +00:00
PengfeiZhang 0456eac8c0 Merge branch 'main' into '0413-dev'
# Conflicts:
#   src/settings-widget.cpp
2021-04-15 05:40:21 +00:00