shenleban tongying
7feb883408
refactor: move all dictionary parsers to /src/dict/
...
If a file contains `makeDictionaries` then it belongs to there
2023-04-17 16:55:34 -04:00
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
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
4cf35cc7e3
Merge branch 'Original' into Qt4x5
...
Conflicts:
hotkeywrapper.hh
mainwindow.cc
mainwindow.hh
2014-04-11 19:29:56 +04:00
Abs62
ce45d3718a
Fix case of non-ASCII symbols in path for sound directories
2014-03-18 18:19:52 +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
7cea352be9
Sound directories: Show file names with extension if short name corresponds more than one file
2014-02-07 17:03:07 +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
Abs62
845f5294a6
Fix warning in SoundDirDictionary constructor
2013-02-03 14:08:41 +04:00
Julian Depetris Chauvin
5ec0362a72
Custom icon support for Sound dir dictionaries
2013-02-02 15:25:24 -03: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
2763b74635
Use file names in UTF-8. Fix issue #30 .
2011-09-09 16:05:28 +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