Sebastian Reitenbach
291ec858bf
* EOAccess/EOEntity.m
...
remove unused variable
* EOControl/EOEditingContext.m
use the object, instead of the EOGlobalID to get the entityName
* EOControl/EOGenericRecord.m
* EOInterface/EOColumnAssociation.[h|m]
* EOInterface/EOTableViewAssociation.m
some NS(U)Integer conversions
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@36677 72102866-910b-0410-8b05-ffd578937521
2013-05-29 13:24:29 +00:00
Sebastian Reitenbach
7043021b7f
* EOInterface/EOTextAssociation.m
...
include right headers
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@36327 72102866-910b-0410-8b05-ffd578937521
2013-03-10 13:16:08 +00:00
Sebastian Reitenbach
ac39e74888
* EOInterface/EOColumnAssociation.m
...
* EOInterface/EOPopUpAssociation.m
* EOInterface/EORadioMatrixAssociation.m
NSArray doesn't know about initWithObject:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@36326 72102866-910b-0410-8b05-ffd578937521
2013-03-10 12:43:34 +00:00
Sebastian Reitenbach
bc990481e7
* GDL2Palette/DisplayGroupInspector.m
...
some NS(U)Integer transitions to fix warnings about
comparisons against NSNotFound
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@36232 72102866-910b-0410-8b05-ffd578937521
2013-03-02 14:14:21 +00:00
Germán Arias
8e7b0621cb
Add flags
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@35397 72102866-910b-0410-8b05-ffd578937521
2012-08-11 03:55:19 +00:00
Dave Wetzel
671dac2c7b
EOInterface/* numberOfRowsInTableView returns NSInteger now
...
EOModeler/EOModelerDocument.m: do not insert a model into EditingContext.
EOModeler/EOModelerEditor.m: avoid crash
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30245 72102866-910b-0410-8b05-ffd578937521
2010-04-27 01:49:42 +00:00
David Ayers
677af06a20
* EOControl/EOObserver.h
...
(EODelayedObserver): Inherit from EOCustomObject
to be able to rely on implicit breaking of connections
during dealloc.
* EOInterface/EOAssociation.m
(establishConnection): Reactivate implicit connection handling.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30209 72102866-910b-0410-8b05-ffd578937521
2010-04-21 13:59:28 +00:00
Dave Wetzel
d763dcfadd
remove hacks, adapt to EOCustomObject
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30192 72102866-910b-0410-8b05-ffd578937521
2010-04-19 07:15:37 +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
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
David Ayers
ac331bbbc8
2010-04-07 David Ayers <ayers@fsfe.org>
...
* EOInterface/EOPopUpAssociation.m: Add missing include.
Reported by: German Arias.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30099 72102866-910b-0410-8b05-ffd578937521
2010-04-07 14:12:50 +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
David Ayers
677ebbfda3
* EOControl/gdl2.EOControl.make,
...
* EOAccess/gdl2.EOAccess.make,
* EOInterface/gdl2.EOInterface.make: Remove convenience
make file fragements.
* EOControl/Makefile.postamble,
* EOAccess/Makefile.postamble,
* EOInterface/Makefile.postamble: Remove references to
convenience make file fragements.
* README: Add documentation on usage of GDL2 components.
Update versions of dependencies. Add documentation for some missing
components. Remove obsolete documentation. Refer to TODO file for
missing features.
* TODO: Update.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@27924 72102866-910b-0410-8b05-ffd578937521
2009-02-20 07:25:48 +00:00
David Ayers
0cba21bb90
* EOControl/Makefile.postamble
...
* EOAccess/Makefile.postamble
* EOInterface/Makefile.postamble
(after-uninstall::) Remove make file fragments.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@27909 72102866-910b-0410-8b05-ffd578937521
2009-02-18 05:09:35 +00:00
David Ayers
2cad6cba47
* EOControl/gdl2.EOControl.make
...
* EOAccess/gdl2.EOAccess.make
* EOInterface/gdl2.EOInterface.make
* EOControl/Makefile.postamble
* EOAccess/Makefile.postamble
* EOInterface/Makefile.postamble
Install makefile fragments for each 'core' library which adds
linker flags.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@27904 72102866-910b-0410-8b05-ffd578937521
2009-02-17 16:33:17 +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
Matt Rice
313436dd2b
* EOInterface/EOPopUpAssociation.m (subjectChanged:): Select
...
the item with tag, not item with index of the tag.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26581 72102866-910b-0410-8b05-ffd578937521
2008-05-28 00:39:35 +00:00
David Ayers
da1d2f0df1
* EOInterface/EOAssociation.m ([+objectDeallocated:]):
...
Use makeObjectsPerformSelector: instead of makeObjectsPerform:.
* EOInterface/EORadioMatrixAssociation.m
([NSMatrix-_selectCellWithTitle:]): Do not access instance variables
directly. Use accessor methods instead.
* EOInterface/EOActionAssociation.m,
* EOInterface/EOActionInsertionAssociation.m,
* EOInterface/EOAspectConnector.m,
* EOInterface/EOAssociation.m,
* EOInterface/EOColumnAssociation.m,
* EOInterface/EOComboBoxAssociation.m,
* EOInterface/EODetailSelectionAssociation.m,
* EOInterface/EODisplayGroup.m,
* EOInterface/EOGenericControlAssociation.m,
* EOInterface/EOMasterCopyAssociation.m,
* EOInterface/EOMasterDetailAssociation.m,
* EOInterface/EOMatrixAssociation.m,
* EOInterface/EOPickTextAssociation.m,
* EOInterface/EOPopUpAssociation.m,
* EOInterface/EORadioMatrixAssociation.m,
* EOInterface/EORecursiveBrowserAssociation.m,
* EOInterface/EOTableViewAssociation.m,
* EOInterface/EOTableViewAssociation.m,
* EOInterface/EOTextAssociation.m,
* EOInterface/NSImage+Additions.m:
Add include for <GNUstepBase/GNUstep.h>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26321 72102866-910b-0410-8b05-ffd578937521
2008-03-16 21:43:28 +00:00
Matt Rice
0f3cf79e03
* EOInterface/Makefile.preamble,
...
* EOInterface/GNUmakefile,
* EOAccess/Makefile.preamble,
* EOAdaptors/PostgreSQLAdaptor/Makefile.preamble,
* EOControl/Makefile.preamble,
* common.make,
* EOModeler/Makefile.preamble: Add gcov flags.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26286 72102866-910b-0410-8b05-ffd578937521
2008-03-12 14:04:21 +00:00
David Ayers
eb5b964a9b
* DBModeler/GNUmakefile,
...
* DBModeler/Inspectors/GNUmakefile,
* Documentation/GDL2Intro/Examples/GNUmakefile.connection,
* Documentation/GDL2Intro/Examples/GNUmakefile.eoexample,
* Documentation/GDL2Intro/Examples/GNUmakefile.eoexample2,
* EOAccess/GNUmakefile,
* EOAdaptors/PostgreSQLAdaptor/GNUmakefile.in,
* EOAdaptors/PostgreSQLAdaptor/LoginPanel/GNUmakefile,
* EOAdaptors/SQLiteAdaptor/GNUmakefile.in,
* EOAdaptors/SQLiteAdaptor/LoginPanel/GNUmakefile,
* EOControl/GNUmakefile,
* EOInterface/GNUmakefile,
* EOModeler/GNUmakefile,
* GDL2Palette/GNUmakefile,
* Tools/GNUmakefile (XXX_NEEDS_GUI): Use lowercase value.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26264 72102866-910b-0410-8b05-ffd578937521
2008-03-11 08:29:42 +00:00
David Ayers
ceaab97ecb
* DBModeler/GNUmakefile,
...
* DBModeler/Inspectors/GNUmakefile,
* Documentation/GDL2Intro/Examples/GNUmakefile.connection,
* Documentation/GDL2Intro/Examples/GNUmakefile.eoexample,
* Documentation/GDL2Intro/Examples/GNUmakefile.eoexample2,
* EOAccess/GNUmakefile,
* EOAdaptors/PostgreSQLAdaptor/GNUmakefile.in,
* EOAdaptors/PostgreSQLAdaptor/LoginPanel/GNUmakefile,
* EOAdaptors/SQLiteAdaptor/GNUmakefile.in,
* EOAdaptors/SQLiteAdaptor/LoginPanel/GNUmakefile,
* EOControl/GNUmakefile,
* EOInterface/GNUmakefile,
* EOModeler/GNUmakefile,
* GDL2Palette/GNUmakefile,
* Tools/GNUmakefile (XXX_NEEDS_GUI): Set appropriately.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26233 72102866-910b-0410-8b05-ffd578937521
2008-03-06 21:58:26 +00:00
David Ayers
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
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
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
92fcc10447
* Update Email address for Matt Rice.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@24318 72102866-910b-0410-8b05-ffd578937521
2007-01-05 16:17:04 +00:00
David Ayers
4e1e4eea27
* EOControl/GNUmakefile: Simplify documentation declarations.
...
* EOAccess/GNUmakefile: Ditto.
* EOInterface/GNUmakefile: Ditto.
* Tools/GNUmakefile: Ditto.
* common.make (ADDITIONAL_LIB_DIRS): Move handling from here...
* variable-processing.make: ... to new file.
* EOControl/GNUmakefile: Use variable-processing.make.
Include common.make early.
* EOAccess/GNUmakefile: Ditto.
* EOInterface/GNUmakefile: Ditto.
* Tools/GNUmakefile: Ditto.
* DBModeler/GNUmakefile: Ditto.
* EOModeler/GNUmakefile: Ditto.
* GDL2Palette/GNUmakefile: Ditto.
* EOControl/EOFetchSpecification.h/m: Cleanup for documentation
generation.
* EOControl/EOGenericRecord.m: Ditto.
* EOControl/EOClassDescription.h/m: Ditto.
* EOControl/EONSAddOns.m: Ditto.
* EOControl/EOObjectStore.h: Ditto.
* EOControl/EOEditingContext.h: Ditto.
* EOControl/EODataSource.m: Ditto.
* EOControl/EOKeyValueArchiver.h/m: Ditto.
* EOControl/EOFault.h/m: Ditto.
* EOControl/EOObserver.h: Ditto.
* EOControl/EOEventCenter.m: Ditto.
* EOControl/EOMultiReaderLock.m: Ditto.
* EOControl/EOKeyGlobalID.h/m: Ditto.
* EOControl/EOObserver.m: Ditto.
* EOControl/EOEvent.m: Ditto.
* EOControl/EOObjectStoreCoordinator.h: Ditto.
* EOControl/EODeprecated.h: Ditto.
* EOControl/EOUndoManager.m: Ditto.
* EOControl/EOKeyValueCoding.h/m: Ditto.
* EOControl/EOQualifier.h: Ditto.
* EOControl/EOClassDescription.h/m (editingContext): Remove
duplicate declartion and definition (see EOEditingContext.h/m)
* EOControl/EOFetchSpecification.h (EOPrefetchingRelationshipHintKey)
(EOFetchLimitHintKey, EOPromptsAfterFetchLimitHintKey): Remove
deprecated declarations.
* EOAccess/EOAttribute.m: Cleanup for documentation.
* EOAccess/EOAttribute.m (newValueForBytes:length:encoding:):
Avoid creating intermediate NSData object.
* EOControl/EOControl.gsdoc: Added Documentation.
* EOControl/EOUndoManager.h: Remove content of deprecated header
and add warning.
* common.make (GDL2_AGSDOC_FLAGS): Add global GDL2 documenation
flags.
* config.h.in (RCSID): Avoid reserved names by relying
in static declarations and avoid recursive call.
* EOAdaptors/PostgreSQLAdaptor/PostgreSQLAdaptor.m
(assignExternalInfoForAttribute:) Move implementation to...
(assignExternalTypeForAttribute:) ...here.
* Version: Update variable names.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@24297 72102866-910b-0410-8b05-ffd578937521
2006-12-30 17:41:02 +00:00
Nicola Pero
cf007a832d
Do not set GNUSTEP_INSTALLATION_DIR
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23830 72102866-910b-0410-8b05-ffd578937521
2006-10-09 23:09:04 +00:00
Matt Rice
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
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
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
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
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
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
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
9647f11503
* COPYING.LIB: Update to LGPL 2.1.
...
* configure: Regenerate.
* Update FSF Address and Copyright years.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@21645 72102866-910b-0410-8b05-ffd578937521
2005-08-17 08:07:57 +00:00
Matt Rice
b70ec2777a
* EOInterface/EOAssociation.m: New variable _objectToAssociations.
...
(+objectDeallocated:): New private method.
(+initialize): initialize _objectToAssociations.
(-dealloc): Discard any pending notifications.
(-establishConnection): Retain display groups we're bound to.
Retain our self and register our object for dealloc notification.
(-breakConnection): Release display groups we're bound to. Release
our self and discard any pending notifications.
(-subjectChanged): Add comment
* EOInterface/EOColumnAssociation.m (-establishConnection): Assign our
dg ivar after establishing connection. Use the dg ivar and move 2 if
statements into one.
* EOInterface/EODisplayGroup.m: Remove debugging class/category for
emptyArray and emptyDictionary.
(-indexesForObjectsIndeticalTo:): Fix typo by renaming to
-indexesForObjectsIdenticalTo:.
(-dealloc): Remove our self as an observer for any notifications,
as an editor or message handler for our editing context, our observer
proxies as observers from the observer center. Don't release
array/dictionary ivars that are emptyArray or emptyDictionary.
(-setSelectionIndexes:): Update to reflect change in method name.
(-deleteSelection): Remove unused local var.
(-fetch:): Call -redisplay.
(-updatedObjectIndex:): Return -1 instead of 0 until this is
implemented.
(-setValue:forObject:key:): fix comment in exception handlers.
* EOInterface/EOGenericControlAssociation.m:
(-subjectChanged:): Remove unused local variable.
* EOMasterDetailAssociation.m:
(-establishConnection, -breakConnection, -subjectChanged): Implement.
* EOInterface/EOPopUpAssociation.m: Remove unused local variables.
* EOInterface/EOTableViewAssociation.m:
(-breakConnection:): Remove our NSTableView object from the map table.
(-subjectChanged:): Remove unused local variables. Release temporary
retain on selection indexes.
(+bindToTableView:displayGroup:): Don't retain the table views in the
map table. Release the newly created association.
(-dealloc): Remove self from the tvAssociationMap.
* EOInterface/SubclassFlags.h: Fix bitmask on MatchKey1AspectMask.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@21439 72102866-910b-0410-8b05-ffd578937521
2005-07-09 03:01:22 +00:00
Matt Rice
e205cd1324
2005-05-12 Matt Rice <ratmice@yahoo.com>
...
* ChangeLog: Fix previous ChangeLog entry.
* EOInterface/EOActionAssociation.m: Implemented aspects enabled and
action.
(-establishConnection): Implement
(-breakConnection, -subjectChanged, -action): Ditto.
* EOInterface/EOAssociation.m (-associationClassesForObject:): Fixed
argument passed to -isUsableWithObject:. Assign count
(-init): Assign self.
(-establishConnection:): Add unused local variable to pass to
NSNextMapEnumeratorPair instead of 0.
(-breakConnection:): Ditto.
(-initWithCoder:, -encodeWithCoder:): Initial implementation of
methods.
(-valueForAspect:,-setValue:forAspect:,-valueForAspect:atIndex:): Ditto.
(-setValueForAspect:atIndex:): Ditto.
* EOInterface/SubclassFlags.h: New file.
* EOInterface/EOAspectConnector.h/m: New file and implementation.
* EOInterface/EOColumnAssociation.m: Implemented aspects value and
enabled
(-objectKeysTaken): Take identifier key.
(-establishConnection, -breakConnection, -endEditing): Implement
methods.
(-tableView:setObjectValueForTableColumn:row:): Ditto.
(-tableView:objectValueForTableColumn:row:): Ditto.
(-tableView:willDisplayCell:forTableColumn:row:): Ditto.
(-control:didFailToFormatString:errorDescription:): Ditto.
(-control:textShouldBeginEditing:): Ditto.
* EOInterface/EOControlAssociation.m: (-control): Ditto
(-editingAssociation, -establishConnection, -breakConnection): Ditto.
* EOInterface/EOGenericControlAssociation.m: Implemented aspects value
and enabled.
(+objectKeysTaken): add target key.
(-establishConnection: -breakConnection:, -subjectChanged:): Ditto.
(-_action:, -endEditing, -control:textShouldBeginEditing:): Ditto.
* EOInterface/EOMatrixAssociation.m: Implemented aspects image, title,
and enabled.
(-establishConnection, -breakConnection, -subjectChanged): Ditto.
* EOInterface/EOPopUpAssociation.m: Implemented aspects titles,
selectedTitle, selectedTag, selectedObject, enabled.
(-initWithObject:, -_action:): Implemented method.
(-establishConnection:, -breakConnection, -subjectChanged): Ditto.
* EOInterface/EORadioMatrixAssociation.m: Implemented aspects
selectedTag, selectedTitle, enabled.
(NSCell -_selectCellWithTitle:): Private category.
(-initWithObject:, -_action:): Implemented method.
(-establishConnection:, -breakConnection, -subjectChanged): Ditto.
* EOInterface/EOTableViewAssociation.m: Implemented aspects
enabled, tableView.
(-establishConnection, -breakConnection, subjectChanged): Implement
method.
(-bindToTableView:displayGroup:, -editingAssociation): Ditto.
(-numberOfRowsInTableView:):
(-tableView:setObjectValue:forTableColumn:row:): Ditto.
(-tableView:objectValueForTableColumn:row:): Ditto.
(-tableView:shouldEditTableColumn:row:): Ditto.
(-tableView:willDisplayCell:forTableColumn:row:): Ditto.
(-tableView:selectionDidChange:): Ditto.
(-control:didFailToFormatString:errorDescription:): Ditto.
(-control:isValidObject:, -control:textShouldBeginEditing:):
Ditto.
(-dealloc): Ditto.
* EOInterface/EOTextAssociation.m: Implemented aspect value,
enabled.
(-establishConnection): Implemented method.
(-breakConnection, -subjectChanged, -endEditing): Ditto.
(-control:isValidObject:,textShouldBeginEditing:): Ditto.
(-textShouldEndEditing:): Ditto.
* EOInterface/GNUmakefile: Make EOInterface a native-library, whitespace
changes.
* EOInterface/Makefile.preamble: Change linker flag to use FND_LIBS
and GUI_LIBS variables.
* EOInterface/EODisplayGroup.h: Comment on whether ivars are retained.
* EOInterface/EODisplayGroup.m:
(DG_SHOULD_CHANGE_SELECTION_TO_IDX): New macros.
(DG_DISPLAY_ARRAY_FOR_OBJECTS, DG_SHOULD_DISPLAY_ALERT): Ditto.
(DG_DID_FETCH_OBJECTS, DG_CREATE_OBJECT_FAILED): Ditto.
(DG_SHOULD_INSERT_OBJECT, DG_DID_INSERT_OBJECT): Ditto.
(DG_DID_CHANGE_SELECTION): Ditto.
(NSArray -indexesForObjectsIdenticalTo:): Implement category method.
(_presentAlertWithTitle:message:): New private methods.
(-_endObserverNotification:): Implement notification observer methods.
(-_beginObserverNotification:): Ditto.
(-objectsInvalidatedInEditingContext:): Ditto.
(-objectsChangedInEditingContext:): Ditto.
(+initialize, -init, -initWithCoder:,): Implement methods.
(-encodeWithCoder:, -setDataSource:, -fetch, -allObjects): Ditto.
(-setObjectArray:, -redisplay, -updateDisplayedObjects): Ditto.
(-selectionIndexes, -setSelectionIndexes, -selectObject): Ditto.
(-selectObjectsIdenticalTo:, -clearSelection, -selectedObjects): Ditto.
(-selectObjectsIdenticalTo:selectFirstOnNoMatch:): Ditto.
(-setSelectedObjects, -selectedObject, -setSelectedObject:): Ditto.
(-insertObjectAtIndex:, -insertObject:atIndex:): Ditto.
(-setInsertedObjectDefaultValues:, -deleteSelection): Ditto.
(-observingAssociations, -endEditing, -fetch:, -insert:): Ditto.
(-selectionChanged, -contentsChanged, -valueForObject🔑 ): Ditto.
(-selectedObjectValueForKey:, -valueForObjectAtIndex:): Ditto.
(-setValue:forObject:key:, -setSelectedObjectValue:forKey:): Ditto.
(-setValue:forObjectAtIndex:key:, -associationDidBeginEditing:):
Ditto.
(-associationDidEndEditing:): Ditto.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@21222 72102866-910b-0410-8b05-ffd578937521
2005-05-12 19:55:41 +00:00
David Ayers
24fefa0924
* EOInterface/EODetailSelectionAssociation.h/m: New files.
...
* EOInterface/EOMasterCopyAssociation.h/m: Ditto.
* EOInterface/EOMasterDetailAssociation.h/m: Ditto.
* EOInterface/EOMasterPeerAssociation.m: Ditto.
* EOInterface/EOMatrixAssociation.h/m: Ditto.
* EOInterface/EOPickTextAssociation.h/m: Ditto.
* EOInterface/EOPopUpAssociation.h/m: Ditto.
* EOInterface/EORadioMatrixAssociation.h/m: Ditto.
* EOInterface/EORecursiveBrowserAssociation.h/m: Ditto.
* EOInterface/EOTextAssociation.h/m: Ditto.
* EOInterface/EODeprecated.h: Ditto.
* EOInterface/EOInterface.h: Added new header files.
* EOInterface/GNUmakefile: Added new files.
* EOInterface/EODisplayGroup.m: Update includes.
(setSortOrdering:, sortOrdering): Add deprecated methods.
* EOInterface/EOAssociation.h: Remove redundant include.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@20239 72102866-910b-0410-8b05-ffd578937521
2004-10-20 21:32:06 +00:00
David Ayers
2854281dc9
* EOInterface/EOComboBoxAssociation.h/m: New files.
...
* EOInterface/EOControlAssociation.h/m: Ditto.
* EOInterface/EOGenericControlAssociation.m: Ditto.
* EOInterface/EOActionCellAssociation.m: Ditto.
* EOInterface/NSImage+Additions.m: Ditto.
* EOInterface/EOInterface.h: Added new headers.
* EOInterface/GNUmakefile: Use new files. Remove superfluous
header files directory variable.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@20232 72102866-910b-0410-8b05-ffd578937521
2004-10-17 20:27:26 +00:00
David Ayers
59d8cea7d7
* EOInterface/EOActionAssociation.h/m: New files.
...
* EOInterface/EOActionInsertionAssociation.h/m: Ditto.
* EOInterface/EOColumnAssociation.h/m: Ditto.
* EOInterface/EOTableViewAssociation.m: Ditto.
* EOInterface/EOInterface.h: Added new headers.
* EOInterface/GNUmakefile: Use new files.
* EOInterface/EOAssociation.m: (-[debugDescription]): Remove
debug method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@20229 72102866-910b-0410-8b05-ffd578937521
2004-10-16 16:45:40 +00:00
David Ayers
b0c3064537
* EOInterface/EOAssociation.h/m: New files.
...
* EOInterface/EOInterface.h: Add EOAssocitaion.
* EOInterface/GNUmakefile: Ditto.
* EOInterface/EODisplayGroup.h: Add missing forward
* declaration.
* EOInterface/EODisplayGroup.m: ([-insertObjectAtIndex]):
avoid warning.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@20226 72102866-910b-0410-8b05-ffd578937521
2004-10-15 17:31:28 +00:00
David Ayers
271ea5171d
* EOInterface: New directory.
...
* EOInterface/GNUmakefile: New file.
* EOInterface/Makefile.preamble: Ditto.
* EOInterface/EOInterface.h: Ditto.
* EOInterface/EODisplayGroup.h: Ditto.
* EOInterface/EODisplayGroup.m: Ditto.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@20223 72102866-910b-0410-8b05-ffd578937521
2004-10-14 17:34:59 +00:00