mirror of
https://github.com/gnustep/apps-projectcenter.git
synced 2025-02-20 18:32:17 +00:00
Transition to NSUInteger.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@37137 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
3dfb67766c
commit
f0f502f8ab
7 changed files with 37 additions and 29 deletions
|
@ -9,6 +9,14 @@
|
||||||
* Modules/Parsers/ProjectCenter/ObjCMethodHandler.m
|
* Modules/Parsers/ProjectCenter/ObjCMethodHandler.m
|
||||||
NSUInteger / NSInteger transitions for count/length variables.
|
NSUInteger / NSInteger transitions for count/length variables.
|
||||||
|
|
||||||
|
* Modules/Projects/Application/PCAppProject.m
|
||||||
|
* Modules/Projects/Bundle/PCBundleProject.m
|
||||||
|
* Modules/Projects/Framework/PCFrameworkProject.m
|
||||||
|
* Modules/Projects/Library/PCLibProject.m
|
||||||
|
* Modules/Projects/ResourceSet/PCResourceSetProject.m
|
||||||
|
* Modules/Projects/Tool/PCToolProject.m
|
||||||
|
Transition to NSUInteger.
|
||||||
|
|
||||||
2013-09-21 Riccardo Mottola <rm@gnu.org>
|
2013-09-21 Riccardo Mottola <rm@gnu.org>
|
||||||
|
|
||||||
* Modules/Parsers/ProjectCenter/PCParser.h
|
* Modules/Parsers/ProjectCenter/PCParser.h
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/*
|
/*
|
||||||
GNUstep ProjectCenter - http://www.gnustep.org/experience/ProjectCenter.html
|
GNUstep ProjectCenter - http://www.gnustep.org/experience/ProjectCenter.html
|
||||||
|
|
||||||
Copyright (C) 2001-2010 Free Software Foundation
|
Copyright (C) 2001-2012 Free Software Foundation
|
||||||
|
|
||||||
Authors: Philippe C.D. Robert
|
Authors: Philippe C.D. Robert
|
||||||
Serg Stoyan
|
Serg Stoyan
|
||||||
|
@ -441,7 +441,7 @@
|
||||||
- (BOOL)writeMakefile
|
- (BOOL)writeMakefile
|
||||||
{
|
{
|
||||||
PCMakefileFactory *mf = [PCMakefileFactory sharedFactory];
|
PCMakefileFactory *mf = [PCMakefileFactory sharedFactory];
|
||||||
int i,count;
|
NSUInteger i,count;
|
||||||
NSString *mfl = nil;
|
NSString *mfl = nil;
|
||||||
NSData *mfd = nil;
|
NSData *mfd = nil;
|
||||||
NSString *key = nil;
|
NSString *key = nil;
|
||||||
|
@ -484,11 +484,11 @@
|
||||||
}
|
}
|
||||||
// Remove localized resource files from gathered array
|
// Remove localized resource files from gathered array
|
||||||
localizedResources = [projectDict objectForKey:PCLocalizedResources];
|
localizedResources = [projectDict objectForKey:PCLocalizedResources];
|
||||||
for (i = [resources count] - 1; i >= 0; i--)
|
for (i = [resources count]; i > 0; i--)
|
||||||
{
|
{
|
||||||
if ([localizedResources containsObject:[resources objectAtIndex:i]])
|
if ([localizedResources containsObject:[resources objectAtIndex:i-1]])
|
||||||
{
|
{
|
||||||
[resources removeObjectAtIndex:i];
|
[resources removeObjectAtIndex:i-1];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
[mf appendResources:resources inDir:@"Resources"];
|
[mf appendResources:resources inDir:@"Resources"];
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/*
|
/*
|
||||||
GNUstep ProjectCenter - http://www.gnustep.org/experience/ProjectCenter.html
|
GNUstep ProjectCenter - http://www.gnustep.org/experience/ProjectCenter.html
|
||||||
|
|
||||||
Copyright (C) 2001-2010 Free Software Foundation
|
Copyright (C) 2001-2013 Free Software Foundation
|
||||||
|
|
||||||
Authors: Philippe C.D. Robert
|
Authors: Philippe C.D. Robert
|
||||||
Serg Stoyan
|
Serg Stoyan
|
||||||
|
@ -170,7 +170,7 @@
|
||||||
- (BOOL)writeMakefile
|
- (BOOL)writeMakefile
|
||||||
{
|
{
|
||||||
PCMakefileFactory *mf = [PCMakefileFactory sharedFactory];
|
PCMakefileFactory *mf = [PCMakefileFactory sharedFactory];
|
||||||
int i,count;
|
NSUInteger i,count;
|
||||||
NSString *mfl = nil;
|
NSString *mfl = nil;
|
||||||
NSData *mfd = nil;
|
NSData *mfd = nil;
|
||||||
NSString *key = nil;
|
NSString *key = nil;
|
||||||
|
@ -210,11 +210,11 @@
|
||||||
}
|
}
|
||||||
// Remove localized resource files from gathered array
|
// Remove localized resource files from gathered array
|
||||||
localizedResources = [projectDict objectForKey:PCLocalizedResources];
|
localizedResources = [projectDict objectForKey:PCLocalizedResources];
|
||||||
for (i = [resources count] - 1; i >= 0; i--)
|
for (i = [resources count]; i > 0; i--)
|
||||||
{
|
{
|
||||||
if ([localizedResources containsObject:[resources objectAtIndex:i]])
|
if ([localizedResources containsObject:[resources objectAtIndex:i-1]])
|
||||||
{
|
{
|
||||||
[resources removeObjectAtIndex:i];
|
[resources removeObjectAtIndex:i-1];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
[mf appendResources:resources inDir:@"Resources"];
|
[mf appendResources:resources inDir:@"Resources"];
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/*
|
/*
|
||||||
GNUstep ProjectCenter - http://www.gnustep.org/experience/ProjectCenter.html
|
GNUstep ProjectCenter - http://www.gnustep.org/experience/ProjectCenter.html
|
||||||
|
|
||||||
Copyright (C) 2005 Free Software Foundation
|
Copyright (C) 2005-2013 Free Software Foundation
|
||||||
|
|
||||||
Authors: Serg Stoyan
|
Authors: Serg Stoyan
|
||||||
|
|
||||||
|
@ -193,7 +193,7 @@
|
||||||
- (BOOL)writeMakefile
|
- (BOOL)writeMakefile
|
||||||
{
|
{
|
||||||
PCMakefileFactory *mf = [PCMakefileFactory sharedFactory];
|
PCMakefileFactory *mf = [PCMakefileFactory sharedFactory];
|
||||||
int i,count;
|
NSUInteger i,count;
|
||||||
NSString *mfl = nil;
|
NSString *mfl = nil;
|
||||||
NSData *mfd = nil;
|
NSData *mfd = nil;
|
||||||
NSString *key = nil;
|
NSString *key = nil;
|
||||||
|
@ -233,11 +233,11 @@
|
||||||
}
|
}
|
||||||
// Remove localized resource files from gathered array
|
// Remove localized resource files from gathered array
|
||||||
localizedResources = [projectDict objectForKey:PCLocalizedResources];
|
localizedResources = [projectDict objectForKey:PCLocalizedResources];
|
||||||
for (i = [resources count] - 1; i >= 0; i--)
|
for (i = [resources count]; i > 0; i--)
|
||||||
{
|
{
|
||||||
if ([localizedResources containsObject:[resources objectAtIndex:i]])
|
if ([localizedResources containsObject:[resources objectAtIndex:i-1]])
|
||||||
{
|
{
|
||||||
[resources removeObjectAtIndex:i];
|
[resources removeObjectAtIndex:i-1];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
[mf appendResources:resources inDir:@"Resources"];
|
[mf appendResources:resources inDir:@"Resources"];
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/*
|
/*
|
||||||
GNUstep ProjectCenter - http://www.gnustep.org/experience/ProjectCenter.html
|
GNUstep ProjectCenter - http://www.gnustep.org/experience/ProjectCenter.html
|
||||||
|
|
||||||
Copyright (C) 2001-2004 Free Software Foundation
|
Copyright (C) 2001-2013 Free Software Foundation
|
||||||
|
|
||||||
Authors: Philippe C.D. Robert
|
Authors: Philippe C.D. Robert
|
||||||
Serg Stoyan
|
Serg Stoyan
|
||||||
|
@ -201,7 +201,7 @@
|
||||||
- (BOOL)writeMakefile
|
- (BOOL)writeMakefile
|
||||||
{
|
{
|
||||||
PCMakefileFactory *mf = [PCMakefileFactory sharedFactory];
|
PCMakefileFactory *mf = [PCMakefileFactory sharedFactory];
|
||||||
int i,count;
|
NSUInteger i,count;
|
||||||
NSString *mfl = nil;
|
NSString *mfl = nil;
|
||||||
NSData *mfd = nil;
|
NSData *mfd = nil;
|
||||||
NSString *key = nil;
|
NSString *key = nil;
|
||||||
|
@ -241,11 +241,11 @@
|
||||||
}
|
}
|
||||||
// Remove localized resource files from gathered array
|
// Remove localized resource files from gathered array
|
||||||
localizedResources = [projectDict objectForKey:PCLocalizedResources];
|
localizedResources = [projectDict objectForKey:PCLocalizedResources];
|
||||||
for (i = [resources count] - 1; i >= 0; i--)
|
for (i = [resources count]; i > 0; i--)
|
||||||
{
|
{
|
||||||
if ([localizedResources containsObject:[resources objectAtIndex:i]])
|
if ([localizedResources containsObject:[resources objectAtIndex:i-1]])
|
||||||
{
|
{
|
||||||
[resources removeObjectAtIndex:i];
|
[resources removeObjectAtIndex:i-1];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
[mf appendResources:resources inDir:@"Resources"];
|
[mf appendResources:resources inDir:@"Resources"];
|
||||||
|
|
|
@ -122,7 +122,7 @@
|
||||||
- (BOOL)writeMakefile
|
- (BOOL)writeMakefile
|
||||||
{
|
{
|
||||||
PCMakefileFactory *mf = [PCMakefileFactory sharedFactory];
|
PCMakefileFactory *mf = [PCMakefileFactory sharedFactory];
|
||||||
int i,count;
|
NSUInteger i,count;
|
||||||
NSString *mfl = nil;
|
NSString *mfl = nil;
|
||||||
NSData *mfd = nil;
|
NSData *mfd = nil;
|
||||||
NSString *key = nil;
|
NSString *key = nil;
|
||||||
|
@ -153,11 +153,11 @@
|
||||||
}
|
}
|
||||||
// Remove localized resource files from gathered array
|
// Remove localized resource files from gathered array
|
||||||
localizedResources = [projectDict objectForKey:PCLocalizedResources];
|
localizedResources = [projectDict objectForKey:PCLocalizedResources];
|
||||||
for (i = [resources count] - 1; i >= 0; i--)
|
for (i = [resources count]; i > 0; i--)
|
||||||
{
|
{
|
||||||
if ([localizedResources containsObject:[resources objectAtIndex:i]])
|
if ([localizedResources containsObject:[resources objectAtIndex:i-1]])
|
||||||
{
|
{
|
||||||
[resources removeObjectAtIndex:i];
|
[resources removeObjectAtIndex:i-1];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
[mf appendResources:resources inDir:@"Resources"];
|
[mf appendResources:resources inDir:@"Resources"];
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/*
|
/*
|
||||||
GNUstep ProjectCenter - http://www.gnustep.org/experience/ProjectCenter.html
|
GNUstep ProjectCenter - http://www.gnustep.org/experience/ProjectCenter.html
|
||||||
|
|
||||||
Copyright (C) 2001-2010 Free Software Foundation
|
Copyright (C) 2001-2013 Free Software Foundation
|
||||||
|
|
||||||
Authors: Philippe C.D. Robert
|
Authors: Philippe C.D. Robert
|
||||||
Serg Stoyan
|
Serg Stoyan
|
||||||
|
@ -265,7 +265,7 @@
|
||||||
- (BOOL)writeMakefile
|
- (BOOL)writeMakefile
|
||||||
{
|
{
|
||||||
PCMakefileFactory *mf = [PCMakefileFactory sharedFactory];
|
PCMakefileFactory *mf = [PCMakefileFactory sharedFactory];
|
||||||
int i,count;
|
NSUInteger i,count;
|
||||||
NSString *mfl = nil;
|
NSString *mfl = nil;
|
||||||
NSData *mfd = nil;
|
NSData *mfd = nil;
|
||||||
NSString *key = nil;
|
NSString *key = nil;
|
||||||
|
@ -307,11 +307,11 @@
|
||||||
}
|
}
|
||||||
// Remove localized resource files from gathered array
|
// Remove localized resource files from gathered array
|
||||||
localizedResources = [projectDict objectForKey:PCLocalizedResources];
|
localizedResources = [projectDict objectForKey:PCLocalizedResources];
|
||||||
for (i = [resources count] - 1; i >= 0; i--)
|
for (i = [resources count]; i > 0; i--)
|
||||||
{
|
{
|
||||||
if ([localizedResources containsObject:[resources objectAtIndex:i]])
|
if ([localizedResources containsObject:[resources objectAtIndex:i-1]])
|
||||||
{
|
{
|
||||||
[resources removeObjectAtIndex:i];
|
[resources removeObjectAtIndex:i-1];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
[mf appendResources:resources inDir:@"Resources"];
|
[mf appendResources:resources inDir:@"Resources"];
|
||||||
|
|
Loading…
Reference in a new issue