Commit Graph

29 Commits

Author SHA1 Message Date
JunjieBai 16011de197 fix(index):添加/media后插入u盘,u盘内文件没被索引. 2024-11-06 17:46:24 +08:00
JunjieBai fe0950c576 fix(dir-manager):mount和umount收不到信号导致处理重复挂载异常
原因是内核对于mount和umount不会发udisk信号,目前暂时改每次查询手动刷新
2024-04-29 10:02:42 +08:00
JunjieBai 2f3d2cefad fix(dirWatcher):subVolume has not been excluded while adding '/' to search path. 2024-04-22 15:33:29 +08:00
iaom d2e1d204d9 refactor:使用cmake重新构建项目 2023-08-18 15:26:21 +08:00
JunjieBai e52bc8ca76 Use json to optimize the config file of user's block dir. 2023-05-08 06:53:49 +00:00
JunjieBai 35818d321e Fix the problem that path witch is hidden dir or is not exists can be choosen as search&block dir. 2023-04-25 11:02:02 +08:00
iaom 5481dd7ed8 搜索目录配置文件改为使用json存储. 2023-04-12 01:59:28 +00:00
iaom ff0dd3384a 补充部分文件copyright. 2023-04-11 10:21:51 +08:00
baijunjie 29e5ee6767 Optimize Dir Watcher. 2023-04-08 23:10:22 +08:00
iaom 6911e159ad 增加dirWatcher中部分兼容老版本的逻辑 2023-04-08 14:26:04 +08:00
iaom 7babaf3147 增加重构的dirWatcher部分接口定义 2023-04-06 10:39:10 +08:00
iaom 993c8e30ea 增加volume manager用于获取设备挂载信息 2023-04-04 15:20:57 +08:00
JunjieBai 91b455341d Optimize the handle of subvolume while add index dir. 2023-03-21 17:12:40 +08:00
baijunjie 29c6440e23 Add the refresh of search dirs' ui in ukcc plugin when the udisk is unplugged. 2022-12-27 12:36:06 +08:00
iaom c6322feb77 增加unmount信号监听处理 2022-12-23 15:41:57 +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 796d13252d
!18 Solve the problem that the dir watcher's dbus crashed because of deadlock. Add the support for nvme device. Add the dir path check of searchable dir for direct search.
Merge pull request !18 from 白俊杰/1020upstream
2022-10-20 08:57:23 +00:00
JunjieBai 37b06c3421 Solve the problem that the dir watcher's dbus crashed because of deadlock. 2022-10-20 16:50:34 +08:00
JunjieBai a088d7cf86 Add the support for nvme device. 2022-10-20 11:16:10 +08:00
JunjieBai bd0acd9523 Add the dir path check of searchable dir for direct search. 2022-10-20 10:36:19 +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
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
Maomao43803 3c7c6e503b Added the transmission of the removeIndexItem signal during umounting. 2022-06-01 13:49:07 +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
baijunjie e59c369221 Use gio to check the udisk device instead of dbus. 2022-05-27 16:10:00 +08:00
baijunjie a34a781d3d Modify the logic of the appendIndexableListItem() method, add some commit, modify the handleDisk() method and the mountRemoveCallback() method. 2022-05-27 14:34:37 +08:00
baijunjie 3f561c8ad7 remove some dir from blacklist of index. 2022-05-27 14:33:43 +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