Commit graph

2649 commits

Author SHA1 Message Date
Abs62 a271d3b284 Mac-specific: Add swresample headers 2020-07-18 21:23:22 +03:00
Abs62 1eb5429f27 Win-specific: Add swresample library 2020-07-18 19:45:45 +03:00
hrimfaxi 2d2db3b208 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 22:41:57 +08:00
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
Abs62 ec40c1dcfd Add libzstd-dev to .travis.yml file 2020-05-27 15:35:03 +03:00
Abs62 6e85b27337 Add Zstd compression support for ZIM format 2020-05-27 14:13:08 +03:00
Vitor Pereira Barros a378acc0df
Updated pt_BR 2020-04-09 19:25:12 -03:00
12101111 f905b93de5 Remove unused wrong code. 2020-04-03 18:23:21 +08:00
Vitaly Zaitsev 6ca112b797
Use a better workaround for Wayland crashes.
GoldenDict use lots of X11 functions and it currently cannot work natively on Wayland. This workaround will force GoldenDict to use  XWayland.

Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
2020-03-27 11:08:52 +01:00
embar- db93bd19d3
Update lt_LT.ts 2020-03-19 12:39:45 +02:00
Vitaly Zaitsev a1c7c5b376
Added a desktop action as a workaround to crashes on Wayland.
Also removed deprecated Encoding directive from desktop file.

Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
2020-03-15 10:20:40 +01:00
Abs62 353ea1793e ScanPopup: Normalize whitespaces while translate on clipboard change 2020-03-11 22:18:33 +03:00
Jony bd6cfd2589
Update sv_SE.ts
Update Swedish translation
2020-03-08 07:23:28 +01:00
Jony 45a55d0ef6
Merge pull request #1 from goldendict/master
Update fork
2020-03-08 06:44:40 +01:00
Abs62 a3f6612ac6
Merge pull request #1228 from hosiet/patch-1
appdata.xml: Pass appstream-util validation
2020-03-07 11:44:27 +03:00
Jony 43726a7255
Update sv_SE.ts 2020-03-07 00:06:23 +01:00
Abs62 0940e65651 Update Bulgarian translation by jekovcar 2020-02-28 23:55:17 +03:00
Abs62 af33134cb9 Bulgarian translation by jekovcar 2020-02-28 18:54:11 +03:00
Robin Townsend 7df235b118 add Lojban translations
Lojban only has an ISO 639-3 code, so we pretend that its ISO 639-2 code
is jb
2020-02-23 14:00:32 -05:00
Robin Townsend 2eecc88656 lupdate 2020-02-23 14:00:04 -05:00
Robin Townsend cb9c7ee894 add Lojban flag
Lojban has no country, so we pretend that its country code is jb
2020-02-23 13:58:33 -05:00
Boyuan Yang d843b37fbd
appdata.xml: Pass appstream-util validation
This commit adds missing components in goldendict.appdata.xml and makes it pass the relaxed appstream validation: `appstream-util validate-relax goldendict.appdata.xml`.
2020-02-12 16:55:00 -05:00
Maxim Yanukovich da197ff5cd Forvo api calls via https 2020-01-09 16:43:07 +03:00
Abs62 d54e0ca9fd Fix some data races (issue #1218) 2019-11-19 19:20:44 +03:00
Abs62 1cef1a8733 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
Abs62 df92b38ea8 Mac-specific: Fix save/restore main window configuration with Qt 5.12 2019-09-30 19:57:30 +03:00
Abs62 db6c9a16e1 Treat ".mp2" extension as audio instead of video 2019-09-27 20:09:20 +03:00
Abs62 e317810a1d Mac-specific: Update FFmpeg libraries to version 4.2.1 2019-09-27 20:07:23 +03:00
Abs62 966f4a8b78 FFmpeg player: Fix some crashes on broken files 2019-09-27 17:00:52 +03:00
Abs62 80a57ba344 Win-specific: Update FFmpeg libraries to version 4.2.1 2019-09-27 16:59:45 +03:00
Abs62 331977b164 Add ".webp", ".mpa", ".mp2" and ".opus" as known media 2019-09-27 00:28:01 +03:00
Abs62 02930198a8 DSL: Trim spaces in "s" and "url" tags 2019-09-26 19:40:39 +03:00
Abs62 58560e1ef5 DSL: Fix expanding of round brackets while full-text search 2019-09-21 00:30:53 +03:00
Abs62 99a7e7fc9b
Merge pull request #1198 from vedgy/remove-unused-qt5-dependency-from-readme
Remove an unused Qt5 dependency from README
2019-09-20 07:13:52 +03:00
Abs62 627796ad1e
Merge pull request #1197 from GD-Helper/master
Update German translation
2019-09-20 07:13:41 +03:00
Igor Kushnir c34597ca04 Remove an unused Qt5 dependency from README
libqtwebkit-dev contains the development files of Qt4 QtWebKit library.
Installing this package pulls many Qt4 dependencies. Neither this
package nor its dependencies are needed to build a Qt5 version of
goldendict. I have successfully built a Qt5 version of goldendict
on a fresh KDE neon system without installing this package.
Note that the development files of Qt5 QtWebKit library are inside the
libqt5webkit5-dev package, which is duly listed as a Qt5 goldendict
dependency.
2019-09-19 21:00:45 +03:00
GD-Helper 625b88ea7a
Update German translation 2019-09-19 17:09:22 +02:00
Abs62 f2aff9a3dd DSL: Strip tags "<<" and ">>" while full-text search 2019-09-19 18:04:36 +03:00
Abs62 2c5582ec33 DSL: Fix handling of dsl "@" subcard in first line of card 2019-09-19 18:03:52 +03:00
Abs62 780eabac47 DSL: Change of tags handling while full-text search 2019-09-18 18:32:40 +03:00
Abs62 c53fe1c640 Windows: Fix crashes when all global hotkeys are disabled (issue #1184) 2019-08-07 22:54:49 +03:00
Abs62 a722b3f43d Fix "file://" urls correction for case of launch portable GD via network 2019-08-05 17:51:57 +03:00
Abs62 ebc301a7bf Merge branch 'master' of https://github.com/probonopd/goldendict into Temp 2019-08-05 17:50:34 +03:00
Abs62 0f951b06a5 SLOB: Some optimization for indexing of a large files 2019-07-25 02:16:28 +03:00
Abs62 031b9e1eab Increase limit of node elements while build index 2019-07-24 23:59:44 +03:00
Abs62 056efcd92b SLOB: Fix build with Qt 4 2019-07-22 19:22:58 +03:00
Abs62 ed0a2551d0 SLOB: Fix detection of article duplicates (#issue #1174) 2019-07-22 18:31:50 +03:00
Abs62 2de1de758a SLOB: Add class "slobdict" to slob headword (issue #1176) 2019-07-22 18:30:56 +03:00
Abs62 618179e28b SLOB: Add support for uncompressed articles (issue #1175) 2019-07-22 18:30:17 +03:00
Abs62 05bfc353a8 Allow dictionaries groups combobox standard hotkeys from FTS and Headwords dialogs 2019-07-09 18:00:23 +03:00