Matt Rice
e304d319d9
* GDL2Palette/ResourceManager.m: Add .eomodel files in the
...
document path.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@24342 72102866-910b-0410-8b05-ffd578937521
2007-01-11 22:52:57 +00:00
Matt Rice
7572547ef9
* GDL2Palette/README: New file.
...
* EOInterface/TODO: New file.
* GDL2Palette/ResourceManager.m: Uncomment some code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@24341 72102866-910b-0410-8b05-ffd578937521
2007-01-11 21:34:53 +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
c4ebe93050
* Documentation/GDL2Intro.texi: Add a chapter on EOInterface.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@24324 72102866-910b-0410-8b05-ffd578937521
2007-01-08 18:20:55 +00:00
Matt Rice
107c90f4f0
* EOAdaptors/SQLite3Expression.m: Implement
...
+dropDatabaseStatementsForConnectionDictionary:
administrativeConnectionDictionary:
and +foreignKeyConstraintStatementsForRelationship: to return empty
arrays.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@24320 72102866-910b-0410-8b05-ffd578937521
2007-01-06 18:52:37 +00:00
Matt Rice
1ad7507ac0
* EOAdaptors/SQLite3/SQLite3Channel.m (-evaluateExpression:):
...
Continue evaluating the expression until all statements are evaluated
or rows are returned.
* Documentation/GDL2Intro.texi: Add another section on relationships.
* Documentation/Examples/library.eomodel: Add relationships as class
properties.
* Documentation/Examples/GNUmakefile: Add GNUmakefile.eoexample2.
* Documentation/Examples/GNUmakefile.eoexample2: New file.
* Documentation/Examples/eoexample2.m: New example for relationships.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@24319 72102866-910b-0410-8b05-ffd578937521
2007-01-06 17:21:18 +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
24f0a05905
* Documentation/GDL2Intro/GDL2Intro.texi: Add more docs.
...
* Documentation/GDL2Intro/Examples/eoexample.m: Use an
EODatabaseDatasource.
* Documentation/GDL2Intro/Examples/connection.m: Load the model file
manually if it cannot be found.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@24317 72102866-910b-0410-8b05-ffd578937521
2007-01-05 15:06:22 +00:00
David Ayers
fd4261fdbe
* EOAdaptors/PostgreSQLAdaptor/PostgreSQLAdaptor.m
...
(assignExternalInfoForEntity:): Remove method replicated from
superclass.
* EOControl/EOKeyValueCoding.m (computeAvgForKey:): Return zero
for empty arrays.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@24314 72102866-910b-0410-8b05-ffd578937521
2007-01-04 22:51:31 +00:00
Matt Rice
25996234fd
* EOAdaptors/SQLiteAdaptor/LoginPanel/SQLite3LoginPanel.m: Remove
...
NSLog.
* Documentation/GDL2Intro/GDL2Intro.texi: Add more documentation.
* Documentation/GDL2Intro/library.eomodel: Add a connection
dictionary.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@24309 72102866-910b-0410-8b05-ffd578937521
2007-01-03 22:09:56 +00:00
Matt Rice
c8be238f0a
* EOControl/EOMutableKnownKeyDictionary.h/m: Remove usage of GCObject.
...
* EOControl/EOFault.h/m: Ditto.
* EOControl/EOFaultHandler.m: Ditto.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@24307 72102866-910b-0410-8b05-ffd578937521
2007-01-03 05:43:12 +00:00
Matt Rice
fb61a0883c
* GNUmakefile.in: Add Documentation subproject.
...
* Documentation: New Directory.
* Documentation/GDL2Intro: Ditto.
* Documentation/GDL2Intro/Examples: Ditto.
* Documentation/GDL2Intro/GDL2Intro.texi: New file.
* Documentation/GDL2Intro/GNUmakefile: Ditto.
* Documentation/GDL2Intro/Examples/GNUmakefile: Ditto.
* Documentation/GDL2Intro/Examples/example.GNUmakefile: Ditto.
* Documentation/GDL2Intro/Examples/GNUMakefile.connection: Ditto.
* Documentation/GDL2Intro/Examples/GNUmakefile.eoexample: Ditto.
* Documentation/GDL2Intro/Examples/eoexample.m: Ditto
* Documentation/GDL2Intro/Examples/connection.m: Ditto.
* Documentation/GDL2Intro/Examples/library.eomodel: Ditto.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@24306 72102866-910b-0410-8b05-ffd578937521
2007-01-03 05:41:16 +00:00
Matt Rice
17f3fcbd6b
* EOAdaptors/SQLiteAdaptor/GNUmakefile.in: Add login panel.
...
* EOAdaptors/SQLiteAdaptor/LoginPanel: New directory.
* EOAdaptors/SQLiteAdaptor/LoginPanel/GNUmakefile: New file.
* EOAdaptors/SQLiteAdaptor/LoginPanel/Makefile.postamble: Ditto
* EOAdaptors/SQLiteAdaptor/LoginPanel/SQLite3LoginPanel.m: Ditto.
* EOAdaptors/SQLiteAdaptor/LoginPanel/SQLite3LoginPanel.h: Ditto.
* variable-processing.make: Add comments.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@24305 72102866-910b-0410-8b05-ffd578937521
2007-01-03 01:24:50 +00:00
David Ayers
c4bf6fba06
* EOAccess/EOAccessFault.h/m: Minor cleanups for autogsdoc.
...
* EOAccess/EOAdaptor.m: Ditto.
* EOAccess/EOAdaptorChannel.h/m: Ditto.
* EOAccess/EOAdaptorContext.h: Ditto.
* EOAccess/EODatabase.h/m: Ditto.
* EOAccess/EODatabaseChannel.m: Ditto.
* EOAccess/EODatabaseContext.h/m: Ditto.
* EOAccess/EODatabaseDataSource.h: Ditto.
* EOAccess/EODatabaseOperation.h: Ditto.
* EOAccess/EOEntity.h/m: Ditto.
* EOAccess/EOModel.h/m: Ditto.
* EOAccess/EORelationship.h: Ditto.
* EOAccess/EOSchemaGeneration.h: Ditto.
* EOAccess/EOUtilities.h/m: Ditto.
* EOAccess/EOSQLExpression.h/m: Minor cleanups for autogsdoc.
(EOSchemaGeneration): Move implementation from here to ...
* EOAccess/EOSchemaGeneration.m: ... new file for autogsdoc.
* EOAccess/GNUmakefile: Add EOSchemaGeneration.m.
* EOAccess/EOUtilities.m (EOObjectStoreCoordinator EOModelGroup):
Move implementation from here to ...
* EOAccess/EOModelGroup.m: ... to here for autogsdoc.
* common.make: (GDL2_AGSDOC_FLAGS): Add extern declarations.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@24302 72102866-910b-0410-8b05-ffd578937521
2007-01-01 11:52:38 +00:00
David Ayers
97111db765
* EOAdaptors/PostgreSQLAdaptor/PostgreSQLValues.h/m:
...
Remove files.
* EOAdaptors/PostgreSQLAdaptor/PostgreSQLPrivate.h/m
Remove references to PostgreSQLValues.
* EOAdaptors/PostgreSQLAdaptor/PostgreSQLExpression.m:
Ditto.
* EOAdaptors/PostgreSQLAdaptor/GNUmakefile.in: Ditto.
* EOAdaptors/PostgreSQLAdaptor/PostgreSQLChannel.m
(attrRespondsToValueClass, attrRespondsToValueTypeChar)
(newValueForNumberTypeLengthAttribute)
(newValueForCharactersTypeLengthAttribute)
(newValueForBytesTypeLengthAttribute)
(newValueForDateTypeLengthAttribute)
(newValueForBytesLengthAttribute)
... to static inline functions here.
(getDigits): New support function.
(__dummy_function_used_for_linking) Remove link hack.
(initialize): Initialize new static variables.
Use new static inline functions instead of PostgreSQLValues.
(newValueForDateTypeLengthAttribute): Adapt to stricter NSDate
parsing behavior.
(NSS_SWF): Remove macro in favor of real method name.
* EOAdaptors/PostgreSQLAdaptor/PostgreSQLChannel.h
(encoding): New instance variable.
* EOAdaptors/PostgreSQLAdaptor/PostgreSQLAdaptor.h
(PostgreSQLException): Move declation for documentation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@24298 72102866-910b-0410-8b05-ffd578937521
2006-12-31 01:32:05 +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
a485c57c9a
* EOControl/EOObserver.m: Use an NSHashTable to store observers.
...
Check that objects and observers are not nil.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@24118 72102866-910b-0410-8b05-ffd578937521
2006-11-17 04:10:34 +00:00
Matt Rice
e4e04424f2
* EOControl/EOObserver.m: Fix leak when removing observers.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@24105 72102866-910b-0410-8b05-ffd578937521
2006-11-15 18:18:56 +00:00
Matt Rice
a34631c202
* EOAccess/EOEntity.m: Break retain cycle for parent/sub entities.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23956 72102866-910b-0410-8b05-ffd578937521
2006-10-23 18:00:09 +00:00
Matt Rice
c3bb66bcc3
* EOAccess/EOEntity.m (-dealloc): Add missing calls to release,
...
reorganize.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23955 72102866-910b-0410-8b05-ffd578937521
2006-10-23 17:39:24 +00:00
Matt Rice
9e08693c96
* EOAccess/EOModel.m (-dealloc): Set entities model to nil.
...
* EOAccess/EOEntityPriv.h: Add functions for maintining list of
relationships and their destination entities.
* EOAccess/EOEntity.m: Implement new functions.
(-dealloc:): Set attributes entities, and relationships source
and destinations entities to nil.
(+initialize:): Initialize static map table.
* EOAccess/EORelationship.m: Call functions to maintain
destination entities.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23954 72102866-910b-0410-8b05-ffd578937521
2006-10-23 15:29:27 +00:00
Matt Rice
a1605b6f72
* EOAccess: Revert previous changes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23949 72102866-910b-0410-8b05-ffd578937521
2006-10-23 11:39:48 +00:00
Matt Rice
f9f1fdb6d3
* EOAccess/EOPrivate.h: Add notification constants.
...
* EOAccess/EOAttribute.m: Observe EOEntity's notification.
* EOAccess/EORelationship.m: Observe EOEntity's notification.
* EOAccess/EOModel.m: Post notification when deallocating.
* EOAccess/EOEntity.m: Post notification when deallocating, and
observe EOModels notification.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23946 72102866-910b-0410-8b05-ffd578937521
2006-10-22 20:16:31 +00:00
Matt Rice
da74a77858
* EOAccess/EOAttribute.m: Remove usage of GCObject, and its
...
subclasses.
* EOAccess/EOModelGroup.h: Ditto.
* EOAccess/EOStoredProcedure.m: Ditto.
* EOAccess/EOModelGroup.m: Ditto.
* EOAccess/EOExpressionArray.h: Ditto.
* EOAccess/EORelationship.h: Ditto.
* EOAccess/EOExpressionArray.m: Ditto.
* EOAccess/EOEntity.h: Ditto.
* EOAccess/EOEntity.m: Ditto.
* EOAccess/EOJoin.h: Ditto.
* EOAccess/EOModel.h: Ditto.
* EOAccess/EOAttribute.h: Ditto.
* EOAccess/EOAttributePriv.h: Ditto.
* EOAccess/EOJoin.m: Ditto.
* EOAccess/EORelationship.m: Ditto, and don't retain source and
* EOAccess/EOStoredProcedure.h: Ditto, and don't retain model.
* EOAccess/EOModel.m: Ditto.
(-addStoredProcedure:): Fix error when using non-mutable objects.
(-dealloc): Add missing ivars.
destination entities.
* EOAccess/GNUmakefile: Remove slash on last header file.
* EOControl/EOPrivate.m: Update comment.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23874 72102866-910b-0410-8b05-ffd578937521
2006-10-15 12:23:42 +00:00
David Ayers
e7fa41c41e
* EOAccess/EOAdaptor.m (databaseEncoding): Use NSStringEncoding
...
enum symbols instead of literal values.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23869 72102866-910b-0410-8b05-ffd578937521
2006-10-14 09:05: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
David Ayers
43502e1698
* EOAccess/EOAdaptor.m (databaseEncoding): Reimplement to not
...
rely on GSEncodingName.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23862 72102866-910b-0410-8b05-ffd578937521
2006-10-13 04:54:09 +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
fa9b96612d
* EOAccess/EOEntity.m (-awakeWithPropertyList:): Setup the
...
connection to the parent entity.
(-encodeIntoPropertyList:): Encode the parent entity name.
(-init): Initialize the _subEntities ivar.
(-addSubEntity:): Pass correct argument.
* EOAccess/EOModel.m (-encodeTableOfContentsIntoPropertyList:):
encode the parent entity name.
(-_addEntityWithPropertyList): Call -awakeWithPropertyList:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23740 72102866-910b-0410-8b05-ffd578937521
2006-10-03 15:19:33 +00:00
Matt Rice
a7f90ca359
* EOAccess/EOEntityPriv.h: Rename setParentEntity: to
...
_setParentEntity:.
* EOAccess/EOEntity.m (-addSubEntity:): Ditto.
(-removeSubEntity:): Ditto, and check that self is the parent before
setting to nil.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23707 72102866-910b-0410-8b05-ffd578937521
2006-10-02 07:29:29 +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
Matt Rice
98669af5e1
* DBModeler/DefaultColumnProvider.h/m: declare default columns as
...
extern.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23695 72102866-910b-0410-8b05-ffd578937521
2006-10-01 16:32:23 +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
00b4601f97
* EOAdaptors/SQLiteAdaptor/: Initial import of SQLite3 adaptor.
...
* configure: Regenerate.
* config/sqlite3.m4: New file.
* configure.ac: Add detection for sqlite3.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23691 72102866-910b-0410-8b05-ffd578937521
2006-10-01 07:29:49 +00:00
Matt Rice
e181d5707e
* EOAccess/EODatabase.m (-snapshots): Return an autoreleased copy.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23656 72102866-910b-0410-8b05-ffd578937521
2006-09-28 17:01:29 +00:00
Matt Rice
0412fd6a40
* EOAccess/EOSQLExpression.m
...
(+createTableStatementsForEntityGroup:)
(+dropTableStatementsForEntityGroup:)
(+primaryKeySupportStatementsForEntityGroup:)
(+createTableStatementsForEntityGroup:): Return an empty array for
abstract entities.
* EOAdaptors/PostgreSQLAdaptor/PostgreSQLExpression.m
(+dropTableStatementsForEntityGroup:): Ditto.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23653 72102866-910b-0410-8b05-ffd578937521
2006-09-28 15:25:30 +00:00
Matt Rice
9afa810960
(-selectNext): Implement.
...
(-selectPrevious): Ditto.
(-enabledToSetSelectedObjectValueForKey:): Handle query mode.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23638 72102866-910b-0410-8b05-ffd578937521
2006-09-27 11:31:12 +00:00
Matt Rice
e37c39caec
* EOInterface/EODisplayGroup.m
...
(-enabledToSetSelectedObjectValueForKey:)
(-qualifierFromQueryValues:)
(-equalToQueryValues:),(-setEqualToQueryValues:)
(-greaterThanQueryValues:),(-setGreaterThanQueryValues:)
(-lessThanQueryValues:),(-setLessThanQueryValues:)
(-qualifyDisplayGroup),
(-qualifyDataSource): Implement.
(-_queryDictForOperator:): New private method.
(-_qualifierForKey:value:defaultOperator:): Ditto.
(-setValue:forObject:key:): Handle @query keys.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23628 72102866-910b-0410-8b05-ffd578937521
2006-09-26 15:10:35 +00:00
Matt Rice
dc494b02b0
* EOInterface/EODisplayGroup.m
...
(-enabledToSetSelectedObjectValueForKey:): Implement.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23596 72102866-910b-0410-8b05-ffd578937521
2006-09-22 23:59:21 +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
a41849407a
* EOInterface/EOGenericControlAssociation.m (-endEditing):
...
Fix copy/paste error.
* GDL2Palette/Palette.[hm]: Load bundles from GDL2PaletteBundles
key.
* GDL2Palette/ConnectInspector.m: Replace static map table with
walking the list of connectors.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23579 72102866-910b-0410-8b05-ffd578937521
2006-09-21 06:46:45 +00:00
Matt Rice
b6725c1ce5
* GDL2Palette/DisplayGroupInspector.m: -revert: update local keys.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23564 72102866-910b-0410-8b05-ffd578937521
2006-09-19 21:09:56 +00:00
Matt Rice
c30d6c1913
* GDL2Palette/KeyWrapper.h: Add LocalType.
...
* GDL2Palette/ConnectInspector.m (_localKeysFromDisplayGroup):
New
method.
(updateValues:): Add local keys.
(_oaBrowserAction:): Enable ok button for LocalType.
Handle relationships explicitly
(browser:willDisplayCell:atRow:column:): Enable and set leaf for
LocalType keys.
* GDL2Palette/DisplayGroupInspector.[hm]: Add editor for local
keys.
* GDL2Palette/GDL2DisplayGroupInspector.gorm: Ditto.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23563 72102866-910b-0410-8b05-ffd578937521
2006-09-19 19:21:14 +00:00
Matt Rice
06ba08fb90
* DBModeler/SQLGenerator.m (-executeSQL:): Fix memory leak,
...
Remove a hack, add a FIXME.
* EOInterface/EODisplayGroup.m (-initWithCoder:): Move fetching
on load to -awakeFromNib
* GDL2Palette/DisplayGroupInspector.[hm]
* GDL2Palette/GDL2DisplayGroupInspector.gorm: New files.
* GDL2Palette/IB+Categories.m: Add display group Inspector.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23552 72102866-910b-0410-8b05-ffd578937521
2006-09-18 23:39:37 +00:00
Matt Rice
7c3e947f68
* DBModeler/SQLGenerator.m
...
* Tools/eoutil.m: change Postgres to PostgreSQL.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23547 72102866-910b-0410-8b05-ffd578937521
2006-09-17 15:41:22 +00:00
Matt Rice
4394a323d0
* EOAccess/EOModel.m (writeToFile:): Use the default permissions
...
on .eomodeld files.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23537 72102866-910b-0410-8b05-ffd578937521
2006-09-16 21:34:10 +00:00
Matt Rice
45d6b72c04
* DBModeler/Inspectors/AttributeInspector.[hm]: Merge private
...
dictionarys without conflicting keys. Replace Integer/Double
types with a generic Number type.
* DBModeler/Inspectors/AttributeInspector.gorm: Update interface
for 'Number'.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23536 72102866-910b-0410-8b05-ffd578937521
2006-09-16 18:58:33 +00:00
Matt Rice
05f8a3e375
* DBModeler/Inspectors/AttributeInspector.h/m: implement
...
valueType
pop-up button, and add macro to clean up some code.
* DBModeler/Inspectors/AttributeInspector.gorm: Ditto.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23535 72102866-910b-0410-8b05-ffd578937521
2006-09-16 14:33:20 +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
David Ayers
081f2c530d
* EOAccess/EOAttribute.[hm]: Add documentation.
...
(_valueTypeChar): Replace char type with ...
(_valueTypeCharacter): ... unichar type.
([_valueTypeCharacter): Add comment about caching issue.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23531 72102866-910b-0410-8b05-ffd578937521
2006-09-16 03:27:17 +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
Matt Rice
40fc895654
* DBModeler/Resources/ModelDrag.tiff: Update Image.
...
* DBModeler/Resources/DBModeler.tiff: Correct image format.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23529 72102866-910b-0410-8b05-ffd578937521
2006-09-15 14:17:01 +00:00
Matt Rice
9a603bc981
* EOAdaptors/PostgreSQLAdaptor/LoginPanel/Makefile.postamble: Remove
...
symlink creation/removal.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23528 72102866-910b-0410-8b05-ffd578937521
2006-09-15 14:04:42 +00:00
David Ayers
524499d170
Rename PostgreSQL Adpator directory.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23523 72102866-910b-0410-8b05-ffd578937521
2006-09-15 12:44:19 +00:00
Matt Rice
b47f3c16f8
* EOAdaptors/Postgres95/*.h/m: Rename files from Postgres95 to
...
Postgres.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23522 72102866-910b-0410-8b05-ffd578937521
2006-09-15 12:14:20 +00:00
Matt Rice
c54164c770
* EOAdaptors/Postgres95/{*,*/*}: Rename from Postgres95 to Postgres.
...
* Tools/eoutil.m: Ditto.
* DBModeler/SQLGenerator.m: Ditto.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23521 72102866-910b-0410-8b05-ffd578937521
2006-09-15 12:05:56 +00:00
Matt Rice
dd9ac05f71
* GNUmakefile.in: Remove reference to config.make
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23514 72102866-910b-0410-8b05-ffd578937521
2006-09-14 21:31:17 +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
7331d77528
* EOAdaptors/Postgres95/GNUmakefile.in:
...
Install into GNUSTEP_SYSTEM_ROOT by default.
* * Update email addresses for Mirko Viviani and David Ayers.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23510 72102866-910b-0410-8b05-ffd578937521
2006-09-14 16:06:21 +00:00
David Ayers
e6903b13cf
* EOAdaptors/Postgres95/GNUmakefile.in:
...
Install into GNUSTEP_SYSTEM_ROOT by default.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23507 72102866-910b-0410-8b05-ffd578937521
2006-09-14 14:26:07 +00:00
David Ayers
32d77a66f7
* Version 0.10.1
...
* README: Correct modeler application name.
* ANNOUNCE: Update to followup release.
* NEWS: Ditto.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23503 72102866-910b-0410-8b05-ffd578937521
2006-09-14 12:10:39 +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
c67717ca70
* Version 0.10.0
...
* ANNOUNCE: New file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23500 72102866-910b-0410-8b05-ffd578937521
2006-09-14 09:27:41 +00:00
Matt Rice
5779cc0f8b
* EOControl/EOObserver.m (EOObserverCenter +_forgetObject:): New
...
private method.
(+notifyObserversObjectWillChange:): Change omniscient observer
arguments.
* EOControl/EOEditingContext.m (NSObject -dealloc): Call
_forgetObject:.
* EOControl/EOPrivate.h: Add category for EOObserverCenter private
methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23490 72102866-910b-0410-8b05-ffd578937521
2006-09-13 20:44:53 +00:00
David Ayers
51c4edbfd8
* README: Update dependencies. Remove reference to external
...
EOInterface implementation. Update comments about DBModeler.
* NEWS: Mention major features of current release.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23475 72102866-910b-0410-8b05-ffd578937521
2006-09-12 20:42:57 +00:00
David Ayers
7bd929705b
* EOInterface/EOInterface.gsdoc: New file.
...
* EOInterface/GNUmakefile: Update variables to build documentation.
* EOAccess/EOAccess.gsdoc: Specify title.
* EOControl/EOControl.gsdoc: Ditto.
* GDL2.gsdoc: Use sections allowed by DTD. Remove reference to
MulleEOInterface.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23474 72102866-910b-0410-8b05-ffd578937521
2006-09-12 20:39:43 +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
7b0373241f
* Version: Update to 0.10.0
...
* GNUmakefile: Set package name for release targets.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23459 72102866-910b-0410-8b05-ffd578937521
2006-09-12 09:48:23 +00:00
Matt Rice
a2e920b01f
* DBModeler/Resources/DBModeler.tiff: New file.
...
* DBModeler/Resources/Locking_Header.tiff: Ditto.
* DBModeler/Resources/Key_On.tiff: Add check box background.
* DBModeler/Resources/Info-GNUstep.plist: Update info panel copyright.
* DBModeler/ModelerEntityEditor.m (-dealloc): Don't set the datasource
to nil, its handled in EODisplayGroup -dealloc.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23409 72102866-910b-0410-8b05-ffd578937521
2006-09-07 16:20:38 +00:00
David Ayers
bc9cee7758
* GDL2Palette/KeyWrapper.h: New file.
...
* GDL2Palette/KeyWrapper.m: Ditto.
* GDL2Palette/ConnectionInspector.h
* GDL2Palette/ConnectionInspector.m (init): Initialize _values.
(-awakeFromNib): Update handling of horizontal scroller.
(-_associationClassesUsableWithObject:): Implement.
(-setObject:): Fix assignment issues.
(-_keysFromClassDescription:): Implement.
(-_keysFromArray:): Ditto.
(-updateValues): Reimplement.
(-_oaBrowserAction:): Ditto.
(-browser:numberOfRowsInColumn:): Refine implementation.
(-browser:willDisplayCell:atRow:column:): Reimplement.
(-ok:): Update associations in active document.
* GDL2Palette/ResourceManager.m (defaultEditingContext): Try to find
defaultEditingContext in document objects.
(addResourcesFromPasteboard:): Reimplement.
* GDL2Palette/Foundation+Categories.m:
(arrayWithObjectsRespondingYesToSelector:): Fix leak.
(arrayWithObjectsRespondingYesToSelector:withObject:): Ditto.
* GDL2Palette/GNUmakefile: Use PALETTE_LIBS instead of
ADDITIONAL_LDFLAGS to link libraries. Add new files.
* GDL2Palette/GDL2Palette.tiff: New file.
* GDL2Palette/GDL2ConnectionInspector.gorm: New files.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23398 72102866-910b-0410-8b05-ffd578937521
2006-09-05 22:39:30 +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
David Ayers
5109a54a70
* EOModeler/EOMInspector.h
...
* EOModeler/EOMInspector.m: Cleanups.
(selectedObjects): Reimplement.
(selectedObject): Return last viewed path if no selection was made.
* EOModeler/EOModelerDocument.m: Reimplement.
* EOModeler/EOMInspectorController.m (init): Ditto.
(-_selectionChanged:): Ditto.
(-_selectInspector:): Implement and renamed from selectInspector:.
* EOModeler/EOModelerEditor.h
* EOModeler/EOModelerEditor.m: Add documentation.
(-initWithDocument:): Initialize instance variable.
(-debugSelectionPath): Implement.
(-[EOModelerCompoundEditor initWithDocument:]): Remove
initializtation.
(-[EOModelerCompoundEditor selectionDidChange]): Implement.
(-[EOModelerCompoundEditor setSelectionPath:]): Call
selectionDidChange instead of sending notifcation directly.
(-[EOModelerCompoundEditor viewSelectedObject]): Implement.
(-[EOModelerEmbedibleEditor dealloc]): Implement.
(-[EOModelerEmbedibleEditor initWithParentEditor:]): Observe
EOMSelectionChangedNotification.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23396 72102866-910b-0410-8b05-ffd578937521
2006-09-05 21:38:09 +00:00
David Ayers
bf90955152
* EOInterface/EOAssociation.m (-establishConnection): Simplify to
...
allow posing.
(-canBindAspect:displayGroup:key:): Return YES by default.
* EOInterface/EOTextAssociation.m: Minor formatting issue. Include
privat header:
(-subjectChanged): Set empty string when nil/null value is set.
* EODisplayGroup.m (-initWithCoder:): Fetch when auto fetch is enabled.
(-setObjectArray:): Select new selected objects.
(-redisplay): Don't call notifyObserversObjectWillChange: explicitly.
(-setSelectionIndexes:): Implement displayGroup:didChangeSelection:
handling.
(-selectObjectsIdenticalTo:): Reimplement.
(-selectObjectsIdenticalTo:selectFirstOnNoMatch:): Ditto.
(-deleteSelection): Ditto.
(-insertObject:atIndex:): Fix redisplay timing with respect to
delegate.
(-deleteObjectAtIndex:): Implement.
(-association:failedToValidateValue:forKey:object:errorDescription:)
Ditto.
(-editorHasChangesForEditingContext:): Ditto.
(-editingContextWillSaveChanges:): Ditto.
(-setValue:forObjectAtIndex:key:): Validate index range.
(-objectsChangedInEditingContext:): Add workaround until issues
can be investigated.
* EOInterface/EOMasterDetailAssociation.m (subjectChanged): Qualify
datasource's relationship independent of selected object.
* EOInterface/EOTableViewAssociation.m (associationClassesSuperseded):
Implement.
(subjectChanged): Reimplement.
(tableViewSelectionDidChange:): Ditto.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23395 72102866-910b-0410-8b05-ffd578937521
2006-09-05 21:16:56 +00:00
David Ayers
c4e21e0b55
* configure.ac (gorm-palette): Add configure option to exclude
...
building of palette until auto detection works reliably.
* config.make.in: New file.
* configure: Regenerate.
* GNUmakefile: Include new file.
* Makefile.postamble: Remove generated config.make on distclean.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23394 72102866-910b-0410-8b05-ffd578937521
2006-09-05 20:42:03 +00:00
David Ayers
0904fd9b19
[Report #16429 ]
...
* EOAdaptors/Postgres95/Postgres95Private.m
(PSQLA_postgresCalendarFormat): Change format from to include
milliseconds suggested by: Sergey Golovin, svgol at mail dot ru.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@22810 72102866-910b-0410-8b05-ffd578937521
2006-04-24 17:24:13 +00:00
David Ayers
3d705c00c4
* EOControl/EOGenericRecord.m
...
([_getValueForKey:selector:type:size:offset:]): Replace deprecated use
of GSObjCGetValue with GSObjCGetVal.
([_setValueForKey:selector:type:size:offset:]): Replace deprecated use
of GSObjCSetValue with GSObjCSetVal.
* EOControl/EOKeyValueCoding.m
([NSObject takeValue:forKey:]): Replace deprecated use of
GSObjCSetValue with GSObjCSetVal.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@22805 72102866-910b-0410-8b05-ffd578937521
2006-04-24 06:38:15 +00:00
Matt Rice
c19aa897d7
* EOAccess/EOEntity.m (-relationships): Fix whitespace from previous
...
commit.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@22684 72102866-910b-0410-8b05-ffd578937521
2006-03-19 18:39:38 +00:00
Matt Rice
fbedef852f
* EOControl/EODetailDataSource.m (-editingContext): Return the master
...
data sources editing context.
* EOControl/EOGlobalID.m (-description): Correct conversion specification.
* EOAccess/EOModel.m (-referencesToProperty:): Implement.
* EOAccess/EORelationship.m (-referencesProperty:): Fix bug in or when
sending messages to nil.
(-validateName:): Return nil if the name is the properties current name.
* EOAccess/EOModel.m (-validateName:): Ditto.
* EOAccess/EOEntity.m (-validateName:): Ditto.
(-relationships): Handle partially converted relationships array.
(-addAttribute:): Remove unnecessary cast.
(-addRelationship:): Ditto.
(-removeAttribute): Remove property from the class properties and
primary key attributes arrays.
(-removeRelationship:): Remove property from the class properties
array.
(-_setIsEdited:): Rebuild _relationshipsByName.
* EOAdaptors/Postgres95/Postgres95SQLExpression.m: Fix warning.
* EOAdaptors/Postgres95/Postgres95Values.m: Remove c99 usage.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@22681 72102866-910b-0410-8b05-ffd578937521
2006-03-19 18:03:50 +00:00
Matt Rice
5faa90d0e1
* EOAdaptors/Postgres95/Postgres95Adaptor.m: Add braces to typeNames to
...
avoid warnings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@22184 72102866-910b-0410-8b05-ffd578937521
2005-12-18 23:26:53 +00:00
Matt Rice
c6a1ebfb91
* EOAdaptors/Postgres95/LoginPanel/postgreslogo.tif: New file.
...
* EOAdaptors/Postgres95/LoginPanel/GNUmakefile: Add postgreslogo.tif
* EOAdaptors/Postgres95/LoginPanel/Postgres95LoginPanel.[h/m]: Show
logo, and make the login panel more visually appealing. Switch databases
table view to a NSComboBox.
* DBModeler/KVDataSource.m: Return nil in unimplemented methods with return
values.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@22181 72102866-910b-0410-8b05-ffd578937521
2005-12-18 22:55:23 +00:00
David Ayers
2525162b8d
* EOControl/EOEditingContext.m (-[forgetObject:]: Clear registered
...
snapshots.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@22180 72102866-910b-0410-8b05-ffd578937521
2005-12-18 22:42:03 +00:00
David Ayers
01966f05be
* EOControl/EOGlobalID.m (-[EOGlobalID copyWithZone:]): Optimize
...
to return self as GIDs are immutable and they are used as dictionary
keys which are generally copied.
(-[EOTemporaryGlobalID copyWithZone:]): Remove.
(-[EOTemporaryGlobalID description]): Implement.
* EOControl/EOKeyGlobalID.m (-[EOKeyGlobalID copyWithZone:]): Remove.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@22179 72102866-910b-0410-8b05-ffd578937521
2005-12-18 22:34:54 +00:00
David Ayers
7b47aa7c2e
* EOControl/EOEvent.[hm]: New files.
...
* EOControl/EOEventCenter.[hm]: New files.
* EOControl/EOControl.h: Add EOEvent.h and EOEventCenter.h.
* EOControl/GNUmakefile: Add EOEvent.h/m and EOEventCenter.h/m.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@22178 72102866-910b-0410-8b05-ffd578937521
2005-12-18 16:24:02 +00:00
David Ayers
6240fa79a7
* EOAccess/EOAttribute.m: Translate comment to avoid
...
non-ASCII encoding.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@22177 72102866-910b-0410-8b05-ffd578937521
2005-12-18 13:47:07 +00:00
David Ayers
f4f62983ec
* EOControl/EOMultiReaderLock.[h/m]: New files.
...
* EOControl/EOControl.h: Add EOMultiReaderLock.h.
* EOControl/GNUmakefile: Add EOMultiReaderLock.h/m.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@22176 72102866-910b-0410-8b05-ffd578937521
2005-12-18 13:35:00 +00:00
David Ayers
e69eb8938e
* AUTHORS: Add Matt Rice.
...
* GDL2.gsdoc: Ditto.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@22175 72102866-910b-0410-8b05-ffd578937521
2005-12-18 13:30:49 +00:00
David Ayers
e13af57d12
* EOControl/EOQualifier.m (getKey): Fix parsing of 'nil'
...
EOKeyValueQualifiers.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@22157 72102866-910b-0410-8b05-ffd578937521
2005-12-05 20:35:08 +00:00
David Ayers
a0cdfdc4d9
* EOControl/EOQualifier.m (_isLike): Handle unichar characters.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@22126 72102866-910b-0410-8b05-ffd578937521
2005-11-30 20:50:30 +00:00
David Ayers
c1a9dc7ab1
* EOControl/EOQualifier.m (cimSEL, spaceSet, alnumSet, digitSet)
...
(spaceCIM, alnumCIM, digitCIM): New static globals for unichar
handling.
([+initialize]): Initialize new variables.
(getOperator, getKey, isNotQualifier, whichQualifier): Use
unichar instead of char.
([+qualifierWithQualifierFormat:varargList:]): Ditto.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@22124 72102866-910b-0410-8b05-ffd578937521
2005-11-30 15:51:31 +00:00
David Ayers
f4651ff1a7
* EOControl/EOSharedEditingContext.[hm]: New files.
...
* EOControl/EOEditingContext.[hm]: Use EOSharedEditingContext.
(sharedEditingContext, setSharedEditingContext:): New methods.
(-initWithParentObjectStore:): Handle EOSharedEditingContext.
(-dealloc, -faultForGlobalID:editingContext:): Ditto.
(-objectForGlobalID:, -globalIDForObject:): Ditto.
(-initializeObject:withGlobalID:editingContext:): Ditto.
(-refaultObject:withGlobalID:editingContext:): Ditto.
(-_processInitializedObjectsInSharedContext:): New method.
(-_defaultEditingContextNowInitialized:): Ditto.
(-_objectsInitializedInSharedContext:) Ditto.
(-_defaultSharedEditingContextWasInitialized:) Ditto.
* EOControl/EOControl.h: Added EOSharedEditingContext.h.
* EOControl/GNUmakefile: Added EOSharedEditingContext.[hm].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@22117 72102866-910b-0410-8b05-ffd578937521
2005-11-28 22:10:05 +00:00
David Ayers
5714dc3fcb
* EOAdaptors/Postgres95/Postgres95Adaptor.m (typeNames): Add
...
serial and serial8 from patch 1777 from Simon Stapleton.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@21938 72102866-910b-0410-8b05-ffd578937521
2005-11-02 14:07:03 +00:00
David Ayers
42e76eae72
* EOControl/EOKeyValueCoding.h/m
...
(unableToSetNullForKey:): Remove deprecated -base/Foundation hook.
(setNilValueForKey:) Override new hook to call unableToSetNilForKey:.
(unableToSetNilForKey:): Raise exception as documented.
(takeValue:forKey:): Implement here to avoid deprecation warning.
(takeValue:forKeyPath:): Ditto.
(takeValuesFromDictionary:): Ditto.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@21767 72102866-910b-0410-8b05-ffd578937521
2005-10-02 16:09:42 +00:00
David Ayers
a4764b2aaa
* EOControl/EOAndQualifier.m,
...
* EOControl/EOKeyComparisonQualifier.m,
* EOControl/EOKeyValueQualifier.m,
* EOControl/EOOrQualifier.m: ([-description]) Make qualifiers
user presentable like in WO.
(-[debugDescription]): New deprecated method for old descriptions.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@21766 72102866-910b-0410-8b05-ffd578937521
2005-10-02 13:56:00 +00:00
Manuel Guesdon
1ae3f10933
* EOAccess/EOSQLQualifier.m: change in EOAndQualifier and
...
EOOrQualifier -schemaBasedQualifierWithRootEntity to allow
nil schemaBasedQualifier.
fix in EOKeyValueQualifier -schemaBasedQualifierWithRootEntity:
to handle key like rel1.rel2.rel3 (see Testsuite
EOKeyValueQualifier01.m)
* EOAccess/EOSQLExpression.m: added NSAssert in
-sqlStringForKeyValueQualifier:
* EOAccess/EORelationship.m: added NSAssert in setDefinition:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@21682 72102866-910b-0410-8b05-ffd578937521
2005-08-25 18:32:44 +00:00
Manuel Guesdon
b9ab8664ff
* EOControl/EOEditingContext.m: fix _processRecentChanges
...
for insert+delete before saving changes (see EOEditingContext03
in Testsuite)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@21673 72102866-910b-0410-8b05-ffd578937521
2005-08-24 12:00:15 +00:00
Manuel Guesdon
708bacc116
* EOAdaptors/Postgres95/Postgres95Private.m: added
...
PSQLA_NSDateClass initialization in PSQLA_PrivInit()
* EOAdaptors/Postgres95/Postgres95SQLExpression.m:
fix initialized in +initialize
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@21671 72102866-910b-0410-8b05-ffd578937521
2005-08-23 17:25:01 +00:00
Manuel Guesdon
d6d1029a3e
* EOControl/EOGenericRecord.m: fix -willChange call (don't call
...
it for takeStoredValue:forKey and for -setXX method).
* EOControl/EOClassDescription.m: check if value is not
already set before adding/setting it in
_setObject:forBothSidesOfRelationshipWithKey: and
addObject:toBothSidesOfRelationshipWithKey:
* EOAccess/EOAttribute.m: log in -validateValue:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@21669 72102866-910b-0410-8b05-ffd578937521
2005-08-23 14:40:44 +00:00