Monotone-Parent: bd80ab1b5ef73a7bb7780c2f592816cd299c35b8

Monotone-Revision: bab2062ac2f3f3078377ef0d19e780ee5ea5e068

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2009-01-07T16:45:15
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2009-01-07 16:45:15 +00:00
parent 921ecc3abe
commit 4deba12358
3 changed files with 16 additions and 1 deletions
+8
View File
@@ -1,3 +1,11 @@
2009-01-07 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/SOGo/NSString+Utilities.m ([NSString
-doubleQuotedString]): new method that returns a double-quoted and
properly escaped version of the string. Since it's the same
algorithm used in jsonRepresentation, the latter is now calling
this new method.
2009-01-07 Francis Lachapelle <flachapelle@inverse.ca>
* UI/Scheduler/UIxAppointmentEditor.m ([UIxAppointmentEditor
+2
View File
@@ -42,6 +42,8 @@
- (NSString *) stringByDetectingURLs;
- (NSString *) doubleQuotedString;
- (NSString *) jsonRepresentation;
/* bare email addresses */
+6 -1
View File
@@ -283,7 +283,7 @@ static NSMutableCharacterSet *urlStartChars = nil;
return selfCopy;
}
- (NSString *) jsonRepresentation
- (NSString *) doubleQuotedString
{
NSMutableString *representation;
@@ -300,6 +300,11 @@ static NSMutableCharacterSet *urlStartChars = nil;
return [NSString stringWithFormat: @"\"%@\"", representation];
}
- (NSString *) jsonRepresentation
{
return [self doubleQuotedString];
}
- (NSString *) pureEMailAddress
{
NSString *pureAddress;