Commit Graph

27 Commits

Author SHA1 Message Date
John Maguire 502e346218 Forgot to update win32 sqlite functions. 2010-03-25 15:37:15 +00:00
John Maguire 95252ccc71 Support query splitting in library search.
Improve performance of LIKE().
Fixes issue #104
2010-03-25 13:58:24 +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 fa00ee971d Add license headers to all our source files 2010-03-23 23:11:46 +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
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 2f350c1ae6 Add unit tests for custom LIKE() function. 2010-03-22 16:03:24 +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
John Maguire a7596959eb Compile fixes for mac for old sqlite3 header. 2010-03-21 16:11:26 +00:00
John Maguire b468306d2f Stop linking against sqlite and use the loaded plugin. 2010-03-21 13:29:06 +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 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
John Maguire 64abef1cd4 Make tracks with no album show up.
Fixes issue #57
2010-03-05 10:51:16 +00:00
David Sansome 3f861654ec Some more backend tests 2010-03-03 00:33:31 +00:00
David Sansome 3296bf7b7d LibraryBackend tests should test at a higher level 2010-03-02 23:37:12 +00:00
John Maguire 864215cb23 Adds a test for LibraryBackend (not as trivial as it sounds :-)
Adds Googlemock.
Adds mock Qt database drivers.
2010-03-01 22:00:15 +00:00
David Sansome 91958d0fd2 Change the data returned from sqlite a bit so the library view can use cover art too. Still a couple of TODOs in here. 2010-02-28 22:07:59 +00:00
David Sansome 605e3a87cc Fetch missing album covers from last.fm :) 2010-02-28 19:25:52 +00:00
David Sansome 12273256e5 Album cover art manager. So far this only displays cover art that was loaded from disk. 2010-02-28 18:04:50 +00:00
David Sansome 1a26380e3f Load album cover art from files on disk 2010-02-28 00:35:20 +00:00
David Sansome 669a0263ff Improved various artists detection - inspired by Amarok.
Also support updates to the database schema.
Fixes issue #18
2010-02-27 20:12:22 +00:00
David Sansome 03b12786cf More descriptive sqlite errors 2010-02-13 22:55:48 +00:00
David Sansome 62794cdf70 Rename tangerine to clementine 2010-01-08 16:21:22 +00:00
David Sansome 5b0496bf8f Move everything to trunk 2009-12-24 19:16:07 +00:00