diff --git a/Classes/AssistantView.h b/Classes/AssistantView.h index c750e1411..3d192369a 100644 --- a/Classes/AssistantView.h +++ b/Classes/AssistantView.h @@ -18,7 +18,6 @@ */ #import -#import #import "UICompositeView.h" #import "TPKeyboardAvoidingScrollView.h" #import "PhoneMainView.h" diff --git a/Classes/AssistantView.m b/Classes/AssistantView.m index c76aa1a96..c93ba0538 100644 --- a/Classes/AssistantView.m +++ b/Classes/AssistantView.m @@ -29,11 +29,6 @@ #import "UIAssistantTextField.h" #import "UITextField+DoneButton.h" -#import -#import -#import -#import - typedef enum _ViewElement { ViewElement_Username = 100, ViewElement_Password = 101, diff --git a/Classes/FirstLoginView.m b/Classes/FirstLoginView.m index defce70dc..081b0f926 100644 --- a/Classes/FirstLoginView.m +++ b/Classes/FirstLoginView.m @@ -259,17 +259,18 @@ static UICompositeViewDescription *compositeDescription = nil; _waitView.hidden = NO; - [XMLRPCHelper GetProvisioningURL:_usernameField.text - password:_passwordField.text - domain:_domainField.text - OnSuccess:^(NSString *url) { - if (url) { - linphone_core_set_provisioning_uri(LC, url.UTF8String); - [LinphoneManager.instance resetLinphoneCore]; - } else { - _waitView.hidden = YES; - } - }]; + void (^onSuccesssCallBack)(NSString *) = ^(NSString *url) { + if (url) { + linphone_core_set_provisioning_uri(LC, url.UTF8String); + [LinphoneManager.instance resetLinphoneCore]; + } else { + _waitView.hidden = YES; + } + }; + + [XMLRPCHelper.self sendXMLRPCRequestWithParams:@"get_remote_provisioning_filename" + withParams:@[ _usernameField.text, _passwordField.text, _domainField.text ] + onSuccess:onSuccesssCallBack]; } #pragma mark - UITextFieldDelegate Functions diff --git a/Classes/InAppProductsManager.h b/Classes/InAppProductsManager.h index 6b6fcb539..b3f19a6da 100644 --- a/Classes/InAppProductsManager.h +++ b/Classes/InAppProductsManager.h @@ -19,11 +19,6 @@ #import #import -#import - -@interface InAppProductsXMLRPCDelegate : NSObject - -@end #define kIAPNotReady @"IAPNotReady" // startup status, manager is not ready yet #define kIAPReady @"IAPReady" // no data @@ -105,9 +100,7 @@ typedef NSString *IAPPurchaseNotificationStatus; //Check if account is about to expire, and if yes launch a notification. - (void)check; -// internal API only due to methods conflict -- (void)XMLRPCRequest:(XMLRPCRequest *)request didReceiveResponse:(XMLRPCResponse *)response; -// internal API only due to methods conflict -- (void)XMLRPCRequest:(XMLRPCRequest *)request didFailWithError:(NSError *)error; +// deal with xmlrpc response +- (void)dealWithXmlRpcResponse:(LinphoneXmlRpcRequest *)request; @end diff --git a/Classes/InAppProductsManager.m b/Classes/InAppProductsManager.m index 0acf97374..d6498ce09 100644 --- a/Classes/InAppProductsManager.m +++ b/Classes/InAppProductsManager.m @@ -21,20 +21,14 @@ #import "ShopView.h" // In app purchase are not supported by the Simulator -#import -#import -#import -#import - +#import "XMLRPCHelper.h" #import "LinphoneManager.h" - #import "PhoneMainView.h" @interface InAppProductsManager () @property(strong, nonatomic) NSDate *expirationDate; @property(strong, nonatomic) NSDictionary *accountCreationData; -// needed because request:didFailWithError method is already used by SKProductsRequestDelegate... -@property(nonatomic, strong) InAppProductsXMLRPCDelegate *xmlrpc; + @end @@ -64,7 +58,7 @@ expiryTime = time(NULL) + testExpiry; }else expiryTime = 0; if (_enabled) { - self.xmlrpc = [[InAppProductsXMLRPCDelegate alloc] init]; + // self.xmlrpc = [[InAppProductsXMLRPCDelegate alloc] init]; _status = kIAPNotReady; [[SKPaymentQueue defaultQueue] addTransactionObserver:self]; [self loadProducts]; @@ -138,18 +132,24 @@ if (phoneNumber) { NSString *receiptBase64 = [self getReceipt]; if (receiptBase64) { - NSURL *URL = [NSURL URLWithString:[LinphoneManager.instance lpConfigStringForKey:@"receipt_validation_url" - inSection:@"in_app_purchase"]]; - XMLRPCRequest *request = [[XMLRPCRequest alloc] initWithURL:URL]; + // const char *URL = [LinphoneManager.instance lpConfigStringForKey:@"receipt_validation_url" + // inSection:@"in_app_purchase"].UTF8String; + // buying for the first time: need to create the account // if ([transaction.transactionIdentifier // isEqualToString:transaction.originalTransaction.transactionIdentifier]) { - [request setMethod:@"activate_account" - withParameters:[NSArray arrayWithObjects:@"", phoneNumber, receiptBase64, @"", @"apple", nil]]; + + [XMLRPCHelper.self sendXMLRPCRequestWithParams:@"activate_account" + withParams:@[ @"", phoneNumber, receiptBase64, @"", @"apple" ] + onSuccess:^(NSString *response) { + if (response) { + [self setAccountBiteActivationInProgress:NO]; + LOGI(@"Account activated callback - response: %@", response); + } + }]; + _accountActivationInProgress = YES; - XMLRPCConnectionManager *manager = [XMLRPCConnectionManager sharedManager]; - [manager spawnConnectionWithXMLRPCRequest:request delegate:self.xmlrpc]; - LOGI(@"XMLRPC query %@", [request method]); + LOGI(@"XMLRPC query "); return true; } else { LOGE(@"Trying to activate account but no receipt available yet (probably doing it too soon)"); @@ -158,6 +158,46 @@ return false; } +// onError Callback block +/*- (void)XMLRPCRequest:(LinphoneXmlRpcRequest *)request didFailWithError:(NSError *)error { + if (!_enabled) + return; + + _available = true; + + if ([[request method] isEqualToString:@"activate_account"]) { + _accountActivationInProgress = NO; + } + + LOGE(@"Communication issue (%@)", [error localizedDescription]); + NSString *errorString = + [NSString stringWithFormat:NSLocalizedString(@"Communication issue (%@)", nil), [error localizedDescription]]; + UIAlertView *errorView = [[UIAlertView alloc] initWithTitle:NSLocalizedString(@"Communication issue", nil) + message:errorString + delegate:nil + cancelButtonTitle:NSLocalizedString(@"Continue", nil) + otherButtonTitles:nil, nil]; + [errorView show]; + latestReceiptMD5 = nil; + NSDictionary *dict = @{ @"error_msg" : errorString }; + [self postNotificationforStatus:kIAPReceiptFailed withDict:dict]; +} +*/ + +- (void)setAccountBiteActivationInProgress:(BOOL)activationInProgress { + _accountActivationInProgress = activationInProgress; +} + +- (void)dealWithXmlRpcResponse:(LinphoneXmlRpcRequest *)request { + LOGI(@"XMLRPC query "); + const char *requestContent = linphone_xml_rpc_request_get_content(request); + NSString *rContent = [NSString stringWithFormat:@"%s", requestContent]; + if ([rContent containsString:@"activate_account"]) { + _accountActivationInProgress = NO; + LOGI(@"Account activated callback"); + } +} + - (BOOL)restore { if (!_enabled || !_initialized || !_available) { NSDictionary *dict = @{ @"error_msg" : NSLocalizedString(@"In apps not ready yet", nil) }; @@ -277,24 +317,35 @@ if (latestReceiptMD5 == nil || ![latestReceiptMD5 isEqualToString:[receiptBase64 md5]]) { // transaction is null when restoring user purchases at application start or if user clicks the "restore" button // We must validate the receipt on our server - NSURL *URL = [NSURL URLWithString:[LinphoneManager.instance lpConfigStringForKey:@"receipt_validation_url" - inSection:@"in_app_purchase"]]; - XMLRPCRequest *request = [[XMLRPCRequest alloc] initWithURL:URL]; // buying for the first time: need to create the account // if ([transaction.transactionIdentifier // isEqualToString:transaction.originalTransaction.transactionIdentifier]) { + if (self.accountCreationData.count == 3) { - [request setMethod:@"update_expiration_date" - withParameters:[NSArray arrayWithObjects:@"", [_accountCreationData objectForKey:@"phoneNumber"], - receiptBase64, @"", @"apple", - [_accountCreationData objectForKey:@"email"], nil]]; - self.accountCreationData = nil; - // otherwise simply renewing + NSString *dataPhone = [_accountCreationData objectForKey:@"phoneNumber"]; + NSString *dataEmail = [_accountCreationData objectForKey:@"email"]; + [XMLRPCHelper.self + sendXMLRPCRequestWithParams:@"activate_account" + withParams:@[ dataPhone, receiptBase64, @"", @"apple", dataEmail ] + onSuccess:^(NSString *response) { + if (response) { + LOGI(@"create and activate_account callback - response: %@", response); + } + }]; + + self.accountCreationData = nil; // otherwise simply renewing } else { if ([[self getPhoneNumber] length] > 0) { - [request setMethod:@"update_expiration_date" - withParameters:[NSArray - arrayWithObjects:[self getPhoneNumber], receiptBase64, @"", @"apple", nil]]; + NSString *phoneNumber = [self getPhoneNumber]; + [XMLRPCHelper.self + sendXMLRPCRequestWithParams:@"update_expiration_date" + withParams:@[ phoneNumber, receiptBase64, @"", @"apple" ] + onSuccess:^(NSString *response) { + if (response) { + LOGI(@"update_expiration_date callback - response: %@", response); + } + }]; + } else { LOGW(@"No SIP URI configured, doing nothing"); _available = true; @@ -303,9 +354,7 @@ } latestReceiptMD5 = [receiptBase64 md5]; - XMLRPCConnectionManager *manager = [XMLRPCConnectionManager sharedManager]; - [manager spawnConnectionWithXMLRPCRequest:request delegate:self.xmlrpc]; - LOGI(@"XMLRPC query %@", [request method]); + LOGI(@"XMLRPC query "); } else { LOGW(@"Not checking receipt since it has already been done!"); _available = true; @@ -388,7 +437,9 @@ [NSNotificationCenter.defaultCenter postNotificationName:status object:self userInfo:dict]; } -- (void)XMLRPCRequest:(XMLRPCRequest *)request didReceiveResponse:(XMLRPCResponse *)response { +/* + + - (void)XMLRPCRequest:(LinphoneXmlRpcRequest *)request didReceiveResponse:(XMLRPCResponse *)response { if (!_enabled) return; @@ -399,13 +450,13 @@ } LOGI(@"XMLRPC response %@: %@", [request method], [response body]); - NSString *productID = - [LinphoneManager.instance lpConfigStringForKey:@"paid_account_id" inSection:@"in_app_purchase"]; + NSString *productID = [LinphoneManager.instance lpConfigStringForKey:@"paid_account_id" + inSection:@"in_app_purchase"]; // validation succeeded if (![response isFault] && [response object] != nil) { - if (([[request method] isEqualToString:@"get_account_expiration"]) || - ([[request method] isEqualToString:@"create_account_from_in_app_purchase"])) { + if (([[request method] isEqualToString:@"get_account_expiration"]) || ([[request method] + isEqualToString:@"create_account_from_in_app_purchase"])) { [_productsIDPurchased removeObject:productID]; // response object can either be expiration date (long long number or an error string) double timeinterval = [[response object] doubleValue]; @@ -431,8 +482,8 @@ } else if ([error isEqualToString:@"ERROR_UID_ALREADY_IN_USE"]) { errorMsg = NSLocalizedString(@"You already own an account.", nil); } else if ([error isEqualToString:@"ERROR_ACCOUNT_DOESNT_EXIST"]) { - errorMsg = - NSLocalizedString(@"You have already purchased an account but it does not exist anymore.", nil); + errorMsg = NSLocalizedString(@"You have already purchased an account but it does not exist + anymore.", nil); } else if ([error isEqualToString:@"ERROR_PURCHASE_CANCELLED"]) { errorMsg = NSLocalizedString(@"You cancelled your account.", nil); } else { @@ -445,49 +496,49 @@ } else { NSString *errorString = NSLocalizedString(@"Unknown error", nil); if ([response isFault]) { - errorString = - [NSString stringWithFormat:NSLocalizedString(@"Communication issue (%@)", nil), [response faultString]]; + errorString = [NSString stringWithFormat:NSLocalizedString(@"Communication issue (%@)", nil), [response + faultString]]; } else if ([response object] == nil) { errorString = NSLocalizedString(@"Invalid server response", nil); } LOGE(@"Communication issue (%@)", [response faultString]); UIAlertView *errorView = [[UIAlertView alloc] initWithTitle:NSLocalizedString(@"Communication issue", nil) - message:errorString - delegate:nil - cancelButtonTitle:NSLocalizedString(@"Continue", nil) - otherButtonTitles:nil, nil]; + message:errorString + delegate:nil + cancelButtonTitle:NSLocalizedString(@"Continue", nil) + otherButtonTitles:nil, nil]; [errorView show]; latestReceiptMD5 = nil; NSDictionary *dict = @{ @"error_msg" : errorString }; [self postNotificationforStatus:kIAPPurchaseFailed withDict:dict]; } -} + } -- (void)XMLRPCRequest:(XMLRPCRequest *)request didFailWithError:(NSError *)error { + - (void)XMLRPCRequest:(LinphoneXmlRpcRequest *)request didFailWithError:(NSError *)error { if (!_enabled) - return; + return; _available = true; if ([[request method] isEqualToString:@"activate_account"]) { - _accountActivationInProgress = NO; + _accountActivationInProgress = NO; } LOGE(@"Communication issue (%@)", [error localizedDescription]); NSString *errorString = - [NSString stringWithFormat:NSLocalizedString(@"Communication issue (%@)", nil), [error localizedDescription]]; + [NSString stringWithFormat:NSLocalizedString(@"Communication issue (%@)", nil), [error localizedDescription]]; UIAlertView *errorView = [[UIAlertView alloc] initWithTitle:NSLocalizedString(@"Communication issue", nil) - message:errorString - delegate:nil - cancelButtonTitle:NSLocalizedString(@"Continue", nil) - otherButtonTitles:nil, nil]; + message:errorString + delegate:nil + cancelButtonTitle:NSLocalizedString(@"Continue", nil) + otherButtonTitles:nil, nil]; [errorView show]; latestReceiptMD5 = nil; NSDictionary *dict = @{ @"error_msg" : errorString }; [self postNotificationforStatus:kIAPReceiptFailed withDict:dict]; -} - + } + */ - (void) presentNotification:(int64_t) remaining{ if (notificationCategory == nil) return; int days = (int)remaining / (3600 * 24); @@ -511,19 +562,20 @@ } }else{ - UIAlertController* alert = [UIAlertController alertControllerWithTitle:@"Account expiring" - message:expireText - preferredStyle:UIAlertControllerStyleAlert]; + UIAlertController *alert = [UIAlertController alertControllerWithTitle:@"Account expiring" + message:expireText + preferredStyle:UIAlertControllerStyleAlert]; UIAlertAction* buyAction = [UIAlertAction actionWithTitle:@"Buy" style:UIAlertActionStyleDefault handler:^(UIAlertAction * action) { [PhoneMainView.instance changeCurrentView:ShopView.compositeViewDescription]; }]; - UIAlertAction* laterAction = [UIAlertAction actionWithTitle:@"Later" style:UIAlertActionStyleCancel - handler:^(UIAlertAction * action) { - // [alert dismissViewControllerAnimated:FALSE]; - }]; + UIAlertAction *laterAction = [UIAlertAction actionWithTitle:@"Later" + style:UIAlertActionStyleCancel + handler:^(UIAlertAction *action){ + // [alert dismissViewControllerAnimated:FALSE]; + }]; [alert addAction:buyAction]; [alert addAction:laterAction]; @@ -574,10 +626,6 @@ return FALSE; } -- (void)XMLRPCRequest:(XMLRPCRequest *)request didFailWithError:(NSError *)error { -} -- (void)XMLRPCRequest:(XMLRPCRequest *)request didReceiveResponse:(XMLRPCResponse *)response { -} - (void)paymentQueue:(SKPaymentQueue *)queue updatedTransactions:(NSArray *)transactions { } - (void)productsRequest:(SKProductsRequest *)request didReceiveResponse:(SKProductsResponse *)response { @@ -587,28 +635,3 @@ } #endif @end - -@implementation InAppProductsXMLRPCDelegate { - InAppProductsManager *iapm; -} - -#pragma mark - XMLRPCConnectionDelegate Functions - -- (void)request:(XMLRPCRequest *)request didReceiveResponse:(XMLRPCResponse *)response { - [[LinphoneManager.instance iapManager] XMLRPCRequest:request didReceiveResponse:response]; -} - -- (void)request:(XMLRPCRequest *)request didFailWithError:(NSError *)error { - [[LinphoneManager.instance iapManager] XMLRPCRequest:request didFailWithError:error]; -} - -- (BOOL)request:(XMLRPCRequest *)request canAuthenticateAgainstProtectionSpace:(NSURLProtectionSpace *)protectionSpace { - return FALSE; -} - -- (void)request:(XMLRPCRequest *)request didReceiveAuthenticationChallenge:(NSURLAuthenticationChallenge *)challenge { -} - -- (void)request:(XMLRPCRequest *)request didCancelAuthenticationChallenge:(NSURLAuthenticationChallenge *)challenge { -} -@end diff --git a/Classes/Utils/XMLRPC/Configurations/Common.xcconfig b/Classes/Utils/XMLRPC/Configurations/Common.xcconfig deleted file mode 100755 index e036134b0..000000000 --- a/Classes/Utils/XMLRPC/Configurations/Common.xcconfig +++ /dev/null @@ -1,12 +0,0 @@ -RUN_CLANG_STATIC_ANALYZER = YES - -GCC_C_LANGUAGE_STANDARD = gnu99 -GCC_PRECOMPILE_PREFIX_HEADER = YES -GCC_MODEL_TUNING = G5 - -GCC_WARN_ABOUT_MISSING_NEWLINE = YES -GCC_WARN_ALLOW_INCOMPLETE_PROTOCOL = YES -GCC_WARN_ABOUT_RETURN_TYPE = YES -GCC_WARN_UNUSED_VARIABLE = YES -GCC_WARN_TYPECHECK_CALLS_TO_PRINTF = NO -GCC_TREAT_WARNINGS_AS_ERRORS = YES diff --git a/Classes/Utils/XMLRPC/Configurations/CommonDevelopment.xcconfig b/Classes/Utils/XMLRPC/Configurations/CommonDevelopment.xcconfig deleted file mode 100755 index fd2066210..000000000 --- a/Classes/Utils/XMLRPC/Configurations/CommonDevelopment.xcconfig +++ /dev/null @@ -1,6 +0,0 @@ -#include "Common.xcconfig" - -DEBUG_INFORMATION_FORMAT = dwarf - -GCC_DYNAMIC_NO_PIC = NO -GCC_OPTIMIZATION_LEVEL = 0 diff --git a/Classes/Utils/XMLRPC/Configurations/CommonRelease.xcconfig b/Classes/Utils/XMLRPC/Configurations/CommonRelease.xcconfig deleted file mode 100755 index 54ace760e..000000000 --- a/Classes/Utils/XMLRPC/Configurations/CommonRelease.xcconfig +++ /dev/null @@ -1,3 +0,0 @@ -#include "Common.xcconfig" - -DEBUG_INFORMATION_FORMAT = dwarf-with-dsym diff --git a/Classes/Utils/XMLRPC/Configurations/XMLRPC.xcconfig b/Classes/Utils/XMLRPC/Configurations/XMLRPC.xcconfig deleted file mode 100755 index a4cc02a92..000000000 --- a/Classes/Utils/XMLRPC/Configurations/XMLRPC.xcconfig +++ /dev/null @@ -1,12 +0,0 @@ -PRODUCT_NAME = XMLRPC -INFOPLIST_FILE = Resources/Property Lists/XMLRPC-Info.plist - -FRAMEWORK_VERSION = A -DYLIB_CURRENT_VERSION = 1 -DYLIB_COMPATIBILITY_VERSION = 1 - -GCC_PRECOMPILE_PREFIX_HEADER = YES -GCC_PREFIX_HEADER = XMLRPC.pch -GCC_ENABLE_OBJC_GC = supported - -INSTALL_PATH = @loader_path/../Frameworks diff --git a/Classes/Utils/XMLRPC/Configurations/XMLRPCDevelopment.xcconfig b/Classes/Utils/XMLRPC/Configurations/XMLRPCDevelopment.xcconfig deleted file mode 100755 index 399d47fff..000000000 --- a/Classes/Utils/XMLRPC/Configurations/XMLRPCDevelopment.xcconfig +++ /dev/null @@ -1,2 +0,0 @@ -#include "XMLRPC.xcconfig" -#include "CommonDevelopment.xcconfig" diff --git a/Classes/Utils/XMLRPC/Configurations/XMLRPCRelease.xcconfig b/Classes/Utils/XMLRPC/Configurations/XMLRPCRelease.xcconfig deleted file mode 100755 index 5a87b922d..000000000 --- a/Classes/Utils/XMLRPC/Configurations/XMLRPCRelease.xcconfig +++ /dev/null @@ -1,2 +0,0 @@ -#include "XMLRPC.xcconfig" -#include "CommonRelease.xcconfig" diff --git a/Classes/Utils/XMLRPC/Configurations/XMLRPCUnitTests.xcconfig b/Classes/Utils/XMLRPC/Configurations/XMLRPCUnitTests.xcconfig deleted file mode 100755 index b4c830f44..000000000 --- a/Classes/Utils/XMLRPC/Configurations/XMLRPCUnitTests.xcconfig +++ /dev/null @@ -1,7 +0,0 @@ -PRODUCT_NAME = XMLRPCUnitTests -INFOPLIST_FILE = Resources/Property Lists/XMLRPCUnitTests-Info.plist - -WRAPPER_EXTENSION=octest - -GCC_PRECOMPILE_PREFIX_HEADER = YES -GCC_PREFIX_HEADER = XMLRPC.pch diff --git a/Classes/Utils/XMLRPC/Configurations/XMLRPCUnitTestsDevelopment.xcconfig b/Classes/Utils/XMLRPC/Configurations/XMLRPCUnitTestsDevelopment.xcconfig deleted file mode 100755 index b7ffa9c43..000000000 --- a/Classes/Utils/XMLRPC/Configurations/XMLRPCUnitTestsDevelopment.xcconfig +++ /dev/null @@ -1,2 +0,0 @@ -#include "XMLRPCUnitTests.xcconfig" -#include "CommonDevelopment.xcconfig" diff --git a/Classes/Utils/XMLRPC/Configurations/XMLRPCUnitTestsRelease.xcconfig b/Classes/Utils/XMLRPC/Configurations/XMLRPCUnitTestsRelease.xcconfig deleted file mode 100755 index 1c1b03264..000000000 --- a/Classes/Utils/XMLRPC/Configurations/XMLRPCUnitTestsRelease.xcconfig +++ /dev/null @@ -1,2 +0,0 @@ -#include "XMLRPCUnitTests.xcconfig" -#include "CommonRelease.xcconfig" diff --git a/Classes/Utils/XMLRPC/LICENSE.md b/Classes/Utils/XMLRPC/LICENSE.md deleted file mode 100755 index 63faaeb29..000000000 --- a/Classes/Utils/XMLRPC/LICENSE.md +++ /dev/null @@ -1,23 +0,0 @@ -# License - -## The Cocoa XML-RPC Framework is distributed under the MIT License: - -Copyright (c) 2012 Eric Czarny - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies -of the Software, and to permit persons to whom the Software is furnished to do -so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/Classes/Utils/XMLRPC/Languages/English.lproj/InfoPlist.strings b/Classes/Utils/XMLRPC/Languages/English.lproj/InfoPlist.strings deleted file mode 100755 index 0bddbc344..000000000 Binary files a/Classes/Utils/XMLRPC/Languages/English.lproj/InfoPlist.strings and /dev/null differ diff --git a/Classes/Utils/XMLRPC/NSData+Base64.h b/Classes/Utils/XMLRPC/NSData+Base64.h deleted file mode 100755 index 118c4e17d..000000000 --- a/Classes/Utils/XMLRPC/NSData+Base64.h +++ /dev/null @@ -1,42 +0,0 @@ -// -// NSData+Base64.h -// base64 -// -// Created by Matt Gallagher on 2009/06/03. -// Copyright 2009 Matt Gallagher. All rights reserved. -// -// This software is provided 'as-is', without any express or implied -// warranty. In no event will the authors be held liable for any damages -// arising from the use of this software. Permission is granted to anyone to -// use this software for any purpose, including commercial applications, and to -// alter it and redistribute it freely, subject to the following restrictions: -// -// 1. The origin of this software must not be misrepresented; you must not -// claim that you wrote the original software. If you use this software -// in a product, an acknowledgment in the product documentation would be -// appreciated but is not required. -// 2. Altered source versions must be plainly marked as such, and must not be -// misrepresented as being the original software. -// 3. This notice may not be removed or altered from any source -// distribution. -// - -#import - -void *NewBase64Decode( - const char *inputBuffer, - size_t length, - size_t *outputLength); - -char *NewBase64Encode( - const void *inputBuffer, - size_t length, - bool separateLines, - size_t *outputLength); - -@interface NSData (Base64) - -+ (NSData *)dataFromBase64String:(NSString *)aString; -- (NSString *)base64EncodedString; - -@end diff --git a/Classes/Utils/XMLRPC/NSData+Base64.m b/Classes/Utils/XMLRPC/NSData+Base64.m deleted file mode 100755 index 4e6bb74c0..000000000 --- a/Classes/Utils/XMLRPC/NSData+Base64.m +++ /dev/null @@ -1,313 +0,0 @@ -// -// NSData+Base64.m -// base64 -// -// Created by Matt Gallagher on 2009/06/03. -// Copyright 2009 Matt Gallagher. All rights reserved. -// -// This software is provided 'as-is', without any express or implied -// warranty. In no event will the authors be held liable for any damages -// arising from the use of this software. Permission is granted to anyone to -// use this software for any purpose, including commercial applications, and to -// alter it and redistribute it freely, subject to the following restrictions: -// -// 1. The origin of this software must not be misrepresented; you must not -// claim that you wrote the original software. If you use this software -// in a product, an acknowledgment in the product documentation would be -// appreciated but is not required. -// 2. Altered source versions must be plainly marked as such, and must not be -// misrepresented as being the original software. -// 3. This notice may not be removed or altered from any source -// distribution. -// - -#import "NSData+Base64.h" - -// -// Mapping from 6 bit pattern to ASCII character. -// -static unsigned char base64EncodeLookup[65] = - "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; - -// -// Definition for "masked-out" areas of the base64DecodeLookup mapping -// -#define xx 65 - -// -// Mapping from ASCII character to 6 bit pattern. -// -static unsigned char base64DecodeLookup[256] = -{ - xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, - xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, - xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, 62, xx, xx, xx, 63, - 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, xx, xx, xx, xx, xx, xx, - xx, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, - 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, xx, xx, xx, xx, xx, - xx, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, - 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, xx, xx, xx, xx, xx, - xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, - xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, - xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, - xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, - xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, - xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, - xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, - xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, xx, -}; - -// -// Fundamental sizes of the binary and base64 encode/decode units in bytes -// -#define BINARY_UNIT_SIZE 3 -#define BASE64_UNIT_SIZE 4 - -// -// NewBase64Decode -// -// Decodes the base64 ASCII string in the inputBuffer to a newly malloced -// output buffer. -// -// inputBuffer - the source ASCII string for the decode -// length - the length of the string or -1 (to specify strlen should be used) -// outputLength - if not-NULL, on output will contain the decoded length -// -// returns the decoded buffer. Must be free'd by caller. Length is given by -// outputLength. -// -void *NewBase64Decode( - const char *inputBuffer, - size_t length, - size_t *outputLength) -{ - if (length == -1) - { - length = strlen(inputBuffer); - } - - size_t outputBufferSize = - ((length+BASE64_UNIT_SIZE-1) / BASE64_UNIT_SIZE) * BINARY_UNIT_SIZE; - unsigned char *outputBuffer = (unsigned char *)malloc(outputBufferSize); - - size_t i = 0; - size_t j = 0; - while (i < length) - { - // - // Accumulate 4 valid characters (ignore everything else) - // - unsigned char accumulated[BASE64_UNIT_SIZE]; - size_t accumulateIndex = 0; - while (i < length) - { - unsigned char decode = base64DecodeLookup[inputBuffer[i++]]; - if (decode != xx) - { - accumulated[accumulateIndex] = decode; - accumulateIndex++; - - if (accumulateIndex == BASE64_UNIT_SIZE) - { - break; - } - } - } - - // - // Store the 6 bits from each of the 4 characters as 3 bytes - // - // (Uses improved bounds checking suggested by Alexandre Colucci) - // - if(accumulateIndex >= 2) - outputBuffer[j] = (accumulated[0] << 2) | (accumulated[1] >> 4); - if(accumulateIndex >= 3) - outputBuffer[j + 1] = (accumulated[1] << 4) | (accumulated[2] >> 2); - if(accumulateIndex >= 4) - outputBuffer[j + 2] = (accumulated[2] << 6) | accumulated[3]; - j += accumulateIndex - 1; - } - - if (outputLength) - { - *outputLength = j; - } - return outputBuffer; -} - -// -// NewBase64Encode -// -// Encodes the arbitrary data in the inputBuffer as base64 into a newly malloced -// output buffer. -// -// inputBuffer - the source data for the encode -// length - the length of the input in bytes -// separateLines - if zero, no CR/LF characters will be added. Otherwise -// a CR/LF pair will be added every 64 encoded chars. -// outputLength - if not-NULL, on output will contain the encoded length -// (not including terminating 0 char) -// -// returns the encoded buffer. Must be free'd by caller. Length is given by -// outputLength. -// -char *NewBase64Encode( - const void *buffer, - size_t length, - bool separateLines, - size_t *outputLength) -{ - const unsigned char *inputBuffer = (const unsigned char *)buffer; - - #define MAX_NUM_PADDING_CHARS 2 - #define OUTPUT_LINE_LENGTH 64 - #define INPUT_LINE_LENGTH ((OUTPUT_LINE_LENGTH / BASE64_UNIT_SIZE) * BINARY_UNIT_SIZE) - #define CR_LF_SIZE 2 - - // - // Byte accurate calculation of final buffer size - // - size_t outputBufferSize = - ((length / BINARY_UNIT_SIZE) - + ((length % BINARY_UNIT_SIZE) ? 1 : 0)) - * BASE64_UNIT_SIZE; - if (separateLines) - { - outputBufferSize += - (outputBufferSize / OUTPUT_LINE_LENGTH) * CR_LF_SIZE; - } - - // - // Include space for a terminating zero - // - outputBufferSize += 1; - - // - // Allocate the output buffer - // - char *outputBuffer = (char *)malloc(outputBufferSize); - if (!outputBuffer) - { - return NULL; - } - - size_t i = 0; - size_t j = 0; - const size_t lineLength = separateLines ? INPUT_LINE_LENGTH : length; - size_t lineEnd = lineLength; - - while (true) - { - if (lineEnd > length) - { - lineEnd = length; - } - - for (; i + BINARY_UNIT_SIZE - 1 < lineEnd; i += BINARY_UNIT_SIZE) - { - // - // Inner loop: turn 48 bytes into 64 base64 characters - // - outputBuffer[j++] = base64EncodeLookup[(inputBuffer[i] & 0xFC) >> 2]; - outputBuffer[j++] = base64EncodeLookup[((inputBuffer[i] & 0x03) << 4) - | ((inputBuffer[i + 1] & 0xF0) >> 4)]; - outputBuffer[j++] = base64EncodeLookup[((inputBuffer[i + 1] & 0x0F) << 2) - | ((inputBuffer[i + 2] & 0xC0) >> 6)]; - outputBuffer[j++] = base64EncodeLookup[inputBuffer[i + 2] & 0x3F]; - } - - if (lineEnd == length) - { - break; - } - - // - // Add the newline - // - outputBuffer[j++] = '\r'; - outputBuffer[j++] = '\n'; - lineEnd += lineLength; - } - - if (i + 1 < length) - { - // - // Handle the single '=' case - // - outputBuffer[j++] = base64EncodeLookup[(inputBuffer[i] & 0xFC) >> 2]; - outputBuffer[j++] = base64EncodeLookup[((inputBuffer[i] & 0x03) << 4) - | ((inputBuffer[i + 1] & 0xF0) >> 4)]; - outputBuffer[j++] = base64EncodeLookup[(inputBuffer[i + 1] & 0x0F) << 2]; - outputBuffer[j++] = '='; - } - else if (i < length) - { - // - // Handle the double '=' case - // - outputBuffer[j++] = base64EncodeLookup[(inputBuffer[i] & 0xFC) >> 2]; - outputBuffer[j++] = base64EncodeLookup[(inputBuffer[i] & 0x03) << 4]; - outputBuffer[j++] = '='; - outputBuffer[j++] = '='; - } - outputBuffer[j] = 0; - - // - // Set the output length and return the buffer - // - if (outputLength) - { - *outputLength = j; - } - return outputBuffer; -} - -@implementation NSData (Base64) - -// -// dataFromBase64String: -// -// Creates an NSData object containing the base64 decoded representation of -// the base64 string 'aString' -// -// Parameters: -// aString - the base64 string to decode -// -// returns the autoreleased NSData representation of the base64 string -// -+ (NSData *)dataFromBase64String:(NSString *)aString -{ - NSData *data = [aString dataUsingEncoding:NSASCIIStringEncoding]; - size_t outputLength; - void *outputBuffer = NewBase64Decode([data bytes], [data length], &outputLength); - NSData *result = [NSData dataWithBytes:outputBuffer length:outputLength]; - free(outputBuffer); - return result; -} - -// -// base64EncodedString -// -// Creates an NSString object that contains the base 64 encoding of the -// receiver's data. Lines are broken at 64 characters long. -// -// returns an autoreleased NSString being the base 64 representation of the -// receiver. -// -- (NSString *)base64EncodedString -{ - size_t outputLength = 0; - char *outputBuffer = - NewBase64Encode([self bytes], [self length], true, &outputLength); - - NSString *result =[[NSString alloc] initWithBytes:outputBuffer - length:outputLength - encoding:NSASCIIStringEncoding]; -#if ! __has_feature(objc_arc) - [result autorelease]; -#endif - free(outputBuffer); - return result; -} - -@end diff --git a/Classes/Utils/XMLRPC/NSStringAdditions.h b/Classes/Utils/XMLRPC/NSStringAdditions.h deleted file mode 100755 index 26f0937bd..000000000 --- a/Classes/Utils/XMLRPC/NSStringAdditions.h +++ /dev/null @@ -1,13 +0,0 @@ -#import - -@interface NSString (NSStringAdditions) - -+ (NSString *)stringByGeneratingUUID; - -#pragma mark - - -- (NSString *)unescapedString; - -- (NSString *)escapedString; - -@end diff --git a/Classes/Utils/XMLRPC/NSStringAdditions.m b/Classes/Utils/XMLRPC/NSStringAdditions.m deleted file mode 100755 index 9c728b79f..000000000 --- a/Classes/Utils/XMLRPC/NSStringAdditions.m +++ /dev/null @@ -1,46 +0,0 @@ -#import "NSStringAdditions.h" - -@implementation NSString (NSStringAdditions) - -+ (NSString *)stringByGeneratingUUID { - CFUUIDRef UUIDReference = CFUUIDCreate(nil); - CFStringRef temporaryUUIDString = CFUUIDCreateString(nil, UUIDReference); - - CFRelease(UUIDReference); -#if ! __has_feature(objc_arc) - return [NSMakeCollectable(temporaryUUIDString) autorelease]; -#else - return (__bridge_transfer NSString*)temporaryUUIDString; -#endif -} - -#pragma mark - - -- (NSString *)unescapedString { - NSMutableString *string = [NSMutableString stringWithString: self]; - - [string replaceOccurrencesOfString: @"&" withString: @"&" options: NSLiteralSearch range: NSMakeRange(0, [string length])]; - [string replaceOccurrencesOfString: @""" withString: @"\"" options: NSLiteralSearch range: NSMakeRange(0, [string length])]; - [string replaceOccurrencesOfString: @"'" withString: @"'" options: NSLiteralSearch range: NSMakeRange(0, [string length])]; - [string replaceOccurrencesOfString: @"9" withString: @"'" options: NSLiteralSearch range: NSMakeRange(0, [string length])]; - [string replaceOccurrencesOfString: @"’" withString: @"'" options: NSLiteralSearch range: NSMakeRange(0, [string length])]; - [string replaceOccurrencesOfString: @"–" withString: @"'" options: NSLiteralSearch range: NSMakeRange(0, [string length])]; - [string replaceOccurrencesOfString: @">" withString: @">" options: NSLiteralSearch range: NSMakeRange(0, [string length])]; - [string replaceOccurrencesOfString: @"<" withString: @"<" options: NSLiteralSearch range: NSMakeRange(0, [string length])]; - - return [NSString stringWithString: string]; -} - -- (NSString *)escapedString { - NSMutableString *string = [NSMutableString stringWithString: self]; - - // NOTE: we use unicode entities instead of & > < etc. since some hosts (powweb, fatcow, and similar) - // have a weird PHP/libxml2 combination that ignores regular entities - [string replaceOccurrencesOfString: @"&" withString: @"&" options: NSLiteralSearch range: NSMakeRange(0, [string length])]; - [string replaceOccurrencesOfString: @">" withString: @">" options: NSLiteralSearch range: NSMakeRange(0, [string length])]; - [string replaceOccurrencesOfString: @"<" withString: @"<" options: NSLiteralSearch range: NSMakeRange(0, [string length])]; - - return [NSString stringWithString: string]; -} - -@end diff --git a/Classes/Utils/XMLRPC/README.md b/Classes/Utils/XMLRPC/README.md deleted file mode 100755 index 3bcc0736e..000000000 --- a/Classes/Utils/XMLRPC/README.md +++ /dev/null @@ -1,87 +0,0 @@ -# The Cocoa XML-RPC Framework - -The Cocoa XML-RPC Framework is a simple, and lightweight, XML-RPC client framework written in Objective-C. - -# Requirements - -The Cocoa XML-RPC Framework has been built, and designed, for Mac OS X 10.5 or later. This release should provide basic iPhone and iPod touch support. - -This version of the Cocoa XML-RPC Framework includes a new event-based XML parser. The previous tree-based XML parser still exists, but is no longer the default XML-RPC response parser nor included in the Xcode build. This should hopefully provide better compatibility with the iPhone SDK. - -# Usage - -The following example of the Cocoa XML-RPC Framework assumes that the included XML-RPC test server is available. More information on the test server can be found in the README under: - - XMLRPC\Tools\Test Server - -Please review this document before moving forward. - -## Invoking XML-RPC requests through the XML-RPC connection manager - -Invoking an XML-RPC request through the XML-RPC connection manager is easy: - - NSURL *URL = [NSURL URLWithString: @"http://127.0.0.1:8080/"]; - XMLRPCRequest *request = [[XMLRPCRequest alloc] initWithURL: URL]; - XMLRPCConnectionManager *manager = [XMLRPCConnectionManager sharedManager]; - - [request setMethod: @"Echo.echo" withParameter: @"Hello World!"]; - - NSLog(@"Request body: %@", [request body]); - - [manager spawnConnectionWithXMLRPCRequest: request delegate: self]; - - [request release]; - -This spawns a new XML-RPC connection, assigning that connection with a unique identifer and returning it to the sender. This unique identifier, a UUID expressed as an NSString, can then be used to obtain the XML-RPC connection from the XML-RPC connection manager, as long as it is still active. - -The XML-RPC connection manager has been designed to ease the management of active XML-RPC connections. For example, the following method obtains an NSArray of active XML-RPC connection identifiers: - - - (NSArray *)activeConnectionIdentifiers; - -The NSArray returned by this method contains a list of each active connection identifier. Provided with a connection identifier, the following method will return an instance of the requested XML-RPC connection: - - - (XMLRPCConnection *)connectionForIdentifier: (NSString *)connectionIdentifier; - -Finally, for a delegate to receive XML-RPC responses, authentication challenges, or errors, the XMLRPCConnectionDelegate protocol must be implemented. For example, the following will handle successful XML-RPC responses: - - - (void)request: (XMLRPCRequest *)request didReceiveResponse: (XMLRPCResponse *)response { - if ([response isFault]) { - NSLog(@"Fault code: %@", [response faultCode]); - - NSLog(@"Fault string: %@", [response faultString]); - } else { - NSLog(@"Parsed response: %@", [response object]); - } - - NSLog(@"Response body: %@", [response body]); - } - -Refer to XMLRPCConnectionDelegate.h for a full list of methods a delegate must implement. Each of these delegate methods plays a role in the life of an active XML-RPC connection. - -## Sending synchronous XML-RPC requests - -There are situations where it may be desirable to invoke XML-RPC requests synchronously in another thread or background process. The following method declared in XMLRPCConnection.h will invoke an XML-RPC request synchronously: - - + (XMLRPCResponse *)sendSynchronousXMLRPCRequest: (XMLRPCRequest *)request error: (NSError **)error; - -If there is a problem sending the XML-RPC request expect nil to be returned. - -# What if I find a bug, or what if I want to help? - -Please, contact me with any questions, comments, suggestions, or problems. I try to make the time to answer every request. - -Those wishing to contribute to the project should begin by obtaining the latest source with Git. The project is hosted on GitHub, making it easy for anyone to make contributions. Simply create a fork and make your changes. - -# Acknowledgments - -The Base64 encoder/decoder found in NSData+Base64 is created by [Matt Gallagher](http://cocoawithlove.com/2009/06/base64-encoding-options-on-mac-and.html). - -The idea for this framework came from examples provided by Brent Simmons, the creator of NetNewsWire. - -# License - -Copyright (c) 2012 Eric Czarny. - -The Cocoa XML-RPC Framework should be accompanied by a LICENSE file, this file contains the license relevant to this distribution. - -If no LICENSE exists please contact Eric Czarny . diff --git a/Classes/Utils/XMLRPC/Resources/Property Lists/TestCases.plist b/Classes/Utils/XMLRPC/Resources/Property Lists/TestCases.plist deleted file mode 100755 index 65f7caf03..000000000 --- a/Classes/Utils/XMLRPC/Resources/Property Lists/TestCases.plist +++ /dev/null @@ -1,41 +0,0 @@ - - - - - AlternativeDateFormatsTestCase - - 2009-12-02T01:49:00Z - 2009-12-02T01:50:00Z - - DefaultTypeTestCase - Hello World! - EmptyBooleanTestCase - 0 - EmptyDataTestCase - - EmptyDoubleTestCase - 0 - EmptyIntegerTestCase - 0 - EmptyStringTestCase - - SimpleArrayTestCase - - Hello World! - 42 - 3.14 - 1 - 2009-07-18T21:34:00Z - eW91IGNhbid0IHJlYWQgdGhpcyE= - - SimpleStructTestCase - - Name - Eric Czarny - Birthday - 1984-04-15T05:00:00Z - Age - 25 - - - diff --git a/Classes/Utils/XMLRPC/Resources/Property Lists/XMLRPC-Info.plist b/Classes/Utils/XMLRPC/Resources/Property Lists/XMLRPC-Info.plist deleted file mode 100755 index f9624ae91..000000000 --- a/Classes/Utils/XMLRPC/Resources/Property Lists/XMLRPC-Info.plist +++ /dev/null @@ -1,24 +0,0 @@ - - - - - CFBundleDevelopmentRegion - English - CFBundleExecutable - XMLRPC - CFBundleIdentifier - com.divisiblebyzero.XMLRPC - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - XMLRPC - CFBundlePackageType - FMWK - CFBundleSignature - ZERO - CFBundleVersion - 2.2.1 - CFBundleShortVersionString - 2.2.1 - - diff --git a/Classes/Utils/XMLRPC/Resources/Property Lists/XMLRPCUnitTests-Info.plist b/Classes/Utils/XMLRPC/Resources/Property Lists/XMLRPCUnitTests-Info.plist deleted file mode 100755 index 492f334bb..000000000 --- a/Classes/Utils/XMLRPC/Resources/Property Lists/XMLRPCUnitTests-Info.plist +++ /dev/null @@ -1,22 +0,0 @@ - - - - - CFBundleDevelopmentRegion - English - CFBundleIdentifier - com.divisiblebyzero.XMLRPCUnitTests - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - XMLRPCUnitTests - CFBundlePackageType - BNDL - CFBundleSignature - ZERO - CFBundleVersion - 1.0 - CFBundleShortVersionString - 1.0 - - diff --git a/Classes/Utils/XMLRPC/Resources/Test Cases/AlternativeDateFormatsTestCase.xml b/Classes/Utils/XMLRPC/Resources/Test Cases/AlternativeDateFormatsTestCase.xml deleted file mode 100755 index 2e197f1eb..000000000 --- a/Classes/Utils/XMLRPC/Resources/Test Cases/AlternativeDateFormatsTestCase.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - 20091201T20:49:00 - 2009-12-01T20:50:00 - - - - - - diff --git a/Classes/Utils/XMLRPC/Resources/Test Cases/DefaultTypeTestCase.xml b/Classes/Utils/XMLRPC/Resources/Test Cases/DefaultTypeTestCase.xml deleted file mode 100755 index 8375ba6d3..000000000 --- a/Classes/Utils/XMLRPC/Resources/Test Cases/DefaultTypeTestCase.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - Hello World! - - - diff --git a/Classes/Utils/XMLRPC/Resources/Test Cases/EmptyBooleanTestCase.xml b/Classes/Utils/XMLRPC/Resources/Test Cases/EmptyBooleanTestCase.xml deleted file mode 100755 index dd0a4f980..000000000 --- a/Classes/Utils/XMLRPC/Resources/Test Cases/EmptyBooleanTestCase.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/Classes/Utils/XMLRPC/Resources/Test Cases/EmptyDataTestCase.xml b/Classes/Utils/XMLRPC/Resources/Test Cases/EmptyDataTestCase.xml deleted file mode 100755 index a055d2d57..000000000 --- a/Classes/Utils/XMLRPC/Resources/Test Cases/EmptyDataTestCase.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/Classes/Utils/XMLRPC/Resources/Test Cases/EmptyDoubleTestCase.xml b/Classes/Utils/XMLRPC/Resources/Test Cases/EmptyDoubleTestCase.xml deleted file mode 100755 index 1d82be425..000000000 --- a/Classes/Utils/XMLRPC/Resources/Test Cases/EmptyDoubleTestCase.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/Classes/Utils/XMLRPC/Resources/Test Cases/EmptyIntegerTestCase.xml b/Classes/Utils/XMLRPC/Resources/Test Cases/EmptyIntegerTestCase.xml deleted file mode 100755 index 99c93d799..000000000 --- a/Classes/Utils/XMLRPC/Resources/Test Cases/EmptyIntegerTestCase.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/Classes/Utils/XMLRPC/Resources/Test Cases/EmptyStringTestCase.xml b/Classes/Utils/XMLRPC/Resources/Test Cases/EmptyStringTestCase.xml deleted file mode 100755 index 3813759fd..000000000 --- a/Classes/Utils/XMLRPC/Resources/Test Cases/EmptyStringTestCase.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/Classes/Utils/XMLRPC/Resources/Test Cases/SimpleArrayTestCase.xml b/Classes/Utils/XMLRPC/Resources/Test Cases/SimpleArrayTestCase.xml deleted file mode 100755 index 41388ccc8..000000000 --- a/Classes/Utils/XMLRPC/Resources/Test Cases/SimpleArrayTestCase.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - Hello World! - 42 - 3.14 - 1 - 20090718T17:34:00 - eW91IGNhbid0IHJlYWQgdGhpcyE= - - - - - - diff --git a/Classes/Utils/XMLRPC/Resources/Test Cases/SimpleStructTestCase.xml b/Classes/Utils/XMLRPC/Resources/Test Cases/SimpleStructTestCase.xml deleted file mode 100755 index d2552c311..000000000 --- a/Classes/Utils/XMLRPC/Resources/Test Cases/SimpleStructTestCase.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - Name - Eric Czarny - - - Birthday - 1984-04-15T00:00:00 - - - Age - 25 - - - - - - diff --git a/Classes/Utils/XMLRPC/Tools/Test Client/Configurations/Common.xcconfig b/Classes/Utils/XMLRPC/Tools/Test Client/Configurations/Common.xcconfig deleted file mode 100755 index 587996846..000000000 --- a/Classes/Utils/XMLRPC/Tools/Test Client/Configurations/Common.xcconfig +++ /dev/null @@ -1,14 +0,0 @@ -ARCHS = $(ARCHS_STANDARD_32_64_BIT) -VALID_ARCHS = i386 ppc x86_64 -SDKROOT = macosx10.6 -PREBINDING = NO - -GCC_C_LANGUAGE_STANDARD = gnu99 -GCC_PRECOMPILE_PREFIX_HEADER = YES -GCC_MODEL_TUNING = G5 - -GCC_WARN_ABOUT_MISSING_NEWLINE = YES -GCC_WARN_ALLOW_INCOMPLETE_PROTOCOL = YES -GCC_WARN_ABOUT_RETURN_TYPE = YES -GCC_WARN_UNUSED_VARIABLE = YES -GCC_TREAT_WARNINGS_AS_ERRORS = YES diff --git a/Classes/Utils/XMLRPC/Tools/Test Client/Configurations/CommonDevelopment.xcconfig b/Classes/Utils/XMLRPC/Tools/Test Client/Configurations/CommonDevelopment.xcconfig deleted file mode 100755 index a4de0d06d..000000000 --- a/Classes/Utils/XMLRPC/Tools/Test Client/Configurations/CommonDevelopment.xcconfig +++ /dev/null @@ -1,7 +0,0 @@ -#include "Common.xcconfig" - -ONLY_ACTIVE_ARCH = YES - -DEBUG_INFORMATION_FORMAT = dwarf - -GCC_OPTIMIZATION_LEVEL = 0 diff --git a/Classes/Utils/XMLRPC/Tools/Test Client/Configurations/CommonRelease.xcconfig b/Classes/Utils/XMLRPC/Tools/Test Client/Configurations/CommonRelease.xcconfig deleted file mode 100755 index d49f88eed..000000000 --- a/Classes/Utils/XMLRPC/Tools/Test Client/Configurations/CommonRelease.xcconfig +++ /dev/null @@ -1,5 +0,0 @@ -#include "Common.xcconfig" - -DEBUG_INFORMATION_FORMAT = dwarf-with-dsym - -GCC_OPTIMIZATION_LEVEL = s diff --git a/Classes/Utils/XMLRPC/Tools/Test Client/Configurations/TestClient.xcconfig b/Classes/Utils/XMLRPC/Tools/Test Client/Configurations/TestClient.xcconfig deleted file mode 100755 index fb2896703..000000000 --- a/Classes/Utils/XMLRPC/Tools/Test Client/Configurations/TestClient.xcconfig +++ /dev/null @@ -1,7 +0,0 @@ -PRODUCT_NAME = Test Client -INFOPLIST_FILE = TestClient-Info.plist - -GCC_PRECOMPILE_PREFIX_HEADER = YES -GCC_PREFIX_HEADER = TestClient.pch - -INSTALL_PATH = /Applications diff --git a/Classes/Utils/XMLRPC/Tools/Test Client/Configurations/TestClientDevelopment.xcconfig b/Classes/Utils/XMLRPC/Tools/Test Client/Configurations/TestClientDevelopment.xcconfig deleted file mode 100755 index 35a8b9a27..000000000 --- a/Classes/Utils/XMLRPC/Tools/Test Client/Configurations/TestClientDevelopment.xcconfig +++ /dev/null @@ -1,2 +0,0 @@ -#include "TestClient.xcconfig" -#include "CommonDevelopment.xcconfig" diff --git a/Classes/Utils/XMLRPC/Tools/Test Client/Configurations/TestClientRelease.xcconfig b/Classes/Utils/XMLRPC/Tools/Test Client/Configurations/TestClientRelease.xcconfig deleted file mode 100755 index 3835f9903..000000000 --- a/Classes/Utils/XMLRPC/Tools/Test Client/Configurations/TestClientRelease.xcconfig +++ /dev/null @@ -1,2 +0,0 @@ -#include "TestClient.xcconfig" -#include "CommonRelease.xcconfig" diff --git a/Classes/Utils/XMLRPC/Tools/Test Client/Languages/English.lproj/InfoPlist.strings b/Classes/Utils/XMLRPC/Tools/Test Client/Languages/English.lproj/InfoPlist.strings deleted file mode 100755 index 58481ab26..000000000 Binary files a/Classes/Utils/XMLRPC/Tools/Test Client/Languages/English.lproj/InfoPlist.strings and /dev/null differ diff --git a/Classes/Utils/XMLRPC/Tools/Test Client/Languages/English.lproj/TestClient.xib b/Classes/Utils/XMLRPC/Tools/Test Client/Languages/English.lproj/TestClient.xib deleted file mode 100755 index eb6bbb284..000000000 --- a/Classes/Utils/XMLRPC/Tools/Test Client/Languages/English.lproj/TestClient.xib +++ /dev/null @@ -1,3617 +0,0 @@ - - - - 1050 - 10C540 - 740 - 1038.25 - 458.00 - - com.apple.InterfaceBuilder.CocoaPlugin - 740 - - - YES - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - - - YES - - YES - - - YES - - - - YES - - NSApplication - - - FirstResponder - - - NSApplication - - - AMainMenu - - YES - - - Test Client - - 1048576 - 2147483647 - - NSImage - NSMenuCheckmark - - - NSImage - NSMenuMixedState - - submenuAction: - - Test Client - - YES - - - About Test Client - - 2147483647 - - - - - - YES - YES - - - 1048576 - 2147483647 - - - - - - Preferences… - , - 1048576 - 2147483647 - - - - - - YES - YES - - - 1048576 - 2147483647 - - - - - - Services - - 1048576 - 2147483647 - - - submenuAction: - - Services - - YES - - _NSServicesMenu - - - - - YES - YES - - - 1048576 - 2147483647 - - - - - - Hide Test Client - h - 1048576 - 2147483647 - - - - - - Hide Others - h - 1572864 - 2147483647 - - - - - - Show All - - 1048576 - 2147483647 - - - - - - YES - YES - - - 1048576 - 2147483647 - - - - - - Quit Test Client - q - 1048576 - 2147483647 - - - - - _NSAppleMenu - - - - - File - - 1048576 - 2147483647 - - - submenuAction: - - File - - YES - - - New - n - 1048576 - 2147483647 - - - - - - Open… - o - 1048576 - 2147483647 - - - - - - Open Recent - - 1048576 - 2147483647 - - - submenuAction: - - Open Recent - - YES - - - Clear Menu - - 1048576 - 2147483647 - - - - - _NSRecentDocumentsMenu - - - - - YES - YES - - - 1048576 - 2147483647 - - - - - - Close - w - 1048576 - 2147483647 - - - - - - Save - s - 1048576 - 2147483647 - - - - - - Save As… - S - 1179648 - 2147483647 - - - - - - Revert to Saved - - 2147483647 - - - - - - YES - YES - - - 1048576 - 2147483647 - - - - - - Page Setup... - P - 1179648 - 2147483647 - - - - - - - Print… - p - 1048576 - 2147483647 - - - - - - - - - Edit - - 1048576 - 2147483647 - - - submenuAction: - - Edit - - YES - - - Undo - z - 1048576 - 2147483647 - - - - - - Redo - Z - 1179648 - 2147483647 - - - - - - YES - YES - - - 1048576 - 2147483647 - - - - - - Cut - x - 1048576 - 2147483647 - - - - - - Copy - c - 1048576 - 2147483647 - - - - - - Paste - v - 1048576 - 2147483647 - - - - - - Delete - - 1048576 - 2147483647 - - - - - - Select All - a - 1048576 - 2147483647 - - - - - - YES - YES - - - 1048576 - 2147483647 - - - - - - Find - - 1048576 - 2147483647 - - - submenuAction: - - Find - - YES - - - Find… - f - 1048576 - 2147483647 - - - 1 - - - - Find Next - g - 1048576 - 2147483647 - - - 2 - - - - Find Previous - G - 1179648 - 2147483647 - - - 3 - - - - Use Selection for Find - e - 1048576 - 2147483647 - - - 7 - - - - Jump to Selection - j - 1048576 - 2147483647 - - - - - - - - - Spelling and Grammar - - 1048576 - 2147483647 - - - submenuAction: - - Spelling and Grammar - - YES - - - Show Spelling… - : - 1048576 - 2147483647 - - - - - - Check Spelling - ; - 1048576 - 2147483647 - - - - - - Check Spelling While Typing - - 1048576 - 2147483647 - - - - - - Check Grammar With Spelling - - 1048576 - 2147483647 - - - - - - - - - Substitutions - - 1048576 - 2147483647 - - - submenuAction: - - Substitutions - - YES - - - Smart Copy/Paste - f - 1048576 - 2147483647 - - - 1 - - - - Smart Quotes - g - 1048576 - 2147483647 - - - 2 - - - - Smart Links - G - 1179648 - 2147483647 - - - 3 - - - - - - - Speech - - 1048576 - 2147483647 - - - submenuAction: - - Speech - - YES - - - Start Speaking - - 1048576 - 2147483647 - - - - - - Stop Speaking - - 1048576 - 2147483647 - - - - - - - - - - - - Format - - 2147483647 - - - submenuAction: - - Format - - YES - - - Font - - 2147483647 - - - submenuAction: - - Font - - YES - - - Show Fonts - t - 1048576 - 2147483647 - - - - - - Bold - b - 1048576 - 2147483647 - - - 2 - - - - Italic - i - 1048576 - 2147483647 - - - 1 - - - - Underline - u - 1048576 - 2147483647 - - - - - - YES - YES - - - 2147483647 - - - - - - Bigger - + - 1048576 - 2147483647 - - - 3 - - - - Smaller - - - 1048576 - 2147483647 - - - 4 - - - - YES - YES - - - 2147483647 - - - - - - Kern - - 2147483647 - - - submenuAction: - - Kern - - YES - - - Use Default - - 2147483647 - - - - - - Use None - - 2147483647 - - - - - - Tighten - - 2147483647 - - - - - - Loosen - - 2147483647 - - - - - - - - - Ligature - - 2147483647 - - - submenuAction: - - Ligature - - YES - - - Use Default - - 2147483647 - - - - - - Use None - - 2147483647 - - - - - - Use All - - 2147483647 - - - - - - - - - Baseline - - 2147483647 - - - submenuAction: - - Baseline - - YES - - - Use Default - - 2147483647 - - - - - - Superscript - - 2147483647 - - - - - - Subscript - - 2147483647 - - - - - - Raise - - 2147483647 - - - - - - Lower - - 2147483647 - - - - - - - - - YES - YES - - - 2147483647 - - - - - - Show Colors - C - 1048576 - 2147483647 - - - - - - YES - YES - - - 2147483647 - - - - - - Copy Style - c - 1572864 - 2147483647 - - - - - - Paste Style - v - 1572864 - 2147483647 - - - - - _NSFontMenu - - - - - Text - - 2147483647 - - - submenuAction: - - Text - - YES - - - Align Left - { - 1048576 - 2147483647 - - - - - - Center - | - 1048576 - 2147483647 - - - - - - Justify - - 2147483647 - - - - - - Align Right - } - 1048576 - 2147483647 - - - - - - YES - YES - - - 2147483647 - - - - - - Show Ruler - - 2147483647 - - - - - - Copy Ruler - c - 1310720 - 2147483647 - - - - - - Paste Ruler - v - 1310720 - 2147483647 - - - - - - - - - - - - View - - 1048576 - 2147483647 - - - submenuAction: - - View - - YES - - - Show Toolbar - t - 1572864 - 2147483647 - - - - - - Customize Toolbar… - - 1048576 - 2147483647 - - - - - - - - - Window - - 1048576 - 2147483647 - - - submenuAction: - - Window - - YES - - - Minimize - m - 1048576 - 2147483647 - - - - - - Zoom - - 1048576 - 2147483647 - - - - - - YES - YES - - - 1048576 - 2147483647 - - - - - - Main Window - 0 - 1048576 - 2147483647 - - - - - - XML Parser - 1 - 1048576 - 2147483647 - - - - - - YES - YES - - - 1048576 - 2147483647 - - - - - - Bring All to Front - - 1048576 - 2147483647 - - - - - _NSWindowsMenu - - - - - Help - - 1048576 - 2147483647 - - - submenuAction: - - Help - - YES - - - Test Client Help - ? - 1048576 - 2147483647 - - - - - - - - _NSMainMenu - - - NSFontManager - - - TestClientApplicationController - - - - - YES - - - performMiniaturize: - - - - 37 - - - - arrangeInFront: - - - - 39 - - - - print: - - - - 86 - - - - runPageLayout: - - - - 87 - - - - clearRecentDocuments: - - - - 127 - - - - orderFrontStandardAboutPanel: - - - - 142 - - - - performClose: - - - - 193 - - - - toggleContinuousSpellChecking: - - - - 222 - - - - undo: - - - - 223 - - - - copy: - - - - 224 - - - - checkSpelling: - - - - 225 - - - - paste: - - - - 226 - - - - stopSpeaking: - - - - 227 - - - - cut: - - - - 228 - - - - showGuessPanel: - - - - 230 - - - - redo: - - - - 231 - - - - selectAll: - - - - 232 - - - - startSpeaking: - - - - 233 - - - - delete: - - - - 235 - - - - performZoom: - - - - 240 - - - - performFindPanelAction: - - - - 241 - - - - centerSelectionInVisibleArea: - - - - 245 - - - - toggleGrammarChecking: - - - - 347 - - - - toggleSmartInsertDelete: - - - - 355 - - - - toggleAutomaticQuoteSubstitution: - - - - 356 - - - - toggleAutomaticLinkDetection: - - - - 357 - - - - showHelp: - - - - 360 - - - - saveDocument: - - - - 362 - - - - saveDocumentAs: - - - - 363 - - - - revertDocumentToSaved: - - - - 364 - - - - runToolbarCustomizationPalette: - - - - 365 - - - - toggleToolbarShown: - - - - 366 - - - - hide: - - - - 367 - - - - hideOtherApplications: - - - - 368 - - - - unhideAllApplications: - - - - 370 - - - - newDocument: - - - - 373 - - - - openDocument: - - - - 374 - - - - addFontTrait: - - - - 421 - - - - addFontTrait: - - - - 422 - - - - modifyFont: - - - - 423 - - - - orderFrontFontPanel: - - - - 424 - - - - modifyFont: - - - - 425 - - - - raiseBaseline: - - - - 426 - - - - lowerBaseline: - - - - 427 - - - - copyFont: - - - - 428 - - - - subscript: - - - - 429 - - - - superscript: - - - - 430 - - - - tightenKerning: - - - - 431 - - - - underline: - - - - 432 - - - - orderFrontColorPanel: - - - - 433 - - - - useAllLigatures: - - - - 434 - - - - loosenKerning: - - - - 435 - - - - pasteFont: - - - - 436 - - - - unscript: - - - - 437 - - - - useStandardKerning: - - - - 438 - - - - useStandardLigatures: - - - - 439 - - - - turnOffLigatures: - - - - 440 - - - - turnOffKerning: - - - - 441 - - - - alignLeft: - - - - 442 - - - - alignJustified: - - - - 443 - - - - copyRuler: - - - - 444 - - - - alignCenter: - - - - 445 - - - - toggleRuler: - - - - 446 - - - - alignRight: - - - - 447 - - - - pasteRuler: - - - - 448 - - - - terminate: - - - - 449 - - - - delegate - - - - 457 - - - - toggleTestClientWindow: - - - - 461 - - - - toggleXMLParserWindow: - - - - 462 - - - - - YES - - 0 - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 29 - - - YES - - - - - - - - - - Main Menu - - - 19 - - - YES - - - - - - 56 - - - YES - - - - - - 103 - - - YES - - - - 1 - - - 217 - - - YES - - - - - - 83 - - - YES - - - - - - 81 - - - YES - - - - - - - - - - - - - - - - 75 - - - 3 - - - 80 - - - 8 - - - 78 - - - 6 - - - 72 - - - - - 82 - - - 9 - - - 124 - - - YES - - - - - - 77 - - - 5 - - - 73 - - - 1 - - - 79 - - - 7 - - - 112 - - - 10 - - - 74 - - - 2 - - - 125 - - - YES - - - - - - 126 - - - - - 205 - - - YES - - - - - - - - - - - - - - - - - - 202 - - - - - 198 - - - - - 207 - - - - - 214 - - - - - 199 - - - - - 203 - - - - - 197 - - - - - 206 - - - - - 215 - - - - - 218 - - - YES - - - - - - 216 - - - YES - - - - - - 200 - - - YES - - - - - - - - - 219 - - - - - 201 - - - - - 204 - - - - - 220 - - - YES - - - - - - - - - - 213 - - - - - 210 - - - - - 221 - - - - - 208 - - - - - 209 - - - - - 106 - - - YES - - - - 2 - - - 111 - - - - - 57 - - - YES - - - - - - - - - - - - - - - - 58 - - - - - 134 - - - - - 150 - - - - - 136 - - - 1111 - - - 144 - - - - - 129 - - - 121 - - - 143 - - - - - 236 - - - - - 131 - - - YES - - - - - - 149 - - - - - 145 - - - - - 130 - - - - - 24 - - - YES - - - - - - - - - - - - 92 - - - - - 5 - - - - - 239 - - - - - 23 - - - - - 295 - - - YES - - - - - - 296 - - - YES - - - - - - - 297 - - - - - 298 - - - - - 211 - - - YES - - - - - - 212 - - - YES - - - - - - - 195 - - - - - 196 - - - - - 346 - - - - - 348 - - - YES - - - - - - 349 - - - YES - - - - - - - - 350 - - - - - 351 - - - - - 354 - - - - - 375 - - - YES - - - - - - 376 - - - YES - - - - - - - 377 - - - YES - - - - - - 378 - - - YES - - - - - - 379 - - - YES - - - - - - - - - - - - - 380 - - - - - 381 - - - - - 382 - - - - - 383 - - - - - 384 - - - - - 385 - - - - - 386 - - - - - 387 - - - - - 388 - - - YES - - - - - - - - - - - - - - - - - - - - - 389 - - - - - 390 - - - - - 391 - - - - - 392 - - - - - 393 - - - - - 394 - - - - - 395 - - - - - 396 - - - - - 397 - - - YES - - - - - - 398 - - - YES - - - - - - 399 - - - YES - - - - - - 400 - - - - - 401 - - - - - 402 - - - - - 403 - - - - - 404 - - - - - 405 - - - YES - - - - - - - - - - 406 - - - - - 407 - - - - - 408 - - - - - 409 - - - - - 410 - - - - - 411 - - - YES - - - - - - - - 412 - - - - - 413 - - - - - 414 - - - - - 415 - - - YES - - - - - - - - - 416 - - - - - 417 - - - - - 418 - - - - - 419 - - - - - 420 - - - - - 450 - - - - - 451 - - - - - 455 - - - Application Controller - - - 458 - - - - - - - YES - - YES - -3.IBPluginDependency - 103.IBPluginDependency - 103.ImportedFromIB2 - 106.IBEditorWindowLastContentRect - 106.IBPluginDependency - 106.ImportedFromIB2 - 106.editorWindowContentRectSynchronizationRect - 111.IBPluginDependency - 111.ImportedFromIB2 - 112.IBPluginDependency - 112.ImportedFromIB2 - 124.IBPluginDependency - 124.ImportedFromIB2 - 125.IBPluginDependency - 125.ImportedFromIB2 - 125.editorWindowContentRectSynchronizationRect - 126.IBPluginDependency - 126.ImportedFromIB2 - 129.IBPluginDependency - 129.ImportedFromIB2 - 130.IBPluginDependency - 130.ImportedFromIB2 - 130.editorWindowContentRectSynchronizationRect - 131.IBPluginDependency - 131.ImportedFromIB2 - 134.IBPluginDependency - 134.ImportedFromIB2 - 136.IBPluginDependency - 136.ImportedFromIB2 - 143.IBPluginDependency - 143.ImportedFromIB2 - 144.IBPluginDependency - 144.ImportedFromIB2 - 145.IBPluginDependency - 145.ImportedFromIB2 - 149.IBPluginDependency - 149.ImportedFromIB2 - 150.IBPluginDependency - 150.ImportedFromIB2 - 19.IBPluginDependency - 19.ImportedFromIB2 - 195.IBPluginDependency - 195.ImportedFromIB2 - 196.IBPluginDependency - 196.ImportedFromIB2 - 197.IBPluginDependency - 197.ImportedFromIB2 - 198.IBPluginDependency - 198.ImportedFromIB2 - 199.IBPluginDependency - 199.ImportedFromIB2 - 200.IBPluginDependency - 200.ImportedFromIB2 - 200.editorWindowContentRectSynchronizationRect - 201.IBPluginDependency - 201.ImportedFromIB2 - 202.IBPluginDependency - 202.ImportedFromIB2 - 203.IBPluginDependency - 203.ImportedFromIB2 - 204.IBPluginDependency - 204.ImportedFromIB2 - 205.IBEditorWindowLastContentRect - 205.IBPluginDependency - 205.ImportedFromIB2 - 205.editorWindowContentRectSynchronizationRect - 206.IBPluginDependency - 206.ImportedFromIB2 - 207.IBPluginDependency - 207.ImportedFromIB2 - 208.IBPluginDependency - 208.ImportedFromIB2 - 209.IBPluginDependency - 209.ImportedFromIB2 - 210.IBPluginDependency - 210.ImportedFromIB2 - 211.IBPluginDependency - 211.ImportedFromIB2 - 212.IBPluginDependency - 212.ImportedFromIB2 - 212.editorWindowContentRectSynchronizationRect - 213.IBPluginDependency - 213.ImportedFromIB2 - 214.IBPluginDependency - 214.ImportedFromIB2 - 215.IBPluginDependency - 215.ImportedFromIB2 - 216.IBPluginDependency - 216.ImportedFromIB2 - 217.IBPluginDependency - 217.ImportedFromIB2 - 218.IBPluginDependency - 218.ImportedFromIB2 - 219.IBPluginDependency - 219.ImportedFromIB2 - 220.IBPluginDependency - 220.ImportedFromIB2 - 220.editorWindowContentRectSynchronizationRect - 221.IBPluginDependency - 221.ImportedFromIB2 - 23.IBPluginDependency - 23.ImportedFromIB2 - 236.IBPluginDependency - 236.ImportedFromIB2 - 239.IBPluginDependency - 239.ImportedFromIB2 - 24.IBEditorWindowLastContentRect - 24.IBPluginDependency - 24.ImportedFromIB2 - 24.editorWindowContentRectSynchronizationRect - 29.IBEditorWindowLastContentRect - 29.IBPluginDependency - 29.ImportedFromIB2 - 29.WindowOrigin - 29.editorWindowContentRectSynchronizationRect - 295.IBPluginDependency - 296.IBEditorWindowLastContentRect - 296.IBPluginDependency - 296.editorWindowContentRectSynchronizationRect - 297.IBPluginDependency - 298.IBPluginDependency - 346.IBPluginDependency - 346.ImportedFromIB2 - 348.IBPluginDependency - 348.ImportedFromIB2 - 349.IBPluginDependency - 349.ImportedFromIB2 - 349.editorWindowContentRectSynchronizationRect - 350.IBPluginDependency - 350.ImportedFromIB2 - 351.IBPluginDependency - 351.ImportedFromIB2 - 354.IBPluginDependency - 354.ImportedFromIB2 - 375.IBPluginDependency - 376.IBEditorWindowLastContentRect - 376.IBPluginDependency - 377.IBPluginDependency - 378.IBPluginDependency - 379.IBPluginDependency - 380.IBPluginDependency - 381.IBPluginDependency - 382.IBPluginDependency - 383.IBPluginDependency - 384.IBPluginDependency - 385.IBPluginDependency - 386.IBPluginDependency - 387.IBPluginDependency - 388.IBEditorWindowLastContentRect - 388.IBPluginDependency - 389.IBPluginDependency - 390.IBPluginDependency - 391.IBPluginDependency - 392.IBPluginDependency - 393.IBPluginDependency - 394.IBPluginDependency - 395.IBPluginDependency - 396.IBPluginDependency - 397.IBPluginDependency - 398.IBPluginDependency - 399.IBPluginDependency - 400.IBPluginDependency - 401.IBPluginDependency - 402.IBPluginDependency - 403.IBPluginDependency - 404.IBPluginDependency - 405.IBPluginDependency - 406.IBPluginDependency - 407.IBPluginDependency - 408.IBPluginDependency - 409.IBPluginDependency - 410.IBPluginDependency - 411.IBPluginDependency - 412.IBPluginDependency - 413.IBPluginDependency - 414.IBPluginDependency - 415.IBPluginDependency - 416.IBPluginDependency - 417.IBPluginDependency - 418.IBPluginDependency - 419.IBPluginDependency - 450.IBPluginDependency - 450.ImportedFromIB2 - 451.IBPluginDependency - 458.IBPluginDependency - 5.IBPluginDependency - 5.ImportedFromIB2 - 56.IBPluginDependency - 56.ImportedFromIB2 - 57.IBEditorWindowLastContentRect - 57.IBPluginDependency - 57.ImportedFromIB2 - 57.editorWindowContentRectSynchronizationRect - 58.IBPluginDependency - 58.ImportedFromIB2 - 72.IBPluginDependency - 72.ImportedFromIB2 - 73.IBPluginDependency - 73.ImportedFromIB2 - 74.IBPluginDependency - 74.ImportedFromIB2 - 75.IBPluginDependency - 75.ImportedFromIB2 - 77.IBPluginDependency - 77.ImportedFromIB2 - 78.IBPluginDependency - 78.ImportedFromIB2 - 79.IBPluginDependency - 79.ImportedFromIB2 - 80.IBPluginDependency - 80.ImportedFromIB2 - 81.IBEditorWindowLastContentRect - 81.IBPluginDependency - 81.ImportedFromIB2 - 81.editorWindowContentRectSynchronizationRect - 82.IBPluginDependency - 82.ImportedFromIB2 - 83.IBPluginDependency - 83.ImportedFromIB2 - 92.IBPluginDependency - 92.ImportedFromIB2 - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - {{698, 824}, {183, 23}} - com.apple.InterfaceBuilder.CocoaPlugin - - {{596, 852}, {216, 23}} - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - {{522, 812}, {146, 23}} - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - {{436, 809}, {64, 6}} - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - {{608, 612}, {275, 83}} - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - {{494, 604}, {243, 243}} - com.apple.InterfaceBuilder.CocoaPlugin - - {{187, 434}, {243, 243}} - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - {{608, 612}, {167, 43}} - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - {{608, 612}, {241, 103}} - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - {{627, 724}, {197, 123}} - com.apple.InterfaceBuilder.CocoaPlugin - - {{525, 802}, {197, 73}} - {{316, 847}, {443, 20}} - com.apple.InterfaceBuilder.CocoaPlugin - - {74, 862} - {{6, 978}, {478, 20}} - com.apple.InterfaceBuilder.CocoaPlugin - {{604, 804}, {234, 43}} - com.apple.InterfaceBuilder.CocoaPlugin - {{475, 832}, {234, 43}} - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - {{608, 612}, {215, 63}} - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - {{538, 804}, {86, 43}} - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - {{523, 2}, {178, 283}} - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - {{328, 664}, {212, 183}} - com.apple.InterfaceBuilder.CocoaPlugin - - {{23, 794}, {245, 183}} - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - {{452, 644}, {199, 203}} - com.apple.InterfaceBuilder.CocoaPlugin - - {{145, 474}, {199, 203}} - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - - - - YES - - - YES - - - - - YES - - - YES - - - - 462 - - - - YES - - TestClientApplicationController - NSObject - - YES - - YES - toggleTestClientWindow: - toggleXMLParserWindow: - - - YES - id - id - - - - IBProjectSource - TestClientApplicationController.h - - - - - YES - - NSApplication - NSResponder - - IBFrameworkSource - AppKit.framework/Headers/NSApplication.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSApplicationScripting.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSColorPanel.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSHelpManager.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSPageLayout.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSUserInterfaceItemSearching.h - - - - NSBrowser - NSControl - - IBFrameworkSource - AppKit.framework/Headers/NSBrowser.h - - - - NSControl - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSControl.h - - - - NSDocument - NSObject - - YES - - YES - printDocument: - revertDocumentToSaved: - runPageLayout: - saveDocument: - saveDocumentAs: - saveDocumentTo: - - - YES - id - id - id - id - id - id - - - - IBFrameworkSource - AppKit.framework/Headers/NSDocument.h - - - - NSDocument - - IBFrameworkSource - AppKit.framework/Headers/NSDocumentScripting.h - - - - NSDocumentController - NSObject - - YES - - YES - clearRecentDocuments: - newDocument: - openDocument: - saveAllDocuments: - - - YES - id - id - id - id - - - - IBFrameworkSource - AppKit.framework/Headers/NSDocumentController.h - - - - NSFontManager - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSFontManager.h - - - - NSFormatter - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSFormatter.h - - - - NSMatrix - NSControl - - IBFrameworkSource - AppKit.framework/Headers/NSMatrix.h - - - - NSMenu - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSMenu.h - - - - NSMenuItem - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSMenuItem.h - - - - NSMovieView - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSMovieView.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSAccessibility.h - - - - NSObject - - - - NSObject - - - - NSObject - - - - NSObject - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSDictionaryController.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSDragging.h - - - - NSObject - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSFontPanel.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSKeyValueBinding.h - - - - NSObject - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSNibLoading.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSOutlineView.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSPasteboard.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSSavePanel.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSTableView.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSToolbarItem.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSView.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSArchiver.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSClassDescription.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSError.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSFileManager.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyValueCoding.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyValueObserving.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyedArchiver.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSObject.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSObjectScripting.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSPortCoder.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSRunLoop.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSScriptClassDescription.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSScriptKeyValueCoding.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSScriptObjectSpecifiers.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSScriptWhoseTests.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSThread.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSURL.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSURLConnection.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSURLDownload.h - - - - NSResponder - - IBFrameworkSource - AppKit.framework/Headers/NSInterfaceStyle.h - - - - NSResponder - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSResponder.h - - - - NSTableView - NSControl - - - - NSText - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSText.h - - - - NSTextView - NSText - - IBFrameworkSource - AppKit.framework/Headers/NSTextView.h - - - - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSClipView.h - - - - NSView - - - - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSRulerView.h - - - - NSView - NSResponder - - - - NSWindow - - IBFrameworkSource - AppKit.framework/Headers/NSDrawer.h - - - - NSWindow - NSResponder - - IBFrameworkSource - AppKit.framework/Headers/NSWindow.h - - - - NSWindow - - IBFrameworkSource - AppKit.framework/Headers/NSWindowScripting.h - - - - - 0 - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - ../../Test Client.xcodeproj - 3 - - diff --git a/Classes/Utils/XMLRPC/Tools/Test Client/Languages/English.lproj/TestClientMainWindow.xib b/Classes/Utils/XMLRPC/Tools/Test Client/Languages/English.lproj/TestClientMainWindow.xib deleted file mode 100755 index bc486b4d2..000000000 --- a/Classes/Utils/XMLRPC/Tools/Test Client/Languages/English.lproj/TestClientMainWindow.xib +++ /dev/null @@ -1,1992 +0,0 @@ - - - - 1050 - 10C540 - 740 - 1038.25 - 458.00 - - com.apple.InterfaceBuilder.CocoaPlugin - 740 - - - YES - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - - - YES - - YES - - - YES - - - - YES - - TestClientMainWindowController - - - FirstResponder - - - NSApplication - - - 3 - 2 - {{600, 416}, {500, 442}} - 880280576 - Test Client - NSWindow - - {3.40282e+38, 3.40282e+38} - - - 268 - - YES - - - 1284 - - {{20, 8}, {16, 16}} - - 28938 - 16 - 100 - - - - 260 - {{361, 296}, {125, 32}} - - YES - - 67239424 - 134217728 - Send Request - - LucidaGrande - 13 - 1044 - - - -2034876161 - 129 - - - - 200 - 25 - - - - - 268 - {{134, 400}, {346, 22}} - - YES - - -1804468671 - 268436480 - http://127.0.0.1:8080/ - - - YES - - 6 - System - textBackgroundColor - - 3 - MQA - - - - 6 - System - textColor - - 3 - MAA - - - - - - - 268 - {{17, 343}, {112, 16}} - - YES - - 68288064 - 71304192 - Parameter: - - LucidaGrande - 12 - 16 - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2ODY1AA - - - - 6 - System - controlTextColor - - - - - - - 268 - {{335, 344}, {148, 13}} - - YES - - 68288064 - 4195328 - Type: String - - LucidaGrande - 10 - 16 - - - - - - - - - 268 - {{17, 373}, {112, 16}} - - YES - - 68288064 - 71304192 - Method: - - - - - - - - - 268 - {{134, 340}, {196, 22}} - - YES - - -1804468671 - 268436480 - Hello World! - - - YES - - - - - - - 268 - {{134, 370}, {196, 22}} - - YES - - -1804468671 - 268436480 - Echo.echo - - - YES - - - - - - - 268 - {{17, 403}, {112, 16}} - - YES - - 68288064 - 71304192 - Request URL: - - - - - - - - - 12 - {{-8, 22}, {516, 268}} - - - YES - - 1 - - - 256 - - YES - - - 268 - - YES - - - 2304 - - YES - - - 2322 - {460, 14} - - - - - - - - - - - YES - - - 6 - - - - 460 - 1 - - - 12129 - 0 - - - - YES - - YES - NSBackgroundColor - NSColor - - - YES - - 6 - System - selectedTextBackgroundColor - - - - 6 - System - selectedTextColor - - - - - - - YES - - YES - NSColor - NSUnderline - - - YES - - 1 - MCAwIDEAA - - - - - - - 6 - {922, 1e+07} - {223, 0} - - - - {{1, 1}, {460, 200}} - - - - - - {4, -5} - 1 - - 4 - - - - -2147483392 - {{434, 1}, {15, 217}} - - - _doScroller: - 0.98750001192092896 - - - - -2147483392 - {{-100, -100}, {87, 18}} - - 1 - - _doScroller: - 1 - 0.94565218687057495 - - - {{17, 17}, {462, 202}} - - - 530 - - - - - - {{10, 33}, {496, 222}} - - - Request Body - - - - - 2 - - - 256 - - YES - - - 268 - - YES - - - 2304 - - YES - - - 2322 - {460, 14} - - - - - - - - - - - YES - - - 6 - - - - 460 - 1 - - - 12129 - 0 - - - - YES - - YES - NSBackgroundColor - NSColor - - - YES - - - - - - - YES - - YES - NSColor - NSUnderline - - - YES - - - - - - - 6 - {922, 1e+07} - {223, 0} - - - - {{1, 1}, {460, 200}} - - - - - - 4 - - - - -2147483392 - {{434, 1}, {15, 217}} - - - _doScroller: - 0.98750001192092896 - - - - -2147483392 - {{-100, -100}, {87, 18}} - - 1 - - _doScroller: - 1 - 0.94565218687057495 - - - {{17, 17}, {462, 202}} - - - 530 - - - - - - {{10, 33}, {496, 222}} - - Response Body - - - - - 3 - - - 256 - - YES - - - 4364 - - YES - - - 2304 - - YES - - - 4352 - {460, 200} - - YES - - - -2147483392 - {{444, 0}, {16, 17}} - - - YES - - type - 125 - 16 - 1000 - - 75628096 - 2048 - - - LucidaGrande - 11 - 3100 - - - 3 - MC4zMzMzMzI5ODU2AA - - - 6 - System - headerTextColor - - - - - 67239488 - 2048 - Text Cell - - - - 6 - System - controlBackgroundColor - - - - - - - - value - 331 - 40 - 1000 - - 75628096 - 2048 - - - - - - - 67239488 - 2048 - Text Cell - - - - - - - - - 2 - 3 - - - 1 - MC45MDE5NjA3OTAyIDAuOTAxOTYwNzkwMiAwLjkwMTk2MDc5MDIAA - - 17 - 314572800 - - - 1 - 4 - 15 - 0 - NO - 0 - 12 - - - {{1, 1}, {460, 200}} - - - - - 4 - - - - -2147483392 - {{450, 1}, {15, 172}} - - - _doScroller: - 0.91978609561920166 - - - - -2147483392 - {{1, 173}, {449, 15}} - - 1 - - _doScroller: - 0.96506547927856445 - - - {{17, 17}, {462, 202}} - - - 562 - - - - QSAAAEEgAABBoAAAQaAAAA - - - {{10, 33}, {496, 222}} - - Parsed Response - - - - - - - 0 - YES - YES - - YES - - - - - - -2147483388 - {{41, 9}, {442, 13}} - - YES - - 68288064 - 4195328 - - - Active Connection: 00000000-0000-0000-000000000000 - - - - - - - - 12 - {{20, 311}, {339, 5}} - - {0, 0} - - 67239424 - 0 - Box - - - - 3 - MCAwLjgwMDAwMDAxMTkAA - - - 3 - 2 - 0 - NO - - - {500, 442} - - {{0, 0}, {1280, 1002}} - {3.40282e+38, 3.40282e+38} - - - - - YES - - - myProgressIndicator - - - - 42 - - - - myRequestURL - - - - 44 - - - - window - - - - 47 - - - - sendRequest: - - - - 53 - - - - initialFirstResponder - - - - 54 - - - - sendRequest: - - - - 55 - - - - myMethod - - - - 65 - - - - sendRequest: - - - - 66 - - - - nextKeyView - - - - 67 - - - - myParameter - - - - 76 - - - - nextKeyView - - - - 77 - - - - nextKeyView - - - - 78 - - - - sendRequest: - - - - 79 - - - - mySendRequest - - - - 103 - - - - myActiveConnection - - - - 136 - - - - myRequestBody - - - - 137 - - - - myResponseBody - - - - 151 - - - - myParsedResponse - - - - 152 - - - - dataSource - - - - 153 - - - - - YES - - 0 - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 1 - - - YES - - - - Test Client - - - 2 - - - YES - - - - - - - - - - - - - - - - - 4 - - - - - 6 - - - YES - - - - - - 27 - - - - - 70 - - - YES - - - - - - 73 - - - - - 74 - - - YES - - - - - - 75 - - - - - 8 - - - YES - - - - - - 21 - - - - - 63 - - - YES - - - - - - 64 - - - - - 9 - - - YES - - - - - - 20 - - - - - 50 - - - YES - - - - - - 51 - - - - - 109 - - - YES - - - - - - - - 110 - - - YES - - - - - - 111 - - - YES - - - - - - 112 - - - YES - - - - - - 113 - - - YES - - - - - - 122 - - - YES - - - - - - - - 123 - - - - - 124 - - - - - 125 - - - - - 126 - - - YES - - - - - - 127 - - - YES - - - - - - 71 - - - YES - - - - - - 72 - - - - - 134 - - - YES - - - - - - 135 - - - - - 139 - - - YES - - - - - - - - 140 - - - - - 141 - - - - - 142 - - - YES - - - - - - - 143 - - - YES - - - - - - 144 - - - YES - - - - - - 145 - - - - - 146 - - - - - 147 - - - YES - - - - - - - - 148 - - - - - 149 - - - - - 150 - - - - - 154 - - - - - - - YES - - YES - -3.IBPluginDependency - 1.IBEditorWindowLastContentRect - 1.IBPluginDependency - 1.IBViewEditorWindowController.showingBoundsRectangles - 1.IBViewEditorWindowController.showingLayoutRectangles - 1.IBWindowTemplateEditedContentRect - 1.NSWindowTemplate.visibleAtLaunch - 1.editorWindowContentRectSynchronizationRect - 1.windowTemplate.maxSize - 109.IBAttributePlaceholdersKey - 109.IBPluginDependency - 110.IBPluginDependency - 111.IBPluginDependency - 112.IBPluginDependency - 113.IBPluginDependency - 122.IBPluginDependency - 123.IBPluginDependency - 124.IBPluginDependency - 125.IBPluginDependency - 126.IBPluginDependency - 127.IBPluginDependency - 134.IBPluginDependency - 135.IBPluginDependency - 139.IBPluginDependency - 140.IBPluginDependency - 141.IBPluginDependency - 142.IBPluginDependency - 143.IBPluginDependency - 144.IBPluginDependency - 145.IBPluginDependency - 146.IBPluginDependency - 147.IBPluginDependency - 148.IBPluginDependency - 149.IBPluginDependency - 150.IBPluginDependency - 154.IBPluginDependency - 2.IBPluginDependency - 20.IBPluginDependency - 21.IBPluginDependency - 27.IBPluginDependency - 4.IBPluginDependency - 50.IBPluginDependency - 51.IBPluginDependency - 6.IBPluginDependency - 63.IBPluginDependency - 64.IBPluginDependency - 70.IBPluginDependency - 71.IBPluginDependency - 72.IBPluginDependency - 73.IBPluginDependency - 74.IBPluginDependency - 75.IBPluginDependency - 8.IBPluginDependency - 9.IBPluginDependency - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - {{521, 272}, {500, 442}} - com.apple.InterfaceBuilder.CocoaPlugin - - - {{521, 272}, {500, 442}} - - {{642, 270}, {480, 514}} - {3.40282e+38, 3.40282e+38} - - YES - - - YES - - - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - - - YES - - - YES - - - - - YES - - - YES - - - - 154 - - - - YES - - TestClientMainWindowController - NSWindowController - - YES - - YES - hideTestClientWindow: - sendRequest: - showTestClientWindow: - toggleTestClientWindow: - - - YES - id - id - id - id - - - - YES - - YES - myActiveConnection - myMethod - myParameter - myParsedResponse - myProgressIndicator - myRequestBody - myRequestURL - myResponseBody - mySendRequest - - - YES - NSTextField - NSTextField - NSTextField - NSOutlineView - NSProgressIndicator - NSTextView - NSTextField - NSTextView - NSButton - - - - IBProjectSource - TestClientMainWindowController.h - - - - - YES - - NSActionCell - NSCell - - IBFrameworkSource - AppKit.framework/Headers/NSActionCell.h - - - - NSApplication - NSResponder - - IBFrameworkSource - AppKit.framework/Headers/NSApplication.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSApplicationScripting.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSColorPanel.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSHelpManager.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSPageLayout.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSUserInterfaceItemSearching.h - - - - NSBox - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSBox.h - - - - NSButton - NSControl - - IBFrameworkSource - AppKit.framework/Headers/NSButton.h - - - - NSButtonCell - NSActionCell - - IBFrameworkSource - AppKit.framework/Headers/NSButtonCell.h - - - - NSCell - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSCell.h - - - - NSControl - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSControl.h - - - - NSFormatter - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSFormatter.h - - - - NSMenu - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSMenu.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSAccessibility.h - - - - NSObject - - - - NSObject - - - - NSObject - - - - NSObject - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSDictionaryController.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSDragging.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSFontManager.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSFontPanel.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSKeyValueBinding.h - - - - NSObject - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSNibLoading.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSOutlineView.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSPasteboard.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSSavePanel.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSTableView.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSToolbarItem.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSView.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSArchiver.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSClassDescription.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSError.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSFileManager.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyValueCoding.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyValueObserving.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyedArchiver.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSObject.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSObjectScripting.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSPortCoder.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSRunLoop.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSScriptClassDescription.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSScriptKeyValueCoding.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSScriptObjectSpecifiers.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSScriptWhoseTests.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSThread.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSURL.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSURLConnection.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSURLDownload.h - - - - NSOutlineView - NSTableView - - - - NSProgressIndicator - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSProgressIndicator.h - - - - NSResponder - - IBFrameworkSource - AppKit.framework/Headers/NSInterfaceStyle.h - - - - NSResponder - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSResponder.h - - - - NSScrollView - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSScrollView.h - - - - NSScroller - NSControl - - IBFrameworkSource - AppKit.framework/Headers/NSScroller.h - - - - NSTabView - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSTabView.h - - - - NSTabViewItem - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSTabViewItem.h - - - - NSTableColumn - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSTableColumn.h - - - - NSTableView - NSControl - - - - NSText - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSText.h - - - - NSTextField - NSControl - - IBFrameworkSource - AppKit.framework/Headers/NSTextField.h - - - - NSTextFieldCell - NSActionCell - - IBFrameworkSource - AppKit.framework/Headers/NSTextFieldCell.h - - - - NSTextView - NSText - - IBFrameworkSource - AppKit.framework/Headers/NSTextView.h - - - - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSClipView.h - - - - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSMenuItem.h - - - - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSRulerView.h - - - - NSView - NSResponder - - - - NSWindow - - IBFrameworkSource - AppKit.framework/Headers/NSDrawer.h - - - - NSWindow - NSResponder - - IBFrameworkSource - AppKit.framework/Headers/NSWindow.h - - - - NSWindow - - IBFrameworkSource - AppKit.framework/Headers/NSWindowScripting.h - - - - NSWindowController - NSResponder - - showWindow: - id - - - IBFrameworkSource - AppKit.framework/Headers/NSWindowController.h - - - - - 0 - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - ../../Test Client.xcodeproj - 3 - - diff --git a/Classes/Utils/XMLRPC/Tools/Test Client/Languages/English.lproj/TestClientXMLParserWindow.xib b/Classes/Utils/XMLRPC/Tools/Test Client/Languages/English.lproj/TestClientXMLParserWindow.xib deleted file mode 100755 index 7eef35218..000000000 --- a/Classes/Utils/XMLRPC/Tools/Test Client/Languages/English.lproj/TestClientXMLParserWindow.xib +++ /dev/null @@ -1,1228 +0,0 @@ - - - - 1050 - 10C540 - 740 - 1038.25 - 458.00 - - com.apple.InterfaceBuilder.CocoaPlugin - 740 - - - YES - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - - - YES - - YES - - - YES - - - - YES - - TestClientXMLParserWindowController - - - FirstResponder - - - NSApplication - - - 3 - 2 - {{196, 13}, {490, 497}} - 872416256 - XML Parser - NSWindow - - {3.40282e+38, 3.40282e+38} - - - 288 - - YES - - - 268 - {{380, 12}, {96, 32}} - - YES - - 67239424 - 134217728 - Parse - - LucidaGrande - 13 - 1044 - - - -2038284033 - 129 - - - 200 - 25 - - - - - 256 - - YES - - - 268 - - YES - - - 2304 - - YES - - - 2322 - - YES - - YES - Apple HTML pasteboard type - Apple PDF pasteboard type - Apple PICT pasteboard type - Apple PNG pasteboard type - Apple URL pasteboard type - CorePasteboardFlavorType 0x6D6F6F76 - CorePasteboardFlavorType 0x75726C20 - NSColor pasteboard type - NSFilenamesPboardType - NSStringPboardType - NeXT Encapsulated PostScript v1.2 pasteboard type - NeXT RTFD pasteboard type - NeXT Rich Text Format v1.0 pasteboard type - NeXT TIFF v4.0 pasteboard type - NeXT font pasteboard type - NeXT ruler pasteboard type - WebURLsWithTitlesPboardType - public.url - - - {448, 14} - - - - - - - - - - - YES - - - 6 - - - - 448 - 1 - - - 12131 - 0 - - - 3 - MQA - - - YES - - YES - NSBackgroundColor - NSColor - - - YES - - 6 - System - selectedTextBackgroundColor - - 3 - MC42NjY2NjY2ODY1AA - - - - 6 - System - selectedTextColor - - 3 - MAA - - - - - - - YES - - YES - NSColor - NSUnderline - - - YES - - 1 - MCAwIDEAA - - - - - - - 6 - {922, 1e+07} - {223, 0} - - - - {{1, 1}, {448, 205}} - - - - - - {4, -5} - 1 - - 4 - - - - -2147483392 - {{434, 1}, {15, 217}} - - - _doScroller: - 0.98750001192092896 - - - - -2147483392 - {{-100, -100}, {87, 18}} - - 1 - - _doScroller: - 1 - 0.94565218687057495 - - - {450, 207} - - - 530 - - - - - - - 4364 - - YES - - - 2304 - - YES - - - 4352 - {448, 200} - - YES - - - -2147483392 - {{434, 0}, {16, 17}} - - - YES - - type - 125 - 16 - 1000 - - 75628096 - 2048 - - - LucidaGrande - 11 - 3100 - - - 3 - MC4zMzMzMzI5ODU2AA - - - 6 - System - headerTextColor - - - - - 67239488 - 2048 - Text Cell - - - - 6 - System - controlBackgroundColor - - - - 6 - System - controlTextColor - - - - 3 - YES - - - - value - 319 - 40 - 1000 - - 75628096 - 2048 - - - - - - - 67239488 - 2048 - Text Cell - - - - - - 3 - YES - - - - 2 - 3 - - - 1 - MC45MDE5NjA3OTAyIDAuOTAxOTYwNzkwMiAwLjkwMTk2MDc5MDIAA - - 17 - 1119879168 - - - 1 - 4 - 15 - 0 - NO - 0 - 12 - - - {{1, 1}, {448, 200}} - - - - - 4 - - - - -2147483392 - {{434, 1}, {15, 185}} - - - _doScroller: - 0.9950249195098877 - - - - -2147483392 - {{1, 186}, {433, 15}} - - 1 - - _doScroller: - 0.99777281284332275 - - - {{0, 216}, {450, 202}} - - - 562 - - - - QSAAAEEgAABBoAAAQaAAAA - - - {{20, 59}, {450, 418}} - - - - {490, 497} - - {{0, 0}, {1280, 1002}} - {3.40282e+38, 3.40282e+38} - - - - - YES - - - window - - - - 3 - - - - myXML - - - - 28 - - - - parse: - - - - 29 - - - - dataSource - - - - 40 - - - - myParserResult - - - - 41 - - - - - YES - - 0 - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 1 - - - YES - - - - XML Parser - - - 2 - - - YES - - - - - - - 16 - - - YES - - - - - - 17 - - - - - 38 - - - YES - - - - - - - 24 - - - YES - - - - - - - - 27 - - - - - 26 - - - - - 25 - - - - - 30 - - - YES - - - - - - - - 33 - - - - - 32 - - - - - 31 - - - YES - - - - - - - 35 - - - YES - - - - - - 34 - - - YES - - - - - - 37 - - - - - 36 - - - - - - - YES - - YES - -3.IBPluginDependency - 1.IBEditorWindowLastContentRect - 1.IBPluginDependency - 1.IBWindowTemplateEditedContentRect - 1.NSWindowTemplate.visibleAtLaunch - 16.IBPluginDependency - 17.IBPluginDependency - 2.IBPluginDependency - 24.IBPluginDependency - 25.IBPluginDependency - 26.IBPluginDependency - 27.IBPluginDependency - 30.IBPluginDependency - 31.IBPluginDependency - 32.IBPluginDependency - 33.IBPluginDependency - 34.IBPluginDependency - 35.IBPluginDependency - 36.IBPluginDependency - 37.IBPluginDependency - 38.IBPluginDependency - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - {{431, 342}, {490, 497}} - com.apple.InterfaceBuilder.CocoaPlugin - {{431, 342}, {490, 497}} - - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - - - YES - - - YES - - - - - YES - - - YES - - - - 43 - - - - YES - - TestClientXMLParserWindowController - NSWindowController - - YES - - YES - hideXMLParserWindow: - parse: - showXMLParserWindow: - toggleXMLParserWindow: - - - YES - id - id - id - id - - - - YES - - YES - myParsedObject - myParserResult - myXML - - - YES - id - NSOutlineView - NSTextView - - - - IBProjectSource - TestClientXMLParserWindowController.h - - - - - YES - - NSActionCell - NSCell - - IBFrameworkSource - AppKit.framework/Headers/NSActionCell.h - - - - NSApplication - NSResponder - - IBFrameworkSource - AppKit.framework/Headers/NSApplication.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSApplicationScripting.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSColorPanel.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSHelpManager.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSPageLayout.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSUserInterfaceItemSearching.h - - - - NSButton - NSControl - - IBFrameworkSource - AppKit.framework/Headers/NSButton.h - - - - NSButtonCell - NSActionCell - - IBFrameworkSource - AppKit.framework/Headers/NSButtonCell.h - - - - NSCell - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSCell.h - - - - NSControl - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSControl.h - - - - NSFormatter - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSFormatter.h - - - - NSMenu - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSMenu.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSAccessibility.h - - - - NSObject - - - - NSObject - - - - NSObject - - - - NSObject - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSDictionaryController.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSDragging.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSFontManager.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSFontPanel.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSKeyValueBinding.h - - - - NSObject - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSNibLoading.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSOutlineView.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSPasteboard.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSSavePanel.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSTableView.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSToolbarItem.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSView.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSArchiver.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSClassDescription.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSError.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSFileManager.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyValueCoding.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyValueObserving.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyedArchiver.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSObject.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSObjectScripting.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSPortCoder.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSRunLoop.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSScriptClassDescription.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSScriptKeyValueCoding.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSScriptObjectSpecifiers.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSScriptWhoseTests.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSThread.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSURL.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSURLConnection.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSURLDownload.h - - - - NSOutlineView - NSTableView - - - - NSResponder - - IBFrameworkSource - AppKit.framework/Headers/NSInterfaceStyle.h - - - - NSResponder - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSResponder.h - - - - NSScrollView - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSScrollView.h - - - - NSScroller - NSControl - - IBFrameworkSource - AppKit.framework/Headers/NSScroller.h - - - - NSSplitView - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSSplitView.h - - - - NSTableColumn - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSTableColumn.h - - - - NSTableView - NSControl - - - - NSText - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSText.h - - - - NSTextFieldCell - NSActionCell - - IBFrameworkSource - AppKit.framework/Headers/NSTextFieldCell.h - - - - NSTextView - NSText - - IBFrameworkSource - AppKit.framework/Headers/NSTextView.h - - - - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSClipView.h - - - - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSMenuItem.h - - - - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSRulerView.h - - - - NSView - NSResponder - - - - NSWindow - - IBFrameworkSource - AppKit.framework/Headers/NSDrawer.h - - - - NSWindow - NSResponder - - IBFrameworkSource - AppKit.framework/Headers/NSWindow.h - - - - NSWindow - - IBFrameworkSource - AppKit.framework/Headers/NSWindowScripting.h - - - - NSWindowController - NSResponder - - showWindow: - id - - - IBFrameworkSource - AppKit.framework/Headers/NSWindowController.h - - - - - 0 - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - ../../Test Client.xcodeproj - 3 - - diff --git a/Classes/Utils/XMLRPC/Tools/Test Client/Test Client.xcodeproj/project.pbxproj b/Classes/Utils/XMLRPC/Tools/Test Client/Test Client.xcodeproj/project.pbxproj deleted file mode 100755 index 39e38edce..000000000 --- a/Classes/Utils/XMLRPC/Tools/Test Client/Test Client.xcodeproj/project.pbxproj +++ /dev/null @@ -1,401 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 45; - objects = { - -/* Begin PBXBuildFile section */ - 070043021144653D000D05B6 /* TestClient.xib in Resources */ = {isa = PBXBuildFile; fileRef = 070043001144653D000D05B6 /* TestClient.xib */; }; - 070043051144656D000D05B6 /* TestClientXMLParserWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = 070043031144656D000D05B6 /* TestClientXMLParserWindow.xib */; }; - 0700430C11446593000D05B6 /* TestClientMainWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = 0700430A11446593000D05B6 /* TestClientMainWindow.xib */; }; - 070043131144667B000D05B6 /* TestClientApplicationController.m in Sources */ = {isa = PBXBuildFile; fileRef = 0700430E1144667B000D05B6 /* TestClientApplicationController.m */; }; - 070043141144667B000D05B6 /* TestClientMainWindowController.m in Sources */ = {isa = PBXBuildFile; fileRef = 070043101144667B000D05B6 /* TestClientMainWindowController.m */; }; - 070043151144667B000D05B6 /* TestClientXMLParserWindowController.m in Sources */ = {isa = PBXBuildFile; fileRef = 070043121144667B000D05B6 /* TestClientXMLParserWindowController.m */; }; - 07E6DAB013679C6E00454D31 /* XMLRPC.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 07E6DAA513679B7600454D31 /* XMLRPC.framework */; }; - 07E6DAB213679F3000454D31 /* XMLRPC.framework in Copy Frameworks */ = {isa = PBXBuildFile; fileRef = 07E6DAA513679B7600454D31 /* XMLRPC.framework */; }; - 2DC70E311004D90100BBEEA6 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 2DC70E2F1004D90100BBEEA6 /* InfoPlist.strings */; }; - 2DC70E381004D90F00BBEEA6 /* Common.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 2DC70E321004D90F00BBEEA6 /* Common.xcconfig */; }; - 2DC70E391004D90F00BBEEA6 /* CommonDevelopment.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 2DC70E331004D90F00BBEEA6 /* CommonDevelopment.xcconfig */; }; - 2DC70E3A1004D90F00BBEEA6 /* CommonRelease.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 2DC70E341004D90F00BBEEA6 /* CommonRelease.xcconfig */; }; - 2DC70E3B1004D90F00BBEEA6 /* TestClientDevelopment.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 2DC70E351004D90F00BBEEA6 /* TestClientDevelopment.xcconfig */; }; - 2DC70E3C1004D90F00BBEEA6 /* TestClientRelease.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 2DC70E361004D90F00BBEEA6 /* TestClientRelease.xcconfig */; }; - 2DC70E3D1004D90F00BBEEA6 /* TestClient.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 2DC70E371004D90F00BBEEA6 /* TestClient.xcconfig */; }; - 8D11072D0486CEB800E47090 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 29B97316FDCFA39411CA2CEA /* main.m */; settings = {ATTRIBUTES = (); }; }; - 8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */; }; -/* End PBXBuildFile section */ - -/* Begin PBXCopyFilesBuildPhase section */ - 07E6DAB113679F1400454D31 /* Copy Frameworks */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = ""; - dstSubfolderSpec = 10; - files = ( - 07E6DAB213679F3000454D31 /* XMLRPC.framework in Copy Frameworks */, - ); - name = "Copy Frameworks"; - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXCopyFilesBuildPhase section */ - -/* Begin PBXFileReference section */ - 070043011144653D000D05B6 /* English */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = English; path = Languages/English.lproj/TestClient.xib; sourceTree = ""; }; - 070043041144656D000D05B6 /* English */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = English; path = Languages/English.lproj/TestClientXMLParserWindow.xib; sourceTree = ""; }; - 0700430B11446593000D05B6 /* English */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = English; path = Languages/English.lproj/TestClientMainWindow.xib; sourceTree = ""; }; - 0700430D1144667B000D05B6 /* TestClientApplicationController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TestClientApplicationController.h; sourceTree = ""; }; - 0700430E1144667B000D05B6 /* TestClientApplicationController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TestClientApplicationController.m; sourceTree = ""; }; - 0700430F1144667B000D05B6 /* TestClientMainWindowController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TestClientMainWindowController.h; sourceTree = ""; }; - 070043101144667B000D05B6 /* TestClientMainWindowController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TestClientMainWindowController.m; sourceTree = ""; }; - 070043111144667B000D05B6 /* TestClientXMLParserWindowController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TestClientXMLParserWindowController.h; sourceTree = ""; }; - 070043121144667B000D05B6 /* TestClientXMLParserWindowController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TestClientXMLParserWindowController.m; sourceTree = ""; }; - 0759A73511434C0D000DFE98 /* XMLRPCEventBasedParser.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = XMLRPCEventBasedParser.h; path = ../../XMLRPCEventBasedParser.h; sourceTree = SOURCE_ROOT; }; - 0759A73C11434C3C000DFE98 /* XMLRPCEventBasedParserDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = XMLRPCEventBasedParserDelegate.h; path = ../../XMLRPCEventBasedParserDelegate.h; sourceTree = SOURCE_ROOT; }; - 07E6DAA513679B7600454D31 /* XMLRPC.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XMLRPC.framework; path = "../../../../../../Library/Developer/Xcode/DerivedData/XMLRPC-gcawxlhfrkyvgjeolligeasrfeux/Build/Products/Development/XMLRPC.framework"; sourceTree = ""; }; - 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = ""; }; - 13E42FB307B3F0F600E4EEF1 /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = /System/Library/Frameworks/CoreData.framework; sourceTree = ""; }; - 29B97316FDCFA39411CA2CEA /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; - 29B97324FDCFA39411CA2CEA /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = ""; }; - 29B97325FDCFA39411CA2CEA /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = ""; }; - 2DC70E301004D90100BBEEA6 /* English */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = English; path = Languages/English.lproj/InfoPlist.strings; sourceTree = ""; }; - 2DC70E321004D90F00BBEEA6 /* Common.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Common.xcconfig; path = Configurations/Common.xcconfig; sourceTree = ""; }; - 2DC70E331004D90F00BBEEA6 /* CommonDevelopment.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = CommonDevelopment.xcconfig; path = Configurations/CommonDevelopment.xcconfig; sourceTree = ""; }; - 2DC70E341004D90F00BBEEA6 /* CommonRelease.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = CommonRelease.xcconfig; path = Configurations/CommonRelease.xcconfig; sourceTree = ""; }; - 2DC70E351004D90F00BBEEA6 /* TestClientDevelopment.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = TestClientDevelopment.xcconfig; path = Configurations/TestClientDevelopment.xcconfig; sourceTree = ""; }; - 2DC70E361004D90F00BBEEA6 /* TestClientRelease.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = TestClientRelease.xcconfig; path = Configurations/TestClientRelease.xcconfig; sourceTree = ""; }; - 2DC70E371004D90F00BBEEA6 /* TestClient.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = TestClient.xcconfig; path = Configurations/TestClient.xcconfig; sourceTree = ""; }; - 32CA4F630368D1EE00C91783 /* TestClient.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TestClient.pch; sourceTree = ""; }; - 8D1107310486CEB800E47090 /* TestClient-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "TestClient-Info.plist"; sourceTree = ""; }; - 8D1107320486CEB800E47090 /* Test Client.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Test Client.app"; sourceTree = BUILT_PRODUCTS_DIR; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 8D11072E0486CEB800E47090 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */, - 07E6DAB013679C6E00454D31 /* XMLRPC.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 0759A75B11434CC8000DFE98 /* Private Headers */ = { - isa = PBXGroup; - children = ( - 0759A73511434C0D000DFE98 /* XMLRPCEventBasedParser.h */, - 0759A73C11434C3C000DFE98 /* XMLRPCEventBasedParserDelegate.h */, - ); - name = "Private Headers"; - sourceTree = ""; - }; - 080E96DDFE201D6D7F000001 /* Classes */ = { - isa = PBXGroup; - children = ( - 0700430D1144667B000D05B6 /* TestClientApplicationController.h */, - 0700430E1144667B000D05B6 /* TestClientApplicationController.m */, - 0700430F1144667B000D05B6 /* TestClientMainWindowController.h */, - 070043101144667B000D05B6 /* TestClientMainWindowController.m */, - 070043111144667B000D05B6 /* TestClientXMLParserWindowController.h */, - 070043121144667B000D05B6 /* TestClientXMLParserWindowController.m */, - ); - name = Classes; - sourceTree = ""; - }; - 1058C7A0FEA54F0111CA2CBB /* Linked Frameworks */ = { - isa = PBXGroup; - children = ( - 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */, - 07E6DAA513679B7600454D31 /* XMLRPC.framework */, - ); - name = "Linked Frameworks"; - sourceTree = ""; - }; - 1058C7A2FEA54F0111CA2CBB /* Other Frameworks */ = { - isa = PBXGroup; - children = ( - 29B97324FDCFA39411CA2CEA /* AppKit.framework */, - 13E42FB307B3F0F600E4EEF1 /* CoreData.framework */, - 29B97325FDCFA39411CA2CEA /* Foundation.framework */, - ); - name = "Other Frameworks"; - sourceTree = ""; - }; - 19C28FACFE9D520D11CA2CBB /* Products */ = { - isa = PBXGroup; - children = ( - 8D1107320486CEB800E47090 /* Test Client.app */, - ); - name = Products; - sourceTree = ""; - }; - 29B97314FDCFA39411CA2CEA /* Test Client */ = { - isa = PBXGroup; - children = ( - 080E96DDFE201D6D7F000001 /* Classes */, - 0759A75B11434CC8000DFE98 /* Private Headers */, - 29B97315FDCFA39411CA2CEA /* Other Sources */, - 29B97317FDCFA39411CA2CEA /* Resources */, - 29B97323FDCFA39411CA2CEA /* Frameworks */, - 19C28FACFE9D520D11CA2CBB /* Products */, - ); - name = "Test Client"; - sourceTree = ""; - }; - 29B97315FDCFA39411CA2CEA /* Other Sources */ = { - isa = PBXGroup; - children = ( - 29B97316FDCFA39411CA2CEA /* main.m */, - 32CA4F630368D1EE00C91783 /* TestClient.pch */, - ); - name = "Other Sources"; - sourceTree = ""; - }; - 29B97317FDCFA39411CA2CEA /* Resources */ = { - isa = PBXGroup; - children = ( - 2DC70E201004D85400BBEEA6 /* Configurations */, - 2DC70E211004D85C00BBEEA6 /* Interface Builder */, - 2DC70E221004D86F00BBEEA6 /* Localized Strings */, - 2DC70E231004D87A00BBEEA6 /* Property Lists */, - ); - name = Resources; - sourceTree = ""; - }; - 29B97323FDCFA39411CA2CEA /* Frameworks */ = { - isa = PBXGroup; - children = ( - 1058C7A0FEA54F0111CA2CBB /* Linked Frameworks */, - 1058C7A2FEA54F0111CA2CBB /* Other Frameworks */, - ); - name = Frameworks; - sourceTree = ""; - }; - 2DC70E201004D85400BBEEA6 /* Configurations */ = { - isa = PBXGroup; - children = ( - 2DC70E321004D90F00BBEEA6 /* Common.xcconfig */, - 2DC70E331004D90F00BBEEA6 /* CommonDevelopment.xcconfig */, - 2DC70E341004D90F00BBEEA6 /* CommonRelease.xcconfig */, - 2DC70E351004D90F00BBEEA6 /* TestClientDevelopment.xcconfig */, - 2DC70E361004D90F00BBEEA6 /* TestClientRelease.xcconfig */, - 2DC70E371004D90F00BBEEA6 /* TestClient.xcconfig */, - ); - name = Configurations; - sourceTree = ""; - }; - 2DC70E211004D85C00BBEEA6 /* Interface Builder */ = { - isa = PBXGroup; - children = ( - 070043001144653D000D05B6 /* TestClient.xib */, - 0700430A11446593000D05B6 /* TestClientMainWindow.xib */, - 070043031144656D000D05B6 /* TestClientXMLParserWindow.xib */, - ); - name = "Interface Builder"; - sourceTree = ""; - }; - 2DC70E221004D86F00BBEEA6 /* Localized Strings */ = { - isa = PBXGroup; - children = ( - 2DC70E2F1004D90100BBEEA6 /* InfoPlist.strings */, - ); - name = "Localized Strings"; - sourceTree = ""; - }; - 2DC70E231004D87A00BBEEA6 /* Property Lists */ = { - isa = PBXGroup; - children = ( - 8D1107310486CEB800E47090 /* TestClient-Info.plist */, - ); - name = "Property Lists"; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - 8D1107260486CEB800E47090 /* Test Client */ = { - isa = PBXNativeTarget; - buildConfigurationList = C01FCF4A08A954540054247B /* Build configuration list for PBXNativeTarget "Test Client" */; - buildPhases = ( - 8D1107290486CEB800E47090 /* Resources */, - 07E6DAB113679F1400454D31 /* Copy Frameworks */, - 8D11072C0486CEB800E47090 /* Sources */, - 8D11072E0486CEB800E47090 /* Frameworks */, - 0759A72C11434B8D000DFE98 /* Run Script: Include Git commit hash */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = "Test Client"; - productInstallPath = "$(HOME)/Applications"; - productName = "XMLRPC Client"; - productReference = 8D1107320486CEB800E47090 /* Test Client.app */; - productType = "com.apple.product-type.application"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 29B97313FDCFA39411CA2CEA /* Project object */ = { - isa = PBXProject; - buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "Test Client" */; - compatibilityVersion = "Xcode 3.1"; - developmentRegion = English; - hasScannedForEncodings = 1; - knownRegions = ( - en, - ); - mainGroup = 29B97314FDCFA39411CA2CEA /* Test Client */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 8D1107260486CEB800E47090 /* Test Client */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - 8D1107290486CEB800E47090 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 2DC70E381004D90F00BBEEA6 /* Common.xcconfig in Resources */, - 2DC70E391004D90F00BBEEA6 /* CommonDevelopment.xcconfig in Resources */, - 2DC70E3A1004D90F00BBEEA6 /* CommonRelease.xcconfig in Resources */, - 2DC70E311004D90100BBEEA6 /* InfoPlist.strings in Resources */, - 2DC70E3D1004D90F00BBEEA6 /* TestClient.xcconfig in Resources */, - 070043021144653D000D05B6 /* TestClient.xib in Resources */, - 2DC70E3B1004D90F00BBEEA6 /* TestClientDevelopment.xcconfig in Resources */, - 0700430C11446593000D05B6 /* TestClientMainWindow.xib in Resources */, - 2DC70E3C1004D90F00BBEEA6 /* TestClientRelease.xcconfig in Resources */, - 070043051144656D000D05B6 /* TestClientXMLParserWindow.xib in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXShellScriptBuildPhase section */ - 0759A72C11434B8D000DFE98 /* Run Script: Include Git commit hash */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "Run Script: Include Git commit hash"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /usr/bin/ruby; - shellScript = "raise \"Must be executed from within Xcode.\" unless ENV['XCODE_VERSION_ACTUAL']\n\ninfo_plist = \"#{ENV['BUILT_PRODUCTS_DIR']}/#{ENV['WRAPPER_NAME']}/Contents/Info.plist\"\n\nif !File.exist?('/usr/local/bin/git')\n exit\nend\n\ncommit = `/usr/local/bin/git rev-parse --short HEAD`.chomp!\n\nif commit.nil? or commit.empty?\n exit\nend\n\nlines = IO.readlines(info_plist).join\n\nlines.gsub! /(CFBundleShortVersionString<\\/key>\\n\\t)(\\d+\\.\\d+(?:\\.\\d)*[a-z])<\\/string>/, \"\\\\1\\\\2 rev. #{commit}\"\n\nFile.open(info_plist, 'w') { |f| f.puts lines }"; - }; -/* End PBXShellScriptBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 8D11072C0486CEB800E47090 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 8D11072D0486CEB800E47090 /* main.m in Sources */, - 070043131144667B000D05B6 /* TestClientApplicationController.m in Sources */, - 070043141144667B000D05B6 /* TestClientMainWindowController.m in Sources */, - 070043151144667B000D05B6 /* TestClientXMLParserWindowController.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXVariantGroup section */ - 070043001144653D000D05B6 /* TestClient.xib */ = { - isa = PBXVariantGroup; - children = ( - 070043011144653D000D05B6 /* English */, - ); - name = TestClient.xib; - sourceTree = ""; - }; - 070043031144656D000D05B6 /* TestClientXMLParserWindow.xib */ = { - isa = PBXVariantGroup; - children = ( - 070043041144656D000D05B6 /* English */, - ); - name = TestClientXMLParserWindow.xib; - sourceTree = ""; - }; - 0700430A11446593000D05B6 /* TestClientMainWindow.xib */ = { - isa = PBXVariantGroup; - children = ( - 0700430B11446593000D05B6 /* English */, - ); - name = TestClientMainWindow.xib; - sourceTree = ""; - }; - 2DC70E2F1004D90100BBEEA6 /* InfoPlist.strings */ = { - isa = PBXVariantGroup; - children = ( - 2DC70E301004D90100BBEEA6 /* English */, - ); - name = InfoPlist.strings; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - C01FCF4B08A954540054247B /* Development */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 2DC70E351004D90F00BBEEA6 /* TestClientDevelopment.xcconfig */; - buildSettings = { - INFOPLIST_FILE = "TestClient-Info.plist"; - }; - name = Development; - }; - C01FCF4C08A954540054247B /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 2DC70E361004D90F00BBEEA6 /* TestClientRelease.xcconfig */; - buildSettings = { - INFOPLIST_FILE = "TestClient-Info.plist"; - }; - name = Release; - }; - C01FCF4F08A954540054247B /* Development */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 2DC70E331004D90F00BBEEA6 /* CommonDevelopment.xcconfig */; - buildSettings = { - }; - name = Development; - }; - C01FCF5008A954540054247B /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 2DC70E341004D90F00BBEEA6 /* CommonRelease.xcconfig */; - buildSettings = { - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - C01FCF4A08A954540054247B /* Build configuration list for PBXNativeTarget "Test Client" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - C01FCF4B08A954540054247B /* Development */, - C01FCF4C08A954540054247B /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - C01FCF4E08A954540054247B /* Build configuration list for PBXProject "Test Client" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - C01FCF4F08A954540054247B /* Development */, - C01FCF5008A954540054247B /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = 29B97313FDCFA39411CA2CEA /* Project object */; -} diff --git a/Classes/Utils/XMLRPC/Tools/Test Client/TestClient-Info.plist b/Classes/Utils/XMLRPC/Tools/Test Client/TestClient-Info.plist deleted file mode 100755 index 99b1457be..000000000 --- a/Classes/Utils/XMLRPC/Tools/Test Client/TestClient-Info.plist +++ /dev/null @@ -1,30 +0,0 @@ - - - - - CFBundleDevelopmentRegion - English - CFBundleExecutable - Test Client - CFBundleIconFile - - CFBundleIdentifier - com.divisiblebyzero.Test Client - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - Test Client - CFBundlePackageType - APPL - CFBundleSignature - ZERO - CFBundleVersion - 100.0 - CFBundleShortVersionString - 1.0.0d - NSMainNibFile - TestClient - NSPrincipalClass - NSApplication - - diff --git a/Classes/Utils/XMLRPC/Tools/Test Client/TestClient.pch b/Classes/Utils/XMLRPC/Tools/Test Client/TestClient.pch deleted file mode 100755 index 564186ff6..000000000 --- a/Classes/Utils/XMLRPC/Tools/Test Client/TestClient.pch +++ /dev/null @@ -1,4 +0,0 @@ -#ifdef __OBJC__ - #import - #import -#endif diff --git a/Classes/Utils/XMLRPC/Tools/Test Client/TestClientApplicationController.h b/Classes/Utils/XMLRPC/Tools/Test Client/TestClientApplicationController.h deleted file mode 100755 index 000d43cd6..000000000 --- a/Classes/Utils/XMLRPC/Tools/Test Client/TestClientApplicationController.h +++ /dev/null @@ -1,11 +0,0 @@ -#import - -@interface TestClientApplicationController : NSObject { - -} - -- (void)toggleTestClientWindow: (id)sender; - -- (void)toggleXMLParserWindow: (id)sender; - -@end diff --git a/Classes/Utils/XMLRPC/Tools/Test Client/TestClientApplicationController.m b/Classes/Utils/XMLRPC/Tools/Test Client/TestClientApplicationController.m deleted file mode 100755 index cadfe8ba8..000000000 --- a/Classes/Utils/XMLRPC/Tools/Test Client/TestClientApplicationController.m +++ /dev/null @@ -1,21 +0,0 @@ -#import "TestClientApplicationController.h" -#import "TestClientMainWindowController.h" -#import "TestClientXMLParserWindowController.h" - -@implementation TestClientApplicationController - -- (void)applicationDidFinishLaunching: (NSNotification *)notification { - [self toggleTestClientWindow: self]; -} - -#pragma mark - - -- (void)toggleTestClientWindow: (id)sender { - [[TestClientMainWindowController sharedController] toggleTestClientWindow: self]; -} - -- (void)toggleXMLParserWindow: (id)sender { - [[TestClientXMLParserWindowController sharedController] toggleXMLParserWindow: self]; -} - -@end diff --git a/Classes/Utils/XMLRPC/Tools/Test Client/TestClientMainWindowController.h b/Classes/Utils/XMLRPC/Tools/Test Client/TestClientMainWindowController.h deleted file mode 100755 index 0f2374bda..000000000 --- a/Classes/Utils/XMLRPC/Tools/Test Client/TestClientMainWindowController.h +++ /dev/null @@ -1,48 +0,0 @@ -#import - -@interface TestClientMainWindowController : NSWindowController { - XMLRPCResponse *myResponse; - IBOutlet NSTextField *myRequestURL; - IBOutlet NSTextField *myMethod; - IBOutlet NSTextField *myParameter; - IBOutlet NSProgressIndicator *myProgressIndicator; - IBOutlet NSTextField *myActiveConnection; - IBOutlet NSButton *mySendRequest; - IBOutlet NSTextView *myRequestBody; - IBOutlet NSTextView *myResponseBody; - IBOutlet NSOutlineView *myParsedResponse; -} - -+ (TestClientMainWindowController *)sharedController; - -#pragma mark - - -- (void)showTestClientWindow: (id)sender; - -- (void)hideTestClientWindow: (id)sender; - -#pragma mark - - -- (void)toggleTestClientWindow: (id)sender; - -#pragma mark - - -- (void)sendRequest: (id)sender; - -@end - -#pragma mark - - -@interface TestClientMainWindowController (XMLRPCConnectionDelegate) - -- (void)request: (XMLRPCRequest *)request didReceiveResponse: (XMLRPCResponse *)response; - -- (void)request: (XMLRPCRequest *)request didFailWithError: (NSError *)error; - -- (void)request: (XMLRPCRequest *)request didReceiveAuthenticationChallenge: (NSURLAuthenticationChallenge *)challenge; - -- (void)request: (XMLRPCRequest *)request didCancelAuthenticationChallenge: (NSURLAuthenticationChallenge *)challenge; - -- (BOOL)request: (XMLRPCRequest *)request canAuthenticateAgainstProtectionSpace: (NSURLProtectionSpace *)protectionSpace; - -@end diff --git a/Classes/Utils/XMLRPC/Tools/Test Client/TestClientMainWindowController.m b/Classes/Utils/XMLRPC/Tools/Test Client/TestClientMainWindowController.m deleted file mode 100755 index c4cefa125..000000000 --- a/Classes/Utils/XMLRPC/Tools/Test Client/TestClientMainWindowController.m +++ /dev/null @@ -1,241 +0,0 @@ -#import "TestClientMainWindowController.h" - -@implementation TestClientMainWindowController - -static TestClientMainWindowController *sharedInstance = nil; - -- (id)init { - if ((self = [super initWithWindowNibName: @"TestClientMainWindow"])) { - myResponse = nil; - } - - return self; -} - -#pragma mark - - -+ (id)allocWithZone: (NSZone *)zone { - @synchronized(self) { - if (!sharedInstance) { - sharedInstance = [super allocWithZone: zone]; - - return sharedInstance; - } - } - - return nil; -} - -#pragma mark - - -+ (TestClientMainWindowController *)sharedController { - @synchronized(self) { - if (!sharedInstance) { - [[self alloc] init]; - } - } - - return sharedInstance; -} - -#pragma mark - - -- (void)awakeFromNib { - [[self window] center]; -} - -#pragma mark - - -- (void)showTestClientWindow: (id)sender { - [self showWindow: sender]; -} - -- (void)hideTestClientWindow: (id)sender { - [self close]; -} - -#pragma mark - - -- (void)toggleTestClientWindow: (id)sender { - if ([[self window] isKeyWindow]) { - [self hideTestClientWindow: sender]; - } else { - [self showTestClientWindow: sender]; - } -} - -#pragma mark - - -- (void)sendRequest: (id)sender { - NSURL *URL = [NSURL URLWithString: [myRequestURL stringValue]]; - XMLRPCRequest *request = [[[XMLRPCRequest alloc] initWithURL: URL] autorelease]; - NSString *connectionIdentifier; - - [request setMethod: [myMethod stringValue] withParameter: [myParameter stringValue]]; - - [myProgressIndicator startAnimation: self]; - - [myRequestBody setString: [request body]]; - - connectionIdentifier = [[XMLRPCConnectionManager sharedManager] spawnConnectionWithXMLRPCRequest: request delegate: self]; - - [myActiveConnection setHidden: NO]; - - [myActiveConnection setStringValue: [NSString stringWithFormat: @"Active Connection: %@", connectionIdentifier]]; - - [mySendRequest setEnabled: NO]; -} - -#pragma mark - - -- (void)dealloc { - [myResponse release]; - - [super dealloc]; -} - -#pragma mark - - -#pragma mark Outline View Data Source Methods - -#pragma mark - - -- (id)outlineView: (NSOutlineView *)outlineView child: (NSInteger)index ofItem: (id)item { - if (item == nil) { - item = [myResponse object]; - } - - if ([item isKindOfClass: [NSDictionary class]]) { - return [item objectForKey: [[item allKeys] objectAtIndex: index]]; - } else if ([item isKindOfClass: [NSArray class]]) { - return [item objectAtIndex: index]; - } - - return item; -} - -- (BOOL)outlineView: (NSOutlineView *)outlineView isItemExpandable: (id)item { - if ([item isKindOfClass: [NSDictionary class]] || [item isKindOfClass: [NSArray class]]) { - if ([item count] > 0) { - return YES; - } - } - - return NO; -} - -- (NSInteger)outlineView: (NSOutlineView *)outlineView numberOfChildrenOfItem: (id)item { - if (item == nil) { - item = [myResponse object]; - } - - if ([item isKindOfClass: [NSDictionary class]] || [item isKindOfClass: [NSArray class]]) { - return [item count]; - } else if (item != nil) { - return 1; - } - - return 0; -} - -- (id)outlineView: (NSOutlineView *)outlineView objectValueForTableColumn: (NSTableColumn *)tableColumn byItem: (id)item { - NSString *columnIdentifier = (NSString *)[tableColumn identifier]; - - if ([columnIdentifier isEqualToString: @"type"]) { - id parentObject = [outlineView parentForItem: item] ? [outlineView parentForItem: item] : [myResponse object]; - - if ([parentObject isKindOfClass: [NSDictionary class]]) { - return [[parentObject allKeysForObject: item] objectAtIndex: 0]; - } else if ([parentObject isKindOfClass: [NSArray class]]) { - return [NSString stringWithFormat: @"Item %d", [parentObject indexOfObject: item]]; - } else if ([item isKindOfClass: [NSString class]]) { - return @"String"; - } else { - return @"Object"; - } - } else { - if ([item isKindOfClass: [NSDictionary class]] || [item isKindOfClass: [NSArray class]]) { - return [NSString stringWithFormat: @"%d items", [item count]]; - } else { - return item; - } - } - - return nil; -} - -#pragma mark - - -#pragma mark XMLRPC Connection Delegate Methods - -#pragma mark - - -- (void)request: (XMLRPCRequest *)request didReceiveResponse: (XMLRPCResponse *)response { - [myProgressIndicator stopAnimation: self]; - - [myActiveConnection setHidden: YES]; - - [mySendRequest setEnabled: YES]; - - if ([response isFault]) { - NSAlert *alert = [[[NSAlert alloc] init] autorelease]; - - [alert addButtonWithTitle: @"OK"]; - [alert setMessageText: @"The XML-RPC response returned a fault."]; - [alert setInformativeText: [NSString stringWithFormat: @"Fault String: %@", [response faultString]]]; - [alert setAlertStyle: NSCriticalAlertStyle]; - - [alert runModal]; - } else { - [response retain]; - - [myResponse release]; - - myResponse = response; - } - - [myParsedResponse reloadData]; - - [myResponseBody setString: [response body]]; -} - -- (void)request: (XMLRPCRequest *)request didFailWithError: (NSError *)error { - NSAlert *alert = [[[NSAlert alloc] init] autorelease]; - - [[NSApplication sharedApplication] requestUserAttention: NSCriticalRequest]; - - [alert addButtonWithTitle: @"OK"]; - [alert setMessageText: @"The request failed!"]; - [alert setInformativeText: @"The request failed to return a valid response."]; - [alert setAlertStyle: NSCriticalAlertStyle]; - - [alert runModal]; - - [myParsedResponse reloadData]; - - [myProgressIndicator stopAnimation: self]; - - [myActiveConnection setHidden: YES]; - - [mySendRequest setEnabled: YES]; -} - -- (void)request: (XMLRPCRequest *)request didReceiveAuthenticationChallenge: (NSURLAuthenticationChallenge *)challenge { - if ([challenge previousFailureCount] == 0) { - NSURLCredential *credential = [NSURLCredential credentialWithUser: @"user" password: @"password" persistence: NSURLCredentialPersistenceNone]; - - [[challenge sender] useCredential: credential forAuthenticationChallenge: challenge]; - } else { - [[challenge sender] cancelAuthenticationChallenge: challenge]; - } -} - -- (void)request: (XMLRPCRequest *)request didCancelAuthenticationChallenge: (NSURLAuthenticationChallenge *)challenge { - -} - -- (BOOL)request: (XMLRPCRequest *)request canAuthenticateAgainstProtectionSpace: (NSURLProtectionSpace *)protectionSpace { - return NO; -} - -@end diff --git a/Classes/Utils/XMLRPC/Tools/Test Client/TestClientXMLParserWindowController.h b/Classes/Utils/XMLRPC/Tools/Test Client/TestClientXMLParserWindowController.h deleted file mode 100755 index 516d23365..000000000 --- a/Classes/Utils/XMLRPC/Tools/Test Client/TestClientXMLParserWindowController.h +++ /dev/null @@ -1,25 +0,0 @@ -#import - -@interface TestClientXMLParserWindowController : NSWindowController { - id myParsedObject; - IBOutlet NSTextView *myXML; - IBOutlet NSOutlineView *myParserResult; -} - -+ (TestClientXMLParserWindowController *)sharedController; - -#pragma mark - - -- (void)showXMLParserWindow: (id)sender; - -- (void)hideXMLParserWindow: (id)sender; - -#pragma mark - - -- (void)toggleXMLParserWindow: (id)sender; - -#pragma mark - - -- (void)parse: (id)sender; - -@end diff --git a/Classes/Utils/XMLRPC/Tools/Test Client/TestClientXMLParserWindowController.m b/Classes/Utils/XMLRPC/Tools/Test Client/TestClientXMLParserWindowController.m deleted file mode 100755 index 82a59aca1..000000000 --- a/Classes/Utils/XMLRPC/Tools/Test Client/TestClientXMLParserWindowController.m +++ /dev/null @@ -1,215 +0,0 @@ -#import "TestClientXMLParserWindowController.h" -#import "XMLRPCEventBasedParser.h" - -@interface TestClientXMLParserWindowController (TestClientXMLParserWindowControllerPrivate) - -- (NSString *)typeForItem: (id)item; - -@end - -#pragma mark - - -@implementation TestClientXMLParserWindowController - -static TestClientXMLParserWindowController *sharedInstance = nil; - -- (id)init { - if (self = [super initWithWindowNibName: @"TestClientXMLParserWindow"]) { - myParsedObject = nil; - } - - return self; -} - -#pragma mark - - -+ (id)allocWithZone: (NSZone *)zone { - @synchronized(self) { - if (!sharedInstance) { - sharedInstance = [super allocWithZone: zone]; - - return sharedInstance; - } - } - - return nil; -} - -#pragma mark - - -+ (TestClientXMLParserWindowController *)sharedController { - @synchronized(self) { - if (!sharedInstance) { - [[self alloc] init]; - } - } - - return sharedInstance; -} - -#pragma mark - - -- (void)awakeFromNib { - [[self window] center]; -} - -#pragma mark - - -- (void)showXMLParserWindow: (id)sender { - [self showWindow: sender]; -} - -- (void)hideXMLParserWindow: (id)sender { - [self close]; -} - -#pragma mark - - -- (void)toggleXMLParserWindow: (id)sender { - if ([[self window] isKeyWindow]) { - [self hideXMLParserWindow: sender]; - } else { - [self showXMLParserWindow: sender]; - } -} - -#pragma mark - - -- (void)parse: (id)sender { - NSData *data = [[myXML string] dataUsingEncoding: NSUTF8StringEncoding]; - XMLRPCEventBasedParser *parser = (XMLRPCEventBasedParser *)[[XMLRPCEventBasedParser alloc] initWithData: data]; - - if (!parser) { - NSAlert *alert = [[[NSAlert alloc] init] autorelease]; - - [alert addButtonWithTitle: @"OK"]; - [alert setMessageText: @"The parser encountered an error."]; - [alert setInformativeText: @"There was a problem creating the XML parser."]; - [alert setAlertStyle: NSCriticalAlertStyle]; - - [alert runModal]; - - return; - } - - [myParsedObject release]; - - myParsedObject = [[parser parse] retain]; - - NSError *parserError = [[[parser parserError] retain] autorelease]; - - [parser release]; - - if (!myParsedObject) { - NSAlert *alert = [[[NSAlert alloc] init] autorelease]; - - [alert addButtonWithTitle: @"OK"]; - [alert setMessageText: @"The parser encountered an error."]; - [alert setInformativeText: [parserError localizedDescription]]; - [alert setAlertStyle: NSCriticalAlertStyle]; - - [alert runModal]; - - return; - } - - [myParserResult reloadData]; -} - -#pragma mark - - -#pragma mark Outline View Data Source Methods - -#pragma mark - - -- (id)outlineView: (NSOutlineView *)outlineView child: (NSInteger)index ofItem: (id)item { - if (item == nil) { - item = myParsedObject; - } - - if ([item isKindOfClass: [NSDictionary class]]) { - return [item objectForKey: [[item allKeys] objectAtIndex: index]]; - } else if ([item isKindOfClass: [NSArray class]]) { - return [item objectAtIndex: index]; - } - - return item; -} - -- (BOOL)outlineView: (NSOutlineView *)outlineView isItemExpandable: (id)item { - if ([item isKindOfClass: [NSDictionary class]] || [item isKindOfClass: [NSArray class]]) { - if ([item count] > 0) { - return YES; - } - } - - return NO; -} - -- (NSInteger)outlineView: (NSOutlineView *)outlineView numberOfChildrenOfItem: (id)item { - if (item == nil) { - item = myParsedObject; - } - - if ([item isKindOfClass: [NSDictionary class]] || [item isKindOfClass: [NSArray class]]) { - return [item count]; - } else if (item != nil) { - return 1; - } - - return 0; -} - -- (id)outlineView: (NSOutlineView *)outlineView objectValueForTableColumn: (NSTableColumn *)tableColumn byItem: (id)item { - NSString *columnIdentifier = (NSString *)[tableColumn identifier]; - - if ([columnIdentifier isEqualToString: @"type"]) { - id parentObject = [outlineView parentForItem: item] ? [outlineView parentForItem: item] : myParsedObject; - - if ([parentObject isKindOfClass: [NSDictionary class]]) { - return [NSString stringWithFormat: @"\"%@\", %@", [[parentObject allKeysForObject: item] objectAtIndex: 0], [self typeForItem: item]]; - } else if ([parentObject isKindOfClass: [NSArray class]]) { - return [NSString stringWithFormat: @"Item %d, %@", [parentObject indexOfObject: item], [self typeForItem: item]]; - } else { - return [self typeForItem: item]; - } - } else { - if ([item isKindOfClass: [NSDictionary class]] || [item isKindOfClass: [NSArray class]]) { - return [NSString stringWithFormat: @"%d items", [item count]]; - } else { - return [NSString stringWithFormat: @"\"%@\"", item]; - } - } - - return nil; -} - -@end - -#pragma mark - - -@implementation TestClientXMLParserWindowController (TestClientXMLParserWindowControllerPrivate) - -- (NSString *)typeForItem: (id)item { - NSString *type; - - if ([item isKindOfClass: [NSArray class]]) { - type = @"Array"; - } else if ([item isKindOfClass: [NSDictionary class]]) { - type = @"Dictionary"; - } else if ([item isKindOfClass: [NSString class]]) { - type = @"String"; - } else if ([item isKindOfClass: [NSNumber class]]) { - type = @"Number"; - } else if ([item isKindOfClass: [NSDate class]]) { - type = @"Date"; - } else if ([item isKindOfClass: [NSData class]]) { - type = @"Data"; - } else { - type = @"Object"; - } - - return type; -} - -@end diff --git a/Classes/Utils/XMLRPC/Tools/Test Client/main.m b/Classes/Utils/XMLRPC/Tools/Test Client/main.m deleted file mode 100755 index 632c47ed0..000000000 --- a/Classes/Utils/XMLRPC/Tools/Test Client/main.m +++ /dev/null @@ -1,5 +0,0 @@ -#import - -int main(int argc, char *argv[]) { - return NSApplicationMain(argc, (const char **)argv); -} diff --git a/Classes/Utils/XMLRPC/Tools/Test Server/README.md b/Classes/Utils/XMLRPC/Tools/Test Server/README.md deleted file mode 100755 index b8c84b0ed..000000000 --- a/Classes/Utils/XMLRPC/Tools/Test Server/README.md +++ /dev/null @@ -1,51 +0,0 @@ -# The XML-RPC Test Server - -The XML-RPC test server is written in Java and utilizes the Apache XML-RPC server library. This test server can be useful when debugging problems with the XML-RPC framework. - -# Usage - -To start the server simply call Ant from the XML-RPC test server directory: - - $ ant - -This will invoke Ant with the default target. The default target will issue the following targets in the following order, the last target is the default invoked by Ant: - - - init - - compile - - pre-jar - - jar - - run - -These targets each play a role in building and running the Java project. The details of each target can be found in the Ant build script. - -Finally, the XML-RPC test server should now be running. To start the server simply click on the "Start" button. This will start the test server on port 8080, available for any incoming XML-RPC requests. - -## Creating XML-RPC server handlers - -The XML-RPC test server exposes XML-RPC methods through server handlers. Each server handler is simply a Java class that is registered with the Apache XML-RPC library. Here is an example of the Echo handler provided in the distribution: - - public class Echo { - public String echo(String message) { - return message; - } - } - -This handler simply takes a message provided in the XML-RPC request and returns it in the XML-RPC response. To register this handler with the XML-RPC server simply add it to the propertyHandlerMapping in Server.java: - - try { - propertyHandlerMapping.addHandler("Echo", Echo.class); - - this.embeddedXmlRpcServer.setHandlerMapping(propertyHandlerMapping); - } catch (Exception e) { - this.controlPanel.addLogMessage(e.getMessage()); - } - -The handler is now available to any incoming XML-RPC requests. - -# License - -Copyright (c) 2012 Eric Czarny. - -The Cocoa XML-RPC Framework should be accompanied by a LICENSE file, this file contains the license relevant to this distribution. - -If no LICENSE exists please contact Eric Czarny . diff --git a/Classes/Utils/XMLRPC/Tools/Test Server/build.properties b/Classes/Utils/XMLRPC/Tools/Test Server/build.properties deleted file mode 100755 index d87bc741d..000000000 --- a/Classes/Utils/XMLRPC/Tools/Test Server/build.properties +++ /dev/null @@ -1,17 +0,0 @@ -project.name = test-server -project.main = com.divisiblebyzero.xmlrpc.Application -project.base.directory = . -project.source.directory = ${project.base.directory}/src -project.libraries = commons-logging-1.1.1.jar log4j-1.2.15.jar ws-commons-util-1.0.2.jar xmlrpc-common-3.1.jar xmlrpc-server-3.1.jar - -build.directory = ${project.base.directory} -build.classes.directory = ${build.directory}/classes - -distribution.directory = ${project.base.directory}/lib -distribution.jar = ${distribution.directory}/${project.name}.jar - -resources.directory = ${project.base.directory}/resources - -jar.compress = true - -compiler.debug = true diff --git a/Classes/Utils/XMLRPC/Tools/Test Server/build.xml b/Classes/Utils/XMLRPC/Tools/Test Server/build.xml deleted file mode 100755 index 494c7a583..000000000 --- a/Classes/Utils/XMLRPC/Tools/Test Server/build.xml +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Stub for project installation. - - - - - - - diff --git a/Classes/Utils/XMLRPC/Tools/Test Server/lib/commons-logging-1.1.1.jar b/Classes/Utils/XMLRPC/Tools/Test Server/lib/commons-logging-1.1.1.jar deleted file mode 100755 index 8758a96b7..000000000 Binary files a/Classes/Utils/XMLRPC/Tools/Test Server/lib/commons-logging-1.1.1.jar and /dev/null differ diff --git a/Classes/Utils/XMLRPC/Tools/Test Server/lib/log4j-1.2.15.jar b/Classes/Utils/XMLRPC/Tools/Test Server/lib/log4j-1.2.15.jar deleted file mode 100755 index c930a6ab4..000000000 Binary files a/Classes/Utils/XMLRPC/Tools/Test Server/lib/log4j-1.2.15.jar and /dev/null differ diff --git a/Classes/Utils/XMLRPC/Tools/Test Server/lib/ws-commons-util-1.0.2.jar b/Classes/Utils/XMLRPC/Tools/Test Server/lib/ws-commons-util-1.0.2.jar deleted file mode 100755 index 3fc364e7f..000000000 Binary files a/Classes/Utils/XMLRPC/Tools/Test Server/lib/ws-commons-util-1.0.2.jar and /dev/null differ diff --git a/Classes/Utils/XMLRPC/Tools/Test Server/lib/xmlrpc-common-3.1.jar b/Classes/Utils/XMLRPC/Tools/Test Server/lib/xmlrpc-common-3.1.jar deleted file mode 100755 index 862098b10..000000000 Binary files a/Classes/Utils/XMLRPC/Tools/Test Server/lib/xmlrpc-common-3.1.jar and /dev/null differ diff --git a/Classes/Utils/XMLRPC/Tools/Test Server/lib/xmlrpc-server-3.1.jar b/Classes/Utils/XMLRPC/Tools/Test Server/lib/xmlrpc-server-3.1.jar deleted file mode 100755 index bb64a504e..000000000 Binary files a/Classes/Utils/XMLRPC/Tools/Test Server/lib/xmlrpc-server-3.1.jar and /dev/null differ diff --git a/Classes/Utils/XMLRPC/Tools/Test Server/resources/handlers.properties b/Classes/Utils/XMLRPC/Tools/Test Server/resources/handlers.properties deleted file mode 100755 index 0f32a8e80..000000000 --- a/Classes/Utils/XMLRPC/Tools/Test Server/resources/handlers.properties +++ /dev/null @@ -1,5 +0,0 @@ -# -# XML-RPC Server Handlers -# - -Echo=com.divisiblebyzero.xmlrpc.model.handlers.Echo diff --git a/Classes/Utils/XMLRPC/Tools/Test Server/resources/log4j.xml b/Classes/Utils/XMLRPC/Tools/Test Server/resources/log4j.xml deleted file mode 100755 index f1e19c3d7..000000000 --- a/Classes/Utils/XMLRPC/Tools/Test Server/resources/log4j.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - - - - - diff --git a/Classes/Utils/XMLRPC/Tools/Test Server/server.sh b/Classes/Utils/XMLRPC/Tools/Test Server/server.sh deleted file mode 100755 index d23346a72..000000000 --- a/Classes/Utils/XMLRPC/Tools/Test Server/server.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -java -jar lib/test-server.jar $* diff --git a/Classes/Utils/XMLRPC/Tools/Test Server/src/com/divisiblebyzero/xmlrpc/Application.java b/Classes/Utils/XMLRPC/Tools/Test Server/src/com/divisiblebyzero/xmlrpc/Application.java deleted file mode 100755 index c8ff3dfff..000000000 --- a/Classes/Utils/XMLRPC/Tools/Test Server/src/com/divisiblebyzero/xmlrpc/Application.java +++ /dev/null @@ -1,25 +0,0 @@ -package com.divisiblebyzero.xmlrpc; - -import javax.swing.UIManager; - -import org.apache.log4j.Logger; - -import com.divisiblebyzero.xmlrpc.view.XmlRpcServerControlPanel; - -class Application { - private static Logger logger = Logger.getLogger(Application.class); - - private Application() { - new XmlRpcServerControlPanel(); - } - - public static void main(String args[]) { - try { - UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()); - } catch (Exception e) { - logger.error("Unable to modify application look and feel."); - } - - new Application(); - } -} diff --git a/Classes/Utils/XMLRPC/Tools/Test Server/src/com/divisiblebyzero/xmlrpc/controller/XmlRpcServerControlPanelController.java b/Classes/Utils/XMLRPC/Tools/Test Server/src/com/divisiblebyzero/xmlrpc/controller/XmlRpcServerControlPanelController.java deleted file mode 100755 index 043f718f9..000000000 --- a/Classes/Utils/XMLRPC/Tools/Test Server/src/com/divisiblebyzero/xmlrpc/controller/XmlRpcServerControlPanelController.java +++ /dev/null @@ -1,67 +0,0 @@ -package com.divisiblebyzero.xmlrpc.controller; - -import java.awt.event.ActionEvent; -import java.awt.event.ActionListener; - -import com.divisiblebyzero.xmlrpc.model.Server; -import com.divisiblebyzero.xmlrpc.view.XmlRpcServerControlPanel; - -public class XmlRpcServerControlPanelController implements ActionListener { - private XmlRpcServerControlPanel controlPanel; - private Server xmlRpcServer; - - public XmlRpcServerControlPanelController(XmlRpcServerControlPanel controlPanel) { - this.controlPanel = controlPanel; - this.xmlRpcServer = new Server(this.controlPanel); - } - - public void actionPerformed(ActionEvent actionEvent) { - String actionCommand = actionEvent.getActionCommand(); - - if (actionCommand.equals("Start")) { - this.startXmlRpcServer(); - } else if (actionCommand.equals("Stop")) { - this.stopXmlRpcServer(); - } else if (actionCommand.equals("Restart")) { - this.restartXmlRpcServer(); - } - - this.controlPanel.refreshControls(); - } - - public boolean isXmlRpcServerRunning() { - return this.xmlRpcServer.isRunning(); - } - - private void startXmlRpcServer() { - this.controlPanel.addLogMessage("Starting the XML-RPC server."); - - this.xmlRpcServer.startEmbeddedWebServer(); - } - - private void stopXmlRpcServer() { - if (this.xmlRpcServer == null) { - this.controlPanel.addLogMessage("Unable to stop the XML-RPC server, none could be found."); - - return; - } - - this.controlPanel.addLogMessage("Stopping the XML-RPC server."); - - this.xmlRpcServer.stopEmbeddedWebServer(); - } - - private void restartXmlRpcServer() { - if (this.xmlRpcServer == null) { - this.controlPanel.addLogMessage("Unable to restart the XML-RPC server, none could be found."); - - return; - } - - this.controlPanel.addLogMessage("Restarting the XML-RPC server."); - - this.xmlRpcServer.stopEmbeddedWebServer(); - - this.xmlRpcServer.startEmbeddedWebServer(); - } -} diff --git a/Classes/Utils/XMLRPC/Tools/Test Server/src/com/divisiblebyzero/xmlrpc/model/Server.java b/Classes/Utils/XMLRPC/Tools/Test Server/src/com/divisiblebyzero/xmlrpc/model/Server.java deleted file mode 100755 index 8704bf214..000000000 --- a/Classes/Utils/XMLRPC/Tools/Test Server/src/com/divisiblebyzero/xmlrpc/model/Server.java +++ /dev/null @@ -1,60 +0,0 @@ -package com.divisiblebyzero.xmlrpc.model; - -import com.divisiblebyzero.xmlrpc.view.XmlRpcServerControlPanel; - -import org.apache.xmlrpc.server.PropertyHandlerMapping; -import org.apache.xmlrpc.server.XmlRpcServer; -import org.apache.xmlrpc.webserver.WebServer; - -public class Server { - private static final int port = 8080; - private WebServer embeddedWebServer; - private XmlRpcServer embeddedXmlRpcServer; - private boolean running; - private XmlRpcServerControlPanel controlPanel; - - public Server(XmlRpcServerControlPanel controlPanel) { - this.embeddedWebServer = new WebServer(Server.port); - this.embeddedXmlRpcServer = this.embeddedWebServer.getXmlRpcServer(); - this.running = false; - this.controlPanel = controlPanel; - - PropertyHandlerMapping propertyHandlerMapping = new PropertyHandlerMapping(); - - try { - propertyHandlerMapping.load(Thread.currentThread().getContextClassLoader(), "handlers.properties"); - } catch (Exception e) { - this.controlPanel.addLogMessage(e.getMessage()); - } - - this.embeddedXmlRpcServer.setHandlerMapping(propertyHandlerMapping); - } - - public void startEmbeddedWebServer() { - try { - this.embeddedWebServer.start(); - - this.controlPanel.addLogMessage("The XML-RPC server has been started on port " + Server.port + "."); - } catch (Exception e) { - this.controlPanel.addLogMessage(e.getMessage()); - } - - this.running = true; - } - - public void stopEmbeddedWebServer() { - try { - this.embeddedWebServer.shutdown(); - - this.controlPanel.addLogMessage("The XML-RPC server has been stopped."); - } catch (Exception e) { - this.controlPanel.addLogMessage(e.getMessage()); - } - - this.running = false; - } - - public boolean isRunning() { - return this.running; - } -} diff --git a/Classes/Utils/XMLRPC/Tools/Test Server/src/com/divisiblebyzero/xmlrpc/model/handlers/Echo.java b/Classes/Utils/XMLRPC/Tools/Test Server/src/com/divisiblebyzero/xmlrpc/model/handlers/Echo.java deleted file mode 100755 index 852f6102b..000000000 --- a/Classes/Utils/XMLRPC/Tools/Test Server/src/com/divisiblebyzero/xmlrpc/model/handlers/Echo.java +++ /dev/null @@ -1,7 +0,0 @@ -package com.divisiblebyzero.xmlrpc.model.handlers; - -public class Echo { - public String echo(String message) { - return message; - } -} diff --git a/Classes/Utils/XMLRPC/Tools/Test Server/src/com/divisiblebyzero/xmlrpc/view/XmlRpcServerControlPanel.java b/Classes/Utils/XMLRPC/Tools/Test Server/src/com/divisiblebyzero/xmlrpc/view/XmlRpcServerControlPanel.java deleted file mode 100755 index c40779024..000000000 --- a/Classes/Utils/XMLRPC/Tools/Test Server/src/com/divisiblebyzero/xmlrpc/view/XmlRpcServerControlPanel.java +++ /dev/null @@ -1,155 +0,0 @@ -package com.divisiblebyzero.xmlrpc.view; - -import java.awt.BorderLayout; -import java.awt.Color; -import java.awt.Container; -import java.awt.Dimension; -import java.awt.Font; -import java.awt.Toolkit; - -import javax.swing.BorderFactory; -import javax.swing.JButton; -import javax.swing.JFrame; -import javax.swing.JLabel; -import javax.swing.JPanel; -import javax.swing.JScrollPane; -import javax.swing.JTextPane; - -import com.divisiblebyzero.xmlrpc.controller.XmlRpcServerControlPanelController; - -public class XmlRpcServerControlPanel extends JFrame { - private static final long serialVersionUID = -7835812670356078909L; - private XmlRpcServerControlPanelController xmlRpcServerControlPanelController; - private JTextPane logMessageTextPane; - private JButton startButton; - private JButton stopButton; - private JButton restartButton; - - public XmlRpcServerControlPanel() { - super("Control Panel"); - - this.xmlRpcServerControlPanelController = new XmlRpcServerControlPanelController(this); - - int x = Toolkit.getDefaultToolkit().getScreenSize().width; - int y = Toolkit.getDefaultToolkit().getScreenSize().height; - - int width, height; - - width = 500; - height = 500; - - this.setBounds(((x - (width)) / 2), ((y - (height)) / 2) - (height / 4), width, height); - - this.setResizable(false); - - this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); - - this.initialize(); - - this.setVisible(true); - } - - private void initialize() { - Container container = this.getContentPane(); - - container.setLayout(new BorderLayout()); - - /* North Panel */ - container.add(new JPanel(), BorderLayout.NORTH); - - /* East Panel */ - container.add(new JPanel(), BorderLayout.EAST); - - /* Center Panel */ - JPanel center = new JPanel(); - center.setBorder(BorderFactory.createTitledBorder(" " + "Server Log" + " ")); - - this.logMessageTextPane = new JTextPane(); - - this.logMessageTextPane.setEditable(false); - this.logMessageTextPane.setBackground(Color.WHITE); - this.logMessageTextPane.setFont(new Font("Monospaced", Font.PLAIN, 12)); - - this.logMessageTextPane.setText("Server awaiting action..."); - - JScrollPane scrollableTextPane = new JScrollPane(this.logMessageTextPane); - scrollableTextPane.setBorder(BorderFactory.createLineBorder(Color.GRAY)); - scrollableTextPane.setPreferredSize(new Dimension(435, 374)); - - center.add(scrollableTextPane); - - container.add(center, BorderLayout.CENTER); - - /* South Panel */ - container.add(this.createSouthernPanel(), BorderLayout.SOUTH); - - /* West Panel */ - container.add(new JPanel(), BorderLayout.WEST); - } - - private JPanel createSouthernPanel() { - JPanel south = new JPanel(); - - south.setPreferredSize(new Dimension(425, 47)); - - /* Start & Stop Panel */ - JPanel startAndStopPanel = new JPanel(); - - startButton = new JButton("Start"); - - startButton.setPreferredSize(new Dimension(85, 25)); - startButton.addActionListener(this.xmlRpcServerControlPanelController); - - startAndStopPanel.add(startButton); - - startAndStopPanel.add(new JLabel(" / ")); - - stopButton = new JButton("Stop"); - - stopButton.setPreferredSize(new Dimension(85, 25)); - stopButton.addActionListener(this.xmlRpcServerControlPanelController); - - startAndStopPanel.add(stopButton); - - south.add(startAndStopPanel); - - JPanel padding = new JPanel(); - padding.setPreferredSize(new Dimension(150, 25)); - - south.add(padding); - - /* Restart Panel */ - JPanel restartPanel = new JPanel(); - - restartButton = new JButton("Restart"); - - restartButton.setPreferredSize(new Dimension(95, 25)); - restartButton.addActionListener(this.xmlRpcServerControlPanelController); - - restartPanel.add(restartButton); - - south.add(restartPanel); - - this.refreshControls(); - - return south; - } - - public void addLogMessage(String message) { - String existingLogMessages = this.logMessageTextPane.getText() + "\n"; - - this.logMessageTextPane.setText(existingLogMessages + message); - } - - public void refreshControls() { - if (this.xmlRpcServerControlPanelController.isXmlRpcServerRunning()) { - this.startButton.setEnabled(false); - this.stopButton.setEnabled(true); - this.restartButton.setEnabled(true); - } else { - this.startButton.setEnabled(true); - this.stopButton.setEnabled(false); - this.restartButton.setEnabled(false); - } - } -} diff --git a/Classes/Utils/XMLRPC/Unit Tests/XMLRPCParserTest.h b/Classes/Utils/XMLRPC/Unit Tests/XMLRPCParserTest.h deleted file mode 100755 index 36d87abde..000000000 --- a/Classes/Utils/XMLRPC/Unit Tests/XMLRPCParserTest.h +++ /dev/null @@ -1,9 +0,0 @@ -#import - -@interface XMLRPCParserTest : SenTestCase { - NSDictionary *myTestCases; -} - -- (void)testEventBasedParser; - -@end diff --git a/Classes/Utils/XMLRPC/Unit Tests/XMLRPCParserTest.m b/Classes/Utils/XMLRPC/Unit Tests/XMLRPCParserTest.m deleted file mode 100755 index 45cbb48c8..000000000 --- a/Classes/Utils/XMLRPC/Unit Tests/XMLRPCParserTest.m +++ /dev/null @@ -1,150 +0,0 @@ -#import "XMLRPCParserTest.h" -#import "XMLRPCEventBasedParser.h" - -@interface XMLRPCParserTest (XMLRPCParserTestPrivate) - -- (NSBundle *)unitTestBundle; - -#pragma mark - - -- (NSDictionary *)testCases; - -#pragma mark - - -- (BOOL)parsedResult: (id)parsedResult isEqualToTestCaseResult: (id)testCaseResult; - -#pragma mark - - -- (BOOL)parsedResult: (id)parsedResult isEqualToArray: (NSArray *)array; - -- (BOOL)parsedResult: (id)parsedResult isEqualToDictionary: (NSDictionary *)dictionary; - -@end - -#pragma mark - - -@implementation XMLRPCParserTest - -- (void)setUp { - myTestCases = [[self testCases] retain]; -} - -#pragma mark - - -- (void)testEventBasedParser { - NSEnumerator *testCaseEnumerator = [myTestCases keyEnumerator]; - id testCaseName; - - while (testCaseName = [testCaseEnumerator nextObject]) { - NSString *testCase = [[self unitTestBundle] pathForResource: testCaseName ofType: @"xml"]; - NSData *testCaseData =[[[NSData alloc] initWithContentsOfFile: testCase] autorelease]; - XMLRPCEventBasedParser *parser = [[[XMLRPCEventBasedParser alloc] initWithData: testCaseData] autorelease]; - id testCaseResult = [myTestCases objectForKey: testCaseName]; - id parsedResult = [parser parse]; - - STAssertTrue([self parsedResult: parsedResult isEqualToTestCaseResult: testCaseResult], @"The test case failed: %@", testCaseName); - } -} - -#pragma mark - - -- (void)tearDown { - [myTestCases release]; -} - -@end - -#pragma mark - - -@implementation XMLRPCParserTest (XMLRPCParserTestPrivate) - -- (NSBundle *)unitTestBundle { - return [NSBundle bundleForClass: [XMLRPCParserTest class]]; -} - -#pragma mark - - -- (NSDictionary *)testCases { - NSString *file = [[self unitTestBundle] pathForResource: @"TestCases" ofType: @"plist"]; - NSDictionary *testCases = [[[NSDictionary alloc] initWithContentsOfFile: file] autorelease]; - - return testCases; -} - -#pragma mark - - -- (BOOL)parsedResult: (id)parsedResult isEqualToTestCaseResult: (id)testCaseResult { - if ([testCaseResult isKindOfClass: [NSArray class]]) { - return [self parsedResult: parsedResult isEqualToArray: testCaseResult]; - } else if ([testCaseResult isKindOfClass: [NSDictionary class]]) { - return [self parsedResult: parsedResult isEqualToDictionary: testCaseResult]; - } - - if ([testCaseResult isKindOfClass: [NSNumber class]]) { - return [parsedResult isEqualToNumber: testCaseResult]; - } else if ([testCaseResult isKindOfClass: [NSString class]]) { - return [parsedResult isEqualToString: testCaseResult]; - } else if ([testCaseResult isKindOfClass: [NSDate class]]) { - return [parsedResult isEqualToDate: testCaseResult]; - } else if ([testCaseResult isKindOfClass: [NSData class]]) { - return [parsedResult isEqualToData: testCaseResult]; - } - - return YES; -} - -#pragma mark - - -- (BOOL)parsedResult: (id)parsedResult isEqualToArray: (NSArray *)array { - NSEnumerator *arrayEnumerator = [array objectEnumerator]; - id arrayElement; - - if (![parsedResult isKindOfClass: [NSArray class]]) { - return NO; - } - - if ([parsedResult count] != [array count]) { - return NO; - } - - if ([parsedResult isEqualToArray: array]) { - return YES; - } - - while (arrayElement = [arrayEnumerator nextObject]) { - NSInteger index = [array indexOfObject: arrayElement]; - - if (![self parsedResult: [parsedResult objectAtIndex: index] isEqualToTestCaseResult: arrayElement]) { - return NO; - } - } - - return YES; -} - -- (BOOL)parsedResult: (id)parsedResult isEqualToDictionary: (NSDictionary *)dictionary { - NSEnumerator *keyEnumerator = [dictionary keyEnumerator]; - id key; - - if (![parsedResult isKindOfClass: [NSDictionary class]]) { - return NO; - } - - if ([parsedResult count] != [dictionary count]) { - return NO; - } - - if ([parsedResult isEqualToDictionary: dictionary]) { - return YES; - } - - while (key = [keyEnumerator nextObject]) { - if (![self parsedResult: [parsedResult objectForKey: key] isEqualToTestCaseResult: [dictionary objectForKey: key]]) { - return NO; - } - } - - return YES; -} - -@end diff --git a/Classes/Utils/XMLRPC/XMLRPC.h b/Classes/Utils/XMLRPC/XMLRPC.h deleted file mode 100755 index d5ded9b67..000000000 --- a/Classes/Utils/XMLRPC/XMLRPC.h +++ /dev/null @@ -1,5 +0,0 @@ -#import -#import -#import -#import -#import diff --git a/Classes/Utils/XMLRPC/XMLRPC.pch b/Classes/Utils/XMLRPC/XMLRPC.pch deleted file mode 100755 index 60070a9c9..000000000 --- a/Classes/Utils/XMLRPC/XMLRPC.pch +++ /dev/null @@ -1,3 +0,0 @@ -#ifdef __OBJC__ - #import -#endif diff --git a/Classes/Utils/XMLRPC/XMLRPC.xcodeproj/project.pbxproj b/Classes/Utils/XMLRPC/XMLRPC.xcodeproj/project.pbxproj deleted file mode 100755 index c168ec50a..000000000 --- a/Classes/Utils/XMLRPC/XMLRPC.xcodeproj/project.pbxproj +++ /dev/null @@ -1,506 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXBuildFile section */ - 033836841527905D00EF8E8A /* NSData+Base64.h in Headers */ = {isa = PBXBuildFile; fileRef = 033836811527905D00EF8E8A /* NSData+Base64.h */; settings = {ATTRIBUTES = (); }; }; - 033836861527905D00EF8E8A /* NSData+Base64.m in Sources */ = {isa = PBXBuildFile; fileRef = 033836821527905D00EF8E8A /* NSData+Base64.m */; }; - 2DCADEDB1529E24300B47A4F /* XMLRPCEncoder.h in Headers */ = {isa = PBXBuildFile; fileRef = 2DCADED91529E06900B47A4F /* XMLRPCEncoder.h */; settings = {ATTRIBUTES = (); }; }; - 903B0DC212F7581200BD6E09 /* NSStringAdditions.h in Headers */ = {isa = PBXBuildFile; fileRef = 07B0C5F80E33A659006453B4 /* NSStringAdditions.h */; settings = {ATTRIBUTES = (); }; }; - 903B0DC312F7581200BD6E09 /* NSStringAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = 07B0C5F90E33A659006453B4 /* NSStringAdditions.m */; }; - 903B0DC412F7581200BD6E09 /* XMLRPCConnectionDelegate.h in Headers */ = {isa = PBXBuildFile; fileRef = 07452BE20E469C9000A57686 /* XMLRPCConnectionDelegate.h */; settings = {ATTRIBUTES = (); }; }; - 903B0DC512F7581200BD6E09 /* XMLRPC.h in Headers */ = {isa = PBXBuildFile; fileRef = 07B0C5FA0E33A659006453B4 /* XMLRPC.h */; settings = {ATTRIBUTES = (); }; }; - 903B0DC612F7581200BD6E09 /* XMLRPCConnection.h in Headers */ = {isa = PBXBuildFile; fileRef = 07B0C5FB0E33A659006453B4 /* XMLRPCConnection.h */; settings = {ATTRIBUTES = (); }; }; - 903B0DC712F7581200BD6E09 /* XMLRPCConnection.m in Sources */ = {isa = PBXBuildFile; fileRef = 07B0C5FC0E33A659006453B4 /* XMLRPCConnection.m */; }; - 903B0DC812F7581200BD6E09 /* XMLRPCConnectionManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 075137F90E429E560019E4F6 /* XMLRPCConnectionManager.h */; settings = {ATTRIBUTES = (); }; }; - 903B0DC912F7581200BD6E09 /* XMLRPCConnectionManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 075137FA0E429E560019E4F6 /* XMLRPCConnectionManager.m */; }; - 903B0DCA12F7581200BD6E09 /* XMLRPCDefaultEncoder.h in Headers */ = {isa = PBXBuildFile; fileRef = 07B0C5FF0E33A659006453B4 /* XMLRPCDefaultEncoder.h */; settings = {ATTRIBUTES = (); }; }; - 903B0DCB12F7581200BD6E09 /* XMLRPCDefaultEncoder.m in Sources */ = {isa = PBXBuildFile; fileRef = 07B0C6000E33A659006453B4 /* XMLRPCDefaultEncoder.m */; }; - 903B0DCC12F7581200BD6E09 /* XMLRPCEventBasedParser.h in Headers */ = {isa = PBXBuildFile; fileRef = 07EF45390E721A5D009F2708 /* XMLRPCEventBasedParser.h */; settings = {ATTRIBUTES = (); }; }; - 903B0DCD12F7581200BD6E09 /* XMLRPCEventBasedParser.m in Sources */ = {isa = PBXBuildFile; fileRef = 07EF453A0E721A5D009F2708 /* XMLRPCEventBasedParser.m */; }; - 903B0DCE12F7581200BD6E09 /* XMLRPCEventBasedParserDelegate.h in Headers */ = {isa = PBXBuildFile; fileRef = 0707047610114B9400CB7702 /* XMLRPCEventBasedParserDelegate.h */; settings = {ATTRIBUTES = (); }; }; - 903B0DCF12F7581200BD6E09 /* XMLRPCEventBasedParserDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 0707047710114B9400CB7702 /* XMLRPCEventBasedParserDelegate.m */; }; - 903B0DD012F7581200BD6E09 /* XMLRPCRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = 07B0C6010E33A659006453B4 /* XMLRPCRequest.h */; settings = {ATTRIBUTES = (); }; }; - 903B0DD112F7581200BD6E09 /* XMLRPCRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = 07B0C6020E33A659006453B4 /* XMLRPCRequest.m */; }; - 903B0DD212F7581200BD6E09 /* XMLRPCResponse.h in Headers */ = {isa = PBXBuildFile; fileRef = 07B0C6030E33A659006453B4 /* XMLRPCResponse.h */; settings = {ATTRIBUTES = (); }; }; - 903B0DD312F7581200BD6E09 /* XMLRPCResponse.m in Sources */ = {isa = PBXBuildFile; fileRef = 07B0C6040E33A659006453B4 /* XMLRPCResponse.m */; }; - 903B0DD412F7581F00BD6E09 /* XMLRPC.pch in Headers */ = {isa = PBXBuildFile; fileRef = 07B0C6160E33A672006453B4 /* XMLRPC.pch */; settings = {ATTRIBUTES = (); }; }; -/* End PBXBuildFile section */ - -/* Begin PBXFileReference section */ - 033836811527905D00EF8E8A /* NSData+Base64.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSData+Base64.h"; sourceTree = ""; }; - 033836821527905D00EF8E8A /* NSData+Base64.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSData+Base64.m"; sourceTree = ""; }; - 0707047610114B9400CB7702 /* XMLRPCEventBasedParserDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = XMLRPCEventBasedParserDelegate.h; sourceTree = ""; }; - 0707047710114B9400CB7702 /* XMLRPCEventBasedParserDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = XMLRPCEventBasedParserDelegate.m; sourceTree = ""; }; - 07075BAD10C5FE3800589A27 /* AlternativeDateFormatsTestCase.xml */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; name = AlternativeDateFormatsTestCase.xml; path = "Resources/Test Cases/AlternativeDateFormatsTestCase.xml"; sourceTree = ""; }; - 07127C580F4266F4009C7476 /* Common.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Common.xcconfig; path = Configurations/Common.xcconfig; sourceTree = ""; }; - 07127C590F4266F4009C7476 /* CommonDevelopment.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = CommonDevelopment.xcconfig; path = Configurations/CommonDevelopment.xcconfig; sourceTree = ""; }; - 07127C5A0F4266F4009C7476 /* CommonRelease.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = CommonRelease.xcconfig; path = Configurations/CommonRelease.xcconfig; sourceTree = ""; }; - 07452BE20E469C9000A57686 /* XMLRPCConnectionDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = XMLRPCConnectionDelegate.h; sourceTree = ""; }; - 075137F90E429E560019E4F6 /* XMLRPCConnectionManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = XMLRPCConnectionManager.h; sourceTree = ""; }; - 075137FA0E429E560019E4F6 /* XMLRPCConnectionManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = XMLRPCConnectionManager.m; sourceTree = ""; }; - 0799AF040F6721FF00B71B22 /* XMLRPCUnitTests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = "XMLRPCUnitTests-Info.plist"; path = "Resources/Property Lists/XMLRPCUnitTests-Info.plist"; sourceTree = ""; }; - 0799AF0A0F67227F00B71B22 /* XMLRPCUnitTests.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = XMLRPCUnitTests.xcconfig; path = Configurations/XMLRPCUnitTests.xcconfig; sourceTree = ""; }; - 0799AF0B0F67227F00B71B22 /* XMLRPCUnitTestsDevelopment.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = XMLRPCUnitTestsDevelopment.xcconfig; path = Configurations/XMLRPCUnitTestsDevelopment.xcconfig; sourceTree = ""; }; - 0799AF0C0F67227F00B71B22 /* XMLRPCUnitTestsRelease.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = XMLRPCUnitTestsRelease.xcconfig; path = Configurations/XMLRPCUnitTestsRelease.xcconfig; sourceTree = ""; }; - 0799AF0F0F6722D600B71B22 /* XMLRPC.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = XMLRPC.xcconfig; path = Configurations/XMLRPC.xcconfig; sourceTree = ""; }; - 0799AF100F6722D600B71B22 /* XMLRPCDevelopment.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = XMLRPCDevelopment.xcconfig; path = Configurations/XMLRPCDevelopment.xcconfig; sourceTree = ""; }; - 0799AF110F6722D600B71B22 /* XMLRPCRelease.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = XMLRPCRelease.xcconfig; path = Configurations/XMLRPCRelease.xcconfig; sourceTree = ""; }; - 0799AF280F67254B00B71B22 /* XMLRPC-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = "XMLRPC-Info.plist"; path = "Resources/Property Lists/XMLRPC-Info.plist"; sourceTree = ""; }; - 0799AF5D0F67266400B71B22 /* SenTestingKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SenTestingKit.framework; path = Library/Frameworks/SenTestingKit.framework; sourceTree = DEVELOPER_DIR; }; - 07A0A9021016A51000CEE3C7 /* EmptyBooleanTestCase.xml */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; name = EmptyBooleanTestCase.xml; path = "Resources/Test Cases/EmptyBooleanTestCase.xml"; sourceTree = ""; }; - 07A0A9031016A51000CEE3C7 /* EmptyDataTestCase.xml */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; name = EmptyDataTestCase.xml; path = "Resources/Test Cases/EmptyDataTestCase.xml"; sourceTree = ""; }; - 07A0A9041016A51000CEE3C7 /* EmptyDoubleTestCase.xml */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; name = EmptyDoubleTestCase.xml; path = "Resources/Test Cases/EmptyDoubleTestCase.xml"; sourceTree = ""; }; - 07A0A9051016A51000CEE3C7 /* EmptyIntegerTestCase.xml */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; name = EmptyIntegerTestCase.xml; path = "Resources/Test Cases/EmptyIntegerTestCase.xml"; sourceTree = ""; }; - 07A0A9061016A51000CEE3C7 /* EmptyStringTestCase.xml */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; name = EmptyStringTestCase.xml; path = "Resources/Test Cases/EmptyStringTestCase.xml"; sourceTree = ""; }; - 07B0C5F80E33A659006453B4 /* NSStringAdditions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NSStringAdditions.h; sourceTree = ""; }; - 07B0C5F90E33A659006453B4 /* NSStringAdditions.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = NSStringAdditions.m; sourceTree = ""; }; - 07B0C5FA0E33A659006453B4 /* XMLRPC.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = XMLRPC.h; sourceTree = ""; }; - 07B0C5FB0E33A659006453B4 /* XMLRPCConnection.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = XMLRPCConnection.h; sourceTree = ""; }; - 07B0C5FC0E33A659006453B4 /* XMLRPCConnection.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = XMLRPCConnection.m; sourceTree = ""; }; - 07B0C5FF0E33A659006453B4 /* XMLRPCDefaultEncoder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = XMLRPCDefaultEncoder.h; sourceTree = ""; }; - 07B0C6000E33A659006453B4 /* XMLRPCDefaultEncoder.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = XMLRPCDefaultEncoder.m; sourceTree = ""; }; - 07B0C6010E33A659006453B4 /* XMLRPCRequest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = XMLRPCRequest.h; sourceTree = ""; }; - 07B0C6020E33A659006453B4 /* XMLRPCRequest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = XMLRPCRequest.m; sourceTree = ""; }; - 07B0C6030E33A659006453B4 /* XMLRPCResponse.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = XMLRPCResponse.h; sourceTree = ""; }; - 07B0C6040E33A659006453B4 /* XMLRPCResponse.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = XMLRPCResponse.m; sourceTree = ""; }; - 07B0C6160E33A672006453B4 /* XMLRPC.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = XMLRPC.pch; sourceTree = ""; }; - 07B52BE5101004670015AD8B /* SimpleArrayTestCase.xml */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; name = SimpleArrayTestCase.xml; path = "Resources/Test Cases/SimpleArrayTestCase.xml"; sourceTree = ""; }; - 07B52BE6101004670015AD8B /* SimpleStructTestCase.xml */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; name = SimpleStructTestCase.xml; path = "Resources/Test Cases/SimpleStructTestCase.xml"; sourceTree = ""; }; - 07B52BE9101004810015AD8B /* TestCases.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = TestCases.plist; path = "Resources/Property Lists/TestCases.plist"; sourceTree = ""; }; - 07B52C01101008670015AD8B /* XMLRPCParserTest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = XMLRPCParserTest.h; path = "Unit Tests/XMLRPCParserTest.h"; sourceTree = ""; }; - 07B52C02101008670015AD8B /* XMLRPCParserTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = XMLRPCParserTest.m; path = "Unit Tests/XMLRPCParserTest.m"; sourceTree = ""; }; - 07BB09881316B65A00E1911C /* DefaultTypeTestCase.xml */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; name = DefaultTypeTestCase.xml; path = "Resources/Test Cases/DefaultTypeTestCase.xml"; sourceTree = ""; }; - 07EF45390E721A5D009F2708 /* XMLRPCEventBasedParser.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = XMLRPCEventBasedParser.h; sourceTree = ""; }; - 07EF453A0E721A5D009F2708 /* XMLRPCEventBasedParser.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = XMLRPCEventBasedParser.m; sourceTree = ""; }; - 0867D69BFE84028FC02AAC07 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = ""; }; - 0867D6A5FE840307C02AAC07 /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = ""; }; - 1058C7B1FEA5585E11CA2CBB /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = ""; }; - 2DCADED91529E06900B47A4F /* XMLRPCEncoder.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = XMLRPCEncoder.h; sourceTree = ""; }; - 903B0DB612F7574800BD6E09 /* libXMLRPC.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libXMLRPC.a; sourceTree = BUILT_PRODUCTS_DIR; }; - D2F7E79907B2D74100F64583 /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = /System/Library/Frameworks/CoreData.framework; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 903B0DB412F7574800BD6E09 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 034768DFFF38A50411DB9C8B /* Products */ = { - isa = PBXGroup; - children = ( - 903B0DB612F7574800BD6E09 /* libXMLRPC.a */, - ); - name = Products; - sourceTree = ""; - }; - 07127C570F4266E2009C7476 /* Configurations */ = { - isa = PBXGroup; - children = ( - 07127C580F4266F4009C7476 /* Common.xcconfig */, - 07127C590F4266F4009C7476 /* CommonDevelopment.xcconfig */, - 07127C5A0F4266F4009C7476 /* CommonRelease.xcconfig */, - 0799AF0F0F6722D600B71B22 /* XMLRPC.xcconfig */, - 0799AF100F6722D600B71B22 /* XMLRPCDevelopment.xcconfig */, - 0799AF110F6722D600B71B22 /* XMLRPCRelease.xcconfig */, - 0799AF0A0F67227F00B71B22 /* XMLRPCUnitTests.xcconfig */, - 0799AF0B0F67227F00B71B22 /* XMLRPCUnitTestsDevelopment.xcconfig */, - 0799AF0C0F67227F00B71B22 /* XMLRPCUnitTestsRelease.xcconfig */, - ); - name = Configurations; - sourceTree = ""; - }; - 07452BDC0E469C6900A57686 /* Delegates */ = { - isa = PBXGroup; - children = ( - 07452BE20E469C9000A57686 /* XMLRPCConnectionDelegate.h */, - ); - name = Delegates; - sourceTree = ""; - }; - 074E8A200F6D8D6E00BE0B22 /* Localized Strings */ = { - isa = PBXGroup; - children = ( - ); - name = "Localized Strings"; - sourceTree = ""; - }; - 074E8A220F6D8D8300BE0B22 /* Property Lists */ = { - isa = PBXGroup; - children = ( - 07B52BE9101004810015AD8B /* TestCases.plist */, - 0799AF280F67254B00B71B22 /* XMLRPC-Info.plist */, - 0799AF040F6721FF00B71B22 /* XMLRPCUnitTests-Info.plist */, - ); - name = "Property Lists"; - sourceTree = ""; - }; - 0799AF2F0F67258600B71B22 /* Unit Tests */ = { - isa = PBXGroup; - children = ( - 07B52C01101008670015AD8B /* XMLRPCParserTest.h */, - 07B52C02101008670015AD8B /* XMLRPCParserTest.m */, - ); - name = "Unit Tests"; - sourceTree = ""; - }; - 07B0C6140E33A65E006453B4 /* Additions */ = { - isa = PBXGroup; - children = ( - 033836811527905D00EF8E8A /* NSData+Base64.h */, - 033836821527905D00EF8E8A /* NSData+Base64.m */, - 07B0C5F80E33A659006453B4 /* NSStringAdditions.h */, - 07B0C5F90E33A659006453B4 /* NSStringAdditions.m */, - ); - name = Additions; - sourceTree = ""; - }; - 07B52BE4101004270015AD8B /* Test Cases */ = { - isa = PBXGroup; - children = ( - 07075BAD10C5FE3800589A27 /* AlternativeDateFormatsTestCase.xml */, - 07BB09881316B65A00E1911C /* DefaultTypeTestCase.xml */, - 07A0A9021016A51000CEE3C7 /* EmptyBooleanTestCase.xml */, - 07A0A9031016A51000CEE3C7 /* EmptyDataTestCase.xml */, - 07A0A9041016A51000CEE3C7 /* EmptyDoubleTestCase.xml */, - 07A0A9051016A51000CEE3C7 /* EmptyIntegerTestCase.xml */, - 07A0A9061016A51000CEE3C7 /* EmptyStringTestCase.xml */, - 07B52BE5101004670015AD8B /* SimpleArrayTestCase.xml */, - 07B52BE6101004670015AD8B /* SimpleStructTestCase.xml */, - ); - name = "Test Cases"; - sourceTree = ""; - }; - 0867D691FE84028FC02AAC07 /* XMLRPC */ = { - isa = PBXGroup; - children = ( - 08FB77AEFE84172EC02AAC07 /* Classes */, - 32C88DFF0371C24200C91783 /* Other Sources */, - 089C1665FE841158C02AAC07 /* Resources */, - 0867D69AFE84028FC02AAC07 /* External Frameworks and Libraries */, - 034768DFFF38A50411DB9C8B /* Products */, - ); - name = XMLRPC; - sourceTree = ""; - }; - 0867D69AFE84028FC02AAC07 /* External Frameworks and Libraries */ = { - isa = PBXGroup; - children = ( - 1058C7B0FEA5585E11CA2CBB /* Linked Frameworks */, - 1058C7B2FEA5585E11CA2CBB /* Other Frameworks */, - ); - name = "External Frameworks and Libraries"; - sourceTree = ""; - }; - 089C1665FE841158C02AAC07 /* Resources */ = { - isa = PBXGroup; - children = ( - 07127C570F4266E2009C7476 /* Configurations */, - 074E8A200F6D8D6E00BE0B22 /* Localized Strings */, - 074E8A220F6D8D8300BE0B22 /* Property Lists */, - 07B52BE4101004270015AD8B /* Test Cases */, - ); - name = Resources; - sourceTree = ""; - }; - 08FB77AEFE84172EC02AAC07 /* Classes */ = { - isa = PBXGroup; - children = ( - 07B0C6140E33A65E006453B4 /* Additions */, - 07452BDC0E469C6900A57686 /* Delegates */, - 07B0C5FA0E33A659006453B4 /* XMLRPC.h */, - 07B0C5FB0E33A659006453B4 /* XMLRPCConnection.h */, - 07B0C5FC0E33A659006453B4 /* XMLRPCConnection.m */, - 075137F90E429E560019E4F6 /* XMLRPCConnectionManager.h */, - 075137FA0E429E560019E4F6 /* XMLRPCConnectionManager.m */, - 2DCADED91529E06900B47A4F /* XMLRPCEncoder.h */, - 07B0C5FF0E33A659006453B4 /* XMLRPCDefaultEncoder.h */, - 07B0C6000E33A659006453B4 /* XMLRPCDefaultEncoder.m */, - 07EF45390E721A5D009F2708 /* XMLRPCEventBasedParser.h */, - 07EF453A0E721A5D009F2708 /* XMLRPCEventBasedParser.m */, - 0707047610114B9400CB7702 /* XMLRPCEventBasedParserDelegate.h */, - 0707047710114B9400CB7702 /* XMLRPCEventBasedParserDelegate.m */, - 07B0C6010E33A659006453B4 /* XMLRPCRequest.h */, - 07B0C6020E33A659006453B4 /* XMLRPCRequest.m */, - 07B0C6030E33A659006453B4 /* XMLRPCResponse.h */, - 07B0C6040E33A659006453B4 /* XMLRPCResponse.m */, - ); - name = Classes; - sourceTree = ""; - }; - 1058C7B0FEA5585E11CA2CBB /* Linked Frameworks */ = { - isa = PBXGroup; - children = ( - 1058C7B1FEA5585E11CA2CBB /* Cocoa.framework */, - 0799AF5D0F67266400B71B22 /* SenTestingKit.framework */, - ); - name = "Linked Frameworks"; - sourceTree = ""; - }; - 1058C7B2FEA5585E11CA2CBB /* Other Frameworks */ = { - isa = PBXGroup; - children = ( - 0867D6A5FE840307C02AAC07 /* AppKit.framework */, - D2F7E79907B2D74100F64583 /* CoreData.framework */, - 0867D69BFE84028FC02AAC07 /* Foundation.framework */, - ); - name = "Other Frameworks"; - sourceTree = ""; - }; - 32C88DFF0371C24200C91783 /* Other Sources */ = { - isa = PBXGroup; - children = ( - 0799AF2F0F67258600B71B22 /* Unit Tests */, - 07B0C6160E33A672006453B4 /* XMLRPC.pch */, - ); - name = "Other Sources"; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXHeadersBuildPhase section */ - 903B0DB212F7574800BD6E09 /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - 903B0DC212F7581200BD6E09 /* NSStringAdditions.h in Headers */, - 903B0DC412F7581200BD6E09 /* XMLRPCConnectionDelegate.h in Headers */, - 903B0DC512F7581200BD6E09 /* XMLRPC.h in Headers */, - 903B0DC612F7581200BD6E09 /* XMLRPCConnection.h in Headers */, - 903B0DC812F7581200BD6E09 /* XMLRPCConnectionManager.h in Headers */, - 2DCADEDB1529E24300B47A4F /* XMLRPCEncoder.h in Headers */, - 903B0DCA12F7581200BD6E09 /* XMLRPCDefaultEncoder.h in Headers */, - 903B0DCC12F7581200BD6E09 /* XMLRPCEventBasedParser.h in Headers */, - 903B0DCE12F7581200BD6E09 /* XMLRPCEventBasedParserDelegate.h in Headers */, - 903B0DD012F7581200BD6E09 /* XMLRPCRequest.h in Headers */, - 903B0DD212F7581200BD6E09 /* XMLRPCResponse.h in Headers */, - 903B0DD412F7581F00BD6E09 /* XMLRPC.pch in Headers */, - 033836841527905D00EF8E8A /* NSData+Base64.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXHeadersBuildPhase section */ - -/* Begin PBXNativeTarget section */ - 903B0DB512F7574800BD6E09 /* libXMLRPC */ = { - isa = PBXNativeTarget; - buildConfigurationList = 903B0DB912F7577B00BD6E09 /* Build configuration list for PBXNativeTarget "libXMLRPC" */; - buildPhases = ( - 903B0DB212F7574800BD6E09 /* Headers */, - 903B0DB312F7574800BD6E09 /* Sources */, - 903B0DB412F7574800BD6E09 /* Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = libXMLRPC; - productName = iOSXMLRPC; - productReference = 903B0DB612F7574800BD6E09 /* libXMLRPC.a */; - productType = "com.apple.product-type.library.static"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 0867D690FE84028FC02AAC07 /* Project object */ = { - isa = PBXProject; - attributes = { - LastUpgradeCheck = 0800; - }; - buildConfigurationList = 1DEB91B108733DA50010E9CD /* Build configuration list for PBXProject "XMLRPC" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; - hasScannedForEncodings = 1; - knownRegions = ( - English, - Japanese, - French, - German, - ); - mainGroup = 0867D691FE84028FC02AAC07 /* XMLRPC */; - productRefGroup = 034768DFFF38A50411DB9C8B /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 903B0DB512F7574800BD6E09 /* libXMLRPC */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXSourcesBuildPhase section */ - 903B0DB312F7574800BD6E09 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 903B0DC312F7581200BD6E09 /* NSStringAdditions.m in Sources */, - 903B0DC712F7581200BD6E09 /* XMLRPCConnection.m in Sources */, - 903B0DC912F7581200BD6E09 /* XMLRPCConnectionManager.m in Sources */, - 903B0DCB12F7581200BD6E09 /* XMLRPCDefaultEncoder.m in Sources */, - 903B0DCD12F7581200BD6E09 /* XMLRPCEventBasedParser.m in Sources */, - 903B0DCF12F7581200BD6E09 /* XMLRPCEventBasedParserDelegate.m in Sources */, - 903B0DD112F7581200BD6E09 /* XMLRPCRequest.m in Sources */, - 903B0DD312F7581200BD6E09 /* XMLRPCResponse.m in Sources */, - 033836861527905D00EF8E8A /* NSData+Base64.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin XCBuildConfiguration section */ - 1DEB91B308733DA50010E9CD /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 07127C5A0F4266F4009C7476 /* CommonRelease.xcconfig */; - buildSettings = { - GCC_THUMB_SUPPORT = NO; - IPHONEOS_DEPLOYMENT_TARGET = 4.0; - ONLY_ACTIVE_ARCH = NO; - OTHER_LDFLAGS = "-ObjC"; - SDKROOT = iphoneos; - }; - name = Release; - }; - 903B0DB812F7574900BD6E09 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - GCC_THUMB_SUPPORT = NO; - GCC_VERSION = com.apple.compilers.llvm.clang.1_0; - IPHONEOS_DEPLOYMENT_TARGET = 5.1.1; - PRODUCT_NAME = XMLRPC; - PUBLIC_HEADERS_FOLDER_PATH = /headers/; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = "1,2"; - ZERO_LINK = NO; - }; - name = Release; - }; - D3554ED915CA7E4500478841 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 07127C590F4266F4009C7476 /* CommonDevelopment.xcconfig */; - buildSettings = { - ENABLE_TESTABILITY = YES; - GCC_THUMB_SUPPORT = NO; - IPHONEOS_DEPLOYMENT_TARGET = 4.0; - ONLY_ACTIVE_ARCH = YES; - OTHER_LDFLAGS = "-ObjC"; - SDKROOT = iphoneos; - }; - name = Debug; - }; - D3554EDB15CA7E4500478841 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - GCC_DYNAMIC_NO_PIC = NO; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_THUMB_SUPPORT = NO; - GCC_VERSION = com.apple.compilers.llvm.clang.1_0; - IPHONEOS_DEPLOYMENT_TARGET = 5.1.1; - PRODUCT_NAME = XMLRPC; - PUBLIC_HEADERS_FOLDER_PATH = /headers/; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - D3554EDD15CA7E5600478841 /* Distribution */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 07127C5A0F4266F4009C7476 /* CommonRelease.xcconfig */; - buildSettings = { - GCC_THUMB_SUPPORT = NO; - IPHONEOS_DEPLOYMENT_TARGET = 4.0; - ONLY_ACTIVE_ARCH = NO; - OTHER_LDFLAGS = "-ObjC"; - SDKROOT = iphoneos; - }; - name = Distribution; - }; - D3554EDF15CA7E5600478841 /* Distribution */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - GCC_THUMB_SUPPORT = NO; - GCC_VERSION = com.apple.compilers.llvm.clang.1_0; - IPHONEOS_DEPLOYMENT_TARGET = 5.1.1; - PRODUCT_NAME = XMLRPC; - PUBLIC_HEADERS_FOLDER_PATH = /headers/; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = "1,2"; - ZERO_LINK = NO; - }; - name = Distribution; - }; - D3554EE115CA7E6000478841 /* DistributionAdhoc */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 07127C5A0F4266F4009C7476 /* CommonRelease.xcconfig */; - buildSettings = { - GCC_THUMB_SUPPORT = NO; - IPHONEOS_DEPLOYMENT_TARGET = 4.0; - ONLY_ACTIVE_ARCH = NO; - OTHER_LDFLAGS = "-ObjC"; - SDKROOT = iphoneos; - }; - name = DistributionAdhoc; - }; - D3554EE315CA7E6000478841 /* DistributionAdhoc */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - GCC_THUMB_SUPPORT = NO; - GCC_VERSION = com.apple.compilers.llvm.clang.1_0; - IPHONEOS_DEPLOYMENT_TARGET = 5.1.1; - PRODUCT_NAME = XMLRPC; - PUBLIC_HEADERS_FOLDER_PATH = /headers/; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = "1,2"; - ZERO_LINK = NO; - }; - name = DistributionAdhoc; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 1DEB91B108733DA50010E9CD /* Build configuration list for PBXProject "XMLRPC" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - D3554ED915CA7E4500478841 /* Debug */, - 1DEB91B308733DA50010E9CD /* Release */, - D3554EDD15CA7E5600478841 /* Distribution */, - D3554EE115CA7E6000478841 /* DistributionAdhoc */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 903B0DB912F7577B00BD6E09 /* Build configuration list for PBXNativeTarget "libXMLRPC" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - D3554EDB15CA7E4500478841 /* Debug */, - 903B0DB812F7574900BD6E09 /* Release */, - D3554EDF15CA7E5600478841 /* Distribution */, - D3554EE315CA7E6000478841 /* DistributionAdhoc */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = 0867D690FE84028FC02AAC07 /* Project object */; -} diff --git a/Classes/Utils/XMLRPC/XMLRPC.xcodeproj/xcuserdata/ydiorcet.xcuserdatad/xcschemes/xcschememanagement.plist b/Classes/Utils/XMLRPC/XMLRPC.xcodeproj/xcuserdata/ydiorcet.xcuserdatad/xcschemes/xcschememanagement.plist deleted file mode 100644 index a941b5698..000000000 --- a/Classes/Utils/XMLRPC/XMLRPC.xcodeproj/xcuserdata/ydiorcet.xcuserdatad/xcschemes/xcschememanagement.plist +++ /dev/null @@ -1,26 +0,0 @@ - - - - - SchemeUserState - - SuppressBuildableAutocreation - - 0799AF020F6721FF00B71B22 - - primary - - - 8DC2EF4F0486A6940098B216 - - primary - - - 903B0DB512F7574800BD6E09 - - primary - - - - - diff --git a/Classes/Utils/XMLRPC/XMLRPCConnection.h b/Classes/Utils/XMLRPC/XMLRPCConnection.h deleted file mode 100755 index d84186dd9..000000000 --- a/Classes/Utils/XMLRPC/XMLRPCConnection.h +++ /dev/null @@ -1,33 +0,0 @@ -#import -#import "XMLRPCConnectionDelegate.h" - -@class XMLRPCConnectionManager, XMLRPCRequest, XMLRPCResponse; - -@interface XMLRPCConnection : NSObject { - XMLRPCConnectionManager *myManager; - XMLRPCRequest *myRequest; - NSString *myIdentifier; - NSMutableData *myData; - NSURLConnection *myConnection; - id myDelegate; -} - -- (id)initWithXMLRPCRequest: (XMLRPCRequest *)request delegate: (id)delegate manager: (XMLRPCConnectionManager *)manager; - -#pragma mark - - -+ (XMLRPCResponse *)sendSynchronousXMLRPCRequest: (XMLRPCRequest *)request error: (NSError **)error; - -#pragma mark - - -- (NSString *)identifier; - -#pragma mark - - -- (id)delegate; - -#pragma mark - - -- (void)cancel; - -@end diff --git a/Classes/Utils/XMLRPC/XMLRPCConnection.m b/Classes/Utils/XMLRPC/XMLRPCConnection.m deleted file mode 100755 index 01410c41a..000000000 --- a/Classes/Utils/XMLRPC/XMLRPCConnection.m +++ /dev/null @@ -1,214 +0,0 @@ -#import "XMLRPCConnection.h" -#import "XMLRPCConnectionManager.h" -#import "XMLRPCRequest.h" -#import "XMLRPCResponse.h" -#import "NSStringAdditions.h" - -@interface XMLRPCConnection (XMLRPCConnectionPrivate) - -- (void)connection: (NSURLConnection *)connection didReceiveResponse:(NSURLResponse *)response; - -- (void)connection: (NSURLConnection *)connection didReceiveData: (NSData *)data; - -- (void)connection:(NSURLConnection *)connection - didSendBodyData:(NSInteger)bytesWritten - totalBytesWritten:(NSInteger)totalBytesWritten -totalBytesExpectedToWrite:(NSInteger)totalBytesExpectedToWrite; - -- (void)connection: (NSURLConnection *)connection didFailWithError: (NSError *)error; - -#pragma mark - - -- (BOOL)connection: (NSURLConnection *)connection canAuthenticateAgainstProtectionSpace: (NSURLProtectionSpace *)protectionSpace; - -- (void)connection: (NSURLConnection *)connection didReceiveAuthenticationChallenge: (NSURLAuthenticationChallenge *)challenge; - -- (void)connection: (NSURLConnection *)connection didCancelAuthenticationChallenge: (NSURLAuthenticationChallenge *)challenge; - -- (void)connectionDidFinishLoading: (NSURLConnection *)connection; - -@end - -#pragma mark - - -@implementation XMLRPCConnection - -- (id)initWithXMLRPCRequest: (XMLRPCRequest *)request delegate: (id)delegate manager: (XMLRPCConnectionManager *)manager { - self = [super init]; - if (self) { -#if ! __has_feature(objc_arc) - myManager = [manager retain]; - myRequest = [request retain]; - myIdentifier = [[NSString stringByGeneratingUUID] retain]; -#else - myManager = manager; - myRequest = request; - myIdentifier = [NSString stringByGeneratingUUID]; -#endif - myData = [[NSMutableData alloc] init]; - - myConnection = [[NSURLConnection alloc] initWithRequest: [request request] delegate: self]; - -#if ! __has_feature(objc_arc) - myDelegate = [delegate retain]; -#else - myDelegate = delegate; -#endif - - if (myConnection) { - NSLog(@"The connection, %@, has been established!", myIdentifier); - } else { - NSLog(@"The connection, %@, could not be established!", myIdentifier); -#if ! __has_feature(objc_arc) - [self release]; -#endif - return nil; - } - } - - return self; -} - -#pragma mark - - -+ (XMLRPCResponse *)sendSynchronousXMLRPCRequest: (XMLRPCRequest *)request error: (NSError **)error { - NSHTTPURLResponse *response = nil; -#if ! __has_feature(objc_arc) - NSData *data = [[[NSURLConnection sendSynchronousRequest: [request request] returningResponse: &response error: error] retain] autorelease]; -#else - NSData *data = [NSURLConnection sendSynchronousRequest: [request request] returningResponse: &response error: error]; -#endif - - if (response) { - NSInteger statusCode = [response statusCode]; - - if ((statusCode < 400) && data) { -#if ! __has_feature(objc_arc) - return [[[XMLRPCResponse alloc] initWithData: data] autorelease]; -#else - return [[XMLRPCResponse alloc] initWithData: data]; -#endif - } - } - - return nil; -} - -#pragma mark - - -- (NSString *)identifier { -#if ! __has_feature(objc_arc) - return [[myIdentifier retain] autorelease]; -#else - return myIdentifier; -#endif -} - -#pragma mark - - -- (id)delegate { - return myDelegate; -} - -#pragma mark - - -- (void)cancel { - [myConnection cancel]; -} - -#pragma mark - - -- (void)dealloc { -#if ! __has_feature(objc_arc) - [myManager release]; - [myRequest release]; - [myIdentifier release]; - [myData release]; - [myConnection release]; - [myDelegate release]; - - [super dealloc]; -#endif -} - -@end - -#pragma mark - - -@implementation XMLRPCConnection (XMLRPCConnectionPrivate) - -- (void)connection: (NSURLConnection *)connection didReceiveResponse: (NSURLResponse *)response { - if([response respondsToSelector: @selector(statusCode)]) { - long statusCode = [(NSHTTPURLResponse *)response statusCode]; - - if(statusCode >= 400) { - NSError *error = [NSError errorWithDomain: @"HTTP" code: statusCode userInfo: nil]; - - [myDelegate request: myRequest didFailWithError: error]; - } else if (statusCode == 304) { - [myManager closeConnectionForIdentifier: myIdentifier]; - } - } - - [myData setLength: 0]; -} - -- (void)connection: (NSURLConnection *)connection didReceiveData: (NSData *)data { - [myData appendData: data]; -} - -- (void)connection:(NSURLConnection *)connection - didSendBodyData:(NSInteger)bytesWritten - totalBytesWritten:(NSInteger)totalBytesWritten totalBytesExpectedToWrite:(NSInteger)totalBytesExpectedToWrite -{ - if ([myDelegate respondsToSelector:@selector(request:didSendBodyData:)]) { - float percent = totalBytesWritten / (float)totalBytesExpectedToWrite; - [myDelegate request:myRequest didSendBodyData:percent]; - } -} - -- (void)connection: (NSURLConnection *)connection didFailWithError: (NSError *)error { -#if ! __has_feature(objc_arc) - XMLRPCRequest *request = [[myRequest retain] autorelease]; -#else - XMLRPCRequest *request = myRequest; -#endif - - NSLog(@"The connection, %@, failed with the following error: %@", myIdentifier, [error localizedDescription]); - - [myDelegate request: request didFailWithError: error]; - - [myManager closeConnectionForIdentifier: myIdentifier]; -} - -#pragma mark - - -- (BOOL)connection: (NSURLConnection *)connection canAuthenticateAgainstProtectionSpace: (NSURLProtectionSpace *)protectionSpace { - return [myDelegate request: myRequest canAuthenticateAgainstProtectionSpace: protectionSpace]; -} - -- (void)connection: (NSURLConnection *)connection didReceiveAuthenticationChallenge: (NSURLAuthenticationChallenge *)challenge { - [myDelegate request: myRequest didReceiveAuthenticationChallenge: challenge]; -} - -- (void)connection: (NSURLConnection *)connection didCancelAuthenticationChallenge: (NSURLAuthenticationChallenge *)challenge { - [myDelegate request: myRequest didCancelAuthenticationChallenge: challenge]; -} - -- (void)connectionDidFinishLoading: (NSURLConnection *)connection { - if (myData && ([myData length] > 0)) { -#if ! __has_feature(objc_arc) - XMLRPCResponse *response = [[[XMLRPCResponse alloc] initWithData: myData] autorelease]; - XMLRPCRequest *request = [[myRequest retain] autorelease]; -#else - XMLRPCResponse *response = [[XMLRPCResponse alloc] initWithData: myData]; - XMLRPCRequest *request = myRequest; -#endif - - [myDelegate request: request didReceiveResponse: response]; - } - - [myManager closeConnectionForIdentifier: myIdentifier]; -} - -@end diff --git a/Classes/Utils/XMLRPC/XMLRPCConnectionManager.h b/Classes/Utils/XMLRPC/XMLRPCConnectionManager.h deleted file mode 100755 index 22619d18e..000000000 --- a/Classes/Utils/XMLRPC/XMLRPCConnectionManager.h +++ /dev/null @@ -1,32 +0,0 @@ -#import -#import "XMLRPCConnectionDelegate.h" - -@class XMLRPCConnection, XMLRPCRequest; - -@interface XMLRPCConnectionManager : NSObject { - NSMutableDictionary *myConnections; -} - -+ (XMLRPCConnectionManager *)sharedManager; - -#pragma mark - - -- (NSString *)spawnConnectionWithXMLRPCRequest: (XMLRPCRequest *)request delegate: (id)delegate; - -#pragma mark - - -- (NSArray *)activeConnectionIdentifiers; - -- (long)numberOfActiveConnections; - -#pragma mark - - -- (XMLRPCConnection *)connectionForIdentifier: (NSString *)identifier; - -#pragma mark - - -- (void)closeConnectionForIdentifier: (NSString *)identifier; - -- (void)closeConnections; - -@end diff --git a/Classes/Utils/XMLRPC/XMLRPCConnectionManager.m b/Classes/Utils/XMLRPC/XMLRPCConnectionManager.m deleted file mode 100755 index 2f2734faf..000000000 --- a/Classes/Utils/XMLRPC/XMLRPCConnectionManager.m +++ /dev/null @@ -1,115 +0,0 @@ -#import "XMLRPCConnectionManager.h" -#import "XMLRPCConnection.h" -#import "XMLRPCRequest.h" - -@implementation XMLRPCConnectionManager - -static XMLRPCConnectionManager *sharedInstance = nil; - -- (id)init { - self = [super init]; - if (self) { - myConnections = [[NSMutableDictionary alloc] init]; - } - - return self; -} - -#pragma mark - - -+ (id)allocWithZone: (NSZone *)zone { - @synchronized(self) { - if (!sharedInstance) { - sharedInstance = [super allocWithZone: zone]; - - return sharedInstance; - } - } - - return nil; -} - -#pragma mark - - -+ (XMLRPCConnectionManager *)sharedManager { - @synchronized(self) { - if (!sharedInstance) { - sharedInstance = [[self alloc] init]; - } - } - - return sharedInstance; -} - -#pragma mark - - -- (NSString *)spawnConnectionWithXMLRPCRequest: (XMLRPCRequest *)request delegate: (id)delegate { - XMLRPCConnection *newConnection = [[XMLRPCConnection alloc] initWithXMLRPCRequest: request delegate: delegate manager: self]; -#if ! __has_feature(objc_arc) - NSString *identifier = [[[newConnection identifier] retain] autorelease]; -#else - NSString *identifier = [newConnection identifier]; -#endif - - [myConnections setObject: newConnection forKey: identifier]; - -#if ! __has_feature(objc_arc) - [newConnection release]; -#endif - - return identifier; -} - -#pragma mark - - -- (NSArray *)activeConnectionIdentifiers { - return [myConnections allKeys]; -} - -- (long)numberOfActiveConnections { - return [myConnections count]; -} - -#pragma mark - - -- (XMLRPCConnection *)connectionForIdentifier: (NSString *)identifier { - return [myConnections objectForKey: identifier]; -} - -#pragma mark - - -- (void)closeConnectionForIdentifier: (NSString *)identifier { - XMLRPCConnection *selectedConnection = [self connectionForIdentifier: identifier]; - - if (selectedConnection) { - [selectedConnection cancel]; - - [myConnections removeObjectForKey: identifier]; - } -} - -- (void)closeConnections { - [[myConnections allValues] makeObjectsPerformSelector: @selector(cancel)]; - - [myConnections removeAllObjects]; -} - -#pragma mark - - -- (void)finalize { - [self closeConnections]; - - [super finalize]; -} - -#pragma mark - - -- (void)dealloc { - [self closeConnections]; -#if ! __has_feature(objc_arc) - [myConnections release]; - [super dealloc]; -#endif -} - -@end diff --git a/Classes/Utils/XMLRPC/XMLRPCDefaultEncoder.h b/Classes/Utils/XMLRPC/XMLRPCDefaultEncoder.h deleted file mode 100755 index b620f8c0b..000000000 --- a/Classes/Utils/XMLRPC/XMLRPCDefaultEncoder.h +++ /dev/null @@ -1,8 +0,0 @@ -#import -#import "XMLRPCEncoder.h" - -@interface XMLRPCDefaultEncoder : NSObject { - NSString *myMethod; - NSArray *myParameters; -} -@end diff --git a/Classes/Utils/XMLRPC/XMLRPCDefaultEncoder.m b/Classes/Utils/XMLRPC/XMLRPCDefaultEncoder.m deleted file mode 100755 index 16296047e..000000000 --- a/Classes/Utils/XMLRPC/XMLRPCDefaultEncoder.m +++ /dev/null @@ -1,253 +0,0 @@ -#import "XMLRPCDefaultEncoder.h" -#import "NSStringAdditions.h" -#import "NSData+Base64.h" - -@interface XMLRPCDefaultEncoder (XMLRPCEncoderPrivate) - -- (NSString *)valueTag: (NSString *)tag value: (NSString *)value; - -#pragma mark - - -- (NSString *)replaceTarget: (NSString *)target withValue: (NSString *)value inString: (NSString *)string; - -#pragma mark - - -- (NSString *)encodeObject: (id)object; - -#pragma mark - - -- (NSString *)encodeArray: (NSArray *)array; - -- (NSString *)encodeDictionary: (NSDictionary *)dictionary; - -#pragma mark - - -- (NSString *)encodeBoolean: (CFBooleanRef)boolean; - -- (NSString *)encodeNumber: (NSNumber *)number; - -- (NSString *)encodeString: (NSString *)string omitTag: (BOOL)omitTag; - -- (NSString *)encodeDate: (NSDate *)date; - -- (NSString *)encodeData: (NSData *)data; - -@end - -#pragma mark - - -@implementation XMLRPCDefaultEncoder - -- (id)init { - self = [super init]; - if (self) { - myMethod = [[NSString alloc] init]; - myParameters = [[NSArray alloc] init]; - } - - return self; -} - -#pragma mark - - -- (NSString *)encode { - NSMutableString *buffer = [NSMutableString stringWithString: @""]; - - [buffer appendFormat: @"%@", [self encodeString: myMethod omitTag: YES]]; - - [buffer appendString: @""]; - - if (myParameters) { - NSEnumerator *enumerator = [myParameters objectEnumerator]; - id parameter = nil; - - while ((parameter = [enumerator nextObject])) { - [buffer appendString: @""]; - [buffer appendString: [self encodeObject: parameter]]; - [buffer appendString: @""]; - } - } - - [buffer appendString: @""]; - - [buffer appendString: @""]; - - return buffer; -} - -#pragma mark - - -- (void)setMethod: (NSString *)method withParameters: (NSArray *)parameters { -#if ! __has_feature(objc_arc) - if (myMethod) { - [myMethod release]; - } - - if (!method) { - myMethod = nil; - } else { - myMethod = [method retain]; - } - - if (myParameters) { - [myParameters release]; - } - - if (!parameters) { - myParameters = nil; - } else { - myParameters = [parameters retain]; - } -#else - myMethod = method; - myParameters = parameters; -#endif -} - -#pragma mark - - -- (NSString *)method { - return myMethod; -} - -- (NSArray *)parameters { - return myParameters; -} - -#pragma mark - - -- (void)dealloc { -#if ! __has_feature(objc_arc) - [myMethod release]; - [myParameters release]; - - [super dealloc]; -#endif -} - -@end - -#pragma mark - - -@implementation XMLRPCDefaultEncoder (XMLRPCEncoderPrivate) - -- (NSString *)valueTag: (NSString *)tag value: (NSString *)value { - return [NSString stringWithFormat: @"<%@>%@", tag, value, tag]; -} - -#pragma mark - - -- (NSString *)replaceTarget: (NSString *)target withValue: (NSString *)value inString: (NSString *)string { - return [[string componentsSeparatedByString: target] componentsJoinedByString: value]; -} - -#pragma mark - - -- (NSString *)encodeObject: (id)object { - if (!object) { - return nil; - } - - if ([object isKindOfClass: [NSArray class]]) { - return [self encodeArray: object]; - } else if ([object isKindOfClass: [NSDictionary class]]) { - return [self encodeDictionary: object]; - } else if (((/*__bridge_retained*/ CFBooleanRef)object == kCFBooleanTrue) || ((/*__bridge_retained*/ CFBooleanRef)object == kCFBooleanFalse)) { - return [self encodeBoolean: (CFBooleanRef)object]; - } else if ([object isKindOfClass: [NSNumber class]]) { - return [self encodeNumber: object]; - } else if ([object isKindOfClass: [NSString class]]) { - return [self encodeString: object omitTag: NO]; - } else if ([object isKindOfClass: [NSDate class]]) { - return [self encodeDate: object]; - } else if ([object isKindOfClass: [NSData class]]) { - return [self encodeData: object]; - } else { - return [self encodeString: object omitTag: NO]; - } -} - -#pragma mark - - -- (NSString *)encodeArray: (NSArray *)array { - NSMutableString *buffer = [NSMutableString string]; - NSEnumerator *enumerator = [array objectEnumerator]; - - [buffer appendString: @""]; - - id object = nil; - - while (object = [enumerator nextObject]) { - [buffer appendString: [self encodeObject: object]]; - } - - [buffer appendString: @""]; - - return (NSString *)buffer; -} - -- (NSString *)encodeDictionary: (NSDictionary *)dictionary { - NSMutableString * buffer = [NSMutableString string]; - NSEnumerator *enumerator = [dictionary keyEnumerator]; - - [buffer appendString: @""]; - - NSString *key = nil; - NSObject *val; - - while (key = [enumerator nextObject]) { - [buffer appendString: @""]; - [buffer appendFormat: @"%@", [self encodeString: key omitTag: YES]]; - - val = [dictionary objectForKey: key]; - if (val != [NSNull null]) { - [buffer appendString: [self encodeObject: val]]; - } else { - [buffer appendString:@""]; - } - - [buffer appendString: @""]; - } - - [buffer appendString: @""]; - - return (NSString *)buffer; -} - -#pragma mark - - -- (NSString *)encodeBoolean: (CFBooleanRef)boolean { - if (boolean == kCFBooleanTrue) { - return [self valueTag: @"boolean" value: @"1"]; - } else { - return [self valueTag: @"boolean" value: @"0"]; - } -} - -- (NSString *)encodeNumber: (NSNumber *)number { - NSString *numberType = [NSString stringWithCString: [number objCType] encoding: NSUTF8StringEncoding]; - - if ([numberType isEqualToString: @"d"]) { - return [self valueTag: @"double" value: [number stringValue]]; - } else { - return [self valueTag: @"i4" value: [number stringValue]]; - } -} - -- (NSString *)encodeString: (NSString *)string omitTag: (BOOL)omitTag { - return omitTag ? [string escapedString] : [self valueTag: @"string" value: [string escapedString]]; -} - -- (NSString *)encodeDate: (NSDate *)date { - unsigned components = kCFCalendarUnitYear | kCFCalendarUnitMonth | kCFCalendarUnitDay | kCFCalendarUnitHour | kCFCalendarUnitMinute | kCFCalendarUnitSecond; - NSDateComponents *dateComponents = [[NSCalendar currentCalendar] components: components fromDate: date]; - NSString *buffer = [NSString stringWithFormat: @"%.4d%.2d%.2dT%.2d:%.2d:%.2d", [dateComponents year], [dateComponents month], [dateComponents day], [dateComponents hour], [dateComponents minute], [dateComponents second], nil]; - - return [self valueTag: @"dateTime.iso8601" value: buffer]; -} - -- (NSString *)encodeData: (NSData *)data { - return [self valueTag: @"base64" value: [data base64EncodedString]]; -} - -@end diff --git a/Classes/Utils/XMLRPC/XMLRPCEncoder.h b/Classes/Utils/XMLRPC/XMLRPCEncoder.h deleted file mode 100755 index 14a596824..000000000 --- a/Classes/Utils/XMLRPC/XMLRPCEncoder.h +++ /dev/null @@ -1,15 +0,0 @@ -#import - -@protocol XMLRPCEncoder -- (NSString *)encode; - -#pragma mark - - -- (void)setMethod: (NSString *)method withParameters: (NSArray *)parameters; -#pragma mark - - -- (NSString *)method; - -- (NSArray *)parameters; - -@end diff --git a/Classes/Utils/XMLRPC/XMLRPCEventBasedParser.h b/Classes/Utils/XMLRPC/XMLRPCEventBasedParser.h deleted file mode 100755 index 1d43d70d5..000000000 --- a/Classes/Utils/XMLRPC/XMLRPCEventBasedParser.h +++ /dev/null @@ -1,27 +0,0 @@ -#import - -@class XMLRPCEventBasedParserDelegate; - -@interface XMLRPCEventBasedParser : NSObject { - NSXMLParser *myParser; - XMLRPCEventBasedParserDelegate *myParserDelegate; - BOOL isFault; -} - -- (id)initWithData: (NSData *)data; - -#pragma mark - - -- (id)parse; - -- (void)abortParsing; - -#pragma mark - - -- (NSError *)parserError; - -#pragma mark - - -- (BOOL)isFault; - -@end diff --git a/Classes/Utils/XMLRPC/XMLRPCEventBasedParser.m b/Classes/Utils/XMLRPC/XMLRPCEventBasedParser.m deleted file mode 100755 index b044c91fa..000000000 --- a/Classes/Utils/XMLRPC/XMLRPCEventBasedParser.m +++ /dev/null @@ -1,81 +0,0 @@ -#import "XMLRPCEventBasedParser.h" -#import "XMLRPCEventBasedParserDelegate.h" - -@implementation XMLRPCEventBasedParser - -- (id)initWithData: (NSData *)data { - if (!data) { - return nil; - } - - if (self = [self init]) { - myParser = [[NSXMLParser alloc] initWithData: data]; - myParserDelegate = nil; - isFault = NO; - } - - return self; -} - -#pragma mark - - -- (id)parse { - [myParser setDelegate: self]; - - [myParser parse]; - - if ([myParser parserError]) { - return nil; - } - - return [myParserDelegate elementValue]; -} - -- (void)abortParsing { - [myParser abortParsing]; -} - -#pragma mark - - -- (NSError *)parserError { - return [myParser parserError]; -} - -#pragma mark - - -- (BOOL)isFault { - return isFault; -} - -#pragma mark - - -- (void)dealloc { -#if ! __has_feature(objc_arc) - [myParser release]; - [myParserDelegate release]; - - [super dealloc]; -#endif -} - -@end - -#pragma mark - - -@implementation XMLRPCEventBasedParser (NSXMLParserDelegate) - -- (void)parser: (NSXMLParser *)parser didStartElement: (NSString *)element namespaceURI: (NSString *)namespaceURI qualifiedName: (NSString *)qualifiedName attributes: (NSDictionary *)attributes { - if ([element isEqualToString: @"fault"]) { - isFault = YES; - } else if ([element isEqualToString: @"value"]) { - myParserDelegate = [[XMLRPCEventBasedParserDelegate alloc] initWithParent: nil]; - - [myParser setDelegate: myParserDelegate]; - } -} - -- (void)parser: (NSXMLParser *)parser parseErrorOccurred: (NSError *)parseError { - [self abortParsing]; -} - -@end diff --git a/Classes/Utils/XMLRPC/XMLRPCEventBasedParserDelegate.h b/Classes/Utils/XMLRPC/XMLRPCEventBasedParserDelegate.h deleted file mode 100755 index 08d963577..000000000 --- a/Classes/Utils/XMLRPC/XMLRPCEventBasedParserDelegate.h +++ /dev/null @@ -1,52 +0,0 @@ -#import - -typedef enum { - XMLRPCElementTypeArray, - XMLRPCElementTypeDictionary, - XMLRPCElementTypeMember, - XMLRPCElementTypeName, - XMLRPCElementTypeInteger, - XMLRPCElementTypeDouble, - XMLRPCElementTypeBoolean, - XMLRPCElementTypeString, - XMLRPCElementTypeDate, - XMLRPCElementTypeData -} XMLRPCElementType; - -#pragma mark - - -@interface XMLRPCEventBasedParserDelegate : NSObject { - XMLRPCEventBasedParserDelegate *myParent; - NSMutableArray *myChildren; - XMLRPCElementType myElementType; - NSString *myElementKey; - id myElementValue; -} - -- (id)initWithParent: (XMLRPCEventBasedParserDelegate *)parent; - -#pragma mark - - -- (void)setParent: (XMLRPCEventBasedParserDelegate *)parent; - -- (XMLRPCEventBasedParserDelegate *)parent; - -#pragma mark - - -- (void)setElementType: (XMLRPCElementType)elementType; - -- (XMLRPCElementType)elementType; - -#pragma mark - - -- (void)setElementKey: (NSString *)elementKey; - -- (NSString *)elementKey; - -#pragma mark - - -- (void)setElementValue: (id)elementValue; - -- (id)elementValue; - -@end diff --git a/Classes/Utils/XMLRPC/XMLRPCEventBasedParserDelegate.m b/Classes/Utils/XMLRPC/XMLRPCEventBasedParserDelegate.m deleted file mode 100755 index 54f020fe5..000000000 --- a/Classes/Utils/XMLRPC/XMLRPCEventBasedParserDelegate.m +++ /dev/null @@ -1,352 +0,0 @@ -#import "XMLRPCEventBasedParserDelegate.h" -#import "NSData+Base64.h" - -@interface XMLRPCEventBasedParserDelegate (XMLRPCEventBasedParserDelegatePrivate) - -- (BOOL)isDictionaryElementType: (XMLRPCElementType)elementType; - -#pragma mark - - -- (void)addElementValueToParent; - -#pragma mark - - -- (NSDate *)parseDateString: (NSString *)dateString withFormat: (NSString *)format; - -#pragma mark - - -- (NSNumber *)parseInteger: (NSString *)value; - -- (NSNumber *)parseDouble: (NSString *)value; - -- (NSNumber *)parseBoolean: (NSString *)value; - -- (NSString *)parseString: (NSString *)value; - -- (NSDate *)parseDate: (NSString *)value; - -- (NSData *)parseData: (NSString *)value; - -@end - -#pragma mark - - -@implementation XMLRPCEventBasedParserDelegate - -- (id)initWithParent: (XMLRPCEventBasedParserDelegate *)parent { - self = [super init]; - if (self) { - myParent = parent; - myChildren = [[NSMutableArray alloc] initWithCapacity: 1]; - myElementType = XMLRPCElementTypeString; - myElementKey = nil; - myElementValue = [[NSMutableString alloc] init]; - } - - return self; -} - -#pragma mark - - -- (void)setParent: (XMLRPCEventBasedParserDelegate *)parent { -#if ! __has_feature(objc_arc) - [parent retain]; - [myParent release]; -#endif - - myParent = parent; -} - -- (XMLRPCEventBasedParserDelegate *)parent { - return myParent; -} - -#pragma mark - - -- (void)setElementType: (XMLRPCElementType)elementType { - myElementType = elementType; -} - -- (XMLRPCElementType)elementType { - return myElementType; -} - -#pragma mark - - -- (void)setElementKey: (NSString *)elementKey { -#if ! __has_feature(objc_arc) - [elementKey retain]; - [myElementKey release]; -#endif - - myElementKey = elementKey; -} - -- (NSString *)elementKey { - return myElementKey; -} - -#pragma mark - - -- (void)setElementValue: (id)elementValue { -#if ! __has_feature(objc_arc) - [elementValue retain]; - [myElementValue release]; -#endif - - myElementValue = elementValue; -} - -- (id)elementValue { - return myElementValue; -} - -#pragma mark - - -- (void)dealloc { -#if ! __has_feature(objc_arc) - [myChildren release]; - [myElementKey release]; - [myElementValue release]; - - [super dealloc]; -#endif -} - -@end - -#pragma mark - - -@implementation XMLRPCEventBasedParserDelegate (NSXMLParserDelegate) - -- (void)parser: (NSXMLParser *)parser didStartElement: (NSString *)element namespaceURI: (NSString *)namespaceURI qualifiedName: (NSString *)qualifiedName attributes: (NSDictionary *)attributes { - if ([element isEqualToString: @"value"] || [element isEqualToString: @"member"] || [element isEqualToString: @"name"]) { - XMLRPCEventBasedParserDelegate *parserDelegate = [[XMLRPCEventBasedParserDelegate alloc] initWithParent: self]; - - if ([element isEqualToString: @"member"]) { - [parserDelegate setElementType: XMLRPCElementTypeMember]; - } else if ([element isEqualToString: @"name"]) { - [parserDelegate setElementType: XMLRPCElementTypeName]; - } - - [myChildren addObject: parserDelegate]; - - [parser setDelegate: parserDelegate]; -#if ! __has_feature(objc_arc) - [parserDelegate release]; -#endif - return; - } - - if ([element isEqualToString: @"array"]) { - NSMutableArray *array = [[NSMutableArray alloc] init]; - - [self setElementValue: array]; -#if ! __has_feature(objc_arc) - [array release]; -#endif - [self setElementType: XMLRPCElementTypeArray]; - } else if ([element isEqualToString: @"struct"]) { - NSMutableDictionary *dictionary = [[NSMutableDictionary alloc] init]; - - [self setElementValue: dictionary]; -#if ! __has_feature(objc_arc) - [dictionary release]; -#endif - [self setElementType: XMLRPCElementTypeDictionary]; - } else if ([element isEqualToString: @"int"] || [element isEqualToString: @"i4"]) { - [self setElementType: XMLRPCElementTypeInteger]; - } else if ([element isEqualToString: @"double"]) { - [self setElementType: XMLRPCElementTypeDouble]; - } else if ([element isEqualToString: @"boolean"]) { - [self setElementType: XMLRPCElementTypeBoolean]; - } else if ([element isEqualToString: @"string"]) { - [self setElementType: XMLRPCElementTypeString]; - } else if ([element isEqualToString: @"dateTime.iso8601"]) { - [self setElementType: XMLRPCElementTypeDate]; - } else if ([element isEqualToString: @"base64"]) { - [self setElementType: XMLRPCElementTypeData]; - } -} - -- (void)parser: (NSXMLParser *)parser didEndElement: (NSString *)element namespaceURI: (NSString *)namespaceURI qualifiedName: (NSString *)qualifiedName { - if ([element isEqualToString: @"value"] || [element isEqualToString: @"member"] || [element isEqualToString: @"name"]) { - NSString *elementValue = nil; - - if ((myElementType != XMLRPCElementTypeArray) && ![self isDictionaryElementType: myElementType]) { - elementValue = [self parseString: myElementValue]; -#if ! __has_feature(objc_arc) - [myElementValue release]; -#endif - myElementValue = nil; - } - - switch (myElementType) { - case XMLRPCElementTypeInteger: - myElementValue = [self parseInteger: elementValue]; -#if ! __has_feature(objc_arc) - [myElementValue retain]; -#endif - break; - case XMLRPCElementTypeDouble: - myElementValue = [self parseDouble: elementValue]; -#if ! __has_feature(objc_arc) - [myElementValue retain]; -#endif - break; - case XMLRPCElementTypeBoolean: - myElementValue = [self parseBoolean: elementValue]; -#if ! __has_feature(objc_arc) - [myElementValue retain]; -#endif - break; - case XMLRPCElementTypeString: - case XMLRPCElementTypeName: - myElementValue = elementValue; -#if ! __has_feature(objc_arc) - [myElementValue retain]; -#endif - break; - case XMLRPCElementTypeDate: - myElementValue = [self parseDate: elementValue]; -#if ! __has_feature(objc_arc) - [myElementValue retain]; -#endif - break; - case XMLRPCElementTypeData: - myElementValue = [self parseData: elementValue]; -#if ! __has_feature(objc_arc) - [myElementValue retain]; -#endif - break; - default: - break; - } - - if (myParent && myElementValue) { - [self addElementValueToParent]; - } - - [parser setDelegate: myParent]; - } -} - -- (void)parser: (NSXMLParser *)parser foundCharacters: (NSString *)string { - if ((myElementType == XMLRPCElementTypeArray) || [self isDictionaryElementType: myElementType]) { - return; - } - - if (!myElementValue) { - myElementValue = [[NSMutableString alloc] initWithString: string]; - } else { - [myElementValue appendString: string]; - } -} - -- (void)parser: (NSXMLParser *)parser parseErrorOccurred: (NSError *)parseError { - [parser abortParsing]; -} - -@end - -#pragma mark - - -@implementation XMLRPCEventBasedParserDelegate (XMLRPCEventBasedParserDelegatePrivate) - -- (BOOL)isDictionaryElementType: (XMLRPCElementType)elementType { - if ((myElementType == XMLRPCElementTypeDictionary) || (myElementType == XMLRPCElementTypeMember)) { - return YES; - } - - return NO; -} - -#pragma mark - - -- (void)addElementValueToParent { - id parentElementValue = [myParent elementValue]; - - switch ([myParent elementType]) { - case XMLRPCElementTypeArray: - [parentElementValue addObject: myElementValue]; - - break; - case XMLRPCElementTypeDictionary: - if ([myElementValue isEqual:[NSNull null]]) { - [parentElementValue removeObjectForKey:myElementKey]; - } else { - [parentElementValue setObject: myElementValue forKey: myElementKey]; - } - - break; - case XMLRPCElementTypeMember: - if (myElementType == XMLRPCElementTypeName) { - [myParent setElementKey: myElementValue]; - } else { - [myParent setElementValue: myElementValue]; - } - - break; - default: - break; - } -} - -#pragma mark - - -- (NSDate *)parseDateString: (NSString *)dateString withFormat: (NSString *)format { - NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init]; - NSDate *result = nil; - - [dateFormatter setDateFormat: format]; - - result = [dateFormatter dateFromString: dateString]; -#if ! __has_feature(objc_arc) - [dateFormatter release]; -#endif - return result; -} - -#pragma mark - - -- (NSNumber *)parseInteger: (NSString *)value { - return [NSNumber numberWithInteger: [value integerValue]]; -} - -- (NSNumber *)parseDouble: (NSString *)value { - return [NSNumber numberWithDouble: [value doubleValue]]; -} - -- (NSNumber *)parseBoolean: (NSString *)value { - if ([value isEqualToString: @"1"]) { - return [NSNumber numberWithBool: YES]; - } - - return [NSNumber numberWithBool: NO]; -} - -- (NSString *)parseString: (NSString *)value { - return [value stringByTrimmingCharactersInSet: [NSCharacterSet whitespaceAndNewlineCharacterSet]]; -} - -- (NSDate *)parseDate: (NSString *)value { - NSDate *result = nil; - - result = [self parseDateString: value withFormat: @"yyyyMMdd'T'HH:mm:ss"]; - - if (!result) { - result = [self parseDateString: value withFormat: @"yyyy'-'MM'-'dd'T'HH:mm:ss"]; - } - - if (!result) { - result = (NSDate *)[NSNull null]; - } - - return result; -} - -- (NSData *)parseData: (NSString *)value { - return [NSData dataFromBase64String: value]; -} - -@end diff --git a/Classes/Utils/XMLRPC/XMLRPCRequest.h b/Classes/Utils/XMLRPC/XMLRPCRequest.h deleted file mode 100755 index 250dfb975..000000000 --- a/Classes/Utils/XMLRPC/XMLRPCRequest.h +++ /dev/null @@ -1,51 +0,0 @@ -#import - -#import "XMLRPCEncoder.h" - -@interface XMLRPCRequest : NSObject { - NSMutableURLRequest *myRequest; - id myXMLEncoder; -} - -- (id)initWithURL: (NSURL *)URL; - -#pragma mark - - -- (void)setURL: (NSURL *)URL; - -- (NSURL *)URL; - -#pragma mark - - -- (void)setUserAgent: (NSString *)userAgent; - -- (NSString *)userAgent; - -#pragma mark - -- (void)setEncoder: (id) encoder; - -- (void)setMethod: (NSString *)method; - -- (void)setMethod: (NSString *)method withParameter: (id)parameter; - -- (void)setMethod: (NSString *)method withParameters: (NSArray *)parameters; - -#pragma mark - - -- (NSString *)method; - -- (NSArray *)parameters; - -#pragma mark - - -- (NSString *)body; - -#pragma mark - - -- (NSURLRequest *)request; - -#pragma mark - - -- (void)setValue: (NSString *)value forHTTPHeaderField: (NSString *)header; - -@end diff --git a/Classes/Utils/XMLRPC/XMLRPCRequest.m b/Classes/Utils/XMLRPC/XMLRPCRequest.m deleted file mode 100755 index d01427b07..000000000 --- a/Classes/Utils/XMLRPC/XMLRPCRequest.m +++ /dev/null @@ -1,165 +0,0 @@ -#import "XMLRPCRequest.h" -#import "XMLRPCEncoder.h" -#import "XMLRPCDefaultEncoder.h" - -@implementation XMLRPCRequest - -- (id)initWithURL: (NSURL *)URL withEncoder: (id)encoder { - self = [super init]; - if (self) { - if (URL) { - myRequest = [[NSMutableURLRequest alloc] initWithURL: URL]; - } else { - myRequest = [[NSMutableURLRequest alloc] init]; - } - - myXMLEncoder = encoder; -#if ! __has_feature(objc_arc) - [myXMLEncoder retain]; -#endif - } - - return self; -} - -- (id)initWithURL: (NSURL *)URL { -#if ! __has_feature(objc_arc) - return [self initWithURL:URL withEncoder:[[[XMLRPCDefaultEncoder alloc] init] autorelease]]; -#else - return [self initWithURL:URL withEncoder:[[XMLRPCDefaultEncoder alloc] init]]; -#endif -} - -#pragma mark - - -- (void)setURL: (NSURL *)URL { - [myRequest setURL: URL]; -} - -- (NSURL *)URL { - return [myRequest URL]; -} - -#pragma mark - - -- (void)setUserAgent: (NSString *)userAgent { - if (![self userAgent]) { - [myRequest addValue: userAgent forHTTPHeaderField: @"User-Agent"]; - } else { - [myRequest setValue: userAgent forHTTPHeaderField: @"User-Agent"]; - } -} - -- (NSString *)userAgent { - return [myRequest valueForHTTPHeaderField: @"User-Agent"]; -} - -#pragma mark - - -- (void)setEncoder:(id)encoder { - //Copy the old method and parameters to the new encoder. - NSString *method = [myXMLEncoder method]; - NSArray *parameters = [myXMLEncoder parameters]; -#if ! __has_feature(objc_arc) - [myXMLEncoder release]; - myXMLEncoder = [encoder retain]; -#else - myXMLEncoder = encoder; -#endif - [myXMLEncoder setMethod:method withParameters:parameters]; -} - -- (void)setMethod: (NSString *)method { - [myXMLEncoder setMethod: method withParameters: nil]; -} - -- (void)setMethod: (NSString *)method withParameter: (id)parameter { - NSArray *parameters = nil; - - if (parameter) { - parameters = [NSArray arrayWithObject: parameter]; - } - - [myXMLEncoder setMethod: method withParameters: parameters]; -} - -- (void)setMethod: (NSString *)method withParameters: (NSArray *)parameters { - [myXMLEncoder setMethod: method withParameters: parameters]; -} - -#pragma mark - - -- (NSString *)method { - return [myXMLEncoder method]; -} - -- (NSArray *)parameters { - return [myXMLEncoder parameters]; -} - -#pragma mark - - -- (NSString *)body { - return [myXMLEncoder encode]; -} - -#pragma mark - - -- (NSURLRequest *)request { - NSData *content = [[self body] dataUsingEncoding: NSUTF8StringEncoding]; - NSNumber *contentLength = [NSNumber numberWithLong: [content length]]; - - if (!myRequest) { - return nil; - } - - [myRequest setHTTPMethod: @"POST"]; - - if (![myRequest valueForHTTPHeaderField: @"Content-Type"]) { - [myRequest addValue: @"text/xml" forHTTPHeaderField: @"Content-Type"]; - } else { - [myRequest setValue: @"text/xml" forHTTPHeaderField: @"Content-Type"]; - } - - if (![myRequest valueForHTTPHeaderField: @"Content-Length"]) { - [myRequest addValue: [contentLength stringValue] forHTTPHeaderField: @"Content-Length"]; - } else { - [myRequest setValue: [contentLength stringValue] forHTTPHeaderField: @"Content-Length"]; - } - - if (![myRequest valueForHTTPHeaderField: @"Accept"]) { - [myRequest addValue: @"text/xml" forHTTPHeaderField: @"Accept"]; - } else { - [myRequest setValue: @"text/xml" forHTTPHeaderField: @"Accept"]; - } - - if (![self userAgent]) { - NSString *userAgent = [[NSUserDefaults standardUserDefaults] objectForKey:@"UserAgent"]; - if (userAgent) { - [self setUserAgent:userAgent]; - } - } - - [myRequest setHTTPBody: content]; - - return (NSURLRequest *)myRequest; -} - -#pragma mark - - -- (void)setValue: (NSString *)value forHTTPHeaderField: (NSString *)header { - [myRequest setValue: value forHTTPHeaderField: header]; -} - -#pragma mark - - -- (void)dealloc { -#if ! __has_feature(objc_arc) - [myRequest release]; - [myXMLEncoder release]; - - [super dealloc]; -#endif -} - -@end diff --git a/Classes/Utils/XMLRPC/XMLRPCResponse.h b/Classes/Utils/XMLRPC/XMLRPCResponse.h deleted file mode 100755 index a5509323b..000000000 --- a/Classes/Utils/XMLRPC/XMLRPCResponse.h +++ /dev/null @@ -1,33 +0,0 @@ -#import - -@class XMLRPCDecoder; - -@interface XMLRPCResponse : NSObject { - NSString *myBody; - id myObject; - BOOL isFault; -} - -- (id)initWithData: (NSData *)data; - -#pragma mark - - -- (BOOL)isFault; - -- (NSNumber *)faultCode; - -- (NSString *)faultString; - -#pragma mark - - -- (id)object; - -#pragma mark - - -- (NSString *)body; - -#pragma mark - - -- (NSString *)description; - -@end diff --git a/Classes/Utils/XMLRPC/XMLRPCResponse.m b/Classes/Utils/XMLRPC/XMLRPCResponse.m deleted file mode 100755 index 38b84678b..000000000 --- a/Classes/Utils/XMLRPC/XMLRPCResponse.m +++ /dev/null @@ -1,97 +0,0 @@ -#import "XMLRPCResponse.h" -#import "XMLRPCEventBasedParser.h" - -@implementation XMLRPCResponse - -- (id)initWithData: (NSData *)data { - if (!data) { - return nil; - } - - self = [super init]; - if (self) { - XMLRPCEventBasedParser *parser = [[XMLRPCEventBasedParser alloc] initWithData: data]; - - if (!parser) { -#if ! __has_feature(objc_arc) - [self release]; -#endif - return nil; - } - - myBody = [[NSString alloc] initWithData: data encoding: NSUTF8StringEncoding]; - myObject = [parser parse]; -#if ! __has_feature(objc_arc) - [myObject retain]; -#endif - - isFault = [parser isFault]; - -#if ! __has_feature(objc_arc) - [parser release]; -#endif - } - - return self; -} - -#pragma mark - - -- (BOOL)isFault { - return isFault; -} - -- (NSNumber *)faultCode { - if (isFault) { - return [myObject objectForKey: @"faultCode"]; - } - - return nil; -} - -- (NSString *)faultString { - if (isFault) { - return [myObject objectForKey: @"faultString"]; - } - - return nil; -} - -#pragma mark - - -- (id)object { - return myObject; -} - -#pragma mark - - -- (NSString *)body { - return myBody; -} - -#pragma mark - - -- (NSString *)description { - NSMutableString *msg = [NSMutableString stringWithCapacity:128]; - [msg appendFormat:@"[body=%@", myBody]; - if (isFault) { - [msg appendFormat:@", fault[%@]='%@'", [self faultCode], [self faultString]]; - } else { - [msg appendFormat:@", obj=%@", myObject]; - } - [msg appendString:@"]"]; - return msg; -} - -#pragma mark - - -- (void)dealloc { -#if ! __has_feature(objc_arc) - [myBody release]; - [myObject release]; - - [super dealloc]; -#endif -} - -@end diff --git a/Classes/Utils/XMLRPC/ar.lproj/InfoPlist.strings b/Classes/Utils/XMLRPC/ar.lproj/InfoPlist.strings deleted file mode 100755 index 0bddbc344..000000000 Binary files a/Classes/Utils/XMLRPC/ar.lproj/InfoPlist.strings and /dev/null differ diff --git a/Classes/Utils/XMLRPCHelper.h b/Classes/Utils/XMLRPCHelper.h index 44fcd4a80..f69f20718 100644 --- a/Classes/Utils/XMLRPCHelper.h +++ b/Classes/Utils/XMLRPCHelper.h @@ -1,46 +1,27 @@ // -// UrmetXMLRPC.h -// IperVoice +// XMLRPCHelper.h +// Linphone // -// Created by guillaume on 27/05/2015. -// Copyright (c) 2015 Urmet. All rights reserved. +// Created by Brieuc on 06/09/2016. // -#import -#import -#import -#import -#import - -@interface XMLRPCHelper : NSObject -/* This class is only here to handle XMLRPC responses. - * - * The implementation for didReceiveResponse: (XMLRPCResponse *)response will check if the XMLRPC - * responded 'OK', in which case the view will return to idle, or if there is an error, an - * Alert will be displayed with the error message. +@interface XMLRPCHelper : NSObject +/* This class is only here to handle * * All the rest is implemented to do nothing */ -/** - * Will send the XML request to the 'xmlrpc_url' server that is defined in the 'assistant' section - * of the linphonerc file. - * You must implement the - didReceiveResponse method if you are using this. - */ -- (void)sendXMLRequestMethod:(NSString *)method withParams:(NSArray *)params; -- (void)sendXMLRequestMethod:(NSString *)method - withParams:(NSArray *)params - onSuccess:(BOOL (^)(XMLRPCResponse *response))block; -- (void)sendXMLRequestMethod:(NSString *)method - withParams:(NSArray *)params - onSuccess:(BOOL (^)(XMLRPCResponse *response))successBlock - onError:(BOOL (^)(XMLRPCRequest *response))errorBlock; ++ (void)sendXMLRPCRequest:(NSString *)method; ++ (void)sendXMLRPCRequestWithParams:(NSString *)method withParams:(NSArray *)params; ++ (void)sendXMLRPCRequestWithParams:(NSString *)method + withParams:(NSArray *)params + onSuccess:(void (^)(NSString *response))block; ++ (void)sendXMLRPCRequestWithParams:(NSString *)method + withParams:(NSArray *)params + onSuccess:(void (^)(NSString *response))successBlock + onError:(void (^)(NSString *response))errorBlock; -// CUSTOM API - -+ (void)GetProvisioningURL:(NSString *)username - password:(NSString *)password - domain:(NSString *)domain - OnSuccess:(void (^)(NSString *url))onSucess; +- (void)dealWithXmlRpcResponse:(LinphoneXmlRpcRequest *)request; +- (void)displayErrorPopup:(NSString *)error; @end diff --git a/Classes/Utils/XMLRPCHelper.m b/Classes/Utils/XMLRPCHelper.m index d24185ea7..9e9cf17d3 100644 --- a/Classes/Utils/XMLRPCHelper.m +++ b/Classes/Utils/XMLRPCHelper.m @@ -13,115 +13,91 @@ #import "XMLRPCHelper.h" #import "Utils.h" -/* This subclass allows use to store the block to execute on success */ -@interface BlockXMLRPCRequest : XMLRPCRequest -@property(copy, nonatomic) BOOL (^successBlock)(XMLRPCResponse *response); -@property(copy, nonatomic) BOOL (^xmlErrorBlock)(XMLRPCRequest *request); -@end - -@implementation BlockXMLRPCRequest -@end @implementation XMLRPCHelper #pragma mark - API -static XMLRPCHelper *xmlManager = nil; +typedef void (^XMLRPCHelperBlock)(NSString *something); -+ (XMLRPCHelper *)xml { - @synchronized(self) { - if (xmlManager == nil) { - xmlManager = [[XMLRPCHelper alloc] init]; - } - } - return xmlManager; +XMLRPCHelperBlock successBlock = nil; +XMLRPCHelperBlock errorBlock = nil; + +/*****************************************************************************************/ + ++ (void)sendXMLRPCRequest:(NSString *)method { + [self sendXMLRPCRequestWithParams:method withParams:nil onSuccess:nil onError:nil]; } -- (void)sendXMLRequestMethod:(NSString *)method withParams:(NSArray *)params { - [self sendXMLRequestMethod:method withParams:params onSuccess:nil onError:nil]; ++ (void)sendXMLRPCRequestWithParams:(NSString *)method withParams:(NSArray *)params { + [self sendXMLRPCRequestWithParams:method withParams:params onSuccess:nil onError:nil]; } -- (void)sendXMLRequestMethod:(NSString *)method - withParams:(NSArray *)params - onSuccess:(BOOL (^)(XMLRPCResponse *))successBlock { - [self sendXMLRequestMethod:method withParams:params onSuccess:successBlock onError:nil]; ++ (void)sendXMLRPCRequestWithParams:(NSString *)method + withParams:(NSArray *)params + onSuccess:(void (^)(NSString *))successBk { + [self sendXMLRPCRequestWithParams:method withParams:params onSuccess:successBk onError:nil]; } -- (void)sendXMLRequestMethod:(NSString *)method - withParams:(NSArray *)params - onSuccess:(BOOL (^)(XMLRPCResponse *))successBlock - onError:(BOOL (^)(XMLRPCRequest *req))errorBlock { +// change block by callback and implement callback with different behavior if success (: call InAppManager) or error (: +// manage error here) ++ (void)sendXMLRPCRequestWithParams:(NSString *)method + withParams:(NSArray *)params + onSuccess:(void (^)(NSString *))successBk + onError:(void (^)(NSString *req))errorBk { LOGI(@"XMLRPC %@ - %@", method, params); - NSURL *URL = - [NSURL URLWithString:[LinphoneManager.instance lpConfigStringForKey:@"xmlrpc_url" inSection:@"assistant"]]; - BlockXMLRPCRequest *request = [[BlockXMLRPCRequest alloc] initWithURL:URL]; - [request setMethod:method withParameters:params]; - if (successBlock) { - request.successBlock = successBlock; - } - if (errorBlock) { - request.xmlErrorBlock = errorBlock; + const char *URL = + [LinphoneManager.instance lpConfigStringForKey:@"receipt_validation_url" inSection:@"in_app_purchase"] + .UTF8String; + + successBlock = successBk; + errorBlock = errorBk; + + // Create LinphoneXMLRPCRequest + LinphoneXmlRpcSession *requestSession = linphone_xml_rpc_session_new(LC, URL); + LinphoneXmlRpcRequest *request = linphone_xml_rpc_request_new(method.UTF8String, LinphoneXmlRpcArgString); + + // Set argument to this LinphoneXMLRPCRequest + for (NSString *item in params) { + NSLog(@"Linphone XMLRPC Request with argument: %@", item); + linphone_xml_rpc_request_add_string_arg(request, item.UTF8String); } - XMLRPCConnectionManager *manager = [XMLRPCConnectionManager sharedManager]; - [manager spawnConnectionWithXMLRPCRequest:request delegate:self]; + // Ref and send the LinphoneXMLRPCRequest + requestSession = linphone_xml_rpc_session_ref(requestSession); + linphone_xml_rpc_session_send_request(requestSession, request); + + // Set the callbacks to this LinphoneXMLRPCRequest + LinphoneXmlRpcRequestCbs *cbs = linphone_xml_rpc_request_get_callbacks(request); + + // Register XMLRPCHelper in user data to get it back on Callback rised + XMLRPCHelper *xMLRPCHelper = [[XMLRPCHelper alloc] init]; + linphone_xml_rpc_request_set_user_data(request, ((void *)CFBridgingRetain(xMLRPCHelper))); + + // Set the response Callback + linphone_xml_rpc_request_cbs_set_response(cbs, linphone_xmlrpc_call_back_received); } -#pragma mark - XMLRPCConnectionHandler delegate - -- (void)request:(XMLRPCRequest *)request didReceiveResponse:(XMLRPCResponse *)response { - - BlockXMLRPCRequest *req = (BlockXMLRPCRequest *)request; - NSString *error = nil; - BOOL handleHere = YES; - - LOGI(@"XMLRPC %@ - %@", [request method], [response body]); - - if (req.successBlock) { - handleHere = req.successBlock(response); - } - if (!handleHere) - return; - - if ([response isFault]) { - error = response.faultString; - } else if (response.object != nil && ![response.object isEqualToString:@"OK"]) { - error = NSLocalizedString(@"Unknown error", nil); - } else if ([response.object isEqualToString:@"OK"]) { - // do nothing, if the client is interested in the response he will have handled it - } else { - LOGE(@"Empty object for XMLRPC response: HTTP error"); - error = NSLocalizedString(@"(no description)", nil); - } - - if (error != nil) { - [self displayErrorPopup:error]; - } +static void linphone_xmlrpc_call_back_received(LinphoneXmlRpcRequest *request) { + [(__bridge XMLRPCHelper *)linphone_xml_rpc_request_get_user_data(request) dealWithXmlRpcResponse:request]; } -- (void)request:(XMLRPCRequest *)request didFailWithError:(NSError *)error { - BlockXMLRPCRequest *req = (BlockXMLRPCRequest *)request; - BOOL handleHere = YES; - if (req.xmlErrorBlock) { - handleHere = req.xmlErrorBlock(request); +- (void)dealWithXmlRpcResponse:(LinphoneXmlRpcRequest *)request { + NSString *responseString = + [NSString stringWithFormat:@"%s", (linphone_xml_rpc_request_get_string_response(request))]; + LOGI(@"XMLRPC query: %@", responseString); + if (linphone_xml_rpc_request_get_status(request) == LinphoneXmlRpcStatusOk) { + // Call success block + successBlock(responseString); + } else if (linphone_xml_rpc_request_get_status(request) == LinphoneXmlRpcStatusFailed) { + if (errorBlock != nil) { + LOGI(@"XMLRPC query ErrorBlock rised"); + errorBlock(responseString); + } + // Display Error alert + [self displayErrorPopup:@"LinphoneXMLRPC Request Failed"]; } - if (!handleHere) - return; - // do not display technical message to the user.. - [self displayErrorPopup:NSLocalizedString(@"Server error", nil)]; // error.localizedDescription]; - LOGE(@"requestDidFailWithError: %@", error.localizedDescription); -} - -- (BOOL)request:(XMLRPCRequest *)request canAuthenticateAgainstProtectionSpace:(NSURLProtectionSpace *)protectionSpace { - return NO; -} - -- (void)request:(XMLRPCRequest *)request didReceiveAuthenticationChallenge:(NSURLAuthenticationChallenge *)challenge { - /* Do nothing, not needed */ -} - -- (void)request:(XMLRPCRequest *)request didCancelAuthenticationChallenge:(NSURLAuthenticationChallenge *)challenge { - /* Do nothing, not needed */ + linphone_xml_rpc_request_unref(request); } #pragma mark - Error alerts @@ -132,34 +108,6 @@ static XMLRPCHelper *xmlManager = nil; [av show]; } -+ (void)GetProvisioningURL:(NSString *)username - password:(NSString *)password - domain:(NSString *)domain - OnSuccess:(void (^)(NSString *response))onSuccess { - if (!username || !password || !domain) { - onSuccess(nil); - return; - } - - [self.class.xml sendXMLRequestMethod:@"get_remote_provisioning_filename" - withParams:@[ username, password, domain ] - onSuccess:^BOOL(XMLRPCResponse *response) { - if (!response.isFault && response.object) { - NSString *url = - [NSString stringWithFormat:@"%@/%@.xml", - [LinphoneManager.instance lpConfigStringForKey:@"remote_prosivioning_root" - inSection:@"assistant"], - response.object]; - onSuccess(url); - } else { - onSuccess(nil); - } - return FALSE; - - } - onError:^BOOL(XMLRPCRequest *request) { - onSuccess(nil); - return FALSE; - }]; -} @end + +/*****************************************************************************************/ diff --git a/Resources/linphonerc-factory b/Resources/linphonerc-factory index 24ae36874..7b8ea14ad 100644 --- a/Resources/linphonerc-factory +++ b/Resources/linphonerc-factory @@ -23,7 +23,7 @@ username_length=-1 [in_app_purchase] #set to 1 if in-app purchases are to be shown in the application -enabled=0 +enabled=1 #specify here the id of the sip account in-app purchase service to be shown in the shop section of the app paid_account_id=sipAccount_12m diff --git a/linphone.xcodeproj/project.pbxproj b/linphone.xcodeproj/project.pbxproj index 6305cc190..69eaaefbc 100755 --- a/linphone.xcodeproj/project.pbxproj +++ b/linphone.xcodeproj/project.pbxproj @@ -667,7 +667,6 @@ 70E542F313E147E3002BA2C0 /* OpenGLES.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 70E542F213E147E3002BA2C0 /* OpenGLES.framework */; }; 70E542F513E147EB002BA2C0 /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 70E542F413E147EB002BA2C0 /* QuartzCore.framework */; }; C90FAA7915AF54E6002091CB /* HistoryDetailsView.m in Sources */ = {isa = PBXBuildFile; fileRef = C90FAA7715AF54E6002091CB /* HistoryDetailsView.m */; }; - D30562161671DC4900C97967 /* libXMLRPC.a in Frameworks */ = {isa = PBXBuildFile; fileRef = D3554ED115CA79AA00478841 /* libXMLRPC.a */; }; D306459E1611EC2A00BB571E /* UILoadingImageView.m in Sources */ = {isa = PBXBuildFile; fileRef = D306459D1611EC2900BB571E /* UILoadingImageView.m */; }; D3128FE115AABC7E00A2147A /* ContactDetailsView.m in Sources */ = {isa = PBXBuildFile; fileRef = D3128FDF15AABC7E00A2147A /* ContactDetailsView.m */; }; D31AAF5E159B3919002C6B02 /* CallPausedTableView.m in Sources */ = {isa = PBXBuildFile; fileRef = D31AAF5D159B3919002C6B02 /* CallPausedTableView.m */; }; @@ -835,20 +834,6 @@ remoteGlobalIDString = FAB8A0141CAC546A00C6DFC1; remoteInfo = KIFFrameworkConsumerTests; }; - D3554ED015CA79AA00478841 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D3554EC515CA79A900478841 /* XMLRPC.xcodeproj */; - proxyType = 2; - remoteGlobalIDString = 903B0DB612F7574800BD6E09; - remoteInfo = libXMLRPC; - }; - D3554ED415CA79B900478841 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D3554EC515CA79A900478841 /* XMLRPC.xcodeproj */; - proxyType = 1; - remoteGlobalIDString = 903B0DB512F7574800BD6E09; - remoteInfo = libXMLRPC; - }; F08F119119C09C6B007D70C2 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 29B97313FDCFA39411CA2CEA /* Project object */; @@ -1627,7 +1612,6 @@ D3549815158761D0000081D8 /* ContactsListTableView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = ContactsListTableView.m; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.objc; }; D354981E1587716B000081D8 /* StatusBarView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = StatusBarView.h; path = LinphoneUI/StatusBarView.h; sourceTree = ""; }; D354981F1587716B000081D8 /* StatusBarView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = StatusBarView.m; path = LinphoneUI/StatusBarView.m; sourceTree = ""; }; - D3554EC515CA79A900478841 /* XMLRPC.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = XMLRPC.xcodeproj; path = Utils/XMLRPC/XMLRPC.xcodeproj; sourceTree = ""; }; D35860D515B549B500513429 /* Utils.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = Utils.m; path = Utils/Utils.m; sourceTree = ""; }; D35E7594159460560066B1C1 /* ChatsListView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ChatsListView.h; sourceTree = ""; }; D35E7595159460560066B1C1 /* ChatsListView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ChatsListView.m; sourceTree = ""; }; @@ -1862,7 +1846,6 @@ 70E542F513E147EB002BA2C0 /* QuartzCore.framework in Frameworks */, 2264B6D211200342002C2C53 /* SystemConfiguration.framework in Frameworks */, 1DF5F4E00D08C38300B7A737 /* UIKit.framework in Frameworks */, - D30562161671DC4900C97967 /* libXMLRPC.a in Frameworks */, F0B026F31AA710AF00FF49F7 /* libiconv.dylib in Frameworks */, F05BAA621A5D594E00411815 /* libz.dylib in Frameworks */, 344ABDF114850AE9007420B6 /* libc++.1.dylib in Frameworks */, @@ -2910,7 +2893,6 @@ 6308F9C41BF0DD6600D1234B /* XMLRPCHelper.m */, C9B3A6FD15B485DB006F52EE /* Utils.h */, D35860D515B549B500513429 /* Utils.m */, - D3554EC515CA79A900478841 /* XMLRPC.xcodeproj */, 63D11C521C3D501200E8FCEE /* Log.m */, 63D11C541C3D503A00E8FCEE /* Log.h */, 63423C081C4501D000D9A050 /* Contact.h */, @@ -2919,14 +2901,6 @@ name = Utils; sourceTree = ""; }; - D3554EC615CA79A900478841 /* Products */ = { - isa = PBXGroup; - children = ( - D3554ED115CA79AA00478841 /* libXMLRPC.a */, - ); - name = Products; - sourceTree = ""; - }; D37E3ECA1619C27A0087659A /* CAAnimationBlocks */ = { isa = PBXGroup; children = ( @@ -3060,7 +3034,6 @@ buildRules = ( ); dependencies = ( - D3554ED515CA79B900478841 /* PBXTargetDependency */, ); name = linphone; productName = linphone; @@ -3180,10 +3153,6 @@ ProductGroup = 630589F31B4E816900EFAE36 /* Products */; ProjectRef = 630589F21B4E816900EFAE36 /* KIF.xcodeproj */; }, - { - ProductGroup = D3554EC615CA79A900478841 /* Products */; - ProjectRef = D3554EC515CA79A900478841 /* XMLRPC.xcodeproj */; - }, ); projectRoot = ""; targets = ( @@ -3238,13 +3207,6 @@ remoteRef = 633FC7C91CD7466400774B8B /* PBXContainerItemProxy */; sourceTree = BUILT_PRODUCTS_DIR; }; - D3554ED115CA79AA00478841 /* libXMLRPC.a */ = { - isa = PBXReferenceProxy; - fileType = archive.ar; - path = libXMLRPC.a; - remoteRef = D3554ED015CA79AA00478841 /* PBXContainerItemProxy */; - sourceTree = BUILT_PRODUCTS_DIR; - }; /* End PBXReferenceProxy section */ /* Begin PBXResourcesBuildPhase section */ @@ -4000,11 +3962,6 @@ name = KIF; targetProxy = 63058A4D1B4E832500EFAE36 /* PBXContainerItemProxy */; }; - D3554ED515CA79B900478841 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = libXMLRPC; - targetProxy = D3554ED415CA79B900478841 /* PBXContainerItemProxy */; - }; F08F119219C09C6B007D70C2 /* PBXTargetDependency */ = { isa = PBXTargetDependency; target = F0BB8BD41936208100974404 /* liblinphoneTester */; diff --git a/submodules/bctoolbox b/submodules/bctoolbox index c11f1e70a..aa4889531 160000 --- a/submodules/bctoolbox +++ b/submodules/bctoolbox @@ -1 +1 @@ -Subproject commit c11f1e70ad21d81e443b9678f22b9e2b2d0a8b77 +Subproject commit aa4889531a906c07dcf2270a6a08f3d12a7e7948 diff --git a/submodules/belle-sip b/submodules/belle-sip index b61dd749d..7b9e472b4 160000 --- a/submodules/belle-sip +++ b/submodules/belle-sip @@ -1 +1 @@ -Subproject commit b61dd749dec10d1f4bb715de6e0868b50c40f0d6 +Subproject commit 7b9e472b44f3267f5d1de511ab50ff345cf0050a diff --git a/submodules/linphone b/submodules/linphone index 510e9d92d..dce0f4d49 160000 --- a/submodules/linphone +++ b/submodules/linphone @@ -1 +1 @@ -Subproject commit 510e9d92d051c0bedc2803669f6aa81bda7c3cb9 +Subproject commit dce0f4d495d4ab239d39eb42b5bd2b3ef609815e