Commit graph

48 commits

Author SHA1 Message Date
Abs62 109bd56f39 Wiki: Fix work with headwords containing the '+' sign 2018-01-31 20:54:51 +03:00
Igor Kushnir deea197ca7 Fix subpage links in MediaWiki
I haven't encountered any prefix other than "/wiki/" that should be
discarded. If there are such other prefixes, I think they would conform
to some pattern, and so the replacement code could be adjusted to
accommodate them.

This commit fixes #813.
Examples of pages with subpage links in English Wikipedia that are fixed
by this commit: "Asio (disambiguation)", "Asio C plus plus library".
This issue is much more prevalent in Wookieepedia because it has
a two-tab link system with the patterns */Legends and */Canon.
2018-01-31 14:09:19 +02:00
Abs62 a1a8ece42c Call disconnect() before deleteLater() for QNetworkReply objects 2017-03-20 17:31:02 +03:00
Abs62 229bcc8ef5 Wiki: Fix some image urls 2016-06-14 00:15:12 +03:00
Abs62 436edad84d Merge branch 'Original' into Qt4x5 2016-04-22 17:59:01 +03:00
Abs62 dad18b8113 Fix crash at quit while some network queries still active 2016-04-21 18:14:04 +03:00
Abs62 47936e236d Merge branch 'Temp' into Qt4x5 2015-11-01 16:08:10 +03:00
Abs62 cf3ec5dfc1 Wiki: Handle inter-article anchors 2015-10-31 22:26:50 +03:00
Abs62 e24de4d881 Merge branch 'Original' into Qt4x5
Conflicts:
	xdxf2html.cc
2015-10-14 18:23:46 +03:00
Abs62 a8df5c941f Wiki: Fix some links handling (issue #615) 2015-07-24 18:00:39 +03:00
Abs62 3275bc462c Merge branch 'Original' into Qt4x5 2015-06-24 17:55:06 +03:00
Abs62 8717a56910 MediaWiki engine: Fix resource urls for SSL connection (issue #609) 2015-06-24 17:50:14 +03:00
Abs62 9b44890a01 Merge branch 'Original' into Qt4x5 2015-02-26 18:06:49 +03:00
Abs62 20396aa988 Wiki's: Ignore SSL connection errors 2015-02-20 17:18:03 +03:00
Abs62 4b8de48e5c Merge branch 'Original' into Qt4x5 2014-11-27 18:53:52 +03:00
Abs62 610408c78a Fix wiki relative image url (issue #544) 2014-11-21 18:49:14 +03:00
Abs62 15b10bcbc9 Merge branch 'Original' into Qt4x5 2014-10-03 15:29:18 +04:00
Abs62 ebad891e34 Handle "audio" tag in Wiki-dictionaries to play sounds via GD player 2014-07-24 18:10:36 +04:00
Abs62 b9666f7f9f Merge branch 'Original' into Qt4x5
Conflicts:
	bgl_babylon.cc
2014-05-12 18:10:26 +04:00
Abs62 4120213ee8 Rename "DPRINTF" and "FDPRINTF" debug macro 2014-05-11 01:02:31 +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 e09ca5402d Merge branch 'master' into qt4x5
Conflicts:
	goldendict.pro
2013-08-19 10:54:38 +08:00
Tvangeste 148fd1f275 Fix compilation failures with Visual C++ 2012 (issue #375) 2013-08-07 20:29:36 +02: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 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 1d85f1b359 #212: Scratch, currently works under windows, for both Qt4 and Qt5 2013-05-30 21:24:21 +08:00
Tvangeste 05070b4fc8 Eliminate some compiler warnings (in Release mode). 2013-02-04 14:46:52 +01:00
Julian Depetris Chauvin 25be9b074a Check if icon is loaded before trying to load it again 2013-01-31 19:30:11 -03:00
Abs62 5070b5b859 std::vector -> QVector in config 2012-12-10 16:49:45 +04:00
Abs62 dacc4779db Rework custom dictionary icons handling 2012-12-03 16:47:43 +04:00
Abs62 1f67465870 Merge pull request #108 from vtliem/WikiFix20120621
Wiki images fix @https://github.com/goldendict/goldendict/issues/102
2012-11-17 09:02:12 -08:00
Abs62 2a215927ce Fix some warnings 2012-10-31 17:58:35 +04:00
vtliem adfd993f6b Check for valid icon file 2012-06-27 17:49:38 +09:00
vtliem 71399d5eb2 Wiki images fix @https://github.com/goldendict/goldendict/issues/102
1/Fix wiki relative image url
2/Add Custom icon for wiki dic (relative file path : configdir/iconpath
2012-06-21 18:43:28 +09:00
Abs62 535fe0d3e0 Update year in copyright notices. 2012-02-21 01:47:14 +04:00
vtliem 10a5655ed1 Fix wiki url
1/ audio url in a tag (<a href="//upload.....org)
2/File:xxx.xxx link @https://github.com/goldendict/goldendict/issues/61
2012-01-26 16:56:23 +09:00
vtliem 56bd0baa23 @https://github.com/goldendict/goldendict/pull/71#commitcomment-850734 2012-01-11 21:14:16 +09:00
vtliem 8df4179c6a fix wiki's audio playing 2012-01-09 22:48:27 +09:00
Abs62 8c056589e9 Fix Wikipedia images loading 2011-10-22 15:52:52 +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 ab88fa4867 Drop the src/ directory. It's superfluous. 2010-05-15 16:42:18 +04:00
Renamed from src/mediawiki.cc (Browse further)