mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 12:28:52 +00:00
First commit on my own 8-)
Sorting by progress, sorting no longer causes crashes. New look for the table. Info is now inspector: can set individual and multiple ratio limits, shows listing of files, more info in general, resizes when changing tabs, can change tabs with cmd-left and cmd-right. Menu items moved to "Transfers" menu. Sliding status bar in its own view. Prefs moved into their own nib. Toolbar items for pause and resume selected (many wanted this, but it needs better icons) New icons for Transfers and General. A lot of tweaking of main window to fix alignment etc. Sparkle used for updated (still needs to be added to website to work). And a lot more tweaking and changes that I'm too lazy to list. ...now let's hope I commit this right
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
#import "PrefsController.h"
|
||||
#import "InfoWindowController.h"
|
||||
#import "Badger.h"
|
||||
#import "SmoothAquaView.h"
|
||||
|
||||
@class TorrentTableView;
|
||||
|
||||
@@ -39,47 +40,41 @@
|
||||
int fCompleted;
|
||||
NSMutableArray * fTorrents;
|
||||
|
||||
PrefsController * fPrefsController;
|
||||
NSUserDefaults * fDefaults;
|
||||
InfoWindowController * fInfoController;
|
||||
|
||||
NSToolbar * fToolbar;
|
||||
|
||||
IBOutlet NSMenuItem * fAdvancedBarItem;
|
||||
IBOutlet NSMenuItem * fPauseResumeItem;
|
||||
IBOutlet NSMenuItem * fRemoveItem;
|
||||
IBOutlet NSMenuItem * fRemoveTorrentItem;
|
||||
IBOutlet NSMenuItem * fRemoveDataItem;
|
||||
IBOutlet NSMenuItem * fRemoveBothItem;
|
||||
IBOutlet NSMenuItem * fRevealItem;
|
||||
IBOutlet NSMenuItem * fShowHideToolbar;
|
||||
|
||||
IBOutlet NSWindow * fWindow;
|
||||
IBOutlet NSScrollView * fScrollView;
|
||||
IBOutlet TorrentTableView * fTableView;
|
||||
NSToolbar * fToolbar;
|
||||
|
||||
IBOutlet NSMenuItem * fAdvancedBarItem;
|
||||
IBOutlet NSButton * fActionButton;
|
||||
|
||||
IBOutlet SmoothAquaView * fStatusBar;
|
||||
BOOL fStatusBarVisible;
|
||||
IBOutlet NSTextField * fTotalDLField;
|
||||
IBOutlet NSTextField * fTotalULField;
|
||||
IBOutlet NSTextField * fTotalTorrentsField;
|
||||
IBOutlet NSBox * fStats;
|
||||
BOOL fStatusBar;
|
||||
|
||||
IBOutlet NSButton * fActionButton;
|
||||
|
||||
NSString * fSortType;
|
||||
IBOutlet NSMenuItem * fNameSortItem,
|
||||
* fStateSortItem,
|
||||
* fDateSortItem;
|
||||
NSMenuItem * fCurrentSortItem;
|
||||
IBOutlet NSMenuItem * fNameSortItem, * fStateSortItem,
|
||||
* fProgressSortItem, * fDateSortItem;
|
||||
|
||||
IBOutlet NSMenuItem * fNextInfoTabItem, * fPrevInfoTabItem;
|
||||
|
||||
IBOutlet NSMenu * fUploadMenu, * fDownloadMenu;
|
||||
IBOutlet NSMenuItem * fUploadLimitItem, * fUploadNoLimitItem,
|
||||
* fDownloadLimitItem, * fDownloadNoLimitItem,
|
||||
* fRatioSetItem, * fRatioNotSetItem;
|
||||
|
||||
io_connect_t fRootPort;
|
||||
NSTimer * fTimer;
|
||||
NSTimer * fUpdateTimer;
|
||||
|
||||
IBOutlet NSPanel * fPrefsWindow;
|
||||
IBOutlet PrefsController * fPrefsController;
|
||||
NSUserDefaults * fDefaults;
|
||||
|
||||
BOOL fHasGrowl;
|
||||
Badger * fBadger;
|
||||
BOOL fCheckIsAutomatic;
|
||||
Badger * fBadger;
|
||||
BOOL fUpdateInProgress;
|
||||
}
|
||||
|
||||
- (void) advancedChanged: (id) sender;
|
||||
@@ -100,13 +95,13 @@
|
||||
- (void) stopAllTorrents: (id) sender;
|
||||
- (void) stopTorrentWithIndex: (NSIndexSet *) indexSet;
|
||||
|
||||
- (void) removeTorrent: (id) sender;
|
||||
- (void) removeTorrentDeleteFile: (id) sender;
|
||||
- (void) removeTorrentDeleteData: (id) sender;
|
||||
- (void) removeTorrentDeleteBoth: (id) sender;
|
||||
- (void) removeTorrentWithIndex: (NSIndexSet *) indexSet
|
||||
deleteTorrent: (BOOL) deleteTorrent
|
||||
deleteData: (BOOL) deleteData;
|
||||
- (void) removeTorrent: (id) sender;
|
||||
- (void) removeTorrentDeleteTorrent: (id) sender;
|
||||
- (void) removeTorrentDeleteData: (id) sender;
|
||||
- (void) removeTorrentDeleteBoth: (id) sender;
|
||||
- (void) removeTorrentWithIndex: (NSIndexSet *) indexSet
|
||||
deleteTorrent: (BOOL) deleteTorrent
|
||||
deleteData: (BOOL) deleteData;
|
||||
|
||||
- (void) removeSheetDidEnd: (NSWindow *) sheet returnCode: (int) returnCode
|
||||
contextInfo: (NSDictionary *) dict;
|
||||
@@ -114,24 +109,33 @@
|
||||
deleteTorrent: (BOOL) deleteTorrent
|
||||
deleteData: (BOOL) deleteData;
|
||||
|
||||
- (void) revealTorrent: (id) sender;
|
||||
|
||||
- (void) showInfo: (id) sender;
|
||||
- (void) updateInfo;
|
||||
- (void) updateInfoStats;
|
||||
- (void) revealFile: (id) sender;
|
||||
|
||||
- (void) updateUI: (NSTimer *) timer;
|
||||
- (void) showPreferenceWindow: (id) sender;
|
||||
|
||||
- (void) showInfo: (id) sender;
|
||||
- (void) setInfoTab: (id) sender;
|
||||
|
||||
- (void) updateUI: (NSTimer *) timer;
|
||||
- (void) updateTorrentHistory;
|
||||
|
||||
- (void) sortTorrents;
|
||||
- (void) setSort: (id) sender;
|
||||
|
||||
- (void) sleepCallBack: (natural_t) messageType argument:
|
||||
- (void) setLimitGlobalEnabled: (id) sender;
|
||||
- (void) setQuickLimitGlobal: (id) sender;
|
||||
- (void) limitGlobalChange: (NSNotification *) notification;
|
||||
|
||||
- (void) setRatioGlobalEnabled: (id) sender;
|
||||
- (void) setQuickRatioGlobal: (id) sender;
|
||||
- (void) ratioGlobalChange: (NSNotification *) notification;
|
||||
- (void) ratioSingleChange: (NSNotification *) notification;
|
||||
|
||||
- (void) sleepCallBack: (natural_t) messageType argument:
|
||||
(void *) messageArgument;
|
||||
|
||||
- (void) toggleStatusBar: (id) sender;
|
||||
|
||||
- (void) showPreferenceWindow: (id) sender;
|
||||
- (void) showStatusBar: (BOOL) show animate: (BOOL) animate;
|
||||
|
||||
- (void) showMainWindow: (id) sender;
|
||||
- (void) linkHomepage: (id) sender;
|
||||
@@ -139,9 +143,8 @@
|
||||
- (void) notifyGrowl: (NSString *) file;
|
||||
- (void) growlRegister: (id) sender;
|
||||
|
||||
- (void) checkForUpdate: (id) sender;
|
||||
- (void) checkForUpdateTimer: (NSTimer *) timer;
|
||||
- (void) checkForUpdateAuto: (BOOL) automatic;
|
||||
- (void) checkUpdate: (id) sender;
|
||||
- (void) prepareForUpdate: (NSNotification *) notification;
|
||||
|
||||
@end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user