Xiao YiFang
41d05cb27a
feature: enhance clipboard data processing
...
when copied text from some applications such as Kindle PC, the copied text will have extra informations added by
the application . This option used to strip the added text away
2022-12-13 21:42:53 +08:00
Xiao YiFang
e107350b51
action: add log
2022-12-13 20:07:18 +08:00
Xiao YiFang
99bfb1c965
fix: reset style when changed from darkmode to normal
2022-12-13 20:01:18 +08:00
xiaoyifang
dc81654257
action:changelog
2022-12-13 19:53:04 +08:00
xiaoyifang
d809ca0e2d
Merge pull request #252 from xiaoyifang/fix/version-normalize
...
change version.txt to latest git tag
2022-12-13 15:38:12 +08:00
xiaoyifang
f0a6bc077b
change version.txt to latest git tag
2022-12-13 15:21:53 +08:00
xiaoyifang
fc0ad83879
winspecific: revert darkmode regression ,keep windows default style
...
when starting in windows for the first time
2022-12-12 09:47:47 +08:00
Xiao YiFang
1507bf9c6c
remove redundant logic
...
these lines seems not needed
2022-12-11 19:15:30 +08:00
Xiao YiFang
2263dfc8da
fix: qt warning when parsing unknown color attribute
...
related to goldendict/goldendict#1578
2022-12-11 12:44:30 +08:00
Xiao YiFang
d969b63c1e
add experimental darkmode
...
relate #188
2022-12-11 09:29:33 +08:00
xiaoyifang
fceee66f10
Merge pull request #250 from xiaoyifang/fix/ffmpeg-minor-fix
...
ffmpeg , replace avformat_open_input's second parameter to NULL
2022-12-09 22:11:59 +08:00
xiaoyifang
f8ed6d2bc5
ffmpeg , replace avformat_open_input's second parameter to NULL
...
the 2nd parameter is useless when context->pd is not null
2022-12-09 15:37:33 +08:00
xiaoyifang
7eef001eca
action:Ubuntu22 require libfuse2.so to create appimage
2022-12-09 09:04:21 +08:00
Xiao YiFang
5757fff5a6
fix: qprocess error signal is changed to errorOccurred()
...
fixed #238
2022-12-07 20:20:57 +08:00
xiaoyifang
f8db78be34
fixed issue #246 , security warning.
2022-12-07 09:16:20 +08:00
xiaoyifang
55d13305ca
Update readme.txt
2022-12-07 09:09:45 +08:00
xiaoyifang
90c1dbb8b9
action: sonar check ( #243 )
...
* action:sonar check
Co-authored-by: xiaoyifang <yifang.xiao@noreply.com>
2022-12-05 20:55:52 +08:00
xiaoyifang
03d92168c9
action: sonar check
2022-12-05 13:39:30 +08:00
xiaoyifang
d48e9dd0f8
Merge pull request #241 from xiaoyifang/fix/replace-sources-icon
...
replace sources dialog icon
2022-12-05 13:35:29 +08:00
xiaoyifang
41fec4bb08
replace soures dialog icon
2022-12-05 11:28:29 +08:00
xiaoyifang
0895ad96fd
Merge pull request #240 from xiaoyifang/fix/icons-license
...
replace by-sa-2.0 icons
2022-12-05 10:49:28 +08:00
xiaoyifang
e462a5c43e
action: sonarcloud action
2022-12-05 10:43:06 +08:00
xiaoyifang
def764e5ac
replace by-sa-2.0 icons
2022-12-05 10:21:50 +08:00
xiaoyifang
20410f50e7
style: ffmpeg format code
2022-12-05 09:56:59 +08:00
Xiao YiFang
2fc4af11a8
action: add sonar build action
2022-12-04 19:58:54 +08:00
Xiao YiFang
4ba3bde576
epwing ,fix reference link not found
2022-12-04 14:15:19 +08:00
xiaoyifang
1e29bbd5ba
Create sonar-project.properties
2022-12-02 14:53:36 +08:00
xiaoyifang
e80b277e90
Create build.yml
2022-12-02 14:34:21 +08:00
Xiao YiFang
21451c3ed1
translation: make some format modification in the zh_CN welcome page.
2022-12-01 21:04:09 +08:00
Xiao YiFang
e99431fa14
style:fix style warning
2022-12-01 20:52:20 +08:00
Xiao YiFang
4e0219adea
clean:remove meaningless log
2022-12-01 19:41:56 +08:00
xiaoyifang
b285749a35
Revert "fix: right mouse on the history panel and favorite panel should not trigger the click event."
...
This reverts commit 80fdb8cb82
.
2022-12-01 10:19:48 +08:00
Xiao YiFang
c8014b482a
ffmpeg decode audio to pcm, remove noise .
2022-11-29 21:19:31 +08:00
Xiao YiFang
131b00e728
accidently replace the eb github url
2022-11-29 20:48:24 +08:00
Xiao YiFang
82aea3ec33
remove ffmpeg deprecated method
2022-11-29 20:20:03 +08:00
Xiao YiFang
c239973e16
fix: can not play some certain audio files
2022-11-29 20:20:03 +08:00
shenlebantongying
3f0ca1e456
cmake: add zim to linux and macOS ( #234 )
2022-11-29 13:37:24 +08:00
xiaoyifang
9c95ec2ac5
Merge pull request #231 from shenlebantongying/staged
...
Refactor: Replace `sptr` with `shared_ptr`
2022-11-29 13:36:52 +08:00
shenleban tongying
4452c06c3e
Replace sptr with std::shared_ptr
...
* Make sptr an alias of std::shared_ptr
* Make old sptr's implicit conversion explict through std::make_shared
2022-11-28 22:54:31 -05:00
xiaoyifang
732def3945
Merge pull request #233 from xiaoyifang/fix/qt-action
...
revert qt-install-action to original version
2022-11-29 10:56:03 +08:00
Xiao YiFang
e7d4805e95
revert qt-install-action to original action
2022-11-29 10:16:06 +08:00
shenlebantongying
5a284d5c66
Implement "goldendict://nice" url scheme handler for windows and linux ( #227 )
...
* windows: add url scheme goldendict://
* linux: add url scheme goldendict:// handler
2022-11-28 09:24:49 +08:00
Xiao YiFang
53d443357b
Merge remote-tracking branch 'gd/master' into staged
2022-11-27 08:55:06 +08:00
Igor Kushnir
02c02829f7
Qt 5.14+: don't use deprecated QString::SkipEmptyParts
...
This change fixes the following GCC warnings:
warning: ‘QString::SkipEmptyParts’ is deprecated [-Wdeprecated-declarations]
warning: ‘QStringList QString::split(const QString&, SplitBehavior, Qt::CaseSensitivity) const’ is deprecated: Use split(const QString &sep, Qt::SplitBehavior ...) variant instead [-Wdeprecated-declarations]
warning: ‘QStringList QString::split(QChar, SplitBehavior, Qt::CaseSensitivity) const’ is deprecated: Use split(QChar sep, Qt::SplitBehavior ...) variant instead [-Wdeprecated-declarations]
warning: ‘QStringList QString::split(const QRegExp&, SplitBehavior) const’ is deprecated: Use split(const QRegularExpression &, Qt::SplitBehavior) variant instead [-Wdeprecated-declarations]
warning: ‘QStringList QString::split(const QRegularExpression&, SplitBehavior) const’ is deprecated: Use split(const QRegularExpression &, Qt::SplitBehavior) variant instead [-Wdeprecated-declarations]
2022-11-26 20:41:19 +03:00
Xiao YiFang
254aa6c23c
Merge branch 'gd-master' into staged
2022-11-26 11:36:19 +08:00
Xiao YiFang
6ae53a8867
Merge commit 'd1ff165' into staged
2022-11-26 11:35:58 +08:00
Xiao YiFang
c6baa39c6b
Merge commit 'f0b66f7' into staged
2022-11-26 11:35:42 +08:00
shenlebantongying
b7e4afbd5b
Add alternative build method "CMakeLists.txt" ( #218 )
...
* Add "CMakeLists.txt"
* cmake: initial macOS support
* cmake: initial windows support
* cmake: improve styles
* cmake: add FFmpeg for Linux and macOS
* cmake: add FFmpeg to macOS
* cmake: Carbon typo
* cmake: add epwing to macOS
* cmake: correctly install all files on linux
* cmake: Abolish vcpkg and use winlibs/
* cmake: set version.txt timestamp
* cmake: revert config.cc change
* cmake: remove outdated comment
2022-11-26 11:23:08 +08:00
Igor Kushnir
5034348c1a
Allow silencing failed-loading-resource warnings
...
When a referenced audio resource is not found in a DSL or XDXF
dictionary, GoldenDict searches for this resource by filename in all
other dictionaries within the current group. Naturally, the file is
absent from most dictionaries (see #970 ). Therefore a "Failed loading
resource" warning is printed for almost every dictionary in the current
group.
These warnings are by far the most frequent on my system. And in the
scenario described above there is nothing wrong at all. So the user may
want to silence these warnings to help notice less frequent and more
important messages. Implement categorized logging to enable this
customization. These warnings can now be disabled by adding the
following line in the [Rules] section of a logging configuration file
(e.g. ~/.config/QtProject/qtlogging.ini on GNU/Linux):
goldendict.dictionary.resource.warning=false
See also https://doc.qt.io/qt-5/qloggingcategory.html#logging-rules
2022-11-25 22:48:38 +03:00
Igor Kushnir
a61b203de7
Extract TO_LOG_MESSAGE()
2022-11-25 22:48:38 +03:00