Commit Graph

26 Commits

Author SHA1 Message Date
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
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
Arnaud Bienner 26971cfd74 Increase default timeout for loading song/artist info.
Now we don't wait for everything to be loaded before displaying the results, it seems fine to wait longer to get all the replies.
Also, it doesn't seem necessary anymore to allow users to change the timeout setting.
2013-12-30 20:34:24 +01:00
Hugo Dueñas 5d2fbfb041 Further clean up of the last commit 2013-12-30 00:04:15 -06:00
Hugo Dueñas 5b2938003b Clean up of the last commit 2013-12-29 14:04:30 -06:00
Hugo Dueñas a4d0a65624 Added ability to quickly display partial results on Song Info and Artist Info Panes. 2013-12-21 12:58:51 -06:00
David Sansome d74d4d65f0 Clicking an artist or tag in the song info tabs now does a global search instead of searching just last.fm 2011-11-11 21:35:25 +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 92b6c3a3ec Work around QTBUG-11620 (fixed in 4.7) that causes a crash when skipping through tracks with the Artist Info tab open. Fixes issue #935 2010-12-30 17:35:10 +00:00
David Sansome 7fd29f160d Add a configurable timeout to song and artist info network requests. Default to 2.5 seconds 2010-12-19 13:58:53 +00:00
David Sansome a18dafac9c Add a "Play from my Library" context menu item to similar artists in the song info view. Fixes issue #1014 2010-12-04 16:19:30 +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 9d690c1b7e Scale artist images in a background thread 2010-10-17 11:01:46 +00:00
David Sansome b5f366c40a Add a thread safe network disk cache, and remove the need to pass a NetworkAccessManager around everywhere. Fixes issue #852 2010-10-16 17:20:54 +00:00
David Sansome b97b2138fa Play last.fm tag radio or similar artists radio when clicking on a tag in the song/artist info pane. 2010-10-16 15:22:14 +00:00
David Sansome a41b6de040 Show a "Change font size..." item in the menu of text views in the artist/song info panes. 2010-10-16 14:45:23 +00:00
David Sansome 07f181cc2b Make it possible to change the font size of the song/artist info views. 2010-10-16 13:56:49 +00:00
David Sansome 566bd2e2f8 Remember which sections have been expanded/collapsed 2010-10-11 21:42:31 +00:00
David Sansome abbc908aaa Collapse all info sections by default except the first one of each type but add support for using user preferences (they don't get saved yet), add a fade in/out animation to collapsed section headers. 2010-10-11 19:49:12 +00:00
David Sansome 0940d88862 Fix the black rectangle when switching between artist and song info views 2010-10-10 20:58:49 +00:00
David Sansome cc8755517e Blur the song/artist info panes while waiting for info to load 2010-10-10 20:53:49 +00:00
David Sansome 2f3732e73e Move lyrics into the song info pane, refactor out a load of the common code between artist and song info. 2010-10-10 16:09:20 +00:00
David Sansome 7e39bfece2 Show icons for each biography, order biographies by relevance, don't refresh artist info when switching to another song by the same artist. 2010-10-09 12:39:49 +00:00
David Sansome f09a115339 Add a pretty image viewer widget to the artist info pane 2010-10-07 23:13:41 +00:00
David Sansome 7f3e91226c Move src/lyrics to src/songinfo 2010-10-02 13:43:45 +00:00