Changeset 7007
- Timestamp:
- Nov 1, 2008, 3:22:32 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEWS
r6979 r7007 5 5 - All Platforms 6 6 + Tracker communication uses fewer resources 7 + Bandwidth displays now include overhead data transfer 7 8 + More accurate bandwidth management 8 9 + Stability, security, and performance improvements to the RPC and Web UI server -
trunk/macosx/FileListNode.h
r5910 r7007 38 38 39 39 - (id) initWithFolderName: (NSString *) name path: (NSString *) path; 40 - (id) initWithFileName: (NSString *) name path: (NSString *) path size: (uint64_t) size index: ( int) index;40 - (id) initWithFileName: (NSString *) name path: (NSString *) path size: (uint64_t) size index: (NSUInteger) index; 41 41 42 42 - (void) insertChild: (FileListNode *) child; -
trunk/macosx/FileListNode.m
r5926 r7007 44 44 } 45 45 46 - (id) initWithFileName: (NSString *) name path: (NSString *) path size: (uint64_t) size index: ( int) index46 - (id) initWithFileName: (NSString *) name path: (NSString *) path size: (uint64_t) size index: (NSUInteger) index 47 47 { 48 48 if ((self = [self initWithFolder: NO name: name path: path])) -
trunk/macosx/FileNameCell.m
r7005 r7007 194 194 if (![(FileListNode *)[self objectValue] isFolder]) 195 195 { 196 result = bounds; 197 result.origin.x += PADDING_HORIZONAL + IMAGE_ICON_SIZE + PADDING_BETWEEN_IMAGE_AND_TITLE; 198 result.origin.y += result.size.height - PADDING_BELOW_STATUS_FILE - statusSize.height; 196 result.origin.x = bounds.origin.x + PADDING_HORIZONAL + IMAGE_ICON_SIZE + PADDING_BETWEEN_IMAGE_AND_TITLE; 197 result.origin.y = bounds.origin.y + result.size.height - PADDING_BELOW_STATUS_FILE - statusSize.height; 199 198 } 200 199 else -
trunk/macosx/FilePriorityCell.m
r6887 r7007 41 41 { 42 42 [self setLabel: @"" forSegment: i]; 43 [self setWidth: 9.0 forSegment: i]; //9 is minimum size to get proper look43 [self setWidth: 9.0f forSegment: i]; //9 is minimum size to get proper look 44 44 } 45 45 … … 53 53 } 54 54 55 - (void) setSelected: (BOOL) flag forSegment: ( int) segment55 - (void) setSelected: (BOOL) flag forSegment: (NSInteger) segment 56 56 { 57 57 [super setSelected: flag forSegment: segment]; 58 58 59 59 //only for when clicking manually 60 intpriority;60 NSInteger priority; 61 61 switch (segment) 62 62 { … … 138 138 139 139 NSSize imageSize = [image size]; 140 [image compositeToPoint: NSMakePoint(cellFrame.origin.x + (cellFrame.size.width - imageSize.width) * 0.5 ,141 cellFrame.origin.y + (cellFrame.size.height + imageSize.height) * 0.5 ) operation: NSCompositeSourceOver];140 [image compositeToPoint: NSMakePoint(cellFrame.origin.x + (cellFrame.size.width - imageSize.width) * 0.5f, 141 cellFrame.origin.y + (cellFrame.size.height + imageSize.height) * 0.5f) operation: NSCompositeSourceOver]; 142 142 } 143 143 } -
trunk/macosx/InfoWindowController.h
r6219 r7007 24 24 25 25 #import <Cocoa/Cocoa.h> 26 #import "Torrent.h"27 #import "FileOutlineController.h"28 #import "PiecesView.h"29 26 #import <transmission.h> 30 27 28 @class Torrent; 31 29 @class TrackerTableView; 30 @class FileOutlineController; 31 @class PiecesView; 32 32 33 33 @interface InfoWindowController : NSWindowController -
trunk/macosx/InfoWindowController.m
r6989 r7007 24 24 25 25 #import "InfoWindowController.h" 26 #import "Torrent.h" 26 27 #import "InfoTabButtonCell.h" 27 28 #import "FileOutlineView.h" 29 #import "FileOutlineController.h" 28 30 #import "FileListNode.h" 29 31 #import "TrackerTableView.h" 32 #import "PiecesView.h" 30 33 #import "QuickLookController.h" 31 34 #import "NSApplicationAdditions.h" -
trunk/macosx/PiecesView.h
r6989 r7007 24 24 25 25 #import <Cocoa/Cocoa.h> 26 #import "Torrent.h" 26 27 @class Torrent; 27 28 28 29 @interface PiecesView : NSImageView -
trunk/macosx/PiecesView.m
r6989 r7007 24 24 25 25 #import "PiecesView.h" 26 #import "Torrent.h" 26 27 #import "InfoWindowController.h" 27 28 #import "CTGradient.h" -
trunk/macosx/PrefsController.h
r6826 r7007 25 25 #import <Cocoa/Cocoa.h> 26 26 #import <transmission.h> 27 #import "PortChecker.h" 27 28 @class PortChecker; 28 29 29 30 @interface PrefsController : NSWindowController -
trunk/macosx/PrefsController.m
r6958 r7007 26 26 #import "BlocklistDownloaderViewController.h" 27 27 #import "BlocklistScheduler.h" 28 #import "PortChecker.h" 28 29 #import "NSApplicationAdditions.h" 29 30 #import "NSStringAdditions.h" -
trunk/macosx/TorrentTableView.h
r6979 r7007 25 25 #import <Cocoa/Cocoa.h> 26 26 #import <transmission.h> 27 #import <Controller.h>27 #import "Controller.h" 28 28 29 29 @class TorrentCell;
Note: See TracChangeset
for help on using the changeset viewer.