axmol/samples/Cpp/TestCpp/proj.win32/TestCpp.vcxproj

442 lines
32 KiB
XML
Raw Normal View History

2012-07-23 11:57:34 +08:00
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{76A39BB2-9B84-4C65-98A5-654D86B86F2A}</ProjectGuid>
<RootNamespace>test_win32</RootNamespace>
<Keyword>Win32Proj</Keyword>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>Unicode</CharacterSet>
<WholeProgramOptimization>true</WholeProgramOptimization>
<PlatformToolset Condition="'$(VisualStudioVersion)' == '10.0'">v100</PlatformToolset>
2013-01-10 18:55:30 +08:00
<PlatformToolset Condition="'$(VisualStudioVersion)' == '11.0'">v110</PlatformToolset>
<PlatformToolset Condition="'$(VisualStudioVersion)' == '11.0' and exists('$(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A')">v110_xp</PlatformToolset>
2012-07-23 11:57:34 +08:00
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>Unicode</CharacterSet>
<PlatformToolset Condition="'$(VisualStudioVersion)' == '10.0'">v100</PlatformToolset>
2013-01-10 18:55:30 +08:00
<PlatformToolset Condition="'$(VisualStudioVersion)' == '11.0'">v110</PlatformToolset>
<PlatformToolset Condition="'$(VisualStudioVersion)' == '11.0' and exists('$(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A')">v110_xp</PlatformToolset>
2012-07-23 11:57:34 +08:00
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\..\..\..\cocos2dx\proj.win32\cocos2dx.props" />
2012-07-23 11:57:34 +08:00
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\..\..\..\cocos2dx\proj.win32\cocos2dx.props" />
2012-07-23 11:57:34 +08:00
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
<_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)$(Configuration).win32\</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Configuration).win32\</IntDir>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)$(Configuration).win32\</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Configuration).win32\</IntDir>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
2013-01-10 18:55:30 +08:00
<LibraryPath>$(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A\lib;$(LibraryPath)</LibraryPath>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
2013-01-10 18:55:30 +08:00
<LibraryPath>$(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A\lib;$(LibraryPath)</LibraryPath>
</PropertyGroup>
2012-07-23 11:57:34 +08:00
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>$(ProjectDir)..\..\..\..\cocos2dx;$(ProjectDir)..\..\..\..\cocos2dx\include;$(ProjectDir)..\..\..\..\cocos2dx\kazmath\include;$(ProjectDir)..\..\..\..\cocos2dx\platform\win32;$(ProjectDir)..\..\..\..\cocos2dx\platform\third_party\win32;$(ProjectDir)..\..\..\..\cocos2dx\platform\third_party\win32\OGLES;$(ProjectDir)..\..\..\..\cocos2dx\platform\third_party\win32\pthread;$(ProjectDir)..\..\..\..\external;$(ProjectDir)..\..\..\..\external\chipmunk\include\chipmunk;$(ProjectDir)..\..\..\..\external\libwebsockets\win32\include;$(ProjectDir)..\..\..\..\CocosDenshion\include;$(ProjectDir)..\..\..\..\extensions;$(ProjectDir)..\..\..\..\extensions\network;..\Classes;..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USE_MATH_DEFINES;GL_GLEXT_PROTOTYPES;CC_ENABLE_CHIPMUNK_INTEGRATION=1;COCOS2D_DEBUG=1;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
2012-07-23 11:57:34 +08:00
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
<DisableSpecificWarnings>4267;4251;4244;%(DisableSpecificWarnings)</DisableSpecificWarnings>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
2012-07-23 11:57:34 +08:00
</ClCompile>
<Link>
<OutputFile>$(OutDir)$(ProjectName).exe</OutputFile>
<AdditionalLibraryDirectories>$(OutDir);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<TargetMachine>MachineX86</TargetMachine>
<AdditionalDependencies>libExtensions.lib;libcocos2d.lib;libCocosDenshion.lib;libBox2d.lib;libchipmunk.lib;libcurl_imp.lib;websockets.lib;%(AdditionalDependencies)</AdditionalDependencies>
2012-07-23 11:57:34 +08:00
</Link>
<PostBuildEvent>
<Command>
</Command>
</PostBuildEvent>
<PreLinkEvent>
<Command>if not exist "$(OutDir)" mkdir "$(OutDir)"
xcopy /Y /Q "$(ProjectDir)..\..\..\..\external\libwebsockets\win32\lib\*.*" "$(OutDir)"
</Command>
</PreLinkEvent>
2012-07-23 11:57:34 +08:00
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<IntrinsicFunctions>true</IntrinsicFunctions>
<AdditionalIncludeDirectories>$(ProjectDir)..\..\..\..\cocos2dx;$(ProjectDir)..\..\..\..\cocos2dx\include;$(ProjectDir)..\..\..\..\cocos2dx\kazmath\include;$(ProjectDir)..\..\..\..\cocos2dx\platform\win32;$(ProjectDir)..\..\..\..\cocos2dx\platform\third_party\win32;$(ProjectDir)..\..\..\..\cocos2dx\platform\third_party\win32\OGLES;$(ProjectDir)..\..\..\..\cocos2dx\platform\third_party\win32\pthread;$(ProjectDir)..\..\..\..\external;$(ProjectDir)..\..\..\..\external\chipmunk\include\chipmunk;$(ProjectDir)..\..\..\..\external\libwebsockets\win32\include;$(ProjectDir)..\..\..\..\CocosDenshion\include;$(ProjectDir)..\..\..\..\extensions;$(ProjectDir)..\..\..\..\extensions\network;..\Classes;..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USE_MATH_DEFINES;GL_GLEXT_PROTOTYPES;CC_ENABLE_CHIPMUNK_INTEGRATION=1;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
2012-07-23 11:57:34 +08:00
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<FunctionLevelLinking>true</FunctionLevelLinking>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<DisableSpecificWarnings>4267;4251;4244;%(DisableSpecificWarnings)</DisableSpecificWarnings>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
2012-07-23 11:57:34 +08:00
</ClCompile>
<Link>
<AdditionalDependencies>libExtensions.lib;libcocos2d.lib;libCocosDenshion.lib;libBox2d.lib;libchipmunk.lib;libcurl_imp.lib;websockets.lib;%(AdditionalDependencies)</AdditionalDependencies>
2012-07-23 11:57:34 +08:00
<OutputFile>$(OutDir)$(ProjectName).exe</OutputFile>
<AdditionalLibraryDirectories>$(OutDir);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<TargetMachine>MachineX86</TargetMachine>
</Link>
<PostBuildEvent>
<Command>
</Command>
</PostBuildEvent>
<PreLinkEvent>
<Command>if not exist "$(OutDir)" mkdir "$(OutDir)"
xcopy /Y /Q "$(ProjectDir)..\..\..\..\external\libwebsockets\win32\lib\*.*" "$(OutDir)"
</Command>
</PreLinkEvent>
2012-07-23 11:57:34 +08:00
</ItemDefinitionGroup>
<ItemGroup>
2013-06-07 14:31:15 +08:00
<ClCompile Include="..\Classes\BaseTest.cpp" />
<ClCompile Include="..\Classes\ChipmunkTest\ChipmunkTest.cpp" />
2012-11-21 15:22:54 +08:00
<ClCompile Include="..\Classes\ClippingNodeTest\ClippingNodeTest.cpp" />
<ClCompile Include="..\Classes\ConfigurationTest\ConfigurationTest.cpp" />
2013-05-10 15:46:24 +08:00
<ClCompile Include="..\Classes\DataVisitorTest\DataVisitorTest.cpp" />
<ClCompile Include="..\Classes\ExtensionsTest\CocosBuilderTest\AnimationsTest\AnimationsTestLayer.cpp" />
<ClCompile Include="..\Classes\ExtensionsTest\CocosBuilderTest\TimelineCallbackTest\TimelineCallbackTestLayer.cpp" />
2013-09-10 09:53:15 +08:00
<ClCompile Include="..\Classes\ExtensionsTest\CocoStudioArmatureTest\ArmatureScene.cpp" />
<ClCompile Include="..\Classes\ExtensionsTest\CocoStudioComponentsTest\ComponentsTestScene.cpp" />
<ClCompile Include="..\Classes\ExtensionsTest\CocoStudioComponentsTest\EnemyController.cpp" />
<ClCompile Include="..\Classes\ExtensionsTest\CocoStudioComponentsTest\GameOverScene.cpp" />
<ClCompile Include="..\Classes\ExtensionsTest\CocoStudioComponentsTest\PlayerController.cpp" />
<ClCompile Include="..\Classes\ExtensionsTest\CocoStudioComponentsTest\ProjectileController.cpp" />
<ClCompile Include="..\Classes\ExtensionsTest\CocoStudioComponentsTest\SceneController.cpp" />
<ClCompile Include="..\Classes\ExtensionsTest\CocoStudioSceneTest\SceneEditorTest.cpp" />
<ClCompile Include="..\Classes\ExtensionsTest\ControlExtensionTest\CCControlPotentiometerTest\CCControlPotentiometerTest.cpp" />
<ClCompile Include="..\Classes\ExtensionsTest\ControlExtensionTest\CCControlStepperTest\CCControlStepperTest.cpp" />
<ClCompile Include="..\Classes\ExtensionsTest\EditBoxTest\EditBoxTest.cpp" />
<ClCompile Include="..\Classes\ExtensionsTest\NetworkTest\HttpClientTest.cpp" />
Implements a socket.io client extension, adds a test case and updates the android makefiles. Contains the following tasks: -initial socket.io extension commit -sioclientimpl subclasses websocket:delegate to respond to websocket events -implement static connect methods and basic client creation -move SocketIO class files into correct extension folder (network) -create SocketIO test in TestCpp -update project references -add missing static modifier to connect method -implement basic test methods -update extensions tests with SocketIO test entry -implement basic handshake and opensocket methods for SocketIO -add Delegate class to handle callbacks, implement virtual Delegate methods in test -implement socket and client registries for lookup when connecting to hosts and endpoints -connect delegate onOpen method by separating impl creation from connection -update test to demonstrate onOpen callback -create send and emit methods, move SIOClient into header file, add send and emit methods to test -implement basic socket.io message parsing -improve logging for events and messages -add logic to pull event name from payload -schedule heartbeat to keep connection alive, scheduled for 90% of the heartbeat interval from the server for safety -add onConnect handler to to catch socket.io onconnect vs websocket onopen -add disconnect and disconnectFromEndpoint methods to properly disconnect and destroy objects -modify SIOClientImpl to track _uri for easier lookup in registries -connect handler for onMessage to message event from socket.io, modify onError handler to take a string instead of WebSocket error code -create SIOEvent callback type, implement event registry in clients, add test for event registration and callback -update SIOEvent to use std::function and c++11, utilize cocos2d CC_CALLBACK method to bind selectors, this ensures that the *this reference is properly passed -check for connect before sending or emitting in the client, cleanup some codes -change connect logic to reuse existing socket connections instead of opening a new one -implements get and set Tag methods for clients for easy reference -improve endpoint handling, add endpoint tests to test layer -additional error handling within socket disconnect error and failure to open connection -fixes extracting endpoint from socket.io messages (in cases of the connect message, where there is 1 less colon for the connect message to the default namespace). Also fixes connecting to the default namespace "/" in the connectToEndpoint method -add disconnect and onClose handlers to client so that onClose is called in the delegate -add disconnect test methods to test layers -change c-style casts to static_casts when using a CCDICT_FOREACH -remove some unneeded namespace completion -add usage documentation -add handling for disconnect from server, cleanup some codes -update comments and documentation in the socketiotest -update includes so the NDK doesn't complain when compiling with c++11 -add socketio.cpp and test.cpp to the android makefiles -update test URL to my public server, test script can also be found in my repo at https://github.com/hannon235/socket.io-testserver.git Signed-off-by: Chris Hannon <himynameschris@gmail.com>
2013-06-26 10:40:01 +08:00
<ClCompile Include="..\Classes\ExtensionsTest\NetworkTest\SocketIOTest.cpp" />
<ClCompile Include="..\Classes\ExtensionsTest\NetworkTest\WebSocketTest.cpp" />
<ClCompile Include="..\Classes\ExtensionsTest\Scale9SpriteTest\Scale9SpriteTest.cpp" />
<ClCompile Include="..\Classes\ExtensionsTest\TableViewTest\CustomTableViewCell.cpp" />
<ClCompile Include="..\Classes\ExtensionsTest\TableViewTest\TableViewTestScene.cpp" />
<ClCompile Include="..\Classes\FileUtilsTest\FileUtilsTest.cpp" />
<ClCompile Include="..\Classes\LabelTest\LabelTestNew.cpp" />
<ClCompile Include="..\Classes\NewEventDispatcherTest\NewEventDispatcherTest.cpp" />
<ClCompile Include="..\Classes\PerformanceTest\PerformanceAllocTest.cpp" />
<ClCompile Include="..\Classes\ShaderTest\ShaderTest2.cpp" />
<ClCompile Include="..\Classes\SpineTest\SpineTest.cpp" />
<ClCompile Include="..\Classes\TexturePackerEncryptionTest\TextureAtlasEncryptionTest.cpp" />
<ClCompile Include="..\Classes\VisibleRect.cpp" />
2012-07-23 11:57:34 +08:00
<ClCompile Include="main.cpp" />
<ClCompile Include="..\Classes\AppDelegate.cpp" />
<ClCompile Include="..\Classes\controller.cpp" />
<ClCompile Include="..\Classes\testBasic.cpp" />
<ClCompile Include="..\Classes\ActionsTest\ActionsTest.cpp" />
<ClCompile Include="..\Classes\TransitionsTest\TransitionsTest.cpp" />
<ClCompile Include="..\Classes\EffectsTest\EffectsTest.cpp" />
<ClCompile Include="..\Classes\ClickAndMoveTest\ClickAndMoveTest.cpp" />
<ClCompile Include="..\Classes\RotateWorldTest\RotateWorldTest.cpp" />
<ClCompile Include="..\Classes\ParticleTest\ParticleTest.cpp" />
<ClCompile Include="..\Classes\ActionsEaseTest\ActionsEaseTest.cpp" />
<ClCompile Include="..\Classes\MotionStreakTest\MotionStreakTest.cpp" />
<ClCompile Include="..\Classes\DrawPrimitivesTest\DrawPrimitivesTest.cpp" />
<ClCompile Include="..\Classes\ShaderTest\ShaderTest.cpp" />
<ClCompile Include="..\Classes\TouchesTest\Ball.cpp" />
<ClCompile Include="..\Classes\TouchesTest\Paddle.cpp" />
<ClCompile Include="..\Classes\TouchesTest\TouchesTest.cpp" />
<ClCompile Include="..\Classes\MenuTest\MenuTest.cpp" />
<ClCompile Include="..\Classes\ActionManagerTest\ActionManagerTest.cpp" />
<ClCompile Include="..\Classes\LayerTest\LayerTest.cpp" />
<ClCompile Include="..\Classes\SceneTest\SceneTest.cpp" />
<ClCompile Include="..\Classes\ParallaxTest\ParallaxTest.cpp" />
<ClCompile Include="..\Classes\TileMapTest\TileMapTest.cpp" />
<ClCompile Include="..\Classes\IntervalTest\IntervalTest.cpp" />
<ClCompile Include="..\Classes\LabelTest\LabelTest.cpp" />
<ClCompile Include="..\Classes\SpriteTest\SpriteTest.cpp" />
<ClCompile Include="..\Classes\SchedulerTest\SchedulerTest.cpp" />
<ClCompile Include="..\Classes\RenderTextureTest\RenderTextureTest.cpp" />
<ClCompile Include="..\Classes\EffectsAdvancedTest\EffectsAdvancedTest.cpp" />
<ClCompile Include="..\Classes\KeypadTest\KeypadTest.cpp" />
<ClCompile Include="..\Classes\CocosDenshionTest\CocosDenshionTest.cpp" />
<ClCompile Include="..\Classes\PerformanceTest\PerformanceNodeChildrenTest.cpp" />
<ClCompile Include="..\Classes\PerformanceTest\PerformanceParticleTest.cpp" />
<ClCompile Include="..\Classes\PerformanceTest\PerformanceSpriteTest.cpp" />
<ClCompile Include="..\Classes\PerformanceTest\PerformanceTest.cpp" />
<ClCompile Include="..\Classes\PerformanceTest\PerformanceTextureTest.cpp" />
<ClCompile Include="..\Classes\PerformanceTest\PerformanceTouchesTest.cpp" />
<ClCompile Include="..\Classes\ZwoptexTest\ZwoptexTest.cpp" />
<ClCompile Include="..\Classes\CurlTest\CurlTest.cpp" />
<ClCompile Include="..\Classes\TextInputTest\TextInputTest.cpp" />
<ClCompile Include="..\Classes\UserDefaultTest\UserDefaultTest.cpp" />
<ClCompile Include="..\Classes\BugsTest\Bug-1159.cpp" />
<ClCompile Include="..\Classes\BugsTest\Bug-1174.cpp" />
<ClCompile Include="..\Classes\BugsTest\Bug-350.cpp" />
<ClCompile Include="..\Classes\BugsTest\Bug-422.cpp" />
<ClCompile Include="..\Classes\BugsTest\Bug-624.cpp" />
<ClCompile Include="..\Classes\BugsTest\Bug-886.cpp" />
<ClCompile Include="..\Classes\BugsTest\Bug-899.cpp" />
<ClCompile Include="..\Classes\BugsTest\Bug-914.cpp" />
<ClCompile Include="..\Classes\BugsTest\BugsTest.cpp" />
<ClCompile Include="..\Classes\BugsTest\Bug-458\Bug-458.cpp" />
<ClCompile Include="..\Classes\BugsTest\Bug-458\QuestionContainerSprite.cpp" />
<ClCompile Include="..\Classes\Texture2dTest\Texture2dTest.cpp" />
<ClCompile Include="..\Classes\FontTest\FontTest.cpp" />
<ClCompile Include="..\Classes\CurrentLanguageTest\CurrentLanguageTest.cpp" />
<ClCompile Include="..\Classes\TextureCacheTest\TextureCacheTest.cpp" />
<ClCompile Include="..\Classes\AccelerometerTest\AccelerometerTest.cpp" />
<ClCompile Include="..\Classes\ExtensionsTest\ExtensionsTest.cpp" />
<ClCompile Include="..\Classes\ExtensionsTest\ControlExtensionTest\CCControlScene.cpp" />
<ClCompile Include="..\Classes\ExtensionsTest\ControlExtensionTest\CCControlSceneManager.cpp" />
<ClCompile Include="..\Classes\ExtensionsTest\ControlExtensionTest\CCControlButtonTest\CCControlButtonTest.cpp" />
<ClCompile Include="..\Classes\ExtensionsTest\ControlExtensionTest\CCControlColourPicker\CCControlColourPickerTest.cpp" />
<ClCompile Include="..\Classes\ExtensionsTest\ControlExtensionTest\CCControlSliderTest\CCControlSliderTest.cpp" />
<ClCompile Include="..\Classes\ExtensionsTest\ControlExtensionTest\CCControlSwitchTest\CCControlSwitchTest.cpp" />
<ClCompile Include="..\Classes\ExtensionsTest\NotificationCenterTest\NotificationCenterTest.cpp" />
<ClCompile Include="..\Classes\ExtensionsTest\CocosBuilderTest\CocosBuilderTest.cpp" />
<ClCompile Include="..\Classes\ExtensionsTest\CocosBuilderTest\ButtonTest\ButtonTestLayer.cpp" />
<ClCompile Include="..\Classes\ExtensionsTest\CocosBuilderTest\HelloCocosBuilder\HelloCocosBuilderLayer.cpp" />
<ClCompile Include="..\Classes\ExtensionsTest\CocosBuilderTest\MenuTest\MenuTestLayer.cpp" />
<ClCompile Include="..\Classes\ExtensionsTest\CocosBuilderTest\TestHeader\TestHeaderLayer.cpp" />
<ClCompile Include="..\Classes\NodeTest\NodeTest.cpp" />
<ClCompile Include="..\Classes\ActionsProgressTest\ActionsProgressTest.cpp" />
<ClCompile Include="..\Classes\Box2DTest\Box2dTest.cpp" />
<ClCompile Include="..\Classes\Box2DTestBed\Box2dView.cpp" />
<ClCompile Include="..\Classes\Box2DTestBed\GLES-Render.cpp" />
<ClCompile Include="..\Classes\Box2DTestBed\Test.cpp" />
<ClCompile Include="..\Classes\Box2DTestBed\TestEntries.cpp" />
<ClCompile Include="..\Classes\MutiTouchTest\MutiTouchTest.cpp" />
</ItemGroup>
<ItemGroup>
2013-06-07 14:31:15 +08:00
<ClInclude Include="..\Classes\BaseTest.h" />
<ClInclude Include="..\Classes\ChipmunkTest\ChipmunkTest.h" />
2012-11-21 15:22:54 +08:00
<ClInclude Include="..\Classes\ClippingNodeTest\ClippingNodeTest.h" />
<ClInclude Include="..\Classes\ConfigurationTest\ConfigurationTest.h" />
2013-05-10 15:46:24 +08:00
<ClInclude Include="..\Classes\DataVisitorTest\DataVisitorTest.h" />
<ClInclude Include="..\Classes\ExtensionsTest\CocosBuilderTest\AnimationsTest\AnimationsLayerLoader.h" />
<ClInclude Include="..\Classes\ExtensionsTest\CocosBuilderTest\AnimationsTest\AnimationsTestLayer.h" />
<ClInclude Include="..\Classes\ExtensionsTest\CocosBuilderTest\TimelineCallbackTest\TimelineCallbackLayerLoader.h" />
<ClInclude Include="..\Classes\ExtensionsTest\CocosBuilderTest\TimelineCallbackTest\TimelineCallbackTestLayer.h" />
2013-09-10 09:53:15 +08:00
<ClInclude Include="..\Classes\ExtensionsTest\CocoStudioArmatureTest\ArmatureScene.h" />
<ClInclude Include="..\Classes\ExtensionsTest\CocoStudioComponentsTest\ComponentsTestScene.h" />
<ClInclude Include="..\Classes\ExtensionsTest\CocoStudioComponentsTest\EnemyController.h" />
<ClInclude Include="..\Classes\ExtensionsTest\CocoStudioComponentsTest\GameOverScene.h" />
<ClInclude Include="..\Classes\ExtensionsTest\CocoStudioComponentsTest\PlayerController.h" />
<ClInclude Include="..\Classes\ExtensionsTest\CocoStudioComponentsTest\ProjectileController.h" />
<ClInclude Include="..\Classes\ExtensionsTest\CocoStudioComponentsTest\SceneController.h" />
<ClInclude Include="..\Classes\ExtensionsTest\CocoStudioSceneTest\SceneEditorTest.h" />
<ClInclude Include="..\Classes\ExtensionsTest\ControlExtensionTest\CCControlPotentiometerTest\CCControlPotentiometerTest.h" />
<ClInclude Include="..\Classes\ExtensionsTest\ControlExtensionTest\CCControlStepperTest\CCControlStepperTest.h" />
<ClInclude Include="..\Classes\ExtensionsTest\EditBoxTest\EditBoxTest.h" />
<ClInclude Include="..\Classes\ExtensionsTest\NetworkTest\HttpClientTest.h" />
Implements a socket.io client extension, adds a test case and updates the android makefiles. Contains the following tasks: -initial socket.io extension commit -sioclientimpl subclasses websocket:delegate to respond to websocket events -implement static connect methods and basic client creation -move SocketIO class files into correct extension folder (network) -create SocketIO test in TestCpp -update project references -add missing static modifier to connect method -implement basic test methods -update extensions tests with SocketIO test entry -implement basic handshake and opensocket methods for SocketIO -add Delegate class to handle callbacks, implement virtual Delegate methods in test -implement socket and client registries for lookup when connecting to hosts and endpoints -connect delegate onOpen method by separating impl creation from connection -update test to demonstrate onOpen callback -create send and emit methods, move SIOClient into header file, add send and emit methods to test -implement basic socket.io message parsing -improve logging for events and messages -add logic to pull event name from payload -schedule heartbeat to keep connection alive, scheduled for 90% of the heartbeat interval from the server for safety -add onConnect handler to to catch socket.io onconnect vs websocket onopen -add disconnect and disconnectFromEndpoint methods to properly disconnect and destroy objects -modify SIOClientImpl to track _uri for easier lookup in registries -connect handler for onMessage to message event from socket.io, modify onError handler to take a string instead of WebSocket error code -create SIOEvent callback type, implement event registry in clients, add test for event registration and callback -update SIOEvent to use std::function and c++11, utilize cocos2d CC_CALLBACK method to bind selectors, this ensures that the *this reference is properly passed -check for connect before sending or emitting in the client, cleanup some codes -change connect logic to reuse existing socket connections instead of opening a new one -implements get and set Tag methods for clients for easy reference -improve endpoint handling, add endpoint tests to test layer -additional error handling within socket disconnect error and failure to open connection -fixes extracting endpoint from socket.io messages (in cases of the connect message, where there is 1 less colon for the connect message to the default namespace). Also fixes connecting to the default namespace "/" in the connectToEndpoint method -add disconnect and onClose handlers to client so that onClose is called in the delegate -add disconnect test methods to test layers -change c-style casts to static_casts when using a CCDICT_FOREACH -remove some unneeded namespace completion -add usage documentation -add handling for disconnect from server, cleanup some codes -update comments and documentation in the socketiotest -update includes so the NDK doesn't complain when compiling with c++11 -add socketio.cpp and test.cpp to the android makefiles -update test URL to my public server, test script can also be found in my repo at https://github.com/hannon235/socket.io-testserver.git Signed-off-by: Chris Hannon <himynameschris@gmail.com>
2013-06-26 10:40:01 +08:00
<ClInclude Include="..\Classes\ExtensionsTest\NetworkTest\SocketIOTest.h" />
<ClInclude Include="..\Classes\ExtensionsTest\NetworkTest\WebSocketTest.h" />
<ClInclude Include="..\Classes\ExtensionsTest\Scale9SpriteTest\Scale9SpriteTest.h" />
<ClInclude Include="..\Classes\ExtensionsTest\TableViewTest\CustomTableViewCell.h" />
<ClInclude Include="..\Classes\ExtensionsTest\TableViewTest\TableViewTestScene.h" />
<ClInclude Include="..\Classes\FileUtilsTest\FileUtilsTest.h" />
<ClInclude Include="..\Classes\LabelTest\LabelTestNew.h" />
<ClInclude Include="..\Classes\NewEventDispatcherTest\NewEventDispatcherTest.h" />
<ClInclude Include="..\Classes\ShaderTest\ShaderTest2.h" />
<ClInclude Include="..\Classes\SpineTest\SpineTest.h" />
<ClInclude Include="..\Classes\TexturePackerEncryptionTest\TextureAtlasEncryptionTest.h" />
<ClInclude Include="..\Classes\VisibleRect.h" />
2012-07-23 11:57:34 +08:00
<ClInclude Include="main.h" />
<ClInclude Include="..\Classes\AppDelegate.h" />
<ClInclude Include="..\Classes\controller.h" />
<ClInclude Include="..\Classes\testBasic.h" />
<ClInclude Include="..\Classes\testResource.h" />
<ClInclude Include="..\Classes\tests.h" />
<ClInclude Include="..\Classes\ActionsTest\ActionsTest.h" />
<ClInclude Include="..\Classes\TransitionsTest\TransitionsTest.h" />
<ClInclude Include="..\Classes\EffectsTest\EffectsTest.h" />
<ClInclude Include="..\Classes\ClickAndMoveTest\ClickAndMoveTest.h" />
<ClInclude Include="..\Classes\RotateWorldTest\RotateWorldTest.h" />
<ClInclude Include="..\Classes\ParticleTest\ParticleTest.h" />
<ClInclude Include="..\Classes\ActionsEaseTest\ActionsEaseTest.h" />
<ClInclude Include="..\Classes\MotionStreakTest\MotionStreakTest.h" />
<ClInclude Include="..\Classes\DrawPrimitivesTest\DrawPrimitivesTest.h" />
<ClInclude Include="..\Classes\ShaderTest\ShaderTest.h" />
<ClInclude Include="..\Classes\TouchesTest\Ball.h" />
<ClInclude Include="..\Classes\TouchesTest\Paddle.h" />
<ClInclude Include="..\Classes\TouchesTest\TouchesTest.h" />
<ClInclude Include="..\Classes\MenuTest\MenuTest.h" />
<ClInclude Include="..\Classes\ActionManagerTest\ActionManagerTest.h" />
<ClInclude Include="..\Classes\LayerTest\LayerTest.h" />
<ClInclude Include="..\Classes\SceneTest\SceneTest.h" />
<ClInclude Include="..\Classes\ParallaxTest\ParallaxTest.h" />
<ClInclude Include="..\Classes\TileMapTest\TileMapTest.h" />
<ClInclude Include="..\Classes\IntervalTest\IntervalTest.h" />
<ClInclude Include="..\Classes\LabelTest\LabelTest.h" />
<ClInclude Include="..\Classes\SpriteTest\SpriteTest.h" />
<ClInclude Include="..\Classes\SchedulerTest\SchedulerTest.h" />
<ClInclude Include="..\Classes\RenderTextureTest\RenderTextureTest.h" />
<ClInclude Include="..\Classes\EffectsAdvancedTest\EffectsAdvancedTest.h" />
<ClInclude Include="..\Classes\KeypadTest\KeypadTest.h" />
<ClInclude Include="..\Classes\CocosDenshionTest\CocosDenshionTest.h" />
<ClInclude Include="..\Classes\PerformanceTest\PerformanceNodeChildrenTest.h" />
<ClInclude Include="..\Classes\PerformanceTest\PerformanceParticleTest.h" />
<ClInclude Include="..\Classes\PerformanceTest\PerformanceSpriteTest.h" />
<ClInclude Include="..\Classes\PerformanceTest\PerformanceTest.h" />
<ClInclude Include="..\Classes\PerformanceTest\PerformanceTextureTest.h" />
<ClInclude Include="..\Classes\PerformanceTest\PerformanceTouchesTest.h" />
<ClInclude Include="..\Classes\ZwoptexTest\ZwoptexTest.h" />
<ClInclude Include="..\Classes\CurlTest\CurlTest.h" />
<ClInclude Include="..\Classes\TextInputTest\TextInputTest.h" />
<ClInclude Include="..\Classes\UserDefaultTest\UserDefaultTest.h" />
<ClInclude Include="..\Classes\BugsTest\Bug-1159.h" />
<ClInclude Include="..\Classes\BugsTest\Bug-1174.h" />
<ClInclude Include="..\Classes\BugsTest\Bug-350.h" />
<ClInclude Include="..\Classes\BugsTest\Bug-422.h" />
<ClInclude Include="..\Classes\BugsTest\Bug-624.h" />
<ClInclude Include="..\Classes\BugsTest\Bug-886.h" />
<ClInclude Include="..\Classes\BugsTest\Bug-899.h" />
<ClInclude Include="..\Classes\BugsTest\Bug-914.h" />
<ClInclude Include="..\Classes\BugsTest\BugsTest.h" />
<ClInclude Include="..\Classes\BugsTest\Bug-458\Bug-458.h" />
<ClInclude Include="..\Classes\BugsTest\Bug-458\QuestionContainerSprite.h" />
<ClInclude Include="..\Classes\Texture2dTest\Texture2dTest.h" />
<ClInclude Include="..\Classes\FontTest\FontTest.h" />
<ClInclude Include="..\Classes\CurrentLanguageTest\CurrentLanguageTest.h" />
<ClInclude Include="..\Classes\TextureCacheTest\TextureCacheTest.h" />
<ClInclude Include="..\Classes\AccelerometerTest\AccelerometerTest.h" />
<ClInclude Include="..\Classes\ExtensionsTest\ExtensionsTest.h" />
<ClInclude Include="..\Classes\ExtensionsTest\ControlExtensionTest\CCControlScene.h" />
<ClInclude Include="..\Classes\ExtensionsTest\ControlExtensionTest\CCControlSceneManager.h" />
<ClInclude Include="..\Classes\ExtensionsTest\ControlExtensionTest\CCControlButtonTest\CCControlButtonTest.h" />
<ClInclude Include="..\Classes\ExtensionsTest\ControlExtensionTest\CCControlColourPicker\CCControlColourPickerTest.h" />
<ClInclude Include="..\Classes\ExtensionsTest\ControlExtensionTest\CCControlSliderTest\CCControlSliderTest.h" />
<ClInclude Include="..\Classes\ExtensionsTest\ControlExtensionTest\CCControlSwitchTest\CCControlSwitchTest.h" />
<ClInclude Include="..\Classes\ExtensionsTest\NotificationCenterTest\NotificationCenterTest.h" />
<ClInclude Include="..\Classes\ExtensionsTest\CocosBuilderTest\CocosBuilderTest.h" />
<ClInclude Include="..\Classes\ExtensionsTest\CocosBuilderTest\ButtonTest\ButtonTestLayer.h" />
<ClInclude Include="..\Classes\ExtensionsTest\CocosBuilderTest\ButtonTest\ButtonTestLayerLoader.h" />
<ClInclude Include="..\Classes\ExtensionsTest\CocosBuilderTest\HelloCocosBuilder\HelloCocosBuilderLayer.h" />
<ClInclude Include="..\Classes\ExtensionsTest\CocosBuilderTest\HelloCocosBuilder\HelloCocosBuilderLayerLoader.h" />
<ClInclude Include="..\Classes\ExtensionsTest\CocosBuilderTest\LabelTest\LabelTestLayer.h" />
<ClInclude Include="..\Classes\ExtensionsTest\CocosBuilderTest\LabelTest\LabelTestLayerLoader.h" />
<ClInclude Include="..\Classes\ExtensionsTest\CocosBuilderTest\MenuTest\MenuTestLayer.h" />
<ClInclude Include="..\Classes\ExtensionsTest\CocosBuilderTest\MenuTest\MenuTestLayerLoader.h" />
<ClInclude Include="..\Classes\ExtensionsTest\CocosBuilderTest\ParticleSystemTest\ParticleSystemTestLayer.h" />
<ClInclude Include="..\Classes\ExtensionsTest\CocosBuilderTest\ParticleSystemTest\ParticleSystemTestLayerLoader.h" />
<ClInclude Include="..\Classes\ExtensionsTest\CocosBuilderTest\SpriteTest\SpriteTestLayer.h" />
<ClInclude Include="..\Classes\ExtensionsTest\CocosBuilderTest\SpriteTest\SpriteTestLayerLoader.h" />
<ClInclude Include="..\Classes\ExtensionsTest\CocosBuilderTest\TestHeader\TestHeaderLayer.h" />
<ClInclude Include="..\Classes\ExtensionsTest\CocosBuilderTest\TestHeader\TestHeaderLayerLoader.h" />
<ClInclude Include="..\Classes\ExtensionsTest\CocosBuilderTest\ScrollViewTest\ScrollViewTestLayer.h" />
<ClInclude Include="..\Classes\ExtensionsTest\CocosBuilderTest\ScrollViewTest\ScrollViewTestLayerLoader.h" />
<ClInclude Include="..\Classes\NodeTest\NodeTest.h" />
<ClInclude Include="..\Classes\ActionsProgressTest\ActionsProgressTest.h" />
<ClInclude Include="..\Classes\Box2DTest\Box2dTest.h" />
<ClInclude Include="..\Classes\Box2DTestBed\Box2dView.h" />
<ClInclude Include="..\Classes\Box2DTestBed\GLES-Render.h" />
<ClInclude Include="..\Classes\Box2DTestBed\Test.h" />
<ClInclude Include="..\Classes\Box2DTestBed\Tests\AddPair.h" />
<ClInclude Include="..\Classes\Box2DTestBed\Tests\ApplyForce.h" />
<ClInclude Include="..\Classes\Box2DTestBed\Tests\BodyTypes.h" />
<ClInclude Include="..\Classes\Box2DTestBed\Tests\Breakable.h" />
<ClInclude Include="..\Classes\Box2DTestBed\Tests\Bridge.h" />
<ClInclude Include="..\Classes\Box2DTestBed\Tests\BulletTest.h" />
<ClInclude Include="..\Classes\Box2DTestBed\Tests\Cantilever.h" />
<ClInclude Include="..\Classes\Box2DTestBed\Tests\Car.h" />
<ClInclude Include="..\Classes\Box2DTestBed\Tests\Chain.h" />
<ClInclude Include="..\Classes\Box2DTestBed\Tests\CharacterCollision.h" />
<ClInclude Include="..\Classes\Box2DTestBed\Tests\CollisionFiltering.h" />
<ClInclude Include="..\Classes\Box2DTestBed\Tests\CollisionProcessing.h" />
<ClInclude Include="..\Classes\Box2DTestBed\Tests\CompoundShapes.h" />
<ClInclude Include="..\Classes\Box2DTestBed\Tests\Confined.h" />
<ClInclude Include="..\Classes\Box2DTestBed\Tests\ContinuousTest.h" />
<ClInclude Include="..\Classes\Box2DTestBed\Tests\DistanceTest.h" />
<ClInclude Include="..\Classes\Box2DTestBed\Tests\Dominos.h" />
<ClInclude Include="..\Classes\Box2DTestBed\Tests\DumpShell.h" />
<ClInclude Include="..\Classes\Box2DTestBed\Tests\DynamicTreeTest.h" />
<ClInclude Include="..\Classes\Box2DTestBed\Tests\EdgeShapes.h" />
<ClInclude Include="..\Classes\Box2DTestBed\Tests\EdgeTest.h" />
<ClInclude Include="..\Classes\Box2DTestBed\Tests\Gears.h" />
<ClInclude Include="..\Classes\Box2DTestBed\Tests\OneSidedPlatform.h" />
<ClInclude Include="..\Classes\Box2DTestBed\Tests\Pinball.h" />
<ClInclude Include="..\Classes\Box2DTestBed\Tests\PolyCollision.h" />
<ClInclude Include="..\Classes\Box2DTestBed\Tests\PolyShapes.h" />
<ClInclude Include="..\Classes\Box2DTestBed\Tests\Prismatic.h" />
<ClInclude Include="..\Classes\Box2DTestBed\Tests\Pulleys.h" />
<ClInclude Include="..\Classes\Box2DTestBed\Tests\Pyramid.h" />
<ClInclude Include="..\Classes\Box2DTestBed\Tests\RayCast.h" />
<ClInclude Include="..\Classes\Box2DTestBed\Tests\Revolute.h" />
<ClInclude Include="..\Classes\Box2DTestBed\Tests\Rope.h" />
<ClInclude Include="..\Classes\Box2DTestBed\Tests\RopeJoint.h" />
<ClInclude Include="..\Classes\Box2DTestBed\Tests\SensorTest.h" />
<ClInclude Include="..\Classes\Box2DTestBed\Tests\ShapeEditing.h" />
<ClInclude Include="..\Classes\Box2DTestBed\Tests\SliderCrank.h" />
<ClInclude Include="..\Classes\Box2DTestBed\Tests\SphereStack.h" />
<ClInclude Include="..\Classes\Box2DTestBed\Tests\TheoJansen.h" />
<ClInclude Include="..\Classes\Box2DTestBed\Tests\Tiles.h" />
<ClInclude Include="..\Classes\Box2DTestBed\Tests\TimeOfImpact.h" />
<ClInclude Include="..\Classes\Box2DTestBed\Tests\Tumbler.h" />
<ClInclude Include="..\Classes\Box2DTestBed\Tests\VaryingFriction.h" />
<ClInclude Include="..\Classes\Box2DTestBed\Tests\VaryingRestitution.h" />
<ClInclude Include="..\Classes\Box2DTestBed\Tests\VerticalStack.h" />
<ClInclude Include="..\Classes\Box2DTestBed\Tests\Web.h" />
<ClInclude Include="..\Classes\MutiTouchTest\MutiTouchTest.h" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\..\cocos2dx\proj.win32\cocos2d.vcxproj">
2012-07-23 11:57:34 +08:00
<Project>{98a51ba8-fc3a-415b-ac8f-8c7bd464e93e}</Project>
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
</ProjectReference>
<ProjectReference Include="..\..\..\..\CocosDenshion\proj.win32\CocosDenshion.vcxproj">
2012-07-23 11:57:34 +08:00
<Project>{f8edd7fa-9a51-4e80-baeb-860825d2eac6}</Project>
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
</ProjectReference>
<ProjectReference Include="..\..\..\..\extensions\proj.win32\libExtensions.vcxproj">
2012-07-23 11:57:34 +08:00
<Project>{21b2c324-891f-48ea-ad1a-5ae13de12e28}</Project>
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
</ProjectReference>
<ProjectReference Include="..\..\..\..\external\Box2D\proj.win32\Box2D.vcxproj">
2012-07-23 11:57:34 +08:00
<Project>{929480e7-23c0-4df6-8456-096d71547116}</Project>
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
</ProjectReference>
<ProjectReference Include="..\..\..\..\external\chipmunk\proj.win32\chipmunk.vcxproj">
2012-07-23 11:57:34 +08:00
<Project>{207bc7a9-ccf1-4f2f-a04d-45f72242ae25}</Project>
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
</ProjectReference>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>