Commit graph

31 commits

Author SHA1 Message Date
Xiao YiFang f52251d640 fix:mdict compact html parse style error 2022-06-16 08:00:40 +08:00
Xiao YiFang 9ea83f1299 fix : control character cause qdomdocument can not parse attribute 2022-06-11 16:25:56 +08:00
Xiao YiFang 4ce03e9415 html unescape 2022-06-08 21:13:07 +08:00
Xiao YiFang dab5885b02 opt: debug log message
convert GDPRINTF macro to gdDebug internal
2022-05-15 12:52:44 +08:00
xiaoyifang fcf0fec3ff fix: change html unescape to Html::unescape 2022-04-16 19:34:12 +08:00
xiaoyifang bd58c6c37d fix:qt6.2 QDomDocument attribute parse behaviour has changed
https://bugreports.qt.io/browse/QTBUG-102612

https://doc.qt.io/qt-6/xml-changes-qt6.html
Attribute values will be normalized. For example, <tag attr=" a \n b " /> is equivalent to <tag attr="a b"/>.
2022-04-16 18:26:58 +08:00
xiaoyifang 400d263e40 fix:mdx compact html ,the end close tag error
some mdx entry item has such item
`1`abc.jpg\r\n\u0000
when replaced with predefined tags. will result in
<a href="abc.jpg\r\n\u0000">****
2022-04-16 15:15:24 +08:00
xiaoyifang 4a0545b299 upgrade to 6.2 2022-03-11 22:14:40 +08:00
xiaoyifang 7b5511a7bd upgrade to qt6.2 2022-03-11 22:00:45 +08:00
xiaoyifang d1c4611923 remove iconv lib 2022-02-26 15:13:24 +08:00
xiaoyifang 9ecc10ed50 performance: Prefer prefix ++/-- operators for non-primitive types.
more detail check https://hownot2code.com/2016/06/30/use-a-prefix-increment-operator-i-in-iterators-instead-of-a-postfix-i-operator/
2022-02-16 21:47:03 +08:00
xiaoyifang 0c94406e2a fix merge conflict with feature/deprecated 2022-02-03 17:50:47 +08:00
xiaoyifang b163064f86 fix: mdd resource files spread across multi blocks .
https://github.com/goldendict/goldendict/pull/1400#issuecomment-1008965814
2022-01-10 23:42:27 +08:00
yifang 46b4151cc4 improve: replace all the deprecated method before 5.15 2022-01-08 22:08:23 +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
xiaoyifang 402add183e clean qt_version < 5 code. 2021-12-13 22:43:46 +08:00
xiaoyifang ded545ecf3 fix dictionary parse error:
1,mdx dictionary load error in windows.
2,dsl dictionary load error in windows.
2021-10-19 00:19:25 +08:00
Abs62 2b3a8d16bc Mdx: Fix resource files indexing (issue #971) 2018-04-08 18:00:21 +03:00
Abs62 fe39fc8a05 Qt5: More QRegularExpression instead of QRegExp 2018-02-27 20:18:35 +03:00
Abs62 e24de4d881 Merge branch 'Original' into Qt4x5
Conflicts:
	xdxf2html.cc
2015-10-14 18:23:46 +03:00
Zhe Wang e3e6e24ea7 MDict: Fix parsing of MDict format version < 2.0 2015-10-12 22:26:34 +08:00
Zhe Wang a04917833c Remove dependency on libavutil 2015-10-11 23:01:24 +08:00
Zhe Wang 3fe3c0ea2b MDict: Support encrypted keyword index 2015-10-09 01:11:45 +08:00
Abs62 867306f326 Qt5: Fix compilation errors with Qt 5.5.0 beta 2015-05-20 17:52:33 +03:00
Timon Wong a830e5fd4d MDict: Fix compatibility between 32/64 bit indices (Fix #340). 2013-06-05 00:17:55 +08:00
Timon Wong 4c4feb2c52 MDict: minor parser refactor, fix inappropriate use of sptr 2013-05-11 13:41:26 +08:00
Timon Wong d57290f6bd MDict: Fix checksum calculating for plain data block 2013-05-01 13:34:56 +08:00
Timon Wong 0101f52abd Support large dictionary files; indexing speed improvement 2013-04-28 16:26:04 +08:00
Timon Wong 3154e32afc MDict: append orphan style in the end, related to goldendict/goldendict#271 2013-04-26 13:29:26 +02:00
Abs62 d8ed5046bd MDict: use decompress function from decompress.cc 2013-04-23 20:38:30 +04:00
Timon Wong cdab08a1ef MDict (.mdx/.mdd) format support
summary

* mdd is complementary resource archive for mdx (dictionary file)
* lzo2 library for (old) MDict version 1 file format
* try Load bass_spx.dll under windows for speex decoding
* internal redirection "@@@LINK=" for both mdx and mdd
2013-04-23 20:07:05 +08:00