The Next Generation GoldenDict https://xiaoyifang.github.io/goldendict-ng/
Go to file
2022-08-21 12:47:40 +08:00
.github github: modify release note 2022-08-14 11:08:07 +08:00
autotests iconv test case 2022-02-26 16:25:00 +08:00
base replace regularexpress with global static variables 2022-06-18 18:20:58 +08:00
docs Update index.md 2022-02-08 11:54:08 +08:00
flags ui: update icon 2022-03-27 18:12:33 +08:00
help Update help system 2020-11-19 18:33:35 +03:00
howto Update how to connect with anki.md 2022-05-21 23:10:30 +08:00
icons style: modify default style 2022-08-19 20:50:04 +08:00
locale opt:add new default style. 2022-08-18 20:54:35 +08:00
maclibs make all macOS dependencies universal in maclibs/ 2022-04-22 01:00:48 +08:00
opencc winlib: update opencc to 2020-04-26 2022-02-11 21:54:14 +08:00
redist Add a concrete Comment into the desktop entry 2021-02-27 20:04:28 +08:00
resources opt:format gd-custom file 2022-07-09 12:52:33 +08:00
thirdparty clean code:remove qt<5 code 2022-04-08 22:18:03 +08:00
tools tools: nsis script update 2022-05-12 23:49:57 +08:00
winlibs Win-specific: Remove submodule "winlibs/lib/msvc" 2022-04-30 14:22:46 +03:00
.clang-format modify clang format 2022-06-03 20:53:10 +08:00
.gitignore .gitignore add .qtc_clangd excluded folder 2022-04-10 09:36:03 +08:00
aard.cc opt: replace string() with QString::toStdstring 2022-06-06 20:22:55 +08:00
aard.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
about.cc opt: print _MSC_FULL_VER instead of incorrect VS version 2022-05-26 21:03:18 +08:00
about.hh opt: print _MSC_FULL_VER instead of incorrect VS version 2022-05-26 21:03:18 +08:00
about.ui
ankiconnector.cpp add 'send to anki' function 2022-05-21 17:34:22 +08:00
ankiconnector.h add 'send to anki' function 2022-05-21 17:34:22 +08:00
article-style-print.css
article-style-st-babylon.css opt: remove body default 13 px font-size, use chrome's instead 2022-05-19 22:13:49 +08:00
article-style-st-classic.css style: modify default style 2022-08-19 20:50:04 +08:00
article-style-st-lingoes-blue.css style: remove css -webkit-user-select and replace with user-select 2022-08-19 19:46:55 +08:00
article-style-st-lingoes.css add dict's margin back to lingos style 2022-06-08 20:55:08 +08:00
article-style-st-lingvo.css style: move duplicate class together 2022-06-13 19:45:29 +08:00
article-style-st-modern.css style: remove css -webkit-user-select and replace with user-select 2022-08-19 19:46:55 +08:00
article-style.css style: add user-select: none to dictionary name in article. 2022-08-21 11:37:58 +08:00
article_inspect.cpp add log to inspector 2022-08-18 22:30:04 +08:00
article_inspect.h article inspector debug info 2022-08-08 20:48:46 +08:00
article_maker.cc opt: update dictionaries when disable certain dictionary 2022-07-17 18:23:21 +08:00
article_maker.hh fix: collapse function does not work expectedly. 2022-04-21 23:14:19 +08:00
article_netmgr.cc remember last link's groupId and muted dictionary 2022-06-08 20:52:44 +08:00
article_netmgr.hh opt: change ArticleNetworkAccessManager's method createRequest to getArticleReply 2022-05-19 07:14:36 +08:00
articleview.cc opt: remove setZoomFactor when loading 2022-08-19 19:48:01 +08:00
articleview.hh article inspector debug info 2022-08-08 20:48:46 +08:00
articleview.ui Merge branch 'master' of https://github.com/goldendict/goldendict into goldendict-master 2022-07-10 12:39:12 +08:00
articlewebpage.cpp opt: handle the url click before the page finished loaded 2022-07-10 14:27:50 +08:00
articlewebpage.h remember last link's groupId and muted dictionary 2022-06-08 20:52:44 +08:00
articlewebview.cc remove useless method 2022-08-05 22:24:28 +08:00
articlewebview.hh remove useless method 2022-08-05 22:24:28 +08:00
atomic_rename.cc
atomic_rename.hh
audiolink.cc
audiolink.hh
audioplayerfactory.cc Do not pass null to qobject_cast() 2018-04-16 18:12:41 +03:00
audioplayerfactory.hh Add QMediaPlayer internal player back end (Qt5 only) 2018-03-30 17:10:33 +03:00
audioplayerinterface.hh Run a single external audio player process at a time 2018-03-24 21:34:06 +02:00
authentication.ui
belarusiantranslit.cc Merge branch 'feature/cpp-refactor-code' into staged 2022-02-03 17:51:40 +08:00
belarusiantranslit.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
bgl.cc clean code: replace throw() with noexcept 2022-06-03 21:29:06 +08:00
bgl.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
bgl_babylon.cc remove iconv lib 2022-02-26 15:13:24 +08:00
bgl_babylon.hh clean: remove stdint_msvc.h 2022-02-26 14:01:34 +08:00
btreeidx.cc opt: use std::move and reduce valid word length 2022-08-13 12:41:01 +08:00
btreeidx.hh opt: use std::move and reduce valid word length 2022-08-13 12:41:01 +08:00
CHANGES.md Update CHANGES.md 2022-06-09 12:47:59 +08:00
chinese.cc clean code: replace throw() with noexcept 2022-06-03 21:29:06 +08:00
chinese.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
chineseconversion.cc ChineseConversion: conditional compilation and OpenCC exception handling 2015-10-26 09:38:22 +08:00
chineseconversion.hh ChineseConversion: conditional compilation and OpenCC exception handling 2015-10-26 09:38:22 +08:00
chineseconversion.ui chineseconversion.ui: fix typo in window title 2017-05-03 13:25:04 +08:00
chunkedstorage.cc use qmutex instead of mutex(qmutexrecursive) 2022-06-18 09:09:49 +08:00
chunkedstorage.hh map nullptr check 2022-06-17 20:37:59 +08:00
conanfile.txt win specific: update ffmpeg dll lib 2022-02-02 16:17:53 +08:00
config.cc clean code: replace throw() with noexcept 2022-06-03 21:29:06 +08:00
config.hh clean code: replace throw() with noexcept 2022-06-03 21:29:06 +08:00
country.cc
country.hh
CREDITS.txt add Lojban translations 2020-02-23 14:00:32 -05:00
decompress.cc Add Zstd compression support for ZIM format 2020-05-27 14:13:08 +03:00
decompress.hh Add Zstd compression support for ZIM format 2020-05-27 14:13:08 +03:00
delegate.cc upgrade to qt6.2 2022-03-11 22:00:45 +08:00
delegate.hh
dictdfiles.cc clean code: replace throw() with noexcept 2022-06-03 21:29:06 +08:00
dictdfiles.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
dictgroupwidget.ui high dpi:change icon reference in code from png to svg. 2022-01-24 22:23:38 +08:00
dictheadwords.cc Revert "fix:head lazy load" 2022-05-05 21:01:35 +08:00
dictheadwords.hh Revert "fix:head lazy load" 2022-05-05 21:01:35 +08:00
dictheadwords.ui Revert "fix:head lazy load" 2022-05-05 21:01:35 +08:00
dictinfo.cc Show dictionary icon in the dictionary information and dictionary headwords dialogs 2014-11-14 19:54:13 +03:00
dictinfo.hh
dictinfo.ui
dictionary.cc auto generate icon ,fill background 2022-08-13 16:17:29 +08:00
dictionary.hh custom icon generate 2022-08-10 20:55:43 +08:00
dictionarybar.cc remove useless code 2022-08-10 22:13:19 +08:00
dictionarybar.hh remove useless code 2022-08-10 22:13:19 +08:00
dictserver.cc clean code: replace throw() with noexcept 2022-06-03 21:29:06 +08:00
dictserver.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
dictspanewidget.hh
dictzip.c optimize:fix resource leak Fixes #20 2022-02-18 18:28:44 +03:00
dictzip.h
dsl.cc Merge branch 'goldendict:master' into staged 2022-06-28 15:06:10 +08:00
dsl.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
dsl_details.cc work around to fix too long headword in dsl 2022-06-28 20:47:38 +08:00
dsl_details.hh clean code:remove useless code 2022-06-14 07:22:16 +08:00
editdictionaries.cc opt:remove dictMap parameter 2022-07-10 17:11:13 +08:00
editdictionaries.hh opt:remove dictMap parameter 2022-07-10 17:11:13 +08:00
editdictionaries.ui Add help buttons to dialogs 2014-06-24 17:55:06 +04:00
epwing.cc concurrent run will crash application 2022-06-19 20:26:39 +08:00
epwing.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
epwing_book.cc fix: add unicodeoption to qregularexpression 2022-06-01 21:15:25 +08:00
epwing_book.hh fix: duplicated entries in epwing dictionary 2022-05-24 20:32:23 +03:00
epwing_charmap.cc upgrade to qt6.2 2022-03-11 22:00:45 +08:00
epwing_charmap.hh upgrade to qt6.2 2022-03-11 22:00:45 +08:00
ex.hh clean code: replace throw() with noexcept 2022-06-03 21:29:06 +08:00
externalaudioplayer.cc Run a single external audio player process at a time 2018-03-24 21:34:06 +02:00
externalaudioplayer.hh Run a single external audio player process at a time 2018-03-24 21:34:06 +02:00
externalviewer.cc clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
externalviewer.hh clean:remove empty file ,cpp_features.hh 2022-02-26 13:56:50 +08:00
extlineedit.cc fix merge conflict with feature/deprecated 2022-02-03 17:50:47 +08:00
extlineedit.hh
favoritespanewidget.cc 修复C++20标准编译不通过 2022-04-25 20:27:11 +08:00
favoritespanewidget.hh Favorites: Fix blocking of illegal move operations for Qt4 (issue #1059) 2018-09-24 20:22:51 +03:00
ffmpegaudio.cc fix upstream merge conflict 2022-06-22 17:48:52 +08:00
ffmpegaudio.hh Add QMediaPlayer internal player back end (Qt5 only) 2018-03-30 17:10:33 +03:00
ffmpegaudioplayer.hh Stop Ffmpeg::AudioService in Ffmpeg::~AudioPlayer() 2018-04-16 18:12:41 +03:00
file.cc feat:mdx lock free when loadArticle 2022-06-14 21:35:21 +08:00
file.hh use qmutex instead of mutex(qmutexrecursive) 2022-06-18 09:09:49 +08:00
filetype.cc Add support for *.oga audio files 2021-06-12 07:53:19 +03:00
filetype.hh DSL: Trim spaces in "s" and "url" tags 2019-09-26 19:40:39 +03:00
fixx11h.h
flags.qrc high dpi:change icon reference in code from png to svg. 2022-01-24 22:23:38 +08:00
folding.cc fix:dsl dictionary parse. 2022-03-03 00:26:21 +08:00
folding.hh Fix typos found by codespell 2018-07-07 17:33:15 +08:00
forvo.cc clean code: replace throw() with noexcept 2022-06-03 21:29:06 +08:00
forvo.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
fsencoding.cc Revert "clean code: win return std::string directly" 2022-04-07 19:56:29 +08:00
fsencoding.hh
ftshelpers.cc custom icon generate 2022-08-10 20:55:43 +08:00
ftshelpers.hh concurrent run will crash application 2022-06-19 20:26:39 +08:00
fulltextsearch.cc feat:optimize fulltext search ,skip unfinished ftx 2022-06-18 18:50:05 +08:00
fulltextsearch.hh clean code: remove uxtheme 2022-05-20 18:43:47 +08:00
fulltextsearch.ui Full-text search: Allow ignore diacritics while search 2018-04-10 17:49:52 +03:00
gdappstyle.cc clean code:remove QT_VERSION check 2021-12-16 19:59:00 +08:00
gdappstyle.hh clean code:remove QT_VERSION check 2021-12-16 19:59:00 +08:00
gddebug.cc remove uselesscode 2022-06-02 20:38:55 +08:00
gddebug.hh opt: debug log message 2022-05-15 12:52:44 +08:00
german.cc clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
german.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
gestures.cc remove qt_version_check macro 2021-12-13 22:45:57 +08:00
gestures.hh remove qt_version_check macro 2021-12-13 22:45:57 +08:00
globalbroadcaster.cpp opt: website dictionary ,add whitelist of host url. 2022-07-16 09:13:33 +08:00
globalbroadcaster.h opt: update dictionaries when disable certain dictionary 2022-07-17 18:23:21 +08:00
gls.cc clean code: replace throw() with noexcept 2022-06-03 21:29:06 +08:00
gls.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
goldendict.pro remove default zim support in macos 2022-08-06 16:10:13 +08:00
greektranslit.cc Merge branch 'feature/cpp-refactor-code' into staged 2022-02-03 17:51:40 +08:00
greektranslit.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
groupcombobox.cc Allow dictionaries groups combobox standard hotkeys from FTS and Headwords dialogs 2019-07-09 18:00:23 +03:00
groupcombobox.hh Allow dictionaries groups combobox standard hotkeys from FTS and Headwords dialogs 2019-07-09 18:00:23 +03:00
groups.cc opt:remove dictMap parameter 2022-07-10 17:11:13 +08:00
groups.hh
groups.ui
groups_widgets.cc opt:remove dictMap parameter 2022-07-10 17:11:13 +08:00
groups_widgets.hh Update groups_widgets.hh 2018-04-11 00:04:12 +07:00
guids.c
helpwindow.cc optimize: float number compare precision 2022-02-19 01:08:20 +08:00
helpwindow.hh Add help buttons to dialogs 2014-06-24 17:55:06 +04:00
history.cc Add "Favorites" feature 2017-05-12 17:41:08 +03:00
history.hh Fix typos found by codespell 2018-07-07 17:33:15 +08:00
historypanewidget.cc Use std::sort in suitable places 2021-02-01 15:00:31 +00:00
historypanewidget.hh
hotkeyedit.cc improve: replace all the deprecated method before 5.15 2022-01-08 22:08:23 +08:00
hotkeyedit.hh Win-specific: Modify global hotkeys handling. 2015-10-13 17:57:40 +03:00
hotkeywrapper.cc fix:remove x11extra private 2022-05-29 16:00:28 +08:00
hotkeywrapper.hh fix:remove x11extra private 2022-05-29 16:00:28 +08:00
htmlescape.cc syntaticly space is more reasonable than remove directly. 2022-06-10 20:44:59 +08:00
htmlescape.hh html unescape 2022-06-08 21:13:07 +08:00
hunspell.cc clean code: replace throw() with noexcept 2022-06-03 21:29:06 +08:00
hunspell.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
iconv.cc iconv test case 2022-02-26 16:25:00 +08:00
iconv.hh remove iconv lib 2022-02-26 15:13:24 +08:00
iframeschemehandler.cpp remove iframe content-type detection 2022-08-21 12:47:40 +08:00
iframeschemehandler.h fix:add ifr local scheme 2022-05-15 22:54:26 +08:00
inc_case_folding.hh
inc_diacritic_folding.hh
indexedzip.cc clean code: remove \n in parameter of GD_DPRINTF 2022-06-02 20:11:05 +08:00
indexedzip.hh Add support for split zip files 2017-04-24 17:42:01 +03:00
initializing.cc clean code: remove uxtheme 2022-05-20 18:43:47 +08:00
initializing.hh clean code: remove uxtheme 2022-05-20 18:43:47 +08:00
initializing.ui
instances.cc opt:remove dictMap parameter 2022-07-10 17:11:13 +08:00
instances.hh opt:remove dictMap parameter 2022-07-10 17:11:13 +08:00
keyboardstate.cc fix:remove x11extra private 2022-05-29 16:00:28 +08:00
keyboardstate.hh
langcoder.cc opt: langcoder optimization 2022-06-23 20:03:29 +08:00
langcoder.hh Zim, Aard: Fix language recognition from three-letter codes 2018-12-07 16:18:49 +03:00
language.cc optimize:translator refactor 2022-03-03 23:12:38 +08:00
language.hh
LICENSE.txt
lionsupport.h Mac-specific: Fix for retina display 2014-06-17 17:47:04 +04:00
lionsupport.mm Mac-specific: Fix for retina display 2014-06-17 17:47:04 +04:00
loaddictionaries.cc clean code: replace throw() with noexcept 2022-06-03 21:29:06 +08:00
loaddictionaries.hh clean code: replace throw() with noexcept 2022-06-03 21:29:06 +08:00
lsa.cc clean code: replace throw() with noexcept 2022-06-03 21:29:06 +08:00
lsa.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
machotkeywrapper.mm fix cmd+C+C not working under Japanese Input 2021-10-20 18:33:58 +03:00
macmouseover.hh
macmouseover.mm MacOS: One more fix for compilation under Mac OS 2016-06-23 20:25:00 +03:00
main.cc opt: disable websecurity to enable cross domain access 2022-07-09 11:04:39 +08:00
mainstatusbar.cc improve: replace all the deprecated method before 5.15 2022-01-08 22:08:23 +08:00
mainstatusbar.hh Show now indexing for full-text search dictionary name in status line (issue #640) 2015-11-01 16:03:15 +03:00
maintabwidget.cc improve: replace all the deprecated method before 5.15 2022-01-08 22:08:23 +08:00
maintabwidget.hh
mainwindow.cc opt: inspector 2022-08-19 19:56:49 +08:00
mainwindow.hh opt: inspector 2022-08-19 19:56:49 +08:00
mainwindow.ui high dpi:replace menu button 2022-01-29 13:26:25 +08:00
mdictparser.cc opt:replace vector push_back with emplace_back 2022-08-09 20:47:10 +08:00
mdictparser.hh Revert "the last headword in the block has incorrect data length" 2022-08-07 11:03:46 +08:00
mdx.cc custom icon generate 2022-08-10 20:55:43 +08:00
mdx.hh Revert "optimize: for loop optimize" 2022-04-13 23:29:36 +08:00
mediawiki.cc opt:add wikipedia url to whitelist. 2022-07-11 21:01:49 +08:00
mediawiki.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
mruqmenu.cc
mruqmenu.hh
multimediaaudioplayer.cc upgrade to qt6.2 2022-03-11 22:00:45 +08:00
multimediaaudioplayer.hh upgrade to qt6.2 2022-03-11 22:00:45 +08:00
mutex.cc
mutex.hh revert mutex parent class from qrecursivemutex to qmutex 2022-06-18 09:17:43 +08:00
myInfo.plist
options.ui
orderandprops.cc opt:remove dictMap parameter 2022-07-10 17:11:13 +08:00
orderandprops.hh opt:remove dictMap parameter 2022-07-10 17:11:13 +08:00
orderandprops.ui Change sizing of dictionary description window in dictionaries dialog 2014-12-13 20:14:31 +03:00
parsecmdline.cc
parsecmdline.hh
preferences.cc opt:add new default style. 2022-08-18 20:54:35 +08:00
preferences.hh opt: add dictionary fallback font family settings 2022-05-08 16:44:09 +08:00
preferences.ui add 'send to anki' function 2022-05-21 17:34:22 +08:00
processwrapper.cc performance: Prefer prefix ++/-- operators for non-primitive types. 2022-02-16 22:08:32 +08:00
processwrapper.hh
programs.cc clean code: replace throw() with noexcept 2022-06-03 21:29:06 +08:00
programs.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
qt-style-macos.css
qt-style-st-babylon.css Add "Favorites" feature 2017-05-12 17:41:08 +03:00
qt-style-st-classic.css opt:add new default style. 2022-08-18 20:54:35 +08:00
qt-style-st-lingoes-blue.css Add "Favorites" feature 2017-05-12 17:41:08 +03:00
qt-style-st-lingvo.css Add "Favorites" feature 2017-05-12 17:41:08 +03:00
qt-style-st-modern.css opt: qt modern style modification 2022-08-18 20:58:27 +08:00
qt-style.css opt:add new default style. 2022-08-18 20:54:35 +08:00
README.md Update README.md 2022-07-16 16:10:48 +08:00
resources.qrc style: modify default style 2022-08-19 20:50:04 +08:00
resourceschemehandler.cpp opt: change ArticleNetworkAccessManager's method createRequest to getArticleReply 2022-05-19 07:14:36 +08:00
resourceschemehandler.h fix: resource scheme handler received finished signal twice,more likely to crash the webengine. 2022-01-09 09:52:40 +08:00
ripemd.cc Fixed build with GCC 11. 2020-10-15 15:04:20 +02:00
ripemd.hh clean: remove stdint_msvc.h 2022-02-26 14:01:34 +08:00
romaji.cc Merge branch 'feature/cpp-refactor-code' into staged 2022-02-03 17:51:40 +08:00
romaji.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
russiantranslit.cc clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
russiantranslit.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
sapi.hh
scanflag.cc upgrade to 6.2,linux compile 2022-03-11 22:14:40 +08:00
scanflag.hh Add scan popup flag 2017-06-05 21:15:38 +08:00
scanflag.ui Add scan popup flag 2017-06-05 21:15:38 +08:00
scanpopup.cc fix:add log to clipboard datachange signal 2022-08-14 23:16:51 +08:00
scanpopup.hh 6.2: currentIndexChanged signal is changed. 2022-03-11 22:00:53 +08:00
scanpopup.ui Update scanpopup.ui 2022-06-28 09:18:59 +08:00
sdict.cc clean code: replace throw() with noexcept 2022-06-03 21:29:06 +08:00
sdict.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
searchpanewidget.hh
slob.cc opt: replace string() with QString::toStdstring 2022-06-06 20:22:55 +08:00
slob.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
sounddir.cc clean code: replace throw() with noexcept 2022-06-03 21:29:06 +08:00
sounddir.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
sources.cc fix merge conflict with feature/deprecated 2022-02-03 17:50:47 +08:00
sources.hh ChineseConversion: conditional compilation and OpenCC exception handling 2015-10-26 09:38:22 +08:00
sources.ui ui: top margin reset to default. 2022-03-27 14:29:06 +08:00
speechclient.hh
speechclient_mac.mm
speechclient_win.cc
speechhlp.cc
speechhlp.hh
sphelper.hh Fix typos found by codespell 2018-07-07 17:33:15 +08:00
splitfile.cc upgrade to qt6.2 2022-03-11 22:00:45 +08:00
splitfile.hh Add support for split zip files 2017-04-24 17:42:01 +03:00
sptr.hh Revert "improve:refactor code ,reimplement sptr class." 2022-08-04 21:03:33 +08:00
stardict.cc clean code: replace throw() with noexcept 2022-06-03 21:29:06 +08:00
stardict.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
stylescombobox.cc
stylescombobox.hh
termination.cc terminate handler 2022-03-13 13:10:01 +08:00
termination.hh Little refactoring for log messages to file 2018-05-22 17:37:21 +03:00
texttospeechsource.cc
texttospeechsource.hh
texttospeechsource.ui ui: remove top margin 2022-03-27 21:01:28 +08:00
tiff.cc no extra tiff 2022-08-06 15:09:15 +08:00
tiff.hh no extra tiff 2022-08-06 15:09:15 +08:00
translatebox.cc upgrade to qt6.2 2022-03-11 22:00:45 +08:00
translatebox.hh A little refactor for show/hide completion list in the translate box 2017-09-08 16:43:41 +03:00
transliteration.cc clean code: replace throw() with noexcept 2022-06-03 21:29:06 +08:00
transliteration.hh clean code: replace throw() with noexcept 2022-06-03 21:29:06 +08:00
treeview.cc remove old qt(<5) code. 2021-12-13 22:43:43 +08:00
treeview.hh Favorites: Fix blocking of illegal move operations for Qt4 (issue #1059) 2018-09-24 20:22:51 +03:00
ufile.cc
ufile.hh
utf8.cc clean code: replace throw() with noexcept 2022-06-03 21:29:06 +08:00
utf8.hh clean code: replace throw() with noexcept 2022-06-03 21:29:06 +08:00
utils.hh custom icon generate 2022-08-10 20:55:43 +08:00
voiceengines.cc clean code: replace throw() with noexcept 2022-06-03 21:29:06 +08:00
voiceengines.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
webmultimediadownload.cc A little optimization of read data from network 2018-03-12 20:22:38 +03:00
webmultimediadownload.hh Media downloader: Fix case with redirect response 2017-03-13 17:40:19 +03:00
website.cc website sandbox allow same origin 2022-08-14 11:30:17 +08:00
website.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
weburlrequestinterceptor.cpp Merge branch 'staged' into dev 2022-07-15 19:51:23 +08:00
weburlrequestinterceptor.h opt:use acceptNavigationRequest instead of weburlinterceptor 2022-05-20 18:01:41 +08:00
wildcard.cc Support "[!a-x]" like construction while handling wildcards via QRegularExpression 2019-03-25 18:10:10 +03:00
wildcard.hh Add new files to git 2018-02-22 19:49:54 +03:00
wordfinder.cc fix: DPRINTF=>GD_DPRINTF ,DDPRINT does not exist now. 2022-01-15 15:29:20 +08:00
wordfinder.hh Fix typos found by codespell 2018-07-07 17:33:15 +08:00
wordlist.cc high dpi:remove coresponding png files with same name with svg 2022-01-27 08:23:57 +08:00
wordlist.hh
wstring.hh optimize: wchar use builtin char32_t 2022-02-17 22:33:58 +08:00
wstring_qt.cc Revert "clean code: win return std::string directly" 2022-04-07 19:56:29 +08:00
wstring_qt.hh remove iconv lib 2022-02-26 15:13:24 +08:00
xdxf.cc clean code: replace throw() with noexcept 2022-06-03 21:29:06 +08:00
xdxf.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
xdxf2html.cc fix: DPRINTF=>GD_DPRINTF ,DDPRINT does not exist now. 2022-01-15 15:29:20 +08:00
xdxf2html.hh Allow search of audio files in sound dictionaries for Xdxf and Stardict-xdxf dictionaries 2015-08-01 13:38:39 +03:00
zim.cc concurrent run will crash application 2022-06-19 20:26:39 +08:00
zim.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
zipfile.cc improve: replace all the deprecated method before 5.15 2022-01-08 22:08:23 +08:00
zipfile.hh Add support for split zip files 2017-04-24 17:42:01 +03:00
zipsounds.cc clean code: replace throw() with noexcept 2022-06-03 21:29:06 +08:00
zipsounds.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00

Codacy Badge Windows Ubuntu macos

Introduction

GoldenDict is a feature-rich dictionary lookup program, supporting multiple dictionary formats (StarDict/Babylon/Lingvo/Dictd/AARD/MDict/SDict) and online dictionaries, featuring perfect article rendering with the complete markup, illustrations and other content retained, and allowing you to type in words without any accents or correct case.

Requirements

This code has been run and tested on Windows 10/11, Ubuntu Linux, Mac OS X.

External Deps

  • Make, GCC, Git
  • Qt framework. Minimum required version is 5.15 and support the latest QT version 6.X
  • Qt Creator IDE is recommended for development
  • Various libraries on Linux (png, zlib, etc)
  • On Mac and Windows all the libraries are already included in the repository

Installing External Deps on Ubuntu Linux for Qt5

sudo apt-get install git pkg-config build-essential qt5-qmake \
     libvorbis-dev zlib1g-dev libhunspell-dev x11proto-record-dev \
     qtdeclarative5-dev libxtst-dev liblzo2-dev libbz2-dev \
     libao-dev libavutil-dev libavformat-dev libtiff5-dev libeb16-dev \
     libqt5svg5-dev libqt5x11extras5-dev qttools5-dev \
     qttools5-dev-tools qtmultimedia5-dev libqt5multimedia5-plugins libqt5webchannel5-dev qtwebengine5-dev

Fedora 35

sudo dnf install git pkg-config \
     libvorbis-devel zlib-devel hunspell-devel lzo-devel bzip2-devel \
     libao-devel ffmpeg-devel libtiff-devel eb-devel qt5-qtx11extras-devel libXtst-devel \
     libxkbcommon-devel 


How to build

First, clone this repository, e.g.:

git clone https://github.com/xiaoyifang/goldendict.git

Linux

And then invoke qmake-qt5 and make:

cd goldendict && qmake-qt5 && make

macOS

brew install qt # or use official offline installer
qmake CONFIG+=release   CONFIG+=zim_support   CONFIG+=chinese_conversion_support QMAKE_APPLE_DEVICE_ARCHS="x86_64 arm64"
make 
make install

Windows

Alternatively, you might want to load goldendict.pro file from within Qt Creator, especially on Windows.

Building with Chinese conversion support

To add Chinese conversion support you need at first install libopencc-dev package:

sudo apt-get install libopencc-dev

Then pass "CONFIG+=chinese_conversion_support" to qmake

qmake "CONFIG+=chinese_conversion_support"

Building with Zim dictionaries support

To add Zim and Slob formats support you need at first install lzma-dev and zstd-dev packages:

sudo apt-get install liblzma-dev libzstd-dev

Then pass "CONFIG+=zim_support" to qmake

qmake "CONFIG+=zim_support"

Building without extra tiff handler

If you have problem building with libtiff5-dev package, you can pass "CONFIG+=no_extra_tiff_handler" to qmake in order to disable extra tiff support (without such extra support some b/w tiff images will not be displayed):

qmake "CONFIG+=no_extra_tiff_handler"

Building without Epwing format support

If you have problem building with libeb-dev package, you can pass "CONFIG+=no_epwing_support" to qmake in order to disable Epwing format support

qmake "CONFIG+=no_epwing_support"

Building without internal audio players

If you have problem building with FFmpeg/libao (for example, Ubuntu older than 12.04), you can pass "CONFIG+=no_ffmpeg_player" to qmake in order to disable FFmpeg+libao internal audio player back end:

qmake "CONFIG+=no_ffmpeg_player"

If you have problem building with Qt5 Multimedia or experience GStreamer run-time errors (for example, Ubuntu 14.04), you can pass "CONFIG+=no_qtmultimedia_player" to qmake in order to disable Qt Multimedia internal audio player back end:

qmake "CONFIG+=no_qtmultimedia_player"

NB: All additional settings for qmake that you need must be combined in one qmake launch, for example:

qmake "CONFIG+=zim_support" "CONFIG+=no_extra_tiff_handler" "CONFIG+=no_ffmpeg_player"

Then, invoke make clean before make because the setting change:

make clean && make

Building under Windows with MS Visual Studio

the source code has offered precompile x64 windows libs on winlibs/lib/msvc. you can build your own version either.

To build with Visual Studio. check this how to build with visual studio

Installation

Installation is an optional step since the built binary can be used as-is without installation. But you can properly install via:

make install

NB: Don't do that on Windows!

You can uninstall via:

make uninstall

License

This project is licensed under the GNU GPLv3+ license, a copy of which can be found in the LICENSE.txt file.

Support

Users looking for support should file an issue in the official GoldenDict issue tracker, or even better: submit a pull request if you have a fix available. General questions should be asked on the official GoldenDict forum.