The Next Generation GoldenDict https://xiaoyifang.github.io/goldendict-ng/
Go to file
2022-10-28 10:51:18 +08:00
.github change qt version to qt6.3.2 2022-10-25 19:46:07 +08:00
autotests iconv test case 2022-02-26 16:25:00 +08:00
base opt: replace font-face's url in html 2022-10-11 20:57:04 +08:00
docs release version 22.4 2022-04-01 20:21:38 +08:00
flags ui: update icon 2022-03-27 18:12:33 +08:00
help update help file 2022-08-27 20:31:12 +08:00
howto Create how to customize the opencc.md 2022-09-26 14:39:17 +08:00
icons style: modify default style 2022-08-19 20:50:04 +08:00
locale add translation of Swiss High-German 2022-08-26 20:27:34 +08:00
maclibs Revert "[mac specific]:update ffmpeg package" 2022-10-16 17:32:39 +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
scripts opt:iframe set height logic restricted to most 10 seconds 2022-09-05 20:17:00 +08:00
thirdparty Delete qtwebengine_de_CH.qm 2022-09-27 14:01:40 +08:00
tools tools: nsis script update 2022-05-12 23:49:57 +08:00
winlibs [Win Specific] update dependency build instructions on Windows 2022-10-12 21:08:24 +08:00
.clang-format add new clang format style 2022-10-28 10:51:18 +08:00
.gitignore .gitignore add .qtc_clangd excluded folder 2022-04-10 09:36:03 +08:00
aard.cc xapian ,fullindex file name different in normal mode and xapian mode 2022-10-06 11:04:48 +08:00
aard.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
about.cc add xapian to the about dialog 2022-10-24 20:14:53 +08:00
about.hh opt: print _MSC_FULL_VER instead of incorrect VS version 2022-05-26 21:03:18 +08:00
about.ui Fixed #183: Provide a higher resolution main GoldenDict icon 2013-07-19 19:07:32 +02:00
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 font-family from the new-default-style & modern style 2022-09-02 20:09:02 +08:00
article-style.css style:default font family of the web page 2022-09-05 20:11:55 +08:00
article_inspect.cpp inspect element crash on the first time 2022-10-14 10:52:09 +08:00
article_inspect.h inspect element crash on the first time 2022-10-14 10:52:09 +08:00
article_maker.cc clear dictionary outside of the loop 2022-10-22 19:12:55 +08:00
article_maker.hh fix: collapse function does not work expectedly. 2022-04-21 23:14:19 +08:00
article_netmgr.cc opt: debug log 2022-10-22 13:42:17 +08:00
article_netmgr.hh opt: change ArticleNetworkAccessManager's method createRequest to getArticleReply 2022-05-19 07:14:36 +08:00
articleview.cc fix possible crash in archlinux 2022-10-26 16:17:28 +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 Fix regression from d5c236f183: should take first audio link from each article 2013-05-31 11:46:51 +08:00
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 Add proxy authentication dialog 2014-04-03 18:21:02 +04:00
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 xapian ,fullindex file name different in normal mode and xapian mode 2022-10-06 11:04:48 +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 remove useless code 2022-10-11 19:40:06 +08:00
btreeidx.hh opt: improve headword dialog performance 2022-10-01 15:33:23 +08:00
CHANGES.md Update CHANGES.md 2022-09-20 21:43:22 +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:remove x11 scanpopup flag setting 2022-09-25 12:49:22 +08:00
config.hh clean code:remove x11 scanpopup flag setting 2022-09-25 12:49:22 +08:00
country.cc
country.hh
CREDITS.txt add translation of Swiss High-German 2022-08-26 20:27:34 +08: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 Refactor work with RTL languages in word search list and history list 2013-07-06 19:31:31 +04:00
dictdfiles.cc xapian ,fullindex file name different in normal mode and xapian mode 2022-10-06 11:04:48 +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 opt: improve headword dialog performance 2022-10-01 15:33:23 +08:00
dictheadwords.hh opt: headwords dialog filtering optimization 2022-10-02 19:53:54 +08:00
dictheadwords.ui opt: improve headword dialog performance 2022-10-01 15:33:23 +08:00
dictinfo.cc show dict id in dictionary info panel 2022-10-11 21:34:24 +08:00
dictinfo.hh Show all headwords for selected dictionary 2014-02-28 16:36:28 +04:00
dictinfo.ui show dict id in dictionary info panel 2022-10-11 21:34:24 +08:00
dictionary.cc xapian revert the needToRebuildBTreeIndex to needToRebuildIndex 2022-10-08 21:16:15 +08:00
dictionary.hh xapian revert the needToRebuildBTreeIndex to needToRebuildIndex 2022-10-08 21:16:15 +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 Some more error handling 2014-04-24 22:50:47 +04:00
dsl.cc xapian revert the needToRebuildBTreeIndex to needToRebuildIndex 2022-10-08 21:16:15 +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-29 20:41:42 +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 xapian ,fullindex file name different in normal mode and xapian mode 2022-10-06 11:04:48 +08:00
epwing.hh fix: epwing reference process logic 2022-10-04 20:02:17 +08:00
epwing_book.cc fix: epwing dictionary headword correction 2022-10-05 20:00:23 +08:00
epwing_book.hh fix: epwing remove unused parameter 2022-10-05 16:33:59 +08: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 Fix compilation errors on Qt 4.5 2013-07-18 15:02:39 +02:00
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 opt: add xapian support 2022-10-06 01:39:59 +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: epwing dictionary headword correction 2022-10-05 20:00:23 +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 Update ftshelpers.cc 2022-10-09 12:18:26 +08:00
ftshelpers.hh opt: add xapian support 2022-10-06 01:39:59 +08:00
fulltextsearch.cc fix: crash on quit while fullindex is creating 2022-10-11 22:09:15 +08:00
fulltextsearch.hh fix: crash on quit while fullindex is creating 2022-10-11 22:09:15 +08:00
fulltextsearch.ui opt: add xapian support 2022-10-06 01:39:59 +08: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: function refract 2022-10-15 13:58:24 +08:00
globalbroadcaster.h opt: function refract 2022-10-15 13:58:24 +08:00
gls.cc xapian ,fullindex file name different in normal mode and xapian mode 2022-10-06 11:04:48 +08:00
gls.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
goldendict.pro fix: windeployqt bug 2022-10-22 14:53:14 +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 Add show all groups button to groups dialog 2014-03-03 17:47:06 +04:00
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 Some more TTS from Timon Wong 2013-04-24 20:01:44 +04:00
headwordsmodel.cpp opt: initialize variable in the constructor 2022-10-07 17:39:43 +08:00
headwordsmodel.h opt: headwords dialog filtering optimization 2022-10-02 19:53:54 +08:00
helpwindow.cc fix: help file can not be opened in Qt6 2022-09-20 20:06:27 +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 Refactor work with RTL languages in word search list and history list 2013-07-06 19:31:31 +04:00
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 Revert "fix:ctrl +c triggered unintentionally" 2022-09-11 09:36:39 +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 github:add macos homebrew based package github action 2022-09-06 00:29:01 +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 fix: word around to fix website return 404 with no response body 2022-09-16 07:55:35 +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 Ui-Tweak: auto-fitting dict name for initializing window 2013-05-22 21:09:43 +08:00
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 xapian remove obsolete ftx index 2022-10-07 17:08:10 +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 Mac-specific: Adjust code for MacOS 10.9 2013-12-26 18:13:10 +04:00
macmouseover.mm MacOS: One more fix for compilation under Mac OS 2016-06-23 20:25:00 +03:00
main.cc revert embed translation 2022-09-22 20:06:43 +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: new release check logic changed to this very repository. 2022-10-15 17:28:55 +08:00
mainwindow.hh Revert "opt: rewrite ctrl+C+C logic ,use clipboard not global hot key (#139)" 2022-09-11 09:36:52 +08:00
mainwindow.ui fix: wordlist panel background color regression 2022-09-04 10:47:29 +08:00
mdictparser.cc opt: refactor the homebrew macos action (#140) 2022-09-08 21:46:17 +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 opt: replace font-face's url in html 2022-10-11 20:57:04 +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 Customize info.plist to add key to use font auto-scaling in OS X. This should at least fix the blurry texts in Macs with retina display support (issue #264) 2013-08-25 21:56:32 -03:00
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 clean code:remove x11 scanpopup flag setting 2022-09-25 12:49:22 +08:00
preferences.hh clean code:remove x11 scanpopup flag setting 2022-09-25 12:49:22 +08:00
preferences.ui clean code:remove x11 scanpopup flag setting 2022-09-25 12:49: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 style: optimize the custom style sheet when enabled system dark mode 2022-08-31 22:12:05 +08: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-lingoes.css style: fix lingoes style 2022-08-21 22:02:42 +08:00
qt-style-st-lingvo.css style: fix lingoes style 2022-08-21 22:02:42 +08:00
qt-style-st-modern.css style: optimize the custom style sheet when enabled system dark mode 2022-08-31 22:12:05 +08:00
qt-style.css style: optimize the custom style sheet when enabled system dark mode 2022-08-31 22:12:05 +08:00
README.md Update README.md 2022-10-13 09:39:06 +08:00
resources.qrc opt: move jquery js from resources to scripts folder 2022-09-04 10:47:29 +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 Some more TTS from Timon Wong 2013-04-24 20:01:44 +04:00
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 [mac specific] popup dialog stay on top 2022-10-19 20:28:41 +08:00
scanpopup.hh opt:scanpopup inspect element action optimization 2022-09-08 21:11:43 +08:00
scanpopup.ui Update scanpopup.ui 2022-06-28 09:18:59 +08:00
scripts.qrc opt:iframe height auto resize 2022-09-04 19:03:27 +08:00
sdict.cc xapian ,fullindex file name different in normal mode and xapian mode 2022-10-06 11:04:48 +08:00
sdict.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
searchpanewidget.hh
slob.cc xapian ,fullindex file name different in normal mode and xapian mode 2022-10-06 11:04:48 +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 Win-specific: Add volume and rate tuning for TTS, fix some errors 2013-04-26 17:41:39 +04:00
speechclient_mac.mm Mac-specific: Implement text-to-speech feature under Mac OS X 2013-05-07 17:39:35 +04:00
speechclient_win.cc Win-specific: Add volume and rate tuning for TTS, fix some errors 2013-04-26 17:41:39 +04:00
speechhlp.cc Win-specific: Fix crash if TTS interface is not presented in system 2014-01-18 19:11:17 +04:00
speechhlp.hh Win-specific: Add volume and rate tuning for TTS, fix some errors 2013-04-26 17:41:39 +04:00
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 xapian ,fullindex file name different in normal mode and xapian mode 2022-10-06 11:04:48 +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 #212: Scratch, currently works under windows, for both Qt4 and Qt5 2013-05-30 21:24:21 +08:00
texttospeechsource.hh Win-specific: Add volume and rate tuning for TTS, fix some errors 2013-04-26 17:41:39 +04:00
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 Fix compilation failures with Visual C++ 2012 (issue #375) 2013-08-07 20:29:36 +02:00
ufile.hh Fix compilation failures with Visual C++ 2012 (issue #375) 2013-08-07 20:29:36 +02:00
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.cc opt: function refract 2022-10-15 13:58:24 +08:00
utils.hh opt: function refract 2022-10-15 13:58:24 +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 Revert "opt:website dictionary iframe remove mouseover event" 2022-09-22 20:04:01 +08:00
website.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
weburlrequestinterceptor.cpp opt: function refract 2022-10-15 13:58:24 +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 clean code:remove seemingly useless code 2022-09-21 23:52:12 +08:00
wordlist.hh clean code:remove seemingly useless code 2022-09-21 23:52:12 +08:00
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 xapian ,fullindex file name different in normal mode and xapian mode 2022-10-06 11:04:48 +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 xapian revert the needToRebuildBTreeIndex to needToRebuildIndex 2022-10-08 21:16:15 +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 libzstd-devel opencc-devel xz-devel xz-lzma-compat\
     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 qt5-qtbase qt5-qttools qt5-qtsvg-devl qt5-qtwebengine-devel qt5-qtmultimedia-devl
     
qmake-qt5 CONFIG+=release CONFIG+=no_extra_tiff_handler CONFIG+=no_epwing_support
make


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( DEPRECATED )

deprecated: qt has offered b/w tiff support which means this options should always enabled. intend to remove in the future.

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 with xapian

build xapian from source, download and extract the xapian-core source code.

./configure
make 
make install

On Windows,follow the instructions in the xapian-core/INSTALL Visual Studio parts.xapian does not support to use the Debug lib in Windows. have to debug in release version mode using xapian's release lib. A precompiled version of xapian lib has provided in winlibs

use CONFIG+=use_xapian to enable this feature. when enabled ,xapian will be used to support as the the fulltext's backend engine.

qmake "CONFIG+=use_xapian"

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.