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
Nicola Pero
154a47dff3
Fixed typo in --with-sqlite3-library=xxx, was setting sqlite3 variable instead of sqlite3_libdir
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@27746 72102866-910b-0410-8b05-ffd578937521
2009-01-31 20:37:24 +00:00
Matt Rice
f4498d2a98
*EOControl/EODefines.h: switch BUILD_libgnustep-db2control_DLL define
...
to BUILD_libEOControl_DLL.
* EOControl/EOGlobalID.m: include limits.h.
* EOControl/EOPrivate.m: implement -copyWithZone: and
-mutableCopyWithZone: in GDL2NonRetainingArray.
* EOAccess/EODefines.h: switch BUILD_libgnustep-db2_DLL define to
BUILD_libEOAccess_DLL.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@27724 72102866-910b-0410-8b05-ffd578937521
2009-01-29 22:34:41 +00:00
David Ayers
23b00c21c7
* EOAccess/EOJoin.h: Update memory mangement comments.
...
* EOAccess/EOJoin.m (dealloc): Implement.
* EOAccess/EORelationship.m (dealloc,_flushCahce): Fix memory leaks.
* EOAccess/EOAttribute.h: Update some signatures.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@27695 72102866-910b-0410-8b05-ffd578937521
2009-01-26 12:05:29 +00:00
Matt Rice
d0097cc42c
* DBModeler/MainModelEditor.m: Implement
...
-draggingSourceOperationMaskForLocal:.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@27693 72102866-910b-0410-8b05-ffd578937521
2009-01-26 05:32:38 +00:00
David Ayers
0ea7aaf64a
* config.h.in (getRCSID): Mark inline to avoid compiler warnings.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26978 72102866-910b-0410-8b05-ffd578937521
2008-10-27 16:59:35 +00:00
David Ayers
22b8c9171d
* EOControl/EOClassDescription.m (classDescriptionForClass:): Only
...
register null internally if the notification returned nothing.
Adjust NSLog typespeficier.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26748 72102866-910b-0410-8b05-ffd578937521
2008-07-06 10:52:27 +00:00
Matt Rice
4c6a55e3fd
* EOControl/EOPrivate.m (GDL2_PrivateInit):
...
* EOAccess/EOPrivate.m (GDL2_AccessPrivateInit): Set initialized to YES.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26601 72102866-910b-0410-8b05-ffd578937521
2008-06-06 22:54:24 +00:00
David Ayers
5c84e40422
* EOAccess/EOAttribute.m (-setDefinition:): Clear _columnName before
...
calling _setIsEdited on the parent. Document.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26597 72102866-910b-0410-8b05-ffd578937521
2008-06-06 09:26:14 +00:00
David Ayers
35ea180bdc
* EOAccess/EORelationship.h/m (-setInverseRelationship:): Rename to...
...
(-_setInverseRelationship:): ... and move to local privat method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26596 72102866-910b-0410-8b05-ffd578937521
2008-06-06 09:21:35 +00:00
Matt Rice
a6415d024a
EOAccess/EOEntity.m (performSelectorOnArrayWithEachObjectOfClass()):
...
Perform the selectors on a copy of the array.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26595 72102866-910b-0410-8b05-ffd578937521
2008-06-05 23:18:39 +00:00
Matt Rice
80a2657f4a
* EOAccess/EOModel.m (-setName:, -setAdaptorName:, -setDocComment):
...
* EOAccess/EORelationship.m (-setName:, -setDocComment:):
* EOAccess/EOStoredProcedure.m (-setName:, -setExternalName:):
* EOAccess/EOAttribute.m (-setAdaptorValueConversionMethodName:)
(-setName, -setColumnName:, -setExternalType:, -setValueType:):
(-setValueClassName:, -setWriteFormat:, -setReadFormat:):
(-setDocComment:, -setValueFactoryMethodName:):
(-setAdaptorValueConversionMethodName:): Use ASSIGNCOPY instead of
ASSIGN.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26594 72102866-910b-0410-8b05-ffd578937521
2008-06-05 23:14:14 +00:00
Matt Rice
a8f0ef8c1d
* README: Add Trading framework.
...
* GNUmakefile: Ditto.
* Trading/*: Initial import.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26593 72102866-910b-0410-8b05-ffd578937521
2008-06-03 13:29:46 +00:00
Matt Rice
d89df1082e
* README: Reflect name change of PostgreSQL adaptor, and addition of
...
SQLite adaptor. Bump supported version of Postgres Adaptor.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26592 72102866-910b-0410-8b05-ffd578937521
2008-06-03 11:35:51 +00:00
Blake Nicholson
c62a5d5aa1
Minor bug fixes related to the PostgreSQL login panel. The login panel was
...
being shown twice when the New From Database... menu item was selected. The
login panel was not editable when displayed due to its backing.
* DBModeler/Modeler.m
(newFromDatabase:): Removed duplicate invocation of [adaptor runLoginPanel].
* EOAdaptors/PostgreSQLAdaptor/LoginPanel/PostgreSQLLoginPanel.m
(init): Changed the panel's backing to NSBackingStoreBuffered instead of
NSBackingStoreRetained.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26584 72102866-910b-0410-8b05-ffd578937521
2008-05-29 15:07:21 +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
Blake Nicholson
440372a7d3
Replaced tabs with spaces throughout the DBModeler sub-project.
...
* DBModeler/AdaptorsPanel.m, DBModeler/AttributeCell.m,
DBModeler/ConsistencyChecker.m, DBModeler/DefaultColumnProvider.m,
DBModeler/DiagramView.m, DBModeler/EOAdditions.m, DBModeler/EntityView.m,
DBModeler/GNUmakefile, DBModeler/KVDataSource.m,
DBModeler/MainModelEditor.h, DBModeler/MainModelEditor.m,
DBModeler/ModelerAttributeEditor.m, DBModeler/ModelerEntityEditor.h,
DBModeler/ModelerEntityEditor.m,
DBModeler/ModelerTableEmbedibleEditor.h,
DBModeler/ModelerTableEmbedibleEditor.m,
DBModeler/NSView+Additions.m, DBModeler/Preferences.m,
DBModeler/SQLGenerator.m, DBModeler/Inspectors/AdvancedEntityInspector.m,
DBModeler/Inspectors/AttributeInspector.h,
DBModeler/Inspectors/AttributeInspector.m,
DBModeler/Inspectors/RelationshipInspector.h,
DBModeler/Inspectors/RelationshipInspector.m
White-space clean-up. Replaced tabs with spaces.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26556 72102866-910b-0410-8b05-ffd578937521
2008-05-23 12:11:26 +00:00
Blake Nicholson
4f93290f4b
Added logic to try to use gnustep-config to determine the value of
...
GNUSTEP_MAKEFILES if it is not already set.
* configure.ac, GNUmakefile.in
In the event that GNUSTEP_MAKEFILES is not set, attempt to obtain its value
by executing gnustep-config.
* configure
Regenerated.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26554 72102866-910b-0410-8b05-ffd578937521
2008-05-23 02:19:02 +00:00
Blake Nicholson
2ba530d50e
Clean up of the NSTableView's used by DBModeler. Added some preprocessor
...
directives to avoid using deprecated methods, and also use a few newer methods
to improve the appearance. At some point, we should revisit these
NSTableView's as they seem to be candidates for re-factoring.
* DBModeler/ModelerEntityEditor.m, DBModeler/ModelerAttributeEditor.m
(initWithParentEditor:): Replaced use of the deprecated
[NSTableView setAutoresizesAllColumnsToFit:] on Mac OS X 10.4 and later with
[NSTableView setColumnAutoresizingStyle:]. Also, make use of
setUsesAlternatingRowBackgroundColors: and setGridStyleMask: to achieve an
appearance that more closely mimics EOModeler.
* DBModeler/MainModelEditor.m
(initWithDocument:): Replaced use of the deprecated
[NSTableView setAutoresizesAllColumnsToFit:] on Mac OS X 10.4 and later with
[NSTableView setColumnAutoresizingStyle:].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26553 72102866-910b-0410-8b05-ffd578937521
2008-05-23 02:11:42 +00:00
Blake Nicholson
17ae63bbae
Updated the DBModeler application so the SQLGenerator window uses the
...
Renaissance library. Replaced the gorm file with a gsmarkup file, and
modified the app code to use it.
* DBModeler/SQLGenerator.m
(init): Updated to load the gsmarkup file, rather than the nib.
(awakeFromGSMarkup): Replaces the previous awakeFromNib.
* DBModeler/Resources/SQLGenerator.gsmarkup
Initial import.
* DBModeler/Resources/SQLGenerator.gorm
Removed from repository.
* DBModeler/GNUmakefile
Replaced the SQLGenerator.gorm resource with SQLGenerator.gsmarkup. Removed
a dangling reference to ConsistencyResults.gorm.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26522 72102866-910b-0410-8b05-ffd578937521
2008-05-13 17:53:24 +00:00
Matt Rice
b4e0ed69a3
* DBModeler/Resources/ConsistencyResults.gsmarkup: initial import.
...
* DBModeler/GNUmakefile: Add ConsistencyResults.gsmarkup.
* DBModeler/ConsistencyResults.m: Use gsmarkup file.
* DBModeler/Resources/ConsistencyResults.gorm: Remove file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26519 72102866-910b-0410-8b05-ffd578937521
2008-05-13 09:55:43 +00:00
Matt Rice
df5e05ebad
* DBModeler/Resources/Menu-{Cocoa,GNUstep}.gsmarkup: Remove a TODO
...
for an old unused hack.
* EOModeler/EOModelerDocument.m: Add some comments about the new hack.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26518 72102866-910b-0410-8b05-ffd578937521
2008-05-13 07:15:20 +00:00
Matt Rice
1b2a288fdc
* DBModeler/Resources/MainMenu-GNUstep.gsmarkup: Use openPrefs: action
...
for preferences menu item.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26517 72102866-910b-0410-8b05-ffd578937521
2008-05-13 06:53:42 +00:00
Blake Nicholson
6d66f9739c
Modified the DBModeler application to use Renaissance to generate its main
...
menu.
* DBModeler/main.m
(main): Added code to load the application menu, as described in the
Renaissance tutorial.
* DBModeler/Modeler.m
(applicationWillFinishLaunching:): Removed code to manually created the
application's menu. This is now handled by Renaissance.
* DBModeler/Resources/Menu-GNUstep.gsmarkup,
DBModeler/Resources/Menu-Cocoa.gsmarkup
Initial import
* DBModeler/GNUmakefile
Added Renaissance to the list of libraries used by DBModeler. Added
Menu-Cocoa.gsmarkup and Menu-GNUstep.gsmarkup to the list of application
resources.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26516 72102866-910b-0410-8b05-ffd578937521
2008-05-13 03:34:01 +00:00
Blake Nicholson
2a7cbceb9c
Updated the application so we have an icon for Mac OS X.
...
* DBModeler/GNUmakefile: Added DBModeler.icns to the list of resources, and
set DBModeler_APPLICATION_ICON so the icon will be set appropriately.
* DBModeler/Resources/DBModeler.icns: Initial import. Created with Icon
Composer using DBModeler.tiff. This will need to be replaced at some point
with an image that goes up to 512x512.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26515 72102866-910b-0410-8b05-ffd578937521
2008-05-13 00:56:44 +00:00
Blake Nicholson
3844a77a37
* Modeler.m
...
Use NULL instead of nil for an empty NSMenuItem action.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26514 72102866-910b-0410-8b05-ffd578937521
2008-05-12 12:48:11 +00:00
Blake Nicholson
94d86a2b8e
Worked on getting the menus to work properly on OS X. Other minor fixes.
...
* Modeler.m
Changed use of the NSMenuItem protocol to the NSMenuItem class. The
NSMenuItem protocol is deprecated as of OS X 10.5.
Modified the menu creation code so that it creates a native-looking menu on
OS X. Added a top-level app menu, as well as a services menu.
Whitespace clean-up. Changed everything to spaces.
* AttributeCell.m
(drawWithFrame:inView:): Changed access of instance variable to use an
accessor method instead for showsFirstResponder.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26513 72102866-910b-0410-8b05-ffd578937521
2008-05-12 02:58:33 +00:00
Blake Nicholson
b7e35aec2b
* GNUmakefile.in
...
Add EOInterface, EOModeler, and DBModeler to SUBPROJECTS if GUI_LIB is
apple.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26512 72102866-910b-0410-8b05-ffd578937521
2008-05-11 21:06:30 +00:00
Matt Rice
c56229c608
Modeler/EOModelerDocument.m: Add return statements to suppress
...
warnings.
* EOModeler/EOMInspectorController.m: Use -removeFromSuperview instead
of -removeSubview.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26510 72102866-910b-0410-8b05-ffd578937521
2008-05-09 22:50:00 +00:00
Matt Rice
e25743246b
EOModeler/*.[h,m]: Fix includes for OS X.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26509 72102866-910b-0410-8b05-ffd578937521
2008-05-09 20:32:12 +00:00
Matt Rice
2d624f0ec5
* DBModeler/*.[h,m]: Fix includes for OS X.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26508 72102866-910b-0410-8b05-ffd578937521
2008-05-09 20:21:17 +00:00
Matt Rice
82d27b5e48
* EOAccess/EOEntity.m (-[isValidPrimaryKeyAttribute:],
...
-[isValidAttributeUsedForLocking:],
-[isValidClassProperty:]): Test object equality as well as name.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26484 72102866-910b-0410-8b05-ffd578937521
2008-05-03 08:14:22 +00:00
David Ayers
0867ca8cf4
* EOAccess/EODatabaseContext.m
...
([-initializeObject:row:entity:editingContext:]): Remove debug logs.
* EOAccess/EOEntity.m ([-_dictionaryForInstanceProperties],
[-primaryKeyForGlobalID:]) Remove debug logs.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26481 72102866-910b-0410-8b05-ffd578937521
2008-05-01 18:08:18 +00:00
Matt Rice
40f55c0218
* EOAccess/EOEntityPriv.h: Declare new private method
...
_hasAttributeNamed:.
* EOAccess/EOEntity.m (-_hasAttributeNamed:): New private method.
(-anyAttributeNamed:): Add a comment.
* EOAccess/EOAttribute.m (-validateName:): Use -_hasAttributeNamed:
instead of -anyAttributeNamed:
* EOAccess/EORelationship.m (-validateName:): Ditto.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26480 72102866-910b-0410-8b05-ffd578937521
2008-05-01 10:42:08 +00:00
David Ayers
8c3975f830
* EOControl/EOQualifer.m: Include <stdarg.h> explicitly.
...
(getKey): Accept pointer to a va_list instead of the value.
Remove usage of useVAList
(_qualifierWithArgs): Ditto.
(qualifierWithQualifierFormat:arguments:): Pass NULL as va_list
pointer anddrop obsoleted va_list variable and useVAList parameter.
(qualifierWithQualifierFormat:varargList:): Copy va_list to local
variable before passing a reference to it.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26470 72102866-910b-0410-8b05-ffd578937521
2008-04-24 20:55:43 +00:00
Matt Rice
dde79b7073
* EOAccess/EOSQLExpression.m
...
(-[prepareSelectExpressionWithAttributes🔒 fetchSpecification:)]:
Conjoin the fetch specification qualifier with the restricting
qualifier.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26428 72102866-910b-0410-8b05-ffd578937521
2008-04-03 07:05:10 +00:00
Matt Rice
21924c6757
2008-04-03 Georg Fleischmann <georg@vhf.de>
...
* EOAdaptors/PostgreSQLAdaptor/PostgreSQLExpression.m
([+formatValue:forAttribute:]): Fix quoting and unicode
handling.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26427 72102866-910b-0410-8b05-ffd578937521
2008-04-03 06:24:26 +00:00
David Ayers
3caf7e5369
* EOControl/EOKeyValueCoding.m
...
([NSArray-valueForKey:]):
Readd special handling of @count.
This make it WO45 compatible again.
The intermediate behavoir broke many WO bindings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26422 72102866-910b-0410-8b05-ffd578937521
2008-04-01 17:07:27 +00:00
Matt Rice
468200f8ae
* EOAccess/EOStoredProcedure.m (initWithPropertyList:owner:),
...
(encodeIntoPropertyList:): Change key from attributes to arguments.
* EOAccess/EOAttribute.m (initWithPropertyList:owner:):
Handle parameter direction being a string containing a number.
Use boolValue instead of comparing against Y.
* EOAccess/Entity.m (encodeIntoPropetyList:): Encode flags as
strings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26415 72102866-910b-0410-8b05-ffd578937521
2008-03-31 16:03:16 +00:00
David Ayers
329f4dcf5f
* EOControl/EOQualifier.m (getKey): Fix parsing of '%%'
...
as literal '%'.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26403 72102866-910b-0410-8b05-ffd578937521
2008-03-30 22:07:56 +00:00
Matt Rice
d8522ef454
* EOControl/EOQualifier.m (_qualifierWithArgs),
...
(+qualifierWithQualifierFormat:varargList:),
(+qualifierWithQualifierFormat:arguments:)
(getKey): Don't use a pointer to a va_list. See
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14557
Also move variable argument parameters to the end
(_isLike): Fix a crash when matching the first character.
Fix handling of '*?' glob, comment.
(operatorSelectorForString:): Add contains.
(stringForOperatorSelector:): Change string for not equals..
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26395 72102866-910b-0410-8b05-ffd578937521
2008-03-30 13:14:26 +00:00
David Ayers
74d90ef26e
* EOControl/EOQualifier.m ([-dealloc]): Remove empty implementation.
...
([+qualifierWithQualifierFormat:varargList:]): Move implementation to...
(_qualifierWithArgs): ... new static function. Update getKey usage.
([+qualifierWithQualifierFormat:arguments:]): Implement via
_qualifierWithArgs.
(getKey): Add useVAList flag and optional enumerator to use instead.
* EOAccess/EOEntity.m (initWithPropertyList:owner:): Call
[EOQualifier+qualifierWithQualifierFormat:arguments:] to avoid invalid
stack access.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26388 72102866-910b-0410-8b05-ffd578937521
2008-03-29 11:18:58 +00:00
Matt Rice
2859cdc30f
Add ChangeLog entry for rev 26383
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26385 72102866-910b-0410-8b05-ffd578937521
2008-03-29 00:43:09 +00:00
David Ayers
d03b3e0598
* EOControl/EOKeyValueCoding.m ([NSArray-computeCountForKey:):
...
Handle extended aggregate keys.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26333 72102866-910b-0410-8b05-ffd578937521
2008-03-17 17:46:14 +00:00
David Ayers
b690894f53
* EOControl/EOClassDescription.m ([NSObject-classDescriptionForClass:]):
...
Post notification only the first time the description is needed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26331 72102866-910b-0410-8b05-ffd578937521
2008-03-17 14:22:58 +00:00
Matt Rice
57a4402ce4
Add includes and link to frameworks under apple.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26324 72102866-910b-0410-8b05-ffd578937521
2008-03-16 23:26:10 +00:00
Matt Rice
2438352093
2008-03-16 Blake Nicholson <blaken@umich.edu>
...
* EOAdaptors/SQLiteAdaptor/SQLite3Context.m,
* EOAdaptors/SQLiteAdaptor/SQLite3Channel.m,
* EOAdaptors/SQLiteAdaptor/SQLite3Adaptor.m,
* EOControl/EOPrivate.m,
* EOControl/EOAggregateEvent.m,
* EOAccess/EOPrivate.m: Add missing include.
* EOAccess/EOAdaptor.m: Only use NSProprietaryStringEncoding where
available.
* Tools/gsdoc-model.m: Remove unused variables.
* Tools/Makefile.preamble: Fix NATIVE_LIB_DIRS path.
2008-03-16 Matt Rice <ratmice@gmail.com
* EOAccess/EOUtilities.m: Remove NSObjectNotAvailableException.
Moved to base.
* EOAccess/EODatabaseDataSource.m: Remove selector caching.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26323 72102866-910b-0410-8b05-ffd578937521
2008-03-16 22:59:56 +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
ec9c41f779
* EOAdaptors/PostgreSQLAdaptor/PostgreSQLExpression.m
...
(-formatValue:forAttribute:): Use unichars, and getCharacter:.
in case insertString: modifies the string buffer.
* EOAdaptors/SQLiteAdaptor/SQLiteExpression.m (escapeString): Ditto.
Rename to escapeValue, since it works on values other than strings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26320 72102866-910b-0410-8b05-ffd578937521
2008-03-16 21:03:03 +00:00
David Ayers
6604969b06
* EOControl/EOKeyValueCoding.m
...
([NSArray-valueForKey:],[NSArray-valueForKeyPath:]):
Remove special handling of @count.
This is not WO45 compatible but is more consistent with KVC
in general and with current Cocoa implementations. Also any
sane key path using count with WO45 semantics will continue
to work as expected. This change could be reverted if a
valid use case of WO45 behavior arises.
([NSArray-computeSumForKey:],[NSArray-computeAvgForKey:],
[NSArray-computeMaxForKey:],[NSArray-computeMinForKey:]):
Call valueForKeyPath: on components with the rest of the
key path to allow for extended key paths.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26314 72102866-910b-0410-8b05-ffd578937521
2008-03-16 18:10:15 +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
Matt Rice
2cac738da8
* EOAccess/EOModel.m (-addEntity:): Reword assertion message.
...
(-_setEntity:forEntityName:className:): Add assertion.
* EOAccess/EOAttribute.m (-initWithPropertyList:owner:): Validate the
name.
* EOAccess/EORelationship.m (-initWithPropertyList:owner:): Ditto.
* EOAccess/EOEntity.m (-initWithPropertyList:owner:): Ditto.
(-attributes): Remove checks for duplicate names.
(-relationships): Remove checks for duplicate names.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26275 72102866-910b-0410-8b05-ffd578937521
2008-03-11 19:43:57 +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
Matt Rice
d807aac5c2
* TODO: Add an item.
...
* DBModeler/Inspectors/RelationshipInspector.m: Fix row index check.
* DBModeler/Inspectors/GNUmakefile: Use lower case in
HAS_RESOURCE_BUNDLES.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26260 72102866-910b-0410-8b05-ffd578937521
2008-03-10 12:48:00 +00:00
Matt Rice
379b5306f8
rearrange attribute and relationship name cache invalidation and creation.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26259 72102866-910b-0410-8b05-ffd578937521
2008-03-10 11:53:12 +00:00
Matt Rice
8a39cabb21
* EOAccess/EORelationship.m (_makeInverseRelationship): Call
...
-setEntity: last to avoid unwanted calls to entity -setIsEdited.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26246 72102866-910b-0410-8b05-ffd578937521
2008-03-07 23:25:49 +00:00
David Ayers
52c697cd6c
* EOControl/EOFault.m ([+initialize]): Handle runtimes
...
that do not implement forward:: on NSObject.
([-forward]): Update comment.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26237 72102866-910b-0410-8b05-ffd578937521
2008-03-07 11:09:35 +00:00
Matt Rice
d93b8f2b45
* Documentation/GDL2Intro/Examples/GNUmakefile: Link in EOAccess and
...
EOControl to reflect changes to gdl2.make.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26235 72102866-910b-0410-8b05-ffd578937521
2008-03-07 08:06: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
Matt Rice
f1983f243d
* EOAdaptors/SQLiteAdaptor/SQLiteChannel.m: Handle a null number
...
value as the string "0".
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26228 72102866-910b-0410-8b05-ffd578937521
2008-03-06 16:33:02 +00:00
Matt Rice
e35a70da43
* DBModeler/Modeler.m,
...
* EOAccess/EOEntityPriv.h,
* EOAccess/EOModel.h/m,
* EOAccess/EOEntity.h/m,
* EOAccess/EORelationship.h/m: Remove setCreateMutableObjects: and
createsMutableObjects.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26227 72102866-910b-0410-8b05-ffd578937521
2008-03-06 16:28:22 +00:00
David Ayers
0cd90888a5
* EOControl/EOFault.m ([-forward::]): Make dummy implementation.
...
([+initialize]): Adjust runtime to use NSObjects implementation
of -forward:: to invoke fowardInvocation. Useful for OS X,
reported my Tim McIntosh.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26225 72102866-910b-0410-8b05-ffd578937521
2008-03-06 13:33:48 +00:00
David Ayers
be3346e4ad
* EOAccess/EORelationship.m ([-setEntity:]): Modify remove
...
relatioship from previous entity and add recursion detection.
Add documention.
* EOAccess/EOEntity.m ([-removeRelationship:]): Move call
to [EORelationship-setEntity:] to allow recursion detection.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26222 72102866-910b-0410-8b05-ffd578937521
2008-03-06 09:31:16 +00:00
David Ayers
9eed6a685e
* EOControl/EOKeyGlobalID.m ([+assignGloballyUniqueBytes:]):
...
Handle IPv6 addresses gracefully.
[BUG:22486 reported by Blake Nicholson].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26206 72102866-910b-0410-8b05-ffd578937521
2008-03-05 15:20:09 +00:00
David Ayers
d675c3dd6e
* EOControl/EODefines.h (GDL2CONTROL_EXPORT/DECLARE),
...
* EOAccess/EODefines.h (GDL2ACCESS_EXPORT/DECLARE),
* EOModeler/EODefines.h (GDL2MODELER_EXPORT/DECLARE): Synchronize
dllimport/export handling for MinGW with -base.
(Attempt to fix bug reported by Tim Kack)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26026 72102866-910b-0410-8b05-ffd578937521
2008-02-06 08:55:42 +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
3cf807244b
* EOControl/EOClassDescription.h: Avoid unnecessary include.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@25993 72102866-910b-0410-8b05-ffd578937521
2008-01-22 10:27:53 +00:00
David Ayers
9b1e6814d4
* Tools/NSArray+GSDoc.m: Include NSString.h ...
...
* EOControl/EOClassDescription.h: Include NSDictionary.h to compile
with new versions of -base/Foundation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@25992 72102866-910b-0410-8b05-ffd578937521
2008-01-22 08:54:02 +00:00
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
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