YiFang Xiao
ea94673a53
opt: remove unnecessary code
2023-07-27 17:26:44 +08:00
xiaoyifang
17cd445607
feat: customize dictionary's fullindex option with metadata.toml ( #1000 )
...
* feat: customize dictionary's fullindex option with metadata.toml
* [autofix.ci] apply automated fixes
* feat: display fulltext status in the dictionary info dialog
* [autofix.ci] apply automated fixes
* doc: add document about how to enable dictionary's fullindex feature
* Update src/metadata.cc
Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>
* Update src/ui/dictinfo.ui
Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>
* Update website/mkdocs.yml
Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>
* Update website/docs/custom_dictionary.md
Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>
* Update website/docs/custom_dictionary.md
Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>
* Update website/docs/custom_dictionary.md
Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>
* Update website/docs/custom_dictionary.md
Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>
* Update website/docs/custom_dictionary.md
Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>
* Update website/docs/custom_dictionary.md
Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>
* add images
* feat: show fulltext search status in dictionary info dialog
* Update dictinfo.cc
* [autofix.ci] apply automated fixes
* ui: change layout
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: YiFang Xiao <yifang.xiao@noreply.com>
Co-authored-by: shenleban tongying <shenlebantongying@gmail.com>
2023-07-26 10:03:20 +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
xiaoyifang
55fef3e231
opt: use qcache to hold mdx css file ( #970 )
...
* opt: use qcache to hold mdx css file
* 🎨 apply clang-format changes
---------
Co-authored-by: xiaoyifang <xiaoyifang@users.noreply.github.com>
2023-07-17 21:51:56 +08:00
shenleban tongying
1589e14b70
clean: remove redundant dictionaryNativeIcon
...
`dictionaryNativeIcon` was intended to access the original icon before none-square icons were transformed into squares.
`dictionaryNativeIcon` is only used in dictionaryBar, but according to the intention, it shouldn't.
In reality, `dictionaryNativeIcon` is almost always equal to `dictionaryIcon`.
2023-06-18 22:37:07 -04:00
YiFang Xiao
eccc3eaf0f
Revert "opt: mdx video url"
...
This reverts commit 2bd5194c91
.
accidently merged.
2023-06-06 23:45:04 +08:00
xiaoyifang
5899aa7c94
fix: highlight fts search result ( #792 )
...
* fix: highlight fts search result
* 🎨 apply clang-format changes
* remove accent/diacritic handler used in fts search
* header file adjustment
* fix: qt5.15 compile
* fix: code smell
use const reference variable
* fix: code smell
* fix: code smell
* fix: code smell
* fix: code smell
* 🎨 apply clang-format changes
* fix: code smells
🎨 apply clang-format changes
* opt: fix code smells
remove unused parameters from function `ftsIndexIsOldOrBad`
🎨 apply clang-format changes
---------
Co-authored-by: xiaoyifang <xiaoyifang@users.noreply.github.com>
2023-06-03 08:29:19 +08:00
YiFang Xiao
2bd5194c91
opt: mdx video url
2023-06-02 21:47:48 +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
defc2447cf
opt: convert escape string to rawstring ( #749 )
...
* opt: convert escape string to rawstring
* 🎨 apply clang-format changes
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-27 00:27:50 +08:00
xiaoyifang
715512eda3
feat: allow to customize dictionary name ( #722 )
...
* feat: allow to customize dictionary name
* 🎨 apply clang-format changes
* fix: code smell
* feat: allow to set custom dictionary name
* 🎨 apply clang-format changes
* feat: add doc for customizing dictionary name
* 🎨 apply clang-format changes
* 🎨 apply clang-format changes
---------
Co-authored-by: xiaoyifang <xiaoyifang@users.noreply.github.com>
2023-05-20 22:33:20 +08:00
xiaoyifang
cce633b2cc
opt:refactor an implict string conversion to a purposeful name
...
fix #586
2023-04-30 13:45:11 +08:00
xiaoyifang
325c3fb0bb
opt: replace qthreadpool with qfuture
...
relate #515
2023-04-29 18:08:39 +08:00
xiaoyifang
dbe04db7f5
opt: move fsencoding to utils.hh(.cc)
...
after multi refactor ,the fsencoding only left two methods and has nothing to do with encoding . Base on this condition ,move the method to utils
2023-04-29 00:56:22 +08:00
shenleban tongying
03af31c6fc
refactor: move common/base/utils into /src/common/
2023-04-17 20:41:47 -04:00
shenleban tongying
7feb883408
refactor: move all dictionary parsers to /src/dict/
...
If a file contains `makeDictionaries` then it belongs to there
2023-04-17 16:55:34 -04:00