Changeset 3403

Show
Ignore:
Timestamp:
01/03/06 21:18:14 (3 years ago)
Author:
morris
Message:

Sync with WiredAdditions?

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • WiredServer/trunk/PreferencePane/WPWired.m

    r3193 r3403  
    4747 
    4848+ (void)load { 
    49         NSBundle        *bundle, *zankaBundle; 
     49        NSBundle        *bundle, *wiredBundle; 
    5050        NSString        *path; 
    5151         
    5252        bundle = [NSBundle bundleForClass:[self class]]; 
    53         path = [[bundle privateFrameworksPath] stringByAppendingPathComponent:@"ZankaAdditions.framework"]; 
    54         zankaBundle = [NSBundle bundleWithPath:path]; 
     53        path = [[bundle privateFrameworksPath] stringByAppendingPathComponent:@"WiredAdditions.framework"]; 
     54        wiredBundle = [NSBundle bundleWithPath:path]; 
    5555         
    56         if(!zankaBundle) 
    57                 NSLog(@"Failed to load ZankaAdditions.framework from %@", path); 
     56        if(!wiredBundle) 
     57                NSLog(@"Failed to load WiredAdditions.framework from %@", path); 
    5858         
    59         if(![zankaBundle load]) 
    60                 NSLog(@"Failed to load %@", zankaBundle); 
     59        if(![wiredBundle load]) 
     60                NSLog(@"Failed to load %@", wiredBundle); 
    6161         
    6262        [WCSettings loadWithIdentifier:[bundle bundleIdentifier]]; 
  • WiredServer/trunk/PreferencePane/prefix.pch

    r3199 r3403  
    3232#import <Security/Authorization.h> 
    3333#import <Security/AuthorizationTags.h> 
    34 #import <ZankaAdditions/ZankaAdditions.h> 
     34#import <WiredAdditions/WiredAdditions.h> 
    3535 
    3636// --- BSD layer 
  • WiredServer/trunk/WCAccountsController.m

    r3191 r3403  
    7070 
    7171- (void)awakeFromNib { 
    72         ZAIconCell            *cell; 
     72        WIIconCell            *cell; 
    7373         
    7474        _accounts = [[NSMutableArray alloc] init]; 
    7575 
    76         cell = [[ZAIconCell alloc] init]; 
     76        cell = [[WIIconCell alloc] init]; 
    7777        [cell setImageWidth:16.0]; 
    7878        [cell setDrawsWhitespace:YES]; 
     
    582582        return [NSDictionary dictionaryWithObjectsAndKeys: 
    583583                [account name], 
    584                         ZAIconCellTitleKey, 
     584                        WIIconCellTitleKey, 
    585585                [account type] == WCAccountUser ? _userImage : _groupImage, 
    586                         ZAIconCellIconKey, 
     586                        WIIconCellIconKey, 
    587587                NULL]; 
    588588} 
  • WiredServer/trunk/WCConfigController.m

    r3199 r3403  
    945945- (id)tableView:(NSTableView *)tableView objectValueForTableColumn:(NSTableColumn *)tableColumn row:(int)row { 
    946946        NSString        *tracker, *host, *category; 
    947         ZAURL         *url; 
     947        WIURL         *url; 
    948948         
    949949        tracker = [[_config arrayForKey:@"tracker"] objectAtIndex:row]; 
    950         url = [ZAURL URLWithString:tracker]; 
     950        url = [WIURL URLWithString:tracker]; 
    951951         
    952952        if(url) { 
     
    970970- (void)tableView:(NSTableView *)tableView setObjectValue:(id)object forTableColumn:(NSTableColumn *)tableColumn row:(int)row { 
    971971        NSString        *tracker, *value = NULL; 
    972         ZAURL         *url; 
     972        WIURL         *url; 
    973973 
    974974        tracker = [[_config arrayForKey:@"tracker"] objectAtIndex:row]; 
    975         url = [ZAURL URLWithString:tracker]; 
     975        url = [WIURL URLWithString:tracker]; 
    976976 
    977977        if(tableColumn == _trackerTableColumn) { 
  • WiredServer/trunk/WCSettings.h

    r3193 r3403  
    2727 */ 
    2828 
    29 @interface WCSettings : ZASettings 
     29@interface WCSettings : WISettings 
    3030 
    3131#define WCPrefixPath                            @"WCPrefixPath" 
  • WiredServer/trunk/WCStatusController.h

    r3011 r3403  
    4343        IBOutlet NSTextField                    *_dataOutPerSecTextField; 
    4444         
    45         IBOutlet ZAGraphView                  *_usersGraphView; 
    46         IBOutlet ZAGraphView                  *_transfersGraphView; 
    47         IBOutlet ZAGraphView                  *_bandwidthGraphView; 
     45        IBOutlet WIGraphView                  *_usersGraphView; 
     46        IBOutlet WIGraphView                  *_transfersGraphView; 
     47        IBOutlet WIGraphView                  *_bandwidthGraphView; 
    4848         
    4949        NSTimer                                                 *_timer; 
  • WiredServer/trunk/WiredServer.xcodeproj/project.pbxproj

    r3394 r3403  
    3333                        productName = "Wired Server"; 
    3434                }; 
    35                 A5BE6D2D0864B63000DA5C89 /* Zanka Additions */ = { 
     35                A5BE6D2D0864B63000DA5C89 /* Wired Additions */ = { 
    3636                        isa = PBXAggregateTarget; 
    37                         buildConfigurationList = A5BE6D3E0864B64300DA5C89 /* Build configuration list for PBXAggregateTarget "Zanka Additions" */; 
     37                        buildConfigurationList = A5BE6D3E0864B64300DA5C89 /* Build configuration list for PBXAggregateTarget "Wired Additions" */; 
    3838                        buildPhases = ( 
    39                                 A5BE6D2C0864B63000DA5C89 /* Run Script (Zanka Additions) */, 
     39                                A5BE6D2C0864B63000DA5C89 /* Run Script (Wired Additions) */, 
    4040                        ); 
    4141                        buildSettings = { 
     
    4444                                OTHER_LDFLAGS = ""; 
    4545                                OTHER_REZFLAGS = ""; 
    46                                 PRODUCT_NAME = "Zanka Additions"; 
     46                                PRODUCT_NAME = "Wired Additions"; 
    4747                                SECTORDER_FLAGS = ""; 
    4848                                WARNING_CFLAGS = ( 
     
    5454                        dependencies = ( 
    5555                        ); 
    56                         name = "Zanka Additions"; 
    57                         productName = "Zanka Additions"; 
     56                        name = "Wired Additions"; 
     57                        productName = "Wired Additions"; 
    5858                }; 
    5959                A5D97273078E375B00CD982E /* Localization */ = { 
     
    133133                A5A3494207298A1600A16E9A /* OK.tiff in Resources */ = {isa = PBXBuildFile; fileRef = A5A3493C07298A1600A16E9A /* OK.tiff */; }; 
    134134                A5A3494A07298A2700A16E9A /* Wired.nib in Resources */ = {isa = PBXBuildFile; fileRef = A5A3494607298A2700A16E9A /* Wired.nib */; }; 
    135                 A5BE6D8B0864B6C800DA5C89 /* ZankaAdditions.framework in Copy Files (Frameworks) */ = {isa = PBXBuildFile; fileRef = A5BE6D250864B62000DA5C89 /* ZankaAdditions.framework */; }; 
     135                A5BE6D8B0864B6C800DA5C89 /* WiredAdditions.framework in Copy Files (Frameworks) */ = {isa = PBXBuildFile; fileRef = A5BE6D250864B62000DA5C89 /* WiredAdditions.framework */; }; 
    136136                A5E4A9640794799900FA127F /* WCDashboardController.m in Sources */ = {isa = PBXBuildFile; fileRef = A5E4A9610794792600FA127F /* WCDashboardController.m */; }; 
    137137/* End PBXBuildFile section */ 
     
    189189                        proxyType = 1; 
    190190                        remoteGlobalIDString = A5BE6D2D0864B63000DA5C89; 
    191                         remoteInfo = "Zanka Additions"; 
     191                        remoteInfo = "Wired Additions"; 
    192192                }; 
    193193                A50335E40864CC6600CE6911 /* PBXContainerItemProxy */ = { 
     
    207207                A5BE6D240864B62000DA5C89 /* PBXContainerItemProxy */ = { 
    208208                        isa = PBXContainerItemProxy; 
    209                         containerPortal = A5BE6D1C0864B62000DA5C89 /* ZankaAdditions.xcodeproj */; 
     209                        containerPortal = A5BE6D1C0864B62000DA5C89 /* WiredAdditions.xcodeproj */; 
    210210                        proxyType = 2; 
    211211                        remoteGlobalIDString = 8DC2EF5B0486A6940098B216; 
    212                         remoteInfo = "Zanka Additions"; 
     212                        remoteInfo = "Wired Additions"; 
    213213                }; 
    214214                A5BE6D260864B62000DA5C89 /* PBXContainerItemProxy */ = { 
    215215                        isa = PBXContainerItemProxy; 
    216                         containerPortal = A5BE6D1C0864B62000DA5C89 /* ZankaAdditions.xcodeproj */; 
     216                        containerPortal = A5BE6D1C0864B62000DA5C89 /* WiredAdditions.xcodeproj */; 
    217217                        proxyType = 2; 
    218218                        remoteGlobalIDString = A5E4B39E07A9797200BD6812; 
     
    221221                A5BE6D280864B62000DA5C89 /* PBXContainerItemProxy */ = { 
    222222                        isa = PBXContainerItemProxy; 
    223                         containerPortal = A5BE6D1C0864B62000DA5C89 /* ZankaAdditions.xcodeproj */; 
     223                        containerPortal = A5BE6D1C0864B62000DA5C89 /* WiredAdditions.xcodeproj */; 
    224224                        proxyType = 2; 
    225225                        remoteGlobalIDString = A553B5E007AAF56E005EE3E5; 
     
    228228                A5BE6D2A0864B62000DA5C89 /* PBXContainerItemProxy */ = { 
    229229                        isa = PBXContainerItemProxy; 
    230                         containerPortal = A5BE6D1C0864B62000DA5C89 /* ZankaAdditions.xcodeproj */; 
     230                        containerPortal = A5BE6D1C0864B62000DA5C89 /* WiredAdditions.xcodeproj */; 
    231231                        proxyType = 2; 
    232232                        remoteGlobalIDString = A5E4B55207A98AEE00BD6812; 
     
    252252                        dstSubfolderSpec = 10; 
    253253                        files = ( 
    254                                 A5BE6D8B0864B6C800DA5C89 /* ZankaAdditions.framework in Copy Files (Frameworks) */, 
     254                                A5BE6D8B0864B6C800DA5C89 /* WiredAdditions.framework in Copy Files (Frameworks) */, 
    255255                        ); 
    256256                        name = "Copy Files (Frameworks)"; 
     
    311311                A5A3494707298A2700A16E9A /* English */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = English; path = PreferencePane/English.lproj/Wired.nib; sourceTree = "<group>"; }; 
    312312                A5BE6D1A0864B5FB00DA5C89 /* WiredServer.xcconfig */ = {isa = PBXFileReference; fileEncoding = 5; lastKnownFileType = text.xcconfig; path = WiredServer.xcconfig; sourceTree = "<group>"; }; 
    313                 A5BE6D1C0864B62000DA5C89 /* ZankaAdditions.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = ZankaAdditions.xcodeproj; path = ../ZankaAdditions/ZankaAdditions.xcodeproj; sourceTree = SOURCE_ROOT; }; 
     313                A5BE6D1C0864B62000DA5C89 /* WiredAdditions.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = WiredAdditions.xcodeproj; path = ../WiredAdditions/WiredAdditions.xcodeproj; sourceTree = SOURCE_ROOT; }; 
    314314                A5D972E6078F017100CD982E /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 5; lastKnownFileType = text.xml; name = Info.plist; path = Package/Info.plist; sourceTree = "<group>"; }; 
    315315                A5E4A9600794792600FA127F /* WCDashboardController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WCDashboardController.h; sourceTree = "<group>"; }; 
    316316                A5E4A9610794792600FA127F /* WCDashboardController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WCDashboardController.m; sourceTree = "<group>"; }; 
    317                 A5E4AAE30794812C00FA127F /* ZankaAdditions.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = ZankaAdditions.framework; path = ../ZankaAdditions/build/ZankaAdditions.framework; sourceTree = SOURCE_ROOT; }; 
     317                A5E4AAE30794812C00FA127F /* WiredAdditions.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = WiredAdditions.framework; path = ../WiredAdditions/build/WiredAdditions.framework; sourceTree = SOURCE_ROOT; }; 
    318318                F506C035013D953901CA16C8 /* PreferencePanes.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = PreferencePanes.framework; path = /System/Library/Frameworks/PreferencePanes.framework; sourceTree = "<absolute>"; }; 
    319319/* End PBXFileReference section */ 
     
    364364                                F506C035013D953901CA16C8 /* PreferencePanes.framework */, 
    365365                                A540687705CDC46100068FBB /* Security.framework */, 
    366                                 A5E4AAE30794812C00FA127F /* ZankaAdditions.framework */, 
     366                                A5E4AAE30794812C00FA127F /* WiredAdditions.framework */, 
    367367                        ); 
    368368                        name = "Linked Frameworks"; 
     
    528528                        isa = PBXGroup; 
    529529                        children = ( 
    530                                 A5BE6D250864B62000DA5C89 /* ZankaAdditions.framework */, 
    531                                 A5BE6D270864B62000DA5C89 /* ZAAutoreleasePool Test.app */, 
    532                                 A5BE6D290864B62000DA5C89 /* ZANotificationCenter Test.app */, 
    533                                 A5BE6D2B0864B62000DA5C89 /* ZAObject Test.app */, 
     530                                A5BE6D250864B62000DA5C89 /* WiredAdditions.framework */, 
     531                                A5BE6D270864B62000DA5C89 /* WIAutoreleasePool Test.app */, 
     532                                A5BE6D290864B62000DA5C89 /* WINotificationCenter Test.app */, 
     533                                A5BE6D2B0864B62000DA5C89 /* WIObject Test.app */, 
    534534                        ); 
    535535                        name = Products; 
     
    539539                        isa = PBXGroup; 
    540540                        children = ( 
    541                                 A5BE6D1C0864B62000DA5C89 /* ZankaAdditions.xcodeproj */, 
     541                                A5BE6D1C0864B62000DA5C89 /* WiredAdditions.xcodeproj */, 
    542542                        ); 
    543543                        name = Subprojects; 
     
    570570                        ); 
    571571                        buildSettings = { 
    572                                 FRAMEWORK_SEARCH_PATHS = ../ZankaAdditions/build; 
     572                                FRAMEWORK_SEARCH_PATHS = ../WiredAdditions/build; 
    573573                                GCC_PRECOMPILE_PREFIX_HEADER = YES; 
    574574                                GCC_PREFIX_HEADER = PreferencePane/prefix.pch; 
     
    623623                                { 
    624624                                        ProductGroup = A5BE6D1D0864B62000DA5C89 /* Products */; 
    625                                         ProjectRef = A5BE6D1C0864B62000DA5C89 /* ZankaAdditions.xcodeproj */; 
     625                                        ProjectRef = A5BE6D1C0864B62000DA5C89 /* WiredAdditions.xcodeproj */; 
    626626                                }, 
    627627                        ); 
     
    629629                                8D202CE80486D31800D8A456 /* Wired Preference Pane */, 
    630630                                A50335AD0864C98900CE6911 /* Wired Server */, 
    631                                 A5BE6D2D0864B63000DA5C89 /* Zanka Additions */, 
     631                                A5BE6D2D0864B63000DA5C89 /* Wired Additions */, 
    632632                                A5D97273078E375B00CD982E /* Localization */, 
    633633                                A5D97284078E387200CD982E /* Distribution */, 
     
    637637 
    638638/* Begin PBXReferenceProxy section */ 
    639                 A5BE6D250864B62000DA5C89 /* ZankaAdditions.framework */ = { 
     639                A5BE6D250864B62000DA5C89 /* WiredAdditions.framework */ = { 
    640640                        isa = PBXReferenceProxy; 
    641641                        fileType = wrapper.framework; 
    642                         path = ZankaAdditions.framework; 
     642                        path = WiredAdditions.framework; 
    643643                        remoteRef = A5BE6D240864B62000DA5C89 /* PBXContainerItemProxy */; 
    644644                        sourceTree = BUILT_PRODUCTS_DIR; 
    645645                }; 
    646                 A5BE6D270864B62000DA5C89 /* ZAAutoreleasePool Test.app */ = { 
     646                A5BE6D270864B62000DA5C89 /* WIAutoreleasePool Test.app */ = { 
    647647                        isa = PBXReferenceProxy; 
    648648                        fileType = wrapper.application; 
    649                         path = "ZAAutoreleasePool Test.app"; 
     649                        path = "WIAutoreleasePool Test.app"; 
    650650                        remoteRef = A5BE6D260864B62000DA5C89 /* PBXContainerItemProxy */; 
    651651                        sourceTree = BUILT_PRODUCTS_DIR; 
    652652                }; 
    653                 A5BE6D290864B62000DA5C89 /* ZANotificationCenter Test.app */ = { 
     653                A5BE6D290864B62000DA5C89 /* WINotificationCenter Test.app */ = { 
    654654                        isa = PBXReferenceProxy; 
    655655                        fileType = wrapper.application; 
    656                         path = "ZANotificationCenter Test.app"; 
     656                        path = "WINotificationCenter Test.app"; 
    657657                        remoteRef = A5BE6D280864B62000DA5C89 /* PBXContainerItemProxy */; 
    658658                        sourceTree = BUILT_PRODUCTS_DIR; 
    659659                }; 
    660                 A5BE6D2B0864B62000DA5C89 /* ZAObject Test.app */ = { 
     660                A5BE6D2B0864B62000DA5C89 /* WIObject Test.app */ = { 
    661661                        isa = PBXReferenceProxy; 
    662662                        fileType = wrapper.application; 
    663                         path = "ZAObject Test.app"; 
     663                        path = "WIObject Test.app"; 
    664664                        remoteRef = A5BE6D2A0864B62000DA5C89 /* PBXContainerItemProxy */; 
    665665                        sourceTree = BUILT_PRODUCTS_DIR; 
     
    718718                        shellScript = "PATH=\"$PATH:/usr/local/bin/\" perl version.pl || exit 1"; 
    719719                }; 
    720                 A5BE6D2C0864B63000DA5C89 /* Run Script (Zanka Additions) */ = { 
     720                A5BE6D2C0864B63000DA5C89 /* Run Script (Wired Additions) */ = { 
    721721                        isa = PBXShellScriptBuildPhase; 
    722722                        buildActionMask = 2147483647; 
     
    725725                        inputPaths = ( 
    726726                        ); 
    727                         name = "Run Script (Zanka Additions)"; 
     727                        name = "Run Script (Wired Additions)"; 
    728728                        outputPaths = ( 
    729729                        ); 
    730730                        runOnlyForDeploymentPostprocessing = 0; 
    731731                        shellPath = /bin/sh; 
    732                         shellScript = "cd ../ZankaAdditions/\n/usr/bin/xcodebuild -target \"Zanka Additions\" -configuration \"$BUILD_STYLE\" SYMROOT=\"$SYMROOT\" OBJROOT=\"$OBJROOT\" $ACTION || exit 1"; 
     732                        shellScript = "cd ../WiredAdditions/\n/usr/bin/xcodebuild -target \"Wired Additions\" -configuration \"$BUILD_STYLE\" SYMROOT=\"$SYMROOT\" OBJROOT=\"$OBJROOT\" $ACTION || exit 1"; 
    733733                }; 
    734734                A5D97272078E375B00CD982E /* Run Script (Localize) */ = { 
     
    790790                A50335580864C22200CE6911 /* PBXTargetDependency */ = { 
    791791                        isa = PBXTargetDependency; 
    792                         target = A5BE6D2D0864B63000DA5C89 /* Zanka Additions */; 
     792                        target = A5BE6D2D0864B63000DA5C89 /* Wired Additions */; 
    793793                        targetProxy = A50335570864C22200CE6911 /* PBXContainerItemProxy */; 
    794794                }; 
     
    11331133                                OTHER_LDFLAGS = ""; 
    11341134                                OTHER_REZFLAGS = ""; 
    1135                                 PRODUCT_NAME = "Zanka Additions"; 
     1135                                PRODUCT_NAME = "Wired Additions"; 
    11361136                                SECTORDER_FLAGS = ""; 
    11371137                                WARNING_CFLAGS = ( 
     
    11501150                                OTHER_LDFLAGS = ""; 
    11511151                                OTHER_REZFLAGS = ""; 
    1152                                 PRODUCT_NAME = "Zanka Additions"; 
     1152                                PRODUCT_NAME = "Wired Additions"; 
    11531153                                SECTORDER_FLAGS = ""; 
    11541154                                WARNING_CFLAGS = ( 
     
    11691169                                OTHER_LDFLAGS = ""; 
    11701170                                OTHER_REZFLAGS = ""; 
    1171                                 PRODUCT_NAME = "Zanka Additions"; 
     1171                                PRODUCT_NAME = "Wired Additions"; 
    11721172                                SECTORDER_FLAGS = ""; 
    11731173                                WARNING_CFLAGS = ( 
     
    12321232                        defaultConfigurationName = "Debug (Native)"; 
    12331233                }; 
    1234                 A5BE6D3E0864B64300DA5C89 /* Build configuration list for PBXAggregateTarget "Zanka Additions" */ = { 
     1234                A5BE6D3E0864B64300DA5C89 /* Build configuration list for PBXAggregateTarget "Wired Additions" */ = { 
    12351235                        isa = XCConfigurationList; 
    12361236                        buildConfigurations = (