Commit Graph

3783 Commits

Author SHA1 Message Date
John Maguire a09165c392 Make it more obviously wrong to use the Closure internals. 2012-03-20 15:14:44 +01:00
David Sansome c1c6aa099b Pass results' QSharedPointers to reply slots instead of bare pointers 2012-03-19 21:17:15 +00:00
John Maguire e4ae4b6df5 Remove poor man's static asserts. 2012-03-19 21:19:24 +01:00
John Maguire c4d3062459 Make the SharedClosure implementation a bit less horrible. 2012-03-19 21:17:57 +01:00
Arnaud Bienner 627ae372d4 Better check resizeEvent' size. Otherwise, the nowplayingwidget isn't always resized (even if it should), particulary at startup, when starting playing 2012-03-19 20:42:19 +01:00
David Sansome bb69d7d53a Revert libmygpo-qt revision 8f35be2da45d74c42672d3d787ef65fb8b14d0dd ("Return normal pointers from ApiRequest methods, so they can be used in Clementine's closures, and deleteLater() in a slot connected to their finished() signal doesn't crash"), and do closure connections using the shared pointers 2012-03-19 19:38:40 +00:00
David Sansome d7a5af07fb Copy+paste the shared pointer closure constructor a couple of times for different numbers of arguments. 2012-03-19 19:38:36 +00:00
David Sansome 46e930f5c9 Merge branch 'closure' 2012-03-19 19:38:30 +00:00
Arnaud Bienner 0ba3443519 Move all the appearance settings page's components values initialization in Load().
Otherwise, when clicking on Cancel, and opening the page again, values will be the last ones selected, not the last choosen (and validated) by the user.
2012-03-19 20:06:29 +01:00
John Maguire e1d77e0124 Add support for QSharedPointer in Closure. 2012-03-19 19:37:57 +01:00
John Maguire 1a4bfd3ebe Add small unit test for closure. 2012-03-19 19:37:57 +01:00
Clementine Buildbot 9a17356389 Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2012-03-19 10:06:43 +01:00
Arnaud Bienner a9e36711da Merge branch 'master' of https://code.google.com/p/clementine-player 2012-03-18 23:24:18 +01:00
Arnaud Bienner b9d449f3b0 Fadeout when player stop.
+ Also clear all background images when changing background image type to something different from AlbumCover or Custom
+ Remove useless code
2012-03-18 19:22:08 +01:00
john.maguire cd193b0d7f Fix typo in cast. 2012-03-17 15:11:21 +00:00
Arnaud Bienner 9dff2dd0b1 Give background_type a default value, as some compilers sometimes wrongly assume that it might be used uninitialized 2012-03-17 13:34:29 +01:00
Arnaud Bienner e9378e0a9a Merge branch 'master' of https://code.google.com/p/clementine-player 2012-03-17 13:04:07 +01:00
Arnaud Bienner ab0a050855 Add a fading animation when background image change 2012-03-16 22:39:39 +01:00
John Maguire 2078eff8f3 Fix misleading error message. 2012-03-16 15:47:25 +01:00
John Maguire 9ed8ab63aa Run a database backup on startup after the integrity check.
Update issue #2743
Database backup now run on startup, still needs a way to restore.
2012-03-16 14:52:03 +01:00
David Sansome 56b9546744 Assume URLs in podcast RSS feeds are already URL encoded 2012-03-15 16:36:25 +00:00
Marti Raudsepp 9cf279f5a3 Run database integrity check on startup
Update issue #2743
Integrity check now run on startup
2012-03-15 16:01:57 +01:00
John Maguire ab0ae4414b Alphabetically sort SomaFM streams.
Fixes issue #2807
2012-03-15 15:42:22 +01:00
David Sansome 0aa473b88d Give the kde4 protocol files a unique prefix so they don't conflict with other packages. Fixes issue 2804
Also install them in the RPM .spec to fix the Fedora builds
2012-03-14 13:09:28 +00:00
Arnaud Bienner 4e54634504 Reset current_covert_art when player is stopped 2012-03-13 23:15:53 +01:00
Arnaud Bienner 2a4ab30a69 Connect player->playlistview signals directly in playlistview, now that we have an Application object which holds player. 2012-03-13 22:59:18 +01:00
Arnaud Bienner 57e41af461 Use large covers for Grooveshark songs.
As now, there is possiblity to set cover as playlist background, it's nicer, with larger images.
2012-03-13 22:53:55 +01:00
David Sansome e3b88a72db Add a quick check for OpenGL support in QGLFormat before initialising ProjectM visualisations. Might fix a crash when OpenGL is unavailable. Fixes issue 2741 2012-03-12 21:26:19 +00:00
David Sansome 69779374c2 Fix a funny fading bug in the podcast info widget that would occur because a ResizeEvent was being sent with oldSize() == size(). 2012-03-12 21:12:01 +00:00
David Sansome 096b90716d Fix a compile error with Clang 2012-03-12 21:11:33 +00:00
David Sansome 204f7acbfa Merge branch 'podcasts'. Fixes issue 44 2012-03-12 19:40:31 +00:00
David Sansome 5327b72f0b Implement the "Delete after x days" feature for listened podcasts. 2012-03-12 19:35:47 +00:00
John Maguire d819c88ff8 Fix crash on exit on Mac.
Fixes issue #2661
2012-03-12 18:11:10 +01:00
John Maguire 63ee8b2e55 Update a couple of old debug statements. 2012-03-12 17:25:05 +01:00
John Maguire c91024ad33 Add support for NSObject to QDebug. 2012-03-12 17:25:04 +01:00
John Maguire 8e89838621 Support loading multiple files or a folder from dropping on the Mac dock icon.
Fixes issue #2787
2012-03-12 17:24:53 +01:00
David Sansome a5107b7dfc Add the normal playlist actions to the podcast context menu 2012-03-12 16:21:05 +00:00
David Sansome 40858d26c5 Add an "Add Podcast" menu item to the main Music menu, and always display new podcasts in the list when adding them 2012-03-12 14:11:24 +00:00
David Sansome c5f5b8b597 Register Podcast list metatypes for Qt < 4.7 2012-03-12 14:10:56 +00:00
David Sansome 09dfd31630 Add a qHash(QUrl) overload for Qt < 4.7 2012-03-12 14:10:16 +00:00
Clementine Buildbot 287b3fcb1f Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2012-03-12 10:02:27 +01:00
David Sansome 07158bd71b Make the quick_prefixes list not static 2012-03-11 21:07:36 +00:00
David Sansome 578d3259ad Fix some copy+paste 2012-03-11 21:07:25 +00:00
David Sansome 2cd281ad7a Add default podcast URL handlers for gnome and KDE 2012-03-11 19:31:24 +00:00
David Sansome 2750877a72 Support iTunes and Zune podcast URL schemes through SongLoader 2012-03-11 18:14:53 +00:00
David Sansome f16fc8867e Allow podcasts to be added through the normal SongLoader mechanism (dragging to the playlist, on the commandline, "Add Stream", etc.) 2012-03-11 17:57:15 +00:00
David Sansome c27b8a5e95 Fix some broken behaviour in SongLoader when loading a playlist that was bigger than one GstBuffer. The pipeline would be stopped early because it was still asynchronously moving to the PLAYING state. 2012-03-11 17:20:12 +00:00
David Sansome 0cfeeb467a Add menu actions for deleting downloaded data and marking episodes as new/listened. Enable/disable actions depending on what's selected, allow actions to affect multiple items. 2012-03-11 15:36:35 +00:00
David Sansome 75a897e92d Don't require each InternetService to keep track of its own current index - do it in the model instead 2012-03-11 14:44:43 +00:00
David Sansome 93938d3bcd Allow whole podcasts to be dragged to the playlist as well as individual episodes 2012-03-11 14:11:15 +00:00