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:
Riccardo Mottola 2013-09-22 20:26:06 +00:00
parent 3dfb67766c
commit f0f502f8ab
7 changed files with 37 additions and 29 deletions

View file

@ -9,6 +9,14 @@
* Modules/Parsers/ProjectCenter/ObjCMethodHandler.m
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>
* Modules/Parsers/ProjectCenter/PCParser.h

View file

@ -1,7 +1,7 @@
/*
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
Serg Stoyan
@ -441,7 +441,7 @@
- (BOOL)writeMakefile
{
PCMakefileFactory *mf = [PCMakefileFactory sharedFactory];
int i,count;
NSUInteger i,count;
NSString *mfl = nil;
NSData *mfd = nil;
NSString *key = nil;
@ -484,11 +484,11 @@
}
// Remove localized resource files from gathered array
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"];

View file

@ -1,7 +1,7 @@
/*
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
Serg Stoyan
@ -170,7 +170,7 @@
- (BOOL)writeMakefile
{
PCMakefileFactory *mf = [PCMakefileFactory sharedFactory];
int i,count;
NSUInteger i,count;
NSString *mfl = nil;
NSData *mfd = nil;
NSString *key = nil;
@ -210,11 +210,11 @@
}
// Remove localized resource files from gathered array
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"];

View file

@ -1,7 +1,7 @@
/*
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
@ -193,7 +193,7 @@
- (BOOL)writeMakefile
{
PCMakefileFactory *mf = [PCMakefileFactory sharedFactory];
int i,count;
NSUInteger i,count;
NSString *mfl = nil;
NSData *mfd = nil;
NSString *key = nil;
@ -233,11 +233,11 @@
}
// Remove localized resource files from gathered array
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"];

View file

@ -1,7 +1,7 @@
/*
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
Serg Stoyan
@ -201,7 +201,7 @@
- (BOOL)writeMakefile
{
PCMakefileFactory *mf = [PCMakefileFactory sharedFactory];
int i,count;
NSUInteger i,count;
NSString *mfl = nil;
NSData *mfd = nil;
NSString *key = nil;
@ -241,11 +241,11 @@
}
// Remove localized resource files from gathered array
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"];

View file

@ -122,7 +122,7 @@
- (BOOL)writeMakefile
{
PCMakefileFactory *mf = [PCMakefileFactory sharedFactory];
int i,count;
NSUInteger i,count;
NSString *mfl = nil;
NSData *mfd = nil;
NSString *key = nil;
@ -153,11 +153,11 @@
}
// Remove localized resource files from gathered array
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"];

View file

@ -1,7 +1,7 @@
/*
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
Serg Stoyan
@ -265,7 +265,7 @@
- (BOOL)writeMakefile
{
PCMakefileFactory *mf = [PCMakefileFactory sharedFactory];
int i,count;
NSUInteger i,count;
NSString *mfl = nil;
NSData *mfd = nil;
NSString *key = nil;
@ -307,11 +307,11 @@
}
// Remove localized resource files from gathered array
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"];