Commit graph

21 commits

Author SHA1 Message Date
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