Commit graph

41 commits

Author SHA1 Message Date
Abs62 30dad341d1 MDict: Handle local url's in loaded .css 2016-04-02 01:50:19 +03:00
Abs62 2221beb249 MDict: One more fix for script handling 2016-03-28 21:14:38 +03:00
Abs62 8388cd8ee6 MDict: Fix some scripts handling 2016-03-09 23:06:53 +03:00
Abs62 81d56b73f9 MDict: Fix links handling 2015-10-30 22:21:35 +03:00
Abs62 c2eb4a0ef2 MDict: Handle inter-article anchors 2015-10-28 23:24:10 +03:00
Abs62 83397ce8d5 DSL: Exclude tags [s], [url], [video], [preview] from indexing for full-text search 2014-11-22 17:22:04 +03:00
Purling Nayuki a9a18e7e26 Fix javascripts paths in mdict format aren't replaced, which leads to .js files won't be loaded 2014-10-21 14:55:40 +08:00
Abs62 4120213ee8 Rename "DPRINTF" and "FDPRINTF" debug macro 2014-05-11 01:02:31 +04:00
Abs62 055ae55abd Full-text search: Special handling for CJK chars 2014-05-08 16:38:00 +04:00
Abs62 616babe60e Full-text search: Skip some replacements while load article from MDict dictionary 2014-04-29 17:55:48 +04:00
Abs62 df94e2ee80 Fix some crashes 2014-04-21 00:02:41 +04:00
Abs62 fd1d035c01 Add full-text search tuning tab to preferences dialog 2014-04-17 18:31:51 +04:00
Abs62 9ad0d5f985 Implement full-text search 2014-04-16 20:18:28 +04:00
Abs62 444938a330 Fix logging to file UTF-8 encoded messages 2013-11-16 22:34:09 +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 dd6b54a534 MDict: Fixed truncation for ASCII characters(0x20~0x30) in image urls. 2013-07-25 09:22:33 +08:00
Tvangeste 6d4843e79b Fix compilation failure on older Linux/GCC versions 2013-06-17 17:30:20 +02:00
Timon Wong a830e5fd4d MDict: Fix compatibility between 32/64 bit indices (Fix #340). 2013-06-05 00:17:55 +08:00
Timon Wong 8b2efc062f MDict: Narrow selector scope for better CSS isolation (probably) 2013-05-28 15:00:36 +08:00
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