+2005-01-04 Helge Heß <helge.hess@opengroupware.org>
+
+ * common.h: streamline NeXT/APPLE/COCOA Foundation library define into
+ just COCOA_Foundation_LIBRARY (fixes a warning) (v4.5.14)
+
2005-01-04 Marcus Mueller <znek@mulle-kybernetik.com>
* OFSWebMethodRenderer.m, OFSWebMethod.m, common.h: removed warnings
#import <Foundation/Foundation.h>
-#if NeXT_Foundation_LIBRARY || APPLE_FOUNDATION_LIBRARY
+#if NeXT_Foundation_LIBRARY || APPLE_FOUNDATION_LIBRARY || \
+ COCOA_Foundation_LIBRARY
+#define COCOA_Foundation_LIBRARY 1
+
# include <NGExtensions/NGObjectMacros.h>
# include <NGExtensions/NSString+Ext.h>
#endif
+2005-01-04 Helge Hess <helge.hess@opengroupware.org>
+
+ * EOAttribute.m, EOFaultHandler.m, EODatabaseFaultResolver.m: added
+ casts to avoid compile warnings with Xcode (v4.5.44)
+
2004-12-14 Marcus Mueller <znek@mulle-kybernetik.com>
* v4.5.43
If not, write to the Free Software Foundation,
59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-
// $Id: EOAttribute.m 1 2004-08-20 10:38:46Z znek $
#import "common.h"
if (NSDataClass == nil) NSDataClass = [NSData class];
if (NSStringClass == nil) NSStringClass = [NSString class];
- if ([[*_value class] isKindOfClass:NSDataClass]) {
+ if ([(NSObject *)[*_value class] isKindOfClass:NSDataClass]) {
unsigned len;
len = [*_value length];
return e;
}
}
- else if ([[*_value class] isKindOfClass:NSStringClass]) {
+ else if ([(NSObject *)[*_value class] isKindOfClass:NSStringClass]) {
unsigned len;
len = [*_value cStringLength];
self->qualifier = RETAIN(aQualifier);
self->fetchOrder = RETAIN(aFetchOrder);
- NSAssert([self->targetClass isKindOfClass:[NSArray class]],
+ NSAssert([(NSObject *)self->targetClass isKindOfClass:[NSArray class]],
@"target class of an array fault is not an array class");
}
return self;
unsigned int oldRetainCount;
BOOL inTransaction;
- NSAssert([self->targetClass isKindOfClass:[NSArray class]],
+ NSAssert([(NSObject *)self->targetClass isKindOfClass:[NSArray class]],
@"target class of an array fault is not an array class");
oldRetainCount = [_fault retainCount];
return (class_get_instance_method(class, _selector) != NULL) ? YES : NO;
#else
# warning TODO: use NeXT/Apple runtime function
- return [class methodForSelector:_selector] ? YES : NO;
+ return [(NSObject *)class methodForSelector:_selector] ? YES : NO;
#endif
}
# version file
-SUBMINOR_VERSION:=43
+SUBMINOR_VERSION:=44
+2005-01-04 Helge Hess <helge.hess@opengroupware.org>
+
+ * NGImap4: fixed a small warning with Xcode (v4.5.205)
+
2004-12-09 Helge Hess <helge.hess@opengroupware.org>
* NGMime: fixed an issue with future date headers and libFoundation
+2005-01-04 Helge Hess <helge.hess@opengroupware.org>
+
+ * NGSieveClient.m: fixed a warning when compiling with Xcode
+
2004-12-14 Marcus Mueller <znek@mulle-kybernetik.com>
* NGImap4.xcode: minor fixes and updated
return nil;
}
- self->io = [[NGBufferedStream alloc] initWithSource:self->socket];
+ self->io = [[NGBufferedStream alloc] initWithSource:(id)self->socket];
self->parser = [[NGImap4ResponseParser alloc] initWithStream:self->socket];
/* receive greeting from server without tag-id */
MAJOR_VERSION:=4
MINOR_VERSION:=5
-SUBMINOR_VERSION:=204
+SUBMINOR_VERSION:=205
# v4.2.149 requires libNGStreams v4.2.34