* 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
* 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
(-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
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
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
(-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
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
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
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
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
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
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
* 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
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
* 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
* 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
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
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
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