shenleban tongying
e66f97f7db
refactor: remove FsEncoding::encode/decode
...
They never serve any purpose other than converting between std::string <> QString <> char*.
2023-04-14 07:27:59 +08:00
shenleban tongying
32304d4b15
cleanup: remove all useless #include <QDebug>
...
All Qt Headers already implicitly included it.
2023-03-21 21:15:14 +08:00
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
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
fd00e9d156
Fix gcc 7.3 compiler warnings (#issue 978)
2018-05-21 18:32:04 +03:00
Abs62
af0a6f42cc
Correct some log messages
2017-06-22 18:02:04 +03: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
4bbe1aaee5
Merge branch 'Original' into Qt4x5
...
Conflicts:
scanpopup.cc
2014-03-14 17:34:33 +04:00
Abs62
becc74c730
Use QFile instead of FILE * functions
2014-02-26 18:22:12 +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
6ed3f5bec5
Merge branch 'master' into qt4x5
2013-06-16 15:54:05 +08:00
Timon Wong
3dd6cc8e5d
Prevent compiler warning messages about OV_CALLBACKS_*
2013-06-16 15:30:34 +08: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
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
535fe0d3e0
Update year in copyright notices.
2012-02-21 01:47:14 +04:00
Abs62
7de7fcc8df
Replace fprintf(stderr,...) in code by a macro FDPRINTF
2011-06-20 00:29:11 +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