Ben Copsey

Attempt to removing annoying xcode files from project

... ... @@ -262,7 +262,6 @@ static void ReadStreamClientCallBack(CFReadStreamRef readStream, CFStreamEventTy
[self setLastActivityTime:[[NSDate new] autorelease]];
// Wait for the request to finish
NSDate* endDate = [NSDate distantFuture];
while (!complete) {
//See if we need to timeout
... ... @@ -283,8 +282,9 @@ static void ReadStreamClientCallBack(CFReadStreamRef readStream, CFStreamEventTy
break;
}
[self updateProgressIndicators];
CFRunLoopRunInMode(ASIHTTPRequestRunMode,0.5,YES);
//[[NSRunLoop currentRunLoop] runMode:NSRunLoopCommonModes beforeDate:endDate];
//This thread should wait for 1/4 second for the stream to do something. We'll stop early if it does.
CFRunLoopRunInMode(ASIHTTPRequestRunMode,0.25,YES);
}
[pool release];
... ...
... ... @@ -227,7 +227,7 @@ More tests needed for:
foundCookie = YES;
success = [[cookie decodedValue] isEqualToString:@"This is the value"];
STAssertTrue(success,@"Failed to store the correct value for a cookie");
success = [[cookie domain] isEqualToString:@".allseeing-i.com"];
success = [[cookie domain] isEqualToString:@"allseeing-i.com"];
STAssertTrue(success,@"Failed to store the correct domain for a cookie");
success = [[cookie path] isEqualToString:@"/asi-http-request/tests"];
STAssertTrue(success,@"Failed to store the correct path for a cookie");
... ... @@ -279,7 +279,7 @@ More tests needed for:
NSDictionary *cookieProperties = [[[NSMutableDictionary alloc] init] autorelease];
[cookieProperties setValue:@"Test Value" forKey:NSHTTPCookieValue];
[cookieProperties setValue:@"ASIHTTPRequestTestCookie" forKey:NSHTTPCookieName];
[cookieProperties setValue:@".allseeing-i.com" forKey:NSHTTPCookieDomain];
[cookieProperties setValue:@"allseeing-i.com" forKey:NSHTTPCookieDomain];
[cookieProperties setValue:[NSDate dateWithTimeIntervalSinceNow:60*60*4] forKey:NSHTTPCookieExpires];
[cookieProperties setValue:@"/asi-http-request/tests" forKey:NSHTTPCookiePath];
cookie = [[[NSHTTPCookie alloc] initWithProperties:cookieProperties] autorelease];
... ...
This diff is collapsed. Click to expand it.
This diff could not be displayed because it is too large.
This diff was suppressed by a .gitattributes entry.