Commit graph

72 commits

Author SHA1 Message Date
Timon Wong 07113d0bf6 Fix unexpected result using QString::toStdWString() (fix #107 again, QTBUG-25536)
* QString::toStdWString() and QString::toUCS4() will have wrong size when
  QString instances contain non-BMP characters.

Close #320
2013-05-27 14:56:16 +08:00
Timon Wong 427c0df90e Merge branch 'mdict'
Conflicts:
	mdx.cc
2013-05-27 14:12:46 +08:00
Abs62 f4734c076c Stardict: Isolate resources stylesheets 2013-05-23 18:01:50 +04:00
Abs62 604112fb2d Mdx: Isolate resources stylesheets (issie #290) 2013-05-22 21:42:41 +04:00
Timon Wong 50c3140296 MDict: fix missing localizable string in 51ab9b0 2013-05-22 19:56:28 +08:00
Timon Wong 51ab9b0673 MDict: User friendly error reporting for article request 2013-05-22 11:15:47 +08:00
Timon Wong 4c4feb2c52 MDict: minor parser refactor, fix inappropriate use of sptr 2013-05-11 13:41:26 +08:00
Timon Wong 76b5b55ff0 MDict: Add volumes support for mdd files 2013-05-08 21:51:02 +08:00
Timon Wong e45bcfc9ce MDict: Fix anchor name/id marshalling without quotes. 2013-05-07 11:20:40 +08:00
Timon Wong 341e5a7ebf MDict: Use reluctant matching for anchor processing 2013-05-05 19:09:25 +08:00
Timon Wong 00a1ed5ddc MDict: Support audio links in <area> tag 2013-04-30 09:30:04 +08:00
Timon Wong 4568c41ab1 MDict: Fix anchor name/id enclosed with single quotes 2013-04-30 09:29:30 +08:00
Timon Wong 1505bf990d MDict: localizable article loading error string. 2013-04-28 17:18:34 +08:00
Timon Wong 6f0a47fe53 MDict: handle malformed resource link without quotes 2013-04-28 16:49:15 +08:00
Timon Wong 0101f52abd Support large dictionary files; indexing speed improvement 2013-04-28 16:26:04 +08:00
Tvangeste 1c7a226810 Clean-up stray <a> tags in some broken MDX dictionaries. 2013-04-27 15:10:43 +02:00
Timon Wong 58654a7423 MDict: ltrim unprintable characters from filename 2013-04-26 13:29:52 +02:00
Tvangeste 56a53087ad Fixed #271: MDict: A mechanism to clean-up invalid HTML cards
Thanks to Abs62 for the hint :)
2013-04-25 22:42:16 +02:00
Abs62 5277f58852 mdx.cc: fix compilation under Linux and Mac OS X 2013-04-25 17:52:23 +04:00
Timon Wong e2ebb4af3c MDict: add unique id prefix for anchors 2013-04-24 19:35:03 +08:00
Timon Wong 5f959614ac MDict: support file URI scheme in image/css links. 2013-04-24 09:58:35 +08: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