See ChangeLog
Monotone-Parent: 0280dffce97a63277bc84ffa183716452b431953 Monotone-Revision: b8c469061302cf2a28202e96504b5ec370eb8211 Monotone-Author: ludovic@Sophos.ca Monotone-Date: 2009-04-09T20:06:32 Monotone-Branch: ca.inverse.sogomaint-2.0.2
parent
473c8cf0d0
commit
63aedf6047
|
@ -1,3 +1,9 @@
|
||||||
|
2009-04-09 Ludovic Marcotte <lmarcotte@inverse.ca>
|
||||||
|
|
||||||
|
* Reverted previous patch and provided the correct
|
||||||
|
fix in SOGoMailFolder: -postData:flags:
|
||||||
|
* Fixed the compilation of unit tests for NGCards.
|
||||||
|
|
||||||
2009-04-09 Francis Lachapelle <flachapelle@inverse.ca>
|
2009-04-09 Francis Lachapelle <flachapelle@inverse.ca>
|
||||||
|
|
||||||
* SoObjects/Mailer/SOGoDraftObject.m ([SOGoDraftObject
|
* SoObjects/Mailer/SOGoDraftObject.m ([SOGoDraftObject
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* NSString+NGCards.m - this file is part of SOPE
|
/* NSString+NGCards.m - this file is part of SOPE
|
||||||
*
|
*
|
||||||
* Copyright (C) 2006-2008 Inverse inc.
|
* Copyright (C) 2006-2009 Inverse inc.
|
||||||
*
|
*
|
||||||
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||||
*
|
*
|
||||||
|
|
|
@ -1,18 +1,18 @@
|
||||||
# GNUstep makefile
|
# GNUstep makefile
|
||||||
|
|
||||||
-include ../../config.make
|
-include ../../../config.make
|
||||||
include $(GNUSTEP_MAKEFILES)/common.make
|
include $(GNUSTEP_MAKEFILES)/common.make
|
||||||
|
|
||||||
TOOL_NAME = vcardtest versittest icalparsetest icalds vcf2xml vcfparsetest ievalrrule
|
TOOL_NAME = vcardtest versittest icalparsetest icalds vcf2xml vcfparsetest ievalrrule
|
||||||
|
|
||||||
ADDITIONAL_INCLUDE_DIRS += -I../NGCards
|
ADDITIONAL_INCLUDE_DIRS += -I..
|
||||||
|
|
||||||
vcardtest_OBJC_FILES = unittest.m vcardtest.m CardElement.m CardGroup.m CardVersitRenderer.m NSArray+NGCards.m NSDictionary+NGCards.m
|
vcardtest_OBJC_FILES = unittest.m vcardtest.m CardElement.m CardGroup.m CardVersitRenderer.m NSArray+NGCards.m NSDictionary+NGCards.m NGCardsSaxHandler.m
|
||||||
versittest_OBJC_FILES = unittest.m versittest.m CardElement.m CardGroup.m CardVersitRenderer.m NSArray+NGCards.m NSDictionary+NGCards.m NSString+NGCards.m
|
versittest_OBJC_FILES = unittest.m versittest.m CardElement.m CardGroup.m CardVersitRenderer.m NSArray+NGCards.m NSDictionary+NGCards.m NSString+NGCards.m NGCardsSaxHandler.m
|
||||||
icalparsetest_OBJC_FILES = icalparsetest.m
|
icalparsetest_OBJC_FILES = icalparsetest.m
|
||||||
icalds_OBJC_FILES = icalds.m
|
icalds_OBJC_FILES = icalds.m
|
||||||
vcf2xml_OBJC_FILES = vcf2xml.m
|
vcf2xml_OBJC_FILES = vcf2xml.m
|
||||||
vcfparsetest_OBJC_FILES = vcfparsetest.m CardElement.m CardGroup.m CardVersitRenderer.m NSArray+NGCards.m NSDictionary+NGCards.m NSString+NGCards.m
|
vcfparsetest_OBJC_FILES = vcfparsetest.m CardElement.m CardGroup.m CardVersitRenderer.m NSArray+NGCards.m NSDictionary+NGCards.m NSString+NGCards.m NGCardsSaxHandler.m
|
||||||
ievalrrule_OBJC_FILES = ievalrrule.m
|
ievalrrule_OBJC_FILES = ievalrrule.m
|
||||||
|
|
||||||
-include GNUmakefile.preamble
|
-include GNUmakefile.preamble
|
||||||
|
@ -20,24 +20,26 @@ include $(GNUSTEP_MAKEFILES)/tool.make
|
||||||
-include GNUmakefile.postamble
|
-include GNUmakefile.postamble
|
||||||
-include fhs.make
|
-include fhs.make
|
||||||
|
|
||||||
CardElement.m: ../NGCards/CardElement.m
|
CardElement.m: ../CardElement.m
|
||||||
ln -sf ../NGCards/CardElement.m ./
|
ln -sf ../CardElement.m ./
|
||||||
|
|
||||||
CardGroup.m: ../NGCards/CardGroup.m
|
CardGroup.m: ../CardGroup.m
|
||||||
ln -sf ../NGCards/CardGroup.m ./
|
ln -sf ../CardGroup.m ./
|
||||||
|
|
||||||
CardVersitRenderer.m: ../NGCards/CardVersitRenderer.m
|
CardVersitRenderer.m: ../CardVersitRenderer.m
|
||||||
ln -sf ../NGCards/CardVersitRenderer.m ./
|
ln -sf ../CardVersitRenderer.m ./
|
||||||
|
|
||||||
NSArray+NGCards.m: ../NGCards/NSArray+NGCards.m
|
NSArray+NGCards.m: ../NSArray+NGCards.m
|
||||||
ln -sf ../NGCards/NSArray+NGCards.m ./
|
ln -sf ../NSArray+NGCards.m ./
|
||||||
|
|
||||||
NSDictionary+NGCards.m: ../NGCards/NSDictionary+NGCards.m
|
NSDictionary+NGCards.m: ../NSDictionary+NGCards.m
|
||||||
ln -sf ../NGCards/NSDictionary+NGCards.m ./
|
ln -sf ../NSDictionary+NGCards.m ./
|
||||||
|
|
||||||
NSString+NGCards.m: ../NGCards/NSString+NGCards.m
|
NSString+NGCards.m: ../NSString+NGCards.m
|
||||||
ln -sf ../NGCards/NSString+NGCards.m ./
|
ln -sf ../NSString+NGCards.m ./
|
||||||
|
|
||||||
|
NGCardsSaxHandler.m: ../NGCardsSaxHandler.m
|
||||||
|
ln -sf ../NGCardsSaxHandler.m ./
|
||||||
|
|
||||||
distclean clean::
|
distclean clean::
|
||||||
-rm -f CardElement.m CardGroup.m CardVersitRenderer.m NSArray+NGCards.m NSDictionary+NGCards.m NSString+NGCards.m
|
-rm -f CardElement.m CardGroup.m CardVersitRenderer.m NSArray+NGCards.m NSDictionary+NGCards.m NSString+NGCards.m
|
||||||
|
|
|
@ -1381,15 +1381,6 @@ static BOOL showTextAttachmentsInline = NO;
|
||||||
if (!error)
|
if (!error)
|
||||||
{
|
{
|
||||||
error = [sentFolder postData: message flags: @"seen"];
|
error = [sentFolder postData: message flags: @"seen"];
|
||||||
if (error)
|
|
||||||
{
|
|
||||||
// Sent folder probably doesn't exist -- create it
|
|
||||||
error = [[self imap4Connection]
|
|
||||||
createMailbox: [imap4 imap4FolderNameForURL: [sentFolder imap4URL]]
|
|
||||||
atURL: [[self mailAccountFolder] imap4URL]];
|
|
||||||
if (!error)
|
|
||||||
error = [sentFolder postData: message flags: @"seen"];
|
|
||||||
}
|
|
||||||
if (!error)
|
if (!error)
|
||||||
{
|
{
|
||||||
[self imap4Connection];
|
[self imap4Connection];
|
||||||
|
|
|
@ -497,7 +497,8 @@ static NSString *spoolFolder = nil;
|
||||||
// We check for the existence of the IMAP folder (likely to be the
|
// We check for the existence of the IMAP folder (likely to be the
|
||||||
// Sent mailbox) prior to appending messages to it.
|
// Sent mailbox) prior to appending messages to it.
|
||||||
if ([[self imap4Connection] doesMailboxExistAtURL: [self imap4URL]] ||
|
if ([[self imap4Connection] doesMailboxExistAtURL: [self imap4URL]] ||
|
||||||
![[self imap4Connection] createMailbox: [self relativeImap4Name] atURL: [[self mailAccountFolder] imap4URL]])
|
![[self imap4Connection] createMailbox: [[self imap4Connection] imap4FolderNameForURL: [self imap4URL]]
|
||||||
|
atURL: [[self mailAccountFolder] imap4URL]])
|
||||||
return [[self imap4Connection] postData: _data flags: _flags
|
return [[self imap4Connection] postData: _data flags: _flags
|
||||||
toFolderURL: [self imap4URL]];
|
toFolderURL: [self imap4URL]];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue