Commit Graph

7622 Commits

Author SHA1 Message Date
John Maguire 5123d1dd37
Merge pull request #6505 from jonaski/fallthrough
Add fallthrough comment where fallthrough is intended
2020-01-05 00:30:24 +00:00
John Maguire cfa3ea0dca
Merge pull request #6503 from jonaski/darker
Replace use of QColor::dark and QPalette::background
2020-01-05 00:30:04 +00:00
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 52180a7484 Fix layouts with duplicate name in SmartPlaylistSearchTermWidget 2020-01-05 01:15:58 +01:00
Jonas Kvinge 5eb32b33c1 Replace QSet::toList() with QSet::values() 2020-01-05 00:58:33 +01:00
Jonas Kvinge b4fc6d96bf Fix formatting 2020-01-05 00:48:51 +01:00
Jonas Kvinge 35a0beb8a8 Replace use of QtMac::toCGImageRef with QImage::toCGImage 2020-01-05 00:46:54 +01:00
Jonas Kvinge ddc8a5f010 Initialize QObject in constructor and add explicit 2020-01-05 00:21:04 +01:00
Jonas Kvinge 7f6e7f8b30 Fix formatting 2020-01-05 00:17:18 +01:00
Jonas Kvinge f81a3aa8d8 Replace use of QString::sprintf with QString::asprintf 2020-01-05 00:12:32 +01:00
Jonas Kvinge a70537b83f Replace use of QStyleOptionFrameV3 2020-01-04 23:40:12 +01:00
Jonas Kvinge 39cdb7fc3f Add fallthrough comment where fallthrough is intended 2020-01-04 23:29:19 +01:00
Jonas Kvinge 4c157a95dd Replace use of QPalette::background with QPalette::window 2020-01-04 23:01:02 +01:00
Jonas Kvinge 28bbb74c26 Replace use of QColor::dark with QColor::darker 2020-01-04 23:00:40 +01: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
Jim Broadus 590d7f3823 Add an option to specify a gpodder server.
Add an "Advanced Settings" option to the gpodder sign in. If selected, a fully
qualified URL must be specified as the gpodder base. Upon successful login, the
URL is saved along with username and password. If advanced settings are not
selected, an empty URL is stored and the default will be used.
2020-01-03 22:46:15 -08: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 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