Xiao YiFang
c1964fc61a
fix conflict
2022-11-21 20:24:10 +08:00
shenlebantongying
f5e1ae54c8
Add translations /local/ to mac build
2022-11-21 00:50:15 -05:00
shenleban tongying
f22769c73b
Fix translations accidentally install at /local
2022-11-21 00:14:53 -05:00
Xiao YiFang
c4c6ff8376
ffmpeg depends on multimedia
2022-11-12 17:03:20 +08:00
Xiao YiFang
16bc832a20
remove mac and windows dependency of libao
2022-11-12 09:34:09 +08:00
Xiao YiFang
85aad0f80c
feature: remove libao dependency and use QAudioSink(QAudioOutput) to play the pcm audio format
2022-11-12 09:34:09 +08:00
Xiao YiFang
c478065f53
goldendict ,fix QT_PLUGIN_PATH variable
2022-11-05 14:52:50 +08:00
Xiao YiFang
59ec8c4a48
[clean code]: remove macos lionsupport check
...
this macos version is too old .
2022-11-02 20:42:39 +08:00
Xiao YiFang
c743a31dca
fix: windeployqt bug
2022-10-22 14:53:14 +08:00
Xiao YiFang
1ad358bb84
xapian remove obsolete ftx index
2022-10-07 17:08:10 +08:00
Xiao YiFang
5918077018
[xapian] add windows support
2022-10-06 01:39:59 +08:00
Xiao YiFang
6a34804df2
opt: add xapian support
...
opt: add xapian fullindex support
2022-10-06 01:39:59 +08:00
Xiao YiFang
0ce1ff8566
add undocumented date variable to VERSION
2022-10-05 23:57:53 +08:00
Xiao YiFang
7c30b89336
opt: headwords dialog filtering optimization
...
when in filtering process, fetch more return false.
2022-10-02 19:53:54 +08:00
xiaoyifang
63ddf68d3b
Merge pull request #159 from xiaoyifang/opt/headword
...
opt: improve headword dialog performance
2022-10-01 18:01:46 +08:00
Xiao YiFang
4c8ec4e3f2
opt: improve headword dialog performance
...
especially when the dictionary has a very large collecton of headword.
include export function
2022-10-01 15:33:23 +08:00
Xiao YiFang
7e83b920e3
fix: transaltion in macos only existed english
...
A regression from previous changes.
2022-10-01 07:30:12 +08:00
Xiao YiFang
ca7fc1c2d3
fix: transaltion in macos only existed english
...
A regression from previous changes.
2022-10-01 07:27:11 +08:00
Xiao YiFang
fba1b96b0e
bump alpha version to 22.9.24
2022-09-23 19:59:03 +08:00
Xiao YiFang
62c66b79c8
bump release version to AutumnEquinox
2022-09-23 19:57:37 +08:00
Xiao YiFang
db251ac44f
revert embed translation
2022-09-22 20:06:43 +08:00
Xiao YiFang
f5f90e328f
action: macos homebrew modification
2022-09-09 14:47:20 +08:00
xiaoyifang
ab9297c8a5
opt: refactor the homebrew macos action ( #140 )
2022-09-08 21:46:17 +08:00
Xiao YiFang
f0e3c38970
github:add macos homebrew based package github action
2022-09-06 00:29:01 +08:00
Xiao YiFang
349ac86d47
opt: use iframe resizer plugin to resize the iframe height.
2022-09-04 10:47:29 +08:00
Xiao YiFang
e6abb1596d
add translation of Swiss High-German
...
thanks to Patrik Studer
2022-08-26 20:27:34 +08:00
Xiao YiFang
874b032baa
opt: modify goldendict.pro file
2022-08-22 20:38:14 +08:00
Xiao YiFang
e5a26a2969
bump alpha version to 22.8.24
2022-08-22 20:37:30 +08:00
Xiao YiFang
b9827a9aee
remove default zim support in macos
2022-08-06 16:10:13 +08:00
Xiao YiFang
277b90657d
bump alpha version to 22.7.24
2022-07-30 21:36:02 +08:00
Xiao YiFang
505dd9efc8
clean:minor change to the goldendict.pro file
2022-07-09 11:20:15 +08:00
Xiao YiFang
3c02fb7499
bump alpha version to 22.6.22
2022-06-19 10:16:31 +08:00
Xiao YiFang
dcaebf4948
imp. add QtConcurrent to checkArticle
2022-06-11 20:55:15 +08:00
Xiao YiFang
0eb89a68cb
pro file add date to version
2022-06-03 12:50:59 +08:00
Xiao YiFang
8f6284747f
fix merge upstream conflict
2022-06-02 07:14:38 +08:00
Igor Kushnir
aa33b8bebc
Disable assert macro checks in Release builds
2022-06-01 18:40:35 +03:00
Xiao YiFang
077d139fb5
fix merge conflict
2022-06-01 23:23:41 +08:00
Igor Kushnir
8acec2e062
Reduce build log verbosity
...
The default qmake build output is overly verbose. Adding the "silent"
switch to CONFIG makes it much more concise, comparable to default CMake
output. This way warnings and errors are much easier to find.
Adding CONFIG-=silent to the qmake command line doesn't restore the
verbosity because it is applied before the "CONFIG += silent" line in
goldendict.pro. Add a new CONFIG switch "verbose_build_output" to allow
increasing build log verbosity without editing goldendict.pro.
2022-06-01 18:00:45 +03:00
Xiao YiFang
5302403d8a
add date to version
2022-06-01 00:06:32 +08:00
Xiao YiFang
002a4c8302
add debug info to release version
2022-05-30 20:04:33 +08:00
Xiao YiFang
4ac7afc6bf
pro: add /permissive- option
...
in Qt6.3+VS2022 ,the option can supresse the permissive warning.
2022-05-29 16:00:29 +08:00
Xiao YiFang
7910209ae1
clean code: remove dsl runnable ,remove comment endline carriage
2022-05-29 16:00:28 +08:00
Xiao YiFang
ee95307628
fix:remove x11extra private
2022-05-29 16:00:28 +08:00
Xiao YiFang
6bc1e0d219
clean code: remove uiauto.hh wordbyauto.hh(.cc)
2022-05-26 21:02:46 +08:00
Xiao YiFang
435cadfef8
pro file update c++17 support
2022-05-22 16:36:28 +08:00
Xiao YiFang
0a2661f986
add 'send to anki' function
...
users can configure the ankiconnect to use together with anki
2022-05-21 17:34:22 +08:00
Xiao YiFang
a625bee498
bump alpha version to 22.5.22
2022-05-21 09:08:46 +08:00
Xiao YiFang
f6a151ae6f
opt:add debug info to release
2022-05-20 21:26:54 +08:00
Xiao YiFang
fb32704a8c
Merge branch 'opt/acceptnavigation' into staged
2022-05-20 18:44:11 +08:00
Xiao YiFang
6cf1cf1200
clean code: remove uxtheme
2022-05-20 18:43:47 +08:00
Xiao YiFang
a7ba9e4b36
opt:use acceptNavigationRequest instead of weburlinterceptor
2022-05-20 18:01:41 +08:00
Xiao YiFang
41f2ca9864
clean code: remove outdated code
...
xorg xrecord detection logic
2022-05-20 08:24:23 +08:00
Xiao YiFang
e6ab87ca73
fix:add ifr local scheme
...
due to iframe security policy and x-frame-option .
the website online dictionary can not work in qt 5.15.2+ version.
this is a workaround to pass through the restriction.
2022-05-15 22:54:26 +08:00
YiFang
ffb1922bd7
Revert "fix:head lazy load"
...
This reverts commit 15702d860b
.
Revert "add lazy loading to headwords dialog"
This reverts commit 473c61724f
.
2022-05-05 21:01:35 +08:00
YiFang Xiao
67902b0e6b
github:alpha version bump to 22.4.24
2022-04-23 22:33:04 +08:00
YiFang Xiao
402cf77dff
opt: add debug info to release version
2022-04-23 19:45:48 +08:00
YiFang Xiao
ed3a5fadb7
clean code:remove sql
2022-04-23 18:00:02 +08:00
ngn999
823baf135f
make all macOS dependencies universal in maclibs/
...
* ffmpeg 5.0.1 build with: ./configure --disable-programs --disable-swscale --disable-avdevice --disable-avfilter --enable-shared --disable-xlib
* arm64 libraries build on my M1 Macbook Pro, and x86_64 build on github action
* Qt6.2 produce an uniserval binary, so delete macos-m1.yml.
* add Ad-Hoc code sign
2022-04-22 01:00:48 +08:00
xiaoyifang
4d83fc567a
bump staged version to 22.4.19-alpha
2022-04-18 22:15:07 +08:00
xiaoyifang
473c61724f
add lazy loading to headwords dialog
2022-04-17 21:05:57 +08:00
ngn999
bbc664bc6c
libao: static link libmacosx.so plugin, fix #46
...
libao.dylib is universal library now
2022-04-15 09:50:40 +08:00
xiaoyifang
b230f23e24
update version to 22.4.7-alpha
2022-04-07 20:03:08 +08:00
xiaoyifang
40abd01e80
change version from 22.2 to 22.4
2022-04-01 20:26:50 +08:00
xiaoyifang
e85c719577
goldendict.pro file some minor changes.
...
enable c++14
encoding utf8
remove default zim_support from Windows(should be configured through qmake command line arguments )
2022-03-31 09:09:48 +08:00
xiaoyifang
a32ebfa2fb
remove locale qm file copy
2022-03-29 22:41:57 +08:00
xiaoyifang
6191bed3ee
optimize: embed ts files
...
in linux appimage ,translation files can not be read in the AppImage.
2022-03-27 21:03:57 +08:00
ngn999
0647af51e8
fix Qt Creator report : Project Error development library opencc not found
...
update README.md
use wget to download libeb
2022-03-25 14:52:38 +08:00
ngn999
e3c52fe4db
upgrade libogg, libhunspell
...
update libvorbis
update lzma
update maclibs: libzstd.a tiff
update maclibs: lzo
fix typo in .pro file
update libao
update maclibs/ libavutil, libavcodec, libavformat, libswresample
update libtiff.dyld
update libeb.dylib
fix typo
macOS use homebrew to manage deps
* TODO: update docs
2022-03-25 14:52:34 +08:00
xiaoyifang
8a24a400c9
github: modify workflow
...
change short git hash tag.
2022-03-15 19:55:23 +08:00
xiaoyifang
b7a3c12382
fix: goldendict.pro remove extra tailing slash
2022-03-14 20:04:49 +08:00
YiFang Xiao
332248a959
terminate handler
2022-03-13 13:10:01 +08:00
YiFang Xiao
d58effe4dc
add c++14 to linux build
2022-03-13 11:58:45 +08:00
YiFang Xiao
77b7e5b91e
add c++11 to pro
2022-03-13 00:55:35 +08:00
xiaoyifang
ca0dd2ba91
macos opencc pkgconfig
2022-03-12 20:16:01 +08:00
yifang
fb2eac9b5e
upgrade to 6.2,linux compile
2022-03-11 22:14:40 +08:00
xiaoyifang
7b5511a7bd
upgrade to qt6.2
2022-03-11 22:00:45 +08:00
yifang
ae8c2df4a8
optimize: F12 improve
...
when close inspected windows,the inspect is still working .
2022-03-04 23:27:34 +08:00
xiaoyifang
4aa51268d3
iconv test case
2022-02-26 16:25:00 +08:00
xiaoyifang
d1c4611923
remove iconv lib
2022-02-26 15:13:24 +08:00
xiaoyifang
6728f9346b
clean:remove empty file ,cpp_features.hh
2022-02-26 13:56:50 +08:00
xiaoyifang
0bf5bbf501
optimize:utf-8 source encoding and execution encoding .
...
compatible with VS utf-8 bom complain about transliteration file
2022-02-26 13:21:27 +08:00
xiaoyifang
59ea20f4c1
clean:remove hotkey dll handler
2022-02-25 23:08:17 +08:00
xiaoyifang
b7b347ec0e
clean:remove win32 mouse over function.
...
this function only work on windows and text .
can be replace with ocr(with the help of Capture2Text etc.).
2022-02-25 07:55:32 +08:00
xiaoyifang
5f3c269098
os:win specific remove rc file
...
qmake can auto generate the rc file.
2022-02-19 21:00:33 +08:00
xiaoyifang
0e19c34bbe
Revert "clean:remove win specific vs files"
...
This reverts commit c3f3f94258
.
2022-02-19 19:01:02 +08:00
yifang
d835c0ba9c
optimize:folder structure rearrange
2022-02-18 20:50:15 +08:00
yifang
803ec13b98
Merge branch 'feature/encoding-char32' into staged
2022-02-18 20:16:07 +08:00
yifang
6781c465af
fix:make visual studio happy
2022-02-18 20:14:10 +08:00
yifang
c3f3f94258
clean:remove win specific vs files
2022-02-17 22:49:18 +08:00
yifang
b652d50291
optimize: wchar use builtin char32_t
...
optimize: wchar use builtin char32_t
2022-02-17 22:33:58 +08:00
yifang
81cff1f4d5
maclibs:rename libopencc.dylib to libopencc.1.1.dylib
2022-02-17 08:08:03 +08:00
xiaoyifang
fbcf1dfa83
macos: link opencc
...
name changed from opencc.2 to opencc
2022-02-15 00:08:15 +08:00
xiaoyifang
e2fe63f98f
action:add macos support
2022-02-12 21:04:00 +08:00
xiaoyifang
b7c2169695
winlib: update opencc to 2020-04-26
2022-02-11 21:54:14 +08:00
xiaoyifang
38e0a29daf
version:update version
2022-02-07 22:29:30 +08:00
xiaoyifang
0c94406e2a
fix merge conflict with feature/deprecated
2022-02-03 17:50:47 +08:00
xiaoyifang
c96a83f5d2
imp. remove mouseover32
2022-02-03 16:55:10 +08:00
yifang
4f486a928c
clean: remove unreach branch in goldendict.pro
2022-02-02 21:46:49 +08:00
xiaoyifang
b6fe4b007b
Merge branch 'feature/winlib' into staged
2022-02-02 14:59:37 +08:00
xiaoyifang
882d70a2a9
win specific:update ffmpeg libs
2022-02-02 14:32:03 +08:00
xiaoyifang
aa12bbe167
Merge branch 'branch-qt-5.15' into dev
2022-01-24 22:27:04 +08:00
yifang
c035cdc4ae
clean code:remove 'greaterThan(QT_MAJOR_VERSION, 4)'from goldendict.pro
2022-01-24 06:49:20 +08:00
xiaoyifang
edd873e7e4
fix : pro file minor changes . lrelease configuration
2022-01-22 18:45:27 +08:00
xiaoyifang
fb420d54d5
Merge branch 'branch-qt-5.15' into dev
2022-01-21 22:39:28 +08:00
xiaoyifang
f0d0a56ecc
clean code:remove qmake CONFIG 'old_hunspell' that means libhunspell > 1.5 from now on.
2022-01-21 16:16:22 +08:00
xiaoyifang
c25657e3c0
github action: package locale to zip
2022-01-20 19:56:07 +08:00
xiaoyifang
f047c5fc9c
Revert "imp. : wrap articleview in webchannel for security reason"
...
This reverts commit cf10810fe2
.
2022-01-19 22:39:04 +08:00
yifang
cf10810fe2
imp. : wrap articleview in webchannel for security reason
2022-01-19 20:50:17 +08:00
xiaoyifang
3ceb7dda36
improvement:pro file remove useless condition
2022-01-10 21:21:22 +08:00
xiaoyifang
bd6cc8b9c9
fix: resource scheme handler received finished signal twice,more likely to crash the webengine.
2022-01-09 09:52:40 +08:00
yifang
46b4151cc4
improve: replace all the deprecated method before 5.15
2022-01-08 22:08:23 +08:00
xiaoyifang
0c55c85339
fix conflict
2022-01-08 22:07:33 +08:00
yifang
0f1c0d4204
improve:right context menu active dictionaries
2022-01-08 14:51:24 +08:00
yifang
89b821d473
remove deprecated function
2021-12-26 19:01:05 +08:00
yifang
f292e0c251
add javascript qt object to html(used to communicate between html and c++)
...
add jquery framework .
2021-12-19 18:37:27 +08:00
xiaoyifang
cb5ac438fe
bword link in Hunspell dictionary.
2021-12-13 22:46:02 +08:00
xiaoyifang
5eac08c97a
rename qt4x5.hh to utils.hh
...
the filename qt4x5 is not proper now,for the qt4 version can never meet.and the qt5 is actually mean qt>5 .
2021-12-13 22:45:35 +08:00
xiaoyifang
ded545ecf3
fix dictionary parse error:
...
1,mdx dictionary load error in windows.
2,dsl dictionary load error in windows.
2021-10-19 00:19:25 +08:00
yifang
c1eef3a228
remove inspector -- useless code
2021-10-05 09:51:51 +08:00
xiaoyifang
0279273369
add gico scheme handler
2021-08-28 10:35:23 +08:00
xiaoyifang
4b7af3cf6c
webkit to webengine
2021-07-15 23:07:45 +08:00
xiaoyifang
3aadf52344
webkit to webengine
2021-07-15 22:58:32 +08:00
Abs62
b2e673961d
Add hi_IN.ts to project file
2021-03-09 17:53:48 +03:00
proletarius101
38d7193f49
Rename id in metadata and desktop entry to org.goldendict.GoldenDict
...
https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-id-generic
https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html#file-naming
2021-02-27 20:04:28 +08:00
Carmina16
78cdbcae50
Add Interlingue translation
...
Setup the Interlingue translation
2020-07-19 16:53:21 +07: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
6e85b27337
Add Zstd compression support for ZIM format
2020-05-27 14:13:08 +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
Kevin Zheng
d62b2d61ba
Fix build on FreeBSD
2019-04-01 17:10:10 -07:00
Vitaly Zaitsev
7ef50ba50f
Added AppData manifest file for modern package managers.
...
Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
2019-03-16 13:47:15 +01:00
Abs62
2d648829fa
Merge branch 'group-box-and-translate-line-fixes' of https://github.com/vedgy/goldendict into Temp
2019-02-03 19:44:32 +03:00
Abs62
68fc27b7d7
Win-specific: Add global hotkeys handling via low-level keyboard hook
2019-01-31 17:59:24 +03:00
Igor Kushnir
c88774151c
Remove unused form groupselectorwidget.ui
...
This form was added in the first git commit. However it was unused at
the time of that commit and has never been used since then.
2019-01-29 12:58:44 +02:00
Abs62
1640fb2ff4
Win-specific: Fix compilation with MS VC (issue #1088 )
2018-12-04 23:05:00 +03:00
Abs62
5559b5fe48
Favorites: Fix blocking of illegal move operations for Qt4 (issue #1059 )
2018-09-24 20:22:51 +03:00
Abs62
fd00e9d156
Fix gcc 7.3 compiler warnings (#issue 978)
2018-05-21 18:32:04 +03:00
Igor Kushnir
9aa3c44d4e
Add QMediaPlayer internal player back end (Qt5 only)
...
* add config and GUI support for internal player back end switching;
* make FFmpeg player disabling option consistent with other similar
qmake options by using CONFIG;
* add a new qmake option that disables Qt Multimedia player. This is
useful for GNU/Linux distributions where Qt WebKit and Qt Multimedia
packages depend on different GStreamer versions and don't work
correctly when combined in one application.
The existing FFmpeg+libao internal player back end has a relatively
low-level implementation, which is difficult to understand and improve.
There are at least 3 open internal player issues:
1) many GNU/Linux users have to edit their libao configuration file to
make Goldendict's internal player work (issue #412 );
2) libao's pulseaudio plugin does not support 32-bit audio, which
means that many MediaWiki pronunciations don't work with the most
popular GNU/Linux audio driver (issue #949 );
3) Ffmpeg::DecoderContext uses deprecated FFmpeg APIs, which causes
compiler warnings and means that this internal player back end
may not compile with a future FFmpeg library version (issue #978 ).
The Qt Multimedia back end implementation uses the highest-level
Qt audio API and is very simple.
This new back end works flawlessly on my GNU/Linux machine.
I'm not making it the default back end because I don't know how well
it will work on other platforms with different configurations.
2018-03-30 17:10:33 +03:00
Igor Kushnir
278e05cbf3
Run a single external audio player process at a time
...
External and internal audio players work similarly now. Fixes #950 .
* inherit a new ExternalAudioPlayer class from AudioPlayerInterface;
* use an existing ExternalViewer class to implement ExternalAudioPlayer;
* take (const char *, int) instead of std::vector<char> in
ExternalViewer constructor to fit into AudioPlayerInterface;
* extend ExternalViewer API to let ExternalAudioPlayer stop superseded
audio player processes;
* make AudioPlayerInterface::play() return an error message string to
allow reporting immediate failures from derived classes;
* Document AudioPlayerInterface API;
* Document AudioPlayerFactory::player();
* use the common audio interface exclusively in ArticleView.
2018-03-24 21:34:06 +02:00
Igor Kushnir
e5045860ef
Make adding new audio player implementations easy
...
* add a new interface class AudioPlayerInterface;
* inherit a new proxy class Ffmpeg::AudioPlayer from it;
* partially switch ArlticleView to using the interface;
* expose MainWindow's AudioPlayerInterface instance to all ArticleView
instances;
* add a new AudioPlayerFactory class responsible for creating instances
of concrete classes derived from AudioPlayerInterface depending on
relevant Config::Preferences values;
* increase minimum supported Qt version from 4.5 to 4.6 in README
in order to use QScopedPointer introduced in Qt 4.6.
2018-03-24 21:31:48 +02:00
Abs62
c204f75e52
Qt5: Use QRegularExpression instead of QRegExp in many cases
2018-02-22 16:55:56 +03:00
Abs62
46a4509101
Mac-specific: Update hunspell library to version 1.6.1
2017-07-05 18:19:40 +03:00
Abs62
bef2bf86c6
Update code for libhunspell 1.5+
2017-07-05 17:58:43 +03:00
sunwxg
ad8008c37b
Add scan popup flag
...
After select a word, show a flag window, click the flag to show
popup window.
2017-06-05 21:15:38 +08:00
Abs62
1e34de2dbc
Add "Favorites" feature
2017-05-12 17:41:08 +03:00
Abs62
eb78238f25
Add support for split zip files
2017-04-24 17:42:01 +03:00
Abs62
eba7f5578f
Add support for GLS (Babylon source) format
2017-03-07 16:45:09 +03:00
Abs62
6386d1d70e
Merge branch 'locale-fi' of https://github.com/sikmir/goldendict into Temp
...
# Conflicts:
# goldendict.pro
# goldendict.vcxproj
# goldendict.vcxproj.filters
2016-11-24 07:52:42 +03:00
Nikolay Korotkiy
bbcf5a16d2
Register Esperanto translation
2016-11-24 04:46:50 +03:00
Nikolay Korotkiy
340548544a
Register Finnish translation
2016-11-24 04:39:46 +03:00
Abs62
526d9d1bf8
Mac-specific: Copy 64-bit OpenCC data into GoldenDict bundle by default (issue #694 )
2016-05-02 14:11:56 +03:00