Commit graph

516 commits

Author SHA1 Message Date
David Ayers
456c230856 * EOControl/EOKeyValueCoding.m: Add declartions for method
replacement hack.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30109 72102866-910b-0410-8b05-ffd578937521
2010-04-09 09:52:16 +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
David Ayers
5107816c46 * EOAccess/EORelationship.m (-[isToManyToOne]): Correct index
used to retrieved second relationship.
	Bug #29369


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30080 72102866-910b-0410-8b05-ffd578937521
2010-03-30 09:38:12 +00:00
David Ayers
d3a53480c1 * Tools/EOModel+GSDoc.m (-[gsdocContentSplittedByEntities:idPtr:]):
Split out parameters into local variables.  Fix format string to
	match parameters.
	Reported by: Federico Gimenez Nieto, Sergey Golovin.
	Fix reported by: Richard Frith-Macdonald.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30079 72102866-910b-0410-8b05-ffd578937521
2010-03-30 09:29:41 +00:00
David Ayers
719c9cedc1 * EOControl/EONSAddOns.m (GSUseStrictWO451Compatibility): Avoid usage
of GS_INITIALIZED_LOCK.
	* EOControl/EOPrivate.h/m (GDL2_AssignAtomicallyIfNil): New convenience
	function for initializing variables in multithreaded environments.
	Reported by: Tim Kack


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30078 72102866-910b-0410-8b05-ffd578937521
2010-03-30 09:10:01 +00:00
Richard Frith-MacDonald
61e2658de9 Methods to be added to a class must share the same superclass if they call super
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@29966 72102866-910b-0410-8b05-ffd578937521
2010-03-15 14:00:23 +00:00
Richard Frith-MacDonald
a0d4e91907 avoid adding +load as an override
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@29965 72102866-910b-0410-8b05-ffd578937521
2010-03-15 13:20:26 +00:00
Richard Frith-MacDonald
601409fef6 update for new objc runtime
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@29958 72102866-910b-0410-8b05-ffd578937521
2010-03-15 08:56:06 +00:00
Matt Rice
34b5413f0f * DBModeler/DiagramView.m: Add missing include.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@29865 72102866-910b-0410-8b05-ffd578937521
2010-03-07 10:48:25 +00:00
Nicola Pero
757ee35042 Removed unused dependency rule
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@29566 72102866-910b-0410-8b05-ffd578937521
2010-02-11 22:44:52 +00:00
Gregory John Casamento
541a65b800 * EOControl/EOKeyValueArchiver.h: Add forward declaration of
NSMutableArray.
	* EOControl/EOQualifier.h: Add missing include for NSArray.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@28419 72102866-910b-0410-8b05-ffd578937521
2009-07-29 08:06:55 +00:00
David Ayers
648ce9193b * EOAccess/EOExpressionArray.m (-[valueForSQLExpression:):
Use _infix instead of @"." and skip if _infix is not set.
	* EOAccess/EOSQLExpression
	([EOSQLExpression-prepareSelectExpressionWithAttributes:]):
	Set listString for "flattened attributes" for aggregate definitions.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@28408 72102866-910b-0410-8b05-ffd578937521
2009-07-24 17:11:50 +00:00
David Ayers
57ca86ebd6 * EOAccess/EOSQLQualifier.m
(-[initWithEntity:qualifierFormat:]): Implement.
	(-[schemaBasedQualifierWithRootEntity:]): Ditto.
	(-[sqlStringForSQLExpression:]): Ditto.
	(-[dealloc]): Ditto.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@28407 72102866-910b-0410-8b05-ffd578937521
2009-07-24 16:43:07 +00:00
David Ayers
2883b0b21c 2009-06-24 Georg Fleischmann <g.fleischmann@vhf.de>
2009-06-24  David Ayers  <ayers@fsfe.org>

	* EOAccess/EOPrivate.h (EOQualifier <EOQualifierSQLGeneration>):
	Declare.
	* EOAccess/EOSQLQualifier.m
	([EOQualifier schemaBasedQualifierWithRootEntity:]),
	([EOQualifier sqlStringForSQLExpression:]): Add preliminary dummy
	implementations.
	([EONotQualifier schemaBasedQualifierWithRootEntity:]): Implement.
	


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@28406 72102866-910b-0410-8b05-ffd578937521
2009-07-24 16:20:27 +00:00
David Ayers
8351843e41 * EOAdaptor/PostgreSQLAdaptor/EOPostgreSQLExpression.m
(+[formatValue:forAttribute:]): Do not escape underscore characters
	in values.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@28316 72102866-910b-0410-8b05-ffd578937521
2009-06-01 12:02:25 +00:00
David Ayers
8eda0f3a98 * EOControl/EOAndQualifier.m
* EOControl/EOKeyComparisonQualifier.m
	* EOControl/EONotQualifier.m
	* EOControl/EOOrQualifier.m
	* EOControl/EOQualifier.m
	* EOAccess/EOSQLQualifier.m: Include NSArray.h.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@28315 72102866-910b-0410-8b05-ffd578937521
2009-06-01 11:51:06 +00:00
David Ayers
93563c9829 (revert last change)
2009-04-04  David Ayers  <ayers@fsfe.org>

	* EOControl/EOUndoManager.m (-[registerUndoWithTarget:selector:arg:]):
	Defer to NSUndoManager's -[registerUndoWithTarget:selector:object:].
	


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@28178 72102866-910b-0410-8b05-ffd578937521
2009-04-04 22:07:39 +00:00
David Ayers
68f606bf2a * EOControl/EOUndoManager.m (+[class],+[allocWithZone:]): Defer to
NSUndoManager.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@28177 72102866-910b-0410-8b05-ffd578937521
2009-04-04 21:51:10 +00:00
David Ayers
97bdca0839 * EOAccess/EODatabase.m (setUpdateStrategy:): Count the snapshots
to determine if we actually already have fetched them.
	Reported by: Thierry Delhaise <befree_fr@mac.com>


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@28085 72102866-910b-0410-8b05-ffd578937521
2009-03-16 08:26:00 +00:00
Matt Rice
4a7738a050 * DBModeler/ModelerAttributeEditor.m
(-displaygroupDidChangeSelection:): Activate self on selection change.
* DBModeler/MainModelEditor.m (-_activateSelection): Move method to
EOModeler.
(viewSelectedObject): Remove method.
(outlineViewSelectionDidChange:): Call -activateSelection.
* EOModeler/EOModelerEditor.m: Add activateSelection extension/method.
* EOModeler/EOModelerEditor.h: Ditto.
* EOModeler/EOModelerDocument.m (-addAttribute):
(-addRelationship): Add some Fixme's.  Call -activateSelection on the
editor.
(-delete:): Revert the selection back to the viewed object, and
activate the new selection.



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



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



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



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@28018 72102866-910b-0410-8b05-ffd578937521
2009-03-01 22:09:34 +00:00
Matt Rice
ad8dedbf6c * EOAccess/EORelationship.m (-referencesProperty:): Check if property
is the relationships destination entity.
* EOModeler/EOModelerDocument (-delete:): Call referencesToProperty:
on all model objects.



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



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



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@27994 72102866-910b-0410-8b05-ffd578937521
2009-02-27 05:29:06 +00:00
David Ayers
f259e3a5ee * EOControl/EOEditingContext.m (_undoManagerCheckpoint:):
Insure we only call _processEndOfEventNotification: if we
	already have a grouping level.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@27970 72102866-910b-0410-8b05-ffd578937521
2009-02-25 08:09:07 +00:00
Matt Rice
cf1768f553 * DBModeler/DiagramView.m (-dealloc): Release model.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@27941 72102866-910b-0410-8b05-ffd578937521
2009-02-21 15:41:52 +00:00
Matt Rice
bbcf66dd59 * DBModeler/Modeler.m (-newFromDatabase:): Remove extra release.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@27940 72102866-910b-0410-8b05-ffd578937521
2009-02-21 15:31:38 +00:00
David Ayers
4227d241e5 * Version 0.12.0
* ANNOUNCE: Update for release.
	* NEWS: Ditto.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@27925 72102866-910b-0410-8b05-ffd578937521
2009-02-20 08:08:54 +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
b991a133af * EOControl/EOPrivate.h/m (GDL2_isLegalDBName): New function.
* EOQualifier.m (getKey): Validate qualifier bind variable key.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@27923 72102866-910b-0410-8b05-ffd578937521
2009-02-19 16:29:11 +00:00
David Ayers
68f788d944 * EOAccess/EOGenericRecord.h/m ([-entity]): New category.
* EOAccess/GNUmakefile (EOGenericRecord): Build and install new
	category.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@27922 72102866-910b-0410-8b05-ffd578937521
2009-02-19 11:15:22 +00:00
David Ayers
c95034cfa5 * GDL2.gsdoc: Update relative path to sub project documentation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@27920 72102866-910b-0410-8b05-ffd578937521
2009-02-18 20:13:42 +00:00
David Ayers
b8cfc601fc * configure.ac (enable-examples): Allow examples to be built from
top-level makefile.
	* GNUmakefile.in: Ditto.
	* configure: Regenerate.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@27919 72102866-910b-0410-8b05-ffd578937521
2009-02-18 18:50:45 +00:00
David Ayers
4d73ac52dd * Documentation/GDL2Intro/Examples: Move to ...
* Examples: ... here.
	* Examples/GNUmakefile: Adapt to new location.
	* Documentation/GDL2Intro/GNUmakefile: Remove subproject.
	* Documentation/GDL2Intro/GDL2Intro.texi: Update references to new
	location.
	* Trading: Move to ...
	* Examples/Trading: ... here.
	* Examples/Trading/GNUmakefile: Adapte to new location.
	* Examples/GNUmakefile: Add Trading.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@27918 72102866-910b-0410-8b05-ffd578937521
2009-02-18 17:21:05 +00:00
David Ayers
c16000b164 * configure.ac (enable-gui-projects): New option to disable builing
of projects depending -gui/AppKit.  Default to yes.
	(enable-gorm-palette): Default to the setting for enable-gui-projects.
	* configure: Regenerate.
	* GNUmakefile.in: Extract all GUI libs into variable.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@27917 72102866-910b-0410-8b05-ffd578937521
2009-02-18 16:28:00 +00:00
Matt Rice
25a2598847 * GNUmakefile.in: Add Trading subproject.
* EOAccess/EORelationship.m (-_joinsChanged:): Set the destination to
the first object.
(-destinationEntity): Call _joinsChanged if the destination is nil.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@27916 72102866-910b-0410-8b05-ffd578937521
2009-02-18 14:47:26 +00:00
David Ayers
c1a1ad155e * EOAccess/EOEntity.m (-dealloc): Invalidate class description
cache.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@27910 72102866-910b-0410-8b05-ffd578937521
2009-02-18 05:52:42 +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
Matt Rice
f7ceba56ed * EOAccess/EOEntityPriv.h: Remove GDL2DestinationEntitiesAddRelationship, and
GDL2DestinationEntitiesRemoveRelationship.
* EOAccess/EOEntity.m (+initialize, -dealloc): Remove usage and
implementations of the above functions.
* EOAccess/EORelationship.m (-initWithPropertyList:owner:):
(-setDefinition:): Ditto.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@27908 72102866-910b-0410-8b05-ffd578937521
2009-02-18 05:05:21 +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
Matt Rice
54bd63733a add comment
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@27903 72102866-910b-0410-8b05-ffd578937521
2009-02-17 15:46:37 +00:00
Matt Rice
f8943e1caa revert last patch
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@27902 72102866-910b-0410-8b05-ffd578937521
2009-02-17 15:41:40 +00:00
Matt Rice
03927bc87c * EOControl/EOEditingContext.m (_undoManagerCheckpoint:): call
_processEndOfEventNotification by performing a selector through the
runloop.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@27898 72102866-910b-0410-8b05-ffd578937521
2009-02-17 12:38:56 +00:00
Matt Rice
7708423f71 add hack for windows.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@27756 72102866-910b-0410-8b05-ffd578937521
2009-02-02 11:47:13 +00:00
Matt Rice
33f45b02b0 link in libGorm.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@27755 72102866-910b-0410-8b05-ffd578937521
2009-02-02 09:32:16 +00:00
Nicola Pero
c3f58d8027 Fixed typo that would prevent the SQLiteAdaptor from linking
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@27747 72102866-910b-0410-8b05-ffd578937521
2009-01-31 20:41:20 +00:00