From 0339e7c66ca6ff248a214825ec0fc40051b5ac94 Mon Sep 17 00:00:00 2001 From: helge Date: Fri, 15 Jul 2005 08:40:41 +0000 Subject: [PATCH] fixed mapping of 'method' attribute improved -description git-svn-id: http://svn.opengroupware.org/SOPE/trunk@902 e4a50df8-12e2-0310-a44c-efbce7f8a7e3 --- sope-ical/NGiCal/ChangeLog | 10 ++++++++++ sope-ical/NGiCal/NGiCal.xmap | 2 +- sope-ical/NGiCal/Version | 2 +- sope-ical/NGiCal/iCalCalendar.m | 9 +++++---- 4 files changed, 17 insertions(+), 6 deletions(-) diff --git a/sope-ical/NGiCal/ChangeLog b/sope-ical/NGiCal/ChangeLog index 7026ef9e..8c345003 100644 --- a/sope-ical/NGiCal/ChangeLog +++ b/sope-ical/NGiCal/ChangeLog @@ -1,3 +1,13 @@ +2005-07-15 Helge Hess + + * v4.5.50 + + * NGiCal.xmap: fixed mapping of 'method' property (is an attribute of + the calendar) + + * iCalCalendar.m: use ASSIGNCOPY in accessors, added 'method' to + -description + 2005-07-14 Marcus Mueller * v4.5.49 diff --git a/sope-ical/NGiCal/NGiCal.xmap b/sope-ical/NGiCal/NGiCal.xmap index 6cb5df9a..182db0bb 100644 --- a/sope-ical/NGiCal/NGiCal.xmap +++ b/sope-ical/NGiCal/NGiCal.xmap @@ -19,6 +19,7 @@ prodid = prodId; version = version; calscale = calscale; + method = method; }; ToManyRelationships = { @@ -183,7 +184,6 @@ 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; }; diff --git a/sope-ical/NGiCal/Version b/sope-ical/NGiCal/Version index 4d808abe..a3ca3e85 100644 --- a/sope-ical/NGiCal/Version +++ b/sope-ical/NGiCal/Version @@ -2,7 +2,7 @@ MAJOR_VERSION=4 MINOR_VERSION=5 -SUBMINOR_VERSION:=49 +SUBMINOR_VERSION:=50 # v4.5.40 requires NGExtensions v4.5.145 # v4.5.37 requires NGExtensions v4.5.140 diff --git a/sope-ical/NGiCal/iCalCalendar.m b/sope-ical/NGiCal/iCalCalendar.m index d6fa8c1c..3554848d 100644 --- a/sope-ical/NGiCal/iCalCalendar.m +++ b/sope-ical/NGiCal/iCalCalendar.m @@ -41,25 +41,25 @@ /* accessors */ - (void)setCalscale:(NSString *)_value { - ASSIGN(self->calscale, _value); + ASSIGNCOPY(self->calscale, _value); } - (NSString *)calscale { return self->calscale; } - (void)setVersion:(NSString *)_value { - ASSIGN(self->version, _value); + ASSIGNCOPY(self->version, _value); } - (NSString *)version { return self->version; } - (void)setProdId:(NSString *)_value { - ASSIGN(self->prodId, _value); + ASSIGNCOPY(self->prodId, _value); } - (NSString *)prodId { return self->prodId; } - (void)setMethod:(NSString *)_method { - ASSIGN(self->method, _method); + ASSIGNCOPY(self->method, _method); } - (NSString *)method { return self->method; @@ -153,6 +153,7 @@ [ms appendFormat:@"<0x%08X[%@]:", self, NSStringFromClass([self class])]; if (self->version) [ms appendFormat:@" v%@", self->version]; + if (self->method) [ms appendFormat:@" method=%@", self->method]; if (self->prodId) [ms appendFormat:@" product=%@", self->prodId]; if (self->calscale) [ms appendFormat:@" calscale=%@", self->calscale]; -- 2.39.2