YiFang Xiao
fa7b3db0bc
opt: use qtcpsocket signal to implement the dictserver protocol
2023-12-30 18:13:36 +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
d4f19cf4cd
fix: use wait condition to rewrite datarequest ( #1015 )
...
* fix: use wait condition for datarequest
* fix: rewrite byteAvailable
* [autofix.ci] apply automated fixes
* fix: rewrite qwaitcondition
* [autofix.ci] apply automated fixes
* opt: wait condition
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-09-10 19:02:31 +08:00
YiFang Xiao
82bcbaa8f4
fix: fts progress large than 100
2023-08-07 21:53:13 +08:00
YiFang Xiao
fe1fd14e31
opt: optimize loading splash dialog with loading/check information
...
[autofix.ci] apply automated fixes
2023-07-30 00:52:28 +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
shenleban tongying
1180f8bc32
fix: website/program should not appears in "AutoGroupByFolder"
2023-07-17 23:27:46 -04:00
shenleban tongying
e06606ba3c
clean: unify DataRequest string data appends
2023-06-23 12:23:32 -04:00
shenleban tongying
4432de9d50
clean: remove duplicated exCantReadFile definitions
...
Obviously, it is a result of copy-paste programming
2023-06-19 18:54:17 -04: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
xiaoyifang
671427803a
fix: replace suggestion list with QCompleter ( #808 )
...
* fix: replace suggestionList with QCompleter
* 🎨 apply clang-format changes
* fix: code smells
---------
Co-authored-by: xiaoyifang <xiaoyifang@users.noreply.github.com>
2023-06-05 21:22:20 +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
shenleban tongying
0079cd2933
clean: remove unnecessary header includes
...
* remove all <QtGUI> which includes *everything* of Qt
* remove unused headers
2023-05-30 20:59:51 +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
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
94759ffb58
opt: add group by metadata
...
close #612
2023-04-29 20:43:27 +08: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