The Next Generation GoldenDict https://xiaoyifang.github.io/goldendict-ng/
Go to file
hrimfaxi 2155d492cb Use libswresample to convert 32-bit and float audio into s16
Since libao+pulseaudio cannot play 32-bit or flt/fltp/dbl/dblp audio,
the following audio formats are passed through libswresample
to convert into AV_SAMPLE_FMT_S16, which is accepted by libao:

* AV_SAMPLE_FMT_S32
* AV_SAMPLE_FMT_S32P
* AV_SAMPLE_FMT_FLT
* AV_SAMPLE_FMT_FLTP
* AV_SAMPLE_FMT_DBL
* AV_SAMPLE_FMT_DBLP

This fixes issue #949 and issue #1014. Now FFmpeg+libao internal player
can play with pulseaudio backend enabled in /etc/libao.conf .

Signed-off-by: hrimfaxi <outmatch@gmail.com>
2020-07-18 20:55:00 +08:00
flags add Lojban flag 2020-02-23 13:58:33 -05:00
generators Change email from @users.berlios.de to @goldendict.org. 2010-12-09 15:31:50 +03:00
help Update help system 2018-06-13 19:07:51 +03:00
icons Change "Add to Favorites" icon if headword is already presented in Favorites 2017-10-23 17:21:43 +03:00
locale Updated pt_BR 2020-04-09 19:25:12 -03:00
maclibs Mac-specific: Update FFmpeg libraries to version 4.2.1 2019-09-27 20:07:23 +03:00
mouseover_win32 Win-specific: ScanPopup: Don't use unsupported word retrieving methods for GD own windows 2014-03-28 17:29:14 +04:00
MSBuild Properly handle the version.txt in Visual Studio's build 2013-08-16 23:36:38 +02:00
nsis Fix typos found by codespell 2018-07-07 17:33:15 +08:00
opencc Update data for OpenCC library 2017-10-02 19:58:58 +03:00
qtsingleapplication Qt5: Fix compilation errors with Qt 5.5.0 beta 2015-05-20 17:52:33 +03:00
redist Use a better workaround for Wayland crashes. 2020-03-27 11:08:52 +01:00
winlibs Add Zstd compression support for ZIM format 2020-05-27 14:13:08 +03:00
.gitignore Win-specific: Add global hotkeys handling via low-level keyboard hook 2019-01-31 17:59:24 +03:00
.gitmodules Use proper read-only URL for winlibs submodule to avoid clone problems 2013-08-21 13:22:11 +02:00
.travis.yml Add libzstd-dev to .travis.yml file 2020-05-27 15:35:03 +03:00
aard.cc Zim, Aard: Fix language recognition from three-letter codes 2018-12-07 16:18:49 +03:00
aard.hh Fix gcc 7.3 compiler warnings (#issue 978) 2018-05-21 18:32:04 +03:00
about.cc Merge branch 'Original' into Qt4x5 2014-05-12 18:10:26 +04: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 1. One more fix for "Modern" and "Lingoes-blue" styles 2017-06-20 17:41:30 +03: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 Fix typo in article-style-st-modern.css 2017-10-04 22:14:19 +03:00
article-style.css XDXF: A little more handling for <ex> tag (issue #1135) 2019-04-01 17:53:36 +03:00
article_maker.cc Fix typos found by codespell 2018-07-07 17:33:15 +08:00
article_maker.hh Add option to ignore diacritics while articles search 2018-06-13 19:00:42 +03:00
article_netmgr.cc Fix "file://" urls correction for case of launch portable GD via network 2019-08-05 17:51:57 +03:00
article_netmgr.hh Qt5: Some more fixes for compilation under early Qt5 versions (issue #990) 2018-04-08 20:25:55 +03:00
articleinspector.cc Fix compilation errors on Qt 4.5 2013-07-18 15:02:39 +02:00
articleinspector.hh Fix compilation errors on Qt 4.5 2013-07-18 15:02:39 +02:00
articleview.cc DSL: Fix sound saving from preferred dictionary 2019-06-27 18:09:00 +03:00
articleview.hh Add a shortcut to focus scan popup's article view 2018-05-16 14:54:20 +03:00
articleview.ui A little tuning of interface 2014-04-25 17:30:31 +04:00
articlewebview.cc Send image to external viewer by double click 2017-03-13 17:38:27 +03:00
articlewebview.hh Fix typos found by codespell 2018-07-07 17:33:15 +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 Fix gcc 7.3 compiler warnings (#issue 978) 2018-05-21 18:32:04 +03:00
belarusiantranslit.hh Fix gcc 7.3 compiler warnings (#issue 978) 2018-05-21 18:32:04 +03:00
bgl.cc Fix some crashes (issue #1076) 2019-01-17 17:53:13 +03:00
bgl.hh Fix gcc 7.3 compiler warnings (#issue 978) 2018-05-21 18:32:04 +03:00
bgl_babylon.cc Fix build on FreeBSD 2019-04-01 17:10:10 -07:00
bgl_babylon.hh Bgl: Fix conversion for Eastern European encoding 2017-07-07 17:16:33 +03:00
broken_xrecord.cc Replace Q_WS_X11 -> HAVE_X11 2013-05-31 13:28:36 +08:00
broken_xrecord.hh Update year in copyright notices. 2012-02-21 01:47:14 +04:00
btreeidx.cc Increase limit of node elements while build index 2019-07-24 23:59:44 +03:00
btreeidx.hh Fix typos found by codespell 2018-07-07 17:33:15 +08:00
chinese.cc Fix gcc 7.3 compiler warnings (#issue 978) 2018-05-21 18:32:04 +03:00
chinese.hh Fix gcc 7.3 compiler warnings (#issue 978) 2018-05-21 18:32:04 +03: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 Win-specific: Tune code for compilation with MS Visual Studio 2016-04-09 00:21:55 +03:00
config.cc Add option to ignore diacritics while articles search 2018-06-13 19:00:42 +03:00
config.hh Add option to ignore diacritics while articles search 2018-06-13 19:00:42 +03:00
configure Add a mock ./configure script which tells one to run qmake && make. 2010-11-26 20:55:43 +03: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
cpp_features.hh Fix gcc 7.3 compiler warnings (#issue 978) 2018-05-21 18:32:04 +03: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 Fix gcc 7.3 compiler warnings (#issue 978) 2018-05-21 18:32:04 +03: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 Fix some crashes (issue #1076) 2019-01-17 17:53:13 +03:00
dictdfiles.hh Fix gcc 7.3 compiler warnings (#issue 978) 2018-05-21 18:32:04 +03:00
dictgroupwidget.ui Add "Favorites" feature 2017-05-12 17:41:08 +03:00
dictheadwords.cc Use QRegularExpression instead of QRegExp in dictionary headwords dialog under Qt 5.12 and later 2019-03-25 18:08:52 +03:00
dictheadwords.hh Show headwords from dictionaries setup dialog in modal mode 2015-03-23 18:58:49 +03:00
dictheadwords.ui Add help buttons to dialogs 2014-06-24 17:55:06 +04: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 gcc 7.3 compiler warnings (#issue 978) 2018-05-21 18:32:04 +03:00
dictionary.hh Fix typos found by codespell 2018-07-07 17:33:15 +08:00
dictionarybar.cc Ignore Ctrl/Shift/Alt modifiers while click on the "Found in Dictionaries" pane if Dictionaries bar is hidden 2018-02-08 18:01:39 +03: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 DICT servers: Fix authentication 2018-10-21 22:58:44 +03:00
dictserver.hh Fix gcc 7.3 compiler warnings (#issue 978) 2018-05-21 18:32:04 +03:00
dictspanewidget.hh History Pane rewrite. 2013-01-17 10:08:53 +01:00
dictzip.c Fix potential error in dictzip.c (issue #978) 2018-03-23 20:40:54 +03:00
dictzip.h Some more error handling 2014-04-24 22:50:47 +04:00
dsl.cc DSL: Trim spaces in "s" and "url" tags 2019-09-26 19:40:39 +03:00
dsl.hh Fix gcc 7.3 compiler warnings (#issue 978) 2018-05-21 18:32:04 +03:00
dsl_details.cc DSL: Fix {(...)} case handling in insided cards 2019-06-24 17:59:13 +03:00
dsl_details.hh Fix typos found by codespell 2018-07-07 17:33:15 +08:00
editdictionaries.cc Add help buttons to dialogs 2014-06-24 17:55:06 +04:00
editdictionaries.hh Add help buttons to dialogs 2014-06-24 17:55:06 +04:00
editdictionaries.ui Add help buttons to dialogs 2014-06-24 17:55:06 +04:00
epwing.cc Fix some crashes (issue #1076) 2019-01-17 17:53:13 +03:00
epwing.hh Fix gcc 7.3 compiler warnings (#issue 978) 2018-05-21 18:32:04 +03:00
epwing_book.cc Fix some more warnings (issue #978 again) 2018-05-22 17:48:14 +03:00
epwing_book.hh Win-specific: Tune code for compilation with MS Visual Studio 2016-04-09 00:21:55 +03:00
epwing_charmap.cc Epwing: Map some more extra symbols 2014-05-23 16:11:15 +04:00
epwing_charmap.hh Epwing: Fix monochrome images, use unicode symbols instead of some extra symbol images 2014-05-22 22:16:10 +04: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 Fix gcc 7.3 compiler warnings (#issue 978) 2018-05-21 18:32:04 +03:00
externalviewer.hh Fix gcc 7.3 compiler warnings (#issue 978) 2018-05-21 18:32:04 +03:00
extlineedit.cc Fix compilation errors on Qt 4.5 2013-07-18 15:02:39 +02:00
extlineedit.hh Fix compilation errors on Qt 4.5 2013-07-18 15:02:39 +02:00
favoritespanewidget.cc Favorites: Fix blocking of illegal move operations for Qt4 (issue #1059) 2018-09-24 20:22:51 +03:00
favoritespanewidget.hh Favorites: Fix blocking of illegal move operations for Qt4 (issue #1059) 2018-09-24 20:22:51 +03:00
ffmpegaudio.cc Use libswresample to convert 32-bit and float audio into s16 2020-07-18 20:55:00 +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 Fix gcc 7.3 compiler warnings (#issue 978) 2018-05-21 18:32:04 +03:00
file.hh Fix gcc 7.3 compiler warnings (#issue 978) 2018-05-21 18:32:04 +03:00
filetype.cc Treat ".mp2" extension as audio instead of video 2019-09-27 20:09:20 +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 add Lojban flag 2020-02-23 13:58:33 -05:00
folding.cc Full-text search: Allow ignore diacritics while search 2018-04-10 17:49:52 +03:00
folding.hh Fix typos found by codespell 2018-07-07 17:33:15 +08:00
forvo.cc Forvo api calls via https 2020-01-09 16:43:07 +03:00
forvo.hh Fix gcc 7.3 compiler warnings (#issue 978) 2018-05-21 18:32:04 +03:00
fsencoding.cc Part of work for #212: Make GD source to be ready for Qt5. 2013-02-03 21:19:55 +01:00
fsencoding.hh Update year in copyright notices. 2012-02-21 01:47:14 +04:00
ftshelpers.cc DSL: Fix expanding of round brackets while full-text search 2019-09-21 00:30:53 +03:00
ftshelpers.hh Full-text search: Allow ignore diacritics while search 2018-04-10 17:49:52 +03:00
fulltextsearch.cc Win-specific: Fix possibly crashes after dictionaries initialization 2019-03-20 17:49:39 +03:00
fulltextsearch.hh Win-specific: Fix possibly crashes after dictionaries initialization 2019-03-20 17:49:39 +03:00
fulltextsearch.ui Full-text search: Allow ignore diacritics while search 2018-04-10 17:49:52 +03:00
gdappstyle.cc Limit maximum small icon size to 21 pixel (standard icon size for Lingvo dictionaries) (issue #441) 2014-02-18 21:05:45 +04:00
gdappstyle.hh Fix compilation errors on Qt 4.5 2013-07-18 15:02:39 +02:00
gddebug.cc Little refactoring for log messages to file 2018-05-22 17:37:21 +03:00
gddebug.hh Fix some more warnings (issue #978 again) 2018-05-22 17:48:14 +03:00
german.cc Fix gcc 7.3 compiler warnings (#issue 978) 2018-05-21 18:32:04 +03:00
german.hh Fix gcc 7.3 compiler warnings (#issue 978) 2018-05-21 18:32:04 +03:00
gestures.cc Fix one more crash under Qt 5.12 2019-04-22 19:50:06 +03:00
gestures.hh Fix one more crash under Qt 5.12 2019-04-22 19:50:06 +03:00
gls.cc Fix some data races (issue #1218) 2019-11-19 19:20:44 +03:00
gls.hh Fix gcc 7.3 compiler warnings (#issue 978) 2018-05-21 18:32:04 +03:00
GoldenDict.exe.manifest Win-Specific: Embed appropriate manifest. 2013-06-05 00:33:44 +08:00
goldendict.pro Use libswresample to convert 32-bit and float audio into s16 2020-07-18 20:55:00 +08:00
goldendict.rc Win-specific: Fix build with Qt 5.6.0 and VS 2013 2016-04-14 19:09:21 +03:00
goldendict.sln Created a VS2012 project and solution for GoldenDict 2013-08-16 15:47:12 +02:00
goldendict.vcxproj Merge branch 'locale-fi' of https://github.com/sikmir/goldendict into Temp 2016-11-24 07:52:42 +03:00
goldendict.vcxproj.filters Merge branch 'locale-fi' of https://github.com/sikmir/goldendict into Temp 2016-11-24 07:52:42 +03:00
greektranslit.cc Fix gcc 7.3 compiler warnings (#issue 978) 2018-05-21 18:32:04 +03:00
greektranslit.hh Fix gcc 7.3 compiler warnings (#issue 978) 2018-05-21 18:32:04 +03: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 Implement "inactive dictionaries" feature for all groups (issue #984) 2018-03-28 17:21:32 +03: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 Implement "inactive dictionaries" feature for all groups (issue #984) 2018-03-28 17:21:32 +03: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
helpwindow.cc Allow to choose help language 2014-06-25 18:01:11 +04: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 Merge branch 'master' into qt4x5 2013-08-02 17:00:16 +08: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 Win-specific: Modify global hotkeys handling. 2015-10-13 17:57:40 +03:00
hotkeyedit.hh Win-specific: Modify global hotkeys handling. 2015-10-13 17:57:40 +03:00
hotkeys.c Win-specific: Add global hotkeys handling via low-level keyboard hook 2019-01-31 17:59:24 +03:00
hotkeys.h Win-specific: Add global hotkeys handling via low-level keyboard hook 2019-01-31 17:59:24 +03:00
hotkeys.pro Win-specific: Add global hotkeys handling via low-level keyboard hook 2019-01-31 17:59:24 +03:00
hotkeywrapper.cc Fix build under Linux/MacOS 2019-02-01 16:59:41 +03:00
hotkeywrapper.hh Fix build under Linux/MacOS 2019-02-01 16:59:41 +03:00
htmlescape.cc Full-text search: handle <q> tag as words break 2018-08-15 11:59:13 +03:00
htmlescape.hh DictD: One more fix for dictionary description 2015-02-26 17:37:20 +03:00
hunspell.cc Add option to ignore diacritics while articles search 2018-06-13 19:00:42 +03:00
hunspell.hh Fix gcc 7.3 compiler warnings (#issue 978) 2018-05-21 18:32:04 +03:00
iconv.cc Fix gcc 7.3 compiler warnings (#issue 978) 2018-05-21 18:32:04 +03:00
iconv.hh Fix typos found by codespell 2018-07-07 17:33:15 +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 Fix some more warnings (issue #978 again) 2018-05-22 17:48:14 +03:00
indexedzip.hh Add support for split zip files 2017-04-24 17:42:01 +03:00
initializing.cc Win-specific: Fix possibly crashes after dictionaries initialization 2019-03-20 17:49:39 +03:00
initializing.hh Win-specific: Fix possibly crashes after dictionaries initialization 2019-03-20 17:49:39 +03:00
initializing.ui Ui-Tweak: auto-fitting dict name for initializing window 2013-05-22 21:09:43 +08:00
instances.cc Implement "inactive dictionaries" feature for all groups (issue #984) 2018-03-28 17:21:32 +03:00
instances.hh Implement "inactive dictionaries" feature for all groups (issue #984) 2018-03-28 17:21:32 +03:00
keyboardstate.cc Merge branch 'Original' into Qt4x5 2014-05-12 18:10:26 +04:00
keyboardstate.hh Update year in copyright notices. 2012-02-21 01:47:14 +04:00
langcoder.cc Zim, Aard: Fix language recognition from three-letter codes 2018-12-07 16:18:49 +03:00
langcoder.hh Zim, Aard: Fix language recognition from three-letter codes 2018-12-07 16:18:49 +03:00
language.cc add Lojban flag 2020-02-23 13:58:33 -05: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 Don't expand symlinks while load dictionaries 2019-02-13 23:58:29 +03:00
loaddictionaries.hh Fix typos found by codespell 2018-07-07 17:33:15 +08:00
lsa.cc Add option to ignore diacritics while articles search 2018-06-13 19:00:42 +03:00
lsa.hh Fix gcc 7.3 compiler warnings (#issue 978) 2018-05-21 18:32:04 +03:00
machotkeywrapper.mm MacOS: Fix build under Mac OS 10.11.5 (issue #720) 2016-06-21 18:10:45 +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 Use a better workaround for Wayland crashes. 2020-03-27 11:08:52 +01:00
mainstatusbar.cc Show now indexing for full-text search dictionary name in status line (issue #640) 2015-11-01 16:03:15 +03: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 Don't create new empty tab on double click outside the tab bar 2014-04-23 17:45:51 +04:00
maintabwidget.hh Fix new tab adding by mouse double click under Ubuntu 2012-12-27 17:04:46 +04:00
mainwindow.cc Qt5-specific: Fix crash after Ctrl+Tab when tabs navigation in MRU order is turned on in preferences 2019-11-16 16:01:13 +03:00
mainwindow.hh Allow dictionaries groups combobox standard hotkeys from FTS and Headwords dialogs 2019-07-09 18:00:23 +03:00
mainwindow.ui Favorites: Fix blocking of illegal move operations for Qt4 (issue #1059) 2018-09-24 20:22:51 +03:00
mdictparser.cc Mdx: Fix resource files indexing (issue #971) 2018-04-08 18:00:21 +03:00
mdictparser.hh Remove dependency on libavutil 2015-10-11 23:01:24 +08:00
mdx.cc Fix some data races (issue #1218) 2019-11-19 19:20:44 +03:00
mdx.hh Fix gcc 7.3 compiler warnings (#issue 978) 2018-05-21 18:32:04 +03:00
mediawiki.cc Wiki: Fix urls in "srcset" attribute (issue #1096) 2019-03-04 19:38:15 +03:00
mediawiki.hh Fix gcc 7.3 compiler warnings (#issue 978) 2018-05-21 18:32:04 +03:00
mouseover.cc Fix typos found by codespell 2018-07-07 17:33:15 +08:00
mouseover.hh Win-specific: Show translation in popup window istead of sending word to GD main window while scanning GD main window 2012-09-24 17:20:58 +04: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 Add QMediaPlayer internal player back end (Qt5 only) 2018-03-30 17:10:33 +03:00
multimediaaudioplayer.hh Add QMediaPlayer internal player back end (Qt5 only) 2018-03-30 17:10:33 +03:00
mutex.cc Update year in copyright notices. 2012-02-21 01:47:14 +04:00
mutex.hh Update year in copyright notices. 2012-02-21 01:47:14 +04: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 Safety menu sequence in dictionaries order window 2019-03-09 20:32:09 +02:00
orderandprops.hh Dictionaries dialog: Show dictionaries number 2014-06-30 17:58:39 +04: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 Add option to ignore diacritics while articles search 2018-06-13 19:00:42 +03:00
preferences.hh Allow customizing unpinned scan popup window flags on X11 with Qt5 2018-04-15 19:46:35 +03:00
preferences.ui Fix typo 2018-06-13 22:01:13 +03:00
processwrapper.cc Fixed build under Arch Linux 2012-04-07 12:33:37 -03:00
processwrapper.hh Drop the src/ directory. It's superfluous. 2010-05-15 16:42:18 +04:00
programs.cc Add option to ignore diacritics while articles search 2018-06-13 19:00:42 +03:00
programs.hh Fix gcc 7.3 compiler warnings (#issue 978) 2018-05-21 18:32:04 +03: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 Add "Favorites" feature 2017-05-12 17:41:08 +03:00
qt4x5.hh Dsl: Add support for "#SOUND_DICTIONARY" directive 2017-07-09 20:15:35 +03:00
README.md Add Zstd compression support for ZIM format 2020-05-27 14:13:08 +03:00
resources.qrc Change "Add to Favorites" icon if headword is already presented in Favorites 2017-10-23 17:21:43 +03:00
ripemd.cc Fix build on Big Endian 64 bit machines (issue #714) 2016-06-03 18:37:34 +03:00
ripemd.hh Fix build on Big Endian 64 bit machines (issue #714) 2016-06-03 18:37:34 +03:00
romaji.cc Fix gcc 7.3 compiler warnings (#issue 978) 2018-05-21 18:32:04 +03:00
romaji.hh Fix gcc 7.3 compiler warnings (#issue 978) 2018-05-21 18:32:04 +03:00
russiantranslit.cc Fix gcc 7.3 compiler warnings (#issue 978) 2018-05-21 18:32:04 +03:00
russiantranslit.hh Fix gcc 7.3 compiler warnings (#issue 978) 2018-05-21 18:32:04 +03:00
sapi.hh Some more TTS from Timon Wong 2013-04-24 20:01:44 +04:00
scanflag.cc Add scan popup flag 2017-06-05 21:15:38 +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 ScanPopup: Normalize whitespaces while translate on clipboard change 2020-03-11 22:18:33 +03:00
scanpopup.hh Fix behavior while words list font resizing (issue #1109) 2019-01-26 22:11:27 +03:00
scanpopup.ui Sync scan popup's size policies with main window 2019-01-29 17:01:14 +02:00
sdict.cc Fix some crashes (issue #1076) 2019-01-17 17:53:13 +03:00
sdict.hh Fix gcc 7.3 compiler warnings (#issue 978) 2018-05-21 18:32:04 +03:00
searchpanewidget.hh Update year in copyright notices. 2012-02-21 01:47:14 +04:00
slob.cc Fix some data races (issue #1218) 2019-11-19 19:20:44 +03:00
slob.hh Fix gcc 7.3 compiler warnings (#issue 978) 2018-05-21 18:32:04 +03:00
sounddir.cc Add option to ignore diacritics while articles search 2018-06-13 19:00:42 +03:00
sounddir.hh Fix gcc 7.3 compiler warnings (#issue 978) 2018-05-21 18:32:04 +03:00
sources.cc Fix typos found by codespell 2018-07-07 17:33:15 +08:00
sources.hh ChineseConversion: conditional compilation and OpenCC exception handling 2015-10-26 09:38:22 +08:00
sources.ui ChineseConversion: conditional compilation and OpenCC exception handling 2015-10-26 09:38:22 +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 Fix handling of .zips files 2017-04-27 18:02:44 +03:00
splitfile.hh Add support for split zip files 2017-04-24 17:42:01 +03:00
sptr.hh Update year in copyright notices. 2012-02-21 01:47:14 +04:00
stardict.cc Fix some data races (issue #1218) 2019-11-19 19:20:44 +03:00
stardict.hh Fix gcc 7.3 compiler warnings (#issue 978) 2018-05-21 18:32:04 +03: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 Little refactoring for log messages to file 2018-05-22 17:37:21 +03: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 Fix typos in translation 2013-04-28 11:45:08 -03:00
tiff.cc Fix compilation undex Linux 2014-02-16 14:22:13 +04:00
tiff.hh Handle 1-bit black/white TIFF images without photometric interpretation tag 2014-02-11 18:02:00 +04:00
translatebox.cc Remove artificial 1000-pixel CompletionList width limit 2019-02-03 18:25:26 +02: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 Add option to ignore diacritics while articles search 2018-06-13 19:00:42 +03:00
transliteration.hh Add option to ignore diacritics while articles search 2018-06-13 19:00:42 +03:00
treeview.cc Favorites: Fix blocking of illegal move operations for Qt4 (issue #1059) 2018-09-24 20:22:51 +03: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 Fix some crashes (issue #1076) 2019-01-17 17:53:13 +03:00
utf8.hh Fix gcc 7.3 compiler warnings (#issue 978) 2018-05-21 18:32:04 +03:00
voiceengines.cc Add option to ignore diacritics while articles search 2018-06-13 19:00:42 +03:00
voiceengines.hh Fix gcc 7.3 compiler warnings (#issue 978) 2018-05-21 18:32:04 +03: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 Add option to ignore diacritics while articles search 2018-06-13 19:00:42 +03:00
website.hh Fix gcc 7.3 compiler warnings (#issue 978) 2018-05-21 18:32:04 +03: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 Refactor of expressions search via morphology suggestion 2015-02-25 20:44:00 +03:00
wordfinder.hh Fix typos found by codespell 2018-07-07 17:33:15 +08:00
wordlist.cc Add tooltips to word list in search pane 2017-06-01 19:06:11 +03:00
wordlist.hh Fix rare and strange crash in modern UI 2014-04-25 20:43:01 +04:00
wstring.cc Drop the src/ directory. It's superfluous. 2010-05-15 16:42:18 +04:00
wstring.hh Fix typos found by codespell 2018-07-07 17:33:15 +08:00
wstring_qt.cc Properly handle non-normalized unicode headwords 2013-07-06 20:18:43 +02:00
wstring_qt.hh Properly handle non-normalized unicode headwords 2013-07-06 20:18:43 +02:00
x64.cc Win-specific: Preparation for 64-bit build 2013-03-28 17:45:47 +04:00
x64.hh Win-specific: ScanPopup in 64-bit applications 2012-01-24 16:39:23 +04:00
xdxf.cc XDXF: Fix indexing of the dictionaries with empty "abbreviation" field (issue #1132) 2019-03-17 23:04:14 +03:00
xdxf.hh Fix gcc 7.3 compiler warnings (#issue 978) 2018-05-21 18:32:04 +03:00
xdxf2html.cc XDXF: A little more handling for <ex> tag (issue #1135) 2019-04-01 17:53:36 +03: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 Add Zstd compression support for ZIM format 2020-05-27 14:13:08 +03:00
zim.hh Fix gcc 7.3 compiler warnings (#issue 978) 2018-05-21 18:32:04 +03:00
zipfile.cc Fix handling of .zips files 2017-04-27 18:02:44 +03:00
zipfile.hh Add support for split zip files 2017-04-24 17:42:01 +03:00
zipsounds.cc Add option to ignore diacritics while articles search 2018-06-13 19:00:42 +03:00
zipsounds.hh Fix gcc 7.3 compiler warnings (#issue 978) 2018-05-21 18:32:04 +03:00

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 XP/Vista/7, Ubuntu Linux, Mac OS X.

External Deps

  • Make, GCC, Git
  • Qt framework. Minimum required version is 4.6. But Qt 4.7 or 4.8 is recommended.
  • 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

sudo apt-get install git pkg-config build-essential qt4-qmake \
     libvorbis-dev zlib1g-dev libhunspell-dev x11proto-record-dev \
     libqt4-dev libqtwebkit-dev libxtst-dev liblzo2-dev libbz2-dev \
     libao-dev libavutil-dev libavformat-dev libtiff5-dev libeb16-dev

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 \
     libqt5webkit5-dev libqt5svg5-dev libqt5x11extras5-dev qttools5-dev \
     qttools5-dev-tools qtmultimedia5-dev libqt5multimedia5-plugins

How to build

First, clone this repository, e.g.:

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

And then invoke qmake-qt4 and make:

cd goldendict && qmake-qt4 && make

In case when qmake-qt4 does not exist, try using qmake but make sure it is indeed from the Qt 4 installation. On the other hand, if you want to use qt5, make sure that qmake is from Qt 5 installation. If not, you can try finding it at a path like /usr/lib/x86_64-linux-gnu/qt5/bin/qmake. Alternatively, you might want to load goldendict.pro file from within Qt Creator, especially on Windows.

Note: To compile with libhunspell older than 1.5 pass "CONFIG+=old_hunspell" to qmake.

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

To build GoldenDict with Visual Studio take one of next library packs and unpack it to "winlibs/lib/msvc" folder in GoldenDict sources folder.
GoldenDict_libs_VS2013_x86_v4.7z - for MS Visual Studio 2013, 32 bit
GoldenDict_libs_VS2013_x64_v4.7z - for MS Visual Studio 2013, 64 bit
GoldenDict_libs_VS2015_x86_v4.7z - for MS Visual Studio 2015, 32 bit
GoldenDict_libs_VS2015_x64_v4.7z - for MS Visual Studio 2015, 64 bit

To create project files for Visual Studio you can pass "-tp vc" option to qmake.

Note: In Qt 5.6.0 and later the Webkit module was removed from official release builds. You should to build it from sources to compile GoldenDict.

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!

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.