From d0f30340f9fc4a36943fb8e94c2484a0733ac11a Mon Sep 17 00:00:00 2001 From: David Ayers Date: Tue, 1 May 2007 12:01:43 +0000 Subject: [PATCH] * EOAccess/EORelationship.m, * EOAccess/EOAttribute.h, * Tools/EOEntity+GSDoc.m, * Tools/EOAttribute+GSDoc.m: Remove references to GC-classes in comments. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@25102 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 11 ++++++++++- EOAccess/EOAttribute.h | 3 --- EOAccess/EORelationship.m | 10 +++++----- Tools/EOAttribute+GSDoc.m | 2 +- Tools/EOEntity+GSDoc.m | 6 +++--- 5 files changed, 19 insertions(+), 13 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6d2d127..d6eee9c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2007-05-01 David Ayers + + * EOAccess/EORelationship.m, + * EOAccess/EOAttribute.h, + * Tools/EOEntity+GSDoc.m, + * Tools/EOAttribute+GSDoc.m: Remove references to GC-classes + in comments. + 2007-04-16 David Ayers * EOAdaptors/PostgreSQLAdaptor/PostgreSQLChannel.m @@ -465,6 +473,7 @@ 2006-09-27 Matt Rice + * EOInterface/EODisplayGroup.m (-selectNext): Implement. (-selectPrevious): Ditto. (-enabledToSetSelectedObjectValueForKey:): Handle query mode. @@ -620,7 +629,7 @@ * EOAdaptors/Postgres95/GNUmakefile.in: Install into GNUSTEP_SYSTEM_ROOT by default. - * * Update email addresses for Mirko Viviani and David Ayers. + * Update email addresses for Mirko Viviani and David Ayers. 2006-09-14 David Ayers diff --git a/EOAccess/EOAttribute.h b/EOAccess/EOAttribute.h index 9446790..d379c33 100644 --- a/EOAccess/EOAttribute.h +++ b/EOAccess/EOAttribute.h @@ -106,9 +106,6 @@ typedef enum { NSDictionary *_internalInfo; NSString *_docComment; - /* Garbage collectable objects */ -// EOEntity *_entity; -// GCMutableArray *_definitionArray; // These variables are meaningful only id _parent; /* unretained */ EOAttribute *_prototype; EOExpressionArray *_definitionArray; diff --git a/EOAccess/EORelationship.m b/EOAccess/EORelationship.m index 6f84ae4..c813a1a 100644 --- a/EOAccess/EORelationship.m +++ b/EOAccess/EORelationship.m @@ -100,7 +100,7 @@ RCS_ID("$Id$") _destinationNames = [NSMutableDictionary new]; _userInfo = [NSDictionary new]; _sourceToDestinationKeyMap = [NSDictionary new]; - _joins = [GCMutableArray new]; + _joins = [NSMutableArray new]; */ } @@ -1550,9 +1550,9 @@ relationships. Nil if none" **/ { [(NSMutableArray *)_joins removeObject: join]; - /*NO: will be recomputed [(GCMutableArray *)_sourceAttributes + /*NO: will be recomputed [(NSMutableArray *)_sourceAttributes removeObject:[join sourceAttribute]]; - [(GCMutableArray *)_destinationAttributes + [(NSMutableArray *)_destinationAttributes removeObject:[join destinationAttribute]]; */ @@ -1573,13 +1573,13 @@ relationships. Nil if none" **/ /*NO: will be recomputed _sourceAttributes = [[_sourceAttributes autorelease] mutableCopy]; - [(GCMutableArray *)_sourceAttributes + [(NSMutableArray *)_sourceAttributes removeObject:[join sourceAttribute]]; _sourceAttributes = [[_sourceAttributes autorelease] copy]; _destinationAttributes = [[_destinationAttributes autorelease] mutableCopy]; - [(GCMutableArray *)_destinationAttributes + [(NSMutableArray *)_destinationAttributes removeObject:[join destinationAttribute]]; _destinationAttributes = [[_destinationAttributes autorelease] copy]; */ diff --git a/Tools/EOAttribute+GSDoc.m b/Tools/EOAttribute+GSDoc.m index 70b3713..2ff1840 100644 --- a/Tools/EOAttribute+GSDoc.m +++ b/Tools/EOAttribute+GSDoc.m @@ -60,7 +60,7 @@ RCS_ID("$Id$") NSString* insertFormat; NSString* selectFormat; NSString* updateFormat; - GCMutableArray* definitionArray; // These variables are meaningful only + NSMutableArray* definitionArray; // These variables are meaningful only EOAttribute* realAttribute; // if the attribute is flattened */ diff --git a/Tools/EOEntity+GSDoc.m b/Tools/EOEntity+GSDoc.m index d9ef3e8..4e8f534 100644 --- a/Tools/EOEntity+GSDoc.m +++ b/Tools/EOEntity+GSDoc.m @@ -57,9 +57,9 @@ RCS_ID("$Id$") NSString* externalQuery; NSArray* attributesNamesUsedForInsert; EOQualifier* qualifier; - GCArray* attributesUsedForInsert; // cache from classProperties - GCArray* attributesUsedForFetch; // cache from classProperties - GCArray* relationsUsedForFetch; // cache from classProperties + NSArray* attributesUsedForInsert; // cache from classProperties + NSArray* attributesUsedForFetch; // cache from classProperties + NSArray* relationsUsedForFetch; // cache from classProperties */ @implementation EOEntity (GSDoc)