Commit graph

34 commits

Author SHA1 Message Date
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
shenleban tongying 2aeed5e705 clang-tidy: apply modernize-use-override 2022-12-29 02:14:53 -05:00
shenleban tongying fcfa4e43e2 refactor: replace escaped strings with raw strings via clang-tidy 2022-12-24 17:01:50 -05:00
shenleban tongying 4452c06c3e Replace sptr with std::shared_ptr
* Make sptr an alias of std::shared_ptr
* Make old sptr's implicit conversion explict through std::make_shared
2022-11-28 22:54:31 -05:00
Xiao YiFang ba10f68c1c clean code: replace throw() with noexcept 2022-06-03 21:29:06 +08:00
xiaoyifang e8e21358e4
Merge branch 'goldendict:master' into staged 2022-05-12 17:27:57 +08:00
Abs62 f810c6bd72 Zips: Expand headwords while indexing 2022-05-10 18:34:42 +03:00
xiaoyifang c2b466ce19 Merge branch 'feature/cpp-refactor-code' into staged 2022-02-03 17:51:40 +08:00
xiaoyifang a14f544521 high dpi : image replacement and playsound icon changed to playsound_full.png 2022-01-23 13:25:14 +08:00
xiaoyifang c7d33f4eb9 clean code: remove old cpp feature 2022-01-09 16:35:07 +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
Abs62 d7bc012411 Add option to ignore diacritics while articles search 2018-06-13 19:00:42 +03:00
Abs62 b002fece6d Fix some more warnings (issue #978 again) 2018-05-22 17:48:14 +03:00
Abs62 fd00e9d156 Fix gcc 7.3 compiler warnings (#issue 978) 2018-05-21 18:32:04 +03:00
Abs62 4b8de48e5c Merge branch 'Original' into Qt4x5 2014-11-27 18:53:52 +03:00
Abs62 32690a433b ZIPS: Fix count of file names with non-ASCII characters 2014-10-10 16:52:22 +04:00
Abs62 6238f33d1f ZIPS: Change handling of UTF-8 encoded file names 2014-10-09 23:30:11 +04:00
Abs62 0fa4087b38 Merge branch 'Original' into Qt4x5
Conflicts:
	goldendict.pro
	mainwindow.cc
	zim.cc
	zipsounds.cc
2014-02-11 23:39:31 +04:00
Abs62 ea8aae9535 Zips: A little improvement of previous commit 2014-02-07 17:02:30 +04:00
Abs62 b627c1e2d8 Zips: Search sounds both by short and full name (filename with/without extention) 2014-02-07 00:25:25 +04:00
Abs62 025555c5ff Zips: Strip spaces at the end of sound name 2014-02-06 20:34:34 +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 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
Julian Depetris Chauvin 25be9b074a Check if icon is loaded before trying to load it again 2013-01-31 19:30:11 -03:00
Abs62 16d1e1bdb3 Strip sound files extension when index .zips, like in sound dirs (issue #173) 2013-01-22 16:53:19 +04:00
Abs62 7bbad3e829 Custom icons for .zips and .lsa 2012-12-03 16:48:06 +04:00
Abs62 dacc4779db Rework custom dictionary icons handling 2012-12-03 16:47:43 +04:00
Abs62 2a215927ce Fix some warnings 2012-10-31 17:58:35 +04:00
Abs62 4358b43182 Fix sound files search in .zips 2012-10-04 18:33:26 +04:00
Abs62 8bed9e80eb Support sound packs in zip archive (.zips) 2012-09-28 16:39:52 +04:00