xiaoyifang
c11cff46f0
opt:style changes
2023-05-09 06:16:41 +08:00
xiaoyifang
eee71f6cdf
opt: remove unneccessary translation and QString conversion
2023-05-08 00:31:21 +08:00
xiaoyifang
bbec4685f8
fix:epwing navigation reference to invalid position
2023-05-05 08:24:00 +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
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
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
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
xiaoyifang
ed4273e540
opt:refactor html:unescape method
...
close #579
2023-04-28 21:21:38 +08:00
xiaoyifang
12d9ae3ddb
fix:stardict bword dictionary compatiblity
...
fix #567 , some word is html encoded
2023-04-27 07:06:42 +08:00
xiaoyifang
3a52323f29
remove unnecessary string conversion
2023-04-25 08:28:40 +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
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
a810a56d0c
opt: performance improve headword filter
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
a8c898192f
feat(group): Auto Grouping by Dict' Containning Folder
2023-04-21 15:38:09 +08:00
shenleban tongying
bb566013b6
fix: qmake build
2023-04-17 21:06:59 -04:00
shenleban tongying
03af31c6fc
refactor: move common/base/utils into /src/common/
2023-04-17 20:41:47 -04:00
shenleban tongying
8b8ad5d23d
refactor: move all ui related files to /src/ui/
2023-04-17 19:11:58 -04:00
shenleban tongying
94293f1ccc
refactor: move DICT dictd and mdict parser to /src/dict/
2023-04-17 18:51:08 -04:00
shenleban tongying
b1828a4f9b
refactor: move epwing files to src/dict
2023-04-17 18:36:29 -04:00
shenleban tongying
49d852087d
fix: linux qmake build
2023-04-17 18:18:28 -04:00
shenleban tongying
697b2f9cd1
refactor: move left over .cc/.hh files to src/
2023-04-17 17:56:55 -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
shenleban tongying
2f9f09bb9f
refactor: unify source extensions to .cc and .hh
2023-04-17 16:17:03 -04:00
shenleban tongying
540dda26ed
cleanup: Replace all usages of qrcx://localhost with qrc://
...
The replacement command:
git grep -l 'qrcx://localhost' | xargs sed -i 's/qrcx:\/\/localhost/qrc:\/\//g'
The qrcx:// URL scheme was introduced in 2009 or earlier - it is present
in the first commit in GoldenDict's git history. Back then GoldenDict
supported Qt versions earlier than 4.6, in which
QWebSecurityOrigin::addLocalScheme() was introduced. Adding the qrc URL
scheme as local obsoletes the qrcx URL scheme. GoldenDict does not
compile against Qt versions earlier than 4.6, so there is no reason to
use this custom URL scheme anymore.
Co-authored-by: Igor Kushnir <igorkuo@gmail.com>
2023-03-05 15:20:05 -05:00
xiaoyifang
954d6ffe06
fix:lingualibre cancel the request
2023-01-03 14:03:40 +08:00
shenlebantongying
43859df431
lingua: add " " to links
2022-12-29 04:11:34 -05:00
shenlebantongying
0d149337ca
lingua: add " " to <a href= >
2022-12-29 04:02:57 -05:00
shenleban tongying
f277af1a2e
lingua: handle network errors
...
* set timeout to 3s
* get rid of reply with errors
2022-12-28 01:06:01 -05:00
shenlebantongying
6fc3684b0a
Add Lingua Libre support ( #268 )
...
* lingua: add a dummy dict
* lingua: working but output plain json as article
* lingua: add html audio plays
* lingua: fix qmake build
* fix: qmake on mac INCLUDEPATH
* lingua: add config ui to dict sources edit dialog
* lingua: add config logics
* lingua: use the configured iso language code to do query
* lingua: style polish
2022-12-24 22:42:40 +08:00