Commit graph

129 commits

Author SHA1 Message Date
Sebastian Reitenbach
60460b7b45 * EOAdaptors/SQLiteAdaptor/SQLite3Adaptor.m
get rid of stray ; to make the loop work


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@36296 72102866-910b-0410-8b05-ffd578937521
2013-03-07 13:11:34 +00:00
Sebastian Reitenbach
245b9ac076 * EOAdaptors/PostgreSQLAdaptor/LoginPanel/PostgreSQLLoginPanel.h
class conforms to NSTextFieldDelegate



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@36295 72102866-910b-0410-8b05-ffd578937521
2013-03-07 13:10:44 +00:00
Sebastian Reitenbach
829a02e46a * Apps/EOModelEditor/AdaptorsPanel.m
* Apps/EOModelEditor/Preferences.m
        * EOAccess/EOAttribute.m
        * EOAccess/EOExpressionArray.m
        * EOAccess/EORelationship.m
        * EOAdaptors/PostgreSQLAdaptor/LoginPanel/PostgreSQLLoginPanel.m
        * EOAdaptors/SQLiteAdaptor/SQLite3Channel.m
        * EOControl/EOCheapArray.m
        * EOControl/EOMutableKnownKeyDictionary.m
        * EOControl/EOPrivate.h
        * EOControl/EOPrivate.m
        * EOControl/Makefile.preamble
        * GDL2Palette/ConnectionInspector.m
        * GDL2Palette/DisplayGroupInspector.m
          Fix warnings about conflicting return types or paramters


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@36241 72102866-910b-0410-8b05-ffd578937521
2013-03-02 18:20:35 +00:00
Germán Arias
8e7b0621cb Add flags
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@35397 72102866-910b-0410-8b05-ffd578937521
2012-08-11 03:55:19 +00:00
Germán Arias
ebdb1f7c90 Fix memory leak
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@34954 72102866-910b-0410-8b05-ffd578937521
2012-03-20 05:55:21 +00:00
Germán Arias
0215e55df9 Added SQLite logo in login panel
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@34953 72102866-910b-0410-8b05-ffd578937521
2012-03-20 05:47:28 +00:00
Germán Arias
f9cb25f695 More improvements for use with menu in-window
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@34951 72102866-910b-0410-8b05-ffd578937521
2012-03-19 18:10:22 +00:00
Dave Wetzel
f14aafa3fc * EOAccess/EOEntity.m
- createInstanceWithEditingContext:globalID:zone:
reformat, remove logs
* EOAccess/EODatabaseContext.m
-initializeObject:withGlobalID:editingContext:
rewritten, add exceptions
* EOAccess/EODatabaseChannel.m
-fetchObject
remove logs, add exceptions
* EOAdaptors/PostgreSQLAdaptor/PostgreSQLAdaptor.m
postgresClientVersion()
use stringWithCString:encoding: not stringWithCString:
* Apps/EOModelEditor/CodeGenerator.m
don't add <NSCoding> to generated code
* EOControl/EOCustomObject.h
* EOControl/EOCustomObject.m
add -encodeWithCoder:
add -initWithCoder:



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30875 72102866-910b-0410-8b05-ffd578937521
2010-06-28 09:31:49 +00:00
Dave Wetzel
a5a47b954d * EOAccess/EODatabaseContext.m
-isValidQualifierTypeForAttribute:
reformat, remove useless code
-qualifierForLockingAttributes:primaryKeyAttributes:entity:snapshot:
reformat
* EOAdaptors/PostgreSQLAdaptor/PostgreSQLAdaptor.m
-isValidQualifierType:model:
remove logs, format
* Apps/EOModelEditor/Inspectors/AttributeInspector.gsmarkup
* Apps/EOModeler/EOModelExtensions.m
Rename the char into BOOL
You can use BOOL to create code that has BOOL values.
Apple seems to do this in newer code 



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30874 72102866-910b-0410-8b05-ffd578937521
2010-06-27 08:34:28 +00:00
Dave Wetzel
6294a2b46f * EOAccess/EODatabase.m
* EOAccess/EODatabase.h
add _doesReleaseUnreferencedSnapshots
add dummy for incrementSnapshotCountForGlobalID
add dummy for decrementSnapshotCountForGlobalID
add disableSnapshotRefcounting
* EOAccess/EODatabaseContext.m
retain EOAdaptorChannel created by adaptor
This is documented in WO 4.5.
Otherwise it gets closed after the request's
autorelease pool is drained.
I tested this on OSX with the BookStore example.
added some dummies for future implementation
refactor objectsWithFetchSpecification: editingContext:
refactor commitChanges
* EOAccess/EODatabaseChannel.m
reformat
* EOAdaptors/PostgreSQLAdaptor/PostgreSQLExpression.m
add include
* EOControl/EOGenericRecord.m
add [self willChange] in setValue:forUndefinedKey:
this will make saving changes possible for EOGenericRecord
otherwise it was just showing them in memory



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30675 72102866-910b-0410-8b05-ffd578937521
2010-06-11 12:17:45 +00:00
Dave Wetzel
4878a85bbe * EOAccess/EOSQLExpression.m
fix include for less warnings on mac
	* EOAccess/EOEntity.m
	fix include for less warnings on mac
	isPrimaryKeyValidInObject: 0 is NOT a valid PK value
	* EOAccess/EOAdaptor.m
	fix include for less warnings on mac
	isDroppedConnectionException
	add comment and remove logs
	* EOAccess/EOSQLQualifier.m
	* EOAccess/EODatabaseDataSource.m
	* EOAccess/EOAdaptorContext.m
	* EOAccess/EORelationship.m
	* EOAccess/EOUtilities.m
	* EOAccess/EOSchemaGeneration.m
	* EOAccess/EOAdaptorChannel.m
	* EOAccess/EODatabaseChannel.m	
	fix include for less warnings on mac
	* EOAccess/EODatabaseContext.h
	add support for shouldHandleDatabaseException (WO 4.5)
	* EOAccess/EODatabaseContext.m
	add support for shouldHandleDatabaseException
	add [newRow addEntriesFromDictionary:objectPK] 
	to merge PKValues into the values of the EO.
	without that it is impossible to work.
	relayPrimaryKey: object: entity:
	Hopefully fixed. 
	add _delegateHandledDatabaseException:
	fixed _primaryKeyForObject: raiseException:
	(we raise always for now)
	* EOAccess/EOAdaptorChannel.h
	add comment
	* EOAdaptors/PostgreSQLAdaptor/PostgreSQLChannel.m
	fix include for less warnings on mac
	numberOfAffectedRows: search reverse to cover "INSERT 0 1" case.
	The first zero is the OID number
	refactored primaryKeyForNewRowWithEntity:
	* EOAdaptors/PostgreSQLAdaptor/PostgreSQLContext.h/m
	disabled _primaryKeySequenceNameFormat
	* EOAdaptors/PostgreSQLAdaptor/PostgreSQLExpression.m
	fixed formatValue: forAttribute:
	* EOControl/EOEditingContext.m
	* EOControl/EOFaultHandler.m
	* EOControl/EOKeyValueQualifier.m
	* EOControl/EOUndoManager.m
	* EOControl/EOClassDescription.m
	* EOControl/EOQualifier.m
	* EOControl/EOOrQualifier.m
	fix include for less warnings on mac
	* EOControl/EOCustomObject.m
	use getCString:maxLength:encoding instead of getCString
	use setValue: forKey instead of takeValue: forKey:
	change text in exceptions a bit
	* EOControl/EOPrivate.h
	use setValue: forKey instead of takeValue: forKey:	



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30633 72102866-910b-0410-8b05-ffd578937521
2010-06-09 12:48:33 +00:00
Dave Wetzel
d193acd41c * EOAccess/EOEntity.m
Added comment. Please check this! 
	* EOAccess/EODatabaseContext.m
	include NSObject+GNUstepBase.h
	avoid Enumerator exception.
	* EOAccess/EOUtilities.m
	split line into two
	* EOAccess/EOAdaptorChannel.h/m
	unsigned -> NSUInteger
	* EOAdaptors/PostgreSQLAdaptor/PostgreSQLChannel.h
	removed _describeResults
	* EOAdaptors/PostgreSQLAdaptor/PostgreSQLChannel.m
	include NSObject+GNUstepBase.h
	added numberOfAffectedRows
	attribute naming in raw rows fixed
	updating fixed
	unsigned -> NSUInteger



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30586 72102866-910b-0410-8b05-ffd578937521
2010-06-06 08:52:37 +00:00
Dave Wetzel
981cb4903f * EOAccess/EOAttribute.m: reformat
* EOAccess/EOAdaptor.m
in databaseEncoding: use +[GSMimeDocument encodingFromCharset:]
less logging
* EOAdaptors/PostgreSQLAdaptor/PostgreSQLChannel.h: reformat
encoding -> _encoding
* EOAdaptors/PostgreSQLAdaptor/PostgreSQLChannel.m
Use _encoding now for reading and writing Strings.
less logging
* EOAdaptors/PostgreSQLAdaptor/PostgreSQLCompatibility.h
if 0 for now (please check if that code is still needed!)
* EOAdaptors/PostgreSQLAdaptor/PostgreSQLPrivate.m
fix header
* EOAdaptors/PostgreSQLAdaptor/PostgreSQLAdaptor.m
less logging
* Apps/EOModelEditor
* Apps/EOModelEditor/Inspectors
propset  svn:ignore
* Apps/EOModelEditor/GNUmakefile
add -lgnustep-baseadd on non-GNUstep



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30517 72102866-910b-0410-8b05-ffd578937521
2010-06-01 00:29:37 +00:00
Dave Wetzel
021d9c6759 * EOAccess/EOAttribute.m
added attributeWithParent: definition: convenience method
* EOAccess/EOAdaptorContext.m
  _channelDidInit: setDelegate
* EOAccess/EODatabaseContext.m
  availableChannel: call registerChannel
  new method _fetchRawRowKeyPaths:fetchSpecification:entity:editingContext:
* EOAccess/EODatabaseChannel.m
  raise NSInvalidArgumentException in init.
  initWithDatabaseContext: more checks
* EOAdaptors/PostgreSQLAdaptor/PostgreSQLContext.m
  beginTransaction: more checks, raise NSInternalInconsistencyException



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30494 72102866-910b-0410-8b05-ffd578937521
2010-05-30 18:24:14 +00:00
Dave Wetzel
3f1ad81647 * EOAdaptors/PostgreSQLAdaptor/PostgreSQLChannel.h/m
added _evaluateExprInProgress
_evaluateExpression:withAttributes: returns number of affected rows now.
This removes the need for keeping the _pgResult alive.
(and leak)
fix includes for non-GNUstep platforms
* EOAdaptors/PostgreSQLAdaptor/PostgreSQLContext.m
fix includes for non-GNUstep platforms
* EOAdaptors/PostgreSQLAdaptor/PostgreSQLAdaptor.m
fix includes for non-GNUstep platforms
* EOAdaptors/PostgreSQLAdaptor/PostgreSQLExpression.m
fix includes for non-GNUstep platforms



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


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@28316 72102866-910b-0410-8b05-ffd578937521
2009-06-01 12:02:25 +00:00
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
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
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
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
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
Matt Rice
0f3cf79e03 * EOInterface/Makefile.preamble,
* EOInterface/GNUmakefile,
        * EOAccess/Makefile.preamble,
        * EOAdaptors/PostgreSQLAdaptor/Makefile.preamble,
        * EOControl/Makefile.preamble,
        * common.make,
        * EOModeler/Makefile.preamble: Add gcov flags.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26286 72102866-910b-0410-8b05-ffd578937521
2008-03-12 14:04:21 +00:00
David Ayers
eb5b964a9b * DBModeler/GNUmakefile,
* DBModeler/Inspectors/GNUmakefile,
	* Documentation/GDL2Intro/Examples/GNUmakefile.connection,
	* Documentation/GDL2Intro/Examples/GNUmakefile.eoexample,
	* Documentation/GDL2Intro/Examples/GNUmakefile.eoexample2,
	* EOAccess/GNUmakefile,
	* EOAdaptors/PostgreSQLAdaptor/GNUmakefile.in,
	* EOAdaptors/PostgreSQLAdaptor/LoginPanel/GNUmakefile,
	* EOAdaptors/SQLiteAdaptor/GNUmakefile.in,
	* EOAdaptors/SQLiteAdaptor/LoginPanel/GNUmakefile,
	* EOControl/GNUmakefile,
	* EOInterface/GNUmakefile,
	* EOModeler/GNUmakefile,
	* GDL2Palette/GNUmakefile,
	* Tools/GNUmakefile (XXX_NEEDS_GUI): Use lowercase value.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26264 72102866-910b-0410-8b05-ffd578937521
2008-03-11 08:29:42 +00:00
David Ayers
ceaab97ecb * DBModeler/GNUmakefile,
* DBModeler/Inspectors/GNUmakefile,
	* Documentation/GDL2Intro/Examples/GNUmakefile.connection,
	* Documentation/GDL2Intro/Examples/GNUmakefile.eoexample,
	* Documentation/GDL2Intro/Examples/GNUmakefile.eoexample2,
	* EOAccess/GNUmakefile,
	* EOAdaptors/PostgreSQLAdaptor/GNUmakefile.in,
	* EOAdaptors/PostgreSQLAdaptor/LoginPanel/GNUmakefile,
	* EOAdaptors/SQLiteAdaptor/GNUmakefile.in,
	* EOAdaptors/SQLiteAdaptor/LoginPanel/GNUmakefile,
	* EOControl/GNUmakefile,
	* EOInterface/GNUmakefile,
	* EOModeler/GNUmakefile,
	* GDL2Palette/GNUmakefile,
	* Tools/GNUmakefile (XXX_NEEDS_GUI): Set appropriately.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26233 72102866-910b-0410-8b05-ffd578937521
2008-03-06 21:58:26 +00:00
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
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
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
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
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
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
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
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
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
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
97111db765 * EOAdaptors/PostgreSQLAdaptor/PostgreSQLValues.h/m:
Remove files.
	* EOAdaptors/PostgreSQLAdaptor/PostgreSQLPrivate.h/m
	Remove references to PostgreSQLValues.
	* EOAdaptors/PostgreSQLAdaptor/PostgreSQLExpression.m:
	Ditto.
	* EOAdaptors/PostgreSQLAdaptor/GNUmakefile.in: Ditto.
	
	* EOAdaptors/PostgreSQLAdaptor/PostgreSQLChannel.m
	(attrRespondsToValueClass, attrRespondsToValueTypeChar)
	(newValueForNumberTypeLengthAttribute)
	(newValueForCharactersTypeLengthAttribute)
	(newValueForBytesTypeLengthAttribute)
	(newValueForDateTypeLengthAttribute)
	(newValueForBytesLengthAttribute)
	... to static inline functions here.
	(getDigits): New support function.
	(__dummy_function_used_for_linking) Remove link hack.
	(initialize): Initialize new static variables.
	Use new static inline functions instead of PostgreSQLValues.

	(newValueForDateTypeLengthAttribute): Adapt to stricter NSDate
	parsing behavior.

	(NSS_SWF): Remove macro in favor of real method name.
	
	* EOAdaptors/PostgreSQLAdaptor/PostgreSQLChannel.h
	(encoding): New instance variable.

	* EOAdaptors/PostgreSQLAdaptor/PostgreSQLAdaptor.h
	(PostgreSQLException): Move declation for documentation.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@24298 72102866-910b-0410-8b05-ffd578937521
2006-12-31 01:32:05 +00:00
David Ayers
4e1e4eea27 * EOControl/GNUmakefile: Simplify documentation declarations.
* EOAccess/GNUmakefile: Ditto.
	* EOInterface/GNUmakefile: Ditto.
	* Tools/GNUmakefile: Ditto.

	* common.make (ADDITIONAL_LIB_DIRS): Move handling from here...
	* variable-processing.make: ... to new file.
	* EOControl/GNUmakefile: Use variable-processing.make.
	Include common.make early.
	* EOAccess/GNUmakefile: Ditto.
	* EOInterface/GNUmakefile: Ditto.
	* Tools/GNUmakefile: Ditto. 
	* DBModeler/GNUmakefile: Ditto.
	* EOModeler/GNUmakefile: Ditto.
	* GDL2Palette/GNUmakefile: Ditto.
	
	* EOControl/EOFetchSpecification.h/m: Cleanup for documentation
	generation.
	* EOControl/EOGenericRecord.m: Ditto.
	* EOControl/EOClassDescription.h/m: Ditto.	
	* EOControl/EONSAddOns.m: Ditto.
	* EOControl/EOObjectStore.h: Ditto.
	* EOControl/EOEditingContext.h: Ditto.
	* EOControl/EODataSource.m: Ditto.
	* EOControl/EOKeyValueArchiver.h/m: Ditto.
	* EOControl/EOFault.h/m: Ditto.
	* EOControl/EOObserver.h: Ditto.
	* EOControl/EOEventCenter.m: Ditto.
	* EOControl/EOMultiReaderLock.m: Ditto.
	* EOControl/EOKeyGlobalID.h/m: Ditto.
	* EOControl/EOObserver.m: Ditto.
	* EOControl/EOEvent.m: Ditto.
	* EOControl/EOObjectStoreCoordinator.h: Ditto.
	* EOControl/EODeprecated.h: Ditto.
	* EOControl/EOUndoManager.m: Ditto.
	* EOControl/EOKeyValueCoding.h/m: Ditto.
	* EOControl/EOQualifier.h: Ditto.
	
	* EOControl/EOClassDescription.h/m (editingContext): Remove
	duplicate declartion and definition (see EOEditingContext.h/m)
	* EOControl/EOFetchSpecification.h (EOPrefetchingRelationshipHintKey)
	(EOFetchLimitHintKey, EOPromptsAfterFetchLimitHintKey): Remove
	deprecated declarations.
	
	* EOAccess/EOAttribute.m: Cleanup for documentation.
	* EOAccess/EOAttribute.m (newValueForBytes:length:encoding:):
	Avoid creating intermediate NSData object.

	* EOControl/EOControl.gsdoc: Added Documentation.

	* EOControl/EOUndoManager.h: Remove content of deprecated header
	and add warning.
	
	* common.make (GDL2_AGSDOC_FLAGS): Add global GDL2 documenation
	flags.
	* config.h.in (RCSID): Avoid reserved names by relying
	in static declarations and avoid recursive call.

	* EOAdaptors/PostgreSQLAdaptor/PostgreSQLAdaptor.m
	(assignExternalInfoForAttribute:) Move implementation to...
	(assignExternalTypeForAttribute:) ...here.

	* Version: Update variable names.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@24297 72102866-910b-0410-8b05-ffd578937521
2006-12-30 17:41:02 +00:00
Matt Rice
460fda5fa8 * EOAdaptors/PostgreSQL/LoginPanel/GNUmakefile: Fix path to
NATIVE_LIB_DIRS.
        * GDL2Palette/DisplayGroupInspector.m: Call super dealloc.
        * GDL2Palette/ResourceManager.m: Add comment.
        * DBModeler/DefaultColumnProvider: Set switch buttons to ineditable.
        * ChangeLog: Add missing entries...



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@24291 72102866-910b-0410-8b05-ffd578937521
2006-12-29 00:09:01 +00:00
Matt Rice
11c2e9260a * EOAccess/EOEntity.m (-dealloc): Only set parents to nil
properties which have been fully loaded.
        * EOAdaptors/PostgreSQL/LoginPanel/GNUmakefile: Remove references to
        libgnustep-db2control/access
        * DBModeler/MainModelEditor.m: Set the windows title.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@24253 72102866-910b-0410-8b05-ffd578937521
2006-12-26 16:41:37 +00:00
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
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
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