Matt Rice
01d46e5527
* DBModeler/ModelerTableEmbedibleEditor.h/m: Remove usage of
...
NSMenuItem protocol.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30281 72102866-910b-0410-8b05-ffd578937521
2010-05-02 23:18:24 +00:00
David Ayers
e2012a67ff
* DBModeler/ModelerEntityEditor.m
...
* DBModeler/ModelerTableEmbedibleEditor.m
* DBModeler/ModelerAttributeEditor.m: Rearrange includes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30110 72102866-910b-0410-8b05-ffd578937521
2010-04-09 10:00:51 +00:00
Fred Kiefer
febeda42a3
Add missin #includes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30106 72102866-910b-0410-8b05-ffd578937521
2010-04-09 08:24:23 +00:00
Blake Nicholson
440372a7d3
Replaced tabs with spaces throughout the DBModeler sub-project.
...
* DBModeler/AdaptorsPanel.m, DBModeler/AttributeCell.m,
DBModeler/ConsistencyChecker.m, DBModeler/DefaultColumnProvider.m,
DBModeler/DiagramView.m, DBModeler/EOAdditions.m, DBModeler/EntityView.m,
DBModeler/GNUmakefile, DBModeler/KVDataSource.m,
DBModeler/MainModelEditor.h, DBModeler/MainModelEditor.m,
DBModeler/ModelerAttributeEditor.m, DBModeler/ModelerEntityEditor.h,
DBModeler/ModelerEntityEditor.m,
DBModeler/ModelerTableEmbedibleEditor.h,
DBModeler/ModelerTableEmbedibleEditor.m,
DBModeler/NSView+Additions.m, DBModeler/Preferences.m,
DBModeler/SQLGenerator.m, DBModeler/Inspectors/AdvancedEntityInspector.m,
DBModeler/Inspectors/AttributeInspector.h,
DBModeler/Inspectors/AttributeInspector.m,
DBModeler/Inspectors/RelationshipInspector.h,
DBModeler/Inspectors/RelationshipInspector.m
White-space clean-up. Replaced tabs with spaces.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26556 72102866-910b-0410-8b05-ffd578937521
2008-05-23 12:11:26 +00:00
Matt Rice
2d624f0ec5
* DBModeler/*.[h,m]: Fix includes for OS X.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26508 72102866-910b-0410-8b05-ffd578937521
2008-05-09 20:21:17 +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
Matt Rice
92fcc10447
* Update Email address for Matt Rice.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@24318 72102866-910b-0410-8b05-ffd578937521
2007-01-05 16:17:04 +00:00
Matt Rice
f62d20d5bd
update copyright.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23580 72102866-910b-0410-8b05-ffd578937521
2006-09-21 07:24:22 +00:00
Matt Rice
6db22cf80d
* EOInterface/EODisplayGroup.m: Correct selector name.
...
* EOInterface/EOTableViewAssociation.m: Remove observer
notification
suppression.
* DBModeler/Modeler.m: Add some debug code.
* DBModeler/Inspectors/AttributeInspector.h/m: Implement.
* DBModeler/Inspectors/AttributeInspector.gorm: Update
interface.
* DBModeler/ModelerTableEmbedibleEditor.m: Send notification on
displayGroup:didSetValue:forObject:key.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23530 72102866-910b-0410-8b05-ffd578937521
2006-09-15 20:03:41 +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
efecac5875
DBModeler/ConsistencyChecker.m (+modelConsistencyCheck:): Honor
...
validation preferences.
DBModeler/Modeler.m (-new:): Reimplement.
(-setAdaptor:): Bail out it adaptor cannot be located.
(-application:openFile:): Fine tune path checking and correct return
values.
(-openPrefs:): Implement.
* DBModeler/Inspectors/RelationshipInspector.m
(-displayName): Implement.
(-selectedEntity): Validate selected row before commencing.
(-selectedDestinationAttribute): Reimplement.
(-updateConnectButton): Update enabled state of connect button.
(-refresh): Correct handling of src/destAttrib_tableView.
(-tableViewSelectionDidChange:): Allways call updateConnectButton.
* DBModeler/SQLGenerator.m (-openSQLGenerator:): Reimplement.
(-executeSQL:): Handle invalid adpator or connection information.
(-saveAs:): Handle abort correctly.
(-generate): Handle missing expression class.
* DBModeler/ModelerTableEmbedibleEditor.h
* DBModeler/ModelerEntityEditor.m (initWithParentEditor:): Correct
autoresize behavior.
(-activate): Update selection.
(-needToFetch:): Do not reloadData in _topTable.
(-displayGroupDidChangeSelection:): Update selection on parent.
* DBModeler/ModelerTableEmbedibleEditor.m
(-addDefaultTableColumnsForTableView:displayGroup:): Call tile instead
of sizeToFit.
* DBModeler/EOAdditions.m: Fix leaks.
(setIsClassProperty): Reimplement.
(-[setIsPrimaryKey:]): Ditto.
(-[setIsClassProperty:]): Correct call to function.
(-[isUsedForLocking]): Implement.
(-[setIsUsedForLocking:]): Ditto.
* DBModeler/MainModelEditor.h
* DBModeler/MainModelEditor.m: Update view handling.
* DBModeler/DefaultColumnProvider.m: Update handling of properties.
* DBModeler/ModelerAttributeEditor.m: Update general GUI interaction.
* DBModeler/Preferences.h: New file.
* DBModeler/Preferences.m: Ditto.
* DBModeler/Inspectors/RelationshipInspector.tiff: New file.
* DBModeler/Inspectors/GNUmakefile: Add new file.
* DBModeler/Resources/Preferences.gorm: New files.
* DBModeler/Resources/Key_Header.tiff: Ditto.
* DBModeler/Resources/ClassProperty_Header.tiff: Ditto.
* DBModeler/Resources/Locking_On.tiff: Ditto.
* DBModeler/Resources/Key_On.tiff: Ditto.
* DBModeler/GNUmakefile: Add new files.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23397 72102866-910b-0410-8b05-ffd578937521
2006-09-05 22:18:35 +00:00
Matt Rice
91868e3d12
* DBModeler/AdaptorsPanel.m (-init): Add parenthesis around
...
assignment. Replace label with window title.
(-runAdaptorsPanel:): Remove unused variable.
* DBModeler/DefaultColumnProvider.m: Add missing braces, remove
unused ivars.
(-cellForColumnNamed:): Autorelease cells.
* DBModeler/EOAdditions.m: New EOAttribute KVC methods -allowNull and
-setAllowNull:.
* DBModeler/GNUmakefile: Add new to project.
* DBModeler/KVDataSource.m (-createObject:): Return nil after
throwing exception.
* DBModeler/MainModelEditor.m
(-dragImageForRows:event:dragImageOffset:):: Enable drag and
drop for relationships.
(-initWithDocument:): Add parenthesis around assignment. Don't
release the document window on close.
(-ecStuff:): temporarily reload everything in the outline view when
something changes.
(-viewSelectedObject:): Remove NSLog. Rewrite editor activation.
Fix leaks.
* DBModeler/Modeler.m (-applicationWillFinishLaunching:): Add new menu
items. Don't order our menu in.
(-new:,-open:): Move document initializition to _newDocumentWithModel:.
(-_newDocumentWithModel:,-newFromDatabase:): New methods.
(-validateMenuItem:,-generateSQL:): Ditto.
* DBModeler/ModelerAttributeEditor.m (-initWithParentEditor:):
Remove unused variables.
(-displayGroupDidChangeSelection:): return early if there is no
longer a selection.
* DBModeler/ModelerEntityEditor.m:
(-canSupportCurrentSelection): Remove NSLog.
(-displayGroupDidChangeSelection:): Ditto.
(-dealloc:): New method.
(-initWithParentEditor:): Remove unused variables. Add parens around
assignment. Release local variables.
* DBModeler/ModelerTableEmbedibleEditor:
(-addDefaultTableColumnsForTableView:displayGroup:): Release table
columns.
(-addTableColumnForItem:tableView:): Ditto.
* DBModeler/Inspectors/RelationshipInspector.m:
(-selectedEntity, -selectedDestinationAttribute): New methods.
(-selectedSourceAttribute, -indexOfSourceAttribute:): Ditto.
(-indexOfDestinationAttribute:,joinWithSource:destination:): Ditto.
(-selectedJoin:,updateConnectButton,): Ditto.
(-refresh): Rewrite using new methods.
(-numberOfRowsInTableView:): Add fallback return value.
(-tableView:objectValueForTableColumn:row:): Ditto.
(-tableView:selectionDidChange:): If a source or destination
attribute is now selected, select its counterpart.
(-tableView:shouldSelectRow:): New method to disallow entity
selection if there is a destination entity.
(-tableView:willDisplayCell:forTableColumn:row:): New method,
set the cell text color to disabled text color, if we would disallow
selection.
(-connectionChanged:): Implement disconnection.
* DBModeler/SQLGenerator.h/m: New files initial implementation.
* DBModeler/Resources/SQLGenerator.gorm: Ditto.
* DBModeler/ConsistencyChecker.h/m: Ditto.
* DBModeler/ConsistencyResults.h/m: Ditto.
* DBModeler/ConsistencyResults.gorm: Ditto.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@21438 72102866-910b-0410-8b05-ffd578937521
2005-07-09 02:07:42 +00:00
Matt Rice
34bed39fc9
New files.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@21224 72102866-910b-0410-8b05-ffd578937521
2005-05-13 00:25:27 +00:00