bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RFA/PATCH GDL2 Postgres95Adaptor/EOObserving


From: David Ayers
Subject: RFA/PATCH GDL2 Postgres95Adaptor/EOObserving
Date: Thu, 16 Jan 2003 14:38:30 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3a) Gecko/20021212

Helli everyone,

this is a patch is in preperation for a GDL2 gnustep/guile extension comming up soon.

It merely contains
- some emtpy implementations around EOObserving-classes to satisfy the symbol tables
- adding a missing import for EOControl.h
- some extra header inclusions needed when building the Postgres95Adaptor

Cheers,
Dave

Index: dev-libs/gdl2/ChangeLog
===================================================================
RCS file: /cvsroot/gnustep/gnustep/dev-libs/gdl2/ChangeLog,v
retrieving revision 1.28
diff -u -r1.28 ChangeLog
--- dev-libs/gdl2/ChangeLog     31 Dec 2002 16:34:24 -0000      1.28
+++ dev-libs/gdl2/ChangeLog     16 Jan 2003 13:28:40 -0000
@@ -1,3 +1,21 @@
+2003-01-16  David Ayers <d.ayers@inode.at>
+       * EOAdaptors/Postgres95/Postgres95Adaptor.m
+       Added import of NSDebug.h/EODebug.h
+       Removed NSLog of connection information
+
+       * EOAdaptors/Postgres95/Postgres95Channel.m
+       * EOAdaptors/Postgres95/Postgres95Context.m
+       * EOAdaptors/Postgres95/Postgres95Expression.m
+       * EOAdaptors/Postgres95/Postgres95Value.m
+       Added import of NSDebug.h/EODebug.h
+
+       * EOControl/EOControl.h
+       Added import of EOUndoManager.h
+
+       * EOControl/EOObserver.m
+       Added empty implementation for
+       EODelayedObserver, EODelayedObserverQueue and EOObserverProxy
+       
 2002-12-31  Mirko Viviani  <mirko.viviani@rccr.cremona.it>
 
        * EOControl/EOFault.m ([EOFault -editingContext]): simplified.
Index: dev-libs/gdl2/EOAdaptors/Postgres95/Postgres95Adaptor.m
===================================================================
RCS file: 
/cvsroot/gnustep/gnustep/dev-libs/gdl2/EOAdaptors/Postgres95/Postgres95Adaptor.m,v
retrieving revision 1.4
diff -u -r1.4 Postgres95Adaptor.m
--- dev-libs/gdl2/EOAdaptors/Postgres95/Postgres95Adaptor.m     31 Dec 2002 
16:24:54 -0000      1.4
+++ dev-libs/gdl2/EOAdaptors/Postgres95/Postgres95Adaptor.m     16 Jan 2003 
13:28:41 -0000
@@ -50,6 +50,7 @@
 #import <Foundation/NSDate.h>
 #import <Foundation/NSAutoreleasePool.h>
 #import <Foundation/NSException.h>
+#import <Foundation/NSDebug.h>
 
 #import <EOAccess/EOAccess.h>
 #import <EOAccess/EOAttribute.h>
@@ -57,6 +58,8 @@
 #import <EOAccess/EOEntity.h>
 #import <EOAccess/EOModel.h>
 
+#import <EOControl/EODebug.h>
+
 #import <Postgres95EOAdaptor/Postgres95Adaptor.h>
 #import <Postgres95EOAdaptor/Postgres95Context.h>
 #import <Postgres95EOAdaptor/Postgres95Channel.h>
@@ -360,7 +363,6 @@
   pg_pwd = (char*)[[_connectionDictionary objectForKey: @"password"]
                     cString]; 
 
-  NSLog(@"%s %s %s %s %s", pg_host, pg_port, pg_database, pg_user, pg_pwd);
   NSDebugMLog(@"%s %s %s %s %s", pg_host, pg_port, pg_database, pg_user, 
pg_pwd);
 
   // Try to connect to the Postgres95 server
Index: dev-libs/gdl2/EOAdaptors/Postgres95/Postgres95Channel.m
===================================================================
RCS file: 
/cvsroot/gnustep/gnustep/dev-libs/gdl2/EOAdaptors/Postgres95/Postgres95Channel.m,v
retrieving revision 1.5
diff -u -r1.5 Postgres95Channel.m
--- dev-libs/gdl2/EOAdaptors/Postgres95/Postgres95Channel.m     31 Dec 2002 
16:24:54 -0000      1.5
+++ dev-libs/gdl2/EOAdaptors/Postgres95/Postgres95Channel.m     16 Jan 2003 
13:28:41 -0000
@@ -47,12 +47,14 @@
 #import <Foundation/NSObjCRuntime.h>
 #import <Foundation/NSUtilities.h>
 #import <Foundation/NSException.h>
+#import <Foundation/NSDebug.h>
 
 #import <EOAccess/EOAccess.h>
 
 #import <EOControl/EONull.h>
 #import <EOControl/EOQualifier.h>
 #import <EOControl/EOFetchSpecification.h>
+#import <EOControl/EODebug.h>
 
 #import <Postgres95EOAdaptor/Postgres95Channel.h>
 #import <Postgres95EOAdaptor/Postgres95Context.h>
Index: dev-libs/gdl2/EOAdaptors/Postgres95/Postgres95Context.m
===================================================================
RCS file: 
/cvsroot/gnustep/gnustep/dev-libs/gdl2/EOAdaptors/Postgres95/Postgres95Context.m,v
retrieving revision 1.2
diff -u -r1.2 Postgres95Context.m
--- dev-libs/gdl2/EOAdaptors/Postgres95/Postgres95Context.m     31 Dec 2002 
16:24:54 -0000      1.2
+++ dev-libs/gdl2/EOAdaptors/Postgres95/Postgres95Context.m     16 Jan 2003 
13:28:41 -0000
@@ -45,8 +45,11 @@
 #import <Foundation/NSArray.h>
 #import <Foundation/NSValue.h>
 #import <Foundation/NSException.h>
+#import <Foundation/NSDebug.h>
 
 #import <EOAccess/EOAccess.h>
+
+#import <EOControl/EODebug.h>
 
 #import <Postgres95EOAdaptor/Postgres95Adaptor.h>
 #import <Postgres95EOAdaptor/Postgres95Context.h>
Index: dev-libs/gdl2/EOAdaptors/Postgres95/Postgres95SQLExpression.m
===================================================================
RCS file: 
/cvsroot/gnustep/gnustep/dev-libs/gdl2/EOAdaptors/Postgres95/Postgres95SQLExpression.m,v
retrieving revision 1.3
diff -u -r1.3 Postgres95SQLExpression.m
--- dev-libs/gdl2/EOAdaptors/Postgres95/Postgres95SQLExpression.m       31 Dec 
2002 16:24:54 -0000      1.3
+++ dev-libs/gdl2/EOAdaptors/Postgres95/Postgres95SQLExpression.m       16 Jan 
2003 13:28:41 -0000
@@ -38,10 +38,11 @@
 
 #import <Foundation/Foundation.h>
 #import <Foundation/NSUtilities.h>
-
-#include <Foundation/NSException.h>
+#import <Foundation/NSException.h>
 
 #import <EOAccess/EOAccess.h>
+
+#import <EOControl/EODebug.h>
 
 #import <Postgres95EOAdaptor/Postgres95SQLExpression.h>
 #import <Postgres95EOAdaptor/Postgres95Values.h>
Index: dev-libs/gdl2/EOAdaptors/Postgres95/Postgres95Values.m
===================================================================
RCS file: 
/cvsroot/gnustep/gnustep/dev-libs/gdl2/EOAdaptors/Postgres95/Postgres95Values.m,v
retrieving revision 1.4
diff -u -r1.4 Postgres95Values.m
--- dev-libs/gdl2/EOAdaptors/Postgres95/Postgres95Values.m      31 Dec 2002 
16:24:54 -0000      1.4
+++ dev-libs/gdl2/EOAdaptors/Postgres95/Postgres95Values.m      16 Jan 2003 
13:28:41 -0000
@@ -41,6 +41,7 @@
 #import <Foundation/NSValue.h>
 #import <Foundation/NSDecimalNumber.h>
 #import <Foundation/NSException.h>
+#import <Foundation/NSDebug.h>
 
 #import <EOAccess/EOAccess.h>
 #import <EOAccess/EOAttribute.h>
Index: dev-libs/gdl2/EOControl/EOControl.h
===================================================================
RCS file: /cvsroot/gnustep/gnustep/dev-libs/gdl2/EOControl/EOControl.h,v
retrieving revision 1.3
diff -u -r1.3 EOControl.h
--- dev-libs/gdl2/EOControl/EOControl.h 30 Dec 2002 22:10:31 -0000      1.3
+++ dev-libs/gdl2/EOControl/EOControl.h 16 Jan 2003 13:28:41 -0000
@@ -38,6 +38,7 @@
 #import <EOControl/EOKeyValueArchiver.h>
 #import <EOControl/EOGlobalID.h>
 #import <EOControl/EOKeyGlobalID.h>
+#import <EOControl/EOUndoManager.h>
 #import <EOControl/EOObjectStore.h>
 #import <EOControl/EOObjectStoreCoordinator.h>
 #import <EOControl/EOFault.h>
Index: dev-libs/gdl2/EOControl/EOObserver.m
===================================================================
RCS file: /cvsroot/gnustep/gnustep/dev-libs/gdl2/EOControl/EOObserver.m,v
retrieving revision 1.4
diff -u -r1.4 EOObserver.m
--- dev-libs/gdl2/EOControl/EOObserver.m        31 Dec 2002 16:25:10 -0000      
1.4
+++ dev-libs/gdl2/EOControl/EOObserver.m        16 Jan 2003 13:28:41 -0000
@@ -224,3 +224,88 @@
 }
 
 @end
+
+@implementation EODelayedObserver
+
+- (void)objectWillChange: (id)subject
+{
+  NSEmitTODO();
+  [self notImplemented: _cmd]; //TODO
+}
+
+- (EOObserverPriority)priority
+{
+  NSEmitTODO();
+  [self notImplemented: _cmd]; //TODO
+  return (EOObserverPriority)nil; 
+}
+
+- (EODelayedObserverQueue *)observerQueue
+{
+  NSEmitTODO();
+  return [self notImplemented: _cmd]; //TODO
+}
+
+- (void)subjectChanged
+{
+  [self subclassResponsibility: _cmd];
+}
+
+- (void)discardPendingNotification
+{
+  NSEmitTODO();
+  [self notImplemented: _cmd]; //TODO
+}
+
+@end
+
+@implementation EODelayedObserverQueue
+
++ (EODelayedObserverQueue *)defaultObserverQueue
+{
+  NSEmitTODO();
+  return [self notImplemented: _cmd]; //TODO
+}
+
+- (void)enqueueObserver: (EODelayedObserver *)observer
+{
+  NSEmitTODO();
+  [self notImplemented: _cmd]; //TODO
+}
+
+- (void)dequeueObserver: (EODelayedObserver *)observer
+{
+  NSEmitTODO();
+  [self notImplemented: _cmd]; //TODO
+}
+
+- (void)notifyObserversUpToPriority: (EOObserverPriority)lastPriority
+{
+  NSEmitTODO();
+  [self notImplemented: _cmd]; //TODO
+}
+
+- (void)setRunLoopModes: (NSArray *)modes
+{
+  NSEmitTODO();
+  [self notImplemented: _cmd]; //TODO
+}
+
+- (NSArray *)runLoopModes
+{
+  NSEmitTODO();
+  return [self notImplemented: _cmd]; //TODO
+}
+
+@end
+
+@implementation EOObserverProxy
+- initWithTarget: (id)target
+         action: (SEL)action
+       priority: (EOObserverPriority)priority
+{
+  NSEmitTODO();
+  return [self notImplemented: _cmd]; //TODO
+}
+
+@end


reply via email to

[Prev in Thread] Current Thread [Next in Thread]