(-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
([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
* 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
-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
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
([+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
* 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
* 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
Do not invoke takeValue:forKey: if the old value equals the new value.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@25621 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
* 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
(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
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
* 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
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