1
0
mirror of https://github.com/clementine-player/Clementine synced 2025-02-01 20:06:53 +01:00

8076 Commits

Author SHA1 Message Date
diracsbracket
66a34a906a Removed unneeded empty arguments already provided by defaults 2021-04-28 21:51:12 +01:00
diracsbracket
444f1e2e69 clang-format correction 2021-04-28 21:51:12 +01:00
diracsbracket
b7a995d223 Re-added log message for URL and mime-type. 2021-04-28 21:51:12 +01:00
diracsbracket
fb391a7fbe Optimization to avoid save+delete of remote playlists to temporary file 2021-04-28 21:51:12 +01:00
John Maguire
8fddc816a0 Remove unsupported FC31 build 1.4.0rc1-579-g8fddc816a 2021-04-27 18:08:18 +01:00
John Maguire
d59ed1e704 Add Fedora Core 34 workflow 1.4.0rc1-578-gd59ed1e70 2021-04-27 17:23:18 +01:00
Clementine Buildbot
fc83e41279 Automatic merge of translations from Transifex 1.4.0rc1-577-gfc83e4127 2021-04-27 02:57:12 +00:00
Clementine Buildbot
7e48b78c15 Automatic merge of translations from Transifex 1.4.0rc1-576-g7e48b78c1 2021-04-26 03:01:00 +00:00
Clementine Buildbot
94f4f65a60 Automatic merge of translations from Transifex 1.4.0rc1-575-g94f4f65a6 2021-04-25 03:01:19 +00:00
Clementine Buildbot
b2ed9499f6 Automatic merge of translations from Transifex 1.4.0rc1-574-gb2ed9499f 2021-04-24 02:56:55 +00:00
Jim Broadus
8258c78c0b dbus: Fix signal arg annotations
An earlier change attempted to fix qdbusxml2cpp parsing errors by adding
directions to arguments. However, signal arguments are always out and it
was the annotations that were incorrect.

Fixes: f17b79a10 (dbus: Fix qdbusxml2cpp unknown type warnings., 2021-04-19)
Reference: https://dbus.freedesktop.org/doc/dbus-specification.html
1.4.0rc1-573-g8258c78c0
2021-04-22 11:24:12 +01:00
Jim Broadus
59f6d95b80 clementine-tagreader: Fix addDefaultCaCertificates deprecation
QSslSocket::addDefaultCaCertificates is deprecated in 5.15. Use
QSslConfiguration default configuration instead.
1.4.0rc1-572-g59f6d95b8
2021-04-22 11:23:50 +01:00
Jim Broadus
5f75bde396 libclementine-common: Use positive numbers for worker ids.
QRandomGenerator::generate() returns an unbounded int32, while the legacy
qrand method always returned a positive number. When generating a tag
reader ID with QRandomGenerator, cast the random value to an unsigned so
that it is formatted as a positive number in the name.

Note that most usages of QRandomGenrator in the codebase use bounded()
instead of generate(), and should work as expected.
1.4.0rc1-571-g5f75bde39
2021-04-22 11:21:08 +01:00
Jim Broadus
73c0af1977 Remove expired Equifax CA root
The Equifax certificate expired in 2018, so any certificate that was
signed by that CA should also be expired.
1.4.0rc1-570-g73c0af197
2021-04-21 10:24:53 +01:00
Jim Broadus
f17b79a105 dbus: Fix qdbusxml2cpp unknown type warnings.
Add direction attributes to args where qdbusxml2cpp was looking for the
incorrect annotation.
1.4.0rc1-569-gf17b79a10
2021-04-21 10:24:09 +01:00
Clementine Buildbot
c51d2f954e Automatic merge of translations from Transifex 1.4.0rc1-568-gc51d2f954 2021-04-21 02:57:30 +00:00
Jim Broadus
280a514ebc dbus: Fix annotation deprecation warnings
The com.trolltech was renamed to org.qtproject. The code generation tool
still handles the old name, but prints a deprecation error.

Reference: https://bugreports.qt.io/browse/QTBUG-23274
1.4.0rc1-567-g280a514eb
2021-04-20 22:49:21 +01:00
Jim Broadus
f04657e7e7 Replace qrand usage with QRandomGenerator
QRandomGenerator was introduced in 5.10 and qrand has since been
deprecated. QRandomGenerator::global() returns a global instance that
has been securely seeded. QRandomGenerator provides methods that
generate values within ranges, so taking a modulus of the result isn't
necessary.
1.4.0rc1-566-gf04657e7e
2021-04-20 10:31:07 +01:00
Jim Broadus
6b21079fd4 dbus: Fix xml format errors. 1.4.0rc1-565-g6b21079fd 2021-04-20 10:30:06 +01:00
Jim Broadus
429d8ee0f9 core/logging: Fix QString::split deprecation
QString::SplitBehavior is deprecated in 5.14. Use Qt::SplitBehavior
after this version.
1.4.0rc1-564-g429d8ee0f
2021-04-19 10:25:31 +01:00
Jim Broadus
163ebe71d8 libclementine-tagreader: Discontinue use of deprecated taglib methods.
Direct use of MP4::itemListMap() was deprecated in favor of using item() and
setItem(). XiphComment::removeField was replaced by removeFields.
1.4.0rc1-563-g163ebe71d
2021-04-18 13:48:13 +01:00
Jim Broadus
99ee1394a5 build: Remove CMP0012 NEW policy
This policy is already enabled by default. This may have originally
been a typo since it was added in the same commit where CMP0011 was set
to OLD in the top-level cmake file (b63d1cf9f1).
1.4.0rc1-562-g99ee1394a
2021-04-18 13:47:10 +01:00
Jim Broadus
3690c41cb0 build: Remove CMP0011 OLD policy
This policy allowed included files and modules to affect policy in the
parent scope. Besides the top level, 3rdparty/libprojectm is the only
place where old policy is set.

Reference: https://cmake.org/cmake/help/latest/policy/CMP0011.html
2021-04-18 13:47:10 +01:00
Clementine Buildbot
7303f72ee8 Automatic merge of translations from Transifex 1.4.0rc1-560-g7303f72ee 2021-04-18 02:57:04 +00:00
Jim Broadus
e7364263b2 build: Move minimum cmake version to 3.0.0
Compatibility with versions prior to 2.8.12 is being deprecated,
resulting in build warning messages. The minimum for the official
supported distros is 3.7.2 (Stretch), so the version could be moved
forward when newer features are required.

Reference: https://cmake.org/cmake/help/v3.19/release/3.19.html#deprecated-and-removed-features
1.4.0rc1-559-ge7364263b
2021-04-17 16:24:46 +01:00
Clementine Buildbot
47f7b307f0 Automatic merge of translations from Transifex 1.4.0rc1-558-g47f7b307f 2021-04-15 02:55:43 +00:00
Clementine Buildbot
009642d125 Automatic merge of translations from Transifex 1.4.0rc1-557-g009642d12 2021-04-13 02:59:37 +00:00
Jim Broadus
3440f90a6b playbacksettings: Don't try to load empty icons
When populating output options, don't attempt to load an icon if that
field is empty. This cuts some log noise.
1.4.0rc1-556-g3440f90a6
2021-04-12 10:58:46 +01:00
Clementine Buildbot
32944a15de Automatic merge of translations from Transifex 1.4.0rc1-555-g32944a15d 2021-04-12 02:58:52 +00:00
Clementine Buildbot
2d34588b84 Automatic merge of translations from Transifex 1.4.0rc1-554-g2d34588b8 2021-04-11 02:57:39 +00:00
Jim Broadus
a86558f9a6 playlist: Fix queued item painting
QueuedItemDelegate::DrawBox leaves the painter in a state that can cause
artifacts. Specifically, there are cases where the item text is not
visible. To fix this, push the painter state before making changes and
pop it after drawing.
1.4.0rc1-553-ga86558f9a
2021-04-10 14:58:36 +01:00
Jim Broadus
db55c541b2 Revert "↑↓ for "Up" and "Down" (#5841)"
This reverts commit 566708b778ee0bd3a99df525251a819cd2ef382c.

Escape sequences are not legal key sequences.

Reference: https://doc.qt.io/qt-5/qkeysequence.html#details
1.4.0rc1-552-gdb55c541b
2021-04-10 14:57:55 +01:00
Clementine Buildbot
144bdc2495 Automatic merge of translations from Transifex 1.4.0rc1-551-g144bdc249 2021-04-09 02:55:40 +00:00
Clementine Buildbot
72c1f91c00 Automatic merge of translations from Transifex 1.4.0rc1-550-g72c1f91c0 2021-04-08 03:00:17 +00:00
Jim Broadus
e8875faf83 visualisations: Properly scale projectM view
In version 5.6, Qt introduced an automatic scaling feature for high DPI
displays. Since projectM is not part of the Qt framework, it's necessary
to convert coordinates when specifying view size.

Reference: https://doc.qt.io/qt-5/highdpi.html
1.4.0rc1-549-ge8875faf8
2021-04-07 21:49:18 +01:00
Fabio Bas
354f6a23e0 snake_case for variable names; reworked url resolution signals 1.4.0rc1-548-g354f6a23e 2021-04-07 14:22:15 +01:00
Fabio Bas
91e1e5880d Fix compilation on older Qt, use Player::SongChangeRequestProcessed() signal to handle station play count 2021-04-07 14:22:15 +01:00
Fabio Bas
cd561af516 radiobrowser url handler: emit metadata for radio stations 2021-04-07 14:22:15 +01:00
Clementine Buildbot
2d6bb4abd6 Automatic merge of translations from Transifex 1.4.0rc1-545-g2d6bb4abd 2021-04-07 03:00:29 +00:00
Jim Broadus
3b8519fda3 internet: Move page creation to internet category class
This consolidates most of the knowledge of internet settings pages in
the internet subdirectory. The exception is the master page enumeration
in the settings dialog.
1.4.0rc1-544-g3b8519fda
2021-04-06 14:05:00 +01:00
Jim Broadus
1de6a46e86 internet: Add InternetSettingsCategory class 2021-04-06 14:05:00 +01:00
Clementine Buildbot
8a7120e1e8 Automatic merge of translations from Transifex 1.4.0rc1-542-g8a7120e1e 2021-04-06 02:58:50 +00:00
Clementine Buildbot
e077df22d3 Automatic merge of translations from Transifex 1.4.0rc1-541-ge077df22d 2021-04-05 02:58:16 +00:00
Clementine Buildbot
4f86e0b2b4 Automatic merge of translations from Transifex 1.4.0rc1-540-g4f86e0b2b 2021-04-04 02:58:52 +00:00
Jim Broadus
2804a4d89f gstengine: Make output format configurable
Add an output format option in playback settings. The options are
Detect, S16LE, and F32LE. Selecting Detect will use the existing
behavior and detect the native format when the pipeline starts. The
other options will set the format when the pipeline is built.
2021-04-03 13:56:22 +01:00
Clementine Buildbot
15fdad3d51 Automatic merge of translations from Transifex 1.4.0rc1-538-g15fdad3d5 2021-04-03 02:57:07 +00:00
Jim Broadus
ada6752eae gstengine: Don't modify caps when pipeline is running
When the decoder bin's src pad is added, only set caps to use the native
bit depth if the the pipeline is not already running.
1.4.0rc1-537-gada6752ea
2021-04-02 16:42:44 +01:00
Jim Broadus
4edf77082d settings: Remove unused page enum value
Remove unused Page_SoundCloud from SettingsDialog::Page.
1.4.0rc1-536-g4edf77082
2021-04-02 16:41:30 +01:00
Jim Broadus
ae8a420690 settings: Move AddPage to SettingsCategory
This will allow future subclasses of SettingsCategory to populate their
own pages.
2021-04-02 16:41:30 +01:00
Clementine Buildbot
d13410c91d Automatic merge of translations from Transifex 1.4.0rc1-534-gd13410c91 2021-04-02 03:02:29 +00:00