Commit Graph

197 Commits

Author SHA1 Message Date
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
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
Mouse Zhang ffb51b9d17 Add direct search without index. 2021-04-16 15:35:54 +08:00
Mouse Zhang 154203f44b Move headers' reference from source files to header files. 2021-04-16 11:20:14 +08:00
iaom d3caad4f56 Add support for pdf in file parser. 2021-04-15 09:19:36 +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 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 81c4ef9a0e Update changelog. 2021-03-22 14:51:36 +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 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
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
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
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 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
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 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 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
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
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
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
zhangpengfei 0a1f1f7b69 Add function of querying current index count. 2021-01-15 09:14: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 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
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
zhangzihao 842fe557bb 💩💩💩add class ukui-search-qdbus and turn PWD to OUT_PWD 2021-01-06 14:14:38 +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
zhangpengfei c1b8818144 Add file content index and search funtion(lib). 2020-12-31 21:14:13 +08:00
zhangjiaping b8b51103f2 feat(settings): Optimize setting widget & add translations.
Description: 优化设置界面并添加翻译文件

Log: 优化设置界面并添加翻译文件
2020-12-30 17:23:03 +08:00
zhangpengfei d8ff48bef1 Repair project structure. 2020-12-30 15:31:36 +08:00