See ChangeLog

Monotone-Parent: c052846d400add7f419d4d1ffe4c900df5f4302a
Monotone-Revision: f0940e9496d2f6b614f37aed2fd66c564c0df278

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2008-09-30T19:34:31
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Ludovic Marcotte
2008-09-30 19:34:31 +00:00
parent 3b9ee48394
commit 53b31d9cce
10 changed files with 122 additions and 10 deletions
+21 -5
View File
@@ -86,6 +86,11 @@ static BOOL showNamedTextAttachmentsInline = NO;
flatContents = nil;
}
- (void) setUnsafe: (BOOL) b
{
unsafe = b;
}
/* fetching */
- (NSDictionary *) flatContents
@@ -152,7 +157,12 @@ static BOOL showNamedTextAttachmentsInline = NO;
- (WOComponent *) htmlViewer
{
return [viewer pageWithName: @"UIxMailPartHTMLViewer"];
id o;
o = [viewer pageWithName: @"UIxMailPartHTMLViewer"];
[o setUnsafe: unsafe];
return o;
}
- (WOComponent *) messageViewer
@@ -307,7 +317,8 @@ static BOOL showNamedTextAttachmentsInline = NO;
/* debugging */
- (BOOL)isDebuggingEnabled {
- (BOOL) isDebuggingEnabled
{
return NO;
}
@@ -318,10 +329,13 @@ static BOOL showNamedTextAttachmentsInline = NO;
static NSString *MRK = @"UIxMailRenderingContext";
- (void)pushMailRenderingContext:(UIxMailRenderingContext *)_mctx {
- (void) pushMailRenderingContext: (UIxMailRenderingContext *) _mctx
{
[self setObject:_mctx forKey:MRK];
}
- (UIxMailRenderingContext *)popMailRenderingContext {
- (UIxMailRenderingContext *) popMailRenderingContext
{
UIxMailRenderingContext *mctx;
if ((mctx = [self objectForKey:MRK]) == nil)
@@ -331,7 +345,9 @@ static NSString *MRK = @"UIxMailRenderingContext";
[self removeObjectForKey:MRK];
return mctx;
}
- (UIxMailRenderingContext *)mailRenderingContext {
- (UIxMailRenderingContext *) mailRenderingContext
{
return [self objectForKey:MRK];
}