The Next Generation GoldenDict https://xiaoyifang.github.io/goldendict-ng/
Go to file
shenleban tongying cd40bfa7d3 feat: remove LibTIFF dependency
* Qt already have built-in support for them
* remove qmake option no_extra_tiff_handler
2023-04-16 13:01:26 +08:00
.github feat: remove LibTIFF dependency 2023-04-16 13:01:26 +08:00
autotests iconv test case 2022-02-26 16:25:00 +08:00
base fix: findEndOfCloseDiv does not work as always 2023-04-16 11:46:26 +08:00
docs Update formats.html 2023-04-01 13:57:26 +08:00
flags cleanup: compress all svg files 2023-03-31 09:21:58 +08:00
help update help file 2022-08-27 20:31:12 +08:00
howto action:add texttospeech module 2023-03-29 23:16:01 +08:00
icons Add ankicard link and button 2023-04-06 09:06:57 +08:00
locale feat: session collapsable feature support 2023-04-16 00:23:51 +08:00
maclibs feat: remove LibTIFF dependency 2023-04-16 13:01:26 +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 feat: session collapsable feature support 2023-04-16 00:23:51 +08:00
src clean: remove code smell 2023-04-16 00:23:51 +08:00
thirdparty refactor: upgrade most of macro based Signal/Slot to new syntax 2022-12-25 21:08:17 -05:00
tools update CaseFolding.txt and generate inc_case_folding.hh 2023-04-10 22:40:57 +08:00
winlibs feat: remove LibTIFF dependency 2023-04-16 13:01:26 +08:00
.clang-format fix: remove the WriteBuffer from File::Class 2023-04-15 15:01:15 +08:00
.clang-tidy refactor: convert articleview into plain code 2023-03-18 11:00:06 +08: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 clean: replace the string with rawstring 2023-04-16 00:24:11 +08:00
aard.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
about.cc feat: remove LibTIFF dependency 2023-04-16 13:01:26 +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 ankicard link and button 2023-04-06 09:06:57 +08:00
ankiconnector.h Add ankicard link and button 2023-04-06 09:06:57 +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 Revert "fix: white flash when WebEngine page is loading in dark reader mode" 2023-03-20 13:42:39 +08:00
article-style-st-classic.css cleanup: Replace all usages of qrcx://localhost with qrc:// 2023-03-05 15:20:05 -05:00
article-style-st-lingoes-blue.css style: minor css changes 2023-04-09 19:41:41 +08:00
article-style-st-lingoes.css style:lingoes style dictionary name minor change 2023-04-09 18:58:08 +08:00
article-style-st-lingvo.css Revert "fix: white flash when WebEngine page is loading in dark reader mode" 2023-03-20 13:42:39 +08:00
article-style-st-modern.css style: minor css changes 2023-04-09 19:41:41 +08:00
article-style.css Add ankicard link and button 2023-04-06 09:06:57 +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 fix: findEndOfCloseDiv does not work as always 2023-04-16 11:46:26 +08:00
article_maker.hh feat: session collapsable feature support 2023-04-16 00:23:51 +08:00
article_netmgr.cc clean: remove code smell 2023-04-16 00:23:51 +08:00
article_netmgr.hh fix: rewrite atEnd function 2023-03-30 14:41:39 +08:00
articlewebpage.cpp feature:webengineprofile use non off record profile 2023-03-27 12:29:13 +08:00
articlewebpage.h remember last link's groupId and muted dictionary 2022-06-08 20:52:44 +08:00
articlewebview.cc feat: session collapsable feature support 2023-04-16 00:23:51 +08:00
articlewebview.hh feat: session collapsable feature support 2023-04-16 00:23:51 +08:00
atomic_rename.cc
atomic_rename.hh
audiolink.cc
audiolink.hh
audiooutput.cpp fix: add quit condition in AudioOutput 2023-02-07 23:09:55 +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 Add proxy authentication dialog 2014-04-03 18:21:02 +04:00
base_type.h fix: move Contexts to header file 2023-01-02 22:00:42 +08:00
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 clean: replace the string with rawstring 2023-04-16 00:24:11 +08:00
bgl.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
bgl_babylon.cc cleanup: remove all useless #include <QDebug> 2023-03-21 21:15:14 +08:00
bgl_babylon.hh clean: remove stdint_msvc.h 2022-02-26 14:01:34 +08:00
btreeidx.cc clang-tidy: apply modernize-use-override 2022-12-29 02:14:53 -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 clang-tidy: apply modernize-use-override 2022-12-29 02:14:53 -05: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 style:fix style warning 2022-12-01 20:52:20 +08:00
CMakeLists.txt fix: add __WIN32 to cmake definitions 2023-04-13 15:54:48 +08:00
conanfile.txt win specific: update ffmpeg dll lib 2022-02-02 16:17:53 +08:00
config.cc feat: session collapsable feature support 2023-04-16 00:23:51 +08:00
config.hh feat: session collapsable feature support 2023-04-16 00:23:51 +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 style:fix style warning 2022-12-01 20:52:20 +08:00
dictdfiles.cc refactor: remove FsEncoding::encode/decode 2023-04-14 07:27:59 +08:00
dictdfiles.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
dictgroupwidget.ui replace dict group's hotkeyedit with qKeySequenceEdit 2022-12-29 07:34:55 -05:00
dictheadwords.cc fix: headwords dialog export function 2022-12-31 14:01:48 +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 refactor: remove FsEncoding::encode/decode 2023-04-14 07:27:59 +08:00
dictinfo.hh Show all headwords for selected dictionary 2014-02-28 16:36:28 +04:00
dictinfo.ui feature:display dictionary description as html 2023-03-19 12:52:56 +08:00
dictionary.cc refactor: abstract FsEncoding::dirname(getDictionaryFilenames()[0]) 2023-04-14 12:53:53 +08:00
dictionary.hh refactor: abstract FsEncoding::dirname(getDictionaryFilenames()[0]) 2023-04-14 12:53:53 +08:00
dictionarybar.cc refactor: simplify MainWindow::showDictionaryHeadwords 2023-04-13 10:17:59 +08:00
dictionarybar.hh refactor: simplify MainWindow::showDictionaryHeadwords 2023-04-13 10:17:59 +08:00
dictserver.cc clang-tidy: apply modernize-use-override 2022-12-29 02:14:53 -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 Some more error handling 2014-04-24 22:50:47 +04:00
dsl.cc feat: remove LibTIFF dependency 2023-04-16 13:01:26 +08:00
dsl.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
dsl_details.cc DSL: Fix freezes on some incorrect dictionaries 2023-02-04 18:53:35 +03: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 refactor: simplify MainWindow::showDictionaryHeadwords 2023-04-13 10:17:59 +08:00
editdictionaries.ui Add help buttons to dialogs 2014-06-24 17:55:06 +04:00
epwing.cc refactor: remove FsEncoding::encode/decode 2023-04-14 07:27:59 +08:00
epwing.hh fix: epwing reference process logic 2022-10-04 20:02:17 +08:00
epwing_book.cc refactor: remove FsEncoding::encode/decode 2023-04-14 07:27:59 +08:00
epwing_book.hh epwing: ignore reference link processing when parse the dictionary 2023-03-22 23:17:05 +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
favoritespanewidget.cc fix:remove custom treeview class 2023-04-12 22:48:31 +08:00
favoritespanewidget.hh fix:remove custom treeview class 2023-04-12 22:48:31 +08:00
ffmpegaudio.cc cleanup: remove all useless #include <QDebug> 2023-03-21 21:15:14 +08: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 fix: remove the WriteBuffer from File::Class 2023-04-15 15:01:15 +08:00
file.hh fix: remove the WriteBuffer from File::Class 2023-04-15 15:01:15 +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 cleanup: Replace all usages of qrcx://localhost with qrc:// 2023-03-05 15:20:05 -05:00
forvo.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
fsencoding.cc refactor: abstract FsEncoding::dirname(getDictionaryFilenames()[0]) 2023-04-14 12:53:53 +08:00
fsencoding.hh refactor: abstract FsEncoding::dirname(getDictionaryFilenames()[0]) 2023-04-14 12:53:53 +08:00
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 cleanup: remove all useless #include <QDebug> 2023-03-21 21:15:14 +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 refactor: properly modularize articleview's ui 2023-03-18 11:00:06 +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 feat: session collapsable feature support 2023-04-16 00:23:51 +08:00
gls.cc refactor: abstract FsEncoding::dirname(getDictionaryFilenames()[0]) 2023-04-14 12:53:53 +08:00
gls.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
goldendict.pro feat: remove LibTIFF dependency 2023-04-16 13:01:26 +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 Add show all groups button to groups dialog 2014-03-03 17:47:06 +04:00
groups.ui
groups_widgets.cc refactor: remove FsEncoding::encode/decode 2023-04-14 07:27:59 +08:00
groups_widgets.hh refactor: port away from extlineedit 2023-03-06 09:46:32 +08:00
guids.c
headwordsmodel.cpp fix: filter headword return less than expected matched results. 2022-12-31 11:01:45 +08: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 Add help buttons to dialogs 2014-06-24 17:55:06 +04:00
history.cc cleanup: remove all useless #include <QDebug> 2023-03-21 21:15:14 +08:00
history.hh style:fix style warning 2022-12-01 20:52:20 +08:00
historypanewidget.cc cleanup: remove all useless #include <QDebug> 2023-03-21 21:15:14 +08:00
historypanewidget.hh Refactor work with RTL languages in word search list and history list 2013-07-06 19:31:31 +04:00
hotkeywrapper.cc fix: method definition in linux and macos 2022-12-30 10:46:44 +08:00
hotkeywrapper.hh fix: method definition in linux and macos 2022-12-30 10:46:44 +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: remove FsEncoding::encode/decode 2023-04-14 07:27:59 +08:00
hunspell.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
iconv.cc cleanup: remove all useless #include <QDebug> 2023-03-21 21:15:14 +08:00
iconv.hh feat:add iconv as an extra encoding converter 2023-02-01 23:33:46 +08:00
iframeschemehandler.cpp fix: iframe encoding error on certain website dictionaries 2023-04-03 17:49:34 +08:00
iframeschemehandler.h fix:add ifr local scheme 2022-05-15 22:54:26 +08:00
inc_case_folding.hh update CaseFolding.txt and generate inc_case_folding.hh 2023-04-10 22:40:57 +08:00
inc_diacritic_folding.hh
indexedzip.cc cleanup: remove all useless #include <QDebug> 2023-03-21 21:15:14 +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 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: remove FsEncoding::encode/decode 2023-04-14 07:27:59 +08:00
loaddictionaries.hh refactor: simplify and speedup dictionary loading via a helper function 2022-12-25 09:07:36 -05:00
lsa.cc refactor: remove FsEncoding::encode/decode 2023-04-14 07:27:59 +08:00
lsa.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
machotkeywrapper.mm fix: method definition in linux and macos 2022-12-30 10:46:44 +08: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 feat: reimplement command line with QCommandLineParser 2023-04-06 13:43:02 +08:00
mainstatusbar.cc fix:statusbar background 2023-03-22 23:17:05 +08:00
mainstatusbar.hh feature: refactor the mainstatusbar 2023-03-11 11:04:07 +08:00
maintabwidget.cc cleanup: remove all useless #include <QDebug> 2023-03-21 21:15:14 +08:00
maintabwidget.hh
mainwindow.cc refactor: abstract FsEncoding::dirname(getDictionaryFilenames()[0]) 2023-04-14 12:53:53 +08:00
mainwindow.hh refactor: simplify MainWindow::showDictionaryHeadwords 2023-04-13 10:17:59 +08:00
mainwindow.ui fix:remove custom treeview class 2023-04-12 22:48:31 +08:00
mdictparser.cc fix: some mdx dictionary's description can be be displayed if using html 2023-03-15 21:34:11 +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 clean: replace the string with rawstring 2023-04-16 00:24:11 +08:00
mdx.hh Revert "optimize: for loop optimize" 2022-04-13 23:29:36 +08:00
mediawiki.cc cleanup: Replace all usages of qrcx://localhost with qrc:// 2023-03-05 15:20:05 -05:00
mediawiki.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
mruqmenu.cc refactor: move MRU ctrl handling code from mainwindow.cc to mruqmenu.cc 2023-04-12 20:16:29 +08:00
mruqmenu.hh refactor: move MRU ctrl handling code from mainwindow.cc to mruqmenu.cc 2023-04-12 20:16:29 +08:00
multimediaaudioplayer.cc fix: repeat play the first played sound 2023-02-13 10:53:23 +08:00
multimediaaudioplayer.hh fix: repeat play the first played sound 2023-02-13 10:53:23 +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 refactor: remove FsEncoding::encode/decode 2023-04-14 07:27:59 +08:00
orderandprops.hh refactor: simplify MainWindow::showDictionaryHeadwords 2023-04-13 10:17:59 +08:00
orderandprops.ui fix:display dictionary info in the dictionary tab as html 2023-04-09 12:10:17 +08:00
parsecmdline.cc
parsecmdline.hh
preferences.cc feat: session collapsable feature support 2023-04-16 00:23:51 +08:00
preferences.hh Remove enableScanPopup: Complete. Remove from config file and ui file 2022-11-19 09:50:20 -05:00
preferences.ui feat: session collapsable feature support 2023-04-16 00:23:51 +08:00
processwrapper.cc performance: Prefer prefix ++/-- operators for non-primitive types. 2022-02-16 22:08:32 +08:00
processwrapper.hh
programs.cc give external programs access to translateLine via %GDSEARCH% (#417) 2023-03-24 19:52:38 +08:00
programs.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
README.md feat: remove LibTIFF dependency 2023-04-16 13:01:26 +08:00
resources.qrc Add ankicard link and button 2023-04-06 09:06:57 +08: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: convert scanflag.ui to plain code 2023-02-21 19:56:12 -05:00
scanflag.hh refactor: convert scanflag.ui to plain code 2023-02-21 19:56:12 -05:00
scanpopup.cc fix:code smell 2023-04-10 22:41:33 +08:00
scanpopup.hh cleanup: simplify DSL's expand mode 2023-03-21 15:34:55 +08: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: remove FsEncoding::encode/decode 2023-04-14 07:27:59 +08:00
sdict.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
searchpanewidget.hh
slob.cc clean: replace the string with rawstring 2023-04-16 00:24:11 +08: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: remove FsEncoding::encode/decode 2023-04-14 07:27:59 +08:00
sounddir.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
sources.cc use QTextToSpeech module to play tts. 2023-03-29 23:16:01 +08:00
sources.hh use QTextToSpeech module to play tts. 2023-03-29 23:16:01 +08:00
sources.ui use QTextToSpeech module to play tts. 2023-03-29 23:16:01 +08:00
speechclient.cc use QTextToSpeech module to play tts. 2023-03-29 23:16:01 +08:00
speechclient.hh use QTextToSpeech module to play tts. 2023-03-29 23:16:01 +08:00
splitfile.cc refactor: remove FsEncoding::encode/decode 2023-04-14 07:27:59 +08:00
splitfile.hh Add support for split zip files 2017-04-24 17:42:01 +03:00
sptr.hh Replace sptr with std::shared_ptr 2022-11-28 22:54:31 -05:00
stardict.cc clean: replace the string with rawstring 2023-04-16 00:24:11 +08:00
stardict.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
stylescombobox.cc
stylescombobox.hh
termination.cc feat: display exception name when unhandled exception got thrown 2023-04-10 14:10:57 +08:00
termination.hh Little refactoring for log messages to file 2018-05-22 17:37:21 +03:00
texttospeechsource.cc when add the tts engine,disable it in the availabe engine list 2023-03-29 23:16:01 +08:00
texttospeechsource.hh when add the tts engine,disable it in the availabe engine list 2023-03-29 23:16:01 +08:00
texttospeechsource.ui use QTextToSpeech module to play tts. 2023-03-29 23:16:01 +08:00
tiff.cc feat: remove LibTIFF dependency 2023-04-16 13:01:26 +08:00
tiff.hh feat: remove LibTIFF dependency 2023-04-16 13:01:26 +08:00
translatebox.cc cleanup: remove all useless #include <QDebug> 2023-03-21 21:15:14 +08:00
translatebox.hh refactor: port away from extlineedit 2023-03-06 09:46:32 +08:00
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
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 clean: replace the string with rawstring 2023-04-16 00:24:11 +08:00
utils.hh clean: replace the string with rawstring 2023-04-16 00:24:11 +08:00
version.txt.in Add alternative build method "CMakeLists.txt" (#218) 2022-11-26 11:23:08 +08:00
voiceengines.cc use QTextToSpeech module to play tts. 2023-03-29 23:16:01 +08: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 Media downloader: Fix case with redirect response 2017-03-13 17:40:19 +03:00
website.cc clean: replace the string with rawstring 2023-04-16 00:24:11 +08:00
website.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
weburlrequestinterceptor.cpp set Origin header 2023-04-01 09:15:07 +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 remove qt-style.css content totally (#407) 2023-03-22 09:01:22 +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 clean: replace the string with rawstring 2023-04-16 00:24:11 +08:00
xdxf.hh XDXF: Add support for draft revision 034 (issue #1600) 2023-01-24 20:07:15 +08:00
xdxf2html.cc refactor: abstract FsEncoding::dirname(getDictionaryFilenames()[0]) 2023-04-14 12:53:53 +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 clean: replace the string with rawstring 2023-04-16 00:24:11 +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 refactor: remove FsEncoding::encode/decode 2023-04-14 07:27:59 +08: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.

Some significant features of this repository

  • webengine with latest html/css feature support
  • support >4GB dictionary
  • support highdpi screen resolution
  • built with xapian(optional) as fulltext engine
  • support Qt5.15.2 and higher ,include latest Qt6
  • performance optimization(eg. >10000000 headwords support)
  • anki integration
  • dark theme
  • daily auto release support
  • lots of bug fixes and improvements

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 libeb16-dev \
        libqt5svg5-dev libqt5x11extras5-dev qttools5-dev \
        qttools5-dev-tools qtmultimedia5-dev libqt5multimedia5-plugins libqt5webchannel5-dev qtwebengine5-dev \
        libqt5texttospeech5-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 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 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"

use CONFIG+=use_iconv to enable this feature. when enabled ,iconv will be used to convert encoding other than the QTextCodec(which will be deprecated in future Qt version)

qmake "CONFIG+=use_iconv"

when enabled ,iconv should be installed on the platform at the same time.

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.

the code guideline

check the document how to use clang-format

Online document

document

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.