+2005-07-14 Marcus Mueller <znek@mulle-kybernetik.com>
+
+ * v4.5.49
+
+ * iCalCalendar.[hm]: added 'method'
+
+ * iCalEntityObject.[hm]: added 'userComment', changed all email
+ related comparisons to lowercase all strings before comparison
+
+ * iCalEvent.h: pretty printed iVars
+
+ * NGiCal.xmap: added mapping for 'comment' -> 'userComment' and
+ 'method' -> 'method'
+
2005-07-13 Helge Hess <helge.hess@opengroupware.org>
* v4.5.48
);
buildSettings = {
DYLIB_COMPATIBILITY_VERSION = 1;
- DYLIB_CURRENT_VERSION = 4.5.56;
+ DYLIB_CURRENT_VERSION = 4.5.49;
FRAMEWORK_SEARCH_PATHS = "\"$(USER_LIBRARY_DIR)/EmbeddedFrameworks\"";
FRAMEWORK_VERSION = A;
GCC_PRECOMPILE_PREFIX_HEADER = NO;
);
buildSettings = {
DYLIB_COMPATIBILITY_VERSION = 1;
- DYLIB_CURRENT_VERSION = 4.5.56;
+ DYLIB_CURRENT_VERSION = 4.5.49;
FRAMEWORK_SEARCH_PATHS = "$(LOCAL_LIBRARY_DIR)/Frameworks";
FRAMEWORK_VERSION = A;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
buildSettings = {
COPY_PHASE_STRIP = NO;
DYLIB_COMPATIBILITY_VERSION = 1;
- DYLIB_CURRENT_VERSION = 4.5.56;
+ DYLIB_CURRENT_VERSION = 4.5.49;
FRAMEWORK_SEARCH_PATHS = "$(LOCAL_LIBRARY_DIR)/Frameworks";
FRAMEWORK_VERSION = A;
GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
DEPLOYMENT_POSTPROCESSING = YES;
DSTROOT = /;
DYLIB_COMPATIBILITY_VERSION = 1;
- DYLIB_CURRENT_VERSION = 4.5.56;
+ DYLIB_CURRENT_VERSION = 4.5.49;
DYLIB_INSTALL_NAME_BASE = "@executable_path/../Frameworks/";
FRAMEWORK_SEARCH_PATHS = "$(USER_LIBRARY_DIR)/EmbeddedFrameworks";
FRAMEWORK_VERSION = A;
isa = XCBuildConfiguration;
buildSettings = {
DYLIB_COMPATIBILITY_VERSION = 1;
- DYLIB_CURRENT_VERSION = 4.5.56;
+ DYLIB_CURRENT_VERSION = 4.5.49;
FRAMEWORK_SEARCH_PATHS = "$(LOCAL_LIBRARY_DIR)/Frameworks";
FRAMEWORK_VERSION = A;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
buildSettings = {
COPY_PHASE_STRIP = NO;
DYLIB_COMPATIBILITY_VERSION = 1;
- DYLIB_CURRENT_VERSION = 4.5.56;
+ DYLIB_CURRENT_VERSION = 4.5.49;
FRAMEWORK_SEARCH_PATHS = "\"$(USER_LIBRARY_DIR)/EmbeddedFrameworks\"";
FRAMEWORK_VERSION = A;
GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
DEPLOYMENT_POSTPROCESSING = YES;
DSTROOT = /;
DYLIB_COMPATIBILITY_VERSION = 1;
- DYLIB_CURRENT_VERSION = 4.5.56;
+ DYLIB_CURRENT_VERSION = 4.5.49;
DYLIB_INSTALL_NAME_BASE = "@executable_path/../Frameworks/";
FRAMEWORK_SEARCH_PATHS = "$(USER_LIBRARY_DIR)/EmbeddedFrameworks";
FRAMEWORK_VERSION = A;
isa = XCBuildConfiguration;
buildSettings = {
DYLIB_COMPATIBILITY_VERSION = 1;
- DYLIB_CURRENT_VERSION = 4.5.56;
+ DYLIB_CURRENT_VERSION = 4.5.49;
FRAMEWORK_SEARCH_PATHS = "\"$(USER_LIBRARY_DIR)/EmbeddedFrameworks\"";
FRAMEWORK_VERSION = A;
GCC_PRECOMPILE_PREFIX_HEADER = NO;
summary = { class = NSString; };
description = { class = NSString; key = comment; };
+ comment = { class = NSString; key = userComment; };
uid = { class = NSString; };
action = { class = NSString; };
priority = { class = NSString; };
status = { class = NSString; };
transp = { class = NSString; key = transparency; };
+ method = { class = NSString; };
sequence = { class = NSString; };
categories = { class = NSString; };
class = { class = NSString; key = accessClass; };
MAJOR_VERSION=4
MINOR_VERSION=5
-SUBMINOR_VERSION:=47
+SUBMINOR_VERSION:=49
# v4.5.40 requires NGExtensions v4.5.145
# v4.5.37 requires NGExtensions v4.5.140
NSString *version;
NSString *calscale;
NSString *prodId;
+ NSString *method;
NSMutableArray *todos;
NSMutableArray *events;
- (NSString *)calscale;
- (NSString *)version;
- (NSString *)prodId;
+- (NSString *)method;
- (NSArray *)events;
- (NSArray *)todos;
[self->version release];
[self->calscale release];
[self->prodId release];
-
+ [self->method release];
+
[self->todos release];
[self->events release];
[self->journals release];
- (NSString *)prodId {
return self->prodId;
}
+- (void)setMethod:(NSString *)_method {
+ ASSIGN(self->method, _method);
+}
+- (NSString *)method {
+ return self->method;
+}
- (void)addToEvents:(iCalEvent *)_event {
if (_event == nil) return;
NSString *location;
NSString *status;
NSString *categories;
+ NSString *userComment;
}
/* accessors */
- (void)setSequence:(NSNumber *)_value; /* this is an int */
- (NSNumber *)sequence;
+- (void)setUserComment:(NSString *)_userComment;
+- (NSString *)userComment;
+
- (void)setOrganizer:(iCalPerson *)_organizer;
- (iCalPerson *)organizer;
- (BOOL)isOrganizer:(id)_email;
[self->location release];
[self->status release];
[self->categories release];
+ [self->userComment release];
[super dealloc];
}
return self->alarms;
}
+- (void)setUserComment:(NSString *)_userComment {
+ ASSIGN(self->userComment, _userComment);
+}
+- (NSString *)userComment {
+ return self->userComment;
+}
+
/* stuff */
- (NSArray *)participants {
}
- (BOOL)isOrganizer:(id)_email {
- return [[[self organizer] rfc822Email] isEqualToString:_email];
+ _email = [_email lowercaseString];
+ return [[[[self organizer] rfc822Email] lowercaseString]
+ isEqualToString:_email];
}
- (BOOL)isParticipant:(id)_email {
NSArray *partEmails;
+ _email = [_email lowercaseString];
partEmails = [[self participants] valueForKey:@"rfc822Email"];
+ partEmails = [partEmails valueForKey:@"lowercaseString"];
return [partEmails containsObject:_email];
}
NSArray *ps;
unsigned i, count;
- ps = [self participants];
- count = [ps count];
-
+ _email = [_email lowercaseString];
+ ps = [self participants];
+ count = [ps count];
+
for (i = 0; i < count; i++) {
iCalPerson *p;
p = [ps objectAtIndex:i];
- if ([[p rfc822Email] isEqualToString:_email])
+ if ([[[p rfc822Email] lowercaseString] isEqualToString:_email])
return p;
}
return nil; /* not found */
@interface iCalEvent : iCalRepeatableEntityObject
{
- NSCalendarDate *endDate;
- NSString *duration;
- NSString *transparency;
+ NSCalendarDate *endDate;
+ NSString *duration;
+ NSString *transparency;
}
/* accessors */