YiFang Xiao
c56304a2b9
fix: remove toggle main windows extra parameter
...
the parameter has no use right now
2023-06-08 08:30:23 +08:00
YiFang Xiao
70cd2f937d
fix: remove unused configuration
2023-06-07 23:49:27 +08:00
YiFang Xiao
47cc3ced1f
fix: remove the context line parameter
...
in release mode, this parameters are empty
2023-06-07 21:58:59 +08:00
xiaoyifang
f58eb43bd2
opt: use QFontCombox instead ( #781 )
...
* opt: use QFontCombox instead
* 🎨 apply clang-format changes
* remove comment code
---------
Co-authored-by: xiaoyifang <xiaoyifang@users.noreply.github.com>
2023-06-07 21:53:21 +08:00
Ren Tatsumoto
e6a2c4081b
fix global translateLineText not being updated when translate line changes
2023-06-07 09:34:25 +03:00
YiFang Xiao
eccc3eaf0f
Revert "opt: mdx video url"
...
This reverts commit 2bd5194c91
.
accidently merged.
2023-06-06 23:45:04 +08:00
YiFang Xiao
c2ff1e804f
QDomDocument changed the implementation of setContent
2023-06-06 15:37:47 +08: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
YiFang Xiao
dcfee63b22
fix: wikipedia query parameter is incorrect
2023-06-05 20:58:04 +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
shenleban tongying
b06c01beeb
fix: xdxf2html converter failed to parser xml due to
...
* xml don't have
* in Qt5, this is not a problem because QDomDocument::setContent will
somehow accept it.
* in Qt6, this will be rejected
2023-06-04 07:38:14 -04:00
shenleban tongying
41776d2b89
feat: add article-script.js
...
* like article-style.css but for javascript
2023-06-03 20:53:46 -04:00
shenleban tongying
849b1345e1
fix: define PROGRAM_DATA_DIR for cmake
...
* the PROGRAM_DATA_DIR is hardcoded path to /usr/share/goldendict
* Without it, resources cannot be loaded
2023-06-03 09:50:13 -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
YiFang Xiao
29403f4263
fix: code smells
...
🎨 apply clang-format changes
fix: code smells
🎨 apply clang-format changes
🎨 apply clang-format changes
2023-06-03 14:07:41 +08:00
YiFang Xiao
1391a8fa7e
fix: invalid data access of data field
...
bgl_babylon.cc
fix #770
2023-06-03 14:07:41 +08:00
YiFang Xiao
0c7d7ada21
fix: invalid data access of data field
...
bgl_babylon.cc
fix #768
2023-06-03 14:07:41 +08:00
YiFang Xiao
49c6ae7032
opt: iconv remove unused parameter
...
In GoldenDict, the application uses utf-8 as the default encoding. There should be no other use.
2023-06-03 14:07:18 +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
ded97deb9a
Merge pull request #789 from xiaoyifang/fix/code-smells
...
fix: code smells
2023-06-01 21:15:43 +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
xiaoyifang
eefdba23ae
Merge pull request #787 from shenlebantongying/cmake_polish
...
cmake: polishments to be officially used
2023-06-01 14:07:58 +08:00
shenleban tongying
0c75d4f399
cmake: updates
...
* add USE_SYSTEM_FMT & USE_SYSTEM_TOML
* switch back to libeb
2023-06-01 01:28:45 -04:00
YiFang Xiao
978fd3ba81
opt: slob dictionary does not display goldendict headword
2023-06-01 10:55:40 +08:00
xiaoyifang
c7f773c12b
Merge pull request #776 from shenlebantongying/better_defaults
...
Tweak some defaults
2023-05-31 18:42:55 +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
d72a8540d4
feat: tweak some defaults
...
* enable DSL's alwaysExpandOptionalParts by default
* enable both wikipedia & wikitionary by default
* disable hotkey for macOS by default (they have troubles in new macOS)
* update default websites, remove ones that no long accessible
* add default DictD protocal server
2023-05-30 23:54:43 -04:00
shenleban tongying
b7f0e5448b
fix: modern style's .gddictname
2023-05-30 21:22:08 -04: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
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
xiaoyifang
966b477b26
🎨 apply clang-format changes
2023-05-28 15:50:08 +08:00
YiFang Xiao
cfec24f4bb
opt: use auto and for range in building index
2023-05-28 15:50:08 +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
xiaoyifang
3858932ec4
feat!: add libzim dependency ( #725 )
...
* feat!: add libzim dependency
* 🎨 apply clang-format changes
* action: add libzim dependency to action
* feat!: change dependency folder
* action: add zim support
* feat!: add libzim support
* action: fix sonarcloud check
* doc: add libzim readme
* action: cmake build
* action: cmake check
* fix: code smell
* action: cmake check
* action: cmake on Macos
* action: cmake on Macos
* feat: use libzim to read title and description
* 🎨 apply clang-format changes
* feat: split zim file support
* feat: loadArticle refactor
* 🎨 apply clang-format changes
* 🎨 apply clang-format changes
* feat: update library and goldendict.pro
* 🎨 apply clang-format changes
* fix:word count
* 🎨 apply clang-format changes
* fix: video src url subsititue
* 🎨 apply clang-format changes
* zim: headword is not usually a valid
it is from title and url.
* fix: remove nested try catch
* zim: fix resource loading issue.
* 🎨 apply clang-format changes
* action: remove libao
* zim: process url
some old zim dictionary url does not contain namespace such as
/C/url
make the old and new zim dictionary's url consistent without the leading
../C/ etc.
* 🎨 apply clang-format changes
* zim: process url
remove leading dot and slash
such as ../-/assets ,remove ../
* 🎨 apply clang-format changes
* zim: remove resourceIndex creation
use libzim to read the resource directly.
* zim: only iterate all the articles
* 🎨 apply clang-format changes
* fix: code smell
* 🎨 apply clang-format changes
* zim: refactor method to convert url to wstring
* 🎨 apply clang-format changes
* fix:code smell
* 🎨 apply clang-format changes
* zim: update windows dependencies
* zim: add mutex lock
* 🎨 apply clang-format changes
* fix: code smell
* 🎨 apply clang-format changes
---------
Co-authored-by: xiaoyifang <xiaoyifang@users.noreply.github.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-27 12:12:16 +08:00
YiFang Xiao
fe29fdddc1
opt: add command line option --no-tts
...
when specified, the speech tab in the sources dialog will be disabled.
close #747
2023-05-27 12:11:37 +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
6567e1583f
fix: langcoder trigger a crash ( #746 )
...
* fix: langcoder trigger a crash
* 🎨 apply clang-format changes
* fix: move static delcaration into the class
* Update langcoder.hh
* fix: refactor code in langcoder
* 🎨 apply clang-format changes
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: YiFang Xiao <yifang.xiao@noreply.com>
2023-05-26 23:55:33 +08:00
YiFang Xiao
d3cf46e469
clean code
2023-05-23 19:40:37 +08:00
YiFang Xiao
8b1b2a1628
fix: possible dsl languageForId issue
...
🎨 apply clang-format changes
action: restrict to current repositroy
other people's repository has no permission to commit fix
fix: refactor langcoder method
🎨 apply clang-format changes
🎨 apply clang-format changes
🎨 apply clang-format changes
fix: code smell
🎨 apply clang-format changes
fix: adjust zlib link on Windows
fix: refactor langcoder structure
2023-05-23 19:03:25 +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
YiFang Xiao
5188ebd646
opt: add extra check about the existence of metadata file
2023-05-21 18:18:46 +08:00
xiaoyifang
f562b9bb5f
fix: lingua request error will lost a finish signal ( #734 )
...
* fix: lingua request error will lost a finish signal
* 🎨 apply clang-format changes
---------
Co-authored-by: xiaoyifang <xiaoyifang@users.noreply.github.com>
2023-05-21 16:31:05 +08:00
shenleban tongying
23be164bbe
fix: access optional without checking the existence
2023-05-21 16:30:19 +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
39992d8284
fix: open epwing dictionary folder ( #724 )
...
* fix: open epwing dictionary folder
check whether the current path is dir already
* 🎨 apply clang-format changes
---------
Co-authored-by: xiaoyifang <xiaoyifang@users.noreply.github.com>
2023-05-20 22:26:33 +08:00
shenleban tongying
329737f1cb
opt: replace some QString + arg() with {fmt} in article_maker
2023-05-20 11:46:29 +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
e66f6d6404
opt: redirect the log to the current console
...
🎨 apply clang-format changes
2023-05-17 01:00:19 +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
5fdf672d53
fix: rename customtransliteration from .cpp to .cc
2023-05-15 04:52:09 -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
ca8dc576cd
fix:code smell
2023-05-14 06:32:13 -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
126e76ee62
fix: fulltext search,found dictionaries update
2023-05-14 14:31:30 +08:00
YiFang Xiao
821cceef1d
fix: log-to-file does not work in multithread
2023-05-14 07:32:01 +08:00
xiaoyifang
6e52ae601f
opt: refactor log file write
2023-05-14 07:32:01 +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
3265912b28
fix: enable font antialias
...
fix #315
2023-05-13 14:37:49 +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
301db81bd4
opt: move auto release guard to the variable
...
by this way, developer will have a more clear view about what will happen when released
2023-05-12 16:59:52 +08:00
YiFang Xiao
be8331afa8
opt: inspector debug message changes
2023-05-12 16:59:52 +08:00
YiFang Xiao
91a5696361
opt: no need to throw warning when invoke RegisterHotKey
2023-05-12 16:59:52 +08:00
YiFang Xiao
d1f5024b2b
fix: add default value to js gdMakeArticleActive invoke
2023-05-12 09:20:19 +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
yifang xiao
b495a1006f
opt: only enable highlight dictionary name on modern style
2023-05-09 12:32:09 +00:00
YiFang Xiao
9c22e7bb21
clean: remove useless comment
2023-05-09 06:16:41 +08:00
xiaoyifang
f25bee96e5
fix:startdict parse html incorrect
...
stardict/xdxf use QDomDocument to parse the html. which result with incorrect html structure.
2023-05-09 06:16:41 +08:00
xiaoyifang
c11cff46f0
opt:style changes
2023-05-09 06:16:41 +08:00
YiFang Xiao
482379e5c7
opt: the relative position will make the absolute position work as expected
2023-05-08 13:27:01 +08:00
xiaoyifang
eee71f6cdf
opt: remove unneccessary translation and QString conversion
2023-05-08 00:31:21 +08:00
xiaoyifang
e8b5e8d19a
opt : add padding to modern style
2023-05-07 16:54:15 +08:00
xiaoyifang
ce8f5eeb7f
fix:use a different socketname
2023-05-06 18:14:08 +08:00
xiaoyifang
bbec4685f8
fix:epwing navigation reference to invalid position
2023-05-05 08:24:00 +08:00
xiaoyifang
2f22aa1580
fix:qtexttospeech crash when initialized
2023-05-03 08:59:45 +08:00
xiaoyifang
27f15f26ea
opt: refactor code to conform to style
2023-05-02 15:53:41 +08:00
xiaoyifang
c969418497
feat: add breakpad crash support
2023-05-02 15:53:41 +08:00
shenlebantongying
3dd0c83794
fix: other words chopped because url chopping doesn't check condition.
2023-05-02 12:59:48 +08:00
shenleban tongying
6bbb4d9971
feat(metadata): abstract metadata loader
2023-04-30 14:42:49 +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
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
xiaoyifang
50cf0a948e
fix:epwing narrow font display incorrectly
...
fix goldendict/goldendict#1244
2023-04-29 20:28:06 +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
cfe1a1c8c0
opt: simple case folding
2023-04-29 18:21:42 +08:00
xiaoyifang
b0f35b4f14
opt: replace Folding::normalizeWhitespace with QString::simplified
2023-04-29 18:21:42 +08:00
xiaoyifang
b8d4d49f54
opt: Folding::trimWhiteSpace refactor
...
add a new method which accept QString .
modern c++ style format
2023-04-29 18:21:42 +08:00
xiaoyifang
93c3bdc007
opt:reduce string conversion
2023-04-29 18:21:42 +08:00
xiaoyifang
e52e8e5195
opt:language does not display icon
2023-04-29 18:09:04 +08:00
xiaoyifang
325c3fb0bb
opt: replace qthreadpool with qfuture
...
relate #515
2023-04-29 18:08:39 +08:00
xiaoyifang
28d33ed39f
opt: relayout the preference language controls
...
fix #602
2023-04-29 11:23:14 +08:00
xiaoyifang
7f6409c05a
opt:qtsingleapplication remove old code
2023-04-29 08:20:16 +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
xiaoyifang
ed4273e540
opt:refactor html:unescape method
...
close #579
2023-04-28 21:21:38 +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
xiaoyifang
2f6cb3c5d8
opt: replace wildcardtoregularexpression with qt builtin method
...
ref #502
2023-04-28 13:39:22 +08:00
xiaoyifang
f84ddfc38c
opt:refactor folding.cc methods with qt's builtin method
...
fix #592
2023-04-28 13:38:59 +08:00
shenleban tongying
9716acb2ee
feat: add dict://
handler to linux
...
* Remove any thing before first occurance of ://
* so that user may add custom handler by just changing the .desktop file
2023-04-27 23:00:24 +08:00
xiaoyifang
81e1b5d9a6
fix: the implementation of unescapeutf8 is wrong
...
fix the bug found in ref #579
2023-04-27 13:26:32 +08:00
YiFang Xiao
617589d09c
fix:unified the cache/directory
...
supplement to a82ce2a86f
2023-04-27 13:25:57 +08:00
shenleban tongying
07d9c63c79
clean(html): satisfy w3c html validator
...
* use <meta charset="utf-8">
* remove useless script type=text/javascript
* remove a trailing slash on <link>
2023-04-27 13:18:05 +08:00
xiaoyifang
12d9ae3ddb
fix:stardict bword dictionary compatiblity
...
fix #567 , some word is html encoded
2023-04-27 07:06:42 +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
xiaoyifang
7261151eb6
Merge branch 'staged' into fix/issue-502-wstring
2023-04-25 22:33:47 +08:00
xiaoyifang
19889bfa9b
opt:add a statusbar notification when finshed save article
...
fix #554
2023-04-25 22:22:30 +08:00
xiaoyifang
3a52323f29
remove unnecessary string conversion
2023-04-25 08:28:40 +08:00
xiaoyifang
130044b092
fix:clang-tidy warning
2023-04-24 15:55:32 +08:00
Xiao YiFang
b68a70caa6
refactor wstring toWString
...
ref #506
2023-04-24 15:55:24 +08:00
Xiao YiFang
c2f856c074
opt: Sorting through the use of strings
...
there are many string conversion in the system .some of them can be avoided .
2023-04-24 15:11:40 +08:00
xiaoyifang
cb67c465a3
opt: use QTextStream to generate the BOM
...
when export headwords to file
2023-04-23 21:20:40 +08:00
xiaoyifang
084175f56f
fix: code smell
2023-04-23 21:20:40 +08:00
xiaoyifang
11ea4bc799
opt: remove country.cc(.hh)
...
this file is only used in forvo functionality. As country flag is about to removed in future PR.
remove these two files first
2023-04-23 13:45:11 +08:00
xiaoyifang
34652421be
fix: refactor language.cc implementation
...
fix #535
2023-04-23 13:45:11 +08:00
xiaoyifang
8c415cb9a6
fix: code smell and format
2023-04-23 13:45:11 +08:00
xiaoyifang
a810a56d0c
opt: performance improve headword filter
2023-04-23 13:38:43 +08:00
xiaoyifang
21bab62263
fix : code smell
2023-04-23 13:38:43 +08:00
xiaoyifang
72fca59a92
fix: headword dialog filter and export
...
the wildcard and regex filter does not work as expected.
fix #556
2023-04-23 13:38:43 +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
YiFang Xiao
d61dfaa8f3
fix: change contain-intrinsic-size to contain-intrinsic-height with auto value
2023-04-21 21:28:36 +08:00
shenleban tongying
a8c898192f
feat(group): Auto Grouping by Dict' Containning Folder
2023-04-21 15:38:09 +08:00
Xiao YiFang
1798025d0b
opt: when in darkmode ,make the current article more significant
...
fix #493
2023-04-21 12:09:12 +08:00
xiaoyifang
a5d6505765
fix: rename qt_*.ts in locale to distinguish between normal locale la… ( #543 )
...
* fix: rename qt_*.ts in locale to distinguish between normal locale language files.
also put qtwebengine_zh_CN.ts here to avoid windows script copying.
fix #533
* Update Readme.md
2023-04-21 09:36:26 +08:00
shenleban tongying
1a3bae3329
cleanup(css): remove 1x1 pixel <img> hack
...
When the code was written, there is no way to specify img's src, so
the 1x1 blank.png is a dummy img to be replaced.
2023-04-20 19:53:34 +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
Xiao YiFang
11e8a1b67d
fix: ui resource file location has changed
2023-04-20 16:22:10 +08:00
Xiao YiFang
3cca0fa651
fix: interface language display in elide mode
...
fix #534
2023-04-20 16:22:10 +08:00
xiaoyifang
664d6b1483
opt: give a min-height to the last dictionary
...
fix #536
2023-04-20 12:43:35 +08:00
Xiao YiFang
92cb1c1157
clean: remove unused options.ui file
...
fix #541
2023-04-19 22:02:17 +08:00