+2004-08-14 Marcus Mueller <znek@mulle-kybernetik.com>
+
+ * UIxAppointmentEditor.m: Changed "X-OGo-RESOURCE" into
+ "NON-PARTICIPANT" (v0.9.36)
+
2004-08-14 Marcus Mueller <znek@mulle-kybernetik.com>
* UIxAppointmentView.[h,m,wox], UIxAppointmentEditor.[h,m,wox]:
/* see RFC2445, sect. 4.2.16 for details */
if(_isResource) {
- [p setRole:@"X-OGo-RESOURCE"];
+ [p setRole:@"NON-PARTICIPANT"];
}
else {
[p setRole:@"REQ-PARTICIPANT"];
# $Id$
-SUBMINOR_VERSION:=35
+SUBMINOR_VERSION:=36
# v0.9.31 requires libWEExtensions v4.2.52
# v0.9.29 requires libWEExtensions v4.2.51
+2004-08-14 Marcus Mueller <znek@mulle-kybernetik.com>
+
+ * UIxAppointmentEditor.m: changed filter. The iCalSaxDriver doesn't
+ push X-* properties through, so I reverted the X-OGo-RESOURCE prop.
+ to NON-PARTICIPANT. To me it appears to conform to the specs. Also
+ the iCalSaxDriver truncates these to NON-PART - I don't know why it
+ does so. (v0.9.5)
+
2004-08-14 Marcus Mueller <znek@mulle-kybernetik.com>
* v0.9.4
}
- (NSArray *)_filteredAttendeesThinkingOfPersons:(BOOL)_persons {
- EOQualifier *q;
- NSString *qs;
-
- if(_persons)
- qs = @"role != X-OGo-RESOURCE";
- else
- qs = @"role = X-OGo-RESOURCE";
- q = [EOQualifier qualifierWithQualifierFormat:qs];
- return [[self attendees] filteredArrayUsingQualifier:q];
+ NSArray *list;
+ NSMutableArray *filtered;
+ unsigned i, count;
+
+ list = [self attendees];
+ count = [list count];
+ filtered = [[NSMutableArray alloc] initWithCapacity:count];
+ for(i = 0; i < count; i++) {
+ iCalPerson *p;
+ NSString *role;
+
+ p = [list objectAtIndex:i];
+ role = [p role];
+ if(_persons) {
+ if(role == nil || ![role isEqualToString:@"NON-PART"])
+ [filtered addObject:p];
+ }
+ else {
+ if([role isEqualToString:@"NON-PART"])
+ [filtered addObject:p];
+ }
+ }
+ return [filtered autorelease];
}
@end
# $Id$
-SUBMINOR_VERSION:=4
+SUBMINOR_VERSION:=5