+2005-07-15 Helge Hess <helge.hess@opengroupware.org>
+
+ * added fragile base class version checks (v4.5.55)
+
2005-07-15 Marcus Mueller <znek@mulle-kybernetik.com>
* iCalObject.[hm], iCalEntityObject.m, iCalToDo.m, iCalAlarm.m,
@implementation NGVCardAddress
++ (int)version {
+ return [super version] + 0 /* v0 */;
+}
++ (void)initialize {
+ NSAssert2([super version] == 0,
+ @"invalid superclass (%@) version %i !",
+ NSStringFromClass([self superclass]), [super version]);
+}
+
- (id)initWithDictionary:(NSDictionary *)_plist group:(NSString *)_group
types:(NSArray *)_types arguments:(NSDictionary *)_a
{
@implementation NGVCardName
++ (int)version {
+ return [super version] + 0 /* v0 */;
+}
++ (void)initialize {
+ NSAssert2([super version] == 0,
+ @"invalid superclass (%@) version %i !",
+ NSStringFromClass([self superclass]), [super version]);
+}
+
- (id)initWithPropertyList:(id)_plist group:(NSString *)_group
types:(NSArray *)_types arguments:(NSDictionary *)_a
{
@implementation NGVCardOrg
++ (int)version {
+ return [super version] + 0 /* v0 */;
+}
++ (void)initialize {
+ NSAssert2([super version] == 0,
+ @"invalid superclass (%@) version %i !",
+ NSStringFromClass([self superclass]), [super version]);
+}
+
- (id)initWithName:(NSString *)_name units:(NSArray *)_units
group:(NSString *)_grp types:(NSArray *)_tps arguments:(NSDictionary *)_a
{
@implementation NGVCardPhone
++ (int)version {
+ return [super version] + 0 /* v0 */;
+}
++ (void)initialize {
+ NSAssert2([super version] == 0,
+ @"invalid superclass (%@) version %i !",
+ NSStringFromClass([self superclass]), [super version]);
+}
+
@end /* NGVCardPhone */
@implementation NGVCardSimpleValue
++ (int)version {
+ return [super version] + 0 /* v0 */;
+}
++ (void)initialize {
+ NSAssert2([super version] == 0,
+ @"invalid superclass (%@) version %i !",
+ NSStringFromClass([self superclass]), [super version]);
+}
+
- (id)initWithValue:(NSString *)_value group:(NSString *)_group
types:(NSArray *)_types arguments:(NSDictionary *)_a
{
@implementation NGVCardStrArrayValue
++ (int)version {
+ return [super version] + 0 /* v0 */;
+}
++ (void)initialize {
+ NSAssert2([super version] == 0,
+ @"invalid superclass (%@) version %i !",
+ NSStringFromClass([self superclass]), [super version]);
+}
+
- (id)initWithArray:(NSArray *)_plist group:(NSString *)_group
types:(NSArray *)_types arguments:(NSDictionary *)_a
{
@implementation NGVCardValue
++ (int)version {
+ return [super version] + 0 /* v0 */;
+}
+
- (id)initWithGroup:(NSString *)_group types:(NSArray *)_types
arguments:(NSDictionary *)_a
{
MAJOR_VERSION=4
MINOR_VERSION=5
-SUBMINOR_VERSION:=54
+SUBMINOR_VERSION:=55
# v4.5.40 requires NGExtensions v4.5.145
# v4.5.37 requires NGExtensions v4.5.140
static id<NSObject,SaxXMLReader> parser = nil; // THREAD
static SaxObjectDecoder *sax = nil; // THREAD
++ (int)version {
+ return [super version] + 0 /* v0 */;
+}
++ (void)initialize {
+ NSAssert2([super version] == 0,
+ @"invalid superclass (%@) version %i !",
+ NSStringFromClass([self superclass]), [super version]);
+}
+
+ (id<NSObject,SaxXMLReader>)iCalParser {
if (sax == nil) {
sax = [[SaxObjectDecoder alloc] initWithMappingNamed:@"NGiCal"];;
@implementation iCalEntityObject
++ (int)version {
+ return [super version] + 0 /* v0 */;
+}
++ (void)initialize {
+ NSAssert2([super version] == 0,
+ @"invalid superclass (%@) version %i !",
+ NSStringFromClass([self superclass]), [super version]);
+}
+
- (void)dealloc {
[self->uid release];
[self->summary release];
@implementation iCalEvent
++ (int)version {
+ return [super version] + 0 /* v0 */;
+}
++ (void)initialize {
+ NSAssert2([super version] == 0,
+ @"invalid superclass (%@) version %i !",
+ NSStringFromClass([self superclass]), [super version]);
+}
+
- (void)dealloc {
[self->endDate release];
[self->duration release];
@implementation iCalFreeBusy
++ (int)version {
+ return [super version] + 0 /* v0 */;
+}
++ (void)initialize {
+ NSAssert2([super version] == 0,
+ @"invalid superclass (%@) version %i !",
+ NSStringFromClass([self superclass]), [super version]);
+}
+
- (void)dealloc {
[self->entries release];
[self->organizer release];
@implementation iCalJournal
-- (void)dealloc {
- [super dealloc];
++ (int)version {
+ return [super version] + 0 /* v0 */;
+}
++ (void)initialize {
+ NSAssert2([super version] == 0,
+ @"invalid superclass (%@) version %i !",
+ NSStringFromClass([self superclass]), [super version]);
}
/* ical typing */
@implementation iCalObject
++ (int)version {
+ return 0;
+}
+
// what shall we take, if no timeZone is specified in dateValues
static NSTimeZone *defTZ = nil;
+ (void)setICalDefaultTimeZone:(NSTimeZone *)_timeZone {
@implementation iCalPerson
++ (int)version {
+ return [super version] + 0 /* v0 */;
+}
++ (void)initialize {
+ NSAssert2([super version] == 0,
+ @"invalid superclass (%@) version %i !",
+ NSStringFromClass([self superclass]), [super version]);
+}
+
- (void)dealloc {
[self->cn release];
[self->email release];
@implementation iCalRepeatableEntityObject
++ (int)version {
+ return [super version] + 0 /* v0 */;
+}
++ (void)initialize {
+ NSAssert2([super version] == 0,
+ @"invalid superclass (%@) version %i !",
+ NSStringFromClass([self superclass]), [super version]);
+}
+
- (void)dealloc {
[self->rRules release];
[self->exRules release];
@implementation iCalToDo
++ (int)version {
+ return [super version] + 0 /* v0 */;
+}
++ (void)initialize {
+ NSAssert2([super version] == 0,
+ @"invalid superclass (%@) version %i !",
+ NSStringFromClass([self superclass]), [super version]);
+}
+
- (void)dealloc {
[self->due release];
[self->percentComplete release];