The Next Generation GoldenDict https://xiaoyifang.github.io/goldendict-ng/
Go to file
2022-04-27 22:40:20 +08:00
.github github: add workflow PR check 2022-04-25 20:27:11 +08:00
autotests iconv test case 2022-02-26 16:25:00 +08:00
docs Update index.md 2022-02-08 11:54:08 +08:00
flags ui: update icon 2022-03-27 18:12:33 +08:00
help Update help system 2020-11-19 18:33:35 +03:00
howto add howto about github action's qt versions 2022-04-17 16:48:43 +08:00
icons libpng warning fix 2022-04-27 22:40:20 +08:00
locale optimize:add zh_CN translation to ignorePunctuation 2022-04-23 17:43:13 +08:00
maclibs make all macOS dependencies universal in maclibs/ 2022-04-22 01:00:48 +08:00
opencc winlib: update opencc to 2020-04-26 2022-02-11 21:54:14 +08:00
redist Add a concrete Comment into the desktop entry 2021-02-27 20:04:28 +08:00
resources optimize: invalid link should not pass to qt backend 2022-04-21 23:14:20 +08:00
thirdparty clean code:remove qt<5 code 2022-04-08 22:18:03 +08:00
tools optimize:file structure rearrange 2022-02-17 22:42:28 +08:00
winlibs clean code:remove useless header file 2022-03-24 20:14:23 +08:00
.clang-format format:update clang format file 2022-02-14 09:36:08 +08:00
.gitignore .gitignore add .qtc_clangd excluded folder 2022-04-10 09:36:03 +08:00
.travis.yml Add libswresample-dev to travis.yml 2020-07-18 22:00:30 +03:00
aard.cc Revert "improve:handle invalid tag soup improvement, related to old issue #271" 2022-04-10 20:07:00 +08:00
aard.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
about.cc clean code: 2021-12-29 22:29:06 +08:00
about.hh Fix compilation failures with Visual C++ 2012 (issue #375) 2013-08-07 20:29:36 +02:00
about.ui Fixed #183: Provide a higher resolution main GoldenDict icon 2013-07-19 19:07:32 +02:00
article-style-print.css Drop the src/ directory. It's superfluous. 2010-05-15 16:42:18 +04:00
article-style-st-babylon.css Fix typos found by codespell 2017-09-16 21:18:42 +08:00
article-style-st-lingoes-blue.css style:fix css warning Fixes#21 2022-02-17 20:10:39 +08:00
article-style-st-lingoes.css Adjust fonts for some styles: Modern, Lingoes, Lingoes-Blue 2013-07-26 18:00:48 +02:00
article-style-st-lingvo.css DSL: Add default color (black) for [com] tag in Lingvo style, fix colors for [*][ex] combination 2013-11-09 21:18:55 +04:00
article-style-st-modern.css imp. : add gddicticon img style ,restrict images can not be too large. 2022-01-27 20:23:42 +08:00
article-style.css update wiki audio link 2022-03-24 22:28:01 +08:00
article_inspect.cpp qt6.2 qt5.15 compatibility 2022-03-26 21:31:04 +08:00
article_inspect.h F12 and right context menu inspect element 2022-03-26 10:44:23 +08:00
article_maker.cc fix: collapse function does not work expectedly. 2022-04-21 23:14:19 +08:00
article_maker.hh fix: collapse function does not work expectedly. 2022-04-21 23:14:19 +08:00
article_netmgr.cc optimize log message with block request. 2022-04-20 00:40:41 +08:00
article_netmgr.hh refactor code,use default parameter 2022-01-10 20:17:22 +08:00
articleview.cc Merge pull request #57 from xiaoyifang/opt/blank-page 2022-04-26 20:38:56 +08:00
articleview.hh fix code review indent issue 2022-03-30 23:08:24 +08:00
articleview.ui high dpi:change icon reference in code from png to svg. 2022-01-24 22:23:38 +08:00
articlewebview.cc clean code: remove useless method 2022-03-18 22:22:48 +08:00
articlewebview.hh clean code: remove useless method 2022-03-18 22:22:48 +08:00
atomic_rename.cc Update year in copyright notices. 2012-02-21 01:47:14 +04:00
atomic_rename.hh Update year in copyright notices. 2012-02-21 01:47:14 +04:00
audiolink.cc Fix regression from d5c236f183: should take first audio link from each article 2013-05-31 11:46:51 +08:00
audiolink.hh Update year in copyright notices. 2012-02-21 01:47:14 +04: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
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 Revert "improve:handle invalid tag soup improvement, related to old issue #271" 2022-04-10 20:07:00 +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
broken_xrecord.cc upgrade to 6.2,linux compile 2022-03-11 22:14:40 +08:00
broken_xrecord.hh Update year in copyright notices. 2012-02-21 01:47:14 +04:00
btreeidx.cc feature:add ignore punctuaion option 2022-04-23 16:15:23 +08:00
btreeidx.hh clean: remove stdint_msvc.h 2022-02-26 14:01:34 +08:00
CHANGES.md update changes 2022-04-03 20:34:37 +08:00
chinese.cc opencc invalid characters ,when used in VS ,with SimpleConverter 2022-02-11 21:54:15 +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 Win-specific: Tune code for compilation with MS Visual Studio 2016-04-09 00:21:55 +03:00
chunkedstorage.hh clean: remove stdint_msvc.h 2022-02-26 14:01:34 +08:00
conanfile.txt win specific: update ffmpeg dll lib 2022-02-02 16:17:53 +08:00
config.cc feature:add ignore punctuaion option 2022-04-23 16:15:23 +08:00
config.hh feature:add ignore punctuaion option 2022-04-23 16:15:23 +08:00
country.cc Update year in copyright notices. 2012-02-21 01:47:14 +04:00
country.hh Support for Forvo online pronunciations added. 2010-06-13 00:16:35 +04:00
CREDITS.txt add Lojban translations 2020-02-23 14:00:32 -05:00
decompress.cc Add Zstd compression support for ZIM format 2020-05-27 14:13:08 +03:00
decompress.hh Add Zstd compression support for ZIM format 2020-05-27 14:13:08 +03:00
delegate.cc upgrade to qt6.2 2022-03-11 22:00:45 +08:00
delegate.hh Refactor work with RTL languages in word search list and history list 2013-07-06 19:31:31 +04:00
dictdfiles.cc upgrade to qt6.2 2022-03-11 22:00:45 +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 fix:head lazy load 2022-04-17 21:05:57 +08:00
dictheadwords.hh add lazy loading to headwords dialog 2022-04-17 21:05:57 +08:00
dictheadwords.ui fix:head lazy load 2022-04-17 21:05:57 +08:00
dictinfo.cc Show dictionary icon in the dictionary information and dictionary headwords dialogs 2014-11-14 19:54:13 +03:00
dictinfo.hh Show all headwords for selected dictionary 2014-02-28 16:36:28 +04:00
dictinfo.ui Show all headwords for selected dictionary 2014-02-28 16:36:28 +04:00
dictionary.cc fix:if the applciation has a very large icon ,the application will crash 2022-04-17 20:37:36 +08:00
dictionary.hh replace dictionary vector with QMap 2022-03-14 08:22:31 +08:00
dictionarybar.cc fix merge conflict with feature/deprecated 2022-02-03 17:50:47 +08:00
dictionarybar.hh Call dictionary headwords dialog via context menu of dictionaries bar and dictionaries list 2014-03-01 17:11:14 +04:00
dictserver.cc upgrade to qt6.2 2022-03-11 22:00:45 +08:00
dictserver.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
dictspanewidget.hh History Pane rewrite. 2013-01-17 10:08:53 +01:00
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 fix:QSemphaore changes 2022-04-10 09:33:55 +08:00
dsl.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
dsl_details.cc upgrade to qt6.2 2022-03-11 22:00:45 +08:00
dsl_details.hh upgrade to 6.2,linux compile 2022-03-11 22:14:40 +08:00
editdictionaries.cc fix:edit dictionary 2022-03-22 20:33:46 +08:00
editdictionaries.hh dictionary group ,id match performance improve . 2022-03-14 00:17:34 +08:00
editdictionaries.ui Add help buttons to dialogs 2014-06-24 17:55:06 +04:00
epwing.cc Merge branch 'feature/cpp-refactor-code' into staged 2022-02-03 17:51:40 +08:00
epwing.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
epwing_book.cc upgrade to qt6.2 2022-03-11 22:00:45 +08:00
epwing_book.hh upgrade to 6.2,linux compile 2022-03-11 22:14:40 +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 Update year in copyright notices. 2012-02-21 01:47:14 +04: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 Merge pull request #23 from MikeWalrus/master 2022-02-20 15:09:11 +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 Merge branch 'feature/cpp-refactor-code' into staged 2022-02-03 17:51:40 +08:00
file.hh clean:remove empty file ,cpp_features.hh 2022-02-26 13:56:50 +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 Deal with X11 headers mess that causes compilation errors 2011-06-09 09:29:21 +02:00
flags.qrc high dpi:change icon reference in code from png to svg. 2022-01-24 22:23:38 +08:00
folding.cc fix:dsl dictionary parse. 2022-03-03 00:26:21 +08:00
folding.hh Fix typos found by codespell 2018-07-07 17:33:15 +08:00
forvo.cc clean code:remove unnecessary typedef 2022-04-05 20:53:25 +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 Update year in copyright notices. 2012-02-21 01:47:14 +04:00
ftshelpers.cc upgrade to qt6.2 2022-03-11 22:00:45 +08:00
ftshelpers.hh upgrade to 6.2,linux compile 2022-03-11 22:14:40 +08:00
fulltextsearch.cc improve:Win Specific, replace deprecated method 2022-01-08 22:26:21 +08:00
fulltextsearch.hh upgrade to 6.2,linux compile 2022-03-11 22:14:40 +08:00
fulltextsearch.ui Full-text search: Allow ignore diacritics while search 2018-04-10 17:49:52 +03:00
gdappstyle.cc clean code:remove QT_VERSION check 2021-12-16 19:59:00 +08:00
gdappstyle.hh clean code:remove QT_VERSION check 2021-12-16 19:59:00 +08:00
gddebug.cc gddebug minor changes 2022-04-03 09:45:09 +08:00
gddebug.hh Fix some more warnings (issue #978 again) 2018-05-22 17:48:14 +03: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 feature:add ignore punctuaion option 2022-04-23 16:15:23 +08:00
globalbroadcaster.h feature:add ignore punctuaion option 2022-04-23 16:15:23 +08:00
gls.cc optimize: tiff method refactor 2022-04-05 21:36:06 +08:00
gls.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
goldendict.pro github:alpha version bump to 22.4.24 2022-04-23 22:33:04 +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 dictionary group ,id match performance improve . 2022-03-14 00:17:34 +08:00
groups.hh Add show all groups button to groups dialog 2014-03-03 17:47:06 +04:00
groups.ui Quick search/filter for dictionary names in settings (Dictionaries and Groups tabs). 2013-01-04 14:24:08 +01:00
groups_widgets.cc fix: dictionaries order , dictionary icon size 2022-03-14 23:18:53 +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
headwordslistmodel.cpp add lazy loading to headwords dialog 2022-04-17 21:05:57 +08:00
headwordslistmodel.h add lazy loading to headwords dialog 2022-04-17 21:05:57 +08:00
helpwindow.cc optimize: float number compare precision 2022-02-19 01:08:20 +08:00
helpwindow.hh Add help buttons to dialogs 2014-06-24 17:55:06 +04:00
history.cc Add "Favorites" feature 2017-05-12 17:41:08 +03:00
history.hh Fix typos found by codespell 2018-07-07 17:33:15 +08:00
historypanewidget.cc Use std::sort in suitable places 2021-02-01 15:00:31 +00:00
historypanewidget.hh 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 upgrade to qt6.2 2022-03-11 22:00:45 +08:00
hotkeywrapper.hh upgrade to 6.2,linux compile 2022-03-11 22:14:40 +08:00
htmlescape.cc clean code: 2021-12-13 22:45:33 +08:00
htmlescape.hh DictD: One more fix for dictionary description 2015-02-26 17:37:20 +03:00
hunspell.cc upgrade to 6.2,linux compile 2022-03-11 22:14:40 +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
inc_case_folding.hh Drop the src/ directory. It's superfluous. 2010-05-15 16:42:18 +04:00
inc_diacritic_folding.hh Drop the src/ directory. It's superfluous. 2010-05-15 16:42:18 +04:00
indexedzip.cc upgrade to 6.2 2022-03-11 22:14:40 +08:00
indexedzip.hh Add support for split zip files 2017-04-24 17:42:01 +03:00
initializing.cc improve:Win Specific, replace deprecated method 2022-01-08 22:26:21 +08:00
initializing.hh clean code: 2021-12-13 22:45:33 +08:00
initializing.ui Ui-Tweak: auto-fitting dict name for initializing window 2013-05-22 21:09:43 +08:00
instances.cc fix: dictionaries order , dictionary icon size 2022-03-14 23:18:53 +08:00
instances.hh dictionary group ,id match performance improve . 2022-03-14 00:17:34 +08:00
keyboardstate.cc upgrade to 6.2,linux compile 2022-03-11 22:14:40 +08:00
keyboardstate.hh Update year in copyright notices. 2012-02-21 01:47:14 +04:00
langcoder.cc upgrade to 6.2,linux compile 2022-03-11 22:14:40 +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 Show information about a dictionary on rigth mouse click in "Found in" pane 2012-09-24 16:51:51 +04:00
LICENSE.txt Update year in copyright notices. 2012-02-21 01:47:14 +04:00
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 Revert "optimize: for loop optimize" 2022-04-13 23:29:36 +08:00
loaddictionaries.hh Fix typos found by codespell 2018-07-07 17:33:15 +08:00
lsa.cc Merge branch 'feature/cpp-refactor-code' into staged 2022-02-03 17:51:40 +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 clean code:remove dead code 2022-04-17 16:07:56 +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 Fix new tab adding by mouse double click under Ubuntu 2012-12-27 17:04:46 +04:00
mainwindow.cc feature:add ignore punctuaion option 2022-04-23 16:15:23 +08:00
mainwindow.hh clean code:remove useless code 2022-04-19 22:22:03 +08:00
mainwindow.ui high dpi:replace menu button 2022-01-29 13:26:25 +08:00
mdictparser.cc fix: change html unescape to Html::unescape 2022-04-16 19:34:12 +08:00
mdictparser.hh Remove dependency on libavutil 2015-10-11 23:01:24 +08:00
mdx.cc clean code:remove mdx runnable 2022-04-18 22:23:48 +08:00
mdx.hh Revert "optimize: for loop optimize" 2022-04-13 23:29:36 +08:00
mediawiki.cc clean code:remove unnecessary typedef 2022-04-05 20:53:25 +08:00
mediawiki.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
mruqmenu.cc Fix some warnings 2012-10-31 17:58:35 +04:00
mruqmenu.hh MRU tab switching implemented 2012-02-17 00:00:00 +02:00
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 Update year in copyright notices. 2012-02-21 01:47:14 +04:00
mutex.hh fix code review indent issue 2022-03-30 23:08:24 +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 Drop the src/ directory. It's superfluous. 2010-05-15 16:42:18 +04:00
orderandprops.cc dictionary group ,id match performance improve . 2022-03-14 00:17:34 +08:00
orderandprops.hh dictionary group ,id match performance improve . 2022-03-14 00:17:34 +08:00
orderandprops.ui Change sizing of dictionary description window in dictionaries dialog 2014-12-13 20:14:31 +03:00
parsecmdline.cc Add proper command line parsing (with quotes support) to programs and to the external audio player command line. 2011-05-29 18:05:28 -07:00
parsecmdline.hh Add proper command line parsing (with quotes support) to programs and to the external audio player command line. 2011-05-29 18:05:28 -07:00
preferences.cc feature:add ignore punctuaion option 2022-04-23 16:15:23 +08:00
preferences.hh Preferences: disable spinboxes when their checkboxes are unchecked 2020-11-19 18:00:44 +02:00
preferences.ui Merge branch 'feature/add-ignore-punctuation' into staged 2022-04-23 22:34:05 +08:00
processwrapper.cc performance: Prefer prefix ++/-- operators for non-primitive types. 2022-02-16 22:08:32 +08:00
processwrapper.hh Drop the src/ directory. It's superfluous. 2010-05-15 16:42:18 +04:00
programs.cc Merge branch 'feature/cpp-refactor-code' into staged 2022-02-03 17:51:40 +08:00
programs.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
qt-style-macos.css Additional fix for #254: MacOS X: TranslateBox alignment issues 2013-04-05 18:08:23 +02:00
qt-style-st-babylon.css Add "Favorites" feature 2017-05-12 17:41:08 +03:00
qt-style-st-lingoes-blue.css Add "Favorites" feature 2017-05-12 17:41:08 +03:00
qt-style-st-lingvo.css Add "Favorites" feature 2017-05-12 17:41:08 +03:00
qt-style-st-modern.css Add "Favorites" feature 2017-05-12 17:41:08 +03:00
qt-style.css high dpi:replace gnome image icon 2022-01-28 08:30:01 +08:00
README.md Update README.md 2022-04-25 20:27:11 +08:00
resources.qrc optimize: add specific icon for wiktionary 2022-03-24 20:14:01 +08:00
resourceschemehandler.cpp add request attribute 2022-04-14 22:45:34 +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 fix:currentIndexChanged slot does not match 2022-04-01 23:32:11 +08:00
scanpopup.hh 6.2: currentIndexChanged signal is changed. 2022-03-11 22:00:53 +08:00
scanpopup.ui high dpi:change icon 2022-01-25 22:54:17 +08:00
sdict.cc upgrade to qt6.2 2022-03-11 22:00:45 +08:00
sdict.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
searchpanewidget.hh Update year in copyright notices. 2012-02-21 01:47:14 +04:00
slob.cc Revert "improve:handle invalid tag soup improvement, related to old issue #271" 2022-04-10 20:07:00 +08:00
slob.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
sounddir.cc Merge branch 'feature/cpp-refactor-code' into staged 2022-02-03 17:51:40 +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 improve:refactor code ,reimplement sptr class. 2022-01-09 16:18:55 +08:00
stardict.cc Revert "improve:handle invalid tag soup improvement, related to old issue #271" 2022-04-10 20:07:00 +08:00
stardict.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
stylescombobox.cc Switch user styles on-the-fly 2012-12-10 18:14:13 +04:00
stylescombobox.hh Switch user styles on-the-fly 2012-12-10 18:14:13 +04:00
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 feature:webp auto scale to reduce the size 2022-04-17 19:15:55 +08:00
tiff.hh optimize: tiff method refactor 2022-04-05 21:36:06 +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: remove old cpp feature 2022-01-09 16:35:07 +08:00
transliteration.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +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
uiauto.hh Fix some warnings 2012-10-31 17:58:35 +04:00
utf8.cc clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
utf8.hh clean:remove empty file ,cpp_features.hh 2022-02-26 13:56:50 +08:00
utils.hh fix:qt6.2 QDomDocument attribute parse behaviour has changed 2022-04-16 18:26:58 +08:00
voiceengines.cc change tts dictionary icon 2022-04-22 00:24:50 +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 fix: qt6.2 iframe can not access gdlookup built-in javascript 2022-04-17 22:28:14 +08:00
website.hh clean code: remove old cpp feature 2022-01-09 16:35:07 +08:00
weburlrequestinterceptor.cpp fix: in qt6.3 the devtools have a function called "Switch devtools to chinese" if the current system language is Chinese. 2022-04-20 20:25:27 +08:00
weburlrequestinterceptor.h bword link in Hunspell dictionary. 2021-12-13 22:46:02 +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
wordbyauto.cc Rename "DPRINTF" and "FDPRINTF" debug macro 2014-05-11 01:02:31 +04:00
wordbyauto.hh Improvements in scan popup functionality. 2011-07-09 23:26:30 +04:00
wordfinder.cc fix: DPRINTF=>GD_DPRINTF ,DDPRINT does not exist now. 2022-01-15 15:29:20 +08:00
wordfinder.hh Fix typos found by codespell 2018-07-07 17:33:15 +08:00
wordlist.cc high dpi:remove coresponding png files with same name with svg 2022-01-27 08:23:57 +08:00
wordlist.hh Fix rare and strange crash in modern UI 2014-04-25 20:43:01 +04: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 Revert "improve:handle invalid tag soup improvement, related to old issue #271" 2022-04-10 20:07:00 +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 Revert "improve:handle invalid tag soup improvement, related to old issue #271" 2022-04-10 20:07:00 +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 Merge branch 'feature/cpp-refactor-code' into staged 2022-02-03 17:51:40 +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.2.4
  • 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

Fedora 35

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


How to build

First, clone this repository, e.g.:

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

Linux

And then invoke qmake-qt5 and make:

cd goldendict && qmake-qt5 && make

macOS

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

Windows

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

Building with Chinese conversion support

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

sudo apt-get install libopencc-dev

Then pass "CONFIG+=chinese_conversion_support" to qmake

qmake "CONFIG+=chinese_conversion_support"

Building with Zim dictionaries support

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

sudo apt-get install liblzma-dev libzstd-dev

Then pass "CONFIG+=zim_support" to qmake

qmake "CONFIG+=zim_support"

Building without extra tiff handler

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

qmake "CONFIG+=no_extra_tiff_handler"

Building without Epwing format support

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

qmake "CONFIG+=no_epwing_support"

Building without internal audio players

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

qmake "CONFIG+=no_ffmpeg_player"

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

qmake "CONFIG+=no_qtmultimedia_player"

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

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

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

make clean && make

Building under Windows with MS Visual Studio

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

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

Installation

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

make install

NB: Don't do that on Windows!

You can uninstall via:

make uninstall

License

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

Support

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