Commit Graph

65 Commits

Author SHA1 Message Date
Krzysztof Sobiecki fa9ea6ec5f Fix compilation with moved files in internet/ 2014-12-18 23:35:21 +01:00
John Maguire 5146bcdebc Some more NULL -> nullptr conversions. 2014-02-21 17:30:46 +01:00
John Maguire 192b60d965 Use nullptr as parent parameter default everywhere 2014-02-10 16:03:54 +01:00
John Maguire 3323c2d094 Convert all instances of foreach() to a C++11 for
find ext src -name '*.cpp' -exec \
    sed -i -e 's/foreach(\([^,]\+\),/for (\1 :/' {} \;
2014-02-10 14:43:32 +01:00
David Sansome 7b93630b03 Resize the sort order combobox when its contents changes. Fixes #4173 2014-02-09 16:43:43 +11:00
John Maguire bebd781fdf Reformat all non-3rd-party C/C++/Objective-C++.
Command line:
find src ext -regex '.*\.\(h\|cpp\|mm\)' -exec clang-format -i
 -style='{BasedOnStyle: Google, DerivePointerBinding: false}' {} \;
2014-02-07 16:34:20 +01:00
John Maguire 71893e4847 Use nullptr instead of NULL everywhere. 2014-02-06 17:29:59 +01:00
John Maguire d309d4ab27 Use c++11 instead of boost where possible. 2014-02-06 16:51:39 +01:00
Arnaud Bienner 5e6821dead Add a 'favorite' widget to playlist tab, and keep in playlistlist container only favorite playlists, instead of all playlists. 2013-05-11 23:18:03 +02:00
David Sansome 7677b386bc Reorder these enum values. Fixes issue 3599. 2013-04-15 21:56:33 +10:00
Uwe Klotz a6d3b48231 Extend tag support: performer, grouping
The transaction handling while upgrading the database schema had to be revised.
Furthermore some QSqlQuery statements needed to be finished properly.

Fixes issue 2556
2013-03-10 18:16:03 +11:00
David Sansome 14c07cbaed In the smart playlist wizard, only repopulate the op combo box when changing to a field of a different type. 2012-12-10 19:44:41 +11:00
David Sansome 82575f233f Add the "not equals" operator to all fields in the smart playlist wizard. Fixes issue 3329 2012-12-10 19:44:41 +11:00
David Sansome eed126f7cd Fix the background color of the query term scroll area on OS X 2012-11-04 18:54:35 -08:00
David Sansome 5bdfa1573f Make the Remove search term button on the smart playlist dialog a little less ugly on OS X 2012-11-04 18:54:35 -08:00
David Sansome d092c5a3ce Remove the ugly empty space on the left side of the smart playlist dialog on OS X 2012-11-04 18:54:35 -08:00
David Sansome 561ac96e89 Fix a crash when deleting a search term from the smart playlist wizard on OS X. 2012-11-04 18:54:34 -08:00
David Sansome ba2f4ddedc Fix a crash in the smart playlist preview when the moodbar column is enabled 2012-05-30 11:06:25 +01:00
Jonathan Horvath fdf10af94a Display smart playlist query terms in a scrollable list instead of squishing them together when there are lots. Fixes issue 1065 2012-01-15 15:44:18 +00:00
Tyler Rhodes ded8e5f6f0 Refactor "Radio" files into "Internet" files. 2011-07-15 13:27:50 +00:00
David Sansome 9d1fdeb87d Don't included deleted songs in smart playlists. Fixes issue 1998 2011-06-17 20:16:45 +00:00
David Sansome e2c6526840 Make dynamic playlists use the limit specified in the smart playlist dialog. Thanks google@robbertkrebbers.nl. Fixes issue 1082. Fixes issue 1192. 2011-05-14 13:44:10 +00:00
Andrea Decorte 56c8567fc7 Added missing NOT conditions in smart playlists. Fixes issue 1836 2011-05-04 18:47:48 +00:00
David Sansome 06852aaeb7 Show spotify search results in a separate playlist tab rather than in a tree in the sidebar. 2011-04-28 17:50:45 +00:00
Andrea Decorte 4d19917b05 Length in smart playlists works again. Fixes issue 1796 2011-04-24 19:07:01 +00:00
Andrea Decorte c6c4902d3f Added two new options for date queries in smart playlists. Fixes issue
1141
2011-04-24 17:52:16 +00:00
David Sansome 3eedc916ad Add a new logging system 2011-04-22 16:50:29 +00:00
David Sansome 2ca38cbe99 Don't turn off dynamic mode when adding an empty smart playlist. Fixes issue #1526 2011-03-05 13:01:08 +00:00
Paweł Bara be5eb7a9fb smart playlists: 'on date' (equals for dates) operator was too precise (fixes issue #1174) 2011-01-20 18:55:28 +00:00
Paweł Bara 3b7ae72f82 smart playlists are incorrectly filtering ratings (fixes issue #1113) 2011-01-20 18:35:38 +00:00
David Sansome 135b32642e Refactor all the code that handles adding items to the playlist - whether it be by a context menu item, double clicking in a view or dragging. Everything now uses the models' mimeData() instead of duplicating the same code everywhere. 2011-01-10 22:26:13 +00:00
David Sansome 8bc23a4d66 Keep hold of the generator object while updating the smart playlist preview. Fixes issue #1139 2010-12-19 14:37:25 +00:00
Paweł Bara 4563c2dbd9 you can now use "file path" attribute when creating dynamic playlists (Fixes issue #1073)
some more MPRIS 2 corrections (Updates issue #1058)
2010-12-15 15:50:22 +00:00
David Sansome 42f1bef53f Hide the first page in the smart playlist wizard 2010-12-04 17:36:10 +00:00
David Sansome 858a8650b8 Create the correct type of playlist item from query generators 2010-11-27 19:23:52 +00:00
David Sansome f11c494c44 Add a random smart playlist to Jamendo 2010-11-27 19:18:56 +00:00
David Sansome b1bf95a668 Remember which library a dynamic playlist was using when you restart clementine 2010-11-27 19:11:36 +00:00
David Sansome 421c04b6ec Do the limit clause in dynamic playlists properly 2010-11-27 12:24:47 +00:00
John Maguire eca1704384 Sort of working Jamendo dynamic playlist. 2010-11-26 15:16:48 +00:00
David Sansome eb818a2cd2 Remember the position in a sorted query when fetching rows for a dymanic playlist 2010-11-21 12:24:36 +00:00
David Sansome 682a84dc61 Reword the "Don't use search terms (include all songs)" item to make it less confusing 2010-11-20 18:51:34 +00:00
David Sansome 7d54549213 Add support for dynamic playlists. A dynamic playlist is just a smart playlist that chooses and adds a new track when you finish listening to a song. 2010-11-20 18:49:54 +00:00
David Sansome ed1a25693c Add missing licenses to debian/copyright, and add copyright information to each source file 2010-11-20 13:27:10 +00:00
David Sansome d214d36a1d Don't run searches for a preview widget while it's hidden, and run one as soon as the sort page is shown 2010-11-20 12:33:21 +00:00
David Sansome 48868ee092 Make the search preview work in the sort tab, and don't do duplicate searches 2010-11-20 12:20:26 +00:00
David Sansome 052ddb74a1 Always show a scrollbar in the smart playlist preview (avoids flickering when the viewport resizes), and stop the new search term widget responding to mouse events when it's disabled 2010-11-20 12:10:56 +00:00
David Sansome 63d2496784 Add a couple more default smart playlists. Fixes issue #971 2010-11-20 12:05:51 +00:00
David Sansome bb1c2b22ef Create, edit and delete smart playlists from the context menu 2010-11-18 23:08:37 +00:00
David Sansome 753b144752 Refactor the smart playlist wizard to move all query-specific parts into a separate class 2010-11-18 21:13:43 +00:00
David Sansome 1f267881fe Put all smart playlist classes in their own namespace 2010-11-18 20:19:33 +00:00