The Next Generation GoldenDict https://xiaoyifang.github.io/goldendict-ng/
Go to file
2022-12-26 12:29:30 -05:00
.github action: sonarcloud 2022-12-26 17:10:39 +08:00
autotests iconv test case 2022-02-26 16:25:00 +08:00
base refactor: replace escaped strings with raw strings via clang-tidy 2022-12-24 17:01:50 -05: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 Add alternative build method "CMakeLists.txt" (#218) 2022-11-26 11:23:08 +08:00
icons Add Lingua Libre support (#268) 2022-12-24 22:42:40 +08:00
locale add some missing zh_CN translation 2022-12-17 09:31:49 +08:00
maclibs [mac] add ffmpeg build script 2022-11-19 20:14:45 +08:00
opencc winlib: update opencc to 2020-04-26 2022-02-11 21:54:14 +08:00
redist Implement "goldendict://nice" url scheme handler for windows and linux (#227) 2022-11-28 09:24:49 +08:00
scripts fix: darkmode extended to html webpage 2022-12-24 09:00:25 +08:00
src/dict Add Lingua Libre support (#268) 2022-12-24 22:42:40 +08:00
thirdparty refactor: upgrade most of macro based Signal/Slot to new syntax 2022-12-25 21:08:17 -05:00
tools tools: nsis script update 2022-05-12 23:49:57 +08:00
winlibs remove mac and windows dependency of libao 2022-11-12 09:34:09 +08:00
.clang-format add new clang format style 2022-10-28 10:51:18 +08:00
.clang-tidy clang-tidy: remove some checks 2022-12-25 09:03:35 -05:00
.gitignore perfect_dark: add toggle option to enable Dark Reader mode 2022-12-26 12:29:30 -05:00
.gitmodules sonar:fix linux build 2022-12-14 15:58:08 +08:00
aard.cc refactor: replace escaped strings with raw strings via clang-tidy 2022-12-24 17:01:50 -05:00
aard.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
about.cc fix: about dialog in dark mode. 2022-12-26 23:34:53 +08:00
about.hh About copy version info: fix styles 2022-11-19 05:17:34 -05:00
about.ui Add "copy info" buttons to about dialog 2022-11-17 05:14:18 -05: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 Set article background to white while printing 2022-11-16 18:51:01 +03:00
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 fix: qt warning when parsing unknown color attribute 2022-12-11 12:44:30 +08:00
article-style-st-lingoes-blue.css fix:rtl display in Arabic/Persian language 2022-10-27 21:30:06 +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 fix:rtl display in Arabic/Persian language 2022-10-27 21:30:06 +08:00
article-style.css fix: qt warning when parsing unknown color attribute 2022-12-11 12:44:30 +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 perfect_dark: add toggle option to enable Dark Reader mode 2022-12-26 12:29:30 -05:00
article_maker.hh fix: collapse function does not work expectedly. 2022-04-21 23:14:19 +08:00
article_netmgr.cc refactor: upgrade most of macro based Signal/Slot to new syntax 2022-12-25 21:08:17 -05:00
article_netmgr.hh fix: memory leaks found by clang LeakSanitizer 2022-12-21 20:08:41 -05:00
articleview.cc refactor: upgrade most of macro based Signal/Slot to new syntax 2022-12-25 21:08:17 -05:00
articleview.hh fix: when history forward/back ,the founded dictionary does not change 2022-11-04 21:23:42 +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
audiooutput.cpp ffmpeg convert the the audio to raw format 2022-11-15 21:14:34 +08:00
audiooutput.h feature: remove libao dependency and use QAudioSink(QAudioOutput) to play the pcm audio format 2022-11-12 09:34:09 +08:00
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 Replace sptr with std::shared_ptr 2022-11-28 22:54:31 -05:00
belarusiantranslit.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
bgl.cc refactor: replace escaped strings with raw strings via clang-tidy 2022-12-24 17:01:50 -05: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 Replace sptr with std::shared_ptr 2022-11-28 22:54:31 -05: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 Replace sptr with std::shared_ptr 2022-11-28 22:54:31 -05:00
chinese.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
chineseconversion.cc
chineseconversion.hh
chineseconversion.ui
chunkedstorage.cc use qmutex instead of mutex(qmutexrecursive) 2022-06-18 09:09:49 +08:00
chunkedstorage.hh style:fix style warning 2022-12-01 20:52:20 +08:00
CMakeLists.txt Add Lingua Libre support (#268) 2022-12-24 22:42:40 +08:00
conanfile.txt win specific: update ffmpeg dll lib 2022-02-02 16:17:53 +08:00
config.cc perfect_dark: add toggle option to enable Dark Reader mode 2022-12-26 12:29:30 -05:00
config.hh perfect_dark: add toggle option to enable Dark Reader mode 2022-12-26 12:29:30 -05: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 style:fix style warning 2022-12-01 20:52:20 +08:00
dictdfiles.cc refactor: replace escaped strings with raw strings via clang-tidy 2022-12-24 17:01:50 -05: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 refactor: upgrade most of macro based Signal/Slot to new syntax 2022-12-25 21:08:17 -05: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 refactor: upgrade most of macro based Signal/Slot to new syntax 2022-12-25 21:08:17 -05:00
dictinfo.hh
dictinfo.ui fix: when in darkmode ,dictionary info panel background text is unclear 2022-12-16 21:00:02 +08:00
dictionary.cc refactor: replace escaped strings with raw strings via clang-tidy 2022-12-24 17:01:50 -05:00
dictionary.hh xapian revert the needToRebuildBTreeIndex to needToRebuildIndex 2022-10-08 21:16:15 +08:00
dictionarybar.cc refactor: upgrade most of macro based Signal/Slot to new syntax 2022-12-25 21:08:17 -05:00
dictionarybar.hh [clean] remove code in dictionarybar eventfilter 2022-11-01 20:21:30 +08:00
dictserver.cc refactor: replace escaped strings with raw strings via clang-tidy 2022-12-24 17:01:50 -05:00
dictserver.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
dictspanewidget.hh
dictzip.c fixed issue #246, security warning. 2022-12-07 09:16:20 +08:00
dictzip.h
dsl.cc refactor: replace escaped strings with raw strings via clang-tidy 2022-12-24 17:01:50 -05:00
dsl.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
dsl_details.cc refactor: replace escaped strings with raw strings via clang-tidy 2022-12-24 17:01:50 -05:00
dsl_details.hh style:fix style warning 2022-12-01 20:52:20 +08:00
editdictionaries.cc refactor: upgrade most of macro based Signal/Slot to new syntax 2022-12-25 21:08:17 -05:00
editdictionaries.hh opt:remove dictMap parameter 2022-07-10 17:11:13 +08:00
editdictionaries.ui
epwing.cc Replace sptr with std::shared_ptr 2022-11-28 22:54:31 -05:00
epwing.hh fix: epwing reference process logic 2022-10-04 20:02:17 +08:00
epwing_book.cc refactor: replace escaped strings with raw strings via clang-tidy 2022-12-24 17:01:50 -05: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 style:fix style warning 2022-12-01 20:52:20 +08:00
externalaudioplayer.cc refactor: upgrade most of macro based Signal/Slot to new syntax 2022-12-25 21:08:17 -05:00
externalaudioplayer.hh Run a single external audio player process at a time 2018-03-24 21:34:06 +02:00
externalviewer.cc refactor: upgrade most of macro based Signal/Slot to new syntax 2022-12-25 21:08:17 -05:00
externalviewer.hh clean:remove empty file ,cpp_features.hh 2022-02-26 13:56:50 +08:00
extlineedit.cc refactor: upgrade most of macro based Signal/Slot to new syntax 2022-12-25 21:08:17 -05:00
extlineedit.hh
favoritespanewidget.cc refactor: upgrade most of macro based Signal/Slot to new syntax 2022-12-25 21:08:17 -05:00
favoritespanewidget.hh style:fix style warning 2022-12-01 20:52:20 +08:00
ffmpegaudio.cc refactor: upgrade most of macro based Signal/Slot to new syntax 2022-12-25 21:08:17 -05:00
ffmpegaudio.hh Add QMediaPlayer internal player back end (Qt5 only) 2018-03-30 17:10:33 +03:00
ffmpegaudioplayer.hh refactor: upgrade most of macro based Signal/Slot to new syntax 2022-12-25 21:08:17 -05: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 refactor: replace escaped strings with raw strings via clang-tidy 2022-12-24 17:01:50 -05:00
folding.hh Fix typos found by codespell 2018-07-07 17:33:15 +08:00
forvo.cc refactor: upgrade most of macro based Signal/Slot to new syntax 2022-12-25 21:08:17 -05: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 Replace sptr with std::shared_ptr 2022-11-28 22:54:31 -05:00
ftshelpers.hh opt: add xapian support 2022-10-06 01:39:59 +08:00
fulltextsearch.cc refactor: upgrade most of macro based Signal/Slot to new syntax 2022-12-25 21:08:17 -05:00
fulltextsearch.hh fix: revert QTimer change 2022-12-21 23:44:34 -05: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 Allow silencing failed-loading-resource warnings 2022-11-25 22:48:38 +03:00
gddebug.hh Prevent using temporary codec-for-locale UTF8 replacement 2022-11-25 22:48:38 +03:00
german.cc Replace sptr with std::shared_ptr 2022-11-28 22:54:31 -05: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 fix : add default groupid to the globalinstance 2022-11-24 20:34:21 +08:00
gls.cc refactor: replace escaped strings with raw strings via clang-tidy 2022-12-24 17:01:50 -05:00
gls.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
goldendict.pro Add Lingua Libre support (#268) 2022-12-24 22:42:40 +08:00
greektranslit.cc Replace sptr with std::shared_ptr 2022-11-28 22:54:31 -05:00
greektranslit.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
groupcombobox.cc refactor: upgrade most of macro based Signal/Slot to new syntax 2022-12-25 21:08:17 -05:00
groupcombobox.hh Allow dictionaries groups combobox standard hotkeys from FTS and Headwords dialogs 2019-07-09 18:00:23 +03:00
groups.cc refactor: upgrade most of macro based Signal/Slot to new syntax 2022-12-25 21:08:17 -05:00
groups.hh
groups.ui
groups_widgets.cc refactor: upgrade most of macro based Signal/Slot to new syntax 2022-12-25 21:08:17 -05:00
groups_widgets.hh Update groups_widgets.hh 2018-04-11 00:04:12 +07:00
guids.c
headwordsmodel.cpp refactor: upgrade most of macro based Signal/Slot to new syntax 2022-12-25 21:08:17 -05:00
headwordsmodel.h opt: headwords dialog filtering optimization 2022-10-02 19:53:54 +08:00
helpwindow.cc refactor: upgrade most of macro based Signal/Slot to new syntax 2022-12-25 21:08:17 -05:00
helpwindow.hh
history.cc
history.hh style:fix style warning 2022-12-01 20:52:20 +08:00
historypanewidget.cc refactor: upgrade most of macro based Signal/Slot to new syntax 2022-12-25 21:08:17 -05:00
historypanewidget.hh
hotkeyedit.cc improve: replace all the deprecated method before 5.15 2022-01-08 22:08:23 +08:00
hotkeyedit.hh
hotkeywrapper.cc refactor: upgrade most of macro based Signal/Slot to new syntax 2022-12-25 21:08:17 -05:00
hotkeywrapper.hh fix:remove x11extra private 2022-05-29 16:00:28 +08:00
htmlescape.cc refactor: replace escaped strings with raw strings via clang-tidy 2022-12-24 17:01:50 -05:00
htmlescape.hh html unescape 2022-06-08 21:13:07 +08:00
hunspell.cc refactor: replace escaped strings with raw strings via clang-tidy 2022-12-24 17:01:50 -05: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 opt: add codecs detection in the website dictionary 2022-12-18 21:30: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:remove meaningless log 2022-12-01 19:41:56 +08:00
indexedzip.hh
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 Put conditions on the ClipboardChange for X11 2022-11-19 13:48:26 -05:00
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
loaddictionaries.cc refactor: upgrade most of macro based Signal/Slot to new syntax 2022-12-25 21:08:17 -05:00
loaddictionaries.hh refactor: simplify and speedup dictionary loading via a helper function 2022-12-25 09:07:36 -05:00
lsa.cc refactor: replace escaped strings with raw strings via clang-tidy 2022-12-24 17:01:50 -05: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
main.cc refactor: upgrade most of macro based Signal/Slot to new syntax 2022-12-25 21:08:17 -05:00
mainstatusbar.cc refactor: upgrade most of macro based Signal/Slot to new syntax 2022-12-25 21:08:17 -05:00
mainstatusbar.hh
maintabwidget.cc improve: replace all the deprecated method before 5.15 2022-01-08 22:08:23 +08:00
maintabwidget.hh
mainwindow.cc perfect_dark: add toggle option to enable Dark Reader mode 2022-12-26 12:29:30 -05:00
mainwindow.hh perfect_dark: add toggle option to enable Dark Reader mode 2022-12-26 12:29:30 -05: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 refactor: replace escaped strings with raw strings via clang-tidy 2022-12-24 17:01:50 -05:00
mdx.hh Revert "optimize: for loop optimize" 2022-04-13 23:29:36 +08:00
mediawiki.cc refactor: replace escaped strings with raw strings via clang-tidy 2022-12-24 17:01:50 -05: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 refactor: upgrade most of macro based Signal/Slot to new syntax 2022-12-25 21:08:17 -05:00
orderandprops.hh opt:remove dictMap parameter 2022-07-10 17:11:13 +08:00
orderandprops.ui fix: when in darkmode ,dictionary info panel background text is unclear 2022-12-16 21:00:02 +08:00
parsecmdline.cc
parsecmdline.hh
preferences.cc perfect_dark: add toggle option to enable Dark Reader mode 2022-12-26 12:29:30 -05:00
preferences.hh Remove enableScanPopup: Complete. Remove from config file and ui file 2022-11-19 09:50:20 -05:00
preferences.ui perfect_dark: add toggle option to enable Dark Reader mode 2022-12-26 12:29:30 -05:00
processwrapper.cc performance: Prefer prefix ++/-- operators for non-primitive types. 2022-02-16 22:08:32 +08:00
processwrapper.hh
programs.cc refactor: upgrade most of macro based Signal/Slot to new syntax 2022-12-25 21:08:17 -05:00
programs.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
qt-style-macos.css Perfect dark: remove explict Qt widget coloring 2022-12-25 01:53:53 -05:00
qt-style-win.css Perfect dark: remove explict Qt widget coloring 2022-12-25 01:53:53 -05:00
qt-style.css Perfect dark: remove explict Qt widget coloring 2022-12-25 01:53:53 -05:00
README.md README.md: Add package info in Debian/Ubuntu repos 2022-12-21 22:32:37 -05:00
resources.qrc Perfect dark: remove explict Qt widget coloring 2022-12-25 01:53:53 -05:00
resourceschemehandler.cpp fix: memory leaks found by clang LeakSanitizer 2022-12-21 20:08:41 -05:00
resourceschemehandler.h fix: memory leaks found by clang LeakSanitizer 2022-12-21 20:08:41 -05: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 Replace sptr with std::shared_ptr 2022-11-28 22:54:31 -05:00
romaji.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
russiantranslit.cc Replace sptr with std::shared_ptr 2022-11-28 22:54:31 -05:00
russiantranslit.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
sapi.hh
scanflag.cc refactor & simplify ScanFlag: 2022-11-20 01:19:27 -05:00
scanflag.hh refactor & simplify ScanFlag: 2022-11-20 01:19:27 -05:00
scanflag.ui
scanpopup.cc refactor: upgrade most of macro based Signal/Slot to new syntax 2022-12-25 21:08:17 -05:00
scanpopup.hh Remove ScanPopup Alt mode ("Keys may also be pressed afterwards"). 2022-11-20 04:12:58 -05:00
scanpopup.ui Update scanpopup.ui 2022-06-28 09:18:59 +08:00
scripts.qrc fix: darkmode extended to html webpage 2022-12-24 09:00:25 +08:00
sdict.cc refactor: replace escaped strings with raw strings via clang-tidy 2022-12-24 17:01:50 -05:00
sdict.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
searchpanewidget.hh
slob.cc refactor: replace escaped strings with raw strings via clang-tidy 2022-12-24 17:01:50 -05:00
slob.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
sonar-project.properties Revert "Update sonar-project.properties" 2022-12-25 18:40:03 +08:00
sounddir.cc refactor: replace escaped strings with raw strings via clang-tidy 2022-12-24 17:01:50 -05:00
sounddir.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
sources.cc Add Lingua Libre support (#268) 2022-12-24 22:42:40 +08:00
sources.hh Add Lingua Libre support (#268) 2022-12-24 22:42:40 +08:00
sources.ui fix: default source tabs 2022-12-26 21:10:39 +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
sptr.hh Replace sptr with std::shared_ptr 2022-11-28 22:54:31 -05:00
stardict.cc refactor: replace escaped strings with raw strings via clang-tidy 2022-12-24 17:01:50 -05: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 refactor: upgrade most of macro based Signal/Slot to new syntax 2022-12-25 21:08:17 -05:00
translatebox.hh
transliteration.cc Replace sptr with std::shared_ptr 2022-11-28 22:54:31 -05: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.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
version.txt.in Add alternative build method "CMakeLists.txt" (#218) 2022-11-26 11:23:08 +08:00
voiceengines.cc refactor: replace escaped strings with raw strings via clang-tidy 2022-12-24 17:01:50 -05:00
voiceengines.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
webmultimediadownload.cc refactor: upgrade most of macro based Signal/Slot to new syntax 2022-12-25 21:08:17 -05:00
webmultimediadownload.hh
website.cc refactor: replace escaped strings with raw strings via clang-tidy 2022-12-24 17:01:50 -05: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 fix: memory leaks found by clang LeakSanitizer 2022-12-21 20:08:41 -05: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 refactor: upgrade most of macro based Signal/Slot to new syntax 2022-12-25 21:08:17 -05:00
wordfinder.hh Fix typos found by codespell 2018-07-07 17:33:15 +08:00
wordlist.cc refactor: upgrade most of macro based Signal/Slot to new syntax 2022-12-25 21:08:17 -05: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 Replace sptr with std::shared_ptr 2022-11-28 22:54:31 -05: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
zim.cc refactor: replace escaped strings with raw strings via clang-tidy 2022-12-24 17:01:50 -05: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
zipsounds.cc refactor: replace escaped strings with raw strings via clang-tidy 2022-12-24 17:01:50 -05:00
zipsounds.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00

Codacy Badge Windows Ubuntu macos

GoldenDict

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.

Installation

Windows and macOS

Download latest stable version or daily pre-release builds.

.exe for Windows users and .dmg for macOS users.

Linux

The download links above includes .Appimage for Linux users.

Archlinux users can also use community maintained goldendict-webengine-git.

Debian packages are available in Debian 12 or later.

Ubuntu packages are available in Ubuntu 23.04 or later.

openSUSE ships an old version of this fork.

Helps are needed to deliver this fork to other distros!

Build from source

Dependencies

  • C++17 compiler
  • Qt 5.15 or latest QT version 6.X
  • Various libraries on Linux, see below
  • On Mac and Windows all the libraries are included in the repository
  • Qt Creator is recommended for development

Steps below are using qt5, and you may use qt6 by replacing 5 with 6.

Ubuntu

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 \
        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 \
     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-devel

Build steps

Clone this repository:

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

Linux build

cd goldendict && qmake-qt5 && make

macOS build

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 build

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

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

Build Configurations

Notice: All additional configs for qmake that must be combined in one of pass config options to qmake:

qmake-qt5 "CONFIG+=release" "CONFIG+=zim_support" "CONFIG+=chinese_conversion_support"

To ensure the changes applied, you may want to use make clean before make.

Building with Chinese conversion support

To add Chinese conversion support you need at first install libopencc-dev package, then pass "CONFIG+=chinese_conversion_support" to qmake.

sudo apt-get install libopencc-dev

Building with Zim dictionaries support

To add Zim and Slob formats support you need at first install lzma-dev and zstd-dev packages, then pass "CONFIG+=zim_support" to qmake

sudo apt-get install liblzma-dev libzstd-dev

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):

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

Building without internal audio players

If you have problem building with FFmpeg (for example, very old linux distro), you can pass "CONFIG+=no_ffmpeg_player" to qmake in order to disable FFmpeg internal audio player back end.

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.

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"

Contributing

All kinds of help like answering questions, bug reporting, testing translation and coding are welcomed.

To start coding, the easiest way is load the goldendict.pro file to Qt Creator, make some changes then press the run button.

Support

Bug reporting: GoldenDict issue tracker

General discussions: discussions

License

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

History

The original project was developed at http://goldendict.org/ and https://github.com/goldendict/goldendict.