Ren Tatsumoto
e6a2c4081b
fix global translateLineText not being updated when translate line changes
2023-06-07 09:34:25 +03:00
xiaoyifang
e0dba5ac3b
Merge pull request #818 from shenlebantongying/expose_timer
...
feat: expose linux's selection clipboard delay timer to user
2023-06-05 22:46:08 +08: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
shenleban tongying
6732f4630d
feat: expose linux's selection clipboard delay timer to user
...
* In certain programs like Chrome, the selection clipboard will update
even the user have not released mouse button.
2023-06-05 08:22:49 -04:00
xiaoyifang
87e2091214
fix: remove for
loop with most one iteration ( #804 )
...
* fix: remove `for` loop with most one iteration
* 🎨 apply clang-format changes
* fix: remove `for` loop with most one iteration
* fix: code smells
* 🎨 apply clang-format changes
---------
Co-authored-by: xiaoyifang <xiaoyifang@users.noreply.github.com>
2023-06-03 20:51:38 +08:00
YiFang Xiao
d6009f0e8e
fix: new release check ,download url is incorrect
...
fix #718
2023-06-03 17:49:37 +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
xiaoyifang
b7edc8ed2d
🎨 apply clang-format changes
2023-06-01 11:53:45 +00:00
YiFang Xiao
002f7a02f7
fix: code smells
...
refactor the disabledType string build
2023-06-01 19:52:16 +08:00
shenleban tongying
7f994112b7
fix: send to mainwindow got empty word
...
a regression due to Input Phase change: if word is sent to
mainwindow, then definition->getWord() would be empty
2023-05-31 04:17:16 -04:00
shenleban tongying
6823254bac
clean: solve a TODO about translateInputFinished
2023-05-31 07:26:43 +08:00
shenleban tongying
6c7bb05f35
clean: convert SLOT translateInputFinished to new syntax
2023-05-31 07:26:43 +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
shenleban tongying
0b746ef8eb
Revise how word is getting passed ( #736 )
...
* fix: remove InputPhrase
* opt: remove unnecessary InputPhrase
* fix: assignment issue
* fix: add handleInputWord back
* fix: does not need to trim punc
---------
Co-authored-by: YiFang Xiao <yifang.xiao@foxmail.com>
2023-05-29 00:01:54 +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
YiFang Xiao
2cbcab16ba
fix: switch dictionary should change the headwords in the dialog
...
fix #752
2023-05-27 23:53:16 +08:00
YiFang Xiao
a8b6fbc754
opt: make the searchPanel can resize to a smaller width
...
🎨 apply clang-format changes
opt: make the searchPanel can resize to a smaller width
🎨 apply clang-format changes
fix:remove group label in docker
2023-05-23 19:03:21 +08:00
xiaoyifang
69ff9b1177
opt: remove DiacriticFolding.txt ( #713 )
...
* opt: remove DiacriticFolding.txt
* 🎨 apply clang-format changes
* fix: remove foldedDiacritic method
---------
Co-authored-by: xiaoyifang <xiaoyifang@users.noreply.github.com>
2023-05-20 10:28:43 +08:00
xiaoyifang
d08d5fe576
opt: let qt handle the language direction ( #709 )
...
* opt: let qt handle the language direction
* 🎨 apply clang-format changes
* action: modify auto clang format action
---------
Co-authored-by: xiaoyifang <xiaoyifang@users.noreply.github.com>
2023-05-19 19:41:27 +08:00
YiFang Xiao
1e328e0727
fix: qwarning placed in the wrong place
2023-05-19 19:40:19 +08:00
shenleban tongying
d0b2349156
update .desktop and appstream xml
2023-05-18 10:27:40 +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
YiFang Xiao
ced19b9f11
Revert "feature:webengineprofile use non off record profile"
...
This reverts commit e84b5aa861
.
2023-05-16 04:44:48 -08:00
YiFang Xiao
3d01ded56c
fix typo
2023-05-15 11:46:02 +08:00
YiFang Xiao
c0aeca7254
fix: selection triggered scanpopup too early
...
on Ubuntu(Linux),the selection change event occured too often while the delayed time is a little small ,the result is that the popup will show up when users still selecting the text. Increase the delayed time a little seems can solve this issue.
fix #629
2023-05-14 07:56:38 -08:00
YiFang Xiao
c40d04ec5e
feat: add custom transliteration support
...
fix #661
i18n: add new translation entries
2023-05-14 06:32:13 -08:00
YiFang Xiao
967926cee4
fix: press enter the article view does not get the focus
...
fix #660
2023-05-13 22:57:08 +08:00
YiFang Xiao
85f3e249f0
fix: remove code smell
2023-05-13 22:44:03 +08:00
YiFang Xiao
dfd8112f76
fix: multi monitor issue
...
taken the changes from From 83020389c8
2023-05-13 22:44:03 +08:00
YiFang Xiao
837f8bcaf8
fix: code smell
2023-05-13 12:39:36 +08:00
YiFang Xiao
60d26e0e0f
fix: the scanpopup found dictionaries mixed with mainwindows
...
fix #677
2023-05-13 12:39:36 +08:00
YiFang Xiao
be8331afa8
opt: inspector debug message changes
2023-05-12 16:59:52 +08:00
YiFang Xiao
3a24a43410
fix: when use arrow key in foundDictionaryPanel ,jump to the target dictionary
2023-05-11 18:43:02 +08:00
yifang xiao
2b72e14b55
fix: phrase send from scanpopup should not escape again
...
fix #626
2023-05-11 07:08:02 +08:00
shenleban tongying
6bbb4d9971
feat(metadata): abstract metadata loader
2023-04-30 14:42:49 +08:00
xiaoyifang
42ac21af61
opt: enable pronounce button when audio is available
...
close #598
2023-04-30 12:01:27 +08:00
shenleban tongying
ab54b72da4
fix: misc fix for auto groups by metadata.toml
...
* fix a crash when the type is not string
* update docs
2023-04-30 00:20:28 +08:00
xiaoyifang
94759ffb58
opt: add group by metadata
...
close #612
2023-04-29 20:43:27 +08:00
shenleban tongying
70fd2d18f8
clean: use new Signal Slot syntax
2023-04-29 19:15:43 +08:00
shenleban tongying
6498bd4f17
clean: convert navPronounce connect to new syntax
2023-04-29 19:15:19 +08:00
xiaoyifang
e52e8e5195
opt:language does not display icon
2023-04-29 18:09:04 +08:00
xiaoyifang
28d33ed39f
opt: relayout the preference language controls
...
fix #602
2023-04-29 11:23:14 +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
933c8aea58
fix(scanpopup): preserve old group selection after editDictionaries
...
dialog
2023-04-29 00:55:56 +08:00
shenleban tongying
3550362cac
fix: add standard FindNext/Previous shortcuts to search panel
...
* Ctrl+G & Ctrl+Shift+G or F3 & Shift+F3 depends on platform.
2023-04-28 20:11:15 +08:00
YiFang Xiao
617589d09c
fix:unified the cache/directory
...
supplement to a82ce2a86f
2023-04-27 13:25:57 +08:00
shenleban tongying
dfc5d701ea
fix(autoGroupByFolder): prepend upper level folder name when two
...
groups share same name but in different folder
2023-04-26 20:46:07 +08:00
xiaoyifang
a82ce2a86f
opt: use unified cache dir
...
seperate the persistentstoragepath with cachepath
2023-04-26 07:45:48 +08:00
xiaoyifang
04260c1fbe
fix: can not remove favorite word in popup
...
this bug was existed for a long time
2023-04-25 23:07:22 +08:00