+2006-06-21 Helge Hess <helge.hess@opengroupware.org>
+
+ * v4.5.236
+
+ * WEClientCapabilities.m: added WebDrive as a known WebDAV client
+
+ * fixed some gcc 4.1 warnings
+
2006-06-11 Helge Hess <helge.hess@opengroupware.org>
* v4.5.235
/*
- Copyright (C) 2000-2005 SKYRIX Software AG
+ Copyright (C) 2000-2006 SKYRIX Software AG
+ Copyright (C) 2006 Helge Hess
This file is part of SOPE.
pos++;
len = _unescapeUrl(&(_buffer[tmp]), (pos - tmp), buffer);
- key = len > 0 ? urlStringFromBuffer(buffer, len) : @"";
+ key = len > 0 ? urlStringFromBuffer(buffer, len) : (NSString *)@"";
if (pos < _len) { // value pending
NSCAssert(_buffer[pos] == '=', @"invalid parser state ..");
}
len = _unescapeUrl(&(_buffer[tmp]), (pos - tmp), buffer);
- value = len > 0 ? urlStringFromBuffer(buffer, len) : @"";
+ value = len > 0 ? urlStringFromBuffer(buffer, len) : (NSString *)@"";
// skip '&'
if (_buffer[pos] == '&' || _buffer[pos] == '?') pos++;
/*
- Copyright (C) 2000-2005 SKYRIX Software AG
+ Copyright (C) 2000-2006 SKYRIX Software AG
+ Copyright (C) 2006 Helge Hess
This file is part of SOPE.
tmp = self->scriptParts
? [self->scriptParts arrayByAddingObject:_part]
- : [NSArray arrayWithObject:_part];
+ : (NSArray *)[NSArray arrayWithObject:_part];
ASSIGN(self->scriptParts, tmp);
}
ASSIGN(self->parsingException, exception);
- if (exception) {
+ if (exception != nil) {
[self->callback parser:self
failedParsingHTMLData:_html exception:exception];
}
finishedParsingHTMLData:_html elements:topLevel];
}
- return self->parsingException ? nil : topLevel;
+ return self->parsingException ? (NSMutableArray *)nil : topLevel;
}
/* internal parsing */
[attrs addEntriesFromDictionary:nameDict];
element = [self dynamicElementWithName:name
- attributes:(attrs != nil ? attrs : nameDict)
+ attributes:(attrs != nil ? (NSDictionary *)attrs : nameDict)
contentElements:children];
[name release]; name = nil;
[nameDict release]; nameDict = nil;
# version file
-SUBMINOR_VERSION:=235
+SUBMINOR_VERSION:=236
# v4.5.234 requires libDOM v4.5.21
# v4.5.214 requires libNGExtensions v4.5.179
/*
- Copyright (C) 2000-2005 SKYRIX Software AG
+ Copyright (C) 2000-2006 SKYRIX Software AG
+ Copyright (C) 2006 Helge Hess
This file is part of SOPE.
#define WEUA_Goliath 40
#define WEUA_PerlHTTPDAV 41
#define WEUA_Google 42
+#define WEUA_WebDrive 43
#define WEOS_UNKNOWN 0
#define WEOS_WINDOWS 1
else if (strstr(ua, "Morgul")) {
self->browser = WEUA_Morgul;
}
+ else if (strstr(ua, "WebDrive")) {
+ self->browser = WEUA_WebDrive;
+ }
else if (strstr(ua, "CFNetwork/1.1")) {
self->browser = WEUA_CFNetwork;
}
case WEUA_Goliath: return @"Goliath";
case WEUA_PerlHTTPDAV: return @"PerlHTTPDAV";
case WEUA_Google: return @"Google";
+ case WEUA_WebDrive: return @"WebDrive";
default: return @"unknown";
}
}
if (self->browser == WEUA_Morgul) return YES;
if (self->browser == WEUA_Goliath) return YES;
if (self->browser == WEUA_PerlHTTPDAV) return YES;
+ if (self->browser == WEUA_WebDrive) return YES;
return NO;
}
Word 2003
'Microsoft Office Protocol Discovery'
+
+ WebDrive
+ 'WebDrive 7.10.1475 DAV'
*/