Matt Rice
82d27b5e48
* EOAccess/EOEntity.m (-[isValidPrimaryKeyAttribute:],
...
-[isValidAttributeUsedForLocking:],
-[isValidClassProperty:]): Test object equality as well as name.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26484 72102866-910b-0410-8b05-ffd578937521
2008-05-03 08:14:22 +00:00
David Ayers
0867ca8cf4
* EOAccess/EODatabaseContext.m
...
([-initializeObject:row:entity:editingContext:]): Remove debug logs.
* EOAccess/EOEntity.m ([-_dictionaryForInstanceProperties],
[-primaryKeyForGlobalID:]) Remove debug logs.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26481 72102866-910b-0410-8b05-ffd578937521
2008-05-01 18:08:18 +00:00
Matt Rice
40f55c0218
* EOAccess/EOEntityPriv.h: Declare new private method
...
_hasAttributeNamed:.
* EOAccess/EOEntity.m (-_hasAttributeNamed:): New private method.
(-anyAttributeNamed:): Add a comment.
* EOAccess/EOAttribute.m (-validateName:): Use -_hasAttributeNamed:
instead of -anyAttributeNamed:
* EOAccess/EORelationship.m (-validateName:): Ditto.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26480 72102866-910b-0410-8b05-ffd578937521
2008-05-01 10:42:08 +00:00
Matt Rice
dde79b7073
* EOAccess/EOSQLExpression.m
...
(-[prepareSelectExpressionWithAttributes🔒 fetchSpecification:)]:
Conjoin the fetch specification qualifier with the restricting
qualifier.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26428 72102866-910b-0410-8b05-ffd578937521
2008-04-03 07:05:10 +00:00
Matt Rice
468200f8ae
* EOAccess/EOStoredProcedure.m (initWithPropertyList:owner:),
...
(encodeIntoPropertyList:): Change key from attributes to arguments.
* EOAccess/EOAttribute.m (initWithPropertyList:owner:):
Handle parameter direction being a string containing a number.
Use boolValue instead of comparing against Y.
* EOAccess/Entity.m (encodeIntoPropetyList:): Encode flags as
strings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26415 72102866-910b-0410-8b05-ffd578937521
2008-03-31 16:03:16 +00:00
David Ayers
74d90ef26e
* EOControl/EOQualifier.m ([-dealloc]): Remove empty implementation.
...
([+qualifierWithQualifierFormat:varargList:]): Move implementation to...
(_qualifierWithArgs): ... new static function. Update getKey usage.
([+qualifierWithQualifierFormat:arguments:]): Implement via
_qualifierWithArgs.
(getKey): Add useVAList flag and optional enumerator to use instead.
* EOAccess/EOEntity.m (initWithPropertyList:owner:): Call
[EOQualifier+qualifierWithQualifierFormat:arguments:] to avoid invalid
stack access.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26388 72102866-910b-0410-8b05-ffd578937521
2008-03-29 11:18:58 +00:00
Matt Rice
6c47a5bb17
EOAccess/EOEntity.m (initWithPropertyList:owner:): Pass format along
...
as is.
* EOControl/EOQualifier.m (getKey): Add some exceptions for invalid
qualifier formats, and parse binding variables.
(bindingKeys): Return the binding variable keys, not the qualifier keys
with binding variable values.
(EOQualifierVariable -description): Implement.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26383 72102866-910b-0410-8b05-ffd578937521
2008-03-28 16:04:59 +00:00
Matt Rice
2438352093
2008-03-16 Blake Nicholson <blaken@umich.edu>
...
* EOAdaptors/SQLiteAdaptor/SQLite3Context.m,
* EOAdaptors/SQLiteAdaptor/SQLite3Channel.m,
* EOAdaptors/SQLiteAdaptor/SQLite3Adaptor.m,
* EOControl/EOPrivate.m,
* EOControl/EOAggregateEvent.m,
* EOAccess/EOPrivate.m: Add missing include.
* EOAccess/EOAdaptor.m: Only use NSProprietaryStringEncoding where
available.
* Tools/gsdoc-model.m: Remove unused variables.
* Tools/Makefile.preamble: Fix NATIVE_LIB_DIRS path.
2008-03-16 Matt Rice <ratmice@gmail.com
* EOAccess/EOUtilities.m: Remove NSObjectNotAvailableException.
Moved to base.
* EOAccess/EODatabaseDataSource.m: Remove selector caching.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26323 72102866-910b-0410-8b05-ffd578937521
2008-03-16 22:59:56 +00:00
Matt Rice
0f3cf79e03
* EOInterface/Makefile.preamble,
...
* EOInterface/GNUmakefile,
* EOAccess/Makefile.preamble,
* EOAdaptors/PostgreSQLAdaptor/Makefile.preamble,
* EOControl/Makefile.preamble,
* common.make,
* EOModeler/Makefile.preamble: Add gcov flags.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26286 72102866-910b-0410-8b05-ffd578937521
2008-03-12 14:04:21 +00:00
Matt Rice
2cac738da8
* EOAccess/EOModel.m (-addEntity:): Reword assertion message.
...
(-_setEntity:forEntityName:className:): Add assertion.
* EOAccess/EOAttribute.m (-initWithPropertyList:owner:): Validate the
name.
* EOAccess/EORelationship.m (-initWithPropertyList:owner:): Ditto.
* EOAccess/EOEntity.m (-initWithPropertyList:owner:): Ditto.
(-attributes): Remove checks for duplicate names.
(-relationships): Remove checks for duplicate names.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26275 72102866-910b-0410-8b05-ffd578937521
2008-03-11 19:43:57 +00:00
David Ayers
eb5b964a9b
* DBModeler/GNUmakefile,
...
* DBModeler/Inspectors/GNUmakefile,
* Documentation/GDL2Intro/Examples/GNUmakefile.connection,
* Documentation/GDL2Intro/Examples/GNUmakefile.eoexample,
* Documentation/GDL2Intro/Examples/GNUmakefile.eoexample2,
* EOAccess/GNUmakefile,
* EOAdaptors/PostgreSQLAdaptor/GNUmakefile.in,
* EOAdaptors/PostgreSQLAdaptor/LoginPanel/GNUmakefile,
* EOAdaptors/SQLiteAdaptor/GNUmakefile.in,
* EOAdaptors/SQLiteAdaptor/LoginPanel/GNUmakefile,
* EOControl/GNUmakefile,
* EOInterface/GNUmakefile,
* EOModeler/GNUmakefile,
* GDL2Palette/GNUmakefile,
* Tools/GNUmakefile (XXX_NEEDS_GUI): Use lowercase value.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26264 72102866-910b-0410-8b05-ffd578937521
2008-03-11 08:29:42 +00:00
Matt Rice
379b5306f8
rearrange attribute and relationship name cache invalidation and creation.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26259 72102866-910b-0410-8b05-ffd578937521
2008-03-10 11:53:12 +00:00
Matt Rice
8a39cabb21
* EOAccess/EORelationship.m (_makeInverseRelationship): Call
...
-setEntity: last to avoid unwanted calls to entity -setIsEdited.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26246 72102866-910b-0410-8b05-ffd578937521
2008-03-07 23:25:49 +00:00
David Ayers
ceaab97ecb
* DBModeler/GNUmakefile,
...
* DBModeler/Inspectors/GNUmakefile,
* Documentation/GDL2Intro/Examples/GNUmakefile.connection,
* Documentation/GDL2Intro/Examples/GNUmakefile.eoexample,
* Documentation/GDL2Intro/Examples/GNUmakefile.eoexample2,
* EOAccess/GNUmakefile,
* EOAdaptors/PostgreSQLAdaptor/GNUmakefile.in,
* EOAdaptors/PostgreSQLAdaptor/LoginPanel/GNUmakefile,
* EOAdaptors/SQLiteAdaptor/GNUmakefile.in,
* EOAdaptors/SQLiteAdaptor/LoginPanel/GNUmakefile,
* EOControl/GNUmakefile,
* EOInterface/GNUmakefile,
* EOModeler/GNUmakefile,
* GDL2Palette/GNUmakefile,
* Tools/GNUmakefile (XXX_NEEDS_GUI): Set appropriately.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26233 72102866-910b-0410-8b05-ffd578937521
2008-03-06 21:58:26 +00:00
Matt Rice
e35a70da43
* DBModeler/Modeler.m,
...
* EOAccess/EOEntityPriv.h,
* EOAccess/EOModel.h/m,
* EOAccess/EOEntity.h/m,
* EOAccess/EORelationship.h/m: Remove setCreateMutableObjects: and
createsMutableObjects.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26227 72102866-910b-0410-8b05-ffd578937521
2008-03-06 16:28:22 +00:00
David Ayers
be3346e4ad
* EOAccess/EORelationship.m ([-setEntity:]): Modify remove
...
relatioship from previous entity and add recursion detection.
Add documention.
* EOAccess/EOEntity.m ([-removeRelationship:]): Move call
to [EORelationship-setEntity:] to allow recursion detection.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26222 72102866-910b-0410-8b05-ffd578937521
2008-03-06 09:31:16 +00:00
David Ayers
d675c3dd6e
* EOControl/EODefines.h (GDL2CONTROL_EXPORT/DECLARE),
...
* EOAccess/EODefines.h (GDL2ACCESS_EXPORT/DECLARE),
* EOModeler/EODefines.h (GDL2MODELER_EXPORT/DECLARE): Synchronize
dllimport/export handling for MinGW with -base.
(Attempt to fix bug reported by Tim Kack)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26026 72102866-910b-0410-8b05-ffd578937521
2008-02-06 08:55:42 +00:00
David Ayers
08cd084eaa
* EOControl/EOAndQualifier.m,
...
* EOControl/EOFault.m,
* EOControl/EOFaultHandler.m,
* EOControl/EOKeyComparisonQualifier.m,
* EOControl/EOKeyValueArchiver.m,
* EOControl/EOKeyValueCoding.m,
* EOControl/EOKeyValueCodingBase.m,
* EOControl/EOMutableKnownKeyDictionary.h,
* EOControl/EONotQualifier.m,
* EOControl/EOOrQualifier.m,
* EOControl/EOQualifier.m,
* EOAccess/EOAdaptor.m,
* EOAccess/EOAdaptorContext.m,
* EOAccess/EOAttribute.m,
* EOAccess/EODatabase.m,
* EOAccess/EODatabaseContext.m,
* EOAccess/EOExpressionArray.m,
* EOAccess/EOJoin.m,
* EOAccess/EOModel.m,
* EOAccess/EOModelGroup.m,
* EOAccess/EORelationship.m,
* EOAccess/EOSQLExpression.m,
* EOAccess/EOSQLQualifier.m,
* EOAccess/EOSchemaGeneration.m,
* EOAccess/EOStoredProcedure.m,
* EOAdaptors/PostgreSQLAdaptor/PostgreSQLAdaptor.m,
* EOAdaptors/PostgreSQLAdaptor/PostgreSQLChannel.m,
* EOAdaptors/PostgreSQLAdaptor/PostgreSQLExpression.m,
* EOAdaptors/SQLiteAdaptor/SQLite3Adaptor.m,
* EOAdaptors/SQLiteAdaptor/SQLite3Channel.m,
* EOInterface/EOTableViewAssociation.m,
* EOModeler/EOModelExtensions.m,
* EOModeler/EOModelerApp.m,
* DBModeler/ModelerAttributeEditor.m,
* DBModeler/ModelerEntityEditor.m: Remove references to NSUtilities.h.
Add includes for missing header references.
* DBModeler/Modeler.m (-[showEditor:]): Add cast to avoid compiler
warning.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@25994 72102866-910b-0410-8b05-ffd578937521
2008-01-22 13:57:07 +00:00
David Ayers
a80e4facb5
* Makefile.postamble (after-distclean::): Remove generated
...
GNUmakefile.
* gdl2.make.in (ADDITIONAL_NATIVE_LIBS): Don't force
linking of any GDL2 libraries just to get the version.
[API Change].
* variable-processing.make: Remove file (functionality
is now supplied by -make).
* EOInterface/GNUmakefile, EOAccess/EOModelGroup.m,
EOAccess/GNUmakefile, EOControl/GNUmakefile,
DBModeler/GNUmakefile, Tools/GNUmakefile,
GDL2Palette/GNUmakefile, EOModeler/GNUmakefile,
EOAdaptors/SQLiteAdaptor/LoginPanel/GNUmakefile,
EOAdaptors/PostgreSQLAdaptor/LoginPanel/GNUmakefile:
Remove reference to variable-processing.make.
* EOControl/EOGenericRecord.m
([-_infoForInstanceVariableNamed:stringName:retType:retSize:retOffset:]):
Use marker that matches underlying type signedness.
([-_getValueForKey:selector:type:size:offset:],
[-_setValueForKey:selector:type:size:offset:]):
Match 'offset' with underlying type signedness and update
marker.
([-storedValueForKey:],[-takeStoredValue:forKey:],
[-takeValue:forKey:]): Update signedness of offset to avoid
compiler warnings.
* EOControl/EOClassDescription.m
([NSObject-validateValue:forKey:]): Correct signedness of 'buf'.
* EOControl/EOPrivate.m (GDL2_PrivateInit): Fix assignemnt of
GDL2_EOEditingContext_recordObjectGlobalIDIMP.
* EOAccess/EOModelGroup.m
([EOObjectStoreCoordinator-modelGroup]): Correct method
signature to avoid compiler warnings.
* DBModeler/EntityView.m ([-mouseDown:]): Match class
with return type of initializer method to avoid
compiler warnings and unnecessary cast.
* EOAdaptors/SQLiteAdaptor/SQLite3Channel.m (newNumberValue):
Change type of 'data' to match usage.
([-fetchRowWithZone:]): Cast return type of sqlite3_column_text
to match expected usage to avoid compiler warnings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@25545 72102866-910b-0410-8b05-ffd578937521
2007-10-31 05:32:46 +00:00
David Ayers
9720ac993d
* COPYING.LIB: Update to LGPL 3.
...
* DB2Modeler/COPYING: Update to GPL 3.
* *.*: Update copyright notices.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@25326 72102866-910b-0410-8b05-ffd578937521
2007-07-12 06:39:22 +00:00
David Ayers
9f8aee7c39
* EOAccess/EOSchemaSynchronization.h/m: New files with stub
...
implementations.
* EOAccess/GNUmakefile: Add EOSchemaSynchronization.h/m.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@25318 72102866-910b-0410-8b05-ffd578937521
2007-07-11 18:13:47 +00:00
David Ayers
d0f30340f9
* 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
2007-05-01 12:01:43 +00:00
David Ayers
e24dba68a1
* EOAccess/EODatabaseContext.h (recordChangesInEditingContext):
...
Collect propagations in collections and then execute
recordToManySnapshot:dbOpes:,
nullifyAttributesInRelationship:relationships:
and relayAttributesInRelationship:relationships: at the end.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@24684 72102866-910b-0410-8b05-ffd578937521
2007-02-22 20:40:10 +00:00
Matt Rice
cf7eb3d89a
* EOAccess/EOModel.h: Forward declare NSMutableArray class.
...
* GDL2Palette/README: Document some pitfalls due to lack
of project management app support.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@24419 72102866-910b-0410-8b05-ffd578937521
2007-01-25 22:57:24 +00:00
David Ayers
c4bf6fba06
* EOAccess/EOAccessFault.h/m: Minor cleanups for autogsdoc.
...
* EOAccess/EOAdaptor.m: Ditto.
* EOAccess/EOAdaptorChannel.h/m: Ditto.
* EOAccess/EOAdaptorContext.h: Ditto.
* EOAccess/EODatabase.h/m: Ditto.
* EOAccess/EODatabaseChannel.m: Ditto.
* EOAccess/EODatabaseContext.h/m: Ditto.
* EOAccess/EODatabaseDataSource.h: Ditto.
* EOAccess/EODatabaseOperation.h: Ditto.
* EOAccess/EOEntity.h/m: Ditto.
* EOAccess/EOModel.h/m: Ditto.
* EOAccess/EORelationship.h: Ditto.
* EOAccess/EOSchemaGeneration.h: Ditto.
* EOAccess/EOUtilities.h/m: Ditto.
* EOAccess/EOSQLExpression.h/m: Minor cleanups for autogsdoc.
(EOSchemaGeneration): Move implementation from here to ...
* EOAccess/EOSchemaGeneration.m: ... new file for autogsdoc.
* EOAccess/GNUmakefile: Add EOSchemaGeneration.m.
* EOAccess/EOUtilities.m (EOObjectStoreCoordinator EOModelGroup):
Move implementation from here to ...
* EOAccess/EOModelGroup.m: ... to here for autogsdoc.
* common.make: (GDL2_AGSDOC_FLAGS): Add extern declarations.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@24302 72102866-910b-0410-8b05-ffd578937521
2007-01-01 11:52:38 +00:00
David Ayers
4e1e4eea27
* EOControl/GNUmakefile: Simplify documentation declarations.
...
* EOAccess/GNUmakefile: Ditto.
* EOInterface/GNUmakefile: Ditto.
* Tools/GNUmakefile: Ditto.
* common.make (ADDITIONAL_LIB_DIRS): Move handling from here...
* variable-processing.make: ... to new file.
* EOControl/GNUmakefile: Use variable-processing.make.
Include common.make early.
* EOAccess/GNUmakefile: Ditto.
* EOInterface/GNUmakefile: Ditto.
* Tools/GNUmakefile: Ditto.
* DBModeler/GNUmakefile: Ditto.
* EOModeler/GNUmakefile: Ditto.
* GDL2Palette/GNUmakefile: Ditto.
* EOControl/EOFetchSpecification.h/m: Cleanup for documentation
generation.
* EOControl/EOGenericRecord.m: Ditto.
* EOControl/EOClassDescription.h/m: Ditto.
* EOControl/EONSAddOns.m: Ditto.
* EOControl/EOObjectStore.h: Ditto.
* EOControl/EOEditingContext.h: Ditto.
* EOControl/EODataSource.m: Ditto.
* EOControl/EOKeyValueArchiver.h/m: Ditto.
* EOControl/EOFault.h/m: Ditto.
* EOControl/EOObserver.h: Ditto.
* EOControl/EOEventCenter.m: Ditto.
* EOControl/EOMultiReaderLock.m: Ditto.
* EOControl/EOKeyGlobalID.h/m: Ditto.
* EOControl/EOObserver.m: Ditto.
* EOControl/EOEvent.m: Ditto.
* EOControl/EOObjectStoreCoordinator.h: Ditto.
* EOControl/EODeprecated.h: Ditto.
* EOControl/EOUndoManager.m: Ditto.
* EOControl/EOKeyValueCoding.h/m: Ditto.
* EOControl/EOQualifier.h: Ditto.
* EOControl/EOClassDescription.h/m (editingContext): Remove
duplicate declartion and definition (see EOEditingContext.h/m)
* EOControl/EOFetchSpecification.h (EOPrefetchingRelationshipHintKey)
(EOFetchLimitHintKey, EOPromptsAfterFetchLimitHintKey): Remove
deprecated declarations.
* EOAccess/EOAttribute.m: Cleanup for documentation.
* EOAccess/EOAttribute.m (newValueForBytes:length:encoding:):
Avoid creating intermediate NSData object.
* EOControl/EOControl.gsdoc: Added Documentation.
* EOControl/EOUndoManager.h: Remove content of deprecated header
and add warning.
* common.make (GDL2_AGSDOC_FLAGS): Add global GDL2 documenation
flags.
* config.h.in (RCSID): Avoid reserved names by relying
in static declarations and avoid recursive call.
* EOAdaptors/PostgreSQLAdaptor/PostgreSQLAdaptor.m
(assignExternalInfoForAttribute:) Move implementation to...
(assignExternalTypeForAttribute:) ...here.
* Version: Update variable names.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@24297 72102866-910b-0410-8b05-ffd578937521
2006-12-30 17:41:02 +00:00
Matt Rice
11c2e9260a
* EOAccess/EOEntity.m (-dealloc): Only set parents to nil
...
properties which have been fully loaded.
* EOAdaptors/PostgreSQL/LoginPanel/GNUmakefile: Remove references to
libgnustep-db2control/access
* DBModeler/MainModelEditor.m: Set the windows title.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@24253 72102866-910b-0410-8b05-ffd578937521
2006-12-26 16:41:37 +00:00
Matt Rice
a34631c202
* EOAccess/EOEntity.m: Break retain cycle for parent/sub entities.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23956 72102866-910b-0410-8b05-ffd578937521
2006-10-23 18:00:09 +00:00
Matt Rice
c3bb66bcc3
* EOAccess/EOEntity.m (-dealloc): Add missing calls to release,
...
reorganize.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23955 72102866-910b-0410-8b05-ffd578937521
2006-10-23 17:39:24 +00:00
Matt Rice
9e08693c96
* EOAccess/EOModel.m (-dealloc): Set entities model to nil.
...
* EOAccess/EOEntityPriv.h: Add functions for maintining list of
relationships and their destination entities.
* EOAccess/EOEntity.m: Implement new functions.
(-dealloc:): Set attributes entities, and relationships source
and destinations entities to nil.
(+initialize:): Initialize static map table.
* EOAccess/EORelationship.m: Call functions to maintain
destination entities.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23954 72102866-910b-0410-8b05-ffd578937521
2006-10-23 15:29:27 +00:00
Matt Rice
a1605b6f72
* EOAccess: Revert previous changes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23949 72102866-910b-0410-8b05-ffd578937521
2006-10-23 11:39:48 +00:00
Matt Rice
f9f1fdb6d3
* EOAccess/EOPrivate.h: Add notification constants.
...
* EOAccess/EOAttribute.m: Observe EOEntity's notification.
* EOAccess/EORelationship.m: Observe EOEntity's notification.
* EOAccess/EOModel.m: Post notification when deallocating.
* EOAccess/EOEntity.m: Post notification when deallocating, and
observe EOModels notification.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23946 72102866-910b-0410-8b05-ffd578937521
2006-10-22 20:16:31 +00:00
Matt Rice
da74a77858
* EOAccess/EOAttribute.m: Remove usage of GCObject, and its
...
subclasses.
* EOAccess/EOModelGroup.h: Ditto.
* EOAccess/EOStoredProcedure.m: Ditto.
* EOAccess/EOModelGroup.m: Ditto.
* EOAccess/EOExpressionArray.h: Ditto.
* EOAccess/EORelationship.h: Ditto.
* EOAccess/EOExpressionArray.m: Ditto.
* EOAccess/EOEntity.h: Ditto.
* EOAccess/EOEntity.m: Ditto.
* EOAccess/EOJoin.h: Ditto.
* EOAccess/EOModel.h: Ditto.
* EOAccess/EOAttribute.h: Ditto.
* EOAccess/EOAttributePriv.h: Ditto.
* EOAccess/EOJoin.m: Ditto.
* EOAccess/EORelationship.m: Ditto, and don't retain source and
* EOAccess/EOStoredProcedure.h: Ditto, and don't retain model.
* EOAccess/EOModel.m: Ditto.
(-addStoredProcedure:): Fix error when using non-mutable objects.
(-dealloc): Add missing ivars.
destination entities.
* EOAccess/GNUmakefile: Remove slash on last header file.
* EOControl/EOPrivate.m: Update comment.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23874 72102866-910b-0410-8b05-ffd578937521
2006-10-15 12:23:42 +00:00
David Ayers
e7fa41c41e
* EOAccess/EOAdaptor.m (databaseEncoding): Use NSStringEncoding
...
enum symbols instead of literal values.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23869 72102866-910b-0410-8b05-ffd578937521
2006-10-14 09:05:37 +00:00
David Ayers
7fe1dba6fd
Fix another typo :-/.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23864 72102866-910b-0410-8b05-ffd578937521
2006-10-13 06:15:46 +00:00
David Ayers
10601cb01d
Fix typo.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23863 72102866-910b-0410-8b05-ffd578937521
2006-10-13 04:58:11 +00:00
David Ayers
43502e1698
* EOAccess/EOAdaptor.m (databaseEncoding): Reimplement to not
...
rely on GSEncodingName.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23862 72102866-910b-0410-8b05-ffd578937521
2006-10-13 04:54:09 +00:00
Nicola Pero
cf007a832d
Do not set GNUSTEP_INSTALLATION_DIR
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23830 72102866-910b-0410-8b05-ffd578937521
2006-10-09 23:09:04 +00:00
Matt Rice
fa9b96612d
* EOAccess/EOEntity.m (-awakeWithPropertyList:): Setup the
...
connection to the parent entity.
(-encodeIntoPropertyList:): Encode the parent entity name.
(-init): Initialize the _subEntities ivar.
(-addSubEntity:): Pass correct argument.
* EOAccess/EOModel.m (-encodeTableOfContentsIntoPropertyList:):
encode the parent entity name.
(-_addEntityWithPropertyList): Call -awakeWithPropertyList:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23740 72102866-910b-0410-8b05-ffd578937521
2006-10-03 15:19:33 +00:00
Matt Rice
a7f90ca359
* EOAccess/EOEntityPriv.h: Rename setParentEntity: to
...
_setParentEntity:.
* EOAccess/EOEntity.m (-addSubEntity:): Ditto.
(-removeSubEntity:): Ditto, and check that self is the parent before
setting to nil.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23707 72102866-910b-0410-8b05-ffd578937521
2006-10-02 07:29:29 +00:00
Matt Rice
f9d210a522
* EOAccess/EOEntity.m (-addSubEntity:): Remove the child as a
...
sub-entity of its previous parent.
* DBModeler/Inspectors/AdvancedEntityInspector.[h,m,gorm]:
add ability to set parent entity.
* GDL2Palette/KeyWrapper.h: Add QueryType.
* GDL2Palette/ConnectionInspector.m: add/remove comments.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23696 72102866-910b-0410-8b05-ffd578937521
2006-10-01 17:18:04 +00:00
Matt Rice
e181d5707e
* EOAccess/EODatabase.m (-snapshots): Return an autoreleased copy.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23656 72102866-910b-0410-8b05-ffd578937521
2006-09-28 17:01:29 +00:00
Matt Rice
0412fd6a40
* EOAccess/EOSQLExpression.m
...
(+createTableStatementsForEntityGroup:)
(+dropTableStatementsForEntityGroup:)
(+primaryKeySupportStatementsForEntityGroup:)
(+createTableStatementsForEntityGroup:): Return an empty array for
abstract entities.
* EOAdaptors/PostgreSQLAdaptor/PostgreSQLExpression.m
(+dropTableStatementsForEntityGroup:): Ditto.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23653 72102866-910b-0410-8b05-ffd578937521
2006-09-28 15:25:30 +00:00
Matt Rice
4394a323d0
* EOAccess/EOModel.m (writeToFile:): Use the default permissions
...
on .eomodeld files.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23537 72102866-910b-0410-8b05-ffd578937521
2006-09-16 21:34:10 +00:00
David Ayers
081f2c530d
* EOAccess/EOAttribute.[hm]: Add documentation.
...
(_valueTypeChar): Replace char type with ...
(_valueTypeCharacter): ... unichar type.
([_valueTypeCharacter): Add comment about caching issue.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23531 72102866-910b-0410-8b05-ffd578937521
2006-09-16 03:27:17 +00:00
Matt Rice
726d42c448
* configure: Regenerate.
...
* common.make: New file.
* config.make.in: Remove.
* GNUmakefile: Ditto.
* GNUmakefile.in: New file, merges config.make.in and
GNUmakefile.
* configure.ac: Remove config.make.in, add GNUmakefile.in.
* EOInterface/Makefile.preamble
* EOInterface/GNUmakefile
* EOAccess/Makefile.preamble
* EOAccess/GNUmakefile
* EOControl/GNUmakefile
* EOControl/Makefile.preamble
* DBModeler/GNUmakefile
* Tools/Makefile.preamble
* EOAdaptors/Postgres95/Makefile.preamble
* GDL2Palette/GNUmakefile
* gdl2.make.in
* EOModeler/GNUmakefile
* EOModeler/Makefile.preamble: Change to compile as native
libraries.
* DBModeler/Inspectors/AttributeInspector.gorm/data.info:
* DBModeler/Inspectors/AttributeInspector.gorm/data.classes:
* DBModeler/Inspectors/AttributeInspector.gorm/objects.gorm:
Implement
interface.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23513 72102866-910b-0410-8b05-ffd578937521
2006-09-14 21:11:01 +00:00
David Ayers
7331d77528
* EOAdaptors/Postgres95/GNUmakefile.in:
...
Install into GNUSTEP_SYSTEM_ROOT by default.
* * Update email addresses for Mirko Viviani and David Ayers.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23510 72102866-910b-0410-8b05-ffd578937521
2006-09-14 16:06:21 +00:00
David Ayers
7bd929705b
* EOInterface/EOInterface.gsdoc: New file.
...
* EOInterface/GNUmakefile: Update variables to build documentation.
* EOAccess/EOAccess.gsdoc: Specify title.
* EOControl/EOControl.gsdoc: Ditto.
* GDL2.gsdoc: Use sections allowed by DTD. Remove reference to
MulleEOInterface.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23474 72102866-910b-0410-8b05-ffd578937521
2006-09-12 20:39:43 +00:00
David Ayers
ad43813eb0
* EOAccess/EOSQLExpression.h (deleteStatementWithQualifier:entity:)
...
* EOAccess/EOSQLExpressionPriv.h (_aliasForRelationshipPath:)
(_flattenRelPath:entity:, _aliasForRelatedAttribute:relationshipPath:)
* EOAccess/EOSQLExpression.m (insertStatementForRow:entity:)
(updateStatementForRow:qualifier:entity:)
(deleteStatementWithQualifier:entity:)
(selectStatementForAttributes🔒 fetchSpecification:entity:)
(_aliasForRelationshipPath:)
* EOAccess/EORelationship.h (intermediateEntity)
(_foreignKeyForSourceRow:)
* EOAccess/EORelationship.m (_foreignKeyForSourceRow:, _leftSideKeyMap)
* EOAccess/EODatabaseContext.h (databaseOperationForObject:)
(databaseOperationForGlobalID:, recordDatabaseOperation:)
(_openChannelWithLoginPanel:)
* EOAccess/EODatabaseContextPriv.h (primaryKeyForObject:)
(_currentCommittedSnapshotForObject:)
* EOAccess/EOEntityPriv.h (_keyMapForRelationshipPath:)
(_keyMapForIdenticalKeyRelationshipPath:, _mapAttribute:)
(_relationshipPathIsToMany: valueForSQLExpression:)
(_parsePropertyName:, classPropertyAttributeNames)
(classPropertyToManyRelationshipNames)
(classPropertyToOneRelationshipNames, dbSnapshotKeys)
* EOAccess/EOUtilities.m (rawRowsForEntityNamed:qualifierFormat:)
(rawRowsMatchingValue:forKey:entityNamed:)
(rawRowsMatchingValues:entityNamed:, rawRowsWithSQL:modelNamed:)
(rawRowsWithStoredProcedureNamed:arguments:)
(executeStoredProcedureNamed:arguments:, databaseContextForModelNamed:)
(primaryKeyForObject:)
(destinationKeyForSourceObject:relationshipNamed:)
* EOAccess/EOEntity.m
(_mapAttribute:toDestinationAttributeInLastComponentOfRelationshipPath:)
* EOAccess/EOAdaptor.h (adaptorWithModel:,adaptorWithName:)
* EOAccess/EOModel.h (_classDescriptionNeeded:,_entityForClass:)
(_addEntityWithPropertyList:)
* EOAdaptors/Postgres95/Postgres95Channel.h
(_evaluateExpression:withAttributes:)
* EOControl/EOMutableKnownKeyDictionary.h/m (arrayMappingForKeys:)
(subsetMappingForSourceDictionaryInitializer:sourceKeys:destinationKeys:)
(subsetMappingForSourceDictionaryInitializer:)
(setObject:forKey:, removeObjectForKey:, indexForKey:, objectForKey:)
* EOControl/EOEditingContext.m (handleErrors:,setSharedEditingContext:)
(faultForRawRow:entityNamed:)
* GDL2Palette/KeyWrapper.h (setKey:, _key):
* EOModeler/EOModelerEditor.h (selectionWithinViewedObject)
* EOModeler/EOModelerEditor.m (initWithDocument:)
(initWithParentEditor:)
Correct method signatures. Add necessary forward @class declations.
* EOInterface/EOMasterDetailAssociation.m (establishConnection):
* DBModeler/ModelerTableEmbedibleEditor.m
(addDefaultTableColumnsForTableView:displayGroup:)
* DBModeler/DefaultColumnProvider.m (setupTitleForColumn:named:)
Cast types to avoid compiler warnings.
* EOControl/EOCheapArray.m (dealloc): Supress compiler warning.
* EOAdaptors/Postgres95/LoginPanel/Postgres95LoginPanel.m (dealloc)
* EOModeler/EOModelerEditor.m (dealloc):
* DBModeler/ModelerAttributeEditor.m (dealloc): Add missing call
to super.
* DBModeler/Preferences.m (sharedPreferences): Fix implementation for
new compiler semantics.
* EOControl/EOMultiReaderLock.m (init): Correct NSConditionLock
initialization.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23472 72102866-910b-0410-8b05-ffd578937521
2006-09-12 19:36:24 +00:00
Matt Rice
c19aa897d7
* EOAccess/EOEntity.m (-relationships): Fix whitespace from previous
...
commit.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@22684 72102866-910b-0410-8b05-ffd578937521
2006-03-19 18:39:38 +00:00