Permalink
Browse files

XCode 4 cleanup

  • Loading branch information...
1 parent 634f52f commit 68a4ebdb5943016fc43d6355947aed9ef223fae2 Alexander Rauchfuss committed Apr 24, 2011
Binary file not shown.
Binary file not shown.
View
@@ -329,6 +329,8 @@
<string>TSST</string>
<key>CFBundleVersion</key>
<string>252</string>
+ <key>LSApplicationCategoryType</key>
+ <string>public.app-category.entertainment</string>
<key>NSAppleScriptEnabled</key>
<string>YES</string>
<key>NSMainNibFile</key>
@@ -159,7 +159,11 @@
isa = PBXProject;
buildConfigurationList = 2CA326220896AD4900168862 /* Build configuration list for PBXProject "QuickComic" */;
compatibilityVersion = "Xcode 3.1";
+ developmentRegion = English;
hasScannedForEncodings = 1;
+ knownRegions = (
+ en,
+ );
mainGroup = 089C166AFE841209C02AAC07 /* QuickComic */;
projectDirPath = "";
projectRoot = "";
@@ -223,13 +227,12 @@
);
GCC_DYNAMIC_NO_PIC = NO;
GCC_ENABLE_FIX_AND_CONTINUE = YES;
- GCC_MODEL_TUNING = G5;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PRECOMPILE_PREFIX_HEADER = NO;
INFOPLIST_FILE = Info.plist;
INSTALL_PATH = /Library/Quicklook;
LD_RUNPATH_SEARCH_PATHS = "@loader_path/../../../../../Frameworks";
- MACOSX_DEPLOYMENT_TARGET = 10.5;
+ MACOSX_DEPLOYMENT_TARGET = 10.6;
PRODUCT_NAME = QuickComic;
SDKROOT = macosx10.6;
WRAPPER_EXTENSION = qlgenerator;
@@ -248,13 +251,14 @@
"\"$(SRCROOT)\"",
"\"$(SRCROOT)\"/../Frameworks",
);
- GCC_MODEL_TUNING = G5;
GCC_PRECOMPILE_PREFIX_HEADER = NO;
INFOPLIST_FILE = Info.plist;
INSTALL_PATH = /Library/Quicklook;
LD_RUNPATH_SEARCH_PATHS = "@loader_path/../../../../../Frameworks";
LIBRARY_SEARCH_PATHS = "$(inherited)";
+ MACOSX_DEPLOYMENT_TARGET = 10.6;
PRODUCT_NAME = QuickComic;
+ SDKROOT = macosx10.6;
WRAPPER_EXTENSION = qlgenerator;
ZERO_LINK = NO;
};
@@ -266,7 +270,6 @@
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
PREBINDING = NO;
- SDKROOT = macosx10.5;
};
name = Debug;
};
@@ -278,7 +281,6 @@
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
PREBINDING = NO;
- SDKROOT = macosx10.5;
};
name = Release;
};
View
@@ -51,7 +51,7 @@ - (void)awakeFromNib
- (id)initWithFrame:(NSRect)aRectangle;
{
- if(self = [super initWithFrame: aRectangle])
+ if((self = [super initWithFrame: aRectangle]))
{
[self setFirstPage: nil secondPageImage: nil];
scrollKeys = 0;
@@ -578,7 +578,7 @@ - (void)resizeView
NSSize imageSize = [self combinedImageSizeForZoom: [[[sessionController session] valueForKey: TSSTZoomLevel] floatValue]];
NSUserDefaults * defaults = [NSUserDefaults standardUserDefaults];
- NSSize viewSize;
+ NSSize viewSize = NSZeroSize;
float scaleToFit;
int scaling = [[[sessionController session] valueForKey: TSSTPageScaleOptions] intValue];
scaling = [sessionController currentPageIsText] ? 2 : scaling;
@@ -715,7 +715,7 @@ - (NSRect)imageCropRectangle
NSPoint center = centerPointOfRect(selection);
NSRect pageRect = NSZeroRect;
- NSSize originalSize;
+ NSSize originalSize = NSZeroSize;
if(NSPointInRect(center, firstPageRect))
{
pageRect = firstPageRect;
@@ -751,8 +751,8 @@ - (void)scrollWheel:(NSEvent *)theEvent
int modifier = [theEvent modifierFlags];
NSUserDefaults * defaultsController = [NSUserDefaults standardUserDefaults];
- int scaling = [[[sessionController session] valueForKey: TSSTPageScaleOptions] intValue];
- scaling = [sessionController currentPageIsText] ? 2 : scaling;
+// int scaling = [[[sessionController session] valueForKey: TSSTPageScaleOptions] intValue];
+// scaling = [sessionController currentPageIsText] ? 2 : scaling;
if((modifier & NSCommandKeyMask) && [theEvent deltaY])
{
@@ -637,6 +637,7 @@
isa = PBXProject;
buildConfigurationList = FA7257E608A6CDEB006A2A19 /* Build configuration list for PBXProject "SimpleComic" */;
compatibilityVersion = "Xcode 3.2";
+ developmentRegion = English;
hasScannedForEncodings = 1;
knownRegions = (
English,
@@ -821,23 +822,20 @@
FA7257E308A6CDEB006A2A19 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
- CODE_SIGN_IDENTITY = "Simple Comic Application Cert";
COPY_PHASE_STRIP = NO;
FRAMEWORK_SEARCH_PATHS = "$(SRCROOT)/Frameworks";
GCC_DYNAMIC_NO_PIC = NO;
GCC_ENABLE_FIX_AND_CONTINUE = YES;
GCC_ENABLE_OBJC_EXCEPTIONS = YES;
GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
GCC_MODEL_TUNING = G4;
- GCC_OPTIMIZATION_LEVEL = 0;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = SimpleComic_Prefix.pch;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_MISSING_PARENTHESES = NO;
GCC_WARN_UNUSED_VARIABLE = YES;
HEADER_SEARCH_PATHS = "";
INFOPLIST_FILE = Info.plist;
- INSTALL_PATH = "$(HOME)/Applications";
LD_RUNPATH_SEARCH_PATHS = "@executable_path/../Frameworks";
LIBRARY_SEARCH_PATHS = "$(SRCROOT)";
OTHER_LDFLAGS = "";
@@ -851,26 +849,22 @@
FA7257E408A6CDEB006A2A19 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
- CODE_SIGN_IDENTITY = "Don't Code Sign";
COPY_PHASE_STRIP = YES;
DEAD_CODE_STRIPPING = YES;
- ENABLE_OPENMP_SUPPORT = YES;
FRAMEWORK_SEARCH_PATHS = "$(SRCROOT)/Frameworks";
GCC_ENABLE_FIX_AND_CONTINUE = NO;
GCC_ENABLE_OBJC_EXCEPTIONS = YES;
GCC_ENABLE_PASCAL_STRINGS = NO;
GCC_ENABLE_SSE3_EXTENSIONS = YES;
GCC_ENABLE_SUPPLEMENTAL_SSE3_INSTRUCTIONS = YES;
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
- GCC_OPTIMIZATION_LEVEL = s;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = SimpleComic_Prefix.pch;
GCC_THREADSAFE_STATICS = YES;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
HEADER_SEARCH_PATHS = "";
INFOPLIST_FILE = Info.plist;
- INSTALL_PATH = "$(HOME)/Applications";
LD_RUNPATH_SEARCH_PATHS = "@executable_path/../Frameworks";
LIBRARY_SEARCH_PATHS = "$(SRCROOT)";
OTHER_CFLAGS = "-mdynamic-no-pic";
@@ -884,14 +878,12 @@
FA7257E508A6CDEB006A2A19 /* Default */ = {
isa = XCBuildConfiguration;
buildSettings = {
- CODE_SIGN_IDENTITY = "Simple Comic Application Cert";
FRAMEWORK_SEARCH_PATHS = "$(SRCROOT)/Frameworks";
GCC_AUTO_VECTORIZATION = YES;
GCC_ENABLE_OBJC_EXCEPTIONS = YES;
GCC_FAST_OBJC_DISPATCH = YES;
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
GCC_MODEL_TUNING = G4;
- GCC_OPTIMIZATION_LEVEL = s;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = SimpleComic_Prefix.pch;
GCC_UNROLL_LOOPS = YES;
@@ -900,7 +892,6 @@
GCC_WARN_UNUSED_VARIABLE = YES;
HEADER_SEARCH_PATHS = "";
INFOPLIST_FILE = Info.plist;
- INSTALL_PATH = "$(HOME)/Applications";
LD_RUNPATH_SEARCH_PATHS = "@executable_path/../Frameworks";
LIBRARY_SEARCH_PATHS = "$(SRCROOT)";
OTHER_LDFLAGS = (
@@ -916,32 +907,30 @@
FA7257E708A6CDEB006A2A19 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
+ ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREFIX_HEADER = "";
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
- MACOSX_DEPLOYMENT_TARGET = 10.5;
SDKROOT = macosx10.6;
};
name = Debug;
};
FA7257E808A6CDEB006A2A19 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
- ARCHS = "$(ARCHS_STANDARD_64_BIT)";
- GCC_OPTIMIZATION_LEVEL = 1;
+ ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
GCC_PREFIX_HEADER = "";
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
- MACOSX_DEPLOYMENT_TARGET = 10.6;
SDKROOT = macosx10.6;
};
name = Release;
};
FA7257E908A6CDEB006A2A19 /* Default */ = {
isa = XCBuildConfiguration;
buildSettings = {
+ ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
GCC_PREFIX_HEADER = "";
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
- MACOSX_DEPLOYMENT_TARGET = 10.5;
SDKROOT = macosx10.6;
};
name = Default;

0 comments on commit 68a4ebd

Please sign in to comment.