-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
* 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
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
* 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
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
(+[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
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
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
(-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
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
(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
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
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
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