Commit Graph

1002 Commits

Author SHA1 Message Date
David Sansome 0404ecec70 Fix compilation without gstreamer. Fixes issue #440 2010-06-26 13:20:08 +00:00
David Sansome 7c09e39d41 Only compile the DeviceKit bits on Linux 2010-06-26 12:57:00 +00:00
David Sansome 61e1f1b680 Fix a release mode compilation error 2010-06-26 12:52:27 +00:00
David Sansome 2deca7fd61 Add a DeviceManager which holds all the listers and connected devices. Make FilesystemDevices use their own LibraryWatcher. 2010-06-26 12:41:18 +00:00
David Sansome 28ea240eb8 ConnectedDevices have a LibraryModel 2010-06-25 23:38:21 +00:00
David Sansome b750df38ce Rename the DeviceEngines to DeviceListers 2010-06-25 22:36:21 +00:00
David Sansome 2b17a8ee1f Revert r1344 (the timer tracing), it didn't help 2010-06-25 22:04:24 +00:00
David Sansome b423350208 Put each DeviceEngine in its own thread, don't pretend to be a QAbstractItemModel (it's annoying and not at all thread-safe), add a debugging class to listen to and print events. 2010-06-25 22:01:47 +00:00
David Sansome 2ef1fe5ac1 Fix LINGUAS processing 2010-06-25 20:48:39 +00:00
David Sansome ad9d6e7e73 Beginnings of some code to handle removable devices. DeviceKit engine for linux. Doesn't do anything useful yet. 2010-06-25 19:04:10 +00:00
David Sansome a9addb3c54 Add the DeviceKit-disks dbus interfaces 2010-06-25 16:17:17 +00:00
David Sansome f8d0afbc18 Move dbus xml files to src/dbus 2010-06-25 16:05:02 +00:00
David Sansome f0b984cbe9 Prepend a 0 to single-digit track numbers in the organiser. Fixes issue #438 2010-06-25 15:15:02 +00:00
David Sansome a0f9c81891 Don't prune the scope while playback is paused 2010-06-25 08:48:19 +00:00
David Sansome cc6413ab0e Add tracing to every timer event, might help track down CPU usage... 2010-06-25 08:46:03 +00:00
David Sansome 8a8fa51ae2 Remember the last destination too 2010-06-24 23:40:04 +00:00
David Sansome 69924cd76a Add copy and move menu items to the playlist 2010-06-24 23:36:39 +00:00
David Sansome e1e8866424 Make pausing and resuming library scans come from the task manager, not the organiser. 2010-06-24 22:59:29 +00:00
David Sansome dbe51d2cf5 Add an "Organise files..." menu option to the Library view 2010-06-24 22:45:30 +00:00
David Sansome a8f505e266 Don't fiddle playlist entries if the directory ID doesn't match what it was before - eg. if you delete a directory and add another one, and some IDs get reused. 2010-06-24 22:21:54 +00:00
David Sansome 05b6c8fe71 Allow organising of whole directories, and pause the library watcher while organising is in progress. 2010-06-24 21:46:18 +00:00
David Sansome b2f8bb7063 Pass the copy/move state through to Organiser 2010-06-24 20:26:17 +00:00
David Sansome f9e3d405cd Consts and grammar 2010-06-24 18:59:09 +00:00
David Sansome 5f9c1bb2aa Oops, don't need this any more 2010-06-24 18:37:13 +00:00
David Sansome 0848f62c3d Move OrganiseFormat to core/ and add an Organise class that actually does the work. 2010-06-24 18:33:38 +00:00
David Sansome e680c441c1 Directory model, reset button, save and load settings 2010-06-24 17:34:23 +00:00
David Sansome 8fbc954279 Oops 2010-06-24 16:50:26 +00:00
David Sansome 3de7311c36 Add tests for the various format flags 2010-06-24 16:44:12 +00:00
David Sansome b2dcaf5cd4 Add a dialog for organising files in a library. Doesn't work yet 2010-06-24 16:26:49 +00:00
David Sansome e112d5172f Give the album cover manager a better default size. Thanks himynameiszacHandiamapirate 2010-06-24 14:47:16 +00:00
John Maguire 4da0ef772d Fix bundle target. 2010-06-24 12:53:35 +00:00
David Sansome f0e494fd32 Update all the translations 2010-06-23 17:03:37 +00:00
David Sansome e9b1f03ea8 Generate the right .pot file... 2010-06-23 17:03:29 +00:00
David Sansome 68053e791d Maybe fix mac compilation 2010-06-23 16:50:22 +00:00
David Sansome 88d1c7518a Move the "Configure Clementine" menu item into the Tools menu and rename it "Preferences". Also move the global shortcuts dialog into a page in the preferences dialog. Fixes issue #422 2010-06-23 16:27:23 +00:00
David Sansome 79f283f34d Add the "visualisations" action to the analyzer menu, and make double clicking the analyzer open it. Fixes issue #421 2010-06-23 15:52:56 +00:00
David Sansome 44d58482f0 Make the LibraryWatcher report on its progresss. Fixes issue #436 2010-06-23 14:00:18 +00:00
David Sansome eb830051c8 Show a percentage next to the loading indicator 2010-06-23 13:47:27 +00:00
David Sansome f808591ec7 Refactor the loading indicator widget into a seperate TaskManager class that can handle tasks with progress 2010-06-23 13:21:30 +00:00
David Sansome ed422c3743 Set a longer remote timeout on unit tests so they don't fail when they run on buildbit with high load. 2010-06-23 11:51:13 +00:00
David Sansome 9106abb1a0 Handle redirect messages from mmssrc properly. Fixes issue #385. 2010-06-23 11:47:54 +00:00
David Sansome 1cc9392aa8 Merge translations from Launchpad 2010-06-23 10:21:37 +00:00
David Sansome c96e622897 Merge merge merge 2010-06-22 20:57:05 +00:00
David Sansome 72fec9a8d1 Don't try to load projectM presets from an empty directory 2010-06-22 19:44:38 +00:00
David Sansome 63861f2ee5 Explicitly produce static libraries even when BUILD_SHARED_LIBS is set 2010-06-22 16:07:29 +00:00
David Sansome faf34a92bb Make it possible to compile out the default CMAKE_INSTALL_PREFIX paths for projectm visualisations 2010-06-22 15:46:51 +00:00
John Maguire 300772ad89 Maybe fix mac crash. 2010-06-22 15:45:05 +00:00
John Maguire c8cb8cf012 Fixes for comments from r1266 2010-06-22 14:26:00 +00:00
John Maguire 4799823ed1 Neater system tray initialisation. 2010-06-22 14:16:04 +00:00
John Maguire 2669b4aebd Remove unused QSignalMapper. 2010-06-22 14:10:11 +00:00
John Maguire 15b8b90556 Implement native dock menu on Mac.
Fixes issue #349
2010-06-22 14:09:13 +00:00
David Sansome c357b2d548 Use the same last.fm API for automatic and manual fetching 2010-06-22 13:54:07 +00:00
David Sansome 4e15c2479d Make the "clear" button in the album cover manager actually do something 2010-06-22 13:39:03 +00:00
David Sansome b4add2a7be Refactor the system tray icon code a bit 2010-06-22 11:52:55 +00:00
John Maguire 74ec360ab5 Remove debug output :-)
Fixes issue #432
2010-06-21 19:32:53 +00:00
John Maguire 7827df9397 Disable global shortcuts dialog on <= 10.5 Mac. 2010-06-21 14:32:06 +00:00
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
David Sansome c950e79367 Make "Ban" skip to the next track 2010-06-21 12:16:05 +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 dafedbf00c Cache the playlist tree pixmap while the user is dragging stuff over it, making the repeated repaints less expensive. 2010-06-20 19:02:19 +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 3ef14cbfbc Juggle this translation 2010-06-18 16:06:59 +00:00
David Sansome b18fcee586 Fix a crash when clearing a playlist 2010-06-18 16:06:51 +00:00
David Sansome 47790e9099 Merge translations from Launchpad 2010-06-18 15:53:08 +00:00
David Sansome 5c82d6a97c These don't actually do anything 2010-06-18 15:41:47 +00:00
David Sansome 34a1772ed2 Don't replace song fields in the playlist when loading them on startup 2010-06-18 15:37:36 +00:00
David Sansome d2f2eb89e0 Don't count the length of tracks that don't have a length 2010-06-18 15:32:52 +00:00
David Sansome d3be5a4215 Make double-clicking on radio items work properly again. It's hacks all the way down... 2010-06-18 15:31:49 +00:00
David Sansome 43ae900852 Move the clear playlist button down to the bottom again. 2010-06-18 15:07:21 +00:00
John Maguire 2824c153bc Fix Sparkle install. 2010-06-18 14:50:13 +00:00
David Sansome 8dd0b9902b When album cover art changes, update songs matching those albums in the playlist 2010-06-18 14:26:46 +00:00
John Maguire f7b79eb766 Hide behaviour tab in settings on mac. 2010-06-18 14:21:46 +00:00
David Sansome 7eb83634b7 Update the library view when album covers get set by the cover manager 2010-06-18 13:47:11 +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
David Sansome 4a741e51a8 Lower the default rain volume.
Update issue #418
Status: Fixed
I can't think of a good place to put the GUI for this, so instead I've lowered the default rain volume so you can adjust the volume of whatever else you're listening to to match.
2010-06-18 13:24:56 +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
John Maguire 339b581040 Snow Leopard/Leopard detection. 2010-06-18 11:13:44 +00:00
David Sansome c8413dec80 Save the saved streams after editing one.
Update issue #404
Status: Fixed
Ah I see the problem - it didn't save the streams to the config file when you edited one - only when you added a new one.  So if you edited a stream *then* added a new one it would save both, but if you edit one and then exit it would get lost.  Should be fixed now.
2010-06-18 01:21:32 +00:00
David Sansome 28505857fc Fix commandline option parsing 2010-06-18 00:31:54 +00:00
David Sansome 4c938c0da1 Add a small top border to the large cover 2010-06-18 00:24:09 +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
David Sansome 349acc1803 Add a checkbox for zach to move the cover art above the status bar. 2010-06-18 00:06:59 +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