Commit Graph

346 Commits

Author SHA1 Message Date
David Sansome da21f265c6 Fix the "verticalSpacer" warning 2010-03-24 16:51:12 +00:00
David Sansome 91b08cb4a3 Don't set the g++ warning flags on c files. Thanks christoph.gysin. Fixes issue #108 2010-03-24 16:45:44 +00:00
David Sansome 7d6a7101c9 Add a menu item to remove tracks from the playlist. Fixes issue #110 2010-03-24 16:36:44 +00:00
David Sansome ad30bad33c Check the playlist context menu index is valid before getting data from it. Fixes issue #109 2010-03-24 16:13:05 +00:00
David Sansome 70b6ba8c39 Fall back on sqlite's default non-unicode aware LIKE when we couldn't load the sqlite symbols. Fixes problems for slackware users (one of their problems anyway...). 2010-03-24 16:02:06 +00:00
David Sansome 4b4603e138 Make sure current_virtual_index_ is kept consistent when clearing or deleting items from the playlist. Fixes issue #107 2010-03-24 14:37:10 +00:00
David Sansome 92c7eff0fb Don't scrobble a track if we've been skipping through it. Fixes issue #105 2010-03-24 14:21:26 +00:00
David Sansome 16a953af11 Limit length of the "Set x to y..." menu item. Fixes issue #106 2010-03-24 14:14:17 +00:00
David Sansome 4271122976 Add an empty translation to make it easier for new translators to get started. 2010-03-24 13:45:39 +00:00
John Maguire f312b04df7 Enable more compiler warnings and fix them.
Fixes issue #108
2010-03-24 12:07:37 +00:00
David Sansome 821e524b5f Menu option to set all fields from selected tracks to the same value. Thanks christoph.gysin. Fixes issue #102 2010-03-24 00:12:52 +00:00
David Sansome bea2709186 Update the debian copyright file 2010-03-23 23:30:52 +00:00
David Sansome fa00ee971d Add license headers to all our source files 2010-03-23 23:11:46 +00:00
David Sansome ea83789f17 Some more library model tests 2010-03-23 21:52:42 +00:00
David Sansome 4ab755c831 Don't try to load translations from a directory that contains another directory called "clementine". Fixes issue #88 2010-03-23 18:00:55 +00:00
David Sansome f8dd079cfd Fix codereview comments from r454 2010-03-23 17:56:24 +00:00
David Sansome 16e1deaade Make it possible for the LibraryBackend to be mocked, and add a simple test for Library. 2010-03-23 17:26:54 +00:00
David Sansome 051263c05d Enable playlist sorting on columns other than title, artist, album, track and length.
Fixes issue #97
2010-03-23 14:24:48 +00:00
David Sansome ceb6382e9f Fix compilation in release mode 2010-03-23 14:07:05 +00:00
David Sansome 7fee944b06 Updated spanish translation 2010-03-23 13:37:21 +00:00
David Sansome ed80c2e6c0 Update translations 2010-03-22 23:03:49 +00:00
John Maguire 3bc93339d9 Reduce watchers on mac (hitting 256 file descriptor limit). 2010-03-22 23:01:03 +00:00
David Sansome a82e4c5b9a Added track auto-numbering, thanks christoph.gysin.
Fixes issue #25
2010-03-22 22:46:53 +00:00
John Maguire 3e0e3f6889 Actually check for errors in AlbumCoverFetcher. 2010-03-22 21:36:02 +00:00
David Sansome 39a97d9878 Minor UI fix to the settings dialog 2010-03-22 19:46:42 +00:00
John Maguire 2aeff9b5e2 Fix compile on mac for old sqlite3 header. 2010-03-22 18:46:41 +00:00
David Sansome b1e1de709c Bring the QSQLITE plugin into the source tree and statically link it on Windows.
Also remove the unused xine windows patches, and move all the windows resources into dist/windows
2010-03-22 18:35:31 +00:00
John Maguire 6947fe2923 Set version to 0.2 for mac. 2010-03-22 16:18:03 +00:00
John Maguire 2f350c1ae6 Add unit tests for custom LIKE() function. 2010-03-22 16:03:24 +00:00
David Sansome ad3c77cb5a Fix compilation errors on ubuntu 2010-03-22 13:49:08 +00:00
David Sansome 41ab127d1a Set version to 0.2 2010-03-22 13:20:30 +00:00
David Sansome 91b2162d25 Enforce a minimum size for playlist columns when they're shown. This prevents 0-width columns appearing for whatever reason. Fixes issue #85 2010-03-22 12:13:04 +00:00
David Sansome 1879b6f858 Make this compile when DBUS isn't available 2010-03-21 23:19:56 +00:00
David Sansome 7191f968a6 Fix the memory leak!
The scope's buffer, used by the analyzers, wasn't being cleared when the mainwindow (or the analyzer) was hidden.  There was a timer that was supposed to clear it, but it wasn't being run because the xine engine is in a thread without an event loop.
Fixes issue #5
2010-03-21 23:11:34 +00:00
David Sansome 43a8b89732 Delete the divider entries properly from the library when deleting songs, and move songs to "Various artists" correctly. 2010-03-21 22:14:07 +00:00
David Sansome b5b61a2e0e Add a couple of indexes to the database to speed up searches on large libraries. 2010-03-21 21:17:01 +00:00
David Sansome eea777e74e Global shortcuts on gnome, with GSD over DBUS 2010-03-21 19:02:56 +00:00
David Sansome a2c5bebd25 Remove unused includes. Fixes issue #84 2010-03-21 18:13:22 +00:00
David Sansome 24541609d7 Fixed some RGB parameters out of range warnings 2010-03-21 17:28:54 +00:00
David Sansome d09eaac67a Fix up the other 2D analyzers 2010-03-21 17:22:05 +00:00
John Maguire 87b552d16d set background thread priority on mac 2010-03-21 16:45:34 +00:00
David Sansome 1314ef2e37 Remove the global shortcuts dialog from trunk 2010-03-21 16:37:38 +00:00
David Sansome 0b2bb418f3 Updated spanish translation from Mariano Copetti 2010-03-21 16:22:22 +00:00
David Sansome 0e42e0b9f7 Updated slovak translation
Fixes issue #83
2010-03-21 16:21:42 +00:00
David Sansome 2e1023457c Show the analyzer popup menu on a left click as well as a right click 2010-03-21 16:20:27 +00:00
John Maguire a7596959eb Compile fixes for mac for old sqlite3 header. 2010-03-21 16:11:26 +00:00
David Sansome 416670671f Run the background library scanner at IDLE io priority on linux 2010-03-21 15:55:58 +00:00
David Sansome 530d58b4cf Add some more strings for translation 2010-03-21 15:00:36 +00:00
David Sansome 56fb0663ee Fix segfault when a song's tag has changed inbetween runs 2010-03-21 14:47:59 +00:00
David Sansome cbb41cab46 Store these booleans as ints so sqlite doesn't get confused.
Fixes issue #82
2010-03-21 13:50:00 +00:00
John Maguire b468306d2f Stop linking against sqlite and use the loaded plugin. 2010-03-21 13:29:06 +00:00
David Sansome 645d7e48cc Translate this missing string - thanks Mariano Copetti 2010-03-21 13:07:02 +00:00
David Sansome da7e88d754 Update translations 2010-03-21 00:32:22 +00:00
David Sansome 8cebf0092f Updated greek translation 2010-03-21 00:31:19 +00:00
David Sansome 26098db9c8 Update the length of the first track on a last.fm stream 2010-03-21 00:30:05 +00:00
David Sansome 2bde36a1c2 Fix timestamps on scrobbled songs 2010-03-21 00:22:15 +00:00
David Sansome 1a930bf2b5 Add a menu item to the library for forcing albums to appear under Various Artists.
Fixes issue #43
2010-03-20 23:59:39 +00:00
John Maguire 758f99be49 Support unicode-aware comparisons in Sqlite3.
Fixes issue #71
2010-03-20 23:41:59 +00:00
David Sansome e1c44cdc77 Add options for choosing or disabling the analyzer.
Fixes issue #75.
2010-03-20 22:45:54 +00:00
David Sansome 595877445b Multiple selections in the album cover manager 2010-03-20 22:03:58 +00:00
John Maguire 417b6af911 Update slovak translation.
Fixes issue #79
2010-03-19 13:20:54 +00:00
David Sansome 257170b212 Add support for showing the filename without the path - thanks ralf.neupert
Fixes issue #80
2010-03-19 10:39:22 +00:00
John Maguire 7e7aa6a0c4 Fix crash in last.fm radio when the user's subscription expires. 2010-03-18 17:18:54 +00:00
John Maguire fd2daf6fa2 Fixes issue #3 \o/
A reminder for next time: enable various "Universal Access" options.
2010-03-17 17:16:05 +00:00
John Maguire 84bede61d3 Fix compiler warning from Clang. 2010-03-17 15:07:49 +00:00
John Maguire 4a26d10e7e Build fixes for mac. 2010-03-16 15:09:08 +00:00
David Sansome 6a4d1734b6 Add the shuffle and repeat menus to the menubar as well 2010-03-12 01:03:43 +00:00
David Sansome e1952e7ff2 Fix the cover manager behaviour when there are unknown albums or albums by various artists. 2010-03-12 00:54:18 +00:00
John Maguire e809019bef Fix code review comment for r353
Add more tests for XSPF parser.
2010-03-11 15:25:25 +00:00
Andrew Udvare 116204d58e Start of event handling to capture keys with virtual function event() 2010-03-11 09:56:02 +00:00
Andrew Udvare f9711d414f More implementation of ShortcutsDialog and settings 2010-03-11 06:00:47 +00:00
John Maguire eb5d4cc309 XSPF support in the GUI 2010-03-10 21:39:25 +00:00
David Sansome 65d88ac831 Fix strangeness when rearranging the playlist with shuffle disabled 2010-03-10 14:09:35 +00:00
David Sansome 4988d45f23 Fix a crash bug when clearing the playlist, and then advancing to the next track 2010-03-10 14:06:34 +00:00
David Sansome b8d7773776 Updated spanish translation 2010-03-10 00:43:36 +00:00
David Sansome e7c3174109 Fix a segfault. This got lost in the merge 2010-03-10 00:09:49 +00:00
David Sansome aee1cbb4fd Revert the multiple playlist commits until they can be cleaned up a bit. These are: r324, r326, r327, r328, r335, r336, r337, r338, and r339. 2010-03-10 00:04:04 +00:00
David Sansome 5294ea1276 Update translation sources 2010-03-09 22:49:14 +00:00
David Sansome cecc6def3c Get the translated version of this string - thanks Mariano Copetti 2010-03-09 22:47:36 +00:00
John Maguire 11330d0177 XSPF parser with test. 2010-03-09 17:17:32 +00:00
John Maguire 4eb51bf6d9 Remove pointless cpp file. 2010-03-09 15:46:26 +00:00
John Maguire 95c1f702c5 Oops. s/OS/WS/
Updates issue #6.
2010-03-09 14:31:30 +00:00
John Maguire b66370ed87 Enable global shortcuts for all X11 platforms instead of just Linux.
Updates issue #6
2010-03-09 14:28:58 +00:00
David Sansome 9f0e399fba Fix a failing test 2010-03-08 18:07:18 +00:00
David Sansome 67214bf4dc Rename ShuffleRepeatWidget to PlaylistSequence 2010-03-08 18:05:41 +00:00
David Sansome 85d5e398da Shuffle and repeat buttons now work.
Fixes issue #20
2010-03-08 17:55:40 +00:00
David Sansome d15fffc802 Do something more sensible with negative times. 2010-03-08 14:13:22 +00:00
David Sansome c9ddf09869 Add shuffle and repeat options. These don't do anything yet.
Updates issue #20
2010-03-08 14:08:54 +00:00
David Sansome 427e24dece Show the time remaining as negative, like amarok 2010-03-08 12:30:55 +00:00
David Sansome ee5facbd01 Fix the size of the time elapsed and time remaining labels on the track slider, so they don't move the slider around while it's being dragged. 2010-03-08 12:13:11 +00:00
David Sansome 7d0bc4830f Set the source properly for tracks from last.fm radio
Fixes issue #62
2010-03-07 23:39:28 +00:00
David Sansome 6f2119bce0 Fix a bug that meant the track progress slider was greyed out on the first song in a last.fm radio stream 2010-03-07 23:28:40 +00:00
David Sansome 3d34aa240c Add albumartist, composer, file type and date columns to the playlist. Also add columns to the database for rating, playcount, and lastplayed (not used yet).
Fixes issue #66
2010-03-07 22:46:41 +00:00
Bartek Taczała 030e454d1e Enabling removal of playlist. Slightly changing how informatiion about playlists are stored in QSettings 2010-03-07 20:55:02 +00:00
Bartek Taczała 6f2754bcba Changing tabWidget to tab_widget 2010-03-07 20:21:20 +00:00
Bartek Taczała b303d59b4c Saving qtab current index ( current playlist ). 2010-03-07 20:19:35 +00:00
Bartek Taczała 0a1e7916d8 Ensure one playlist at startup if no restoring. Minor code modifications to compatibility with code guidelines. 2010-03-07 20:14:05 +00:00
Bartek Taczała 8ae713802d Playlist manager for handling multiple playlists. Storing/restoring is enabled. 2010-03-07 20:06:00 +00:00
John Maguire 1aebf19077 Ensure Song is valid from m3u parser.
Fix tests.
2010-03-07 15:26:54 +00:00
John Maguire 768bf85cd7 M3U support in the UI from "Add Media" \o/ 2010-03-07 14:42:51 +00:00