Commit Graph

309 Commits

Author SHA1 Message Date
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
iaom d3caad4f56 Add support for pdf in file parser. 2021-04-15 09:19:36 +08:00
zhangjiaping a0563ab919 Fix: Mainwindow will not refresh sometime theme changed.
修复修改完透明度后修改主题,主界面颜色未随主题切换的Bug
2021-04-13 15:40:19 +08:00
Zihao Zhang 3c014ff917 Merge branch 'main' into '0330-dev'
# Conflicts:
#   libsearch/index/first-index.h
#   libsearch/index/inotify-index.h
2021-04-13 07:03:00 +00:00
iaom 5a73c03d90 Add support for xlsx pasering. 2021-04-13 14:53:55 +08:00
iaom 270f959c38 Trying to optimize xml parser. 2021-04-13 13:57:02 +08:00
iaom f1485deeac Add support for 'pptx'. 2021-04-08 16:11:58 +08:00
Mouse Zhang 71e6c6896a Fix potential problems. 2021-04-08 14:23:18 +08:00
Mouse Zhang 3dc0eb4af2 Optimize code logic. 2021-04-07 22:28:49 +08:00
Mouse Zhang 9ca9f47320 Fix: symbolic link makes main blocked. 2021-04-06 16:20:29 +08:00
iaom 3233e4af5c Add support for '.xls', '.dot','.wps', '.pps', '.dps', '.et','.ppt' 2021-04-06 02:21:40 +08:00
iaom d050d4ea28 [Fix] Snippet will not be displayed correctly when file content is too short. 2021-04-01 20:41:22 +08:00
iaom 20322d4cd3 Add function of historycal record. 2021-03-30 09:23:57 +08:00
“sunfengsheng” c76c501c18 fix:Sets polyphonic and English questions when searching 2021-03-29 10:17:26 +08:00
iaom 4c0d791052 Optimized some inappropriate code. 2021-03-25 10:46:26 +08:00
张佳萍 1afd368c86
Merge pull request #190 from iaom/0313-dev
Adjusted the focus logic of search result list;Update changelog.
2021-03-23 16:41:30 +08:00
iaom 81c4ef9a0e Update changelog. 2021-03-22 14:51:36 +08:00
iaom 4ca0bc1ff3
Merge pull request #189 from sunfengsheng/main
fix:解决多音字问题
2021-03-22 14:32:51 +08:00
zhangjiaping aee4394e25 fix:解决多音字问题 2021-03-22 11:42:05 +08:00
zhangjiaping 9b7bcf54c6 Feat:Add cloud sync interface. 2021-03-20 15:37:54 +08:00
zhangjiaping 449825c5f9 feat(frontend): Reset geometry for ukui-search.
Description: 重新计算搜索主界面的显示位置

Log: 重新计算搜索主界面的显示位置
2021-03-19 10:15:30 +08:00
iaom 87ff2fade1 Re-implement the file search interface. 2021-03-17 10:23:21 +08:00
iaom 05fe8b5b85 Try to reduce the memory footprint a little bit. 2021-03-16 17:21:10 +08:00
iaom 51c2db3637 Modified fifo path. 2021-03-13 14:52:20 +08:00
iaom fcb4203a26
Merge pull request #167 from mammonsama666/0311-dev
fix(frontend): Software center will not refresh which is already opened.
2021-03-11 22:36:19 +08:00
sunfengsheng 08039bebf8 fix:In English mode, if you search for Peony or Terminal, you will not find the correct application
link:http://172.17.66.192/biz/bug-view-42345.html
2021-03-11 15:12:26 +08:00
sunfengsheng af02c8d613 fix:Type a lot of space, and you'll still see a lot of app names
http://172.17.66.192/biz/bug-view-42203.html
2021-03-11 14:19:04 +08:00
zhangjiaping 3519dbe2c2 fix(frontend): Software center will not refresh which is already opened.
Description: 修复软件商店打开后点击安装不会再跳转的bug

Log: 修复软件商店打开后点击安装不会再跳转的bug
Bug: http://172.17.66.192/biz/bug-view-41150.html
2021-03-11 11:09:47 +08:00
zhangjiaping c3a80a7614 feat(frontend): Add app description.
Description: 为未安装应用添加应用描述栏

Log: 为未安装应用添加应用描述栏
2021-03-10 15:04:53 +08:00
iaom 74eaa6fdb5 [FIX]Some 'doc' type could not be read. 2021-03-09 09:56:47 +08:00
张佳萍 8fb9eb38c4
Merge pull request #162 from MouseZhangZh/main
[Fix]Index process may crash while system first boot;
2021-03-08 14:39:44 +08:00
iaom 6d9961fbc7 [FIX]Index crash if database path don't exits. 2021-03-08 10:02:53 +08:00
Mouse Zhang f32a89cd33 [Fix]Index process may crash while system first boot;
Remove a dbus operation.
2021-03-06 16:41:16 +08:00
zhangjiaping 6099efc8f1 feat(frontend): Sort installed applications.
Description: 已安装应用搜索结果排序

Log: 已安装应用搜索结果排序
2021-03-06 10:05:42 +08:00
iaom c089012854
Merge pull request #160 from sunfengsheng/0305
Application Search Optimization
2021-03-05 10:05:42 +08:00
iaom fe7850b3da
Update app-match.cpp 2021-03-05 09:59:55 +08:00
sunfengsheng 0f9f1b90cd Application Search Optimization 2021-03-05 08:43:02 +08:00
iaom 3daf5ceab9 Optimized file content parser. 2021-03-04 14:10:00 +08:00
iaom 4a8076122e Add support for 'doc' file in file content search. 2021-03-02 15:19:10 +08:00
张佳萍 c329840721
Merge branch 'main' into 0226-dev 2021-03-01 13:30:07 +08:00
zhangjiaping 71225ce64e Modify app-match API 2021-03-01 13:28:18 +08:00
iaom 6893409b5e Make file search case insensitive. 2021-03-01 09:07:33 +08:00
MouseZhangZh 5466590bec Reduced resource footprint and increased indexing time. 2021-02-27 10:51:19 +08:00
sunfengsheng 723a79c221 add dir watch of desktop 2021-02-27 00:57:47 +08:00
sunfengsheng 883de524e3 Code optimization 2021-02-26 11:38:22 +08:00
sunfengsheng 0e771323a6 Docking software store 2021-02-26 11:21:41 +08:00
Mouse Zhang cfe00a3045
Update global-settings.cpp 2021-02-25 14:45:44 +08:00
iaom fbb15e4a14 [FIX] Updating status with QSettings will get stuck sometimes. 2021-02-25 14:40:44 +08:00
MouseZhangZh f289cd1dc2 Add memset. 2021-02-25 09:37:57 +08:00
iaom 05d1f4143d
Merge pull request #146 from mammonsama666/0222-dev
feat(frontend): Add web searching & web engine settings.
2021-02-24 08:44:04 +08:00
zhangjiaping 5cf3423052 feat(frontend): Add web searching & web engine settings.
Description: 添加网页搜索功能和引擎设置功能

Log: 添加网页搜索功能和引擎设置功能
2021-02-22 20:30:06 +08:00
iaom eac2d7f418 Update exit status settings. 2021-02-22 14:35:55 +08:00
zhangpengfei ca3d633527 [FIX] Function sigset in main.cpp is useless,first-index will often be called. 2021-02-21 11:41:20 +08:00
zhangpengfei 501022ad92 Optimized Chinese phonetic alphabet index. 2021-02-20 16:56:30 +08:00
zhangpengfei 5b9099c79c Remove some useless dependence temporarily. 2021-02-20 13:59:06 +08:00
MouseZhangZh 361df062be Upload a new chinese segmentation lib --friso 2021-02-19 10:46:53 +08:00
zhangpengfei a01e7000bd [FIX]Used uchardet_delete too early. 2021-02-07 10:11:30 +08:00
zhangzihao a41381db2d [FIX] Spelling mistake. 2021-02-06 17:19:56 +08:00
zhangzihao dc851cf32f Replacing exit(0) to _exit(0) to avoid crash down. 2021-02-06 15:13:05 +08:00
zhangpengfei 1fe631efa8 Replace returnMessage by returnCode in blacklist function. 2021-02-04 20:01:21 +08:00
zhangpengfei ef755ef9de [Fix]Translation install fail issue; Optimized txt files parsing function. 2021-02-04 19:46:37 +08:00
zhangpengfei 81cf59cd3c [FIX] File index won't be created correctly when copied a folder which has many childern folders. 2021-02-02 16:04:14 +08:00
张佳萍 7289562d17
Merge pull request #122 from iaom/0126-dev
[FIX] Compute the md5 in the wrong way.错误的计算了md5值。
2021-02-02 14:17:09 +08:00
zhangpengfei ee7ff13017 [FIX] Compute the md5 in the wrong way.错误的计算了md5值。 2021-02-02 14:05:32 +08:00
zhangzihao f5f17e13e3 Set max thread count in first index equals half the number of logical processor. 2021-02-01 21:20:38 +08:00
iaom 675630e18a
Update inotify-index.cpp 2021-01-30 16:32:46 +08:00
zhangzihao 263714d56a Try to resolve the problem of files lost. 2021-01-30 10:39:35 +08:00
zhangpengfei bcc975ae67 Remove translations for libsearch. 2021-01-29 16:43:46 +08:00
zhangpengfei 39a6382377 Update copyright. 2021-01-29 11:43:07 +08:00
zhangpengfei 2d6a208dc4 Adds support for special symbols in file index and search. 2021-01-27 18:22:50 +08:00
zhangpengfei deb148f297 Add return message when block an directory which is not in user directory;
Update translations.
2021-01-27 10:22:56 +08:00
zhangzihao fccf8a25ef [FIX] File search won't return enough result issue. 2021-01-26 16:50:30 +08:00
zhangpengfei 7e3bb085a8 Optimized index sub-process code. 2021-01-26 11:32:02 +08:00
zhangpengfei 22fbf1883f Optimized file search method;Update debian files about translations. 2021-01-25 19:16:22 +08:00
zhangzihao e6ebd8ec9e Changed _exit to exit. 2021-01-23 11:32:18 +08:00
zhangzihao 2d7b3a8eb1 Change the timeout mechanism in inotify index. 2021-01-23 10:13:13 +08:00
zhangzihao 0dda5b97e5 Use select to not block process and child process whill exit per 30 secs. 2021-01-23 09:52:44 +08:00
zhangzihao fc283322b7 Removed inotify on home and modified index status 2021-01-22 17:15:43 +08:00
zhangzihao d4c613e3e6 Fixed an issue where the monitor would not start the next time the application exits normally. 2021-01-22 10:51:06 +08:00
zhangzihao add5b7bb46 Add named pipe to control the order of two child process. 2021-01-22 09:49:44 +08:00
zhangzihao 501e252bf7 Adjust the logic between parent and child processes, named pipes to be added. 2021-01-21 21:05:53 +08:00
zhangpengfei 452896a354 Creat two sub-processes for file index to reduce the resource consumption(ongoing). 2021-01-21 13:50:21 +08:00
zhangzihao 8e42f28145 change position of index status from index-generator to first-index and inotify-index. 2021-01-20 17:14:14 +08:00
zhangjiaping ac93b02abc feat(frontend): Adapt ukui-kwin.
Description: 适配窗管的无边框策略

Log: 适配窗管的无边框策略
2021-01-20 15:33:49 +08:00
zhangpengfei 9350b32a6e Optimized docx parsing method;
Optimized file content search method;
2021-01-19 20:59:46 +08:00
zhangzihao 5790b5692c Try fixing occupied too much memory issue. 2021-01-19 19:26:39 +08:00