diff -r 9fdd8dba529c -r 2bd9d60a2c46 MYNetwork.xcodeproj/project.pbxproj --- a/MYNetwork.xcodeproj/project.pbxproj Sat May 24 17:25:06 2008 -0700 +++ b/MYNetwork.xcodeproj/project.pbxproj Sun May 25 10:28:26 2008 -0700 @@ -12,7 +12,6 @@ 270461150DE49030003D9D3F /* BLIPMessage.m in Sources */ = {isa = PBXBuildFile; fileRef = 270460F90DE49030003D9D3F /* BLIPMessage.m */; }; 270461160DE49030003D9D3F /* BLIPProperties.m in Sources */ = {isa = PBXBuildFile; fileRef = 270460FB0DE49030003D9D3F /* BLIPProperties.m */; }; 270461170DE49030003D9D3F /* BLIPReader.m in Sources */ = {isa = PBXBuildFile; fileRef = 270460FD0DE49030003D9D3F /* BLIPReader.m */; }; - 270461180DE49030003D9D3F /* BLIPTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 270460FE0DE49030003D9D3F /* BLIPTest.m */; }; 270461190DE49030003D9D3F /* BLIPWriter.m in Sources */ = {isa = PBXBuildFile; fileRef = 270461000DE49030003D9D3F /* BLIPWriter.m */; }; 2704611A0DE49030003D9D3F /* IPAddress.m in Sources */ = {isa = PBXBuildFile; fileRef = 270461020DE49030003D9D3F /* IPAddress.m */; }; 2704611B0DE49030003D9D3F /* TCPConnection.m in Sources */ = {isa = PBXBuildFile; fileRef = 2704610A0DE49030003D9D3F /* TCPConnection.m */; }; @@ -28,7 +27,27 @@ 270461890DE49634003D9D3F /* CollectionUtils.m in Sources */ = {isa = PBXBuildFile; fileRef = 270461870DE49634003D9D3F /* CollectionUtils.m */; }; 2704618C0DE49652003D9D3F /* libz.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 2704618B0DE49652003D9D3F /* libz.dylib */; }; 270461920DE4975D003D9D3F /* CoreServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 270461910DE4975C003D9D3F /* CoreServices.framework */; }; - 270462C20DE4A64B003D9D3F /* MYUtilitiesTest_main.m in Sources */ = {isa = PBXBuildFile; fileRef = 270462C10DE4A64B003D9D3F /* MYUtilitiesTest_main.m */; }; + 277904330DE91DE600C6D295 /* BLIPConnection.m in Sources */ = {isa = PBXBuildFile; fileRef = 270460F40DE49030003D9D3F /* BLIPConnection.m */; }; + 277904340DE91DE700C6D295 /* BLIPDispatcher.m in Sources */ = {isa = PBXBuildFile; fileRef = 270460F60DE49030003D9D3F /* BLIPDispatcher.m */; }; + 277904350DE91DE800C6D295 /* BLIPEchoClient.m in Sources */ = {isa = PBXBuildFile; fileRef = 277903E90DE8F08100C6D295 /* BLIPEchoClient.m */; }; + 277904370DE91DEB00C6D295 /* BLIPMessage.m in Sources */ = {isa = PBXBuildFile; fileRef = 270460F90DE49030003D9D3F /* BLIPMessage.m */; }; + 277904380DE91DEC00C6D295 /* BLIPProperties.m in Sources */ = {isa = PBXBuildFile; fileRef = 270460FB0DE49030003D9D3F /* BLIPProperties.m */; }; + 277904390DE91DEE00C6D295 /* BLIPReader.m in Sources */ = {isa = PBXBuildFile; fileRef = 270460FD0DE49030003D9D3F /* BLIPReader.m */; }; + 2779043A0DE91DEF00C6D295 /* BLIPRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = 27D5EC060DE5FEDE00CD84FA /* BLIPRequest.m */; }; + 2779043C0DE91DF100C6D295 /* BLIPWriter.m in Sources */ = {isa = PBXBuildFile; fileRef = 270461000DE49030003D9D3F /* BLIPWriter.m */; }; + 2779043D0DE91DF300C6D295 /* IPAddress.m in Sources */ = {isa = PBXBuildFile; fileRef = 270461020DE49030003D9D3F /* IPAddress.m */; }; + 2779043E0DE91DF500C6D295 /* TCPConnection.m in Sources */ = {isa = PBXBuildFile; fileRef = 2704610A0DE49030003D9D3F /* TCPConnection.m */; }; + 2779043F0DE91DF800C6D295 /* TCPEndpoint.m in Sources */ = {isa = PBXBuildFile; fileRef = 2704610C0DE49030003D9D3F /* TCPEndpoint.m */; }; + 277904400DE91DF900C6D295 /* TCPListener.m in Sources */ = {isa = PBXBuildFile; fileRef = 2704610E0DE49030003D9D3F /* TCPListener.m */; }; + 277904410DE91DFA00C6D295 /* TCPStream.m in Sources */ = {isa = PBXBuildFile; fileRef = 270461100DE49030003D9D3F /* TCPStream.m */; }; + 277904420DE91DFC00C6D295 /* TCPWriter.m in Sources */ = {isa = PBXBuildFile; fileRef = 270461120DE49030003D9D3F /* TCPWriter.m */; }; + 277904440DE91E3500C6D295 /* CollectionUtils.m in Sources */ = {isa = PBXBuildFile; fileRef = 270461870DE49634003D9D3F /* CollectionUtils.m */; }; + 277904450DE91E3600C6D295 /* ExceptionUtils.m in Sources */ = {isa = PBXBuildFile; fileRef = 270461350DE4918D003D9D3F /* ExceptionUtils.m */; }; + 277904460DE91E3700C6D295 /* Logging.m in Sources */ = {isa = PBXBuildFile; fileRef = 2704612A0DE49088003D9D3F /* Logging.m */; }; + 277904480DE91E3900C6D295 /* Target.m in Sources */ = {isa = PBXBuildFile; fileRef = 270461460DE491A6003D9D3F /* Target.m */; }; + 277904490DE91E3A00C6D295 /* Test.m in Sources */ = {isa = PBXBuildFile; fileRef = 270461280DE49088003D9D3F /* Test.m */; }; + 2779046D0DE91F4200C6D295 /* BLIPEchoServer.m in Sources */ = {isa = PBXBuildFile; fileRef = 277903D60DE8EE4800C6D295 /* BLIPEchoServer.m */; }; + 2779048B0DE9204300C6D295 /* BLIPEchoClient.xib in Resources */ = {isa = PBXBuildFile; fileRef = 2779048A0DE9204300C6D295 /* BLIPEchoClient.xib */; }; 27D5EC070DE5FEDE00CD84FA /* BLIPRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = 27D5EC060DE5FEDE00CD84FA /* BLIPRequest.m */; }; 8DD76F9C0486AA7600D96B5E /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 08FB779EFE84155DC02AAC07 /* Foundation.framework */; }; /* End PBXBuildFile section */ @@ -94,11 +113,26 @@ 270462C10DE4A64B003D9D3F /* MYUtilitiesTest_main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MYUtilitiesTest_main.m; sourceTree = ""; }; 270462C30DE4A65B003D9D3F /* BLIP Overview.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = "BLIP Overview.txt"; path = "BLIP/BLIP Overview.txt"; sourceTree = ""; wrapsLines = 1; }; 277903830DE8C2DD00C6D295 /* maindocs.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = maindocs.h; sourceTree = ""; wrapsLines = 1; }; + 277903D50DE8EE4800C6D295 /* BLIPEchoServer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BLIPEchoServer.h; sourceTree = ""; }; + 277903D60DE8EE4800C6D295 /* BLIPEchoServer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BLIPEchoServer.m; sourceTree = ""; }; + 277903D80DE8EFC900C6D295 /* BLIP.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BLIP.h; sourceTree = ""; }; + 277903E80DE8F08100C6D295 /* BLIPEchoClient.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BLIPEchoClient.h; sourceTree = ""; }; + 277903E90DE8F08100C6D295 /* BLIPEchoClient.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BLIPEchoClient.m; sourceTree = ""; }; + 277904260DE91C7900C6D295 /* BLIP Echo Client.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "BLIP Echo Client.app"; sourceTree = BUILT_PRODUCTS_DIR; }; + 277904280DE91C7900C6D295 /* BLIP Echo Client-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "BLIP Echo Client-Info.plist"; sourceTree = ""; }; + 2779048A0DE9204300C6D295 /* BLIPEchoClient.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = BLIPEchoClient.xib; sourceTree = ""; }; 27D5EC050DE5FEDE00CD84FA /* BLIPRequest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BLIPRequest.h; sourceTree = ""; }; 27D5EC060DE5FEDE00CD84FA /* BLIPRequest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BLIPRequest.m; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ + 277904240DE91C7900C6D295 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; 8DD76F9B0486AA7600D96B5E /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; @@ -140,6 +174,7 @@ isa = PBXGroup; children = ( 270461720DE49340003D9D3F /* MYNetwork */, + 277904260DE91C7900C6D295 /* BLIP Echo Client.app */, ); name = Products; sourceTree = ""; @@ -158,6 +193,7 @@ 270460F10DE49030003D9D3F /* BLIP */ = { isa = PBXGroup; children = ( + 277903D80DE8EFC900C6D295 /* BLIP.h */, 270460F30DE49030003D9D3F /* BLIPConnection.h */, 270460F40DE49030003D9D3F /* BLIPConnection.m */, 270460F50DE49030003D9D3F /* BLIPDispatcher.h */, @@ -174,6 +210,7 @@ 270461000DE49030003D9D3F /* BLIPWriter.m */, 270460FE0DE49030003D9D3F /* BLIPTest.m */, 270460F70DE49030003D9D3F /* BLIP_Internal.h */, + 277903E70DE8F05F00C6D295 /* Demo */, ); path = BLIP; sourceTree = ""; @@ -226,9 +263,39 @@ name = "google-toolbox"; sourceTree = "google-toolbox"; }; + 277903E70DE8F05F00C6D295 /* Demo */ = { + isa = PBXGroup; + children = ( + 277903D50DE8EE4800C6D295 /* BLIPEchoServer.h */, + 277903D60DE8EE4800C6D295 /* BLIPEchoServer.m */, + 277903E80DE8F08100C6D295 /* BLIPEchoClient.h */, + 277903E90DE8F08100C6D295 /* BLIPEchoClient.m */, + 2779048A0DE9204300C6D295 /* BLIPEchoClient.xib */, + 277904280DE91C7900C6D295 /* BLIP Echo Client-Info.plist */, + ); + path = Demo; + sourceTree = ""; + }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ + 277904250DE91C7900C6D295 /* BLIP Echo Client */ = { + isa = PBXNativeTarget; + buildConfigurationList = 2779042B0DE91C7A00C6D295 /* Build configuration list for PBXNativeTarget "BLIP Echo Client" */; + buildPhases = ( + 277904220DE91C7900C6D295 /* Resources */, + 277904230DE91C7900C6D295 /* Sources */, + 277904240DE91C7900C6D295 /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "BLIP Echo Client"; + productName = "BLIP Echo Client"; + productReference = 277904260DE91C7900C6D295 /* BLIP Echo Client.app */; + productType = "com.apple.product-type.application"; + }; 8DD76F960486AA7600D96B5E /* MYNetwork */ = { isa = PBXNativeTarget; buildConfigurationList = 1DEB927408733DD40010E9CD /* Build configuration list for PBXNativeTarget "MYNetwork" */; @@ -260,11 +327,49 @@ projectRoot = ""; targets = ( 8DD76F960486AA7600D96B5E /* MYNetwork */, + 277904250DE91C7900C6D295 /* BLIP Echo Client */, ); }; /* End PBXProject section */ +/* Begin PBXResourcesBuildPhase section */ + 277904220DE91C7900C6D295 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 2779048B0DE9204300C6D295 /* BLIPEchoClient.xib in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + /* Begin PBXSourcesBuildPhase section */ + 277904230DE91C7900C6D295 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 277904330DE91DE600C6D295 /* BLIPConnection.m in Sources */, + 277904340DE91DE700C6D295 /* BLIPDispatcher.m in Sources */, + 277904350DE91DE800C6D295 /* BLIPEchoClient.m in Sources */, + 277904370DE91DEB00C6D295 /* BLIPMessage.m in Sources */, + 277904380DE91DEC00C6D295 /* BLIPProperties.m in Sources */, + 277904390DE91DEE00C6D295 /* BLIPReader.m in Sources */, + 2779043A0DE91DEF00C6D295 /* BLIPRequest.m in Sources */, + 2779043C0DE91DF100C6D295 /* BLIPWriter.m in Sources */, + 2779043D0DE91DF300C6D295 /* IPAddress.m in Sources */, + 2779043E0DE91DF500C6D295 /* TCPConnection.m in Sources */, + 2779043F0DE91DF800C6D295 /* TCPEndpoint.m in Sources */, + 277904400DE91DF900C6D295 /* TCPListener.m in Sources */, + 277904410DE91DFA00C6D295 /* TCPStream.m in Sources */, + 277904420DE91DFC00C6D295 /* TCPWriter.m in Sources */, + 277904440DE91E3500C6D295 /* CollectionUtils.m in Sources */, + 277904450DE91E3600C6D295 /* ExceptionUtils.m in Sources */, + 277904460DE91E3700C6D295 /* Logging.m in Sources */, + 277904480DE91E3900C6D295 /* Target.m in Sources */, + 277904490DE91E3A00C6D295 /* Test.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; 8DD76F990486AA7600D96B5E /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; @@ -274,7 +379,6 @@ 270461150DE49030003D9D3F /* BLIPMessage.m in Sources */, 270461160DE49030003D9D3F /* BLIPProperties.m in Sources */, 270461170DE49030003D9D3F /* BLIPReader.m in Sources */, - 270461180DE49030003D9D3F /* BLIPTest.m in Sources */, 270461190DE49030003D9D3F /* BLIPWriter.m in Sources */, 2704611A0DE49030003D9D3F /* IPAddress.m in Sources */, 2704611B0DE49030003D9D3F /* TCPConnection.m in Sources */, @@ -288,8 +392,8 @@ 270461470DE491A6003D9D3F /* Target.m in Sources */, 270461700DE492F3003D9D3F /* GTMNSData+zlib.m in Sources */, 270461890DE49634003D9D3F /* CollectionUtils.m in Sources */, - 270462C20DE4A64B003D9D3F /* MYUtilitiesTest_main.m in Sources */, 27D5EC070DE5FEDE00CD84FA /* BLIPRequest.m in Sources */, + 2779046D0DE91F4200C6D295 /* BLIPEchoServer.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -332,13 +436,15 @@ isa = XCBuildConfiguration; buildSettings = { ARCHS = "$(ARCHS_STANDARD_32_BIT)"; - GCC_C_LANGUAGE_STANDARD = c99; + GCC_C_LANGUAGE_STANDARD = gnu99; GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = DEBUG; GCC_WARN_ABOUT_RETURN_TYPE = YES; GCC_WARN_UNUSED_VARIABLE = YES; ONLY_ACTIVE_ARCH = YES; PREBINDING = NO; SDKROOT = macosx10.5; + WARNING_CFLAGS = "-Wall"; }; name = Debug; }; @@ -346,11 +452,60 @@ isa = XCBuildConfiguration; buildSettings = { ARCHS = "$(ARCHS_STANDARD_32_BIT)"; - GCC_C_LANGUAGE_STANDARD = c99; + GCC_C_LANGUAGE_STANDARD = gnu99; GCC_WARN_ABOUT_RETURN_TYPE = YES; GCC_WARN_UNUSED_VARIABLE = YES; PREBINDING = NO; SDKROOT = macosx10.5; + WARNING_CFLAGS = "-Wall"; + }; + name = Release; + }; + 277904290DE91C7A00C6D295 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + COPY_PHASE_STRIP = NO; + GCC_DYNAMIC_NO_PIC = NO; + GCC_ENABLE_FIX_AND_CONTINUE = YES; + GCC_MODEL_TUNING = G5; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/AppKit.framework/Headers/AppKit.h"; + INFOPLIST_FILE = "BLIP/Demo/BLIP Echo Client-Info.plist"; + INSTALL_PATH = "$(HOME)/Applications"; + OTHER_LDFLAGS = ( + "-framework", + Foundation, + "-framework", + AppKit, + ); + PREBINDING = NO; + PRODUCT_NAME = "BLIP Echo Client"; + }; + name = Debug; + }; + 2779042A0DE91C7A00C6D295 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + COPY_PHASE_STRIP = YES; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + GCC_ENABLE_FIX_AND_CONTINUE = NO; + GCC_MODEL_TUNING = G5; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/AppKit.framework/Headers/AppKit.h"; + INFOPLIST_FILE = "BLIP/Demo/BLIP Echo Client-Info.plist"; + INSTALL_PATH = "$(HOME)/Applications"; + OTHER_LDFLAGS = ( + "-framework", + Foundation, + "-framework", + AppKit, + ); + PREBINDING = NO; + PRODUCT_NAME = "BLIP Echo Client"; + ZERO_LINK = NO; }; name = Release; }; @@ -375,6 +530,15 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; + 2779042B0DE91C7A00C6D295 /* Build configuration list for PBXNativeTarget "BLIP Echo Client" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 277904290DE91C7A00C6D295 /* Debug */, + 2779042A0DE91C7A00C6D295 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; /* End XCConfigurationList section */ }; rootObject = 08FB7793FE84155DC02AAC07 /* Project object */;