Xcode 4.4 warning fixes.

This commit is contained in:
Nate Weaver 2012-07-27 10:28:18 -05:00
parent 486ef2bbc1
commit 1dc4e113cb
18 changed files with 203 additions and 63 deletions

View File

@ -196,7 +196,7 @@ FSGetCatalogInfo:
- (IBAction)attributesChanged:(id)sender - (IBAction)attributesChanged:(id)sender
{ {
short attr = 0x0001 << [sender selectedRow]+1; short attr = (short)(0x0001 << [sender selectedRow]+1);
short number = ([[selectedResource attributes] shortValue] ^ attr); short number = ([[selectedResource attributes] shortValue] ^ attr);
[selectedResource setAttributes:[NSNumber numberWithShort:number]]; [selectedResource setAttributes:[NSNumber numberWithShort:number]];
} }

View File

@ -175,7 +175,7 @@
/*! /*!
@method draggingSourceOperationMaskForLocal: @method draggingSourceOperationMaskForLocal:
*/ */
- (unsigned int)draggingSourceOperationMaskForLocal:(BOOL)local - (NSUInteger)draggingSourceOperationMaskForLocal:(BOOL)local
{ {
if(local) return NSDragOperationEvery; if(local) return NSDragOperationEvery;
else return NSDragOperationCopy; else return NSDragOperationCopy;

View File

@ -346,7 +346,7 @@ NSString *RKResourcePboardType = @"RKResourcePboardType";
- (NSString *)description - (NSString *)description
{ {
return [NSString stringWithFormat:@"\n%@\nName: %@\nType: %@ ID: %@\nSize: %d Modified: %@", [super description], name, type, resID, [data length], dirty? @"YES":@"NO"]; return [NSString stringWithFormat:@"\n%@\nName: %@\nType: %@ ID: %@\nSize: %ld Modified: %@", [super description], name, type, resID, [data length], dirty? @"YES":@"NO"];
} }
@end @end

View File

@ -21,8 +21,8 @@
} }
- (BOOL)readFork:(NSString *)forkName asStreamFromFile:(FSRef *)fileRef; - (BOOL)readFork:(NSString *)forkName asStreamFromFile:(FSRef *)fileRef;
- (BOOL)readResourceMap:(SInt16)fileRefNum; - (BOOL)readResourceMap:(ResFileRefNum)fileRefNum;
- (BOOL)writeResourceMap:(SInt16)fileRefNum; - (BOOL)writeResourceMap:(ResFileRefNum)fileRefNum;
- (BOOL)writeForkStreamsToFile:(NSString *)fileName; - (BOOL)writeForkStreamsToFile:(NSString *)fileName;
- (IBAction)exportResources:(id)sender; - (IBAction)exportResources:(id)sender;

View File

@ -86,7 +86,7 @@ extern NSString *RKResourcePboardType;
int row = [[openPanelDelegate forkTableView] selectedRow]; int row = [[openPanelDelegate forkTableView] selectedRow];
NSString *selectedFork = [(NSDictionary *)[[openPanelDelegate forks] objectAtIndex:row] objectForKey:@"forkname"]; NSString *selectedFork = [(NSDictionary *)[[openPanelDelegate forks] objectAtIndex:row] objectForKey:@"forkname"];
fork = (HFSUniStr255 *) NewPtrClear(sizeof(HFSUniStr255)); fork = (HFSUniStr255 *) NewPtrClear(sizeof(HFSUniStr255));
fork->length = ([selectedFork length] < 255)? [selectedFork length]:255; fork->length = ([selectedFork length] < 255) ? (UInt16)[selectedFork length] : 255;
if(fork->length > 0) if(fork->length > 0)
[selectedFork getCharacters:fork->unicode range:NSMakeRange(0,fork->length)]; [selectedFork getCharacters:fork->unicode range:NSMakeRange(0,fork->length)];
else fork->unicode[0] = 0; else fork->unicode[0] = 0;
@ -208,7 +208,7 @@ extern NSString *RKResourcePboardType;
// translate NSString into HFSUniStr255 -- in 10.4 this can be done with FSGetHFSUniStrFromString // translate NSString into HFSUniStr255 -- in 10.4 this can be done with FSGetHFSUniStrFromString
HFSUniStr255 uniForkName = { 0 }; HFSUniStr255 uniForkName = { 0 };
uniForkName.length = ([forkName length] < 255)? [forkName length]:255; uniForkName.length = ([forkName length] < 255)? (UInt16)[forkName length]:255;
if(uniForkName.length > 0) if(uniForkName.length > 0)
[forkName getCharacters:uniForkName.unicode range:NSMakeRange(0, uniForkName.length)]; [forkName getCharacters:uniForkName.unicode range:NSMakeRange(0, uniForkName.length)];
else uniForkName.unicode[0] = 0; else uniForkName.unicode[0] = 0;
@ -245,10 +245,10 @@ extern NSString *RKResourcePboardType;
return YES; return YES;
} }
-(BOOL)readResourceMap:(SInt16)fileRefNum -(BOOL)readResourceMap:(ResFileRefNum)fileRefNum
{ {
OSStatus error = noErr; OSStatus error = noErr;
SInt16 oldResFile = CurResFile(); ResFileRefNum oldResFile = CurResFile();
UseResFile(fileRefNum); UseResFile(fileRefNum);
for(unsigned short i = 1; i <= Count1Types(); i++) for(unsigned short i = 1; i <= Count1Types(); i++)
@ -422,11 +422,11 @@ extern NSString *RKResourcePboardType;
@abstract Writes all resources (except the ones representing other forks of the file) to the specified resource file. @abstract Writes all resources (except the ones representing other forks of the file) to the specified resource file.
*/ */
- (BOOL)writeResourceMap:(SInt16)fileRefNum - (BOOL)writeResourceMap:(ResFileRefNum)fileRefNum
{ {
// make the resource file current // make the resource file current
OSStatus error = noErr; OSStatus error = noErr;
SInt16 oldResFile = CurResFile(); ResFileRefNum oldResFile = CurResFile();
UseResFile(fileRefNum); UseResFile(fileRefNum);
// loop over all our resources // loop over all our resources
@ -451,7 +451,7 @@ extern NSString *RKResourcePboardType;
resourceHandle = NewHandleClear(sizeLong); resourceHandle = NewHandleClear(sizeLong);
// convert unicode name to pascal string // convert unicode name to pascal string
nameStr[0] = [[resource name] lengthOfBytesUsingEncoding:NSMacOSRomanStringEncoding]; nameStr[0] = (unsigned char)[[resource name] lengthOfBytesUsingEncoding:NSMacOSRomanStringEncoding];
memmove(&nameStr[1], [[resource name] cStringUsingEncoding:NSMacOSRomanStringEncoding], nameStr[0]); memmove(&nameStr[1], [[resource name] cStringUsingEncoding:NSMacOSRomanStringEncoding], nameStr[0]);
// convert type string to ResType // convert type string to ResType

View File

@ -2,26 +2,28 @@
<archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="8.00"> <archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="8.00">
<data> <data>
<int key="IBDocument.SystemTarget">1070</int> <int key="IBDocument.SystemTarget">1070</int>
<string key="IBDocument.SystemVersion">11E53</string> <string key="IBDocument.SystemVersion">11E2620</string>
<string key="IBDocument.InterfaceBuilderVersion">2182</string> <string key="IBDocument.InterfaceBuilderVersion">2549</string>
<string key="IBDocument.AppKitVersion">1138.47</string> <string key="IBDocument.AppKitVersion">1138.47</string>
<string key="IBDocument.HIToolboxVersion">569.00</string> <string key="IBDocument.HIToolboxVersion">569.00</string>
<object class="NSMutableDictionary" key="IBDocument.PluginVersions"> <object class="NSMutableDictionary" key="IBDocument.PluginVersions">
<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin</string> <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin</string>
<string key="NS.object.0">2182</string> <string key="NS.object.0">2549</string>
</object> </object>
<array key="IBDocument.IntegratedClassDependencies"> <array key="IBDocument.IntegratedClassDependencies">
<string>NSView</string> <string>NSButton</string>
<string>NSButtonCell</string>
<string>NSCustomObject</string>
<string>NSOutlineView</string> <string>NSOutlineView</string>
<string>NSScrollView</string> <string>NSScrollView</string>
<string>NSWindowTemplate</string>
<string>NSTextFieldCell</string>
<string>NSSegmentedControl</string>
<string>NSSegmentedCell</string>
<string>NSTableHeaderView</string>
<string>NSTableColumn</string>
<string>NSScroller</string> <string>NSScroller</string>
<string>NSCustomObject</string> <string>NSSegmentedCell</string>
<string>NSSegmentedControl</string>
<string>NSTableColumn</string>
<string>NSTableHeaderView</string>
<string>NSTextFieldCell</string>
<string>NSView</string>
<string>NSWindowTemplate</string>
</array> </array>
<array key="IBDocument.PluginDependencies"> <array key="IBDocument.PluginDependencies">
<string>com.apple.InterfaceBuilder.CocoaPlugin</string> <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
@ -424,6 +426,62 @@
<int key="NSSegmentStyle">4</int> <int key="NSSegmentStyle">4</int>
</object> </object>
</object> </object>
<object class="NSButton" id="240356188">
<reference key="NSNextResponder"/>
<int key="NSvFlags">268</int>
<string key="NSFrameSize">{35, 25}</string>
<reference key="NSSuperview"/>
<reference key="NSWindow"/>
<reference key="NSNextKeyView"/>
<string key="NSReuseIdentifierKey">_NS:22</string>
<bool key="NSEnabled">YES</bool>
<object class="NSButtonCell" key="NSCell" id="624901668">
<int key="NSCellFlags">-2080244224</int>
<int key="NSCellFlags2">134217728</int>
<string key="NSContents"/>
<reference key="NSSupport" ref="788683039"/>
<string key="NSCellIdentifier">_NS:22</string>
<reference key="NSControlView" ref="240356188"/>
<int key="NSButtonFlags">-2033958657</int>
<int key="NSButtonFlags2">163</int>
<object class="NSCustomResource" key="NSNormalImage">
<string key="NSClassName">NSImage</string>
<string key="NSResourceName">NSAddTemplate</string>
</object>
<string key="NSAlternateContents"/>
<string key="NSKeyEquivalent"/>
<int key="NSPeriodicDelay">400</int>
<int key="NSPeriodicInterval">75</int>
</object>
</object>
<object class="NSButton" id="906285995">
<reference key="NSNextResponder"/>
<int key="NSvFlags">268</int>
<string key="NSFrameSize">{35, 25}</string>
<reference key="NSSuperview"/>
<reference key="NSWindow"/>
<reference key="NSNextKeyView"/>
<string key="NSReuseIdentifierKey">_NS:22</string>
<bool key="NSEnabled">YES</bool>
<object class="NSButtonCell" key="NSCell" id="93146896">
<int key="NSCellFlags">-2080244224</int>
<int key="NSCellFlags2">134217728</int>
<string key="NSContents"/>
<reference key="NSSupport" ref="788683039"/>
<string key="NSCellIdentifier">_NS:22</string>
<reference key="NSControlView" ref="906285995"/>
<int key="NSButtonFlags">-2033958657</int>
<int key="NSButtonFlags2">163</int>
<object class="NSCustomResource" key="NSNormalImage">
<string key="NSClassName">NSImage</string>
<string key="NSResourceName">EditHexTemplate</string>
</object>
<string key="NSAlternateContents"/>
<string key="NSKeyEquivalent"/>
<int key="NSPeriodicDelay">400</int>
<int key="NSPeriodicInterval">75</int>
</object>
</object>
</array> </array>
<object class="IBObjectContainer" key="IBDocument.Objects"> <object class="IBObjectContainer" key="IBDocument.Objects">
<array class="NSMutableArray" key="connectionRecords"> <array class="NSMutableArray" key="connectionRecords">
@ -723,6 +781,32 @@
<reference key="object" ref="602701963"/> <reference key="object" ref="602701963"/>
<reference key="parent" ref="915916486"/> <reference key="parent" ref="915916486"/>
</object> </object>
<object class="IBObjectRecord">
<int key="objectID">168</int>
<reference key="object" ref="240356188"/>
<array class="NSMutableArray" key="children">
<reference ref="624901668"/>
</array>
<reference key="parent" ref="0"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">169</int>
<reference key="object" ref="624901668"/>
<reference key="parent" ref="240356188"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">170</int>
<reference key="object" ref="906285995"/>
<array class="NSMutableArray" key="children">
<reference ref="93146896"/>
</array>
<reference key="parent" ref="0"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">171</int>
<reference key="object" ref="93146896"/>
<reference key="parent" ref="906285995"/>
</object>
</array> </array>
</object> </object>
<dictionary class="NSMutableDictionary" key="flattenedProperties"> <dictionary class="NSMutableDictionary" key="flattenedProperties">
@ -748,6 +832,10 @@
<string key="166.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> <string key="166.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
<integer value="1" key="167.IBNSSegmentedControlInspectorSelectedSegmentMetadataKey"/> <integer value="1" key="167.IBNSSegmentedControlInspectorSelectedSegmentMetadataKey"/>
<string key="167.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> <string key="167.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
<string key="168.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
<string key="169.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
<string key="170.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
<string key="171.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
<string key="24.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> <string key="24.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
<string key="32.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> <string key="32.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
<string key="38.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> <string key="38.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
@ -759,7 +847,7 @@
<nil key="activeLocalization"/> <nil key="activeLocalization"/>
<dictionary class="NSMutableDictionary" key="localizations"/> <dictionary class="NSMutableDictionary" key="localizations"/>
<nil key="sourceID"/> <nil key="sourceID"/>
<int key="maxID">167</int> <int key="maxID">171</int>
</object> </object>
<object class="IBClassDescriber" key="IBDocument.Classes"> <object class="IBClassDescriber" key="IBDocument.Classes">
<array class="NSMutableArray" key="referencedPartialClassDescriptions"> <array class="NSMutableArray" key="referencedPartialClassDescriptions">
@ -771,6 +859,47 @@
<string key="minorKey">./Classes/AttributesFormatter.h</string> <string key="minorKey">./Classes/AttributesFormatter.h</string>
</object> </object>
</object> </object>
<object class="IBPartialClassDescription">
<string key="className">NSDocument</string>
<dictionary class="NSMutableDictionary" key="actions">
<string key="printDocument:">id</string>
<string key="revertDocumentToSaved:">id</string>
<string key="runPageLayout:">id</string>
<string key="saveDocument:">id</string>
<string key="saveDocumentAs:">id</string>
<string key="saveDocumentTo:">id</string>
</dictionary>
<dictionary class="NSMutableDictionary" key="actionInfosByName">
<object class="IBActionInfo" key="printDocument:">
<string key="name">printDocument:</string>
<string key="candidateClassName">id</string>
</object>
<object class="IBActionInfo" key="revertDocumentToSaved:">
<string key="name">revertDocumentToSaved:</string>
<string key="candidateClassName">id</string>
</object>
<object class="IBActionInfo" key="runPageLayout:">
<string key="name">runPageLayout:</string>
<string key="candidateClassName">id</string>
</object>
<object class="IBActionInfo" key="saveDocument:">
<string key="name">saveDocument:</string>
<string key="candidateClassName">id</string>
</object>
<object class="IBActionInfo" key="saveDocumentAs:">
<string key="name">saveDocumentAs:</string>
<string key="candidateClassName">id</string>
</object>
<object class="IBActionInfo" key="saveDocumentTo:">
<string key="name">saveDocumentTo:</string>
<string key="candidateClassName">id</string>
</object>
</dictionary>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBProjectSource</string>
<string key="minorKey">./Classes/NSDocument.h</string>
</object>
</object>
<object class="IBPartialClassDescription"> <object class="IBPartialClassDescription">
<string key="className">OutlineViewDelegate</string> <string key="className">OutlineViewDelegate</string>
<string key="superclassName">NSObject</string> <string key="superclassName">NSObject</string>
@ -948,6 +1077,8 @@
<bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool> <bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
<int key="IBDocument.defaultPropertyAccessControl">3</int> <int key="IBDocument.defaultPropertyAccessControl">3</int>
<dictionary class="NSMutableDictionary" key="IBDocument.LastKnownImageSizes"> <dictionary class="NSMutableDictionary" key="IBDocument.LastKnownImageSizes">
<string key="EditHexTemplate">{128, 128}</string>
<string key="NSAddTemplate">{8, 8}</string>
<string key="NSIconViewTemplate">{11, 10}</string> <string key="NSIconViewTemplate">{11, 10}</string>
<string key="NSListViewTemplate">{11, 10}</string> <string key="NSListViewTemplate">{11, 10}</string>
</dictionary> </dictionary>

View File

@ -214,7 +214,7 @@ UInt32 TableChecksum(UInt32 *table, UInt32 length)
[NSNumber numberWithUnsignedLong: 0], @"length", [NSNumber numberWithUnsignedLong: 0], @"length",
[NSData data], @"data", nil]; [NSData data], @"data", nil];
[headerTable addObject:table]; [headerTable addObject:table];
numTables = [headerTable count]; numTables = (UInt16)[headerTable count];
[self openTable:table inEditor:YES]; [self openTable:table inEditor:YES];
[self setDocumentEdited:YES]; [self setDocumentEdited:YES];
} }

View File

@ -45,7 +45,7 @@
int row; int row;
for( row = 0; row < rows; row++ ) for( row = 0; row < rows; row++ )
[representation appendFormat:@"%08lX:", row * bytesPerRow]; [representation appendFormat:@"%08X:", row * bytesPerRow];
return representation; return representation;
} }

View File

@ -228,7 +228,7 @@ static NSRange draggedRange;
// bug: iteration through each character in string is broken, paste not yet mapped to this function // bug: iteration through each character in string is broken, paste not yet mapped to this function
for(NSUInteger i = 0; i < [string lengthOfBytesUsingEncoding:NSASCIIStringEncoding]; i++) for(NSUInteger i = 0; i < [string lengthOfBytesUsingEncoding:NSASCIIStringEncoding]; i++)
{ {
char typedChar = [string characterAtIndex:i]; unichar typedChar = [string characterAtIndex:i];
if(typedChar >= 0x30 && typedChar <= 0x39) typedChar -= 0x30; // 0 to 9 if(typedChar >= 0x30 && typedChar <= 0x39) typedChar -= 0x30; // 0 to 9
else if(typedChar >= 0x41 && typedChar <= 0x46) typedChar -= 0x37; // A to F else if(typedChar >= 0x41 && typedChar <= 0x46) typedChar -= 0x37; // A to F
else if(typedChar >= 0x61 && typedChar <= 0x66) typedChar -= 0x57; // a to f else if(typedChar >= 0x61 && typedChar <= 0x66) typedChar -= 0x57; // a to f

View File

@ -95,7 +95,7 @@ OSStatus Plug_InitInstance(Plug_PlugInRef plug, Plug_ResourceRef resource)
- (void)windowDidResize:(NSNotification *)notification - (void)windowDidResize:(NSNotification *)notification
{ {
int width = [(NSWindow *)[notification object] frame].size.width; int width = (int)[(NSWindow *)[notification object] frame].size.width;
int oldBytesPerRow = bytesPerRow; int oldBytesPerRow = bytesPerRow;
bytesPerRow = (((width - (kWindowStepWidthPerChar * kWindowStepCharsPerStep) - 122) / (kWindowStepWidthPerChar * kWindowStepCharsPerStep)) + 1) * kWindowStepCharsPerStep; bytesPerRow = (((width - (kWindowStepWidthPerChar * kWindowStepCharsPerStep) - 122) / (kWindowStepWidthPerChar * kWindowStepCharsPerStep)) + 1) * kWindowStepCharsPerStep;
if(bytesPerRow != oldBytesPerRow) if(bytesPerRow != oldBytesPerRow)

View File

@ -73,7 +73,7 @@
- (NSData *)dataFromHex - (NSData *)dataFromHex
{ {
unsigned long actualBytesEncoded = 0; unsigned long actualBytesEncoded = 0;
unsigned long maxBytesEncoded = floor([self lengthOfBytesUsingEncoding:NSASCIIStringEncoding] / 2.0); unsigned long maxBytesEncoded = (unsigned long)floor([self lengthOfBytesUsingEncoding:NSASCIIStringEncoding] / 2.0);
const char *bytes = [self cStringUsingEncoding:NSASCIIStringEncoding]; const char *bytes = [self cStringUsingEncoding:NSASCIIStringEncoding];
char *buffer = (char *) malloc(maxBytesEncoded); char *buffer = (char *) malloc(maxBytesEncoded);
signed char hex1, hex2; signed char hex1, hex2;
@ -86,7 +86,7 @@
hex1 -= (hex1 < 'A')? 0x30 : ((hex1 < 'a')? 0x37 : 0x57); // 0-9 < A-Z < a-z hex1 -= (hex1 < 'A')? 0x30 : ((hex1 < 'a')? 0x37 : 0x57); // 0-9 < A-Z < a-z
hex2 -= (hex2 < 'A')? 0x30 : ((hex2 < 'a')? 0x37 : 0x57); hex2 -= (hex2 < 'A')? 0x30 : ((hex2 < 'a')? 0x37 : 0x57);
if(hex1 & 0xF0 || hex2 & 0xF0) { i++; continue; } // invalid character found, move forward one byte and try again if(hex1 & 0xF0 || hex2 & 0xF0) { i++; continue; } // invalid character found, move forward one byte and try again
buffer[actualBytesEncoded++] = (hex1 << 4) + hex2; buffer[actualBytesEncoded++] = (char)(hex1 << 4) + hex2;
i += 2; i += 2;
} }
return [NSData dataWithBytesNoCopy:buffer length:actualBytesEncoded freeWhenDone:YES]; return [NSData dataWithBytesNoCopy:buffer length:actualBytesEncoded freeWhenDone:YES];

View File

@ -46,7 +46,7 @@
char cstr[256]; char cstr[256];
char *endPtr = cstr + 255; char *endPtr = cstr + 255;
strncpy(cstr, [str cStringUsingEncoding:NSMacOSRomanStringEncoding], 255); strncpy(cstr, [str cStringUsingEncoding:NSMacOSRomanStringEncoding], 255);
value = strtol(cstr, &endPtr, 10); value = (SInt8)strtol(cstr, &endPtr, 10);
} }
@end @end

View File

@ -41,7 +41,7 @@
- (NSString *)stringValue - (NSString *)stringValue
{ {
return [NSString stringWithFormat:@"%ld", value]; return [NSString stringWithFormat:@"%d", value];
} }
- (void)setStringValue:(NSString *)str - (void)setStringValue:(NSString *)str

View File

@ -49,7 +49,7 @@
char cstr[256]; char cstr[256];
char *endPtr = cstr + 255; char *endPtr = cstr + 255;
strncpy(cstr, [str cStringUsingEncoding:NSMacOSRomanStringEncoding], 255); strncpy(cstr, [str cStringUsingEncoding:NSMacOSRomanStringEncoding], 255);
value = strtol(cstr, &endPtr, 10); value = (SInt16)strtol(cstr, &endPtr, 10);
} }
@end @end

View File

@ -46,7 +46,7 @@
char cstr[256]; char cstr[256];
char *endPtr = cstr + 255; char *endPtr = cstr + 255;
strncpy(cstr, [str cStringUsingEncoding:NSMacOSRomanStringEncoding], 255); strncpy(cstr, [str cStringUsingEncoding:NSMacOSRomanStringEncoding], 255);
value = strtoul(cstr, &endPtr, 10); value = (UInt8)strtoul(cstr, &endPtr, 10);
} }
@end @end

View File

@ -41,7 +41,7 @@
- (NSString *)stringValue - (NSString *)stringValue
{ {
return [NSString stringWithFormat:@"%lu", value]; return [NSString stringWithFormat:@"%u", value];
} }
- (void)setStringValue:(NSString *)str - (void)setStringValue:(NSString *)str

View File

@ -49,7 +49,7 @@
char cstr[256]; char cstr[256];
char *endPtr = cstr + 255; char *endPtr = cstr + 255;
strncpy(cstr, [str cStringUsingEncoding:NSMacOSRomanStringEncoding], 255); strncpy(cstr, [str cStringUsingEncoding:NSMacOSRomanStringEncoding], 255);
value = strtoul(cstr, &endPtr, 10); value = (UInt16)strtoul(cstr, &endPtr, 10);
} }
@end @end

View File

@ -26,6 +26,7 @@
B229EEF915A4FB6F0032C12C /* ResourceDocument.xib in Resources */ = {isa = PBXBuildFile; fileRef = B229EEF215A4FB6F0032C12C /* ResourceDocument.xib */; }; B229EEF915A4FB6F0032C12C /* ResourceDocument.xib in Resources */ = {isa = PBXBuildFile; fileRef = B229EEF215A4FB6F0032C12C /* ResourceDocument.xib */; };
B24925E215A6776600C22060 /* PictWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = B24925E015A6776600C22060 /* PictWindow.xib */; }; B24925E215A6776600C22060 /* PictWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = B24925E015A6776600C22060 /* PictWindow.xib */; };
B24925E615A6778C00C22060 /* ICONWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = B24925E415A6778C00C22060 /* ICONWindow.xib */; }; B24925E615A6778C00C22060 /* ICONWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = B24925E415A6778C00C22060 /* ICONWindow.xib */; };
B271D08015B6CFC70039A282 /* EditHexTemplate.pdf in Resources */ = {isa = PBXBuildFile; fileRef = B271D07F15B6CFC70039A282 /* EditHexTemplate.pdf */; };
B27A65D015A677F00029141B /* TemplateWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = B27A65CE15A677F00029141B /* TemplateWindow.xib */; }; B27A65D015A677F00029141B /* TemplateWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = B27A65CE15A677F00029141B /* TemplateWindow.xib */; };
B27A65D615A678260029141B /* FindSheet.xib in Resources */ = {isa = PBXBuildFile; fileRef = B27A65D215A678260029141B /* FindSheet.xib */; }; B27A65D615A678260029141B /* FindSheet.xib in Resources */ = {isa = PBXBuildFile; fileRef = B27A65D215A678260029141B /* FindSheet.xib */; };
B27A65D715A678260029141B /* HexWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = B27A65D415A678260029141B /* HexWindow.xib */; }; B27A65D715A678260029141B /* HexWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = B27A65D415A678260029141B /* HexWindow.xib */; };
@ -37,6 +38,7 @@
B2B2C41815A9473C00D6F61C /* Notifications.m in Sources */ = {isa = PBXBuildFile; fileRef = F5C9ECCE027F474A01A8010C /* Notifications.m */; }; B2B2C41815A9473C00D6F61C /* Notifications.m in Sources */ = {isa = PBXBuildFile; fileRef = F5C9ECCE027F474A01A8010C /* Notifications.m */; };
B2B2C42115A9EEEF00D6F61C /* RKPatternImageCell.m in Sources */ = {isa = PBXBuildFile; fileRef = B2B2C41E15A9EEE100D6F61C /* RKPatternImageCell.m */; }; B2B2C42115A9EEEF00D6F61C /* RKPatternImageCell.m in Sources */ = {isa = PBXBuildFile; fileRef = B2B2C41E15A9EEE100D6F61C /* RKPatternImageCell.m */; };
B2B2C43A15A9FCCF00D6F61C /* RKPatternView.m in Sources */ = {isa = PBXBuildFile; fileRef = B2B2C43915A9FCCF00D6F61C /* RKPatternView.m */; }; B2B2C43A15A9FCCF00D6F61C /* RKPatternView.m in Sources */ = {isa = PBXBuildFile; fileRef = B2B2C43915A9FCCF00D6F61C /* RKPatternView.m */; };
B2B51C9115B700560087978B /* Edit Hex.tiff in Resources */ = {isa = PBXBuildFile; fileRef = F577A8FC0211E4D401A80001 /* Edit Hex.tiff */; };
B2FCA78B15A66ACE00696598 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F5B5884B0156D40B01000001 /* Cocoa.framework */; }; B2FCA78B15A66ACE00696598 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F5B5884B0156D40B01000001 /* Cocoa.framework */; };
B2FCA79115A66ACF00696598 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = B2FCA78F15A66ACF00696598 /* InfoPlist.strings */; }; B2FCA79115A66ACF00696598 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = B2FCA78F15A66ACF00696598 /* InfoPlist.strings */; };
B2FCA79715A66B2A00696598 /* PictWindowController.m in Sources */ = {isa = PBXBuildFile; fileRef = B2FCA78015A669C800696598 /* PictWindowController.m */; }; B2FCA79715A66B2A00696598 /* PictWindowController.m in Sources */ = {isa = PBXBuildFile; fileRef = B2FCA78015A669C800696598 /* PictWindowController.m */; };
@ -100,7 +102,6 @@
E18BF560069FEA1300F076B8 /* Create.tiff in Resources */ = {isa = PBXBuildFile; fileRef = F577A8FA0211E4D401A80001 /* Create.tiff */; }; E18BF560069FEA1300F076B8 /* Create.tiff in Resources */ = {isa = PBXBuildFile; fileRef = F577A8FA0211E4D401A80001 /* Create.tiff */; };
E18BF561069FEA1300F076B8 /* Delete.tiff in Resources */ = {isa = PBXBuildFile; fileRef = F577A904021220D601A80001 /* Delete.tiff */; }; E18BF561069FEA1300F076B8 /* Delete.tiff in Resources */ = {isa = PBXBuildFile; fileRef = F577A904021220D601A80001 /* Delete.tiff */; };
E18BF562069FEA1300F076B8 /* Edit.tiff in Resources */ = {isa = PBXBuildFile; fileRef = F577A8FB0211E4D401A80001 /* Edit.tiff */; }; E18BF562069FEA1300F076B8 /* Edit.tiff in Resources */ = {isa = PBXBuildFile; fileRef = F577A8FB0211E4D401A80001 /* Edit.tiff */; };
E18BF563069FEA1300F076B8 /* Edit Hex.tiff in Resources */ = {isa = PBXBuildFile; fileRef = F577A8FC0211E4D401A80001 /* Edit Hex.tiff */; };
E18BF564069FEA1300F076B8 /* Save.tiff in Resources */ = {isa = PBXBuildFile; fileRef = F577A8F30211CFA701A80001 /* Save.tiff */; }; E18BF564069FEA1300F076B8 /* Save.tiff in Resources */ = {isa = PBXBuildFile; fileRef = F577A8F30211CFA701A80001 /* Save.tiff */; };
E18BF565069FEA1300F076B8 /* Show Info.tiff in Resources */ = {isa = PBXBuildFile; fileRef = F577A8F80211DC1E01A80001 /* Show Info.tiff */; }; E18BF565069FEA1300F076B8 /* Show Info.tiff in Resources */ = {isa = PBXBuildFile; fileRef = F577A8F80211DC1E01A80001 /* Show Info.tiff */; };
E18BF566069FEA1300F076B8 /* ResKnife.scriptSuite in Resources */ = {isa = PBXBuildFile; fileRef = F5041736036BD60801A8010A /* ResKnife.scriptSuite */; }; E18BF566069FEA1300F076B8 /* ResKnife.scriptSuite in Resources */ = {isa = PBXBuildFile; fileRef = F5041736036BD60801A8010A /* ResKnife.scriptSuite */; };
@ -422,6 +423,7 @@
B229EEF315A4FB6F0032C12C /* English */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = English; path = Cocoa/English.lproj/ResourceDocument.xib; sourceTree = SOURCE_ROOT; }; B229EEF315A4FB6F0032C12C /* English */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = English; path = Cocoa/English.lproj/ResourceDocument.xib; sourceTree = SOURCE_ROOT; };
B24925E115A6776600C22060 /* English */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = English; path = English.lproj/PictWindow.xib; sourceTree = "<group>"; }; B24925E115A6776600C22060 /* English */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = English; path = English.lproj/PictWindow.xib; sourceTree = "<group>"; };
B24925E515A6778C00C22060 /* English */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = English; path = English.lproj/ICONWindow.xib; sourceTree = "<group>"; }; B24925E515A6778C00C22060 /* English */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = English; path = English.lproj/ICONWindow.xib; sourceTree = "<group>"; };
B271D07F15B6CFC70039A282 /* EditHexTemplate.pdf */ = {isa = PBXFileReference; lastKnownFileType = image.pdf; name = EditHexTemplate.pdf; path = ../../../../Documents/ResKnife/EditHexTemplate.pdf; sourceTree = "<group>"; };
B27A65CF15A677F00029141B /* English */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = English; path = English.lproj/TemplateWindow.xib; sourceTree = "<group>"; }; B27A65CF15A677F00029141B /* English */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = English; path = English.lproj/TemplateWindow.xib; sourceTree = "<group>"; };
B27A65D315A678260029141B /* English */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = English; path = English.lproj/FindSheet.xib; sourceTree = "<group>"; }; B27A65D315A678260029141B /* English */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = English; path = English.lproj/FindSheet.xib; sourceTree = "<group>"; };
B27A65D515A678260029141B /* English */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = English; path = English.lproj/HexWindow.xib; sourceTree = "<group>"; }; B27A65D515A678260029141B /* English */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = English; path = English.lproj/HexWindow.xib; sourceTree = "<group>"; };
@ -1092,6 +1094,7 @@
F577A904021220D601A80001 /* Delete.tiff */, F577A904021220D601A80001 /* Delete.tiff */,
F577A8FB0211E4D401A80001 /* Edit.tiff */, F577A8FB0211E4D401A80001 /* Edit.tiff */,
F577A8FC0211E4D401A80001 /* Edit Hex.tiff */, F577A8FC0211E4D401A80001 /* Edit Hex.tiff */,
B271D07F15B6CFC70039A282 /* EditHexTemplate.pdf */,
F577A8F30211CFA701A80001 /* Save.tiff */, F577A8F30211CFA701A80001 /* Save.tiff */,
F577A8F80211DC1E01A80001 /* Show Info.tiff */, F577A8F80211DC1E01A80001 /* Show Info.tiff */,
3D35756004DAEB7F00B8225B /* Export.tiff */, 3D35756004DAEB7F00B8225B /* Export.tiff */,
@ -1555,7 +1558,7 @@
isa = PBXProject; isa = PBXProject;
attributes = { attributes = {
BuildIndependentTargetsInParallel = YES; BuildIndependentTargetsInParallel = YES;
LastUpgradeCheck = 0410; LastUpgradeCheck = 0440;
}; };
buildConfigurationList = E13F7F0508F0411100E2A5CB /* Build configuration list for PBXProject "ResKnife" */; buildConfigurationList = E13F7F0508F0411100E2A5CB /* Build configuration list for PBXProject "ResKnife" */;
compatibilityVersion = "Xcode 3.2"; compatibilityVersion = "Xcode 3.2";
@ -1629,7 +1632,6 @@
E18BF560069FEA1300F076B8 /* Create.tiff in Resources */, E18BF560069FEA1300F076B8 /* Create.tiff in Resources */,
E18BF561069FEA1300F076B8 /* Delete.tiff in Resources */, E18BF561069FEA1300F076B8 /* Delete.tiff in Resources */,
E18BF562069FEA1300F076B8 /* Edit.tiff in Resources */, E18BF562069FEA1300F076B8 /* Edit.tiff in Resources */,
E18BF563069FEA1300F076B8 /* Edit Hex.tiff in Resources */,
E18BF564069FEA1300F076B8 /* Save.tiff in Resources */, E18BF564069FEA1300F076B8 /* Save.tiff in Resources */,
E18BF565069FEA1300F076B8 /* Show Info.tiff in Resources */, E18BF565069FEA1300F076B8 /* Show Info.tiff in Resources */,
E18BF566069FEA1300F076B8 /* ResKnife.scriptSuite in Resources */, E18BF566069FEA1300F076B8 /* ResKnife.scriptSuite in Resources */,
@ -1642,6 +1644,8 @@
B229EEF715A4FB6F0032C12C /* InfoWindow.xib in Resources */, B229EEF715A4FB6F0032C12C /* InfoWindow.xib in Resources */,
B229EEF815A4FB6F0032C12C /* PrefsWindow.xib in Resources */, B229EEF815A4FB6F0032C12C /* PrefsWindow.xib in Resources */,
B229EEF915A4FB6F0032C12C /* ResourceDocument.xib in Resources */, B229EEF915A4FB6F0032C12C /* ResourceDocument.xib in Resources */,
B271D08015B6CFC70039A282 /* EditHexTemplate.pdf in Resources */,
B2B51C9115B700560087978B /* Edit Hex.tiff in Resources */,
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
}; };
@ -2245,6 +2249,7 @@
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO; ALWAYS_SEARCH_USER_PATHS = NO;
COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = NO; COPY_PHASE_STRIP = NO;
GCC_C_LANGUAGE_STANDARD = gnu99; GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_DYNAMIC_NO_PIC = NO; GCC_DYNAMIC_NO_PIC = NO;
@ -2274,6 +2279,7 @@
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO; ALWAYS_SEARCH_USER_PATHS = NO;
COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = YES; COPY_PHASE_STRIP = YES;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
GCC_C_LANGUAGE_STANDARD = gnu99; GCC_C_LANGUAGE_STANDARD = gnu99;
@ -2296,7 +2302,7 @@
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO; ALWAYS_SEARCH_USER_PATHS = NO;
ARCHS = "$(ARCHS_STANDARD_64_BIT)"; COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = NO; COPY_PHASE_STRIP = NO;
GCC_C_LANGUAGE_STANDARD = gnu99; GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_DYNAMIC_NO_PIC = NO; GCC_DYNAMIC_NO_PIC = NO;
@ -2309,7 +2315,6 @@
"$(inherited)", "$(inherited)",
); );
GCC_SYMBOLS_PRIVATE_EXTERN = NO; GCC_SYMBOLS_PRIVATE_EXTERN = NO;
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
GCC_WARN_ABOUT_RETURN_TYPE = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNINITIALIZED_AUTOS = YES;
GCC_WARN_UNUSED_VARIABLE = YES; GCC_WARN_UNUSED_VARIABLE = YES;
@ -2326,14 +2331,13 @@
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO; ALWAYS_SEARCH_USER_PATHS = NO;
ARCHS = "$(ARCHS_STANDARD_64_BIT)"; COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = YES; COPY_PHASE_STRIP = YES;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
GCC_C_LANGUAGE_STANDARD = gnu99; GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_ENABLE_OBJC_EXCEPTIONS = YES; GCC_ENABLE_OBJC_EXCEPTIONS = YES;
GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "Pattern Editor/Pattern Editor-Prefix.pch"; GCC_PREFIX_HEADER = "Pattern Editor/Pattern Editor-Prefix.pch";
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
GCC_WARN_ABOUT_RETURN_TYPE = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNINITIALIZED_AUTOS = YES;
GCC_WARN_UNUSED_VARIABLE = YES; GCC_WARN_UNUSED_VARIABLE = YES;
@ -2349,6 +2353,7 @@
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO; ALWAYS_SEARCH_USER_PATHS = NO;
COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = NO; COPY_PHASE_STRIP = NO;
GCC_C_LANGUAGE_STANDARD = gnu99; GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_DYNAMIC_NO_PIC = NO; GCC_DYNAMIC_NO_PIC = NO;
@ -2361,7 +2366,6 @@
"$(inherited)", "$(inherited)",
); );
GCC_SYMBOLS_PRIVATE_EXTERN = NO; GCC_SYMBOLS_PRIVATE_EXTERN = NO;
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
GCC_WARN_ABOUT_RETURN_TYPE = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNINITIALIZED_AUTOS = YES;
GCC_WARN_UNUSED_VARIABLE = YES; GCC_WARN_UNUSED_VARIABLE = YES;
@ -2378,13 +2382,13 @@
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO; ALWAYS_SEARCH_USER_PATHS = NO;
COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = YES; COPY_PHASE_STRIP = YES;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
GCC_C_LANGUAGE_STANDARD = gnu99; GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_ENABLE_OBJC_EXCEPTIONS = YES; GCC_ENABLE_OBJC_EXCEPTIONS = YES;
GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "PICT Editor/PICT Editor-Prefix.pch"; GCC_PREFIX_HEADER = "PICT Editor/PICT Editor-Prefix.pch";
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
GCC_WARN_ABOUT_RETURN_TYPE = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNINITIALIZED_AUTOS = YES;
GCC_WARN_UNUSED_VARIABLE = YES; GCC_WARN_UNUSED_VARIABLE = YES;
@ -2399,12 +2403,12 @@
E13F7ED208F0411100E2A5CB /* Debug */ = { E13F7ED208F0411100E2A5CB /* Debug */ = {
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = NO; COPY_PHASE_STRIP = NO;
GCC_C_LANGUAGE_STANDARD = c99; GCC_C_LANGUAGE_STANDARD = c99;
GCC_DYNAMIC_NO_PIC = NO; GCC_DYNAMIC_NO_PIC = NO;
GCC_GENERATE_DEBUGGING_SYMBOLS = YES; GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
GCC_OPTIMIZATION_LEVEL = 0; GCC_OPTIMIZATION_LEVEL = 0;
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
INFOPLIST_FILE = "Cocoa/Plug-Ins/Hex Editor/Info.plist"; INFOPLIST_FILE = "Cocoa/Plug-Ins/Hex Editor/Info.plist";
OTHER_CFLAGS = ""; OTHER_CFLAGS = "";
OTHER_LDFLAGS = ( OTHER_LDFLAGS = (
@ -2428,10 +2432,10 @@
E13F7ED308F0411100E2A5CB /* Release */ = { E13F7ED308F0411100E2A5CB /* Release */ = {
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = YES; COPY_PHASE_STRIP = YES;
DEBUGGING_SYMBOLS = NO; DEBUGGING_SYMBOLS = NO;
GCC_C_LANGUAGE_STANDARD = c99; GCC_C_LANGUAGE_STANDARD = c99;
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
INFOPLIST_FILE = "Cocoa/Plug-Ins/Hex Editor/Info.plist"; INFOPLIST_FILE = "Cocoa/Plug-Ins/Hex Editor/Info.plist";
OTHER_CFLAGS = ""; OTHER_CFLAGS = "";
OTHER_LDFLAGS = ( OTHER_LDFLAGS = (
@ -2455,12 +2459,12 @@
E13F7ED608F0411100E2A5CB /* Debug */ = { E13F7ED608F0411100E2A5CB /* Debug */ = {
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = NO; COPY_PHASE_STRIP = NO;
GCC_C_LANGUAGE_STANDARD = c99; GCC_C_LANGUAGE_STANDARD = c99;
GCC_DYNAMIC_NO_PIC = NO; GCC_DYNAMIC_NO_PIC = NO;
GCC_GENERATE_DEBUGGING_SYMBOLS = YES; GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
GCC_OPTIMIZATION_LEVEL = 0; GCC_OPTIMIZATION_LEVEL = 0;
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
INFOPLIST_FILE = "Cocoa/Plug-Ins/Template Editor/Info.plist"; INFOPLIST_FILE = "Cocoa/Plug-Ins/Template Editor/Info.plist";
OTHER_CFLAGS = ""; OTHER_CFLAGS = "";
OTHER_LDFLAGS = ""; OTHER_LDFLAGS = "";
@ -2480,10 +2484,10 @@
E13F7ED708F0411100E2A5CB /* Release */ = { E13F7ED708F0411100E2A5CB /* Release */ = {
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = YES; COPY_PHASE_STRIP = YES;
DEBUGGING_SYMBOLS = NO; DEBUGGING_SYMBOLS = NO;
GCC_C_LANGUAGE_STANDARD = c99; GCC_C_LANGUAGE_STANDARD = c99;
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
INFOPLIST_FILE = "Cocoa/Plug-Ins/Template Editor/Info.plist"; INFOPLIST_FILE = "Cocoa/Plug-Ins/Template Editor/Info.plist";
OTHER_CFLAGS = ""; OTHER_CFLAGS = "";
OTHER_LDFLAGS = ""; OTHER_LDFLAGS = "";
@ -2503,6 +2507,7 @@
E13F7EDA08F0411100E2A5CB /* Debug */ = { E13F7EDA08F0411100E2A5CB /* Debug */ = {
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = NO; COPY_PHASE_STRIP = NO;
GCC_C_LANGUAGE_STANDARD = c99; GCC_C_LANGUAGE_STANDARD = c99;
GCC_DYNAMIC_NO_PIC = NO; GCC_DYNAMIC_NO_PIC = NO;
@ -2524,6 +2529,7 @@
E13F7EDB08F0411100E2A5CB /* Release */ = { E13F7EDB08F0411100E2A5CB /* Release */ = {
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = YES; COPY_PHASE_STRIP = YES;
GCC_C_LANGUAGE_STANDARD = c99; GCC_C_LANGUAGE_STANDARD = c99;
GCC_OPTIMIZATION_LEVEL = 0; GCC_OPTIMIZATION_LEVEL = 0;
@ -2543,12 +2549,12 @@
E13F7EDE08F0411100E2A5CB /* Debug */ = { E13F7EDE08F0411100E2A5CB /* Debug */ = {
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = NO; COPY_PHASE_STRIP = NO;
GCC_C_LANGUAGE_STANDARD = c99; GCC_C_LANGUAGE_STANDARD = c99;
GCC_DYNAMIC_NO_PIC = NO; GCC_DYNAMIC_NO_PIC = NO;
GCC_GENERATE_DEBUGGING_SYMBOLS = YES; GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
GCC_OPTIMIZATION_LEVEL = 0; GCC_OPTIMIZATION_LEVEL = 0;
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
INFOPLIST_FILE = "Cocoa/Plug-Ins/Nick's Template Editor/Info.plist"; INFOPLIST_FILE = "Cocoa/Plug-Ins/Nick's Template Editor/Info.plist";
OTHER_CFLAGS = ""; OTHER_CFLAGS = "";
OTHER_LDFLAGS = ""; OTHER_LDFLAGS = "";
@ -2568,10 +2574,10 @@
E13F7EDF08F0411100E2A5CB /* Release */ = { E13F7EDF08F0411100E2A5CB /* Release */ = {
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = YES; COPY_PHASE_STRIP = YES;
DEBUGGING_SYMBOLS = NO; DEBUGGING_SYMBOLS = NO;
GCC_C_LANGUAGE_STANDARD = c99; GCC_C_LANGUAGE_STANDARD = c99;
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
INFOPLIST_FILE = "Cocoa/Plug-Ins/Nick's Template Editor/Info.plist"; INFOPLIST_FILE = "Cocoa/Plug-Ins/Nick's Template Editor/Info.plist";
OTHER_CFLAGS = ""; OTHER_CFLAGS = "";
OTHER_LDFLAGS = ""; OTHER_LDFLAGS = "";
@ -2591,12 +2597,12 @@
E13F7EE208F0411100E2A5CB /* Debug */ = { E13F7EE208F0411100E2A5CB /* Debug */ = {
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = NO; COPY_PHASE_STRIP = NO;
GCC_C_LANGUAGE_STANDARD = c99; GCC_C_LANGUAGE_STANDARD = c99;
GCC_DYNAMIC_NO_PIC = NO; GCC_DYNAMIC_NO_PIC = NO;
GCC_GENERATE_DEBUGGING_SYMBOLS = YES; GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
GCC_OPTIMIZATION_LEVEL = 0; GCC_OPTIMIZATION_LEVEL = 0;
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
INFOPLIST_FILE = ICONEditor/Info.plist; INFOPLIST_FILE = ICONEditor/Info.plist;
OTHER_CFLAGS = ""; OTHER_CFLAGS = "";
OTHER_LDFLAGS = ""; OTHER_LDFLAGS = "";
@ -2616,10 +2622,10 @@
E13F7EE308F0411100E2A5CB /* Release */ = { E13F7EE308F0411100E2A5CB /* Release */ = {
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = YES; COPY_PHASE_STRIP = YES;
DEBUGGING_SYMBOLS = NO; DEBUGGING_SYMBOLS = NO;
GCC_C_LANGUAGE_STANDARD = c99; GCC_C_LANGUAGE_STANDARD = c99;
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
INFOPLIST_FILE = ICONEditor/Info.plist; INFOPLIST_FILE = ICONEditor/Info.plist;
OTHER_CFLAGS = ""; OTHER_CFLAGS = "";
OTHER_LDFLAGS = ""; OTHER_LDFLAGS = "";
@ -2639,6 +2645,7 @@
E13F7EE608F0411100E2A5CB /* Debug */ = { E13F7EE608F0411100E2A5CB /* Debug */ = {
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = NO; COPY_PHASE_STRIP = NO;
GCC_C_LANGUAGE_STANDARD = c99; GCC_C_LANGUAGE_STANDARD = c99;
GCC_DYNAMIC_NO_PIC = NO; GCC_DYNAMIC_NO_PIC = NO;
@ -2646,7 +2653,6 @@
GCC_OPTIMIZATION_LEVEL = 0; GCC_OPTIMIZATION_LEVEL = 0;
GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/AppKit.framework/Headers/AppKit.h"; GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/AppKit.framework/Headers/AppKit.h";
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
GCC_WARN_FOUR_CHARACTER_CONSTANTS = NO; GCC_WARN_FOUR_CHARACTER_CONSTANTS = NO;
GCC_WARN_SIGN_COMPARE = NO; GCC_WARN_SIGN_COMPARE = NO;
GCC_WARN_TYPECHECK_CALLS_TO_PRINTF = YES; GCC_WARN_TYPECHECK_CALLS_TO_PRINTF = YES;
@ -2671,12 +2677,12 @@
E13F7EE708F0411100E2A5CB /* Release */ = { E13F7EE708F0411100E2A5CB /* Release */ = {
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = YES; COPY_PHASE_STRIP = YES;
DEBUGGING_SYMBOLS = NO; DEBUGGING_SYMBOLS = NO;
GCC_C_LANGUAGE_STANDARD = c99; GCC_C_LANGUAGE_STANDARD = c99;
GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/AppKit.framework/Headers/AppKit.h"; GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/AppKit.framework/Headers/AppKit.h";
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
GCC_WARN_FOUR_CHARACTER_CONSTANTS = NO; GCC_WARN_FOUR_CHARACTER_CONSTANTS = NO;
GCC_WARN_SIGN_COMPARE = NO; GCC_WARN_SIGN_COMPARE = NO;
GCC_WARN_TYPECHECK_CALLS_TO_PRINTF = YES; GCC_WARN_TYPECHECK_CALLS_TO_PRINTF = YES;
@ -2701,12 +2707,12 @@
E13F7EEA08F0411100E2A5CB /* Debug */ = { E13F7EEA08F0411100E2A5CB /* Debug */ = {
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = NO; COPY_PHASE_STRIP = NO;
GCC_C_LANGUAGE_STANDARD = c99; GCC_C_LANGUAGE_STANDARD = c99;
GCC_DYNAMIC_NO_PIC = NO; GCC_DYNAMIC_NO_PIC = NO;
GCC_GENERATE_DEBUGGING_SYMBOLS = YES; GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
GCC_OPTIMIZATION_LEVEL = 0; GCC_OPTIMIZATION_LEVEL = 0;
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
INFOPLIST_FILE = NovaTools/Info.plist; INFOPLIST_FILE = NovaTools/Info.plist;
OTHER_CFLAGS = ""; OTHER_CFLAGS = "";
OTHER_LDFLAGS = ""; OTHER_LDFLAGS = "";
@ -2726,10 +2732,10 @@
E13F7EEB08F0411100E2A5CB /* Release */ = { E13F7EEB08F0411100E2A5CB /* Release */ = {
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = YES; COPY_PHASE_STRIP = YES;
DEBUGGING_SYMBOLS = NO; DEBUGGING_SYMBOLS = NO;
GCC_C_LANGUAGE_STANDARD = c99; GCC_C_LANGUAGE_STANDARD = c99;
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
INFOPLIST_FILE = NovaTools/Info.plist; INFOPLIST_FILE = NovaTools/Info.plist;
OTHER_CFLAGS = ""; OTHER_CFLAGS = "";
OTHER_LDFLAGS = ""; OTHER_LDFLAGS = "";
@ -2749,11 +2755,11 @@
E13F7F0208F0411100E2A5CB /* Debug */ = { E13F7F0208F0411100E2A5CB /* Debug */ = {
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = NO; COPY_PHASE_STRIP = NO;
GCC_DYNAMIC_NO_PIC = NO; GCC_DYNAMIC_NO_PIC = NO;
GCC_GENERATE_DEBUGGING_SYMBOLS = YES; GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
GCC_OPTIMIZATION_LEVEL = 0; GCC_OPTIMIZATION_LEVEL = 0;
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
INFOPLIST_FILE = "Info-Uli_s_Template_Editor__Upgraded_.plist"; INFOPLIST_FILE = "Info-Uli_s_Template_Editor__Upgraded_.plist";
OTHER_CFLAGS = ""; OTHER_CFLAGS = "";
OTHER_LDFLAGS = ""; OTHER_LDFLAGS = "";
@ -2773,9 +2779,9 @@
E13F7F0308F0411100E2A5CB /* Release */ = { E13F7F0308F0411100E2A5CB /* Release */ = {
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = YES; COPY_PHASE_STRIP = YES;
DEBUGGING_SYMBOLS = NO; DEBUGGING_SYMBOLS = NO;
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
INFOPLIST_FILE = "Info-Uli_s_Template_Editor__Upgraded_.plist"; INFOPLIST_FILE = "Info-Uli_s_Template_Editor__Upgraded_.plist";
OTHER_CFLAGS = ""; OTHER_CFLAGS = "";
OTHER_LDFLAGS = ""; OTHER_LDFLAGS = "";
@ -2796,9 +2802,10 @@
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
ARCHS = "$(NATIVE_ARCH_ACTUAL)"; ARCHS = "$(NATIVE_ARCH_ACTUAL)";
CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION = YES;
GCC_VERSION = ""; GCC_VERSION = "";
GCC_WARN_64_TO_32_BIT_CONVERSION = YES; MACOSX_DEPLOYMENT_TARGET = 10.6;
SDKROOT = macosx; SDKROOT = macosx10.7;
}; };
name = Debug; name = Debug;
}; };
@ -2806,9 +2813,10 @@
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION = YES;
GCC_VERSION = ""; GCC_VERSION = "";
GCC_WARN_64_TO_32_BIT_CONVERSION = YES; MACOSX_DEPLOYMENT_TARGET = 10.6;
SDKROOT = macosx; SDKROOT = macosx10.7;
}; };
name = Release; name = Release;
}; };
@ -2831,6 +2839,7 @@
B2B2C41215A9464400D6F61C /* Release */, B2B2C41215A9464400D6F61C /* Release */,
); );
defaultConfigurationIsVisible = 0; defaultConfigurationIsVisible = 0;
defaultConfigurationName = Debug;
}; };
B2FCA79315A66ACF00696598 /* Build configuration list for PBXNativeTarget "PICT Editor" */ = { B2FCA79315A66ACF00696598 /* Build configuration list for PBXNativeTarget "PICT Editor" */ = {
isa = XCConfigurationList; isa = XCConfigurationList;