This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/core/basetypes/MCString.cc b/src/core/basetypes/MCString.cc | |
index 6710e59..2398958 100644 | |
--- a/src/core/basetypes/MCString.cc | |
+++ b/src/core/basetypes/MCString.cc | |
@@ -1975,6 +1975,7 @@ String * String::substringWithRange(Range range) | |
} | |
static chash * uniquedStringHash = NULL; | |
+static pthread_mutex_t lock = PTHREAD_MUTEX_INITIALIZER; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (NSURLRequest *)webView:(UIWebView *)sender resource:(id)identifier willSendRequest:(NSURLRequest *)request redirectResponse:(NSURLResponse *)redirectResponse fromDataSource:(id)dataSource | |
{ | |
MCOAbstractPart * part = NULL; | |
if ([[[request URL] scheme] isEqualToString:@"x-mailcore-msgviewloaded"]) { | |
[self _loadImages]; | |
return request; | |
} | |
if ([MCOCIDURLProtocol isCID:[request URL]]) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/example/ios/iOS UI Test/iOS UI Test.xcodeproj/project.pbxproj b/example/ios/iOS UI Test/iOS UI Test.xcodeproj/project.pbxproj | |
index bf9f8cb..5530ef5 100644 | |
--- a/example/ios/iOS UI Test/iOS UI Test.xcodeproj/project.pbxproj | |
+++ b/example/ios/iOS UI Test/iOS UI Test.xcodeproj/project.pbxproj | |
@@ -27,6 +27,8 @@ | |
B12AAA3317322654003551C7 /* MCOCIDURLProtocol.mm in Sources */ = {isa = PBXBuildFile; fileRef = B12AAA2E17322654003551C7 /* MCOCIDURLProtocol.mm */; }; | |
B12AAA3417322654003551C7 /* MCOMessageView.mm in Sources */ = {isa = PBXBuildFile; fileRef = B12AAA3017322654003551C7 /* MCOMessageView.mm */; }; | |
B12AAA3517322654003551C7 /* MCTMsgViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = B12AAA3217322654003551C7 /* MCTMsgViewController.m */; }; | |
+ C668E306173F009100A2BB47 /* ios-message.js in Resources */ = {isa = PBXBuildFile; fileRef = C668E304173EFD5200A2BB47 /* ios-message.js */; }; | |
+ C668E308173F291500A2BB47 /* ImageIO.framework in Frameworks */ = {isa = PBXBuildFile; f |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var findCIDImageURLInNode = function(node, links) { | |
var child = node.firstChild; | |
while (child != null) { | |
var next; | |
next = child.nextSibling; | |
if (child.nodeType == Node.ELEMENT_NODE) { | |
var tagName; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2013-05-01 14:30:15.622 [33552:main] MCMailProvidersManager.cc:50: register yahoo | |
2013-05-01 14:30:15.622 [33552:main] MCMailProvidersManager.cc:50: register apple | |
2013-05-01 14:30:15.622 [33552:main] MCMailProvidersManager.cc:50: register insecure-fixed-port | |
2013-05-01 14:30:15.622 [33552:main] MCMailProvidersManager.cc:50: register fixed-port | |
2013-05-01 14:30:15.625 [33552:main] MCMailProvidersManager.cc:50: register dreamhost | |
2013-05-01 14:30:15.625 [33552:main] MCMailProvidersManager.cc:50: register euro-apple | |
2013-05-01 14:30:15.625 [33552:main] MCMailProvidersManager.cc:50: register mobileme | |
2013-05-01 14:30:15.625 [33552:main] MCMailProvidersManager.cc:50: register ovh | |
2013-05-01 14:30:15.625 [33552:main] MCMailProvidersManager.cc:50: register fastmail | |
2013-05-01 14:30:15.625 [33552:main] MCMailProvidersManager.cc:50: register zimbra |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MCOIMAPSession *session = [[MCOIMAPSession alloc] init]; | |
session.username = @"[email protected]"; | |
session.password = @""; | |
session.hostname = @"imap.gmail.com"; | |
session.port = 993; | |
session.connectionType = MCOConnectionTypeTLS; | |
MCOOperation * op = [session checkAccount(Operation)?]; | |
[op start:^(NSError *err) { | |
if (err) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ***** (1) ***** */ | |
@@ -383,9 +383,12 @@ int mailpop3_quit(mailpop3 * f) | |
res = MAILPOP3_ERROR_STREAM; | |
goto close; | |
} | |
- parse_response(f, response); | |
- | |
- res = MAILPOP3_NO_ERROR; | |
+ if (parse_response(f, response) == RESPONSE_OK) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <cstdio> | |
#include <unistd.h> | |
#include <libetpan/libetpan.h> | |
int main(void) | |
{ | |
while(true) | |
{ | |
struct mailstorage * storage; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -wc libetpan-1.0.orig/configure.ac libetpan-1.0/configure.ac | |
*** libetpan-1.0.orig/configure.ac 2010-04-08 16:08:50.000000000 -0700 | |
--- libetpan-1.0/configure.ac 2011-02-09 15:13:37.000000000 -0800 | |
*************** | |
*** 222,233 **** | |
OCPPFLAGS="$CPPFLAGS" | |
OLDFLAGS="$LDFLAGS" | |
if test "x$with_gnutls" != "xyes" ; then | |
! CPPFLAGS="CRPPFLAGS -I$with_gnutls/include" | |
LDFLAGS="$LDFLAGS -L$with_gnutls/lib" |
NewerOlder