Mattias Andersson
0be0498e94
Reset the model during init of CddaDevice
...
This ensures that the track list in the device tab is correctly updated when a
disc is replaced with one that doesn't exist in the MusicBrainz database.
2014-05-24 13:54:07 +02:00
John Maguire
5146bcdebc
Some more NULL -> nullptr conversions.
2014-02-21 17:30:46 +01:00
John Maguire
192b60d965
Use nullptr as parent parameter default everywhere
2014-02-10 16:03:54 +01:00
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
Krzysztof A. Sobiecki
0ecf1e76a6
Reformat done with clang-3.5 svn200967
2014-02-07 17:08:31 +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
John Maguire
d309d4ab27
Use c++11 instead of boost where possible.
2014-02-06 16:51:39 +01:00
John Maguire
b96ec7555a
Reformat all Objective-C++ files with clang-format.
...
clang-format -style=Google -i src/*/*.mm
2014-01-30 14:54:51 +01:00
David Sansome
8416188056
Show a message in the Devices pane on Windows to say that most devices won't work. Fixes #4059
2014-01-05 11:32:07 +11:00
John Maguire
95330a3d7c
Deal more gracefully with a device's library not having any directories on second mount.
...
Fixes issue #3940
2013-11-04 18:44:07 +01:00
John Maguire
a650ac91bd
Don't probe stupid printers on OS X.
2013-07-09 12:03:01 +02:00
David Sansome
eb20fb5945
Remove all the soruce for WMDM devices. Fixes issue 3748
2013-06-30 08:25:12 +00:00
John Maguire
3d434f1c88
Remove iDevice support as it doesn't work well for modern devices and libgpod shows no signs of updating to support them.
...
Fixes issue #3683
2013-05-17 15:30:56 +02:00
David Sansome
d89954ae31
Fix style, hide the new columns by default, and move the new columns to the end of the enum
2013-03-10 18:16:14 +11:00
Uwe Klotz
a6d3b48231
Extend tag support: performer, grouping
...
The transaction handling while upgrading the database schema had to be revised.
Furthermore some QSqlQuery statements needed to be finished properly.
Fixes issue 2556
2013-03-10 18:16:03 +11:00
John Maguire
42e7e4ff6f
Use boost::bind in DeviceManager.
2012-11-21 17:21:20 +01:00
John Maguire
80d35ef128
Merge remote branch 'origin/mingw-w64'
2012-11-19 18:17:19 +01:00
Arnaud Bienner
e9c98733b3
Also update song count when tags are loaded: I don't know why but there not updated in Init
2012-11-18 22:14:06 +01:00
Arnaud Bienner
fb07308607
Slightly modify the way CddaLister::Init worksr: as cdio_get_devices sometimes return only symlinks, we should not ignore them.
2012-11-18 22:05:18 +01:00
John Maguire
8501ac0d96
Do WMDM static init in main() to avoid static mutex.
2012-11-15 22:08:04 +00:00
John Maguire
543a6bf2fa
Remove use of linked SAC shim and depend on DLL version (which doesn't exist yet)
2012-11-13 17:04:54 +01:00
John Maguire
79318cc4e1
Build fixes for mingw-w64
2012-11-13 14:43:13 +01:00
Veniamin Gvozdikov
e6e72dc68d
Change the include order to fix a build error on FreeBSD.
...
Fixes issue 3247
2012-10-31 10:45:18 -07:00
John Maguire
896a8739e9
Maybe fix mac build.
2012-09-26 18:12:14 +02:00
John Maguire
5ddabb4b76
Remove use of functions deprecated in Mountain Lion.
2012-09-13 16:24:45 +02:00
Arnaud Bienner
0e3dc5a8be
Add new ConcurrentRun templates for void functions, and functions with 3 arguments + corresponding test cases.
...
+ SongLoader now has its own QThreadPool to load folders/playlist in background.
Update issue 2598
This should fix slowliness problems reported.
2012-07-16 00:06:55 +02:00
John Maguire
905ef90882
Add missing header.
2012-06-29 17:06:47 +02:00
John Maguire
20b11961f9
Set the max size of the DeviceManager thread pool to 1.
2012-06-29 16:58:30 +02:00
John Maguire
58a3a6831a
Move loading of devices from the database onto a different thread.
2012-06-29 16:56:17 +02:00
John Maguire
cbc650f44b
Use CHECKED_GCONNECT instead of g_signal_connect everywhere.
2012-06-08 15:34:00 +02:00
Patrick Stewart
fd35ce8b5d
When listing devicekit devices, include drives that only contain a single partition (with no partition table).
...
Fixes issue 1508
2012-06-05 18:42:11 +01:00
John Maguire
c62e996607
Fix come compile warnings from Clang 3.1
2012-06-04 17:44:01 +02:00
David Sansome
5d4844acdd
Add copyright headers to ilister.{cpp,h}
2012-03-27 21:31:20 +01:00
David Sansome
119c9c27ac
Detect libimobiledevice 1.1.2 and use its new "udid" field instead of "uuid".
2012-03-27 21:24:38 +01:00
David Sansome
526a9d9960
Fix compilation of the WMDM device lister on windows
2012-02-26 16:00:00 +00:00
David Sansome
ab5ccf69da
Refactoring: remove BackgroundThread
2012-02-26 15:05:46 +00:00
David Sansome
bacef04405
Refactoring: remove a couple of the AlbumCoverLoader instances and instead use a shared CurrentArtLoader.
2012-02-26 14:40:51 +00:00
David Sansome
48f15c9fc7
Refactoring: instead of passing individual pointers to useful core classes (like TaskManager or LibraryBackend) to each class that uses them, pass one singleton-like Application instance everywhere.
2012-02-26 14:40:51 +00:00
David Sansome
10af3fef37
Maybe fix a string concatenation crash on startup on OS X.
2012-02-21 12:10:25 +00:00
John Maguire
3e65d3d5f0
Add ScopedNSAutoreleasePool from Chromium.
2012-01-31 13:54:03 +01:00
John Maguire
b86be65ea1
Add ScopedIOObject.
2012-01-23 18:12:51 -08:00
Руслан Ижбулатов
5c45e22e28
Make SAC and WMDM optional
2012-01-22 14:35:22 +00:00
John Maguire
ab33d9aa8c
Fix a bunch of small memory leaks in the mac device handling code.
2012-01-20 16:25:05 -08:00
John Maguire
028ac3126c
Use scoped_nsobject & ScopedCFTypeRef in a load of places.
2012-01-20 16:06:56 -08:00
John Maguire
fddde512c9
Update old logging statements.
2012-01-20 15:22:14 -08:00
David Sansome
e9c0b4bd69
Musicbrainz tagging improvements:
...
* Fix a bug where the song title would be used for the album field
* Get the album's year as well
* Include all releases for a song in the results list
* Remove duplicate albums
* Sort results
2012-01-07 21:51:02 +00:00
David Sansome
b873209d39
Remove the <xiphcomment.h> include from song.h so that windows headers don't infect everything else. Also move other bits of song.h into song.cpp, and reduce the number of includes in song.h.
2011-11-28 13:56:55 +00:00
John Maguire
177c658366
Fix CF handle leak.
2011-11-21 16:33:01 +01:00
John Maguire
b74c735268
Don't probe USB hubs and HID devices on Mac as some of them don't like it.
...
Update issue #981
Hopefully this fixes it.
2011-11-21 15:16:24 +01:00