Xiao Yi Fang
5147c8c036
opt: default and plaintext are the same ,remove one
2024-08-13 16:43:10 +08:00
xiaoyifang
93ca284bad
opt: refactor code ( #1657 )
...
* opt: refactor code
* [autofix.ci] apply automated fixes
* opt: refactor code
* opt: refactor code
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-07-10 13:47:53 +08:00
xiaoyifang
585866f92a
fix: fts search ,highlight mark ( #1621 )
...
* fix:mark the searched terms
* fix:mark the searched terms
* fix:mark the searched terms
2024-06-27 18:00:06 +08:00
YiFang Xiao
2b9d17251b
fix: articleview mainwindow ,fulltextsearch remove QRegExp
2024-06-23 12:47:41 +08:00
YiFang Xiao
b9e19fdd35
opt: log message
2023-10-28 13:23:14 +08:00
xiaoyifang
e8a2eadade
opt: indexing dictionary in status bar does not disappear ( #1234 )
...
* opt: indexing dictionary name and progress
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-10-13 10:43:52 +08:00
xiaoyifang
e5f91f6a3e
feat: use parallel thread to create the fts ( #980 )
...
* feat: use parallel thread to create the fts
* [autofix.ci] apply automated fixes
* feat: use parallel thread to create the fts
* feat: add an option to control the thread count when create the fulltext
* [autofix.ci] apply automated fixes
* feat: set default parallel thread count to half the cpu numbers
* feat: initialize the default parallel threads to 1/3 of cpu cores
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-07-20 22:50:32 +08:00
shenleban tongying
b5349478cf
clean: reformat everything
...
The next commit will add `.git-blame-ignore-revs`
https://docs.github.com/en/repositories/working-with-files/using-files/viewing-a-file#ignore-commits-in-the-blame-view
2023-07-20 04:02:22 -04:00
shenleban tongying
e419962abc
doc: update fts related strings
2023-07-01 12:05:15 -04:00
shenleban tongying
35f39ea7a0
clean: convert a few trivial old SIGNAL/SLOT to new syntax
2023-06-11 11:27:49 -04:00
xiaoyifang
dfd3a86c7f
fix: fulltext remove query word size check ( #845 )
...
* fix: fulltext remove query word size check
* fix: remove unused methods
* 🎨 apply clang-format changes
---------
Co-authored-by: xiaoyifang <xiaoyifang@users.noreply.github.com>
2023-06-10 21:02:22 +08:00
xiaoyifang
4147770f85
Opt: ftshelper refactor ( #760 )
...
* opt: remove useless ftshelper methods
🎨 apply clang-format changes
opt: slob use xapian as fulltext engine
🎨 apply clang-format changes
opt: refactor ftshelper
🎨 apply clang-format changes
* opt: refactor ftshelper
remove unused variabes and functions.
* 🎨 apply clang-format changes
* opt: refactor ftshelper
remove unused variabes and functions.
* opt: refactor ftshelper
remove unused variabes and functions.
🎨 apply clang-format changes
---------
Co-authored-by: xiaoyifang <xiaoyifang@users.noreply.github.com>
2023-05-31 07:42:31 +08:00
YiFang Xiao
15e0fa087f
opt: replace Mutex::Lock with QMutexLocker
2023-05-30 00:08:01 +08:00
xiaoyifang
4eb8374a35
opt: mdx fulltext lock seperated with normal search ( #759 )
...
* opt: refactor mdx fullindex creation
* opt: incremental fulltext creation logic change
* opt: incremental fulltext creation logic change
* opt: progress of fulltext creation logic
* opt: code smell
* fix: code smell
* fix: code smell
* fix: code smell
* fix: code smell
* fix: code smell
* 🎨 apply clang-format changes
* fix: code smell
* fix: code smell
---------
Co-authored-by: xiaoyifang <xiaoyifang@users.noreply.github.com>
2023-05-29 00:01:21 +08:00
xiaoyifang
d174dc16ba
opt:remove non-xapian fulltext creation logic ( #643 )
...
* opt!:remove non-xapian fulltext creation logic
BREAKING CHANGE: after this PR, xapian package will have to installed
before the compilation. on Linux, this should be libxapian-dev package.
For common users: all created fulltext which is not created by xapian
before will be recreated using the new
engine.
* fix: remove old fulltext search ui
* 🎨 apply clang-format changes
---------
Co-authored-by: xiaoyifang <xiaoyifang@users.noreply.github.com>
2023-05-17 22:29:56 +08:00
shenleban tongying
d0ae253c27
docs: various updates
...
* isolate Help related code into help.hh
* update website & README.md
2023-04-22 18:21:14 +08:00
shenleban tongying
3f3ba6eee1
refactor: reduce dependency on mainwindow.hh
...
* editdictionaries.cc and dictheadwords.cc doesn't actually need it
* fulltextsearch has a useless static_cast
2023-04-20 19:53:17 +08:00
shenleban tongying
03af31c6fc
refactor: move common/base/utils into /src/common/
2023-04-17 20:41:47 -04:00
shenleban tongying
129345613e
refactor: Move all .cc/.hh files to src/
2023-04-17 17:17:36 -04:00