Commit Graph

50 Commits

Author SHA1 Message Date
John Maguire 341dc7326f Reformat all C++ 2020-09-22 14:56:06 +01:00
Jonas Kvinge f81a3aa8d8 Replace use of QString::sprintf with QString::asprintf 2020-01-05 00:12:32 +01:00
Jonas Kvinge 8c198a99a5 Qt 5 fixes 2018-11-21 10:31:17 +00:00
John Maguire 5146bcdebc Some more NULL -> nullptr conversions. 2014-02-21 17:30:46 +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
John Maguire a650ac91bd Don't probe stupid printers on OS X. 2013-07-09 12:03:01 +02: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
John Maguire c62e996607 Fix come compile warnings from Clang 3.1 2012-06-04 17:44:01 +02: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
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
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
John Maguire 309634bc18 Blacklist eLicenser copy protection dongle from Mac MTP probing.
Fixes issue #2232
2011-09-15 17:42:03 +02:00
John Maguire e1f66960f8 Swap vendor id and product id for ilok2.
Update issue #2226
D'oh, fixed.
2011-09-13 16:39:40 +02:00
John Maguire 17adb2bd6d Blacklist ilok2 device from Mac MTP detection.
Update issue #2226
Hopefully this will fix it.
2011-09-13 15:57:13 +02:00
John Maguire 8ad150bd6b Don't detect CD devices on Mac when we can't use them and fix an iokit
device leak.
2011-08-15 18:13:05 +02:00
John Maguire 50824cafe9 Make AskForScan() per-device rather than per device lister and fix cddadevice to use the url rather than the unique id. 2011-08-11 22:10:14 +02:00
John Maguire 75a53d0b36 Detect CD removal on mac. 2011-08-11 21:43:00 +02:00
John Maguire 47a171fca7 Detect cd insertion on mac. 2011-08-11 21:37:09 +02:00
David Sansome 3eedc916ad Add a new logging system 2011-04-22 16:50:29 +00:00
John Maguire 41ef30151a Remove debug output. 2011-04-04 13:16:13 +00:00
John Maguire ab363a54ea Fix free space & capacity counts for MTP devices on Mac. 2011-04-04 13:15:56 +00:00
David Sansome 89e3fde23b Add missing copyright headers to the icecast source and objective-c 2010-11-23 11:42:19 +00:00
John Maguire e993909bd0 Fix USB mass storage devices on Mac.
Fixes issue #821
2010-09-27 17:27:08 +00:00
John Maguire be6e887375 Fix quirks table and add my device manually :-)
Also fixes error dialog for organise files.
2010-09-04 20:11:14 +00:00
John Maguire 885a711d3a Detect MTP device removal & free space/capacity on Mac. 2010-09-04 19:32:36 +00:00
John Maguire 902e4906e2 Some more Mac MTP work.
Reminder: Ship libusb-compat, not legacy libusb as it is fucked.
2010-09-02 22:35:00 +00:00
John Maguire 75a576a5c2 MTP support for Mac... Currently crashes the entire USB bus so I wouldn't use it. 2010-09-02 21:20:27 +00:00
John Maguire 916502fcca Ignore non-USB disk mounts on Mac. 2010-09-02 18:24:39 +00:00
John Maguire 310fa00701 Get address and bus number of MTP devices on Mac. 2010-09-02 18:10:40 +00:00
John Maguire 9e34783602 Add references for MTP detection code. 2010-09-01 21:50:05 +00:00
John Maguire 08f257d3ee Clean up Mac MTP detection code. 2010-09-01 21:43:23 +00:00
John Maguire cce7fadc89 Dodgy code for detecting MTP devices on Mac without crashing (I'm looking at you libmtp). 2010-09-01 20:31:10 +00:00
John Maguire 2e03a2f093 *Fix device lister shutdown on mac
*Remove a bunch of debug
*Fix a windows translation
2010-08-23 10:26:00 +00:00
David Sansome 78db71c02c Semi-working WMDM device lister 2010-08-15 23:26:04 +00:00
John Maguire 871a853ff7 Fix compile on mac. 2010-08-14 18:37:16 +00:00
John Maguire 73657ccaaa Remove debug + Mac typo. 2010-08-01 17:38:58 +00:00
David Sansome 6faa1aa1a6 Merge iLister devices with GIO devices 2010-08-01 11:55:01 +00:00
John Maguire 41d1facd9f Fix compile on Leopard & support correct icons on Mac. 2010-07-26 11:01:36 +00:00
John Maguire 39b72e2b9c Fix compiler warning. 2010-07-25 13:09:23 +00:00
John Maguire 8ffc77e5b4 Unmount support on Mac. 2010-07-25 01:29:22 +00:00
David Sansome a9d75e628b Remove the connect/disconnect actions and replace them with an eject device action. Implement eject on devicekit and gio. 2010-07-25 01:07:51 +00:00
John Maguire a0fc3e3633 Fix code review comments from r1530 2010-07-24 19:02:49 +00:00
John Maguire 3cc30db7d4 Support mass storage devices on Mac. 2010-07-24 18:34:22 +00:00
John Maguire dd3182ad70 Messy mac device listing code using three different APIs. At least the IOKit one will probably go away. 2010-07-23 13:46:30 +00:00