David Ayers
da1d2f0df1
* EOInterface/EOAssociation.m ([+objectDeallocated:]):
...
Use makeObjectsPerformSelector: instead of makeObjectsPerform:.
* EOInterface/EORadioMatrixAssociation.m
([NSMatrix-_selectCellWithTitle:]): Do not access instance variables
directly. Use accessor methods instead.
* EOInterface/EOActionAssociation.m,
* EOInterface/EOActionInsertionAssociation.m,
* EOInterface/EOAspectConnector.m,
* EOInterface/EOAssociation.m,
* EOInterface/EOColumnAssociation.m,
* EOInterface/EOComboBoxAssociation.m,
* EOInterface/EODetailSelectionAssociation.m,
* EOInterface/EODisplayGroup.m,
* EOInterface/EOGenericControlAssociation.m,
* EOInterface/EOMasterCopyAssociation.m,
* EOInterface/EOMasterDetailAssociation.m,
* EOInterface/EOMatrixAssociation.m,
* EOInterface/EOPickTextAssociation.m,
* EOInterface/EOPopUpAssociation.m,
* EOInterface/EORadioMatrixAssociation.m,
* EOInterface/EORecursiveBrowserAssociation.m,
* EOInterface/EOTableViewAssociation.m,
* EOInterface/EOTableViewAssociation.m,
* EOInterface/EOTextAssociation.m,
* EOInterface/NSImage+Additions.m:
Add include for <GNUstepBase/GNUstep.h>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26321 72102866-910b-0410-8b05-ffd578937521
2008-03-16 21:43:28 +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
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
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
David Ayers
bf90955152
* EOInterface/EOAssociation.m (-establishConnection): Simplify to
...
allow posing.
(-canBindAspect:displayGroup:key:): Return YES by default.
* EOInterface/EOTextAssociation.m: Minor formatting issue. Include
privat header:
(-subjectChanged): Set empty string when nil/null value is set.
* EODisplayGroup.m (-initWithCoder:): Fetch when auto fetch is enabled.
(-setObjectArray:): Select new selected objects.
(-redisplay): Don't call notifyObserversObjectWillChange: explicitly.
(-setSelectionIndexes:): Implement displayGroup:didChangeSelection:
handling.
(-selectObjectsIdenticalTo:): Reimplement.
(-selectObjectsIdenticalTo:selectFirstOnNoMatch:): Ditto.
(-deleteSelection): Ditto.
(-insertObject:atIndex:): Fix redisplay timing with respect to
delegate.
(-deleteObjectAtIndex:): Implement.
(-association:failedToValidateValue:forKey:object:errorDescription:)
Ditto.
(-editorHasChangesForEditingContext:): Ditto.
(-editingContextWillSaveChanges:): Ditto.
(-setValue:forObjectAtIndex:key:): Validate index range.
(-objectsChangedInEditingContext:): Add workaround until issues
can be investigated.
* EOInterface/EOMasterDetailAssociation.m (subjectChanged): Qualify
datasource's relationship independent of selected object.
* EOInterface/EOTableViewAssociation.m (associationClassesSuperseded):
Implement.
(subjectChanged): Reimplement.
(tableViewSelectionDidChange:): Ditto.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23395 72102866-910b-0410-8b05-ffd578937521
2006-09-05 21:16:56 +00:00
David Ayers
9647f11503
* COPYING.LIB: Update to LGPL 2.1.
...
* configure: Regenerate.
* Update FSF Address and Copyright years.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@21645 72102866-910b-0410-8b05-ffd578937521
2005-08-17 08:07:57 +00:00
Matt Rice
b70ec2777a
* EOInterface/EOAssociation.m: New variable _objectToAssociations.
...
(+objectDeallocated:): New private method.
(+initialize): initialize _objectToAssociations.
(-dealloc): Discard any pending notifications.
(-establishConnection): Retain display groups we're bound to.
Retain our self and register our object for dealloc notification.
(-breakConnection): Release display groups we're bound to. Release
our self and discard any pending notifications.
(-subjectChanged): Add comment
* EOInterface/EOColumnAssociation.m (-establishConnection): Assign our
dg ivar after establishing connection. Use the dg ivar and move 2 if
statements into one.
* EOInterface/EODisplayGroup.m: Remove debugging class/category for
emptyArray and emptyDictionary.
(-indexesForObjectsIndeticalTo:): Fix typo by renaming to
-indexesForObjectsIdenticalTo:.
(-dealloc): Remove our self as an observer for any notifications,
as an editor or message handler for our editing context, our observer
proxies as observers from the observer center. Don't release
array/dictionary ivars that are emptyArray or emptyDictionary.
(-setSelectionIndexes:): Update to reflect change in method name.
(-deleteSelection): Remove unused local var.
(-fetch:): Call -redisplay.
(-updatedObjectIndex:): Return -1 instead of 0 until this is
implemented.
(-setValue:forObject:key:): fix comment in exception handlers.
* EOInterface/EOGenericControlAssociation.m:
(-subjectChanged:): Remove unused local variable.
* EOMasterDetailAssociation.m:
(-establishConnection, -breakConnection, -subjectChanged): Implement.
* EOInterface/EOPopUpAssociation.m: Remove unused local variables.
* EOInterface/EOTableViewAssociation.m:
(-breakConnection:): Remove our NSTableView object from the map table.
(-subjectChanged:): Remove unused local variables. Release temporary
retain on selection indexes.
(+bindToTableView:displayGroup:): Don't retain the table views in the
map table. Release the newly created association.
(-dealloc): Remove self from the tvAssociationMap.
* EOInterface/SubclassFlags.h: Fix bitmask on MatchKey1AspectMask.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@21439 72102866-910b-0410-8b05-ffd578937521
2005-07-09 03:01:22 +00:00
David Ayers
24fefa0924
* EOInterface/EODetailSelectionAssociation.h/m: New files.
...
* EOInterface/EOMasterCopyAssociation.h/m: Ditto.
* EOInterface/EOMasterDetailAssociation.h/m: Ditto.
* EOInterface/EOMasterPeerAssociation.m: Ditto.
* EOInterface/EOMatrixAssociation.h/m: Ditto.
* EOInterface/EOPickTextAssociation.h/m: Ditto.
* EOInterface/EOPopUpAssociation.h/m: Ditto.
* EOInterface/EORadioMatrixAssociation.h/m: Ditto.
* EOInterface/EORecursiveBrowserAssociation.h/m: Ditto.
* EOInterface/EOTextAssociation.h/m: Ditto.
* EOInterface/EODeprecated.h: Ditto.
* EOInterface/EOInterface.h: Added new header files.
* EOInterface/GNUmakefile: Added new files.
* EOInterface/EODisplayGroup.m: Update includes.
(setSortOrdering:, sortOrdering): Add deprecated methods.
* EOInterface/EOAssociation.h: Remove redundant include.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@20239 72102866-910b-0410-8b05-ffd578937521
2004-10-20 21:32:06 +00:00