696 Commits

Author SHA1 Message Date
David Sansome
ad4229160e Pedantry 2010-06-21 12:42:22 +00:00
David Sansome
1339ee860d Don't need these symbols any more 2010-06-21 12:41:38 +00:00
David Sansome
ea52bbf3e2 Register the FTS3 tokenizer with a QSqlQuery, so it works even if we couldn't resolve the sqlite symbols. 2010-06-21 12:38:24 +00:00
John Maguire
b91a61c260 Tidy unicode length detection & add Cyrillic FTS test. 2010-06-21 12:07:56 +00:00
John Maguire
f544e28051 Fix FTS on Mac & Win. 2010-06-21 09:32:57 +00:00
John Maguire
614e031c20 Hopefully fix static sqlite, ie. Mac & Win. 2010-06-20 21:05:18 +00:00
John Maguire
379681157a OCD 2010-06-20 20:59:54 +00:00
John Maguire
2f1a2fa9c7 More FTS tests. 2010-06-20 20:58:32 +00:00
John Maguire
abf79ca447 Tests and refactoring for FTS. 2010-06-20 20:51:57 +00:00
John Maguire
f989976d30 Some tests for the new FTS stuff. 2010-06-20 20:44:54 +00:00
John Maguire
59984c49ad Tidy up a bit. 2010-06-20 20:07:32 +00:00
John Maguire
de4b889986 >.> 2010-06-20 20:05:01 +00:00
John Maguire
9f7803d964 The atrocity that is unicode-aware FTS.
Yes, this code is horrible. Maybe I'll fix it.
2010-06-20 19:46:51 +00:00
David Sansome
c701c49004 Don't try to register empty global shortcuts (avoids loads of warnings being printed to stderr) 2010-06-20 18:43:20 +00:00
David Sansome
492d8fec87 Use sqlite's Full Text Search on the songs table 2010-06-20 16:30:10 +00:00
David Sansome
80837ce652 Oops - it helps if we actually remember to set the URL of the song we just loaded. Fixes issue #426 2010-06-20 12:50:08 +00:00
David Sansome
e0d7b7021b Change the rain URL to one on clementine-player.org so we can redirect if the actual URL changes 2010-06-18 13:35:17 +00:00
John Maguire
82b728528e Better unicode search.
Fixes issue #419
2010-06-18 12:54:11 +00:00
David Sansome
f82ff23d9b Don't miss out the first filename on the commandline 2010-06-18 12:19:19 +00:00
John Maguire
256b507cae Leopard compile fixes 2010-06-18 11:41:16 +00:00
David Sansome
28505857fc Fix commandline option parsing 2010-06-18 00:31:54 +00:00
David Sansome
398bd54203 Don't put NULL in these not nullable columns - fixes a crash when downloading the Magnatune db 2010-06-18 00:11:15 +00:00
John Maguire
67bc9351bd Only show mac universal access dialog if user clicks on button in global shortcuts dialog. 2010-06-17 23:11:51 +00:00
John Maguire
9f2db477f8 Remove useless function. 2010-06-17 23:00:07 +00:00
John Maguire
077dfd46b0 Support more shortcut keys on mac. 2010-06-17 22:55:34 +00:00
David Sansome
3fd807df31 Add an (unimplemented) label and button to the global shortcut dialog for mac 2010-06-17 22:15:07 +00:00
John Maguire
a562190bbe Code review comments for r1198
Put back media keys for non-mac.

In this year:
The town of Riga is chartered as a city by Bishop Albert, who landed on the site of the town with 1,500 crusaders earlier that year.
2010-06-17 21:54:42 +00:00
John Maguire
25be0a1465 *Catch global shortcuts when clementine is focused.
*Automatically ask the user to enable assistive devices.
2010-06-17 21:33:16 +00:00
John Maguire
f9e29fccf4 Global keyboard shortcuts for Cocoa.
Requires "Enable access for assistive devices" set in Universal Access control panel.
2010-06-17 20:31:34 +00:00
David Sansome
89ac81be10 Treat 0 the same as -1 and NULL for numeric columns such as "disc".
Update issue #411
Status: Fixed
Ah ha!  I knew it was the disc tag - one of them had a value of 0 set, and the other had no value at all which was taken by clementine to mean "-1", which was lower than 0 so screwed up the sorting.  Try now and it should be fixed (you'll have to get Clementine to rescan that directory - probably remove it from the library settings and add it again).
2010-06-17 15:52:06 +00:00
David Sansome
057a896967 Fix a few minor warnings 2010-06-17 14:05:21 +00:00
David Sansome
c15afd8083 Fix a warning message 2010-06-16 22:12:08 +00:00
John Maguire
5307ca3db0 Return the correct type from GstBusFunc()s 2010-06-15 22:32:20 +00:00
John Maguire
a8f7df9e28 Remove incorrect gst_message_unref. It should only be called from *sync* handlers that are returning GST_BUS_DROP. 2010-06-15 22:30:06 +00:00
John Maguire
abdc2eee2e Put LoadUrl for mac back. 2010-06-15 21:56:33 +00:00
David Sansome
0f8ada10d3 Typo 2010-06-15 18:34:15 +00:00
David Sansome
f162d9d620 Add a SongLoaderInserter that loads a list of URLs and inserts them into a playlist when it's done. Wire up everything in the GUI that loads URLs or filenames to use the new SongLoader. 2010-06-15 18:24:08 +00:00
David Sansome
25ff2bca59 Always treat text/uri-list as M3U 2010-06-15 14:52:42 +00:00
David Sansome
987a918d90 Timeout when fetching remote things 2010-06-15 14:44:28 +00:00
David Sansome
7afa3372f5 Fix the qWarning warning 2010-06-15 14:42:32 +00:00
David Sansome
de630e0a9f Run LoadLocalDirectory in another thread so it doesn't block 2010-06-15 14:24:17 +00:00
David Sansome
2c3e9276aa Fix some of the comments on r1148 2010-06-15 13:56:41 +00:00
David Sansome
a27b6d3561 Herp derp 2010-06-15 13:28:08 +00:00
David Sansome
08a01d6997 The start of some code to automagically determine whether a URL is a playlist or a song, and load the songs in the playlist if it's a playlist. Still to do: timeout, forcing M3U for text/uri-list. 2010-06-15 13:24:17 +00:00
John Maguire
73a381fe89 Rain! 2010-06-14 20:00:17 +00:00
John Maguire
5a97697702 Add support for opening files via Finder in OS X.
Update issue #405
Status: Started
Opening from Finder works but Clementine still isn't a "recommended" application.
2010-06-14 13:22:45 +00:00
David Sansome
a8d79582c1 Add a status bar indicator to tell the user how many tracks are loaded. Fixes issue #155 2010-06-12 21:20:53 +00:00
David Sansome
083eb716a7 Crossfade magnatune streams properly 2010-06-12 20:22:58 +00:00
David Sansome
36abad486b Add a dialog for manual searching of Last.fm album covers. Fixes issue #402 2010-06-12 17:13:01 +00:00
David Sansome
f69a82bc6e Force a re-download of the magnatune database so svn users will get the sku-codes required for downloading 2010-06-09 14:04:56 +00:00