+2005-07-15 Helge Hess <helge.hess@opengroupware.org>
+
+ * SOGoSieveScriptObject.m: fixed a gcc 4.0 warning (v0.9.11)
+
2005-07-11 Helge Hess <helge.hess@opengroupware.org>
* SOGoSieveBaseObject.[hm]: removed unused -imap4Client method
NSString *reason;
/* Note: valueForKey:@"reason" does not work?! */
- reason = [[_result valueForKey:@"RawResponse"] objectForKey:@"reason"];
+ reason = [(NSDictionary *)[_result valueForKey:@"RawResponse"]
+ objectForKey:@"reason"];
if (![reason isNotNull])
reason = @"Failed to upload Sieve script.";
# Version file
-SUBMINOR_VERSION:=10
+SUBMINOR_VERSION:=11
# v0.9.9 requires libNGMime v4.5.223
# v0.9.6 requires libNGMime v4.5.207
+2005-07-15 Helge Hess <helge.hess@opengroupware.org>
+
+ * UIxMailSizeFormatter.m, UIxMailPartMixedViewer.m,
+ UIxMailPartICalViewer.m, UIxMailPartAlternativeViewer.m,
+ UIxMailPartViewer.m: fixed gcc 4.0 warnings (v0.9.8)
+
2005-07-14 Helge Hess <helge.hess@opengroupware.org>
* UIxMailPartICalViewer.m: properly reset part caches when the
}
- (NSString *)childPartName {
- unsigned char buf[8];
+ char buf[8];
sprintf(buf, "%d", [self childIndex] + 1);
return [NSString stringWithCString:buf];
}
}
- (iCalEvent *)storedEvent {
- return [[self storedEventObject] event];
+ return [(SOGoAppointmentObject *)[self storedEventObject] event];
}
/* organizer tracking */
}
- (NSString *)childPartName {
- unsigned char buf[8];
+ char buf[8];
sprintf(buf, "%d", [self childIndex] + 1);
return [NSString stringWithCString:buf];
}
- (NSData *)decodedFlatContent {
NSString *enc;
- enc = [[[self bodyInfo] objectForKey:@"encoding"] lowercaseString];
+ enc = [[(NSDictionary *)[self bodyInfo]
+ objectForKey:@"encoding"] lowercaseString];
if ([enc isEqualToString:@"7bit"])
return [self flatContent];
return nil;
}
- charset =
- [[[self bodyInfo] objectForKey:@"parameterList"] objectForKey:@"charset"];
+ charset = [(NSDictionary *)
+ [(NSDictionary *)[self bodyInfo] objectForKey:@"parameterList"]
+ objectForKey:@"charset"];
charset = [charset lowercaseString];
// TODO: properly decode charset, might need to handle encoding?
/* formatting */
- (NSString *)stringForSize:(unsigned int)size {
- unsigned char buf[128];
+ char buf[128];
if (size < 1024)
sprintf(buf, "%d", size);
# version file
-SUBMINOR_VERSION:=6
+SUBMINOR_VERSION:=8
# v0.9.1 requires libNGMime v4.5.213
2005-07-15 Helge Hess <helge.hess@opengroupware.org>
+ * UIxCalScheduleOverview.m, UIxAppointmentView.m,
+ UIxAppointmentProposal.m, UIxAppointmentEditor.m: fixed gcc 4.0
+ warnings (v0.9.135)
+
* UIxAppointmentView.h: fixed a Cocoa warning (v0.9.134)
2005-07-14 Marcus Mueller <znek@mulle-kybernetik.com>
- (NSString *)cycleLabel {
NSString *key;
- key = [self->item objectForKey:@"label"];
+ key = [(NSDictionary *)self->item objectForKey:@"label"];
return [self labelForKey:key];
}
return self;
}
-- (id)defaultAction {
+- (id<WOActionResults>)defaultAction {
NSString *ical;
/* load iCalendar file */
return YES;
}
-- (id)defaultAction {
+- (id<WOActionResults>)defaultAction {
NSCalendarDate *now;
now = [NSCalendarDate date];
/* action */
-- (id)defaultAction {
+- (id<WOActionResults>)defaultAction {
if ([self appointment] == nil) {
return [NSException exceptionWithHTTPStatus:404 /* Not Found */
reason:@"could not locate appointment"];
NSString *orgEmail;
apt = [apts objectAtIndex:i];
- orgEmail = [apt objectForKey:@"orgmail"];
+ orgEmail = [(NSDictionary *)apt objectForKey:@"orgmail"];
if (orgEmail && [orgEmail isEqualToString:userEmail]) {
[self->userApts addObject:apt];
}
# Version file
-SUBMINOR_VERSION:=134
+SUBMINOR_VERSION:=135
# v0.9.123 requires Appointments v0.9.35
# v0.9.123 requires SOGoUI v0.9.24