Commit graph

31 commits

Author SHA1 Message Date
Xiao YiFang c4674a246f feature: epwing dictionary reference navigation improved.
feature: add branch method to handle the reference navigation loadArticle function

feature: refactor epwing loadArticle method

epwing: add previous and next page link
2023-03-19 10:35:13 +08: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
shenleban tongying fcfa4e43e2 refactor: replace escaped strings with raw strings via clang-tidy 2022-12-24 17:01:50 -05:00
Xiao YiFang 4ba3bde576 epwing ,fix reference link not found 2022-12-04 14:15:19 +08:00
Xiao YiFang 53c1db8eaf fix: epwing dictionary headword correction
such as headword "1gulp n. →" was corrected as " gulp n "
2022-10-05 20:00:23 +08:00
Xiao YiFang 32689d71ad fix: epwing remove unused parameter 2022-10-05 16:33:59 +08:00
Xiao YiFang 53ce63fbf5 fix:epwing performance improvement.
the head correction process seems takes too much time. The headword is returned by epwing api ,  there is no need to verify the headword again .
And at some cases , the headword verification never works.
2022-10-05 15:05:04 +08:00
Xiao YiFang 769ef7d24b fix: epwing reference process logic 2022-10-04 20:02:17 +08:00
Xiao YiFang 530591ffbd fix: add unicodeoption to qregularexpression 2022-06-01 21:15:25 +08:00
Xiao YiFang c6811db3a0 fix: merge conflict from upstream 2022-05-24 20:25:09 +08:00
Abs62 f07ba75a5c Epwing: Fix full-text search for some CJK dictionaries (issue #1490) 2022-05-23 20:43:58 +03:00
Xiao YiFang 7b434cffaf fix:epwing code format 2022-05-23 20:42:37 +08:00
Xiao YiFang 467b2d17b3 fix: duplicated entries in epwing dictionary 2022-05-23 00:13:24 +08:00
Xiao YiFang 2eccf7af64 fix:epwing dictionary link target is not correct 2022-05-17 22:52:09 +08:00
Xiao YiFang e06f865048 fix:fix epwing dictionary link display incorrectly
this bug was introduced by the commit 46b4151cc4
2022-05-17 21:34:13 +08:00
xiaoyifang 7b5511a7bd upgrade to qt6.2 2022-03-11 22:00:45 +08:00
yifang 46b4151cc4 improve: replace all the deprecated method before 5.15 2022-01-08 22:08:23 +08:00
yifang 09063ecc5a clean code:
QString::SkipEmptyParts=>Qt::SkipEmptyParts
2021-12-29 22:29:06 +08:00
xiaoyifang 5eac08c97a rename qt4x5.hh to utils.hh
the filename qt4x5 is not proper now,for the qt4 version can never meet.and the qt5 is actually mean qt>5 .
2021-12-13 22:45:35 +08:00
Abs62 b002fece6d Fix some more warnings (issue #978 again) 2018-05-22 17:48:14 +03:00
Abs62 039de0eed2 Epwing: Fix some images handling while compiled with Qt 4.x (issue #707) 2016-05-21 16:45:08 +03:00
Abs62 bdbb93d03c Epwing: Fix resources handling in Qt5 build 2015-01-22 17:54:58 +03:00
Abs62 dc520418d4 Epwing: Fix movies handling (issue #547) 2014-11-29 17:07:11 +03:00
Abs62 76dce17deb Epwing: Fix search of some headwords via libeb 2014-07-12 14:00:01 +04:00
Abs62 f3134be4c4 Epwing: Handle different encodings while search via libeb engine 2014-07-11 23:17:11 +04:00
Abs62 980be6ae3b Epwing: Fix case of several articles per one word while searching via libeb search engine (issue #504) 2014-07-11 17:41:29 +04:00
Abs62 639ee7c82f Epwing: Use libeb search engine in addition to GD index search (issue #504) 2014-07-10 17:55:14 +04:00
Abs62 8b3a7a4f43 Epwing: Fix monochrome images, use unicode symbols instead of some extra symbol images 2014-05-22 22:16:10 +04:00
Abs62 6daf079ec9 Epwing: Fix audio links, handling some non-standard decoration, refactor headwords retrieving 2014-05-22 01:56:42 +04:00
Abs62 7d9bb3c91a Epwing: Fix external fonts and some headwords 2014-05-21 18:18:37 +04:00
Abs62 d9169bd45b Add support for Epwing dictionaries 2014-05-20 17:59:56 +04:00