diff --git a/NEWS b/NEWS index f69d1d520..d34dfcae4 100644 --- a/NEWS +++ b/NEWS @@ -5,6 +5,7 @@ http://trac.transmissionbt.com/query?group=component&milestone=1.30&order=severi - Mac + Quick Look integration in the main window and inspector's file tab + Transfers can be dragged to different groups + + Option to only show the add window when manually adding transfers + Status strings are toggled from the action button (they are no longer clickable) - GTK+ + Add preferences options to inhibit hibernation and to toggle the tray icon diff --git a/macosx/Controller.h b/macosx/Controller.h index 6a50e3d87..2bcb243ea 100644 --- a/macosx/Controller.h +++ b/macosx/Controller.h @@ -41,6 +41,7 @@ typedef enum { ADD_NORMAL, + ADD_AUTO, ADD_SHOW_OPTIONS, ADD_URL, ADD_CREATED diff --git a/macosx/Controller.m b/macosx/Controller.m index ece15f9a4..22d683a60 100644 --- a/macosx/Controller.m +++ b/macosx/Controller.m @@ -787,7 +787,8 @@ static void sleepCallback(void * controller, io_service_t y, natural_t messageTy //determine to show the options window BOOL showWindow = type == ADD_SHOW_OPTIONS || ([fDefaults boolForKey: @"DownloadAsk"] - && (info.isMultifile || ![fDefaults boolForKey: @"DownloadAskMulti"])); + && (info.isMultifile || ![fDefaults boolForKey: @"DownloadAskMulti"]) + && (type != ADD_AUTO || ![fDefaults boolForKey: @"DownloadAskManual"])); tr_metainfoFree(&info); if (!(torrent = [[Torrent alloc] initWithPath: torrentPath location: location @@ -2477,7 +2478,7 @@ static void sleepCallback(void * controller, io_service_t y, natural_t messageTy switch (tr_torrentParse(fLib, ctor, NULL)) { case TR_OK: - [self openFiles: [NSArray arrayWithObject: file] addType: ADD_NORMAL forcePath: nil]; + [self openFiles: [NSArray arrayWithObject: file] addType: ADD_AUTO forcePath: nil]; [GrowlApplicationBridge notifyWithTitle: NSLocalizedString(@"Torrent File Auto Added", "Growl notification title") description: [file lastPathComponent] notificationName: GROWL_AUTO_ADD iconData: nil priority: 0 isSticky: NO diff --git a/macosx/Defaults.plist b/macosx/Defaults.plist index 72db4b040..82b90eeb4 100644 --- a/macosx/Defaults.plist +++ b/macosx/Defaults.plist @@ -48,6 +48,8 @@ DownloadAsk + DownloadAskManual + DownloadAskMulti DownloadFolder diff --git a/macosx/English.lproj/InfoWindow.xib b/macosx/English.lproj/InfoWindow.xib index 982056396..b59f97abd 100644 --- a/macosx/English.lproj/InfoWindow.xib +++ b/macosx/English.lproj/InfoWindow.xib @@ -8,8 +8,8 @@ 352.00 YES + - YES @@ -2146,7 +2146,7 @@ AAB0ZXh0AAAAAENvcHlyaWdodCBBcHBsZSBDb21wdXRlciwgSW5jLiwgMjAwNQAAAAA - 4 + 2 diff --git a/macosx/English.lproj/MainMenu.xib b/macosx/English.lproj/MainMenu.xib index be1a12e4c..636d8a949 100644 --- a/macosx/English.lproj/MainMenu.xib +++ b/macosx/English.lproj/MainMenu.xib @@ -8,7 +8,7 @@ 352.00 YES - + YES @@ -1996,7 +1996,7 @@ zJLMsszTzPPNFM00zVXNdc2GzabNx83nzgjOKM5JzmnOis6qzrrO2877zxzPPM9dz33Pns++z9/P79AA - 4 + 2 diff --git a/macosx/English.lproj/PrefsWindow.xib b/macosx/English.lproj/PrefsWindow.xib index 8f2ba89fa..01e80f0dd 100644 --- a/macosx/English.lproj/PrefsWindow.xib +++ b/macosx/English.lproj/PrefsWindow.xib @@ -3,13 +3,12 @@ 1050 9C7010 - 648 + 658 949.26 352.00 YES - - + YES @@ -360,7 +359,7 @@ NSResponder - + 256 YES @@ -373,7 +372,7 @@ YES - + 256 YES @@ -515,7 +514,7 @@ 256 - {{111, 75}, {188, 18}} + {{111, 55}, {188, 18}} YES @@ -537,7 +536,7 @@ 256 - {{110, 38}, {181, 18}} + {{110, 18}, {181, 18}} YES @@ -559,7 +558,7 @@ 256 - {{294, 33}, {182, 26}} + {{294, 13}, {182, 26}} YES @@ -631,7 +630,7 @@ 256 - {{41, 39}, {66, 17}} + {{41, 19}, {66, 17}} YES @@ -763,7 +762,7 @@ 256 - {{111, 95}, {192, 18}} + {{111, 75}, {192, 18}} YES @@ -782,6 +781,28 @@ 25 + + + 256 + {{130, 95}, {197, 18}} + + YES + + 67239424 + 0 + Only when adding manually + + + 1211912703 + 2 + + + + + 200 + 25 + + 256 @@ -822,6 +843,7 @@ {{10, 33}, {493, 226}} + Adding @@ -829,7 +851,7 @@ - + 256 YES @@ -1473,25 +1495,25 @@ {{10, 33}, {493, 226}} - Management - + 0 YES YES YES - + {539, 288} + NSView NSResponder @@ -2095,7 +2117,7 @@ AAABAAAAAQ NSResponder - + 256 YES @@ -2508,12 +2530,11 @@ AAABAAAAAQ {539, 262} - NSView NSResponder - + 256 YES @@ -2773,11 +2794,16 @@ AAABAAAAAQ {539, 153} - NSView NSResponder + + YES + DownloadAsk + DownloadAskNotManual + DownloadAskManual + YES @@ -4427,6 +4453,38 @@ AAABAAAAAQ 1475 + + + enabled: values.DownloadAsk + + + + + + enabled: values.DownloadAsk + enabled + values.DownloadAsk + 2 + + + 1478 + + + + value: values.DownloadAskManual + + + + + + value: values.DownloadAskManual + value + values.DownloadAskManual + 2 + + + 1480 + @@ -4668,6 +4726,7 @@ AAABAAAAAQ + @@ -6206,6 +6265,20 @@ AAABAAAAAQ + + 1476 + + + YES + + + + + + 1477 + + + @@ -6292,6 +6365,8 @@ AAABAAAAAQ 147.ImportedFromIB2 1473.IBPluginDependency 1473.ImportedFromIB2 + 1476.IBPluginDependency + 1476.ImportedFromIB2 153.IBPluginDependency 153.ImportedFromIB2 153.editorWindowContentRectSynchronizationRect @@ -6586,6 +6661,8 @@ AAABAAAAAQ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -6828,13 +6905,14 @@ AAABAAAAAQ - 1475 + 1480 YES FirstResponder + NSObject IBUserSource @@ -6849,6 +6927,7 @@ AAABAAAAAQ NSApplication + NSResponder IBUserSource @@ -6856,6 +6935,7 @@ AAABAAAAAQ NSDatePicker + NSControl IBUserSource @@ -6870,18 +6950,12 @@ AAABAAAAAQ NSMenu + NSObject IBUserSource - - NSObject - - IBProjectSource - macosx/IPCController.h - - NSObject diff --git a/macosx/TorrentTableView.m b/macosx/TorrentTableView.m index 7ce7e1ef5..3aa86ed84 100644 --- a/macosx/TorrentTableView.m +++ b/macosx/TorrentTableView.m @@ -735,7 +735,7 @@ continue; } - if (!start) + if (!start && ![self isRowSelected: i]) NSRectFill([self rectOfRow: i]); start = !start;