Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
144 changes: 38 additions & 106 deletions Debug.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,72 +9,37 @@
/* Begin PBXBuildFile section */
766FFC0010A4F57400B541E1 /* debug.perl in Resources */ = {isa = PBXBuildFile; fileRef = 766FFBFF10A4F57400B541E1 /* debug.perl */; };
766FFC0810A51ADD00B541E1 /* com.twocanoes.debug.plist in Resources */ = {isa = PBXBuildFile; fileRef = 766FFC0710A51ADD00B541E1 /* com.twocanoes.debug.plist */; };
766FFC5110A53FC600B541E1 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 766FFC5010A53FC600B541E1 /* Security.framework */; };
768334DF10A780C8006EC9C6 /* DebugPref.tiff in Resources */ = {isa = PBXBuildFile; fileRef = 768334DE10A780C8006EC9C6 /* DebugPref.tiff */; };
768334E110A780D2006EC9C6 /* bug.icns in Resources */ = {isa = PBXBuildFile; fileRef = 768334E010A780D2006EC9C6 /* bug.icns */; };
8D202CEA0486D31800D8A456 /* Debug_Prefix.pch in Headers */ = {isa = PBXBuildFile; fileRef = 32DBCFA20370C41700C91783 /* Debug_Prefix.pch */; };
8D202CEB0486D31800D8A456 /* DebugPref.h in Headers */ = {isa = PBXBuildFile; fileRef = F506C03C013D9D7901CA16C8 /* DebugPref.h */; };
8D202CED0486D31800D8A456 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C167DFE841241C02AAC07 /* InfoPlist.strings */; };
8D202CEF0486D31800D8A456 /* DebugPref.xib in Resources */ = {isa = PBXBuildFile; fileRef = F506C042013D9D8C01CA16C8 /* DebugPref.xib */; };
8D202CF10486D31800D8A456 /* DebugPref.m in Sources */ = {isa = PBXBuildFile; fileRef = F506C03D013D9D7901CA16C8 /* DebugPref.m */; };
8D202CF30486D31800D8A456 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7ADFEA557BF11CA2CBB /* Cocoa.framework */; };
8D202CF40486D31800D8A456 /* PreferencePanes.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F506C035013D953901CA16C8 /* PreferencePanes.framework */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
089C1672FE841209C02AAC07 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = "<absolute>"; };
089C167EFE841241C02AAC07 /* English */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = "<group>"; };
089C167FFE841241C02AAC07 /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = "<absolute>"; };
1058C7ADFEA557BF11CA2CBB /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = "<absolute>"; };
32DBCFA20370C41700C91783 /* Debug_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Debug_Prefix.pch; sourceTree = "<group>"; };
766FFBFF10A4F57400B541E1 /* debug.perl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.perl; path = debug.perl; sourceTree = "<group>"; };
766FFC0710A51ADD00B541E1 /* com.twocanoes.debug.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = com.twocanoes.debug.plist; sourceTree = "<group>"; };
766FFC5010A53FC600B541E1 /* Security.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Security.framework; path = /System/Library/Frameworks/Security.framework; sourceTree = "<absolute>"; };
768334DE10A780C8006EC9C6 /* DebugPref.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = DebugPref.tiff; sourceTree = "<group>"; };
768334E010A780D2006EC9C6 /* bug.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = bug.icns; sourceTree = "<group>"; };
8D202CF70486D31800D8A456 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist; path = Info.plist; sourceTree = "<group>"; };
8D202CF80486D31800D8A456 /* Debug.prefPane */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = Debug.prefPane; sourceTree = BUILT_PRODUCTS_DIR; };
F506C035013D953901CA16C8 /* PreferencePanes.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = PreferencePanes.framework; path = /System/Library/Frameworks/PreferencePanes.framework; sourceTree = "<absolute>"; };
F506C03C013D9D7901CA16C8 /* DebugPref.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DebugPref.h; sourceTree = "<group>"; };
F506C03D013D9D7901CA16C8 /* DebugPref.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DebugPref.m; sourceTree = "<group>"; };
F506C043013D9D8C01CA16C8 /* English */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = English; path = English.lproj/DebugPref.xib; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
8D202CF20486D31800D8A456 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
8D202CF30486D31800D8A456 /* Cocoa.framework in Frameworks */,
8D202CF40486D31800D8A456 /* PreferencePanes.framework in Frameworks */,
766FFC5110A53FC600B541E1 /* Security.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
089C166AFE841209C02AAC07 /* Debug */ = {
isa = PBXGroup;
children = (
08FB77AFFE84173DC02AAC07 /* Classes */,
32DBCFA10370C40200C91783 /* Other Sources */,
F506C03C013D9D7901CA16C8 /* DebugPref.h */,
F506C03D013D9D7901CA16C8 /* DebugPref.m */,
089C167CFE841241C02AAC07 /* Resources */,
089C1671FE841209C02AAC07 /* Frameworks and Libraries */,
19C28FB8FE9D52D311CA2CBB /* Products */,
);
name = Debug;
sourceTree = "<group>";
};
089C1671FE841209C02AAC07 /* Frameworks and Libraries */ = {
isa = PBXGroup;
children = (
1058C7ACFEA557BF11CA2CBB /* Linked Frameworks */,
1058C7AEFEA557BF11CA2CBB /* Other Frameworks */,
);
name = "Frameworks and Libraries";
sourceTree = "<group>";
};
089C167CFE841241C02AAC07 /* Resources */ = {
isa = PBXGroup;
children = (
Expand All @@ -83,40 +48,11 @@
766FFC0710A51ADD00B541E1 /* com.twocanoes.debug.plist */,
766FFBFF10A4F57400B541E1 /* debug.perl */,
8D202CF70486D31800D8A456 /* Info.plist */,
089C167DFE841241C02AAC07 /* InfoPlist.strings */,
F506C042013D9D8C01CA16C8 /* DebugPref.xib */,
);
name = Resources;
sourceTree = "<group>";
};
08FB77AFFE84173DC02AAC07 /* Classes */ = {
isa = PBXGroup;
children = (
F506C03C013D9D7901CA16C8 /* DebugPref.h */,
F506C03D013D9D7901CA16C8 /* DebugPref.m */,
);
name = Classes;
sourceTree = "<group>";
};
1058C7ACFEA557BF11CA2CBB /* Linked Frameworks */ = {
isa = PBXGroup;
children = (
1058C7ADFEA557BF11CA2CBB /* Cocoa.framework */,
F506C035013D953901CA16C8 /* PreferencePanes.framework */,
766FFC5010A53FC600B541E1 /* Security.framework */,
);
name = "Linked Frameworks";
sourceTree = "<group>";
};
1058C7AEFEA557BF11CA2CBB /* Other Frameworks */ = {
isa = PBXGroup;
children = (
089C1672FE841209C02AAC07 /* Foundation.framework */,
089C167FFE841241C02AAC07 /* AppKit.framework */,
);
name = "Other Frameworks";
sourceTree = "<group>";
};
19C28FB8FE9D52D311CA2CBB /* Products */ = {
isa = PBXGroup;
children = (
Expand All @@ -125,22 +61,13 @@
name = Products;
sourceTree = "<group>";
};
32DBCFA10370C40200C91783 /* Other Sources */ = {
isa = PBXGroup;
children = (
32DBCFA20370C41700C91783 /* Debug_Prefix.pch */,
);
name = "Other Sources";
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXHeadersBuildPhase section */
8D202CE90486D31800D8A456 /* Headers */ = {
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
8D202CEA0486D31800D8A456 /* Debug_Prefix.pch in Headers */,
8D202CEB0486D31800D8A456 /* DebugPref.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand All @@ -155,8 +82,6 @@
8D202CE90486D31800D8A456 /* Headers */,
8D202CEC0486D31800D8A456 /* Resources */,
8D202CF00486D31800D8A456 /* Sources */,
8D202CF20486D31800D8A456 /* Frameworks */,
8D202CF50486D31800D8A456 /* Rez */,
);
buildRules = (
);
Expand All @@ -173,6 +98,8 @@
/* Begin PBXProject section */
089C1669FE841209C02AAC07 /* Project object */ = {
isa = PBXProject;
attributes = {
};
buildConfigurationList = 1DBD214C08BA80EA00186707 /* Build configuration list for PBXProject "Debug" */;
compatibilityVersion = "Xcode 3.1";
developmentRegion = English;
Expand All @@ -194,7 +121,6 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
8D202CED0486D31800D8A456 /* InfoPlist.strings in Resources */,
8D202CEF0486D31800D8A456 /* DebugPref.xib in Resources */,
766FFC0010A4F57400B541E1 /* debug.perl in Resources */,
766FFC0810A51ADD00B541E1 /* com.twocanoes.debug.plist in Resources */,
Expand All @@ -205,16 +131,6 @@
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXRezBuildPhase section */
8D202CF50486D31800D8A456 /* Rez */ = {
isa = PBXRezBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXRezBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
8D202CF00486D31800D8A456 /* Sources */ = {
isa = PBXSourcesBuildPhase;
Expand All @@ -227,14 +143,6 @@
/* End PBXSourcesBuildPhase section */

/* Begin PBXVariantGroup section */
089C167DFE841241C02AAC07 /* InfoPlist.strings */ = {
isa = PBXVariantGroup;
children = (
089C167EFE841241C02AAC07 /* English */,
);
name = InfoPlist.strings;
sourceTree = "<group>";
};
F506C042013D9D8C01CA16C8 /* DebugPref.xib */ = {
isa = PBXVariantGroup;
children = (
Expand All @@ -249,16 +157,29 @@
1DBD214908BA80EA00186707 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
ARCHS = "$(ARCHS_STANDARD_64_BIT)";
CLANG_ENABLE_OBJC_ARC = YES;
COPY_PHASE_STRIP = NO;
DEPLOYMENT_LOCATION = YES;
DEPLOYMENT_POSTPROCESSING = YES;
DSTROOT = "$(HOME)";
GCC_DYNAMIC_NO_PIC = NO;
GCC_ENABLE_FIX_AND_CONTINUE = YES;
GCC_MODEL_TUNING = G5;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = Debug_Prefix.pch;
GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO;
INFOPLIST_FILE = Info.plist;
INSTALL_PATH = "$(HOME)/Library/PreferencePanes";
INSTALL_PATH = /Library/PreferencePanes;
OTHER_LDFLAGS = (
"-framework",
AppKit,
"-framework",
Cocoa,
"-framework",
Security,
"-framework",
PreferencePanes,
);
PRODUCT_NAME = Debug;
SDKROOT = macosx;
WRAPPER_EXTENSION = prefPane;
Expand All @@ -269,13 +190,26 @@
1DBD214A08BA80EA00186707 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
ARCHS = "$(ARCHS_STANDARD_64_BIT)";
CLANG_ENABLE_OBJC_ARC = YES;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEPLOYMENT_LOCATION = YES;
DEPLOYMENT_POSTPROCESSING = YES;
DSTROOT = "$(HOME)";
GCC_MODEL_TUNING = G5;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = Debug_Prefix.pch;
GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO;
INFOPLIST_FILE = Info.plist;
INSTALL_PATH = "$(HOME)/Library/PreferencePanes";
INSTALL_PATH = /Library/PreferencePanes;
OTHER_LDFLAGS = (
"-framework",
AppKit,
"-framework",
Cocoa,
"-framework",
Security,
"-framework",
PreferencePanes,
);
PRODUCT_NAME = Debug;
SDKROOT = macosx;
WRAPPER_EXTENSION = prefPane;
Expand All @@ -287,7 +221,6 @@
buildSettings = {
ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_ENABLE_OBJC_GC = supported;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
ONLY_ACTIVE_ARCH = YES;
Expand All @@ -302,7 +235,6 @@
buildSettings = {
ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_ENABLE_OBJC_GC = supported;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
PREBINDING = NO;
Expand Down
41 changes: 18 additions & 23 deletions DebugPref.h
Original file line number Diff line number Diff line change
@@ -1,30 +1,25 @@
//
// DebugPref.h
// Debug
//
// Created by Timothy Perfitt on 11/6/09.
// Copyright (c) 2013 twocanoes. All rights reserved.
//

/* DebugPref.h * Debug
Created by Timothy Perfitt on 11/6/09. Cpyright (c) 2013 twocanoes. All rights reserved. */

#import <Cocoa/Cocoa.h>
#import <PreferencePanes/PreferencePanes.h>
#import <SecurityInterface/SFAuthorizationView.h>
#include <string.h>
@interface DebugPref : NSPreferencePane
{
AuthorizationRef authorization;
IBOutlet SFAuthorizationView *lockView;
BOOL isEnabled,isDSDebugging,isLoggingDNS,isDoingNetworkTrace,isTracingDNS,
isTracingKerberos,isTracingLDAP,isSyslogDebug,hasUnappledChanges;

}
@property BOOL isEnabled,isDSDebugging,isLoggingDNS,isDoingNetworkTrace,isTracingDNS,isTracingKerberos,
isTracingLDAP,isSyslogDebug,hasUnappledChanges;
-(IBAction)apply:(id)sender;
- (void) mainViewDidLoad;
@interface DebugPref : NSPreferencePane

@property IBOutlet SFAuthorizationView * lockView;
@property AuthorizationRef authorization;

@property BOOL hasUnappledChanges, isTracingKerberos, isDoingNetworkTrace, isDSDebugging,
isTracingLDAP, isEnabled, isLoggingDNS, isTracingDNS, isSyslogDebug;

-(void)save;
-(IBAction)optionChanged:(id)sender;
-(void)setDefaults;
-(IBAction)revert:(id)sender;
-(IBAction)compressAndSendToDesktop:(id)sender;
- (IBAction) apply:(id)x;
- (IBAction) optionChanged:(id)x;
- (IBAction) revert:(id)x;
- (IBAction) compressAndSendToDesktop:(id)x;
- (void) mainViewDidLoad;
- (void) save;
- (void) setDefaults;
@end
Loading