Commit Graph

4244 Commits

Author SHA1 Message Date
Tony Motakis 25685e7cba Postpone CreateCompilationArtistNode() until PostQuery()
With the previous patch the Various artists node creation is oved to
RunQuery, which means that a later call to BeginReset() will delete it.
In this patch, we keep the logic deciding whether we need the node in
RunQuery(), but postpone the actual creation until PostQuery().
2012-10-27 16:30:10 -07:00
Tony Motakis 207225d620 HasCompilations() implementation local to the LibraryModel
Instead of relying on the backend to provide us with the information
of whether there are compilations in the whole of the library, we instead
look into the query we are currently working with for compilations. This
way we can be as granular as we want in the future.

This also means we now have to add the Various artists node at the time we
do the query with RunQuery() instead at BeginReset().
2012-10-27 16:30:08 -07:00
Tony Motakis 14eca258a2 Refactor duplicate code in LazyPopulate and ResetAsync
There is no reason why these need to reimplement the same thing;
put the common functionality in RunQuery() and PostQuery() and re use
the code. Less code paths to keep track of make it easier to implement
new features and fixes.
2012-10-27 16:30:05 -07:00
David Sansome d835cc4819 Remove the two old cherry-pick lines from 1.0's uploadtoppa.sh
(cherry picked from commit ab35474734)
2012-10-26 19:29:22 +02:00
David Sansome ab35474734 Remove the two old cherry-pick lines from 1.0's uploadtoppa.sh 2012-10-26 19:28:47 +02:00
David Sansome 34b73123bc Exclude CMakeLists.txt.user from the source tarball
(cherry picked from commit 24e9c50b62)
2012-10-26 09:38:39 -07:00
David Sansome 24e9c50b62 Exclude CMakeLists.txt.user from the source tarball 2012-10-26 09:38:20 -07:00
John Maguire f6d2564bf5 Use std::mem_fun instead of boost::bind where it makes sense. 2012-10-25 16:32:19 +02:00
David Sansome 9c7526ccbb Include git revisions in the master branch version numbers 2012-10-25 08:36:56 +02:00
David Sansome 574fb11585 Merge branch 'release-1.1' 2012-10-25 08:36:33 +02:00
David Sansome 1e3975e91f Add Quantal packages to the google code upload script
(cherry picked from commit 750621b9e3)
2012-10-24 22:57:12 -07:00
David Sansome 750621b9e3 Add Quantal packages to the google code upload script 2012-10-24 22:56:53 -07:00
John Maguire d2bb2d7ac8 Stop using deprecated UpdateSystemActivity() on mac. 2012-10-24 16:45:00 +02:00
John Maguire 6ff8242111 Set the user agent for gstreamer HTTP streams.
(cherry picked from commit 27f60c281e)
2012-10-23 17:42:22 +02:00
John Maguire 27f60c281e Set the user agent for gstreamer HTTP streams. 2012-10-23 17:34:58 +02:00
John Maguire 313ca6932c Never cache get file requests for Google Drive as the downloadUrl needs to be up to date. 2012-10-23 16:14:39 +02:00
John Maguire 587e9702d7 Never cache get file requests for Google Drive as the downloadUrl needs to be up to date. 2012-10-23 16:12:58 +02:00
Clementine Buildbot 8223c0996f Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2012-10-22 10:03:01 +02:00
David Sansome c8312b7cdf Bump the version of the 1.1 branch from 1.1 RC1 to 1.1. 2012-10-16 22:58:54 +11:00
David Sansome 7c4a8d1f2a Update the changelog with things that changed between 1.1RC1 and 1.1.
(cherry picked from commit 0a7c4c2fbd)
2012-10-16 21:57:25 +11:00
David Sansome 0a7c4c2fbd Update the changelog with things that changed between 1.1RC1 and 1.1. 2012-10-16 21:56:47 +11:00
David Sansome cfeacd0720 Let nyanalyzer cat nap inbetween songs
(cherry picked from commit 41d8c61e0d)
2012-10-16 12:29:48 +02:00
Hugues Malphettes 545b7e2122 Draw high resolution fonts on OS X. Fixes issue 3212
(cherry picked from commit aff1cc5339)
2012-10-16 12:27:18 +02:00
John Maguire f8b08616e8 remove obsolete connect 2012-10-16 12:22:42 +02:00
David Sansome 41d8c61e0d Let nyanalyzer cat nap inbetween songs 2012-10-16 21:20:56 +11:00
Hugues Malphettes aff1cc5339 Draw high resolution fonts on OS X. Fixes issue 3212 2012-10-16 19:27:20 +11:00
Arnaud Bienner 60f22f5594 Revert revision 42fb7f9b42.
Was generated SIGABRT while exiting Clementine, when calling ServiceDeleted SLOT, because of an assert in moc_internetmodel.
Seems that the receiver (so the parent) of the created Closure object isn't the same at the beginning (InternetModel) and when the Closure::Invoked method is called (QObject).
Reverting this until I can figure out what is going wrong.
2012-10-15 23:03:01 +02:00
Arnaud Bienner 95ce26a556 Remove now obsolete connect in GS service 2012-10-15 22:06:16 +02:00
John Maguire bfc33967be Remove obsolete connect(). 2012-10-15 16:26:44 +02:00
John Maguire 3c9c4ab538 Fix the types of some MPRIS metadata fields.
(cherry picked from commit 1abd9c3821)
2012-10-15 13:28:53 +02:00
John Maguire 1abd9c3821 Fix the types of some MPRIS metadata fields. 2012-10-15 11:40:18 +02:00
Clementine Buildbot 1cec34b1f6 Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2012-10-15 10:02:53 +02:00
Arnaud Bienner b9606d8a06 Ignore GS search's result if it's not the last one 2012-10-14 23:27:45 +02:00
John Maguire 8eb787a2eb Add missing include. 2012-10-12 14:54:47 +02:00
John Maguire f292a3bf98 Port musicbrainz client to closures. 2012-10-12 14:36:14 +02:00
John Maguire aa7b22c103 Port last.fm service to closures. 2012-10-12 14:31:31 +02:00
John Maguire ddf380aa05 Port acoustid client to closures. 2012-10-12 14:25:04 +02:00
John Maguire 42fb7f9b42 Port InternetModel to closures. 2012-10-12 14:18:47 +02:00
John Maguire ff86e07a4b Port IcecastService to closures. 2012-10-12 14:12:19 +02:00
John Maguire ce9d790833 Port DigitallyImported to closure. 2012-10-12 13:52:20 +02:00
John Maguire e8f4496fea Port last.fm cover provider to closures. 2012-10-12 13:49:09 +02:00
John Maguire 16fe238d98 Port remaining calls in GroovesharkService to closures. 2012-10-12 13:43:55 +02:00
John Maguire d6b2fc79f5 Port a few more things to closures. 2012-10-12 12:38:12 +02:00
John Maguire 20196edcac Ooops. 2012-10-11 16:18:14 +02:00
John Maguire d674d9ecf7 Implement MediaPlayer2.Playlists from MPRIS2.
Fixes issue #3194
2012-10-11 15:38:51 +02:00
John Maguire 4de0b93305 Add Fullscreen/CanSetFullscreen properties for MPRIS 2.2 2012-10-11 13:45:42 +02:00
John Maguire 8ddc5064dc Enable fullscreen support for OS X 10.7+
Fixes issue #2329
(cherry picked from commit a1361dfa7e)
2012-10-11 13:31:43 +02:00
John Maguire 94b1e10621 Add plugins for RTSP streaming to Mac.
(cherry picked from commit 4a96ce9561)
2012-10-11 13:31:27 +02:00
John Maguire e5760815a1 Generate sensible names for covers returned from Musicbrainz. 2012-10-11 12:24:41 +02:00
John Maguire 4d9e102bbd Add missing include. 2012-10-10 14:59:39 +02:00