Commit Graph

308 Commits

Author SHA1 Message Date
Mark Furneaux 20be94ee51 Change height on details change
When the details change, the height is updated so if the details
now span more or fewer lines we can accompany that
2014-05-14 22:10:39 -04:00
Mark Furneaux 9d118345c0 Add placeholder text for safety
Just to make sure that details_ has the correct height when initializing
2014-05-14 22:06:02 -04:00
Mark Furneaux eb0b53aa96 Add new now playing widget mode
In an attempt to satisfy many users, I have added another mode to the
now playing widget. This shows the large cover art however it draws the song details
below the artwork, without the gradient that everyone seems to have a problem with.
This is just an option and all the original functionality is unchanged.
2014-05-14 19:07:53 -04:00
David Sansome 98b6b6f906 Don't use italic text anywhere - Arabic text doesn't have italics. Fixes #4329 2014-05-11 20:42:49 +10:00
Andreas c04eb3da19 Only search for covers automatically if artist & album is filled. 2014-05-07 21:17:33 +02:00
John Maguire 712d8ecd8a Remove Growl support. 2014-04-07 14:54:10 +02:00
Andreas d397f711fe Better placeing of the loading icon when automatic cover loading is activated. 2014-02-22 21:27:58 +01:00
Arnaud Bienner faaa75cb61 Few style fixes + avoid unneeded copies 2014-02-12 22:11:28 +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
Krzysztof A. Sobiecki 0ecf1e76a6 Reformat done with clang-3.5 svn200967 2014-02-07 17:08:31 +01: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
John Maguire b96ec7555a Reformat all Objective-C++ files with clang-format.
clang-format -style=Google -i src/*/*.mm
2014-01-30 14:54:51 +01:00
David Sansome 7a9e5b553b Set a lower minimum column size in the playlist again. Fixes #201 2014-01-20 22:08:43 +11:00
David Sansome cfb8fc8fbc Merge pull request #4125 from Fitoschido/patch-1
Remove font customizations.  Fixes #4082
2014-01-20 02:22:43 -08:00
Arnaud Bienner a700bea095 Revert "Set padding-right correctly instead of moving the clear icon"
This reverts commit 5c05745985.
2014-01-18 00:23:07 +01:00
Arnaud Bienner b2f16b316e Revert "Oops"
This reverts commit b716f802f3.
2014-01-18 00:22:46 +01:00
Adolfo Jayme Barrientos 9642896af6 Remove font customizations
* Should respect whatever font the user has set.
  (“Respect the user’s settings by always using the system font, sizes, and colors.” http://msdn.microsoft.com/en-us/library/windows/desktop/aa511282.aspx)
* Courier looks odd and thin (a11y issue #4082).
2014-01-17 11:44:08 -06:00
ArnaudBienner bf35df140a Merge pull request #4094 from Tatsh/playback-counter-font
Revert "Update playback counter font."
2014-01-17 05:01:30 -08:00
Arnaud Bienner b716f802f3 Oops 2014-01-12 21:00:41 +01:00
Arnaud Bienner 5c05745985 Set padding-right correctly instead of moving the clear icon 2014-01-12 20:50:03 +01:00
Arnaud Bienner 3838bd7bd7 Change a bit the LTR logic (move the clear button also when editing/removing the text 2014-01-12 17:40:28 +01:00
David Sansome 7c1dc5d6cf Merge pull request #4102 from Tatsh/fix-edittagdialog-rtl
In the tag editor, make the reset button appear on the left side for RTL
Fixes #2673
2014-01-11 22:39:24 -08:00
Andrew Udvare 773258af99 Both cases move the clear button to the same position 2014-01-11 12:56:39 -08:00
Andrew Udvare a11270f749 Use isEmpty() instead of length() 2014-01-11 12:48:52 -08:00
Andrew Udvare f201a9925b Remove trailing semicolon 2014-01-11 05:13:28 -08:00
Andrew Udvare 59f033a583 Make is_rtl()/set_rtl() methods private 2014-01-11 04:01:08 -08:00
David Sansome fecdae0be3 Add mp2 to the list of extensions shown in the files tab. Fixes #4103 2014-01-11 22:47:35 +11:00
Andrew Udvare 71aeda07f7 Formatting 2014-01-11 03:46:15 -08:00
Andrew Udvare d46e0bacc6 Test for string length 2014-01-11 03:45:45 -08:00
Andrew Udvare 509a6af788 In the tag editor, make the reset button appear on the left side for RTL text; #2673 2014-01-11 00:45:13 -08:00
Andrew Udvare d48ec046a6 Revert "Update playback counter font."
This reverts commit 55b0d00e02.
2014-01-09 21:16:35 -08:00
John Maguire 55b0d00e02 Update playback counter font.
Fixes #4082
2014-01-09 15:41:51 +01:00
Mattias Andersson b0e6062a4a Fix comments and reduce translator's burden. 2014-01-07 11:44:19 +01:00
Mattias Andersson 4cb3775366 Show an OSD notification when 'Stop after this track' is toggled 2014-01-06 14:25:04 +01:00
Andreas 98ad9dbda6 Add possibility to download album covers automatically when playing a track without one. To activate: right click on now playing widget and select "Search automatically". 2013-12-30 23:50:57 +01:00
Andreas 00fd9b4724 Androids like kittens, too 2013-12-22 15:16:42 +01:00
Arnaud Bienner 9bf5690671 Use mouseReleaseEvent instead of mousePressEvent
Now, tabbar's mouseReleaseEvent will not be executed if we did something. This prevents middle-click to unstar a playlist, then remove it, with the same click.
Should prevent users to accidentaly loose their playlists.
2013-07-27 19:17:09 +02:00
Mateusz Kowalczyk ff71138079 Change file deletion question dialogs to warnings. 2013-06-01 16:23:37 +10:00
Arnaud Bienner 94a70d61b9 Save playlist' id instead of tab's id in favorite widget, so we don't have to update it when tab are moved 2013-05-12 23:36:32 +02: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 dac22dbd72 Explicitly cast scoped_ptrs to bool. Fixes issue 3570. 2013-04-15 21:41:54 +10:00
Arnaud Bienner bc5aa4055c Show a tooltip for sidebar tabs: only when needed for large side bar, always in the other cases, as I guess text will be elided most of the time.
Update issue 1202
This work around this issue a bit.
2013-04-01 17:54:33 +02:00
Arnaud Bienner 2081c30893 Revert "Show tooltips in the sidebar only in Tabs and IconsOnly modes"
This reverts commit 2dd2b615ef.
2013-04-01 16:48:21 +02: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
Mateusz Kowalczyk 7f2c17a0b7 Add track rating/score to OSD.
Fixes issue #2586
2013-02-26 16:33:05 +01:00
John Maguire 9e70fdf0c3 Add .mka to file extensions.
Fixes issue #2569
2013-02-06 17:27:13 +01:00
John Maguire ba8d382101 Add .oga to file extensions.
Fixes issue #3180
2013-02-06 17:03:11 +01:00