shenleban tongying
e66f97f7db
refactor: remove FsEncoding::encode/decode
...
They never serve any purpose other than converting between std::string <> QString <> char*.
2023-04-14 07:27:59 +08:00
shenleban tongying
32304d4b15
cleanup: remove all useless #include <QDebug>
...
All Qt Headers already implicitly included it.
2023-03-21 21:15:14 +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
Abs62
cbdfa586d1
XDXF: Add support for draft revision 034 (issue #1600 )
2023-01-24 20:07:15 +08:00
yifang
262e650779
fix: DPRINTF=>GD_DPRINTF ,DDPRINT does not exist now.
...
do not affect functionality.only existed in comments.
2022-01-15 15:29:20 +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
yifang.xiao
0365015ac6
clean code:
...
remove "#if QT_VERSION >= QT_VERSION_CHECK( 5, 0, 0 )" check ,the check should always be true based on current situation.
2021-12-13 22:45:33 +08:00
Abs62
052f849be7
XDXF: A little more handling for <ex> tag (issue #1135 )
2019-04-01 17:53:36 +03:00
Boyuan Yang
5d5432dbad
Fix typos found by codespell
2018-07-07 17:33:15 +08:00
Abs62
c204f75e52
Qt5: Use QRegularExpression instead of QRegExp in many cases
2018-02-22 16:55:56 +03:00
Abs62
8b98c86c74
Xdxf: Restore spaces between tags
2017-05-04 17:58:05 +03:00
Abs62
400fe7140e
Xdxf: One more fix empty tags conversion
2017-04-30 22:13:00 +03:00
Abs62
ab6b1f62ef
Xdxf: Fix empty tags conversion
2017-04-30 15:33:45 +03:00
Abs62
010b4dc974
Fix display of abbreviations contained '-' character
2016-08-03 17:29:15 +03:00
Abs62
e24de4d881
Merge branch 'Original' into Qt4x5
...
Conflicts:
xdxf2html.cc
2015-10-14 18:23:46 +03:00
Abs62
b4bb1e9635
Allow search of audio files in sound dictionaries for Xdxf and Stardict-xdxf dictionaries
2015-08-01 13:38:39 +03:00
Abs62
043a10cc98
XDXF: Fix handling of "revision" attribute and "iref" tag
2015-07-07 18:02:06 +03:00
Abs62
10532279b1
Merge branch 'Original' into Qt4x5
...
Conflicts:
article_netmgr.cc
mainwindow.cc
2014-04-23 18:16:06 +04:00
Abs62
9ad0d5f985
Implement full-text search
2014-04-16 20:18:28 +04:00
Abs62
34271ecc1d
Merge branch 'Temp' into Qt4x5
...
Conflicts:
article_maker.cc
article_netmgr.cc
articleview.cc
forvo.cc
goldendict.pro
hotkeywrapper.cc
hunspell.cc
mainwindow.cc
2013-12-18 19:09:48 +04:00
Abs62
444938a330
Fix logging to file UTF-8 encoded messages
2013-11-16 22:34:09 +04:00
Abs62
1f87d8a911
Merge branch 'master' into Qt4x5
...
Conflicts:
btreeidx.cc
goldendict.pro
lsa.cc
mouseover.cc
sounddir.cc
xdxf2html.cc
2013-09-27 17:03:27 +04:00
Abs62
c7b04526d2
Possibility to log GD console messages into file "gd_log.txt" in GD config directory. Activated by "--log-to-file" key in command line.
2013-09-20 18:25:44 +04:00
Timon Wong
ee0fc80001
Merge branch 'master' into qt4x5
...
Conflicts:
articleview.cc
btreeidx.cc
goldendict.pro
mediawiki.cc
2013-08-02 17:00:16 +08:00
Abs62
c1cfbae60e
Enhanced support for RTL languages in articles
2013-07-10 17:48:09 +04:00
Timon Wong
6ed3f5bec5
Merge branch 'master' into qt4x5
2013-06-16 15:54:05 +08:00
Abs62
f79129c9de
Enhanced XDXF support (by soshial)
2013-06-15 12:55:15 +04:00
Timon Wong
f0885d4c78
Merge branch 'master' into qt4x5
...
Conflicts:
hotkeywrapper.cc
xdxf2html.cc
2013-06-10 23:49:09 +08:00
Abs62
a2d14842fe
XDXF: Fix some tags handling (issue #349 )
2013-06-10 18:55:13 +04:00
Timon Wong
f30c41dbf6
Remove Url::Class, add Qt4x5::Url::ensureLeadingSlash() and fix all related
2013-05-31 12:20:25 +08:00
Timon Wong
ad4394d02b
#212 : Workaround for Qt5 changed behavior in QUrl::setPath()
2013-05-30 23:05:41 +08:00
Timon Wong
9ff31d0d1e
Fix javascript errors when try to evaluate undefined variables
2013-05-29 15:20:57 +08:00
Abs62
04339b3ebb
Fix types for 64-bit compilation (issue #131 )
2012-10-26 16:39:48 +04:00
Abs62
372b38c0a3
Whitespaces between xdxf tags
2012-10-09 22:35:45 +04:00
Abs62
405c2b50ee
Remove superfluous '\n' after converting xdxf to html
2012-09-23 13:58:39 +04:00
Abs62
21c9723567
Skip tag "<nu />" in xdxf code
2012-09-19 16:43:47 +04:00
Abs62
c8c284c694
Fix show of abbreviations in XDXF dictionaries (issue #116 ).
2012-07-23 20:55:26 +04:00
Abs62
f29e5b13cb
Support for images in Stardict dictionaries
2012-02-29 17:00:38 +04:00
Abs62
535fe0d3e0
Update year in copyright notices.
2012-02-21 01:47:14 +04:00
Abs62
64bb5c00ca
Support sounds in xdxf dictionaries
2012-01-31 19:01:40 +04:00
Abs62
78d9923452
Images support in xdxf dictionaries
2012-01-31 16:49:37 +04:00
Abs62
af53018709
XDXF dictionaries format support
2012-01-24 16:55:28 +04:00
Abs62
7de7fcc8df
Replace fprintf(stderr,...) in code by a macro FDPRINTF
2011-06-20 00:29:11 +04:00
Abs62
36e509a2ab
Replace printf in code by a macro DPRINTF
2011-06-19 22:50:11 +04:00
Konstantin Isakov
92eceb8cad
Change email from @users.berlios.de to @goldendict.org.
2010-12-09 15:31:50 +03:00
Konstantin Isakov
953d9237a3
Update copyright to span to 2011.
...
Better early than late, this year is ending anyway.
2010-11-14 18:47:03 +03:00
Konstantin Isakov
8691356031
Babylon bword:// links referring to words with spaces now work (patch by zhangjinsong)
2010-10-06 22:33:41 -07:00
Konstantin Isakov
ab88fa4867
Drop the src/ directory. It's superfluous.
2010-05-15 16:42:18 +04:00