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
Ren Tatsumoto
7fc2d64cd8
give external programs access to translateLine via %GDSEARCH% ( #417 )
...
* give external programs access to translateLine via %GDSEARCH%
* remove code smell
* reformat with clang-format
* update translations
* don't write to stdin of an external program if GDSEARCH is set
* update ui docs
2023-03-24 19:52:38 +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
07e92e8ac1
refactor: upgrade most of macro based Signal/Slot to new syntax
2022-12-25 21:08:17 -05:00
shenleban tongying
fcfa4e43e2
refactor: replace escaped strings with raw strings via clang-tidy
2022-12-24 17:01:50 -05:00
Xiao YiFang
5757fff5a6
fix: qprocess error signal is changed to errorOccurred()
...
fixed #238
2022-12-07 20:20:57 +08: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
9cf5ee8443
high dpi:change icon reference in code from png to svg.
2022-01-24 22:23:38 +08:00
xiaoyifang
c7d33f4eb9
clean code: remove old cpp feature
2022-01-09 16:35:07 +08:00
yifang
09063ecc5a
clean code:
...
QString::SkipEmptyParts=>Qt::SkipEmptyParts
2021-12-29 22:29:06 +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
9892fdc024
Programs: Handle BOM's for UTF-8 and UTF-16 encoding in programs output (issue #1003 )
2018-05-06 16:39:31 +03:00
Timon Wong
6ed3f5bec5
Merge branch 'master' into qt4x5
2013-06-16 15:54:05 +08:00
Abs62
7d4db43ca0
Programs: Don't write word to standard input if %GDWORD% is presented in arguments (issue #351 )
2013-06-13 17:34:50 +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
5e2727ce71
Custom icons for external programs
2012-12-07 15:59:59 +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
Konstantin Isakov
40fa922de6
Add new program type - 'Prefix Match', which allows listing word matches as you type.
2011-06-04 14:35:09 -07:00
Konstantin Isakov
45b6694822
Honor the 'enabled' flag of the programs -- don't just always make the programs available.
2011-05-29 23:38:52 -07:00
Konstantin Isakov
d4b687e966
Add proper command line parsing (with quotes support) to programs and to the external audio player command line.
2011-05-29 18:05:28 -07:00
Konstantin Isakov
92e2317251
Add the missing files.
2011-05-29 10:36:30 -07:00