* config/postgres.m4: Updated CPPFLAGS and LIBS to account for

distributions default installations.
	* configure: Regenerated.

	* Tools/EOAttribute+GSDoc.m ([EOAttribute -gsdocContentWithPtr:]):
	Removed superfluous semicolon in method definition.

	* EOAccess/EODatabaseContext.m: Fixed minor typo in comment.

	* EOAccess/EOEntity.m ([EOEntity -description]): Return the
	description of the encoded property list.
	([EOEntity -debugDescription]): Implements original description
	method.
	([EOEntity -classProperties]): Added cast to supress compiler
	warning.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@16142 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
ayers 2003-03-06 22:26:45 +00:00
parent 30318ac37c
commit 04fb550e5f
5 changed files with 38 additions and 7 deletions

View file

@ -1,3 +1,21 @@
2003-03-06 David Ayers <d.ayers@inode.at>
* config/postgres.m4: Updated CPPFLAGS and LIBS to account for
distributions default installations.
* configure: Regenerated.
* Tools/EOAttribute+GSDoc.m ([EOAttribute -gsdocContentWithPtr:]):
Removed superfluous semicolon in method definition.
* EOAccess/EODatabaseContext.m: Fixed minor typo in comment.
* EOAccess/EOEntity.m ([EOEntity -description]): Return the
description of the encoded property list.
([EOEntity -debugDescription]): Implements original description
method.
([EOEntity -classProperties]): Added cast to supress compiler
warning.
2003-02-24 Mirko Viviani <mirko.viviani@rccr.cremona.it>
* EOAccess/EOUtilities.h: added EOObjectStoreCoordinator.

View file

@ -3029,7 +3029,7 @@ but not owned by this context to the coordinator.
EOFLOGObjectFnStop();
}
/** Contructs EOAdaptorOperations for all EODatabaseOperations constructed in
/** Constructs EOAdaptorOperations for all EODatabaseOperations constructed in
during recordChangesInEditingContext and recordUpdateForObject:changes:.
Performs the EOAdaptorOperations on an available adaptor channel.
If the save is OK, updates the snapshots in the EODatabaseContext to reflect

View file

@ -828,7 +828,17 @@ NSString *EONextPrimaryKeyProcedureOperation = @"EONextPrimaryKeyProcedureOperat
return [_name hash];
}
- (NSString*)description
- (NSString *)description
{
NSMutableDictionary *plist;
plist = [NSMutableDictionary dictionaryWithCapacity: 4];
[self encodeIntoPropertyList: plist];
return [plist description];
}
- (NSString *)debugDescription
{
NSString *dscr = nil;
@ -1014,8 +1024,10 @@ NSString *EONextPrimaryKeyProcedureOperation = @"EONextPrimaryKeyProcedureOperat
NSString *classPropertyName = [classPropertiesList
objectAtIndex: i];
#else
NSString *classPropertyName = ([[classPropertiesList objectAtIndex:i] isKindOfClass:[NSString class]] ? [classPropertiesList objectAtIndex:i]:[[classPropertiesList
objectAtIndex: i] name]);
NSString *classPropertyName = (
[[classPropertiesList objectAtIndex:i] isKindOfClass:[NSString class]] ?
[classPropertiesList objectAtIndex:i] :
[(EOEntity *)[classPropertiesList objectAtIndex: i] name]);
#endif
id classProperty = [self attributeNamed: classPropertyName];

View file

@ -55,7 +55,7 @@ static char rcsId[] = "$Id$";
@implementation EOAttribute (GSDoc)
- (NSString *)gsdocContentWithIdPtr: (int *)xmlIdPtr;
- (NSString *)gsdocContentWithIdPtr: (int *)xmlIdPtr
{
return [self gsdocContentWithTagName: @"EOAttribute"
idPtr: xmlIdPtr];

View file

@ -11,8 +11,9 @@ AC_ARG_WITH(pgsql-library,
cppflags_temp="$CPPFLAGS"
libs_temp=$LIBS
CPPFLAGS="$CPPFLAGS -I/usr/local/include -I/usr/local/pgsql/include"
LIBS="$LIBS -L/usr/local/lib -L/usr/local/pgsql/lib"
CPPFLAGS="$CPPFLAGS -I/usr/local/include -I/usr/local/pgsql/include \
-I/usr/include/pgsql"
LIBS="$LIBS -L/usr/local/lib -L/usr/local/pgsql/lib -L/usr/pgsql/lib"
if test "$pgsql_incdir" != "no"; then
CPPFLAGS="$CPPFLAGS -I$pgsql_incdir"