7358 Commits

Author SHA1 Message Date
John Maguire
94630bd58b
Merge pull request #6502 from jonaski/desktopwidget
Replace all uses of QDesktopWidget with QScreen
2020-01-05 00:29:33 +00:00
John Maguire
a240818b6c
Merge pull request #6501 from jonaski/compilations
Fix songs stuck in various artists
2020-01-05 00:28:15 +00:00
John Maguire
b10cc71c76
Merge pull request #6500 from jonaski/pixmapcache
Remove pixmap cache and pending art when removing parent nodes instead
2020-01-05 00:27:36 +00:00
John Maguire
98473157d9
Merge pull request #6499 from jonaski/macos-librarywatcher
Fix macOS filesystem listener (library watcher)
2020-01-05 00:26:57 +00:00
John Maguire
b7dc883a13
Merge pull request #6498 from jonaski/cmake
Add project to CMakeLists
2020-01-05 00:26:09 +00:00
Jonas Kvinge
9e3461f818 Fix formatting 2020-01-04 21:24:31 +01:00
Jonas Kvinge
6a8f70285f Replace all uses of QDesktopWidget with QScreen 2020-01-04 21:18:12 +01:00
Jonas Kvinge
39934dc302 Fix songs stuck in various artists 2020-01-04 18:27:42 +01:00
Jonas Kvinge
651965b905 Fix formatting 2020-01-04 18:12:44 +01:00
Jonas Kvinge
250b5ca0a6 Remove pixmap cache and pending art when removing parent nodes instead 2020-01-04 18:07:34 +01:00
Jonas Kvinge
a4a8726ddf Fix formatting 2020-01-04 17:44:07 +01:00
Jonas Kvinge
30413767cb Fix macOS filesystem listener (library watcher) 2020-01-04 17:38:55 +01:00
Jonas Kvinge
af62df4db8 Add project to CMakeLists 2020-01-04 17:15:58 +01:00
John Maguire
0308a3f9a5
Merge pull request #6495 from jbroadus/update-libmygpo-qt
Update to libmygpo-qt 1.1.0.
2020-01-04 00:42:57 +00:00
Jim Broadus
c246142951 Update to libmygpo-qt 1.1.0.
The updates include:
- The ability to specify a custom gpodder service.
- Use https instead of http for gpodder.net.
- A fix that prevents encoded URLs from being re-encoded.
2020-01-02 20:17:55 -08:00
John Maguire
2aa81af6ca 1.4 rc1 1.4.0rc1 2020-01-02 20:59:23 +00:00
John Maguire
ba6879e908 Copy all release artifacts to one dir for ghr 2020-01-02 20:04:25 +00:00
John Maguire
702d69ee06 Upload all artifacts on release 2020-01-02 17:14:21 +00:00
Clementine Buildbot
eec38a64d1 Automatic merge of translations from Transifex (https://www.transifex.com/projects/p/clementine/resource/clementineplayer) 2020-01-02 17:06:49 +00:00
John Maguire
e6e8090371
Merge pull request #6492 from jbroadus/fix-smartplaylist-crash
Fix smartplaylist crash
2020-01-02 17:04:11 +00:00
John Maguire
4ec427c097
Merge pull request #6490 from jbroadus/gpodder-login-cleanup
Gpodder login cleanup.
2020-01-02 17:03:28 +00:00
Jim Broadus
a164a5dffa Fix smart playlist crash.
When QProxyStyle is given a base style, it take ownership of that object.
PlaylistView creates a proxy style based on its own style, but that is a shared
resource. When the PlayListView is destroyed, this object is destroyed.

Instead of passing style() to QStyle, pass nullptr. This will use the native
style.
2020-01-01 22:30:59 -08:00
Jim Broadus
963b272c4b Don't crash if smartplaylist wizard plugin is not found. 2020-01-01 22:30:56 -08:00
Jim Broadus
e32ba7eac5 Gpodder login cleanup.
It's not necessary for the PodcastSettingsPage class to have knowledge of
GPodderSync's login implementation. Handling the network reply in a single
location sightly simplifies the code. It also makes the handling order
more deterministic.
2019-12-30 20:58:30 -08:00
John Maguire
9f99cab314
Merge pull request #6489 from jbroadus/fix-gpodder-logout
Reset gpodder session cookies on logout.
2019-12-30 23:45:12 +00:00
Jim Broadus
a1da067002 Reset gpodder session cookies on logout.
A sessionid cookie is stored when logging in to gpodder. After logging out, a
subsequent login with the same user name but incorrect password will succeed,
ignoring the authorization header. The incorrect password will be stored for
future use.

To fix this, reset the cookie jar for GPodderSync's network access manager at
logout.
2019-12-30 14:19:08 -08:00
John Maguire
eeb9f7e303 Use a newer version of go for ghr 2019-12-30 20:30:22 +00:00
John Maguire
98e6061a3b
Merge pull request #6488 from clementine-player/release-on-tag
Use proper git/ssh versions
2019-12-30 18:18:09 +00:00
John Maguire
7d44268c0d Use proper git/ssh versions 2019-12-30 17:48:33 +00:00
John Maguire
240ba7b487
Merge pull request #6487 from clementine-player/release-on-tag
Create github release on tag
2019-12-30 00:55:21 +00:00
John Maguire
3a3113b784 Create github release on tag 2019-12-30 00:53:00 +00:00
John Maguire
d0ea1033a1
Build source tarball (#6486) 2019-12-29 23:50:53 +00:00
John Maguire
51c5939ba6 Set version 2019-12-29 21:16:57 +00:00
John Maguire
f9d4cd9f0d
Merge pull request #6485 from jbroadus/fix-gpodder-error-leak
Fix gpodder sync memory leaks in success cases.
2019-12-29 21:01:20 +00:00
John Maguire
5ee0a63a4f Try unlinking python2 first 2019-12-29 20:35:20 +00:00
Jim Broadus
36179a7197 Fix gpodder sync memory leaks in success cases.
A closure created by NewClosure that handles Qt signals is destroyed if the
signal object is destroyed, the slot object is destroyed, or the signal is
invoked. In the case where the sender is passed as a shared pointer, the
reference prevents the sender from being destroyed before the closure.

So for closures built to handle responses returned from ApiRequest in
GPodderSync, the closure object and the response object will only be destroyed
after the signal is invoked. In some cases, separate closures are built for
error signals as well. For these, only one closure will be destroyed. The other
closures and the response object will be leaked.

A simple fix for the success cases is to remove the unnecessary error case
closures and directly connect the signals to slots. This is low hanging fruit
and still leaves leaks in the error cases. Those cases will require a more
complete solution to properly manage the life cycle of the response object.
2019-12-29 10:11:29 -08:00
John Maguire
8f0f24f393 gettext & sqlite seem to already be installed 2019-12-29 17:10:51 +00:00
Clementine Buildbot
9e73aae821 Automatic merge of translations from Transifex (https://www.transifex.com/projects/p/clementine/resource/clementineplayer) 2019-12-29 16:40:32 +00:00
John Maguire
0d6279c983 Try running builds for tags 2019-12-29 16:37:23 +00:00
John Maguire
922e10bc48
Merge pull request #6480 from jbroadus/gpodder-timeout
Add timeouts for gpodder requests.
2019-12-26 21:42:23 +00:00
Jim Broadus
5e7e57df73 Set a 30 second timeout for gpodder requests. 2019-12-25 23:53:47 -08:00
Jim Broadus
77d5d8bdea Add a timeout option to NetworkAccessManager.
In most cases, timeouts can be applied to a reply after a request has been made.
But some APIs, such as libmygpo-qt, don't always provide access to the reply or
provide abort methods. For these cases, add an optional timeout to
NetworkAccessManager. If set, create a NetworkTimeouts instance in createRequest
and add the reply. Use the reply as the parent so that it is destroyed when the
reply is destroyed.
2019-12-25 23:53:45 -08:00
Clementine Buildbot
82b185c087 Automatic merge of translations from Transifex (https://www.transifex.com/projects/p/clementine/resource/clementineplayer) 2019-12-24 00:25:44 +00:00
John Maguire
fb51e7733c
Remove reference to buildbot 2019-12-16 13:55:11 +00:00
Clementine Buildbot
90a237716a Automatic merge of translations from Transifex (https://www.transifex.com/projects/p/clementine/resource/clementineplayer) 2019-12-15 11:23:45 +00:00
John Maguire
9eeb6d3758
Merge pull request #6475 from rohtie/bugfix-position-not-resumed
Fix resuming playback position on startup
2019-12-15 11:21:00 +00:00
Thor Merlin Lervik
715da8909f Fix resuming playback position on startup 2019-12-14 17:22:16 +01:00
John Maguire
672b90659b
Merge pull request #6472 from cquike/xdg
Support  for XDG_CONFIG_HOME and XDG_CACHE_HOME
2019-12-10 18:56:41 +00:00
Cesar Enrique Garcia Dabo
a7ad66d028 Fix issues reported by clang-format 2019-12-10 18:45:06 +01:00
Cesar Enrique Garcia Dabo
397145d21f Remove obsolete forced setting of XDG_CONFIG_HOME.
Apparently this was introduced in 2011 as a workaround to solve a problem in
libimobiledevice. However already in 2013 the problem was solved
in libimobiledevice:
b811fbb05b
2019-12-10 18:05:55 +01:00