-[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
(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
(-[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
([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
(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
(+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
as is.
* EOControl/EOQualifier.m (getKey): Add some exceptions for invalid
qualifier formats, and parse binding variables.
(bindingKeys): Return the binding variable keys, not the qualifier keys
with binding variable values.
(EOQualifierVariable -description): Implement.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26383 72102866-910b-0410-8b05-ffd578937521
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
(-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