Commit graph

644 commits

Author SHA1 Message Date
David Ayers
f03e51cce5 * EOControl/EOClassDescription.h/m
([NSObject-validateTakeValue:forKeyPath:]): Implement.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@25619 72102866-910b-0410-8b05-ffd578937521
2007-11-27 20:03:43 +00:00
David Ayers
f0afba5d74 * EOAdaptors/PostgreSQLAdaptor/Makefile.preamble
(ADDITIONAL_NATIVE_LIB_DIRS): Correct include path.
	(ADDITIONAL_LIB_DIRS): Remove redundant directives.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@25599 72102866-910b-0410-8b05-ffd578937521
2007-11-22 08:39:48 +00:00
David Ayers
ad9989bbe3 * EOAdaptors/PostgreSQLAdaptor/PostgreSQLChannel.m:
([EOAttribute-_valueTypeCharacter]): Correct references from
	_valueTypeChar.
	([PostgreSQLChannel+initialize]): Ditto.
	(newValueForNumberTypeLengthAttribute): Ditto.  Handle nil
	return value of valueType.
	Bug reported by: Eric Johns <ericjohns@verizon.net>.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@25597 72102866-910b-0410-8b05-ffd578937521
2007-11-20 23:25:32 +00:00
David Ayers
1bfaf20463 * ChangeLog: Correct ChangeLog dates.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@25596 72102866-910b-0410-8b05-ffd578937521
2007-11-20 23:16:43 +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
David Ayers
92b1704dd9 * Version 0.11.0
* README: Update prerequisites and project names.
	* TODO: Update.
	* INSTALL: Remove reference to GNUSTEP_SYSTEM_ROOT.
	* ANNOUNCE: Update for release.
	* NEWS: Ditto.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@25320 72102866-910b-0410-8b05-ffd578937521
2007-07-11 18:45:06 +00:00
David Ayers
9f8aee7c39 * EOAccess/EOSchemaSynchronization.h/m: New files with stub
implementations.
	* EOAccess/GNUmakefile: Add EOSchemaSynchronization.h/m.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@25318 72102866-910b-0410-8b05-ffd578937521
2007-07-11 18:13:47 +00:00
David Ayers
99ad68b410 * EOControl/EOAggregateEvent.h/m: New files with stub
implementations.
	* EOControl/GNUmakefile: Add EOAggregateEvent.h/m.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@25317 72102866-910b-0410-8b05-ffd578937521
2007-07-11 18:11:36 +00:00
David Ayers
fb1d4774d5 * EOInterface/EODisplayGroup.m (-deleteObjectAtIndex:):
* EOModeler/EOModelerDocument.m (-adaptor, -saveToPath:):
	Return with NS_VALUERETURN from within exception handling block.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@25123 72102866-910b-0410-8b05-ffd578937521
2007-05-05 10:34:42 +00:00
David Ayers
9be4405f6a * EOAdaptors/PostgreSQLAdaptor/LoginPanel/GNUmakefile,
* EOAdaptors/SQLiteAdaptor/LoginPanel/GNUmakefile:
	Include variable-processing.make.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@25115 72102866-910b-0410-8b05-ffd578937521
2007-05-02 06:08:30 +00:00
David Ayers
3b0e665b97 * Documentation/GDL2Intro/GDL2Intro.texi: Cleanup node
structure to avoid build failure during documentation build.
	* Documentation/GDL2Intro/Examples/connection.m,
	* Documentation/GDL2Intro/Examples/eoexample.m,
	* Documentation/GDL2Intro/Examples/eoexample2.m: Minor
	formatting tweaks for documentation build.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@25112 72102866-910b-0410-8b05-ffd578937521
2007-05-01 20:51:18 +00:00
David Ayers
d0f30340f9 * EOAccess/EORelationship.m,
* EOAccess/EOAttribute.h,
	* Tools/EOEntity+GSDoc.m,
	* Tools/EOAttribute+GSDoc.m: Remove references to GC-classes
	in comments.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@25102 72102866-910b-0410-8b05-ffd578937521
2007-05-01 12:01:43 +00:00
David Ayers
31f0adba83 * EOAdaptors/PostgreSQLAdaptor/PostgreSQLChannel.m
(newValueForDateTypeLengthAttribute): Correct determination
	of seconds and milliseconds.  Make optimization explicit.
	[BUG:19503 reported by Manuel Guesdon].


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@25060 72102866-910b-0410-8b05-ffd578937521
2007-04-16 07:24:18 +00:00
David Ayers
74ad3ed78b * EOAdaptors/SQLiteAdaptor/LoginPanel/Makefile.postamble:
Replace spaces with tab.

	* Makefile.postamble: Replace INSTALL_ROOT_DIR with DESTDIR.

	* EOAdaptors/PostgreSQLAdaptor/PostgreSQLChannel.m
	(_evaluateExpression:withAttributes:):  Use the channel's
	encoding.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@24845 72102866-910b-0410-8b05-ffd578937521
2007-03-10 12:23:14 +00:00
David Ayers
e24dba68a1 * EOAccess/EODatabaseContext.h (recordChangesInEditingContext):
Collect propagations in collections and then execute
	recordToManySnapshot:dbOpes:,
	nullifyAttributesInRelationship:relationships:
	and relayAttributesInRelationship:relationships: at the end.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@24684 72102866-910b-0410-8b05-ffd578937521
2007-02-22 20:40:10 +00:00
Nicola Pero
7bfa001100 Check for GNUSTEP_MAKEFILES, not GNUSTEP_SYSTEM_ROOT
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@24626 72102866-910b-0410-8b05-ffd578937521
2007-02-18 02:26:20 +00:00
Matt Rice
cf7eb3d89a * EOAccess/EOModel.h: Forward declare NSMutableArray class.
* GDL2Palette/README: Document some pitfalls due to lack
        of project management app support.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@24419 72102866-910b-0410-8b05-ffd578937521
2007-01-25 22:57:24 +00:00
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
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
821b403f4e * EOModeler/EOModelerDocument.m (-saveToPath:): Handle saving with a
.eomodel extension.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@24245 72102866-910b-0410-8b05-ffd578937521
2006-12-26 13:49:50 +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
7fe1dba6fd Fix another typo :-/.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23864 72102866-910b-0410-8b05-ffd578937521
2006-10-13 06:15:46 +00:00
David Ayers
10601cb01d Fix typo.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23863 72102866-910b-0410-8b05-ffd578937521
2006-10-13 04:58:11 +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