Browse files

Update this to build.

Fix crash at QS startup.


git-svn-id: https://blacktree-elements-public.googlecode.com/svn/trunk@45 57e2f9b5-c12c-0410-8e95-a1ee7272c91a
  • Loading branch information...
1 parent 80a426f commit e00550a0303bb6ee33eb872c6cc6c1d63491acc4 tiennou7 committed Feb 14, 2009
View
2 Services/Info.plist
@@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleVersion</key>
- <string>BA</string>
+ <string>C2</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2004, Blacktree, Inc.</string>
<key>NSPrincipalClass</key>
View
2 Services/NSServiceModifications.plist
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.ScriptEditor2</key>
View
206 Services/QSServiceAction.m
@@ -19,53 +19,45 @@
#define NSKeyEquivalentKey @"NSKeyEquivalent"
#define infoPath @"Contents/Info.plist"
-NSMutableArray *servicesForBundle(NSString *path){
- if (path){
- NSString *dictPath=[path stringByAppendingPathComponent:infoPath];
- NSMutableDictionary *infoDictionary=[NSMutableDictionary dictionaryWithContentsOfFile:dictPath];
+NSMutableArray *servicesForBundle(NSString *path) {
+ if (path) {
+ NSString *dictPath = [path stringByAppendingPathComponent:infoPath];
+ NSMutableDictionary *infoDictionary = [NSMutableDictionary dictionaryWithContentsOfFile:dictPath];
return [infoDictionary objectForKey:NSServicesKey];
}
return nil;
}
-NSArray *providersAtPath(NSString *path){
- //NSLog(path);
- NSFileManager *manager=[NSFileManager defaultManager];
- //NSWorkspace *workspace=[NSWorkspace sharedWorkspace];
-
- path=[path stringByStandardizingPath];
-
- NSMutableArray *providers=[NSMutableArray arrayWithCapacity:1];
+NSArray *providersAtPath(NSString *path) {
+ NSFileManager *manager = [NSFileManager defaultManager];
+ NSMutableArray *providers = [NSMutableArray arrayWithCapacity:1];
NSString *itemPath;
-
- NSArray *subPaths=[manager subpathsAtPath:path];
+ NSArray *subPaths;
int i;
- for (i=0;i<[subPaths count];i++){
- itemPath=[subPaths objectAtIndex:i];
- if ([itemPath hasSuffix:infoPath]){
- itemPath=[path stringByAppendingPathComponent:itemPath];
- if ([[NSMutableDictionary dictionaryWithContentsOfFile:itemPath] objectForKey:NSServicesKey]){
- [providers addObject:[[itemPath stringByDeletingLastPathComponent]stringByDeletingLastPathComponent]];
+ path = [path stringByStandardizingPath];
+ subPaths = [manager subpathsAtPath:path];
+
+ for (i = 0; i < [subPaths count]; i++){
+ itemPath = [subPaths objectAtIndex:i];
+ if ([itemPath hasSuffix:infoPath]) {
+ itemPath = [path stringByAppendingPathComponent:itemPath];
+ if ([[NSMutableDictionary dictionaryWithContentsOfFile:itemPath] objectForKey:NSServicesKey]) {
+ [providers addObject:[[itemPath stringByDeletingLastPathComponent] stringByDeletingLastPathComponent]];
}
}
}
return providers;
-
}
-
-NSArray *applicationProviders(){
- NSMutableArray *providers=[NSMutableArray arrayWithCapacity:1];
+NSArray *applicationProviders() {
+ NSMutableArray *providers = [NSMutableArray arrayWithCapacity:1];
NSString *itemPath;
-
+ NSArray *apps = [[NSWorkspace sharedWorkspace] allApplications];
int i;
-
- NSArray *apps = [[NSWorkspace sharedWorkspace]allApplications];
-
- for (i=0;i<[apps count];i++){
- itemPath=[apps objectAtIndex:i];
- if ([[NSMutableDictionary dictionaryWithContentsOfFile:[itemPath stringByAppendingPathComponent:infoPath]] objectForKey:NSServicesKey]){
+ for (i = 0; i < [apps count]; i++){
+ itemPath = [apps objectAtIndex:i];
+ if ([[NSMutableDictionary dictionaryWithContentsOfFile:[itemPath stringByAppendingPathComponent:infoPath]] objectForKey:NSServicesKey]) {
[providers addObject:itemPath];
}
}
@@ -74,123 +66,119 @@
@implementation QSServiceActions
-+(void)loadPlugIn{
++ (void)loadPlugIn {
[NSThread detachNewThreadSelector:@selector(loadServiceActions) toTarget:self withObject:nil];
}
-+(void)loadServiceActions{
+
++ (void)loadServiceActions {
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
[[QSTaskController sharedInstance] updateTask:@"Load Actions" status:@"Loading Application Services" progress:-1];
- NSArray *serviceActions= [QSServiceActions allServiceActions];
+ NSArray *serviceActions = [QSServiceActions allServiceActions];
int i;
- for (i=0;i<[serviceActions count];i++){
- [QSExec performSelectorOnMainThread:@selector(addActions:) withObject:[[serviceActions objectAtIndex:i]actions] waitUntilDone:YES];
+ for (i = 0; i < [serviceActions count]; i++) {
+ [QSExec performSelectorOnMainThread:@selector(addActions:) withObject:[[serviceActions objectAtIndex:i] actions] waitUntilDone:YES];
}
//NSLog(@"Services Loaded");
[[QSTaskController sharedInstance] removeTask:@"Load Actions"];
[pool release];
}
-+ (NSArray *) allServiceActions{
-
- NSMutableSet *providerSet=[NSMutableSet setWithCapacity:1];
++ (NSArray *)allServiceActions {
+ NSMutableSet *providerSet = [NSMutableSet setWithCapacity:1];
[providerSet addObjectsFromArray:applicationProviders()];
[providerSet addObjectsFromArray:providersAtPath(@"/System/Library/Services/")];
[providerSet addObjectsFromArray:providersAtPath(@"/Library/Services/")];
[providerSet addObjectsFromArray:providersAtPath(@"~/Library/Services/")];
- NSArray *providerArray=[providerSet allObjects];
- NSMutableArray *actionObjects=[NSMutableArray arrayWithCapacity:[providerArray count]];
+ NSArray *providerArray = [providerSet allObjects];
+ NSMutableArray *actionObjects = [NSMutableArray arrayWithCapacity:[providerArray count]];
int i;
- for (i=0;i<[providerArray count];i++)
+ for (i = 0; i < [providerArray count]; i++)
[actionObjects addObject:[[self class] serviceActionsForBundle:[providerArray objectAtIndex:i]]];
return actionObjects;
-
}
-
-+ (QSServiceActions *) serviceActionsForBundle:(NSString *)path{
++ (QSServiceActions *)serviceActionsForBundle:(NSString *)path {
//NSLog(@"Loading Actions for Bundle: %@",path);
- return [[[[self class] alloc]initWithBundlePath:path]autorelease];
+ return [[[[self class] alloc] initWithBundlePath:path] autorelease];
}
-- (id) initWithBundlePath:(NSString *)path{
- if (self=[super init]){
- serviceBundle=[path copy];
- serviceArray=[servicesForBundle(path) retain];
- NSString *bundleIdentifier=[[NSBundle bundleWithPath:path]bundleIdentifier];
- modificationsDictionary=[[[NSDictionary dictionaryWithContentsOfFile:[[NSBundle mainBundle]pathForResource:@"NSServiceModifications" ofType:@"plist"]]objectForKey:bundleIdentifier]retain];
+- (id)initWithBundlePath:(NSString *)path {
+ if (self = [super init]) {
+ serviceBundle = [path copy];
+ serviceArray = [servicesForBundle(path) retain];
+ NSString *bundleIdentifier = [[NSBundle bundleWithPath:path] bundleIdentifier];
+ modificationsDictionary = [[[NSDictionary dictionaryWithContentsOfFile:[[NSBundle mainBundle] pathForResource:@"NSServiceModifications" ofType:@"plist"]] objectForKey:bundleIdentifier] retain];
}
return self;
}
-- (NSArray *) types{return nil;}
+- (NSArray *)types{ return nil; }
+
+- (NSArray *)actions {
+ NSMutableArray *newActions = [NSMutableArray arrayWithCapacity:1];
+ NSImage *icon = [[NSWorkspace sharedWorkspace] iconForFile:serviceBundle];
+ [icon setSize:NSMakeSize(16, 16)];
-- (NSArray *) actions{
- // NSLog(@"load actions");
- NSMutableArray *newActions=[NSMutableArray arrayWithCapacity:1];
- NSImage *icon=[[NSWorkspace sharedWorkspace] iconForFile:serviceBundle];
- [icon setSize:NSMakeSize(16,16)];
int i;
-
- for (i=0;i<[serviceArray count];i++){
- NSDictionary *thisService=[serviceArray objectAtIndex:i];
- NSString *serviceString=[[thisService objectForKey:NSMenuItemKey]objectForKey:DefaultKey];
- // NSLog(@"serviceString %@ %@",serviceString, serviceBundle);
- NSDictionary *serviceModifications=[modificationsDictionary objectForKey:serviceString];
- if ([[serviceModifications objectForKey:@"disabled"]boolValue])continue;
+ for (i = 0; i < [serviceArray count]; i++) {
+ NSDictionary *thisService = [serviceArray objectAtIndex:i];
+ NSString *serviceString = [[thisService objectForKey:NSMenuItemKey] objectForKey:DefaultKey];
+
+ NSDictionary *serviceModifications = [modificationsDictionary objectForKey:serviceString];
+ if ([[serviceModifications objectForKey:@"disabled"] boolValue])
+ continue;
- QSAction *serviceObject=[QSAction actionWithIdentifier:serviceString bundle:[NSBundle bundleForClass:[self class]]];
- NSMutableDictionary *dict=[serviceObject actionDict];
+ QSAction *serviceAction = [[QSAction alloc] init];
+ [serviceAction setIdentifier:serviceString];
if ([serviceModifications objectForKey:@"name"])
- [serviceObject setName:[serviceModifications objectForKey:@"name"]];
+ [serviceAction setName:[serviceModifications objectForKey:@"name"]];
- NSSet *sendTypes=[thisService objectForKey:NSSendTypesKey];
+ NSArray *sendTypes = [thisService objectForKey:NSSendTypesKey];
- if (sendTypes){
- [dict setObject:sendTypes forKey:kActionDirectTypes];
+ if (sendTypes) {
+ [serviceAction setDirectTypes:sendTypes];
}
- [serviceObject setIcon:icon];
- [serviceObject setProvider:self];
- [serviceObject setDisplaysResult:YES];
- [serviceObject setDetails:[NSString stringWithFormat:@"A service of %@",[serviceBundle lastPathComponent]]];
+ [serviceAction setIcon:icon];
+ [serviceAction setProvider:self];
+ [serviceAction setDisplaysResult:YES];
+ [serviceAction setDetails:[NSString stringWithFormat:@"A service of %@",[serviceBundle lastPathComponent]]];
- [newActions addObject:serviceObject];
+ [newActions addObject:serviceAction];
}
- // NSLog(@"Actions (%@)", [newActions componentsJoinedByString:@", "]);
- // [self setActions:newActions];
return newActions;
}
-- (NSArray *)validActionsForDirectObject:(QSObject *)dObject indirectObject:(QSObject *)iObject{
+- (NSArray *)validActionsForDirectObject:(QSObject *)dObject indirectObject:(QSObject *)iObject {
- BOOL fileType=[[dObject primaryType]isEqualToString:NSFilenamesPboardType];
- if (fileType && ![dObject validPaths]) return nil;
- NSMutableArray *newActions=[NSMutableArray arrayWithCapacity:1];
+ BOOL fileType = [[dObject primaryType]isEqualToString:NSFilenamesPboardType];
+ if (fileType && ![dObject validPaths])
+ return nil;
+ NSMutableArray *newActions = [NSMutableArray arrayWithCapacity:1];
NSString *menuItem;
int i;
// NSLog(@"services%@", serviceArray);
- for (i=0;i<[serviceArray count];i++){
- NSDictionary *thisService=[serviceArray objectAtIndex:i];
- menuItem=[[thisService objectForKey:NSMenuItemKey]objectForKey:DefaultKey];
+ for (i = 0; i < [serviceArray count]; i++) {
+ NSDictionary *thisService = [serviceArray objectAtIndex:i];
+ menuItem = [[thisService objectForKey:NSMenuItemKey] objectForKey:DefaultKey];
- BOOL disabled=[[[modificationsDictionary objectForKey:menuItem] objectForKey:@"disabled"]boolValue];
- if (menuItem && !disabled){//!disabled
- //NSLog(menuItem);
- NSSet *sendTypes=[NSSet setWithArray:[thisService objectForKey:NSSendTypesKey]];
- NSSet *availableTypes=[NSSet setWithArray:[dObject types]];
+ BOOL disabled = [[[modificationsDictionary objectForKey:menuItem] objectForKey:@"disabled"] boolValue];
+ if (menuItem && !disabled) {
+ NSSet *sendTypes = [NSSet setWithArray:[thisService objectForKey:NSSendTypesKey]];
+ NSSet *availableTypes = [NSSet setWithArray:[dObject types]];
// Add if they intersect, but ignore ex
if ([sendTypes intersectsSet:availableTypes]){
- if (fileType && ![sendTypes containsObject:NSFilenamesPboardType]) continue;
+ if (fileType && ![sendTypes containsObject:NSFilenamesPboardType])
+ continue;
[newActions addObject:menuItem];
- // NSLog(menuItem);
}
}
}
@@ -199,39 +187,35 @@ - (NSArray *)validActionsForDirectObject:(QSObject *)dObject indirectObject:(QSO
}
-- (QSObject *) performAction:(QSAction *)action directObject:(QSBasicObject *)dObject indirectObject:(QSBasicObject *)iObject{
- NSPasteboard *pboard=[NSPasteboard pasteboardWithUniqueName];
- NSDictionary *thisService=nil;
+- (QSObject *)performAction:(QSAction *)action directObject:(QSBasicObject *)dObject indirectObject:(QSBasicObject *)iObject {
+ NSPasteboard *pboard = [NSPasteboard pasteboardWithUniqueName];
+ NSDictionary *thisService = nil;
//NSLog(@"perform %@ %@ %@",[action actionDict],serviceArray,self);
int i;
- for (i=0;i<[serviceArray count];i++){
- thisService=[serviceArray objectAtIndex:i];
+ for (i = 0; i < [serviceArray count]; i++) {
+ thisService = [serviceArray objectAtIndex:i];
// NSLog(@"'%@' '%@'",[action identifier],[[thisService objectForKey:NSMenuItemKey]objectForKey:DefaultKey]);
- if ([[[thisService objectForKey:NSMenuItemKey]objectForKey:DefaultKey] isEqualToString:[action identifier]]){
- NSArray *sendTypes=[thisService objectForKey:NSSendTypesKey];
+ if ([[[thisService objectForKey:NSMenuItemKey] objectForKey:DefaultKey] isEqualToString:[action identifier]]) {
+ NSArray *sendTypes = [thisService objectForKey:NSSendTypesKey];
[dObject putOnPasteboard:pboard declareTypes:sendTypes includeDataForTypes:sendTypes];
- // NSLog(@"types %@",[pboard types]);
-
break;
}
}
- BOOL success=NSPerformService([action identifier], pboard);
- // BOOL success=[self performSelectorOnMainThread:@selector(performServiceWithNameAndPasteboard:) withObject:[NSArray arrayWithObjects:action,pboard,nil] waitUntilDone:YES];
- if (success){
- QSObject *entry=nil;
+
+ BOOL success = NSPerformService([action identifier], pboard);
+ if (success) {
+ QSObject *entry = nil;
if ([thisService objectForKey:NSReturnTypesKey])
- entry=[[QSObject alloc]initWithPasteboard:pboard types:[thisService objectForKey:NSReturnTypesKey]];
- // [pboard releaseGlobally];
+ entry = [[QSObject alloc] initWithPasteboard:pboard types:[thisService objectForKey:NSReturnTypesKey]];
return entry;
}
- // [pboard releaseGlobally];
- NSLog(@"PerformServiceFailed: %@, %@\r%@\r%@",action, dObject,serviceBundle,[[pboard types]componentsJoinedByString:@", "]);
+ NSLog(@"PerformServiceFailed: %@, %@\r%@\r%@", action, dObject, serviceBundle, [[pboard types] componentsJoinedByString:@", "]);
return nil;
}
-- (BOOL)performServiceWithNameAndPasteboard:(NSArray *)array{
- return NSPerformService([array objectAtIndex:0],[array lastObject]);
+- (BOOL)performServiceWithNameAndPasteboard:(NSArray *)array {
+ return NSPerformService([array objectAtIndex:0], [array lastObject]);
}
@end
View
140 Services/QSServicesMenuPlugIn.xcodeproj/project.pbxproj
@@ -7,35 +7,32 @@
objects = {
/* Begin PBXBuildFile section */
- 7F35FF4007F9ACD90056051D /* QSCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7F35FF3C07F9ACD90056051D /* QSCore.framework */; };
- 7F35FF4207F9ACD90056051D /* QSFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7F35FF3E07F9ACD90056051D /* QSFoundation.framework */; };
+ 4D4D66DC0F4722D600DAAB6B /* NSServiceModifications.plist in Resources */ = {isa = PBXBuildFile; fileRef = 4D4D66DB0F4722D600DAAB6B /* NSServiceModifications.plist */; };
7FE1627608294A8B00667242 /* QSServiceAction.m in Sources */ = {isa = PBXBuildFile; fileRef = 7FE1627508294A8B00667242 /* QSServiceAction.m */; };
- 8D1AC9700486D14A00FE50C9 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DD92D38A0106425D02CA0E72 /* Cocoa.framework */; };
/* End PBXBuildFile section */
/* Begin PBXFileReference section */
32DBCF980370C29C00C91783 /* QSServicesMenuPlugIn_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = QSServicesMenuPlugIn_Prefix.pch; sourceTree = "<group>"; };
- 7F35FF3C07F9ACD90056051D /* QSCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = QSCore.framework; sourceTree = QSFrameworks; };
- 7F35FF3D07F9ACD90056051D /* QSEffects.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = QSEffects.framework; sourceTree = QSFrameworks; };
- 7F35FF3E07F9ACD90056051D /* QSFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = QSFoundation.framework; sourceTree = QSFrameworks; };
- 7F35FF3F07F9ACD90056051D /* QSInterface.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = QSInterface.framework; sourceTree = QSFrameworks; };
+ 4D308B220F45BCA6009433C0 /* Common.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Common.xcconfig; sourceTree = "<group>"; };
+ 4D308B230F45BCA6009433C0 /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Debug.xcconfig; sourceTree = "<group>"; };
+ 4D308B240F45BCA6009433C0 /* Developer.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Developer.xcconfig; sourceTree = "<group>"; };
+ 4D308B250F45BCA6009433C0 /* QSPlugIn.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = QSPlugIn.xcconfig; sourceTree = "<group>"; };
+ 4D308B260F45BCA6009433C0 /* QSPlugIn_Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = QSPlugIn_Debug.xcconfig; sourceTree = "<group>"; };
+ 4D308B270F45BCA6009433C0 /* QSPlugIn_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = QSPlugIn_Prefix.pch; sourceTree = "<group>"; };
+ 4D308B280F45BCA6009433C0 /* QSPlugIn_Release.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = QSPlugIn_Release.xcconfig; sourceTree = "<group>"; };
+ 4D308B290F45BCA6009433C0 /* Release.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Release.xcconfig; sourceTree = "<group>"; };
+ 4D4D66DB0F4722D600DAAB6B /* NSServiceModifications.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = NSServiceModifications.plist; sourceTree = "<group>"; };
7FE1627408294A8B00667242 /* QSServiceAction.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = QSServiceAction.h; sourceTree = "<group>"; };
7FE1627508294A8B00667242 /* QSServiceAction.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = QSServiceAction.m; sourceTree = "<group>"; };
- 7FFA8E9C0816CCCA00A858CD /* QSEffects.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = QSEffects.framework; sourceTree = QSFrameworks; };
- 7FFA8E9D0816CCCA00A858CD /* QSInterface.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = QSInterface.framework; sourceTree = QSFrameworks; };
8D1AC9730486D14A00FE50C9 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist; path = Info.plist; sourceTree = "<group>"; };
8D1AC9740486D14A00FE50C9 /* Services Menu Module.qsplugin */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "Services Menu Module.qsplugin"; sourceTree = BUILT_PRODUCTS_DIR; };
- DD92D38A0106425D02CA0E72 /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = "<absolute>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
8D1AC96E0486D14A00FE50C9 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
- 8D1AC9700486D14A00FE50C9 /* Cocoa.framework in Frameworks */,
- 7F35FF4007F9ACD90056051D /* QSCore.framework in Frameworks */,
- 7F35FF4207F9ACD90056051D /* QSFoundation.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -45,6 +42,7 @@
0259C574FE90428111CA0C5A /* QSServicesMenuPlugIn */ = {
isa = PBXGroup;
children = (
+ 4D308B210F45BCA6009433C0 /* Configuration */,
32DBCF9E0370C38000C91783 /* Classes */,
32DBCF9F0370C38200C91783 /* Other Sources */,
0259C582FE90428111CA0C5A /* Resources */,
@@ -57,6 +55,7 @@
0259C582FE90428111CA0C5A /* Resources */ = {
isa = PBXGroup;
children = (
+ 4D4D66DB0F4722D600DAAB6B /* NSServiceModifications.plist */,
8D1AC9730486D14A00FE50C9 /* Info.plist */,
);
name = Resources;
@@ -73,11 +72,6 @@
2E58F364FFB232C311CA0CBA /* Frameworks */ = {
isa = PBXGroup;
children = (
- DD92D38A0106425D02CA0E72 /* Cocoa.framework */,
- 7F35FF3C07F9ACD90056051D /* QSCore.framework */,
- 7F35FF3E07F9ACD90056051D /* QSFoundation.framework */,
- 7FFA8E9C0816CCCA00A858CD /* QSEffects.framework */,
- 7FFA8E9D0816CCCA00A858CD /* QSInterface.framework */,
7FC20C8107FB741700FDD3CA /* Other Frameworks */,
);
name = Frameworks;
@@ -100,11 +94,25 @@
name = "Other Sources";
sourceTree = "<group>";
};
+ 4D308B210F45BCA6009433C0 /* Configuration */ = {
+ isa = PBXGroup;
+ children = (
+ 4D308B220F45BCA6009433C0 /* Common.xcconfig */,
+ 4D308B230F45BCA6009433C0 /* Debug.xcconfig */,
+ 4D308B240F45BCA6009433C0 /* Developer.xcconfig */,
+ 4D308B250F45BCA6009433C0 /* QSPlugIn.xcconfig */,
+ 4D308B260F45BCA6009433C0 /* QSPlugIn_Debug.xcconfig */,
+ 4D308B270F45BCA6009433C0 /* QSPlugIn_Prefix.pch */,
+ 4D308B280F45BCA6009433C0 /* QSPlugIn_Release.xcconfig */,
+ 4D308B290F45BCA6009433C0 /* Release.xcconfig */,
+ );
+ name = Configuration;
+ path = ../Configuration;
+ sourceTree = SOURCE_ROOT;
+ };
7FC20C8107FB741700FDD3CA /* Other Frameworks */ = {
isa = PBXGroup;
children = (
- 7F35FF3D07F9ACD90056051D /* QSEffects.framework */,
- 7F35FF3F07F9ACD90056051D /* QSInterface.framework */,
);
name = "Other Frameworks";
sourceTree = "<group>";
@@ -153,6 +161,7 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
+ 4D4D66DC0F4722D600DAAB6B /* NSServiceModifications.plist in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -186,123 +195,56 @@
/* End PBXSourcesBuildPhase section */
/* Begin XCBuildConfiguration section */
- 7FFF2500085E488600266176 /* Development */ = {
+ 7FFF2500085E488600266176 /* Debug */ = {
isa = XCBuildConfiguration;
+ baseConfigurationReference = 4D308B260F45BCA6009433C0 /* QSPlugIn_Debug.xcconfig */;
buildSettings = {
- BUILD_DIR = "$(SYMROOT)/PlugIns/";
- COPY_PHASE_STRIP = NO;
- FRAMEWORK_SEARCH_PATHS = (
- /Applications/Quicksilver.app/Contents/Frameworks,
- /Volumes/Lore/Forge/Build,
- );
- GCC_DYNAMIC_NO_PIC = NO;
- GCC_ENABLE_FIX_AND_CONTINUE = YES;
- GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
- GCC_OPTIMIZATION_LEVEL = 0;
- GCC_PRECOMPILE_PREFIX_HEADER = YES;
- GCC_PREFIX_HEADER = QSServicesMenuPlugIn_Prefix.pch;
- INFOPLIST_FILE = Info.plist;
- INSTALL_PATH = "$(HOME)/Developer/Palettes";
- OTHER_LDFLAGS = "-bundle";
PRODUCT_NAME = "Services Menu Module";
- WRAPPER_EXTENSION = qsplugin;
- ZERO_LINK = YES;
};
- name = Development;
+ name = Debug;
};
7FFF2501085E488600266176 /* Release */ = {
isa = XCBuildConfiguration;
+ baseConfigurationReference = 4D308B280F45BCA6009433C0 /* QSPlugIn_Release.xcconfig */;
buildSettings = {
- COPY_PHASE_STRIP = YES;
- FRAMEWORK_SEARCH_PATHS = (
- /Applications/Quicksilver.app/Contents/Frameworks,
- /Volumes/Lore/Forge/Build,
- );
- GCC_ENABLE_FIX_AND_CONTINUE = NO;
- GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
- GCC_PRECOMPILE_PREFIX_HEADER = YES;
- GCC_PREFIX_HEADER = QSServicesMenuPlugIn_Prefix.pch;
- INFOPLIST_FILE = Info.plist;
- OTHER_LDFLAGS = "-bundle";
PRODUCT_NAME = "Services Menu Module";
- WRAPPER_EXTENSION = qsplugin;
- ZERO_LINK = NO;
};
name = Release;
};
- 7FFF2502085E488600266176 /* Default */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- BUILD_DIR = "$(SYMROOT)/PlugIns/";
- FRAMEWORK_SEARCH_PATHS = (
- /Applications/Quicksilver.app/Contents/Frameworks,
- /Volumes/Lore/Forge/Build,
- );
- GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
- GCC_PRECOMPILE_PREFIX_HEADER = YES;
- GCC_PREFIX_HEADER = QSServicesMenuPlugIn_Prefix.pch;
- INFOPLIST_FILE = Info.plist;
- INSTALL_PATH = "$(HOME)/Developer/Palettes";
- OTHER_LDFLAGS = "-bundle";
- PRODUCT_NAME = "Services Menu Module";
- WRAPPER_EXTENSION = qsplugin;
- };
- name = Default;
- };
- 7FFF2504085E488600266176 /* Development */ = {
+ 7FFF2504085E488600266176 /* Debug */ = {
isa = XCBuildConfiguration;
+ baseConfigurationReference = 4D308B230F45BCA6009433C0 /* Debug.xcconfig */;
buildSettings = {
- ARCHS = (
- ppc,
- i386,
- );
- MACOSX_DEPLOYMENT_TARGET = 10.4;
- SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk;
};
- name = Development;
+ name = Debug;
};
7FFF2505085E488600266176 /* Release */ = {
isa = XCBuildConfiguration;
+ baseConfigurationReference = 4D308B290F45BCA6009433C0 /* Release.xcconfig */;
buildSettings = {
- ARCHS = (
- ppc,
- i386,
- );
- MACOSX_DEPLOYMENT_TARGET = 10.4;
- SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk;
};
name = Release;
};
- 7FFF2506085E488600266176 /* Default */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- MACOSX_DEPLOYMENT_TARGET = 10.4;
- SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk;
- };
- name = Default;
- };
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
7FFF24FF085E488600266176 /* Build configuration list for PBXNativeTarget "Services Menu Module" */ = {
isa = XCConfigurationList;
buildConfigurations = (
- 7FFF2500085E488600266176 /* Development */,
+ 7FFF2500085E488600266176 /* Debug */,
7FFF2501085E488600266176 /* Release */,
- 7FFF2502085E488600266176 /* Default */,
);
defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Default;
+ defaultConfigurationName = Debug;
};
7FFF2503085E488600266176 /* Build configuration list for PBXProject "QSServicesMenuPlugIn" */ = {
isa = XCConfigurationList;
buildConfigurations = (
- 7FFF2504085E488600266176 /* Development */,
+ 7FFF2504085E488600266176 /* Debug */,
7FFF2505085E488600266176 /* Release */,
- 7FFF2506085E488600266176 /* Default */,
);
defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Default;
+ defaultConfigurationName = Debug;
};
/* End XCConfigurationList section */
};

0 comments on commit e00550a

Please sign in to comment.