Monotone-Parent: ef0808300fb0a2f855c131c8d4958cef75bb1a1c
Monotone-Revision: e55c7e9b0d4eff602ecb06071b3c60c6e2c19bf0 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-08-11T19:20:17 Monotone-Branch: ca.inverse.sogomaint-2.0.2
parent
0c4d4b099e
commit
3371a4712d
|
@ -1,3 +1,8 @@
|
|||
2010-08-11 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* NGVCardPhoto.m (-type): returns @"JPEG" if the type is
|
||||
unspecified.
|
||||
|
||||
2010-07-21 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* iCalXMLRenderer.m (_appendPaddingValues:withTag:intoString:):
|
||||
|
|
|
@ -37,7 +37,13 @@
|
|||
|
||||
- (NSString *) type
|
||||
{
|
||||
return [[self value: 0 ofAttribute: @"type"] uppercaseString];
|
||||
NSString *type;
|
||||
|
||||
type = [[self value: 0 ofAttribute: @"type"] uppercaseString];
|
||||
if (!type)
|
||||
type = @"JPEG";
|
||||
|
||||
return type;
|
||||
}
|
||||
|
||||
- (NSData *) decodedContent
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
2010-08-11 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* VSSaxDriver.m (_parseAttr:forTag:intoAttr:intoValue:): when no
|
||||
attribute tag is not specified and the value is "BASE64" or "B", the
|
||||
attribute tag is set to "ENCODING".
|
||||
|
||||
2010-05-05 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* VSSaxDriver.m (_endComponent:value:): avoid a crash occurring
|
||||
|
@ -38,7 +44,7 @@
|
|||
|
||||
* VSSaxDriver.m: improved error reporting in case no data could be
|
||||
retrieved from a URL (v4.5.22)
|
||||
|
||||
|
||||
2005-12-05 Helge Hess <helge.hess@skyrix.com>
|
||||
|
||||
* v4.5.21
|
||||
|
|
|
@ -325,7 +325,7 @@ static NSCharacterSet *whitespaceCharSet = nil;
|
|||
intoValue: (NSString **) value_
|
||||
{
|
||||
NSRange r;
|
||||
NSString *attrName, *attrValue;
|
||||
NSString *attrName, *attrValue, *upperAttr;
|
||||
|
||||
r = [_attr rangeOfCharacterFromSet: equalSignCharSet];
|
||||
if (r.length > 0)
|
||||
|
@ -360,13 +360,16 @@ static NSCharacterSet *whitespaceCharSet = nil;
|
|||
}
|
||||
else
|
||||
{
|
||||
if ([[_attr uppercaseString] isEqualToString: @"QUOTED-PRINTABLE"])
|
||||
upperAttr = [_attr uppercaseString];
|
||||
if ([upperAttr isEqualToString: @"QUOTED-PRINTABLE"]
|
||||
|| [upperAttr isEqualToString: @"BASE64"]
|
||||
|| [upperAttr isEqualToString: @"B"])
|
||||
attrName = @"ENCODING";
|
||||
else
|
||||
attrName = @"TYPE";
|
||||
attrValue = _attr;
|
||||
}
|
||||
|
||||
|
||||
#if 0
|
||||
// ZNeK: what's this for?
|
||||
r = [attrValue rangeOfCharacterFromSet: commaCharSet];
|
||||
|
|
Loading…
Reference in New Issue