Commit graph

  • d249638f2c * EOAccess/EODatabaseContext.m ([-dealloc], [-rollbackChanges]) ([-_cleanUpAfterSave]): Guard against missing hash table. ([-registerLockedObjectWithGlobalID:]): Reformat. ayers 2005-08-17 21:11:40 +0000
  • 41b2d38380 * EOAccess/EODatabaseContext.m ([-dealloc], [-rollbackChanges]) ([-_cleanUpAfterSave]): Guard against missing hash table. ([-registerLockedObjectWithGlobalID:]): Reformat. David Ayers 2005-08-17 21:11:40 +0000
  • 2a76327df6 * EOControl/EOEditingContext.m ([-_processRecentChanges]): Invert logic for propagating deletes. ([-saveChanges]): Propagate deletes if they were not propagated yet. * EOControl/EOPrivate.h (EOHashAddTable): New compatibility function. ayers 2005-08-17 18:57:13 +0000
  • 38b0f58afd * EOControl/EOEditingContext.m ([-_processRecentChanges]): Invert logic for propagating deletes. ([-saveChanges]): Propagate deletes if they were not propagated yet. * EOControl/EOPrivate.h (EOHashAddTable): New compatibility function. David Ayers 2005-08-17 18:57:13 +0000
  • 6c7bbf590a * COPYING.LIB: Update to LGPL 2.1. * configure: Regenerate. * Update FSF Address and Copyright years. ayers 2005-08-17 08:07:57 +0000
  • 9647f11503 * COPYING.LIB: Update to LGPL 2.1. * configure: Regenerate. * Update FSF Address and Copyright years. David Ayers 2005-08-17 08:07:57 +0000
  • e6d526b03c * DBModeler/Modeler.m (_newDocumentWithModel:): Don't release the model. (-new:): Release the model here. (-newFromDatabase:): Ditto, and add error handling. (-open:): Ditto. (-application:openFile:): New method. * EOModeler/EOModelerDocument.m (-saveAs:): Add error handling, and remove check for an existing name. ratmice 2005-07-10 19:45:21 +0000
  • b24ec5f814 * DBModeler/Modeler.m (_newDocumentWithModel:): Don't release the model. (-new:): Release the model here. (-newFromDatabase:): Ditto, and add error handling. (-open:): Ditto. (-application:openFile:): New method. * EOModeler/EOModelerDocument.m (-saveAs:): Add error handling, and remove check for an existing name. Matt Rice 2005-07-10 19:45:21 +0000
  • e96b810ebf * DBModeler/GNUmakefile: Add Info-gnustep.plist to project. ratmice 2005-07-10 19:33:44 +0000
  • fa5c582457 * DBModeler/GNUmakefile: Add Info-gnustep.plist to project. Matt Rice 2005-07-10 19:33:44 +0000
  • 37095aac87 * DBModeler/Resources/Info-gnustep.plist: New file. * DBModeler/Modeler.m (-applicationWillFinishLaunching:): Rearrange menu layout. ratmice 2005-07-10 19:24:35 +0000
  • 1761a012a1 * DBModeler/Resources/Info-gnustep.plist: New file. * DBModeler/Modeler.m (-applicationWillFinishLaunching:): Rearrange menu layout. Matt Rice 2005-07-10 19:24:35 +0000
  • 93868a772f * DBModeler/ConsistencyChecker.m: New variable doc. (+endConsistencyCheck:): Use the notification object. Use unsigned for array iterators. (pass): Use the new doc variable. (+attributeDetailsCheck:): Use unsigned for array iterators. (+inheritanceCheckForModel:, +relationshipCheckForModel:): Ditto. (+primaryKeyCheckForModel:, +externalNameCheckForModel): Ditto. (+modelConsistencyCheck:): Assign doc to the notification object. ratmice 2005-07-09 18:24:57 +0000
  • 225ff5a981 * DBModeler/ConsistencyChecker.m: New variable doc. (+endConsistencyCheck:): Use the notification object. Use unsigned for array iterators. (pass): Use the new doc variable. (+attributeDetailsCheck:): Use unsigned for array iterators. (+inheritanceCheckForModel:, +relationshipCheckForModel:): Ditto. (+primaryKeyCheckForModel:, +externalNameCheckForModel): Ditto. (+modelConsistencyCheck:): Assign doc to the notification object. Matt Rice 2005-07-09 18:24:57 +0000
  • 297467103c * EOModeler/EOMInspectorController.m (-init): Don't release the window on close. (_selectionChanged:): Fix view swapping. Set view as needing display. ratmice 2005-07-09 17:44:40 +0000
  • 93221c9bc9 * EOModeler/EOMInspectorController.m (-init): Don't release the window on close. (_selectionChanged:): Fix view swapping. Set view as needing display. Matt Rice 2005-07-09 17:44:40 +0000
  • 45813a2efd * 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 ratmice 2005-07-09 03:01:22 +0000
  • 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 Matt Rice 2005-07-09 03:01:22 +0000
  • e0c9a227ef * DBModeler/AdaptorsPanel.m (-init): Add parenthesis around assignment. Replace label with window title. (-runAdaptorsPanel:): Remove unused variable. ratmice 2005-07-09 02:07:42 +0000
  • 91868e3d12 * DBModeler/AdaptorsPanel.m (-init): Add parenthesis around assignment. Replace label with window title. (-runAdaptorsPanel:): Remove unused variable. Matt Rice 2005-07-09 02:07:42 +0000
  • daa27d7a3f * EOAccess/EOAdaptorContext.h/m (-channels:): New method. * EOAccess/EOSQLExpression.m (-_administrativeDatabaseStatementsForSelector:forEntityGroup:): Comment out login panel. * EOAccess/EOUtilities.m: Dont declare EOMoreThanOneException and NSObjectNotAvailableException as static. * EOControl/EOPrivate.h: Declare new class GDL2NonRetainingMutableArray and -registerAssociationForDeallocHack method. * EOControl/EOPrivate.m: New class GDL2NonRetainingMutableArray. * EOControl/EOEditingContext.m: (EOEditingContext -initWithParentObjectStore:): initialize _editors ivar with a non retaining array. (-dealloc): Remove the editing context as an observer for registered objects. (-[NSObject(DeallocHack) dealloc]): for associations, remove the association and object from the private hash table. (-[NSObject(DeallocHack) registerAssociationForDeallocHack]): New method. * EOControl/EOObserver.m (EOObserverCenter): Replace GSIArray usage with GDL2NonRetainingMutableArray. (+addObserver:forObject:, +removeObserver:forObject:): Ditto. (+initialize, +notifyObserversObjectWillChange:): Ditto. (+observersForObject:, +observerForObject:): Ditto. (+addOmniscientObserver:, +removeOmniscientObserver:): Ditto. (EOObserverProxy -initWithTarget:action:priority:): Don't retain target. (EOObserverProxy -dealloc:): Discard pending notifications. ratmice 2005-07-04 06:17:18 +0000
  • 22a14f5447 * EOAccess/EOAdaptorContext.h/m (-channels:): New method. * EOAccess/EOSQLExpression.m (-_administrativeDatabaseStatementsForSelector:forEntityGroup:): Comment out login panel. * EOAccess/EOUtilities.m: Dont declare EOMoreThanOneException and NSObjectNotAvailableException as static. * EOControl/EOPrivate.h: Declare new class GDL2NonRetainingMutableArray and -registerAssociationForDeallocHack method. * EOControl/EOPrivate.m: New class GDL2NonRetainingMutableArray. * EOControl/EOEditingContext.m: (EOEditingContext -initWithParentObjectStore:): initialize _editors ivar with a non retaining array. (-dealloc): Remove the editing context as an observer for registered objects. (-[NSObject(DeallocHack) dealloc]): for associations, remove the association and object from the private hash table. (-[NSObject(DeallocHack) registerAssociationForDeallocHack]): New method. * EOControl/EOObserver.m (EOObserverCenter): Replace GSIArray usage with GDL2NonRetainingMutableArray. (+addObserver:forObject:, +removeObserver:forObject:): Ditto. (+initialize, +notifyObserversObjectWillChange:): Ditto. (+observersForObject:, +observerForObject:): Ditto. (+addOmniscientObserver:, +removeOmniscientObserver:): Ditto. (EOObserverProxy -initWithTarget:action:priority:): Don't retain target. (EOObserverProxy -dealloc:): Discard pending notifications. Matt Rice 2005-07-04 06:17:18 +0000
  • 7777787656 * EOControl/EODetailDataSource.m (masterClassDescription): Only resort to EOClassDescription if _masterClassDescriptionName is set. Otherwise ask the _masterDataSource for its classDescriptionForObjects. ayers 2005-06-26 13:54:23 +0000
  • 73955163ff * EOControl/EODetailDataSource.m (masterClassDescription): Only resort to EOClassDescription if _masterClassDescriptionName is set. Otherwise ask the _masterDataSource for its classDescriptionForObjects. David Ayers 2005-06-26 13:54:23 +0000
  • cd233218bc * dev-apps/test/Testsuite/gdl2/GDL2Testing.h: Include ObjectTesting.h instead of stuff.h. * dev-apps/test/Testsuite/gdl2/EOModel/test05.m: New test for -removeEntity:. ratmice 2005-06-17 14:46:37 +0000
  • 4ba78b33b4 * dev-apps/test/Testsuite/gdl2/GDL2Testing.h: Include ObjectTesting.h instead of stuff.h. * dev-apps/test/Testsuite/gdl2/EOModel/test05.m: New test for -removeEntity:. Matt Rice 2005-06-17 14:46:37 +0000
  • 9019663bb3 * EOControl/EOObserver.m (EOObserverCenter): Don't retain observers. Use a GSIArray instaed of NSMutableArray. (+addObserver:forObject:, +removeObserver:forObject:): Ditto. (+initialize, +notifyObserversObjectWillChange:): Ditto. (+observersForObject:, addOmniscientObserver:): Ditto. (+removeOmniscientObserver:): Ditto. ratmice 2005-05-18 16:11:59 +0000
  • 44d8935e49 * EOControl/EOObserver.m (EOObserverCenter): Don't retain observers. Use a GSIArray instaed of NSMutableArray. (+addObserver:forObject:, +removeObserver:forObject:): Ditto. (+initialize, +notifyObserversObjectWillChange:): Ditto. (+observersForObject:, addOmniscientObserver:): Ditto. (+removeOmniscientObserver:): Ditto. Matt Rice 2005-05-18 16:11:59 +0000
  • 25872d5572 * GNUmakefile: remove GDL2Palette from top level compilation. * GDL2Palette/GNUmakefile: Fix compilation flags, include gdl2.make relative not the installed version. * DBModeler/GNUmakefile: Ditto. ratmice 2005-05-17 23:33:04 +0000
  • dc8101ef3f * GNUmakefile: remove GDL2Palette from top level compilation. * GDL2Palette/GNUmakefile: Fix compilation flags, include gdl2.make relative not the installed version. * DBModeler/GNUmakefile: Ditto. Matt Rice 2005-05-17 23:33:04 +0000
  • 5a57079590 New files. ratmice 2005-05-13 00:25:27 +0000
  • 34bed39fc9 New files. Matt Rice 2005-05-13 00:25:27 +0000
  • bb88087458 * GNUmakefile: Compile EOInterface, EOModeler, DBModeler, GDL2Palette if gui is installed. * EOModeler/EOModelExtensions.h: Update copyright header. * EOModeler/EOModelExtensions.m: Ditto. * EOModeler/GNUmakefile: Make EOModeler a native-library, add new files. * EOModeler/Makefile.preamble: Change link flag to use FND_LIBS. * EOModeler/EODefines.h: New file, initial implementation. * EOModeler/EOMInspector.h/m: Ditto. * EOModeler/EOMInspectorController.h/m: Ditto. * EOModeler/EOModelerApp.h/m: Ditto. * EOModeler/EOModelerDocument.h/m: Ditto. * EOModeler/EOModelerEditor.h/m: Ditto. * DBModeler: New directory. * DBModeler/COPYING: New file... * DBModeler/AdaptorsPanel.h/m: New files. * DBModeler/DefaultColumnProvider.h/m: Ditto. * DBModeler/EOAdditions.h/m: Ditto. * DBModeler/KVDataSource.h/m: Ditto. * DBModeler/MainModelEdtior.h/m: Ditto. * DBModeler/Modeler.m: Ditto. * DBModeler/ModelerAttributeEditor.h/m: Ditto. * DBModeler/ModelerTableEmbedibleEditor.h/m: Ditto. * DBModeler/main.m: Ditto. * DBModeler/GNUmakefile: Ditto. * DBModeler/Resources: New directory. * DBModeler/Resources/ModelDrag.tiff: New file. * DBModeler/Resources/ClassProperty_On.tiff: Ditto. * DBModeler/Resources/Key_On.tiff: Ditto. * DBModeler/Inspectors: New directory. * DBModeler/Inspectors/RelationshipInspector.h/m: New files. * DBModeler/Inspectors/AttributeInspector.h/m: Ditto. * DBModeler/Inspectors/RelationshipInspector.gorm: New gorm directory. * DBModeler/Inspectors/AttributeInspector.gorm: Ditto. * GDL2Palette: New directory. * GDL2Palette/GNUmakefile: New file. * GDL2Palette/ConnectionInspector.h/m: Ditto. * GDL2Palette/Foundation+Categories.h/m: Ditto. * GDL2Palette/IB+Categories.m: Ditto. * GDL2Palette/Palette.h/m: Ditto. * GDL2Palette/ResourceManager.h/m: Ditto. * GDL2Palette/GDL2ConnectionInspector.gorm: Ditto. * GDL2Palette/GDL2Palette.tiff: Ditto * GDL2Palette/palette.table ratmice 2005-05-13 00:00:56 +0000
  • 94ffb94a6c * GNUmakefile: Compile EOInterface, EOModeler, DBModeler, GDL2Palette if gui is installed. * EOModeler/EOModelExtensions.h: Update copyright header. * EOModeler/EOModelExtensions.m: Ditto. * EOModeler/GNUmakefile: Make EOModeler a native-library, add new files. * EOModeler/Makefile.preamble: Change link flag to use FND_LIBS. * EOModeler/EODefines.h: New file, initial implementation. * EOModeler/EOMInspector.h/m: Ditto. * EOModeler/EOMInspectorController.h/m: Ditto. * EOModeler/EOModelerApp.h/m: Ditto. * EOModeler/EOModelerDocument.h/m: Ditto. * EOModeler/EOModelerEditor.h/m: Ditto. * DBModeler: New directory. * DBModeler/COPYING: New file... * DBModeler/AdaptorsPanel.h/m: New files. * DBModeler/DefaultColumnProvider.h/m: Ditto. * DBModeler/EOAdditions.h/m: Ditto. * DBModeler/KVDataSource.h/m: Ditto. * DBModeler/MainModelEdtior.h/m: Ditto. * DBModeler/Modeler.m: Ditto. * DBModeler/ModelerAttributeEditor.h/m: Ditto. * DBModeler/ModelerTableEmbedibleEditor.h/m: Ditto. * DBModeler/main.m: Ditto. * DBModeler/GNUmakefile: Ditto. * DBModeler/Resources: New directory. * DBModeler/Resources/ModelDrag.tiff: New file. * DBModeler/Resources/ClassProperty_On.tiff: Ditto. * DBModeler/Resources/Key_On.tiff: Ditto. * DBModeler/Inspectors: New directory. * DBModeler/Inspectors/RelationshipInspector.h/m: New files. * DBModeler/Inspectors/AttributeInspector.h/m: Ditto. * DBModeler/Inspectors/RelationshipInspector.gorm: New gorm directory. * DBModeler/Inspectors/AttributeInspector.gorm: Ditto. * GDL2Palette: New directory. * GDL2Palette/GNUmakefile: New file. * GDL2Palette/ConnectionInspector.h/m: Ditto. * GDL2Palette/Foundation+Categories.h/m: Ditto. * GDL2Palette/IB+Categories.m: Ditto. * GDL2Palette/Palette.h/m: Ditto. * GDL2Palette/ResourceManager.h/m: Ditto. * GDL2Palette/GDL2ConnectionInspector.gorm: Ditto. * GDL2Palette/GDL2Palette.tiff: Ditto * GDL2Palette/palette.table Matt Rice 2005-05-13 00:00:56 +0000
  • 08f7773909 2005-05-12 Matt Rice <ratmice@yahoo.com> ratmice 2005-05-12 19:55:41 +0000
  • e205cd1324 2005-05-12 Matt Rice <ratmice@yahoo.com> Matt Rice 2005-05-12 19:55:41 +0000
  • 98e474aac8 * EOAccess/Makefile.preamble: Change link flag to use FND_LIBS variable defined in base.make * EOControl/Makefile.preamble: Ditto. * EOAccess/EODatabaseDataSource.m (-entity): Look for entity with the fetch specifications entity name in a model group. (-databaseContext): Return a registered database context. * EOAdaptors/Postgres95/LoginPanel/Postgres95LoginPanel.m: Cast before calling -initWithIdentifier to remove warning with gcc 3.4 * EOControl/EOEditingContext.m (-encodeWithCoder:,-initWithCoder:): initial implementation of methods. * EOControl/EOClassDescription.m (-snapshot): cast 'value' to get thwart warnings. * EOControl/EOFault.m (-superClass): Implement as returning a class. * Tools/gsdoc-model.m: Include headers alphabetically, include NSCalendarDate.h to thwart warning. ratmice 2005-05-12 19:13:34 +0000
  • 56ba650c5c * EOAccess/Makefile.preamble: Change link flag to use FND_LIBS variable defined in base.make * EOControl/Makefile.preamble: Ditto. * EOAccess/EODatabaseDataSource.m (-entity): Look for entity with the fetch specifications entity name in a model group. (-databaseContext): Return a registered database context. * EOAdaptors/Postgres95/LoginPanel/Postgres95LoginPanel.m: Cast before calling -initWithIdentifier to remove warning with gcc 3.4 * EOControl/EOEditingContext.m (-encodeWithCoder:,-initWithCoder:): initial implementation of methods. * EOControl/EOClassDescription.m (-snapshot): cast 'value' to get thwart warnings. * EOControl/EOFault.m (-superClass): Implement as returning a class. * Tools/gsdoc-model.m: Include headers alphabetically, include NSCalendarDate.h to thwart warning. Matt Rice 2005-05-12 19:13:34 +0000
  • be6e30c735 * EOControl/EOEditingContext.m (_mutableSetFromToManyArray:): Add internal documentation. Filter managed objects instead of attempting to convert gids to objects. Reported by Manuel Guesdon. ayers 2005-05-03 10:22:48 +0000
  • c4f61efc7b * EOControl/EOEditingContext.m (_mutableSetFromToManyArray:): Add internal documentation. Filter managed objects instead of attempting to convert gids to objects. Reported by Manuel Guesdon. David Ayers 2005-05-03 10:22:48 +0000
  • 212c9ca65d Fixes in EOControl/EOEditingContext.m mguesdon 2005-05-03 09:42:53 +0000
  • dd40d225ec Fixes in EOControl/EOEditingContext.m Manuel Guesdon 2005-05-03 09:42:53 +0000
  • 4945f44fa4 fixed test error in EOAttribute -newValueForBytes:length: mguesdon 2005-04-24 14:18:59 +0000
  • 2e0f2da446 fixed test error in EOAttribute -newValueForBytes:length: Manuel Guesdon 2005-04-24 14:18:59 +0000
  • 128b390fc2 Fixes inEOAttribute.m and EOKeyValueARchiver.m mguesdon 2005-04-24 11:28:15 +0000
  • 9c4a91f7ce Fixes inEOAttribute.m and EOKeyValueARchiver.m Manuel Guesdon 2005-04-24 11:28:15 +0000
  • 3ae3341ce5 * EOAdaptors/Postgres95/Postgres95Adaptor.m: Removed externalTypeNames and internalTypeNames variables, replaced both with typeNames. (isValidQualifierType:model:): Use new variable. (externalToInternalTypeMap:): Ditto. ratmice 2005-04-24 10:24:24 +0000
  • 8bab203b96 * EOAdaptors/Postgres95/Postgres95Adaptor.m: Removed externalTypeNames and internalTypeNames variables, replaced both with typeNames. (isValidQualifierType:model:): Use new variable. (externalToInternalTypeMap:): Ditto. Matt Rice 2005-04-24 10:24:24 +0000
  • d365f0ba36 Fix bug reported by: jim _at_ uchicago dot edu. * EOAccess/EOEntity.m (-primaryKeyRootName): Recurse to through primaryKeyRootName of parent entity. * EOAdaptors/Postgres95/Postgres95Channel.m (primaryKeyForNewRowWithEntity:): Use primaryKeyRootName to construct sequence name. ayers 2005-04-19 14:14:37 +0000
  • d7ba99629e Fix bug reported by: jim _at_ uchicago dot edu. * EOAccess/EOEntity.m (-primaryKeyRootName): Recurse to through primaryKeyRootName of parent entity. * EOAdaptors/Postgres95/Postgres95Channel.m (primaryKeyForNewRowWithEntity:): Use primaryKeyRootName to construct sequence name. David Ayers 2005-04-19 14:14:37 +0000
  • 375fc565d9 Implemeted things in EOKeyValueArchiver, put back David changes in -adaptorValueByConvertingAttributeValue in EOAttribute.m mguesdon 2005-04-19 10:44:49 +0000
  • 9d8277892a Implemeted things in EOKeyValueArchiver, put back David changes in -adaptorValueByConvertingAttributeValue in EOAttribute.m Manuel Guesdon 2005-04-19 10:44:49 +0000
  • ad07dd8054 Correct ChangeLog entry. ayers 2005-04-07 09:01:26 +0000
  • 4e6f3be218 Correct ChangeLog entry. David Ayers 2005-04-07 09:01:26 +0000
  • 3676057b3b * Tools/eoutil.m: Added -excludedEntities option when dumping; added use of local autorelease pools; splitted SQL execution in different phases, to allow dropping then re-creating tables, in one shot; now fetches flattened or derived attributes; now can dump NSCalendarDate, NSData, NSNumber correctly; no longer tries to write (in db) flattened or derived or non class-property attributes; now ignores and log exceptions when -force option is used. ayers 2005-04-07 08:54:55 +0000
  • 35cb784d79 * Tools/eoutil.m: Added -excludedEntities option when dumping; added use of local autorelease pools; splitted SQL execution in different phases, to allow dropping then re-creating tables, in one shot; now fetches flattened or derived attributes; now can dump NSCalendarDate, NSData, NSNumber correctly; no longer tries to write (in db) flattened or derived or non class-property attributes; now ignores and log exceptions when -force option is used. David Ayers 2005-04-07 08:54:55 +0000
  • 2ae0612f8b * EOControl/EOFault.m: added instanceMethodForSelector: to temporary fix defaulting problem with NSAutoreleasePool optimizations mguesdon 2005-03-17 14:57:28 +0000
  • 8263986239 * EOControl/EOFault.m: added instanceMethodForSelector: to temporary fix defaulting problem with NSAutoreleasePool optimizations Manuel Guesdon 2005-03-17 14:57:28 +0000
  • af11d67d48 * EOControl/EOKeyValueCoding: (-unableToSetNullForKey:): Deprecate and call unableToSetNilForKey. (-setNilValueForKey:): Call unableToSetNilForKey. (-unableToSetNilForKey:): Use default implementation. ayers 2005-03-10 21:13:15 +0000
  • 27d729bad3 * EOControl/EOKeyValueCoding: (-unableToSetNullForKey:): Deprecate and call unableToSetNilForKey. (-setNilValueForKey:): Call unableToSetNilForKey. (-unableToSetNilForKey:): Use default implementation. David Ayers 2005-03-10 21:13:15 +0000
  • 1356733dc1 * EOAccess/EORelationship.m (validateValue:): Document. Remove unnecessary comments and code. Handle EONulls. (+initialize): Implement. (+relationshipWithPropertyList:owner:): Move to top. ayers 2005-03-03 17:36:16 +0000
  • c1baf1e562 * EOAccess/EORelationship.m (validateValue:): Document. Remove unnecessary comments and code. Handle EONulls. (+initialize): Implement. (+relationshipWithPropertyList:owner:): Move to top. David Ayers 2005-03-03 17:36:16 +0000
  • baf0a9404b * EOAccess/EODatabaseContext.m (-forgetSnapshotForGlobalID:): Handle deleted globalIDs correctly. (-forgetSnapshotsForGlobalIDs:): Ditto. (-_commitTransaction, -_beginTransaction): Ditto. (-_rollbackTransaction): Implement. ayers 2005-03-03 14:00:42 +0000
  • 1f9afe4934 * EOAccess/EODatabaseContext.m (-forgetSnapshotForGlobalID:): Handle deleted globalIDs correctly. (-forgetSnapshotsForGlobalIDs:): Ditto. (-_commitTransaction, -_beginTransaction): Ditto. (-_rollbackTransaction): Implement. David Ayers 2005-03-03 14:00:42 +0000
  • 2b46d06920 * EOAccess/EOEntity.m (initWithPropertyList:owner:): Reformatting for GNU coding standards. (-attributes): Fix memory leak. Use global class cache. Handle partially converted attributes array. (-_attributeNameChangedFrom:to:): New privat method. * EOAccess/EOEntityPriv.h (-_attributeNameChangedFrom:to:): Declare new private method. * EOAccess/EOAttribute.m (setName:): Call -[EOEntity _attributeNameChangedFrom:to:] if attribute is in an EOEntity. ayers 2005-03-03 12:17:57 +0000
  • 6a28dfbc6e * EOAccess/EOEntity.m (initWithPropertyList:owner:): Reformatting for GNU coding standards. (-attributes): Fix memory leak. Use global class cache. Handle partially converted attributes array. (-_attributeNameChangedFrom:to:): New privat method. * EOAccess/EOEntityPriv.h (-_attributeNameChangedFrom:to:): Declare new private method. * EOAccess/EOAttribute.m (setName:): Call -[EOEntity _attributeNameChangedFrom:to:] if attribute is in an EOEntity. David Ayers 2005-03-03 12:17:57 +0000
  • fa30929bd4 * EOAccess/EOModel.m (setName:): Remove from group before changing name and readd afterwards. ayers 2005-03-02 15:34:57 +0000
  • 627c340174 * EOAccess/EOModel.m (setName:): Remove from group before changing name and readd afterwards. David Ayers 2005-03-02 15:34:57 +0000
  • fbc54f5c5d * EOControl/EOKeyValueCoding.h/m: (-setNilValueForKey:): Override NSObject's category to invoke -unableToSetNullForKey:. ayers 2005-03-02 14:10:36 +0000
  • da6a07ec81 * EOControl/EOKeyValueCoding.h/m: (-setNilValueForKey:): Override NSObject's category to invoke -unableToSetNullForKey:. David Ayers 2005-03-02 14:10:36 +0000
  • e2c2cf6221 * EOAccess/EOAttribute.m, EOAccess/EODatabaseContext.m, * EOAccess/EOEntity.m, EOAccess/EOSQLExpression.m * EOAccess/EOPrivate.h, EOAccess/EOPrivate.m, * EOAccess/EOSQLQualifier.m, EOAccess/EOUtilities.m * EOControl/EOClassDescription.m, EOControl/EOEditingContext.m * EOControl/EOGenericRecord.m, EOControl/EOKeyGlobalID.m * EOControl/EOKeyValueCoding.m, * EOControl/EOKeyValueQualifier.m * EOControl/EOMutableKnownKeyDictionary.m, * EOControl/EOPrivate.h, EOControl/EOPrivate.m Unify GDL2 identifiers with GDL2_ prefix. Replace GDL2NSClass_alloc with GDL2_alloc(NSClass). Replace GDL2NSClassWith* calls with AUTORELEASE([GDL2_alloc(NSCLass) initWith* calls]). Rename GDL2PrivInit to GDL2_PrivateInit. (GDL2_NSArray, GDL2_NSMutableArray_allocWithZoneIMP) (GDL2_NSMutableDictionary_allocWithZoneIMP): New globals. (GDL2_alloc): New macro. (GDL2NSString_alloc, GDL2NSDecimalNumber_alloc) (GDL2NSNumber_alloc, GDL2NSCalendarDate_alloc, GDL2NSData_alloc) (GDL2DataWithBytesAndLength, GDL2MutableArrayWithCapacity) (GDL2MutableArrayWithArray, GDL2MutableArray, GDL2Array) (GDL2MutableDictionaryWithCapacity): Remove. ayers 2005-02-22 16:14:03 +0000
  • 86b1325708 * EOAccess/EOAttribute.m, EOAccess/EODatabaseContext.m, * EOAccess/EOEntity.m, EOAccess/EOSQLExpression.m * EOAccess/EOPrivate.h, EOAccess/EOPrivate.m, * EOAccess/EOSQLQualifier.m, EOAccess/EOUtilities.m * EOControl/EOClassDescription.m, EOControl/EOEditingContext.m * EOControl/EOGenericRecord.m, EOControl/EOKeyGlobalID.m * EOControl/EOKeyValueCoding.m, * EOControl/EOKeyValueQualifier.m * EOControl/EOMutableKnownKeyDictionary.m, * EOControl/EOPrivate.h, EOControl/EOPrivate.m Unify GDL2 identifiers with GDL2_ prefix. Replace GDL2NSClass_alloc with GDL2_alloc(NSClass). Replace GDL2NSClassWith* calls with AUTORELEASE([GDL2_alloc(NSCLass) initWith* calls]). Rename GDL2PrivInit to GDL2_PrivateInit. (GDL2_NSArray, GDL2_NSMutableArray_allocWithZoneIMP) (GDL2_NSMutableDictionary_allocWithZoneIMP): New globals. (GDL2_alloc): New macro. (GDL2NSString_alloc, GDL2NSDecimalNumber_alloc) (GDL2NSNumber_alloc, GDL2NSCalendarDate_alloc, GDL2NSData_alloc) (GDL2DataWithBytesAndLength, GDL2MutableArrayWithCapacity) (GDL2MutableArrayWithArray, GDL2MutableArray, GDL2Array) (GDL2MutableDictionaryWithCapacity): Remove. David Ayers 2005-02-22 16:14:03 +0000
  • fc225e878a * EOAccess/EOAdaptor.m (-hasOpenChannels): Make safe for unsigned. ayers 2005-02-22 12:52:46 +0000
  • e4bdd8f5dc * EOAccess/EOAdaptor.m (-hasOpenChannels): Make safe for unsigned. David Ayers 2005-02-22 12:52:46 +0000
  • 50f69ed056 * EOAccess/EOAdaptor.m: Consistently use unsigned for array index variables. ayers 2005-02-20 20:58:28 +0000
  • 8b5a93e44e * EOAccess/EOAdaptor.m: Consistently use unsigned for array index variables. David Ayers 2005-02-20 20:58:28 +0000
  • adc5ba956a * EOAccess/EOPrivate.h, EOAccess/EOPrivate.m, * EOAccess/EODatabaseContext.m, EOAccess/EOSQLExpression.m, * EOControl/EOEditingContext.m, EOControl/EOKeyValueCoding.m, * EOControl/EOMutableKnownKeyDictionary.m, * EOControl/EOPrivate.h, EOControl/EOPrivate.m: Remove global selector cache. ayers 2005-02-20 20:33:09 +0000
  • 2fb344f062 * EOAccess/EOPrivate.h, EOAccess/EOPrivate.m, * EOAccess/EODatabaseContext.m, EOAccess/EOSQLExpression.m, * EOControl/EOEditingContext.m, EOControl/EOKeyValueCoding.m, * EOControl/EOMutableKnownKeyDictionary.m, * EOControl/EOPrivate.h, EOControl/EOPrivate.m: Remove global selector cache. David Ayers 2005-02-20 20:33:09 +0000
  • 352821db33 Add file missing from last commit. ayers 2005-02-20 13:57:23 +0000
  • 944432d46e Add file missing from last commit. David Ayers 2005-02-20 13:57:23 +0000
  • 3d9dbffe7f * EOControl/EOPriv.h/m: Split into... * EOControl/EOPrivat.h/m: ... and ... * EOAccess/EOPrivat.h/m: ... files. * EOAccess/EOAdaptorChannel.m: Include new privat header. * EOAccess/EOAttribute.m, EOAccess/EODatabase.m, * EOAccess/EODatabaseChannel.m, EOAccess/EOEntity.m, * EOAccess/EORelationship.m, EOAccess/EOSQLExpression.m, * EOAccess/EOSQLQualifier.m, EOAccess/EOUtilities.m: Ditto. (+initialize): Call new private function. * EOAccess/EODatabaseContext.m: Ditto. (EODatabaseContext_snapshotForGlobalIDWithImpPtr) (EODatabaseContext_globalIDForObjectWithImpPtr): Move to EOPrivate.m. * EOAccess/EODatabaseContextPriv.h: (EODatabaseContext_snapshotForGlobalIDWithImpPtr) (EODatabaseContext_globalIDForObjectWithImpPtr): Move to EOPrivate.h. * EOAccess/GNUmakefile: Compile EOPrivate.m. ayers 2005-02-20 10:52:57 +0000
  • 0d24407fcf * EOControl/EOPriv.h/m: Split into... * EOControl/EOPrivat.h/m: ... and ... * EOAccess/EOPrivat.h/m: ... files. * EOAccess/EOAdaptorChannel.m: Include new privat header. * EOAccess/EOAttribute.m, EOAccess/EODatabase.m, * EOAccess/EODatabaseChannel.m, EOAccess/EOEntity.m, * EOAccess/EORelationship.m, EOAccess/EOSQLExpression.m, * EOAccess/EOSQLQualifier.m, EOAccess/EOUtilities.m: Ditto. (+initialize): Call new private function. * EOAccess/EODatabaseContext.m: Ditto. (EODatabaseContext_snapshotForGlobalIDWithImpPtr) (EODatabaseContext_globalIDForObjectWithImpPtr): Move to EOPrivate.m. * EOAccess/EODatabaseContextPriv.h: (EODatabaseContext_snapshotForGlobalIDWithImpPtr) (EODatabaseContext_globalIDForObjectWithImpPtr): Move to EOPrivate.h. * EOAccess/GNUmakefile: Compile EOPrivate.m. David Ayers 2005-02-20 10:52:57 +0000
  • 8a74a3fb34 * EOAccess/EOAccessFault.m: Include NSThread.h. ayers 2005-02-20 10:24:36 +0000
  • ef8e948417 * EOAccess/EOAccessFault.m: Include NSThread.h. David Ayers 2005-02-20 10:24:36 +0000
  • 41064a38df * EOAdaptors/Postgres95/Postgres95Values.m: Remove dependency on EOAccess/EOAttributePriv.h and EOControl/EONSAddOns.h. (attrRespondsToValueClass, attrRespondsToValueTypeChar): New static locals. (+initialize, +newValueForNumberType:length:attribute:): Remove dependency and used static locals instead. ayers 2005-02-19 12:37:25 +0000
  • 3bd48d095d * EOAdaptors/Postgres95/Postgres95Values.m: Remove dependency on EOAccess/EOAttributePriv.h and EOControl/EONSAddOns.h. (attrRespondsToValueClass, attrRespondsToValueTypeChar): New static locals. (+initialize, +newValueForNumberType:length:attribute:): Remove dependency and used static locals instead. David Ayers 2005-02-19 12:37:25 +0000
  • eb4068f6eb * EOAdaptors/Postgres95/Postgres95Private.m/h: New files based on EOControl/EOPriv.m/h. * EOAdaptors/Postgres95/GNUmakefile.in: Build Postgres95Private.m. * EOAdaptors/Postgres95/Postgres95Adaptor.m: Do not depend on EOControl/EOPriv.m/h but on own private files. (+assignExternalInfoForEntity): Use objectAtIndex: instead of enumerator for speed. * EOAdaptors/Postgres95/Postgres95Channel.m: (+initialize) (-lowLevelResultFieldNames:, -fetchRowWithZone:) (-insertRow:forEntity:, -_describeResults, -describeTableNames) (-updateValues:inRowsDescribedByQualifier:entity:) (-_describeBasicEntityWithName:forModel:) (-_describeForeignKeysForEntity:forModel:) (-primaryKeyForNewRowWithEntity:): Do not depend on EOControl/EOPriv.m/h but on own private files. Improve optimizations. (pgResultDictionary): Simplify unused static local be reverting optimizations. * EOAdaptors/Postgres95/Postgres95SQLExpression.m: (+initialize, +formatValue:forAttribute:) (+sqlPatternFromShellPattern:) (+sqlPatternFromShellPattern:withEscapeCharacter:): Do not depend on EOControl/EOPriv.m/h but on own private files. Improve optimizations. * EOAdaptors/Postgres95/Postgres95Values.h/m (Postgres95CalendarFormat, Postgres95ValuesClass) (Postgres95Values_newValueForBytesLengthAttributeSEL) (Postgres95Values_newValueForBytesLengthAttributeIMP) (Postgres95Values_newValueForBytesLengthAttribute): Remove. ([NSCalendarDate+setPostgres95Format:]): Remove. ([NSCalendarDate+postgres95Format]): Deprecate. (LPSQLA_StringDefaultCStringEncoding): New local static. (+initialize, +newValueForNumberType:length:attribute:) (+newValueForCharactersType:length:attribute:) (+newValueForDateType:length:attribute:): Do not depend on EOControl/EOPriv.m/h but on own private files. Improve optimizations. ayers 2005-02-19 12:13:22 +0000
  • 7c80ffaf65 * EOAdaptors/Postgres95/Postgres95Private.m/h: New files based on EOControl/EOPriv.m/h. * EOAdaptors/Postgres95/GNUmakefile.in: Build Postgres95Private.m. * EOAdaptors/Postgres95/Postgres95Adaptor.m: Do not depend on EOControl/EOPriv.m/h but on own private files. (+assignExternalInfoForEntity): Use objectAtIndex: instead of enumerator for speed. * EOAdaptors/Postgres95/Postgres95Channel.m: (+initialize) (-lowLevelResultFieldNames:, -fetchRowWithZone:) (-insertRow:forEntity:, -_describeResults, -describeTableNames) (-updateValues:inRowsDescribedByQualifier:entity:) (-_describeBasicEntityWithName:forModel:) (-_describeForeignKeysForEntity:forModel:) (-primaryKeyForNewRowWithEntity:): Do not depend on EOControl/EOPriv.m/h but on own private files. Improve optimizations. (pgResultDictionary): Simplify unused static local be reverting optimizations. * EOAdaptors/Postgres95/Postgres95SQLExpression.m: (+initialize, +formatValue:forAttribute:) (+sqlPatternFromShellPattern:) (+sqlPatternFromShellPattern:withEscapeCharacter:): Do not depend on EOControl/EOPriv.m/h but on own private files. Improve optimizations. * EOAdaptors/Postgres95/Postgres95Values.h/m (Postgres95CalendarFormat, Postgres95ValuesClass) (Postgres95Values_newValueForBytesLengthAttributeSEL) (Postgres95Values_newValueForBytesLengthAttributeIMP) (Postgres95Values_newValueForBytesLengthAttribute): Remove. ([NSCalendarDate+setPostgres95Format:]): Remove. ([NSCalendarDate+postgres95Format]): Deprecate. (LPSQLA_StringDefaultCStringEncoding): New local static. (+initialize, +newValueForNumberType:length:attribute:) (+newValueForCharactersType:length:attribute:) (+newValueForDateType:length:attribute:): Do not depend on EOControl/EOPriv.m/h but on own private files. Improve optimizations. David Ayers 2005-02-19 12:13:22 +0000
  • 007a79ae4e Call -willChange: to support EOObserving in EOModel, EOEntity, EOAttribute, EORelationship, EOStoredProcedure. ratmice 2005-02-18 16:46:38 +0000
  • 74a8e976bf Call -willChange: to support EOObserving in EOModel, EOEntity, EOAttribute, EORelationship, EOStoredProcedure. Matt Rice 2005-02-18 16:46:38 +0000
  • 9fd2363f39 * EOAccess/EODatabaseContext.m: (recordChangesInEditingContext): Remove shadowing of local variable. ayers 2005-02-17 12:19:38 +0000
  • 6b4ef319c9 * EOAccess/EODatabaseContext.m: (recordChangesInEditingContext): Remove shadowing of local variable. David Ayers 2005-02-17 12:19:38 +0000
  • c9d7ddde85 * EOAccess/EODatabaseContext.m: (-_currentCommittedSnapshotForObject:): Fix crash in logging. ayers 2005-02-17 09:52:14 +0000
  • af63fd32b5 * EOAccess/EODatabaseContext.m: (-_currentCommittedSnapshotForObject:): Fix crash in logging. David Ayers 2005-02-17 09:52:14 +0000
  • d31e475641 * EOAccess/EOEntity.m: Remove unnecessary include. (-setClassProperties:, -setPrimaryKeyAttributes:) (-setAttributesUsedForLocking:): Remove unnecessary casts. ayers 2005-02-17 09:41:09 +0000
  • cd0f130fc7 * EOAccess/EOEntity.m: Remove unnecessary include. (-setClassProperties:, -setPrimaryKeyAttributes:) (-setAttributesUsedForLocking:): Remove unnecessary casts. David Ayers 2005-02-17 09:41:09 +0000
  • ef97f90cf7 * EOAccess/EOAccessFault.m ([EOAccessFaultHandler-init]) ([EOAccessFaultHandler-dealloc]) ([EOAccessArrayFaultHandler-dealloc]): Use GSCurrentThread instead of objc_thread_id. (-completeInitializationOfObject): Correct comment. ayers 2005-02-16 15:48:17 +0000
  • 11fac539ea * EOAccess/EOAccessFault.m ([EOAccessFaultHandler-init]) ([EOAccessFaultHandler-dealloc]) ([EOAccessArrayFaultHandler-dealloc]): Use GSCurrentThread instead of objc_thread_id. (-completeInitializationOfObject): Correct comment. David Ayers 2005-02-16 15:48:17 +0000
  • c55dcdc37d * EOControl/EOGenericRecord.m (-storedValueForKey:) (-takeStoredValue:forKey:, -takeValue:forKey:, valueForKey): Use GSSelectorFromName instead of sel_get_any_uid. Omit test to islower. Format according to coding standards. * EOControl/EOKeyValueCoding.m (-takeValue:forKeyPath:isSmart:) Use unsigned for index bookkeeping. ayers 2005-02-16 14:06:01 +0000
  • b9a5ba95a1 * EOControl/EOGenericRecord.m (-storedValueForKey:) (-takeStoredValue:forKey:, -takeValue:forKey:, valueForKey): Use GSSelectorFromName instead of sel_get_any_uid. Omit test to islower. Format according to coding standards. * EOControl/EOKeyValueCoding.m (-takeValue:forKeyPath:isSmart:) Use unsigned for index bookkeeping. David Ayers 2005-02-16 14:06:01 +0000