mirror of
https://github.com/gnustep/apps-projectcenter.git
synced 2025-03-19 17:11:32 +00:00
fix memory related crash, enhancements for relative install paths
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@26954 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c1fb4165f9
commit
0234884099
5 changed files with 39 additions and 9 deletions
11
ChangeLog
11
ChangeLog
|
@ -1,3 +1,14 @@
|
|||
2008-10-22 Riccardo Mottola <rmottola@users.sf.net>
|
||||
|
||||
* English.lproj/Info.grom: correct bugtracker URL
|
||||
|
||||
2008-10-22 Wolfgang Lux <wolfgang.lux@gmail.com>
|
||||
|
||||
* Framework/PCProjectBuilder.m: fix memory related crash
|
||||
* Framework/PCProjectBuilder.m,
|
||||
Modules/Projects/Application/PCAppProject.m,
|
||||
Modules/Projects/Tool/PCToolProject.m: enhancements for relative install paths
|
||||
|
||||
2008-10-18 18:18-EDT Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* ChangeLog: Moved to here top level of project.
|
||||
|
|
|
@ -237,6 +237,7 @@
|
|||
return NO;
|
||||
}
|
||||
|
||||
[makePath retain];
|
||||
return YES;
|
||||
}
|
||||
|
||||
|
@ -302,7 +303,8 @@
|
|||
![instDir isEqualToString:@"SYSTEM"] &&
|
||||
![instDir isEqualToString:@"USER"] &&
|
||||
![instDir isEqualToString:@"NETWORK"] &&
|
||||
![instDir isEqualToString:@""])
|
||||
![instDir isEqualToString:@""] &&
|
||||
([instDir isAbsolutePath] || [instDir characterAtIndex:0] == '$'))
|
||||
{
|
||||
[args addObject:[NSString stringWithFormat:@"DESTDIR=%@", instDir]];
|
||||
}
|
||||
|
@ -475,13 +477,8 @@
|
|||
}
|
||||
|
||||
// Get make tool path
|
||||
makePath = [[NSUserDefaults standardUserDefaults] objectForKey:BuildTool];
|
||||
|
||||
if (!makePath || ![[NSFileManager defaultManager] fileExistsAtPath:makePath])
|
||||
if (![self setMakePath])
|
||||
{
|
||||
NSRunAlertPanel(@"Build terminated",
|
||||
@"Build tool not found.\nFile \"%@\" doesn't exist!",
|
||||
@"OK", nil, nil, makePath);
|
||||
return NO;
|
||||
}
|
||||
|
||||
|
|
|
@ -541,6 +541,17 @@
|
|||
[NSString stringWithFormat:@"%@_STANDARD_INSTALL = no\n",
|
||||
projectName]];
|
||||
}
|
||||
else if (![installDir isEqualToString:@"LOCAL"] &&
|
||||
![installDir isEqualToString:@"SYSTEM"] &&
|
||||
![installDir isEqualToString:@"USER"] &&
|
||||
![installDir isEqualToString:@"NETWORK"] &&
|
||||
![installDir isAbsolutePath] &&
|
||||
[installDir characterAtIndex:0] != '$')
|
||||
{
|
||||
[mff appendString:
|
||||
[NSString stringWithFormat:@"%@_COPY_INTO_DIR = %@\n",
|
||||
projectName, installDir]];
|
||||
}
|
||||
else
|
||||
{
|
||||
/* IMPORTANT FIXME/TODO: We should be using GNUSTEP_INSTALLATION_DOMAIN,
|
||||
|
|
|
@ -365,6 +365,17 @@
|
|||
[NSString stringWithFormat:@"%@_STANDARD_INSTALL = no\n",
|
||||
projectName]];
|
||||
}
|
||||
else if (![installDir isEqualToString:@"LOCAL"] &&
|
||||
![installDir isEqualToString:@"SYSTEM"] &&
|
||||
![installDir isEqualToString:@"USER"] &&
|
||||
![installDir isEqualToString:@"NETWORK"] &&
|
||||
![installDir isAbsolutePath] &&
|
||||
[installDir characterAtIndex:0] != '$')
|
||||
{
|
||||
[mff appendString:
|
||||
[NSString stringWithFormat:@"%@_COPY_INTO_DIR = %@\n",
|
||||
projectName, installDir]];
|
||||
}
|
||||
else
|
||||
{
|
||||
/* IMPORTANT FIXME/TODO: We should be using GNUSTEP_INSTALLATION_DOMAIN,
|
||||
|
|
|
@ -62,6 +62,6 @@
|
|||
}
|
||||
);
|
||||
URL = "See http://www.gnustep.org/";
|
||||
Copyright = "Copyright (C) 1999 - 2005 Free Software Foundation";
|
||||
CopyrightDescription = "Released under the GNU General Public License 2.0";
|
||||
Copyright = "Copyright (C) 1999 - 2008 Free Software Foundation";
|
||||
CopyrightDescription = "Released under the GNU General Public License 3.0 or later";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue