Changeset 4
- Timestamp:
- Jan 12, 2006, 6:30:10 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/AUTHORS
r3 r4 13 13 + OS X toolbar icons 14 14 15 Michael,Omar and Adrien15 Omar and Adrien 16 16 + Beta testing 17 18 Michael Demars 19 + Beta testing 20 + OS X UI patches 17 21 18 22 Various people -
trunk/Jamrules
r2 r4 7 7 8 8 VERSION_MAJOR = 0 ; 9 VERSION_MINOR = 3;9 VERSION_MINOR = 4 ; 10 10 # VERSION_STRING = $(VERSION_MAJOR).$(VERSION_MINOR) ; 11 VERSION_STRING = 0. 4-cvs ;11 VERSION_STRING = 0.5-cvs ; 12 12 13 13 DEFINES += VERSION_MAJOR=$(VERSION_MAJOR) -
trunk/NEWS
r1 r4 1 1 NEWS file for Transmission <http://transmission.m0k.org/> 2 3 0.4 (2005/11/18) 4 - Uses less CPU downloading torrents with many pieces 5 - The UI could freeze when the hard drive was having a hard time - fixed 6 - Fixes for difficult trackers, which require a 'key' parameter or a 7 User Agent field 8 - OS X: Cleaner look, unified toolbar 9 - OS X: Added a document icon for torrent files 10 - OS X: Added a Pause/Resume button for each torrent, and a 11 "Reveal in Finder" button 12 - OS X: Added a contextual menu 13 - OS X: Sometimes torrents kept "Stopping..." forever - fixed 14 - OS X: Several minor improvements or fixes: allows column reordering, 15 fixed resizing on Panther, remember the position of the window, 16 fixed display of Unicode filenames, added menubar items and 17 keyboard shortcuts, made the simple progress bar switch to green 18 when seeding 2 19 3 20 0.3 (2005/10/19) -
trunk/macosx/Controller.h
r3 r4 42 42 43 43 IBOutlet NSMenuItem * fAdvancedBarItem; 44 IBOutlet NSMenuItem * fPauseResumeItem; 45 IBOutlet NSMenuItem * fRemoveItem; 44 46 45 47 IBOutlet NSWindow * fWindow; -
trunk/macosx/Controller.m
r3 r4 49 49 @implementation Controller 50 50 51 - (void) update Toolbar51 - (void) updateBars 52 52 { 53 53 NSArray * items; … … 57 57 unsigned i; 58 58 59 row = [fTableView selectedRow]; 59 row = [fTableView selectedRow]; 60 61 /* Can we remove it ? */ 60 62 enable = ( row >= 0 ) && ( fStat[row].status & 61 63 ( TR_STATUS_STOPPING | TR_STATUS_PAUSE ) ); 62 63 64 items = [fToolbar items]; 64 65 for( i = 0; i < [items count]; i++ ) … … 69 70 [item setAction: enable ? @selector( removeTorrent: ) : NULL]; 70 71 } 72 } 73 [fRemoveItem setAction: enable ? @selector( removeTorrent: ) : NULL]; 74 75 /* Can we pause or resume it ? */ 76 [fPauseResumeItem setTitle: @"Pause"]; 77 [fPauseResumeItem setAction: NULL]; 78 if( row < 0 ) 79 { 80 return; 81 } 82 if( fStat[row].status & TR_STATUS_PAUSE ) 83 { 84 [fPauseResumeItem setTitle: @"Resume"]; 85 [fPauseResumeItem setAction: @selector( resumeTorrent: )]; 86 } 87 else if( fStat[row].status & ( TR_STATUS_CHECK | 88 TR_STATUS_DOWNLOAD | TR_STATUS_SEED ) ) 89 { 90 [fPauseResumeItem setAction: @selector( stopTorrent: )]; 71 91 } 72 92 } … … 543 563 544 564 /* Must we do this? Can't remember */ 545 [self update Toolbar];565 [self updateBars]; 546 566 } 547 567 … … 636 656 int row = [fTableView selectedRow]; 637 657 638 [self update Toolbar];658 [self updateBars]; 639 659 640 660 if( row < 0 ) … … 689 709 [item setImage: [NSImage imageNamed: @"Remove.png"]]; 690 710 [item setTarget: self]; 691 /* We set the selector in update Toolbar: */711 /* We set the selector in updateBars: */ 692 712 } 693 713 else if( [ident isEqualToString: TOOLBAR_PREFS] ) … … 773 793 } 774 794 } 775 [self update Toolbar];795 [self updateBars]; 776 796 break; 777 797 } -
trunk/macosx/English.lproj/MainMenu.nib/classes.nib
r3 r4 31 31 fInfoTracker = NSTextField; 32 32 fInfoUploaded = NSTextField; 33 fPauseResumeItem = NSMenuItem; 33 34 fPrefsController = PrefsController; 34 fTableView = NSTableView; 35 fRemoveItem = NSMenuItem; 36 fTableView = TorrentTableView; 35 37 fTotalDLField = NSTextField; 36 38 fTotalULField = NSTextField; -
trunk/macosx/English.lproj/MainMenu.nib/info.nib
r3 r4 4 4 <dict> 5 5 <key>IBDocumentLocation</key> 6 <string>18 8 334361 432 0 0 1280 832 </string>6 <string>185 138 361 432 0 0 1280 832 </string> 7 7 <key>IBEditorPositions</key> 8 8 <dict> … … 18 18 <key>IBOpenObjects</key> 19 19 <array> 20 <integer>29</integer> 20 21 <integer>456</integer> 21 <integer>21</integer>22 22 </array> 23 23 <key>IBSystem Version</key> -
trunk/macosx/ProgressCell.m
r2 r4 141 141 for( w = 0; w < 120; w++ ) 142 142 { 143 *p = kBlue2[h]; 143 if( fStat->status & TR_STATUS_SEED ) 144 { 145 *p = kGreen[h]; 146 } 147 else 148 { 149 *p = kBlue2[h]; 150 } 144 151 145 152 if( w >= (int) ( fStat->progress * 120 ) ) … … 157 164 int h, w; 158 165 uint32_t * p; 159 160 if( fStat->status & TR_STATUS_SEED )161 {162 for( h = 0; h < 2; h++ )163 {164 p = (uint32_t *) ( [fBmp bitmapData] +165 h * [fBmp bytesPerRow] ) + 2;166 }167 }168 166 169 167 for( h = 0; h < 14; h++ )
Note: See TracChangeset
for help on using the changeset viewer.