+2005-04-25 Helge Hess <helge.hess@opengroupware.org>
+
+ * properly include config.make
+
+ * fixed some gcc 4.0 warnings
+
2004-09-26 Helge Hess <helge.hess@opengroupware.org>
* GNUmakefile.preamble: fixed makefiles for SOPE inline compilation
-# $Id: GNUmakefile 9 2004-08-20 18:40:42Z helge $
+# GNUstep makefile
+-include ../../config.make
include $(GNUSTEP_MAKEFILES)/common.make
TOOL_NAME = ical2 ical3
self->entityName = [[ud stringForKey:@"entity"] copy];
- if ((tmp = [ud objectForKey:@"qualifier"]))
- self->qualifier = [[EOQualifier alloc] initWithPropertyList:tmp];
+ if ((tmp = [ud objectForKey:@"qualifier"]) != nil) {
+ self->qualifier = [[EOQualifier alloc] initWithPropertyList:tmp
+ owner:nil];
+ }
- if ((tmp = [ud objectForKey:@"sort"])) {
- if ((tmp = [[EOSortOrdering alloc] initWithPropertyList:tmp])) {
- self->sortOrderings = [[NSArray alloc] initWithObjects:tmp,nil];
- [tmp release];
+ if ((tmp = [ud objectForKey:@"sort"]) != nil) {
+ tmp = [[EOSortOrdering alloc] initWithPropertyList:tmp owner:nil];
+ if (tmp != nil) {
+ self->sortOrderings = [[NSArray alloc] initWithObjects:&tmp count:1];
+ [tmp release]; tmp = nil;
}
}
}
/* setup datasource */
- ds = [[[iCalDataSource alloc] initWithPath:arg] autorelease];
+ ds = [iCalDataSource alloc]; // keep gcc happy
+ ds = [[ds initWithPath:arg] autorelease];
[ds setFetchSpecification:fspec];
/* perform fetch */
+2005-04-25 Helge Hess <helge.hess@opengroupware.org>
+
+ * VSSaxDriver.m: fixed a gcc 4.0 warning (v4.5.12)
+
2004-12-14 Marcus Mueller <znek@mulle-kybernetik.com>
* versitSaxDriver.xcode: minor changes and updated
- (NSString *)_mapAttrName:(NSString *)_attrName forTag:(NSString *)_tagName {
NSString *mappedName;
-
- mappedName = [[self->attributeMapping objectForKey:_tagName]
+
+ mappedName = [(NSDictionary *)[self->attributeMapping objectForKey:_tagName]
objectForKey:_attrName];
- if (!mappedName) {
- mappedName = [[self->attributeMapping objectForKey:
+ if (mappedName == nil) {
+ mappedName = [(NSDictionary *)[self->attributeMapping objectForKey:
[self _mapTagName:_tagName]]
objectForKey:_attrName];
}
- if (!mappedName) {
- mappedName = [[self->attributeMapping objectForKey:@""]
+ if (mappedName == nil) {
+ mappedName = [(NSDictionary *)[self->attributeMapping objectForKey:@""]
objectForKey:_attrName];
}
- if (!mappedName)
+ if (mappedName == nil)
mappedName = _attrName;
return mappedName;
# Version file
-SUBMINOR_VERSION:=11
+SUBMINOR_VERSION:=12