Commit 654db582 authored by Eric Heintzmann's avatar Eric Heintzmann

Import Upstream version 0.6.0

parent a05c8dc5
.gwdir
*.swp
*~
2010-12-04 Wolfgang Lux <wolfgang.lux@gmail.com>
* Framework/PCProjectBuilder.m (-build:, -logStdOut:, -logErrOut:):
Fix race condition, which could lock PC after running a build
task.
2010-12-04 Wolfgang Lux <wolfgang.lux@gmail.com>
* Framework/PCProjectManager.m (-newProject):
Improve Riccardo's previous patch. Don't ask for a new project
directory with an extension project or pcproj and do not
arbitrarily strip extensions from the project name.
2010-12-04 German Arias <german@xelalug.org>
* Modules/Projects/Application/PCAppProject.m:
Reverted a previous change since the extension "project"
is not used anymore.
2010-12-01 Riccardo Mottola
* Framework/PCProjectManager.m:
Create project in a path with the project name.
* Resources/Info-gnustep.plist,
* English.lproj/Info.gorm
Version bump.
* Framework/PCProjectBuilder.m:
Removed useless INSTDOMAIN variable during build phase.
2010-11-28 Riccardo Mottola
* Framework/PCMakefileFactory.m
* Framework/PCProjectBuilder.m
* Framework/PCProjectInspector.m
* Framework/English.lproj/BuildAttributes.gorm
* Modules/Projects/Application/PCAppProject.m
* Modules/Projects/ResourceSet/PCResourceSetProject.m
* Modules/Projects/Bundle/PCBundleProject.m
* Modules/Projects/Tool/PCToolProject.m
* Headers/ProjectCenter/PCDefines.h
* Headers/ProjectCenter/PCProjectInspector.h:
Set, use and create makefiles using ain installation DOMAIN and not a directory.
2010-11-24 German Arias <german@xelalug.org>
* Headers/ProjectCenter/PCProjectInspector.h:
* Framework/PCProjectInspector.m:
* Framework/English.lproj/ProjectInspector.gorm:
Removed "Project Languages" option on Inspector.
2010-11-23 Riccardo Mottola
* Framework/PCFileManager.m:
Initialize isDir value.
2010-11-22 German Arias <german@xelalug.org>
* Framework/GNUmakefile: Added ProjectLanguages.gorm
* Headers/ProjectCenter/PCProjectInspector.h:
* Framework/PCProjectInspector.m:
Added projectLanguagesView and the method create the
panel.
* Framework/English.lproj/ProjectInspector.gorm:
Added "ProjectLanguages" option.
* Framework/English.lproj/ProjectLanguages.gorm:
New "Project Languages" panel. At the moment this
is empty, I will add the content later.
2010-11-21 German Arias <german@xelalug.org>
* Framework/PCProjectInspector.m: Set "project" and
"projectDir" when the panel is loaded. And take the
languages to the popup from the PCUserLanguages key
instead of NSUserDefaults.
2010-11-21 German Arias <german@xelalug.org>
* Framework/PCProject.m:
* Modules/Projects/Application/PCAppProject.m:
* Modules/Projects/Application/PCAggregateProject.m:
* Modules/Projects/Application/PCLibProject.m:
* Modules/Projects/Application/PCBundleProject.m:
* Modules/Projects/Application/PCFrameworkProject.m:
* Modules/Projects/Application/PCToolProject.m:
* Modules/Projects/Application/PCResourceSetProject.m:
Set the key PCUserLanguages when the project is created not
when is loaded.
2010-11-18 Riccardo Mottola
* Modules/Editors/ProjectCenter/PCEditor.m:
Init could return a different object, take it in account.
* Framework/PCProjectEditor.m:
Remove useless instruction and assignment.
* Framework/PCProject.m:
Fix memory leak.
* Modules/Editors/ProjectCenter/PCEditor.m:
Initialize range to ensure it does not contain garbage.
2010-11-16 German Arias <german@xelalug.org>
* Framework/PCFileManager.m: Allow open .project directories
to add files placed at project directory in AddFiles panel.
2010-11-05 German Arias <german@xelalug.org>
* Modules/Projects/Application/PCAppProject.m:
(-createProjectAt:) Delete the extension on the project
name to avoid file names like MyApp.project.plist
and an ugly name of the app (MyApp.project) at info panel.
2010-08-10 Sergii Stoian <stoyan255@ukr.net>
* Framework/PCProjectBrowser.m:
(-nameOfSelectedCategory): Return 'nil' if name of subproject
selected. Add comments.
(-nameOfSelectedFile): Check if category is selected.
(-click:): check if category is selected.
2010-07-31 Sergii Stoian <stoyan255@ukr.net>
* Framework/PCProject.m:
(-assignProjectDict:): Fix setting projectPath to project
dir (not to *.pcproj dir).
* Framework/PCFilemanager.m:
(-filesOfTypes:operation:multiple:title:accView:): Set allowed
file types to panel of types is not nil.
(-panel:isValidFilename): Use set allowed file types to panel.
2010-07-30 Sergii Stoian <stoyan255@ukr.net>
* Framework/PCProject.m:
(-subprojectWithName:): Pass to openProjectAt: subproject dir.
openProjectat: can now handle this situation.
* Framework/PCProjectManager.m:
(-openProjectAt:): Implement handling of 'aPath' argument as
project file and as project dir. Select *.pcproj if exists then
try to load PC.project.
(-openProject): Implement intelligent selection of project file
when selected *.pcproj, PC.project or project dir.
* Framework/PCFilemanager.m:
(-filesOfTypes:operation:multiple:title:accView:): Remove code
specific for opening projects (moved to PCProjectManager's
openProject).
(-panel:isValidFilename): Fix handling project file detection.
(-filesWithExtension:atPath:includeDirs:): New method. Returns
list of files with specified extension. Also returns dirs if
'includeDirs' set to YES.
2010-07-28 Sergii Stoian <stoyan255@ukr.net>
* Framework/PCProject.m:
(close:): Fix closing of subprojects. Remove subproject from
Projectmanager's list of loaded projects.
* Framework/PCLogController.m:
(-init): Change font size to systemFontSize.
2010-07-24 Sergii Stoian <stoyan255@ukr.net>
* Headers/ProjectCenter/PCProjectBuilder.m:
* Framework/PCProjectBuilder.m:
(cleanupAfterMake:): Added new argument (NSString) to method
containing current status text. Before status text in project window
always stated "...terminated".
2010-07-13 Riccardo Mottola <rmottola@users.sf.net>
* Framework/PCProjectManager.m
Log conversion into PC log and not console. Remove unneded keys.
2010-07-10 Riccardo Mottola
* Modules/Projects/Application/Resources/PC.project
* Modules/Projects/Library/Resources/PC.project
* Modules/Projects/Aggregate/Resources/PC.project
* Modules/Projects/Bundle/Resources/PC.project
* Modules/Projects/Framework/Resources/PC.project
* Modules/Projects/Tool/Resources/PC.project
Remove LAST_EDITING from project template. It is not needed for validation.
2010-07-10 01:20-EDT Gregory John Casamento <greg.casamento@gmail.com>
* Modules/Editors/ProjectCenter/PCEditor.m: in -save implemented
simple mechanism for propagating changes in classes to Gorm when
updating a header file.
2010-07-08 Riccardo Mottola
* Framework/PCProject.m
* Framework/PCProjectManager.m
When opening a subproject pass the bundle name, or it gets concerted.
2010-07-07 14:49-EDT Gregory John Casamento <greg.casamento@gmail.com>
* Modules/Debuggers/ProjectCenter/PCDebuggerView.m:
Fixed issue where if there is no pid it would attempt to stop
the current process.
2010-06-24 Riccardo Mottola
* Headers/Protocols/CodeEditorView.h
Fixed warning.
2010-06-22 Riccardo Mottola
* Modules/Editors/ProjectCenter/PCEditor.h
* Modules/Editors/ProjectCenter/PCEditor.m
* Modules/Editors/ProjectCenter/PCEditor+Document.m
Clean up parenthesis highlighting.
* Modules/Editors/ProjectCenter/PCEditor.h
* Modules/Editors/ProjectCenter/PCEditor.m
Fix highlighting for standalone editors.
* Modules/Editors/ProjectCenter/PCEditor+Document.m
Deleted
* Framework/PCProjectWindow.m
Removed floorf() in favour of nothing or truncation.
2010-06-15 Wolfgang Lux <wolfgang.lux@gmail.com>
* Framework/PCProject.m (-fileTypesForCategoryKey:): Add .dylib to
the list of known library extensions.
2010-06-15 Wolfgang Lux <wolfgang.lux@gmail.com>
* Modules/Projects/Application/PCAppProject.m (-writeMakefile):
* Modules/Projects/Bundle/PCBundleProject.m (-writeMakefile):
* Modules/Projects/Framework/PCFrameworkProject.m (-writeMakefile):
* Modules/Projects/Library/PCLibProject.m (-writeMakefile):
* Modules/Projects/ResourceSet/PCResourceSetProject.m (-writeMakefile)
* Modules/Projects/Tool/PCToolProject.m (-writeMakefile):
Fix bug where PC could include some localized resources in the
RESOURCE_FILES Makefile variable.
2010-06-15 Wolfgang Lux <wolfgang.lux@gmail.com>
* Framework/PCProjectManager.m(-openProjectAt:makeActive:):
Prevent a crash when opening a subproject by not creating a new
project window for the subproject. This window is immediately
released again when the new project's super project is set anyway.
* Framework/PCProjectManager.m(-closeAllProjects): Fix bug where
PC would not quit after opening a subproject due to a bogus
enumerator loop.
2010-06-07 Wolfgang Lux <wolfgang.lux@gmail.com>
* Framework/PCProjectWindow.m (-dealloc):
* Modules/Editors/ProjectCenter/PCEditor.m (-dealloc):
Attempt to prevent crashes when a project is closed by ensuring
that project and editor windows are closed before their owners are
deallocated.
2010-06-04 Riccardo Mottola <rmottola@users.sf.net>
* TextFinder.m:
check before replacing and allow undo (by Wolfgang Lux)
2010-06-03 Riccardo Mottola <rmottola@users.sf.net>
* Headers/Protocols/CodeEditorView.h:
Declare new view protocol
* Modules/Editors/ProjectCenter/PCEditorView.h
* Modules/Editors/ProjectCenter/PCEditorView.m:
Conform to CodeEditorView protocol and add accessor to the editor.
* Framework/PCProjectWindow.m:
Return the view's editor undo manager.
* Modules/Preferences/Misc/PCMiscPrefs.m:
declare strintg constants with @
2010-06-01 Riccardo Mottola <rmottola@users.sf.net>
* Modules\Editors\ProjectCenter\PCEditor.m,
......
......@@ -64,7 +64,7 @@ ProjectCenter 0.6
- implement go to line stoyan
- Implement interaction with Builder (errors, warnings) stoyan
- Implement indentation stoyan
- implement undo inside editor stoyan
- implement undo inside editor [done!]
- Add and use basic editor preferences (fonts, colors, sizes) [50% done]
--- Project Inspector ------------------------------------------
- Make sections as loadable bundles stoyan
......
......@@ -32,9 +32,9 @@
objcOptField,
cOptField,
ldOptField,
installPathField,
searchOrderScroll,
searchOrderColumn
searchOrderColumn,
installDomainPopup
);
Super = NSObject;
};
......
{
"## Comment" = "Do NOT change this file, Gorm maintains it";
PCProjectInspector = {
Actions = (
);
Outlets = (
projectLanguagesView
);
Super = NSObject;
};
}
\ No newline at end of file
......@@ -115,6 +115,7 @@ ProjectCenter_LOCALIZED_RESOURCE_FILES = \
BuildAttributes.gorm \
ProjectAttributes.gorm \
ProjectDescription.gorm \
ProjectLanguages.gorm \
FileAttributes.gorm \
LogPanel.gorm \
SaveModified.gorm
......
/*
GNUstep ProjectCenter - http://www.gnustep.org/experience/ProjectCenter.html
Copyright (C) 2000-2004 Free Software Foundation
Copyright (C) 2000-2010 Free Software Foundation
Authors: Philippe C.D. Robert
Serg Stoyan
......@@ -106,6 +106,7 @@ static PCFileManager *_mgr = nil;
* component any more. Else, you may end up in an infinite loop if
* _path = @"".
*/
isDir = NO;
while (_path != nil
&& ![_path isEqualToString: _oldPath]
&& ![fm fileExistsAtPath:_path isDirectory:&isDir])
......@@ -376,6 +377,7 @@ static PCFileManager *_mgr = nil;
if (addFilesPanel == nil)
{
addFilesPanel = [PCAddFilesPanel addFilesPanel];
[addFilesPanel setTreatsFilePackagesAsDirectories: YES];
}
panel = addFilesPanel;
lastOpenDir = [prefs stringForKey:@"FileAddLastDirectory"];
......@@ -442,30 +444,21 @@ static PCFileManager *_mgr = nil;
{
id panel;
NSMutableArray *fileList = [[NSMutableArray alloc] init];
NSString *file;
NSFileManager *fm = [NSFileManager defaultManager];
BOOL isDir;
int result;
int result = -10;
panel = [self _panelForOperation:op title:title accView:accessoryView];
if (types != nil)
{
[panel setAllowedFileTypes:types];
}
if ((op == PCOpenFileOperation) ||
(op == PCOpenProjectOperation) ||
(op == PCOpenDirectoryOperation))
{
[panel setAllowsMultipleSelection:yn];
if ((result = [panel runModalForTypes:types]) == NSOKButton)
{
[fileList addObjectsFromArray:[panel filenames]];
file = [fileList objectAtIndex:0];
if (op == PCOpenProjectOperation &&
[fm fileExistsAtPath:file isDirectory:&isDir] && isDir)
{
file = [file stringByAppendingPathComponent:@"PC.project"];
[fileList insertObject:file atIndex:0];
}
}
}
else if (op == PCSaveFileOperation)
......@@ -570,17 +563,26 @@ static PCFileManager *_mgr = nil;
{
NSFileManager *fm = [NSFileManager defaultManager];
BOOL isDir;
NSString *file;
NSEnumerator *e = nil;
NSArray *tempList = nil;
NSString *tempExtension = nil;
if (operation == PCOpenProjectOperation)
{
if ([fm fileExistsAtPath:filename isDirectory:&isDir] && isDir)
{
file = [filename stringByAppendingPathComponent:@"PC.project"];
if ([fm fileExistsAtPath:file])
e = [[sender allowedFileTypes] objectEnumerator];
while ((tempExtension = [e nextObject]) != nil)
{
return YES;
tempList = [self filesWithExtension:tempExtension
atPath:filename
includeDirs:YES];
if ([tempList count] > 0)
{
return YES;
}
}
return NO;
}
}
......@@ -590,7 +592,7 @@ static PCFileManager *_mgr = nil;
@end
@implementation PCFileManager (FileType)
@implementation PCFileManager (Misc)
/**
* Returns YES if the file identified by `filename' is a text file,
......@@ -634,4 +636,31 @@ static PCFileManager *_mgr = nil;
return (((double) printable / n) > 0.9);
}
- (NSArray *)filesWithExtension:(NSString *)extension
atPath:(NSString *)dirPath
includeDirs:(BOOL)incDirs
{
NSFileManager *fm = [NSFileManager defaultManager];
NSMutableArray *filesList = [[NSMutableArray alloc] init];
NSEnumerator *e = nil;
NSString *temp = nil;
BOOL isDir;
e = [[fm directoryContentsAtPath:dirPath] objectEnumerator];
while ((temp = [e nextObject]) != nil)
{
if ([fm fileExistsAtPath:temp isDirectory:&isDir] && isDir && !incDirs)
{
continue;
}
if ([[temp pathExtension] isEqual:extension])
{
[filesList addObject:[dirPath stringByAppendingPathComponent:temp]];
}
}
return [filesList autorelease];
}
@end
......@@ -114,7 +114,7 @@ static PCLogController *_logCtrllr = nil;
[panel center];
}
font = [NSFont userFixedPitchFontOfSize:[NSFont smallSystemFontSize]];
font = [NSFont userFixedPitchFontOfSize:[NSFont systemFontSize]];
textAttributes =
[NSMutableDictionary dictionaryWithObject:font forKey:NSFontAttributeName];
[textAttributes retain];
......
/*
GNUstep ProjectCenter - http://www.gnustep.org/experience/ProjectCenter.html
Copyright (C) 2002-2004 Free Software Foundation
Copyright (C) 2002-2010 Free Software Foundation
Authors: Philippe C.D. Robert
Serg Stoyan
......@@ -67,7 +67,7 @@ static PCMakefileFactory *_factory = nil;
NSString *buildDir = [prefs stringForKey:RootBuildDirectory];
NSString *prName = [project projectName];
NSString *buildName = [prName stringByAppendingPathExtension: @"build"];
NSString *instDir = [[project projectDict] objectForKey:PCInstallDir];
NSString *instDomain = [[project projectDict] objectForKey:PCInstallDomain];
NSAssert(prName, @"No project name given!");
......@@ -90,18 +90,18 @@ static PCMakefileFactory *_factory = nil;
[mfile appendString: @" before compiling!)\n"];
[mfile appendString: @"endif\n"];
if ([instDir isEqualToString: @"LOCAL"]
|| [instDir isEqualToString: @"SYSTEM"]
|| [instDir isEqualToString: @"USER"]
|| [instDir isEqualToString: @"NETWORK"])
if ([instDomain isEqualToString: @"LOCAL"]
|| [instDomain isEqualToString: @"SYSTEM"]
|| [instDomain isEqualToString: @"USER"]
|| [instDomain isEqualToString: @"NETWORK"])
{
[mfile appendString:
[NSString stringWithFormat: @"\nGNUSTEP_INSTALLATION_DOMAIN = %@\n",
instDir]];
instDomain]];
}
/* If GNUSTEP_INSTALLATION_DOMAIN was not set explicitly by the
* user, it shoudl not be specified; gnustep-make will use the
* user, it should not be specified; gnustep-make will use the
* default - normally, but not necessarily, LOCAL.
*/
......
/*
GNUstep ProjectCenter - http://www.gnustep.org/experience/ProjectCenter.html
Copyright (C) 2000-2004 Free Software Foundation
Copyright (C) 2000-2010 Free Software Foundation
Authors: Philippe C.D. Robert
Serg Stoyan
......@@ -105,7 +105,9 @@ NSString
encoding: NSASCIIStringEncoding]
propertyList];
[dict addEntriesFromDictionary: udict];
if (udict != nil)
[dict addEntriesFromDictionary: udict];
[udict release];
[self assignProjectDict:dict atPath: aPath];
}
}
......@@ -174,9 +176,11 @@ NSString
// --- Dictionary
- (BOOL)assignProjectDict:(NSDictionary *)pDict atPath:(NSString *)pPath
{
NSString *tempPath = nil;
NSAssert(pDict,@"No valid project dictionary!");
PCLogStatus(self, @"assignProjectDict");
PCLogStatus(self, @"assignProjectDict at %@", pPath);
if (projectDict)
{
......@@ -188,15 +192,18 @@ NSString
if ([[pPath lastPathComponent] isEqualToString:@"PC.project"] ||
[[[pPath lastPathComponent] pathExtension] isEqualToString:@"pcproj"])
{
[self setProjectPath:[pPath stringByDeletingLastPathComponent]];
tempPath = [pPath stringByDeletingLastPathComponent];
if ([[tempPath pathExtension] isEqualToString:@"pcproj"])
{
tempPath = [tempPath stringByDeletingLastPathComponent];
}
[self setProjectPath:tempPath];
}
else
{
[self setProjectPath:pPath];
}
[projectDict setObject:[NSUserDefaults userLanguages] forKey:PCUserLanguages];
[self setProjectName:[projectDict objectForKey:PCProjectName]];
[self writeMakefile];
[self save];
......@@ -224,6 +231,7 @@ NSString
{
if ([aDict objectForKey:key] == nil)
{
PCLogInfo(self, @"invalid dict entry for key %@", key);
return NO;
}
}
......@@ -398,6 +406,7 @@ NSString
{
[projectFileDict setObject:windows forKey:PCWindows];
[projectFileDict writeToFile:projectFile atomically:YES];
[projectFileDict release];
return YES;
}
......@@ -492,6 +501,7 @@ NSString
NSRunAlertPanel(@"Save Project",
@"Couldn't remove the old project backup file",
@"OK",nil,nil);
[dict release];
return NO;
}
......@@ -591,6 +601,7 @@ NSString
if (isSubproject == YES)
{
[projectManager closeProject:self];
return YES;
}
......@@ -986,7 +997,7 @@ NSString
}
else if ([key isEqualToString:PCLibraries])
{
return [NSArray arrayWithObjects:@"so",@"a",@"lib",nil];
return [NSArray arrayWithObjects:@"so",@"a",@"lib",@"dylib",nil];
}
return nil;
......@@ -1517,7 +1528,7 @@ NSString
int i;
PCProject *sp = nil;
NSString *spName = nil;
NSString *spFile = nil;
NSString *spPath = nil;
// Subproject in project but not loaded
if ([[projectDict objectForKey:PCSubprojects] containsObject:name])
......@@ -1539,14 +1550,10 @@ NSString
// Subproject not found in array, load it
if (sp == nil)
{
NSString *pname = [NSString stringWithFormat: @"%@.pcproj",name];
spFile = [projectPath stringByAppendingPathComponent:name];
spFile = [spFile stringByAppendingPathExtension:@"subproj"];
spFile = [spFile stringByAppendingPathComponent: pname];
spFile = [spFile stringByAppendingPathComponent: @"PC.project"];
/* PCLogInfo(self, @"Not found! Load subproject: %@ at path: %@",
name, spFile);*/
sp = [projectManager openProjectAt:spFile makeActive:NO];
spPath = [projectPath stringByAppendingPathComponent:name];
spPath = [spPath stringByAppendingPathExtension:@"subproj"];
sp = [projectManager openProjectAt:spPath makeActive:NO];
if (sp)
{
[sp setIsSubproject:YES];
......
......@@ -107,8 +107,9 @@ NSString *PCBrowserDidSetPathNotification = @"PCBrowserDidSetPathNotification";
// NSLog(@"---> Selected: %@: category: %@", name, category);
if ([[browser selectedCells] count] != 1
|| [name isEqualToString:category])
if ([[browser selectedCells] count] != 1 ||
!category ||
[name isEqualToString:category])
{
return nil;
}
......@@ -142,7 +143,12 @@ NSString *PCBrowserDidSetPathNotification = @"PCBrowserDidSetPathNotification";
return path;
}
// Returns nil of multiple categories selected
// Returns 'nil' if selected:
// - root project (browser path is @"/")
// - multiple categories
// - name of subproject
// Should not call any of the nameOf... or pathTo... methods to prevent
// cyclic recursion.
- (NSString *)nameOfSelectedCategory
{
NSArray *pathArray = [[browser path] componentsSeparatedByString:@"/"];
......@@ -157,12 +163,14 @@ NSString *PCBrowserDidSetPathNotification = @"PCBrowserDidSetPathNotification";
// But: path '/Subproject/Foo' and '/Subprojects/Foo/Subprojects' will
// return the same category 'Subprojects' and active project will be 'Foo'
// in both cases
if ([lastPathElement isEqualToString:[activeProject projectName]])
// ![[self nameOfSelectedFile] isEqualToString:lastPathElement])
/* if ([lastPathElement isEqualToString:[activeProject projectName]])
{
activeProject = [activeProject superProject];
rootCategories = [activeProject rootCategories];
}
}*/
// Multiple categories selected
if (([rootCategories containsObject:lastPathElement]
&& [[browser selectedCells] count] > 1))
{
......@@ -177,6 +185,13 @@ NSString *PCBrowserDidSetPathNotification = @"PCBrowserDidSetPathNotification";
break;
}
}
// Subproject's name selected
if ([name isEqualToString:@"Subprojects"] &&
[lastPathElement isEqualToString:[activeProject projectName]])
{
return nil;
}
return name;
}
......@@ -382,14 +397,17 @@ NSString *PCBrowserDidSetPathNotification = @"PCBrowserDidSetPathNotification";
filePath = [self pathToSelectedFile];
fileName = [self nameOfSelectedFile];
NSLog(@"category: %@ forProject: %@",
category, [activeProject projectName]);
NSLog(@"[click] category: %@ forProject: %@ fileName: %@",
category, [activeProject projectName], fileName);
// ![fileName isEqualToString:[activeProject projectName]] &&
if (filePath &&
[filePath isEqualToString:browserPath] &&
![fileName isEqualToString:[activeProject projectName]])
category &&
![category isEqualToString:@"Libraries"]
)
{
// NSLog(@"[click] category: %@ filePath: %@", category, filePath);
NSLog(@"[click] category: %@ filePath: %@", category, filePath);
[[activeProject projectEditor] openEditorForCategoryPath:browserPath
windowed:NO];
}
......
/*
GNUstep ProjectCenter - http://www.gnustep.org/experience/ProjectCenter.html
Copyright (C) 2000-2004 Free Software Foundation
Copyright (C) 2000-2010 Free Software Foundation
Authors: Philippe C.D. Robert
Serg Stoyan
Riccardo Mottola
This file is part of GNUstep.
......@@ -322,18 +323,8 @@
- (NSArray *)buildArguments
{
NSDictionary *projectDict = [project projectDict];
NSString *instDir = [projectDict objectForKey:PCInstallDir];
NSMutableArray *args = [NSMutableArray new];
if (![instDir isEqualToString:@"LOCAL"] &&
![instDir isEqualToString:@"SYSTEM"] &&
![instDir isEqualToString:@"USER"] &&
![instDir isEqualToString:@"NETWORK"] &&
![instDir isEqualToString:@""] &&
([instDir isAbsolutePath] || [instDir characterAtIndex:0] == '$'))