Commit graph

25 commits

Author SHA1 Message Date
Dave Wetzel
2f65a25e2f * EOControl/EOMutableKnownKeyDictionary.m
removed __PRETTY_FUNCTION__ from Asserts
removed NSLogs
* EOModeler/EOModelExtensions.m
added - (NSString *)cScalarTypeString
* DBModeler/CodeGenerator.h/m: new file
Added a Code Generator like EOGenerator from www.rubicode.com



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30256 72102866-910b-0410-8b05-ffd578937521
2010-04-29 02:28:23 +00:00
Blake Nicholson
64d9e00095 Updated all project GNUmakefile's to include the local common.make, which will
attempt to populate GNUSTEP_MAKEFILES by calling gnustep-config.

* GNUmakefile.in, EOInterface/GNUmakefile, EOAccess/GNUmakefile,
  DBModeler/Inspectors/GNUmakefile, DBModeler/GNUmakefile, Tools/GNUmakefile,
  EOAdaptors/SQLiteAdaptor/LoginPanel/GNUmakefile,
  EOAdaptors/SQLiteAdaptor/GNUmakefile.in, EOAdaptors/GNUmakefile.in,
  EOAdaptors/PostgreSQLAdaptor/LoginPanel/GNUmakefile,
  EOAdaptors/PostgreSQLAdaptor/GNUmakefile.in, EOControl/GNUmakefile,
  GDL2Palette/GNUmakefile, Documentation/GDL2Intro/GNUmakefile,
  Documentation/GDL2Intro/Examples/GNUmakefile, Documentation/GNUmakefile,
  EOModeler/GNUmakefile, common.make

  Added logic to the local common.make to try to populate GNUSTEP_MAKEFILES by
  calling gnustep-config, if GNUSTEP_MAKEFILES is not already populated.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26583 72102866-910b-0410-8b05-ffd578937521
2008-05-29 14:57:30 +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
Blake Nicholson
17ae63bbae Updated the DBModeler application so the SQLGenerator window uses the
Renaissance library.  Replaced the gorm file with a gsmarkup file, and
modified the app code to use it.

* DBModeler/SQLGenerator.m

  (init): Updated to load the gsmarkup file, rather than the nib.

  (awakeFromGSMarkup): Replaces the previous awakeFromNib.

* DBModeler/Resources/SQLGenerator.gsmarkup

  Initial import.

* DBModeler/Resources/SQLGenerator.gorm

  Removed from repository.

* DBModeler/GNUmakefile

  Replaced the SQLGenerator.gorm resource with SQLGenerator.gsmarkup.  Removed
  a dangling reference to ConsistencyResults.gorm.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26522 72102866-910b-0410-8b05-ffd578937521
2008-05-13 17:53:24 +00:00
Matt Rice
b4e0ed69a3 * DBModeler/Resources/ConsistencyResults.gsmarkup: initial import.
* DBModeler/GNUmakefile: Add ConsistencyResults.gsmarkup.
        * DBModeler/ConsistencyResults.m: Use gsmarkup file.
        * DBModeler/Resources/ConsistencyResults.gorm: Remove file.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26519 72102866-910b-0410-8b05-ffd578937521
2008-05-13 09:55:43 +00:00
Blake Nicholson
6d66f9739c Modified the DBModeler application to use Renaissance to generate its main
menu.

* DBModeler/main.m

  (main): Added code to load the application menu, as described in the
  Renaissance tutorial.

* DBModeler/Modeler.m

  (applicationWillFinishLaunching:): Removed code to manually created the
  application's menu.  This is now handled by Renaissance.
  
* DBModeler/Resources/Menu-GNUstep.gsmarkup,
  DBModeler/Resources/Menu-Cocoa.gsmarkup

  Initial import

* DBModeler/GNUmakefile

  Added Renaissance to the list of libraries used by DBModeler.  Added
  Menu-Cocoa.gsmarkup and  Menu-GNUstep.gsmarkup to the list of application
  resources.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26516 72102866-910b-0410-8b05-ffd578937521
2008-05-13 03:34:01 +00:00
Blake Nicholson
2a7cbceb9c Updated the application so we have an icon for Mac OS X.
* DBModeler/GNUmakefile: Added DBModeler.icns to the list of resources, and
  set DBModeler_APPLICATION_ICON so the icon will be set appropriately.

* DBModeler/Resources/DBModeler.icns: Initial import.  Created with Icon
  Composer using DBModeler.tiff.  This will need to be replaced at some point
  with an image that goes up to 512x512.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26515 72102866-910b-0410-8b05-ffd578937521
2008-05-13 00:56:44 +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
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
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
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
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
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
244fbb7fae * DBModeler/Modeler.m: Add ability to change the editor.
* DBModeler/MainModelerEditor.m (-activateEmbeddedEditor:): Don't
        modify editors view subview resizing behaviour.
        Dont call supers implementation until we have resized the 
	subview.
        * DBModeler/GNUmakefile: Add new files.
        * DBModeler/Resources/Key_Diagram.tiff
        * DBModeler/Resources/Locking_Diagram.tiff
        * DBModeler/Resources/ClassProperty_Diagram.tiff
        * DBModeler/AttributesCell.{h,m}
        * DBModeler/DiagramView.{h,m}
        * DBModeler/DiagramEditor.{h,m}
        * DBModeler/EntityView.{h,m}
        * DBModeler/NSView+Additions.{h,m}: New files, initial implementation
        of diagram editor.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23805 72102866-910b-0410-8b05-ffd578937521
2006-10-09 18:56:25 +00:00
Matt Rice
dca7c686da * EOAdaptors/SQLiteAdaptor/SQLite3SQLExpression.m: Override
createDatabase method.
        * configure: Regenerate.
        * configure.ac: Change SUBPROJECTS to GUI_SUBPROJECTS to reflect 
	what its for.
        * GNUmakefile.in: Ditto, and move so its compiled after EOInterface
        * EOModeler/EOMInspector.h: Add IBOutlets.
        * DBModeler/Inspectors/AttributeInspector.m: Remove unused ivar.
        * DBModeler/Inspectors/GNUmakefile: Add AdvancedEntityInspector.
        * DBModeler/Inspectors/AdvancedEntityInspector.[h,m,gorm]: New 	files.
        * DBModeler/GNUmakefile: Remove subprojects hack.
        * GDL2Palette/GNUmakefile: Ditto.
        * GDL2Palette/ResourceManager.m: enable the creation of parent
        assocation when creating a EOMasterDetailDisplayGroup.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23694 72102866-910b-0410-8b05-ffd578937521
2006-10-01 13:04:05 +00:00
Matt Rice
554b600357 * DBModeler/Resources/AllowsNull_Header.tiff: New file.
* DBModeler/GNUmakefile: Add new file.
        * DBModeler/DefaultColumnProvider.m: Set column header image.




git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23534 72102866-910b-0410-8b05-ffd578937521
2006-09-16 13:27:05 +00:00
Matt Rice
941076c761 * DBModeler/Resources/AllowsNull_On.tiff: New file.
* DBModeler/GNUmakefile: Add new file.
        * DBModeler/DefaultColumnProvider.m: Reorder table columns.
        Use new file, for allows null column.  Remove out of date comments.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23533 72102866-910b-0410-8b05-ffd578937521
2006-09-16 13:02:02 +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
49ce9f9320 * EOInterface/GNUmakefile
* DBModeler/Inspectors/GNUmakefile
	* DBModeler/GNUmakefile
	* EOAdaptors/Postgres95/LoginPanel/GNUmakefile
	* GDL2Palette/GNUmakefile: Add missing copyright notices.
	Install into GNUSTEP_SYSTEM_ROOT by default.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23502 72102866-910b-0410-8b05-ffd578937521
2006-09-14 11:58: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
fa5c582457 * DBModeler/GNUmakefile: Add Info-gnustep.plist to project.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@21444 72102866-910b-0410-8b05-ffd578937521
2005-07-10 19:33:44 +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
dc8101ef3f * GNUmakefile: remove GDL2Palette from top level compilation.
* GDL2Palette/GNUmakefile: Fix compilation flags, include
gdl2.make
        relative not the installed version.
        * DBModeler/GNUmakefile: Ditto.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@21231 72102866-910b-0410-8b05-ffd578937521
2005-05-17 23:33:04 +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