Commit Graph

247 Commits

Author SHA1 Message Date
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
zhangpengfei 20efcc67af Try fixing occupied too much memory bug. 2021-01-19 10:44:28 +08:00
sunfengsheng cf12f39851 fix:输入为/设置选项会全部出来
link:http://172.17.66.192/biz/bug-view-34525.html
2021-01-18 15:03:36 +08:00
zhangjiaping 9cd15760ba fix(setting-widget): Index is empty.
Description: 索引项接口对接

Log: 索引项接口对接
Bug: http://172.17.66.192/biz/bug-view-33094.html
2021-01-15 16:16:51 +08:00
张佳萍 e0261a1a10
Merge pull request #86 from iaom/0115-dev
Add function of querying current index count.
2021-01-15 10:58:32 +08:00
zhangpengfei 0a1f1f7b69 Add function of querying current index count. 2021-01-15 09:14:25 +08:00
zhangpengfei cd41c9eaf1 More text file encoding formats are supported;
Update changelog.
2021-01-14 20:56:14 +08:00
zhangjiaping 22e1331c99 fix(frontend): Fix ui bugs for detail widget.
Description: 修复详情页显示不全和不换行的Bug

Log: 修复详情页显示不全和不换行的Bug
Bug: http://172.17.66.192/biz/bug-view-33617.html
2021-01-14 15:19:25 +08:00
张佳萍 5b84a5fd27
Merge pull request #80 from iaom/0113-dev
Add system tray icon.
2021-01-13 18:40:06 +08:00
iaom fc9ca050b7
Merge pull request #78 from MouseZhangZh/0110-dev
🗑🗑🗑delete unuseful files and add the number first index files and folders
2021-01-13 18:37:16 +08:00
zhangpengfei d7ff0e2a31 Add system tray icon. 2021-01-13 18:35:48 +08:00
zhangzihao 38cac0bc3b delete unuseful files and add the number first index files and folders 2021-01-13 15:59:04 +08:00
zhangpengfei 0f2c2f2ec6 Update desktop file 2021-01-13 15:30:42 +08:00
zhangzihao 276f520888 fix the bug of cannot delete files and add the handling of modify events 2021-01-13 14:04:13 +08:00
zhangpengfei 3aeaa46b2d [Fix] Delete folder won't success. 2021-01-13 11:02:15 +08:00
zhangpengfei 6465ea2457 Add index count;
[Fix] Duplicate index issue.
2021-01-12 18:54:51 +08:00
zhangpengfei 6158b46487 [FIX] Block dir won't take effect issue;
Remove '\n' when get text content.
2021-01-12 16:07:50 +08:00
zhangpengfei 7cf52a42f5 Updata ukui-search.install for translations. 2021-01-12 11:09:26 +08:00
zhangpengfei e554789059 Modified mode of search thread exit. 2021-01-11 20:49:42 +08:00
张佳萍 c991679741
Merge branch 'main' into 0111-dev 2021-01-11 20:38:38 +08:00
zhangjiaping 51fd7e19bf feat(searchList): Confirm interface with backend.
Description: 接口对接

Log: 接口对接
2021-01-11 20:34:51 +08:00
zhangpengfei 18665ec2cd Add lock in deconstruction of index-generator. 2021-01-11 18:36:04 +08:00
zhangzihao e046b609f1 add the feature of database won't be rebuild after restart and fix some bugs 2021-01-11 16:59:50 +08:00
zhangzihao 417400e8b7 delete unuseful files 2021-01-10 16:32:16 +08:00
zhangpengfei 929063645b Modified file search interface and index interface. 2021-01-10 15:59:17 +08:00
zhangpengfei 63f945ee17 Add remove block dir function. 2021-01-10 09:23:02 +08:00
iaom af19c6c94d
Merge pull request #61 from MouseZhangZh/0107-dev
🗑🗑🗑delete files unuseful from git, but they're still exist.
2021-01-10 09:15:22 +08:00
zhangzihao 6a225fc56d delete files unuseful from git, but they're still exist. 2021-01-10 09:09:46 +08:00
iaom 7b8906b22c
Merge pull request #60 from MouseZhangZh/0107-dev
️add inotify create or delete index and fix first index makes the size…
2021-01-10 09:04:19 +08:00
zhangzihao e2fd50baa1 add inotify create or delete index and fix first index makes the size of database increase unlimitedly 2021-01-10 09:01:22 +08:00
iaom 2a09482b18
Merge pull request #59 from MouseZhangZh/0107-dev
🍱🍱🍱add multithread build index and our config file have some problems
2021-01-09 11:35:33 +08:00
zhangzihao 4fa288b97a add multithread build index and our config file have some problems 2021-01-09 11:25:07 +08:00
zhangjiaping 1827b8335e feat(settings-widget): Use interface provided by backend.
Description: 调用黑名单和搜索的接口

Log: 调用黑名单和搜索的接口
2021-01-08 20:48:20 +08:00
zhangpengfei f77e1c180b Add blacklist function;
Using a queue to return file search results.
2021-01-08 19:08:24 +08:00
zhangpengfei d01cbe31bb [FIX] Translation files(*.qm) can not be generated issue.
Add desktop file,and some minor repairs.
2021-01-07 15:21:53 +08:00
zhangpengfei 5b11ba39c6 Update debian files and some interface optimization. 2021-01-06 17:42:35 +08:00
iaom 576e2760ac
Merge branch 'main' into 0106-dev 2021-01-06 14:49:20 +08:00
zhangzihao 842fe557bb 💩💩💩add class ukui-search-qdbus and turn PWD to OUT_PWD 2021-01-06 14:14:38 +08:00
zhangjiaping 33608a71ab feat(mainwindow): Show mainwindow when setting widget closed.
Description: 设置界面关闭时重新显示主界面

Log: 设置界面关闭时重新显示主界面
2021-01-06 11:21:19 +08:00
zhangjiaping 8b011bf847 feat(searchList): Add keyword highlight.
Description: 关键字高亮

Log: 关键字高亮
2021-01-06 09:59:08 +08:00
张佳萍 9f184cbd7f
Merge pull request #47 from iaom/0104-dev
Add debian related files.
2021-01-06 09:20:09 +08:00
sunfengsheng 9c4e03ddbc Set the search to duplicate 2021-01-05 17:13:13 -08:00
zhangpengfei afe162eb62 Add debian related files. 2021-01-06 08:57:21 +08:00
zhangpengfei 291ad86160 Add aborts record. 2021-01-04 18:55:18 +08:00
iaom 0b7ae5630d
Merge pull request #41 from MouseZhangZh/1230-dev
💥💥💥add gsettings which key is transparency
2021-01-04 14:37:05 +08:00
zhangpengfei 0f315b0f23 Optimized segment lib. 2021-01-04 14:35:04 +08:00
zhangzihao 804404f183 add gsettings which key is transparency 2021-01-04 14:21:45 +08:00
zhangzihao 6c535a8f26 add globalsetting and something(blockddirs and messagelist refact) incompeleted 2021-01-03 16:58:26 +08:00
zhangpengfei 601f9d636d Optimized text content search. 2021-01-03 16:01:35 +08:00
zhangpengfei 9ee1b37693 Store the content text for search and generate snippets when performing text content search. 2021-01-02 17:21:38 +08:00
iaom 5c4a9ba230
Merge pull request #34 from sunfengsheng/sfs-dev
Add Pinyin matching
2021-01-01 10:12:29 +08:00
iaom 7388ea19b0
Merge branch 'main' into 1231-dev 2021-01-01 10:10:33 +08:00
zhangpengfei c1b8818144 Add file content index and search funtion(lib). 2020-12-31 21:14:13 +08:00
zhangjiaping c2d678492c feat(settings): Correct spelling of 'folder' & add deleting folder method.
Description: 更正文件夹单词的拼写并添加设置列表删除功能

Log: 更正文件夹单词的拼写并添加设置列表删除功能
2020-12-31 09:09:13 +08:00
sunfengsheng 554fb56bde Add Pinyin matching 2020-12-30 05:41:00 -08:00
iaom d33ea025a4
Merge pull request #33 from mammonsama666/1230-dev
feat(settings): Optimize setting widget & add translations.
2020-12-30 18:50:31 +08:00
zhangjiaping b8b51103f2 feat(settings): Optimize setting widget & add translations.
Description: 优化设置界面并添加翻译文件

Log: 优化设置界面并添加翻译文件
2020-12-30 17:23:03 +08:00
zhangzihao 6c510bb02b improve the speed of indexing word's pinyin and do not index words which include more than three multitone words 2020-12-30 15:56:23 +08:00
zhangpengfei d8ff48bef1 Repair project structure. 2020-12-30 15:31:36 +08:00
zhangpengfei d1c338dcf9 Rebuild project structure. 2020-12-30 14:42:04 +08:00