Commit graph

75 commits

Author SHA1 Message Date
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
Dave Wetzel
4983a5c38e * DBModeler/Inspectors/AttributeInspector.*
* DBModeler/Inspectors/GNUmakefile
Moved to Renaissance for the Attribute Inspector



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30280 72102866-910b-0410-8b05-ffd578937521
2010-05-02 22:47:00 +00:00
Dave Wetzel
51b728a2b8 * DBModeler/Modeler.m: use sel_isEqual to check menu
* DBModeler/Resources/SQLGenerator.gsmarkup: make window resizeable
* DBModeler/CodeGenerator.m: add credits for initialCapitalString and
  initialLowercaseString
  use ASSIGN() in generated code.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30260 72102866-910b-0410-8b05-ffd578937521
2010-04-29 18:14:30 +00:00
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
David Ayers
1ac1fc7f7d * DBModeler/ConsistencyChecker.m (attributeDetailsCheckForModel:)
Fix iterator variable.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30210 72102866-910b-0410-8b05-ffd578937521
2010-04-21 14:05:19 +00:00
David Ayers
04fcac2a87 * DBModeler/Inspectors/AttributeInspector.m: Add missing guard to include.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30115 72102866-910b-0410-8b05-ffd578937521
2010-04-09 10:50:44 +00:00
David Ayers
2960b436cf * EOInterface/EODisplayGroup.m (_qualifierForKey:value:defaultOperator:):
* EOAccess/EOUtilities.m (-rawRowsWithStoredProcedureNamed:arguments:):
	* EOAccess/EOSQLExpression.m (addInsertListAttribute:value:):
	* GDL2Palette/ConnectionInspector.m (_keysFromClassDescription:):
	* DBModeler/Inspectors/AttributeInspector.m (setValueType:):
	Initialize variables.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30114 72102866-910b-0410-8b05-ffd578937521
2010-04-09 10:43:59 +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
Matt Rice
34b5413f0f * DBModeler/DiagramView.m: Add missing include.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@29865 72102866-910b-0410-8b05-ffd578937521
2010-03-07 10:48:25 +00:00
Matt Rice
4a7738a050 * DBModeler/ModelerAttributeEditor.m
(-displaygroupDidChangeSelection:): Activate self on selection change.
* DBModeler/MainModelEditor.m (-_activateSelection): Move method to
EOModeler.
(viewSelectedObject): Remove method.
(outlineViewSelectionDidChange:): Call -activateSelection.
* EOModeler/EOModelerEditor.m: Add activateSelection extension/method.
* EOModeler/EOModelerEditor.h: Ditto.
* EOModeler/EOModelerDocument.m (-addAttribute):
(-addRelationship): Add some Fixme's.  Call -activateSelection on the
editor.
(-delete:): Revert the selection back to the viewed object, and
activate the new selection.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@28035 72102866-910b-0410-8b05-ffd578937521
2009-03-03 23:46:44 +00:00
Matt Rice
a962c06ac3 * DBModeler/ModelerAttributeEditor.m (dealloc): Remove observers and
release the selection, remove unused ivar.
(selectionDidChange:): Remove unused local.
* DBModeler/ModelerAttributeEditor.h: Remove unused ivar.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@28024 72102866-910b-0410-8b05-ffd578937521
2009-03-02 09:35:34 +00:00
Matt Rice
31c7948faf * DBModeler/Inspectors/RelationshipInspector.m (-awakeFromNib):
Set text field delegate, implement controlTextDidEndEditing.
* DBModeler/Resources/Preferences.gorm: Remove unimplemented outlets.
* DBModeler/ModelerAttributeEditor.h: Add ivar.
* DBModeler/ModelerAttributeEditor.m: Add EOObserving for the current
selection.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@28022 72102866-910b-0410-8b05-ffd578937521
2009-03-02 06:06:44 +00:00
Matt Rice
ecdc0c32ad * DBModeler/Inspectors/AttributesInspector.m: Implement
controlTextDidEndEditing:.
* DBModeler/Inspectors/AttributesInspector.gorm: Set text field
delegates, and nextKeyView.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@28018 72102866-910b-0410-8b05-ffd578937521
2009-03-01 22:09:34 +00:00
Matt Rice
500785be3b * DBModeler/DiagramView.m: Include math.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@28000 72102866-910b-0410-8b05-ffd578937521
2009-02-27 16:26:09 +00:00
Matt Rice
b86447fc2f * DBModeler/MainModelEditor.m: Implement -viewSelectedObject
calling _activateSelection.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@27997 72102866-910b-0410-8b05-ffd578937521
2009-02-27 14:30:02 +00:00
Matt Rice
66c54bc152 * EOInterface/EODisplayGroup.m:
(-selectObjectsIdenticalTo:selectFirstOnNoMatch:): Disable some
questionable code.
(-setSelectedObjects:): Use a copy, not a mutable copy.
* DBModeler/DiagramView.m (-orderViewFront:): Move the view to
the end, not the beginning.
(sortSubviews()): Flip the ascending/descending order.
(showEntity:): floor randomly generated points.
* DBModeler/MainModelEditor.m: Rename -viewSelectedObject method
to _activateSelection. Remove calls to super viewSelectedObject.
* DBModeler/ModelerAttributeEditor.m
(-displayGroupDidChangeSelection): View the selected object when
the current selection is the attribute editors entity.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@27994 72102866-910b-0410-8b05-ffd578937521
2009-02-27 05:29:06 +00:00
Matt Rice
cf1768f553 * DBModeler/DiagramView.m (-dealloc): Release model.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@27941 72102866-910b-0410-8b05-ffd578937521
2009-02-21 15:41:52 +00:00
Matt Rice
bbcf66dd59 * DBModeler/Modeler.m (-newFromDatabase:): Remove extra release.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@27940 72102866-910b-0410-8b05-ffd578937521
2009-02-21 15:31:38 +00:00
Matt Rice
7708423f71 add hack for windows.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@27756 72102866-910b-0410-8b05-ffd578937521
2009-02-02 11:47:13 +00:00
Matt Rice
d0097cc42c * DBModeler/MainModelEditor.m: Implement
-draggingSourceOperationMaskForLocal:.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@27693 72102866-910b-0410-8b05-ffd578937521
2009-01-26 05:32:38 +00:00
Blake Nicholson
c62a5d5aa1 Minor bug fixes related to the PostgreSQL login panel. The login panel was
being shown twice when the New From Database... menu item was selected.  The
login panel was not editable when displayed due to its backing.

* DBModeler/Modeler.m

  (newFromDatabase:): Removed duplicate invocation of [adaptor runLoginPanel].

* EOAdaptors/PostgreSQLAdaptor/LoginPanel/PostgreSQLLoginPanel.m

  (init): Changed the panel's backing to NSBackingStoreBuffered instead of
  NSBackingStoreRetained.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26584 72102866-910b-0410-8b05-ffd578937521
2008-05-29 15:07:21 +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
2ba530d50e Clean up of the NSTableView's used by DBModeler. Added some preprocessor
directives to avoid using deprecated methods, and also use a few newer methods
to improve the appearance.  At some point, we should revisit these
NSTableView's as they seem to be candidates for re-factoring.

* DBModeler/ModelerEntityEditor.m, DBModeler/ModelerAttributeEditor.m

  (initWithParentEditor:): Replaced use of the deprecated
  [NSTableView setAutoresizesAllColumnsToFit:] on Mac OS X 10.4 and later with
  [NSTableView setColumnAutoresizingStyle:].  Also, make use of
  setUsesAlternatingRowBackgroundColors: and setGridStyleMask: to achieve an
  appearance that more closely mimics EOModeler.

* DBModeler/MainModelEditor.m

  (initWithDocument:): Replaced use of the deprecated
  [NSTableView setAutoresizesAllColumnsToFit:] on Mac OS X 10.4 and later with
  [NSTableView setColumnAutoresizingStyle:].


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26553 72102866-910b-0410-8b05-ffd578937521
2008-05-23 02:11:42 +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
Matt Rice
df5e05ebad * DBModeler/Resources/Menu-{Cocoa,GNUstep}.gsmarkup: Remove a TODO
for an old unused hack.
        * EOModeler/EOModelerDocument.m: Add some comments about the new hack.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26518 72102866-910b-0410-8b05-ffd578937521
2008-05-13 07:15:20 +00:00
Matt Rice
1b2a288fdc * DBModeler/Resources/MainMenu-GNUstep.gsmarkup: Use openPrefs: action
for preferences menu item.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26517 72102866-910b-0410-8b05-ffd578937521
2008-05-13 06:53:42 +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
Blake Nicholson
3844a77a37 * Modeler.m
Use NULL instead of nil for an empty NSMenuItem action.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26514 72102866-910b-0410-8b05-ffd578937521
2008-05-12 12:48:11 +00:00
Blake Nicholson
94d86a2b8e Worked on getting the menus to work properly on OS X. Other minor fixes.
* Modeler.m

  Changed use of the NSMenuItem protocol to the NSMenuItem class.  The
  NSMenuItem protocol is deprecated as of OS X 10.5.

  Modified the menu creation code so that it creates a native-looking menu on
  OS X.  Added a top-level app menu, as well as a services menu.

  Whitespace clean-up.  Changed everything to spaces.

* AttributeCell.m

  (drawWithFrame:inView:): Changed access of instance variable to use an
  accessor method instead for showsFirstResponder.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26513 72102866-910b-0410-8b05-ffd578937521
2008-05-12 02:58:33 +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
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
d807aac5c2 * TODO: Add an item.
* DBModeler/Inspectors/RelationshipInspector.m: Fix row index check.
        * DBModeler/Inspectors/GNUmakefile: Use lower case in
        HAS_RESOURCE_BUNDLES.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26260 72102866-910b-0410-8b05-ffd578937521
2008-03-10 12:48:00 +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
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
Matt Rice
0a02721cbe * DBModeler/AdaptorsPanel.m: Add responder chain, key equivalents,
autosize controls, and don't release the window when closed.
        * DBModeler/Resources/ConsistencyResults.gorm: Add responder chain.
        * DBModeler/Resources/Preferences.gorm: Add responder chain.
        * DBModeler/Resources/SQLGenerator.gorm: Add responder chain.
        * DBModeler/Preferences.m (-switchButtonChanged:): Handle -1 as
        no row selected.
        * DBModeler/EntityView.m: Call supers dealloc not release.
        * DBModeler/EntityView.h: Fix method declaration.
        * DBModeler/DiagramView.h: Ditto.
        * EOAdaptors/PostgreSQLAdaptor/LoginPanel/PostgreSQLLoginPanel.m: 
	Fix typo.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@24334 72102866-910b-0410-8b05-ffd578937521
2007-01-10 12:13:37 +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
Matt Rice
460fda5fa8 * EOAdaptors/PostgreSQL/LoginPanel/GNUmakefile: Fix path to
NATIVE_LIB_DIRS.
        * GDL2Palette/DisplayGroupInspector.m: Call super dealloc.
        * GDL2Palette/ResourceManager.m: Add comment.
        * DBModeler/DefaultColumnProvider: Set switch buttons to ineditable.
        * ChangeLog: Add missing entries...



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@24291 72102866-910b-0410-8b05-ffd578937521
2006-12-29 00:09:01 +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
c7840e1ec0 * EOModeler/EOModelerDocument.m (-windowWillClose:): If document
owns the current editor, reset the seletion path, and unset the
        current editor.
        * EOModeler/EOModelerInspectorController.m (-selectionChanged:):
        handle an empty selection path.
        * EOModeler/EOModelerApp.m: Remove usage of
        EOModel -setCreatesMutableObjects:.
        * EOModeler/EOModelerEditor.m
        (EOModelerCompoundEditor -setSelectionPath:): Fix if statement which
        always returned yes.
        * DBModeler/MainModelEditor.m: Add more information to comment.
        * EOModeler/EOModelerApp.h: Whitespace changes.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23868 72102866-910b-0410-8b05-ffd578937521
2006-10-14 00:51:32 +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
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