Commit Graph

2685 Commits

Author SHA1 Message Date
boyu0 a76c59f644 closed #2050: add tile map xml format test and fix tile property bug. 2013-12-30 11:33:41 +08:00
James Chen 31e2b3d5c2 Merge pull request #4715 from SBKarr/develop
closed #3542: AngelCode binary file format support for LabelBMFont.
2013-12-29 18:11:19 -08:00
Roman "SBKarr 93f6d9c4f5 Added test case for binary fnt file
Also, fixed nul-termination issue in file parsing
2013-12-28 23:00:07 +04:00
James Chen b17117a1a1 More warning fixes. 2013-12-28 14:34:52 +08:00
James Chen f4825ec94a Bug fixes for cocostudio. 2013-12-27 20:54:05 +08:00
James Chen b03c8259b1 Merge commit 'refs/pull/4672/head' of git://github.com/cocos2d/cocos2d-x into cocostudio-test
Conflicts:
	cocos/scripting/auto-generated
2013-12-27 20:18:58 +08:00
James Chen 9baa64f274 Merge pull request #4688 from walzer/develop
make CC_USE_PHYSICS can ACTUALLY be switch off
2013-12-27 04:04:48 -08:00
James Chen bf881f3ac0 Merge pull request #4691 from samuele3hu/DispatcherBak1
Reconstruct the operation of handling lua script event
2013-12-27 03:58:08 -08:00
chengstory 3f4e4c9684 Merge branch 'develop' into #3457 2013-12-27 17:51:27 +08:00
minggo 0690305398 Merge pull request #4666 from 2youyouo2/develop
change play interface name
2013-12-27 01:50:08 -08:00
chengstory faaf6d3f2b fixed #3457 fixes some bug. 2013-12-27 17:21:13 +08:00
walzer ece68aafc2 add Scene::update & addChild into CC_USE_PHYSICS scope, TestCpp compiles and runs successfully when CC_USE_PHYSICS == 0 2013-12-27 15:49:08 +08:00
Huabing.Xu 8198970421 fix testcase remove commandpool 2013-12-27 14:42:45 +08:00
Dhilan007 861925e752 fix compiling error in vs project on win7. 2013-12-27 14:38:22 +08:00
Huabing.Xu 66e550e5a0 Merge branch 'develop' into develop_removeCommandPool
* develop: (33 commits)
  fix black screen when back to foreground  on android.
  Fix set FPS broken.
  Update CHANGELOG [ci skip]
  Update AUTHORS [ci skip]
  Update CCString.cpp
  [AUTO] : updating submodule reference to latest autogenerated bindings
  Updates Bindings-generator.
  Renames: IntValueMap —> ValueMapIntKey
  Restricts the element type for Vector<T> and Map<K, V>, it has to be `Object*` or `ObjectSubClass*`.
  Modify reader
  long --> ssize_t for TableView callback.
  Generates execute file in cocos root_dir/bin folder for HelloCpp.
  Add listview and pageview  reader
  [AUTO] : updating submodule reference to latest autogenerated bindings
  Modify actionnode
  [AUTO] : updating submodule reference to latest autogenerated bindings
  optimize loop
  fix LabelTestNew
  Compilation fixes after merge PR #4669 https://github.com/cocos2d/cocos2d-x/pull/4669
  Fix box2dView
  ...
2013-12-27 14:07:04 +08:00
chengstory 4cb227ae0d fixed #3457 ui action can not play. 2013-12-27 12:45:05 +08:00
samuele3hu ee7aa0f077 Rename EVENT_KEYBOARD_RELEASED and resolve a possible memory leak bug 2013-12-27 12:05:12 +08:00
samuele3hu d51440f62a Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into DispatcherBak1
Conflicts:
	cocos/scripting/lua/bindings/lua_cocos2dx_extension_manual.cpp
2013-12-27 11:17:11 +08:00
samuele3hu 6d9e865f15 Delete some ScriptEventType only used to Lua 、adjust the event callback mechanism and rename cc.HANDLERTYP_ related to avoid overlong 2013-12-27 10:35:44 +08:00
walzer c5e95618d9 fixed #3517, make CC_USE_PHYSICS can be switch off, and bring Scene::update(float), Scene::addChild(...) out of CC_USE_PHYSICS segment 2013-12-26 23:55:05 +08:00
chengstory 774e3d8536 issue #3457
1. replace UIAction NULL to nullptr.
2. modify  class variable  name.
2013-12-26 23:40:50 +08:00
chengstory cfbbb7889b Merge branch 'develop' into #3457
Conflicts:
	cocos/editor-support/cocostudio/CCSGUIReader.cpp
2013-12-26 23:01:34 +08:00
boyu0 6bc0a7066f change CustomCommand variable to class member. 2013-12-26 21:19:12 +08:00
James Chen 93ed5a4f0f long --> ssize_t for TableView callback. 2013-12-26 04:09:24 -08:00
James Chen 902490c79a Generates execute file in cocos root_dir/bin folder for HelloCpp. 2013-12-26 04:09:03 -08:00
chengstory 91edad5152 Merge branch 'develop' into #3457 2013-12-26 16:56:43 +08:00
James Chen 9d4a84c40c Merge pull request #4679 from dabingnn/develop_FixTestCase_labelTestNew
Develop fix test case label test new
2013-12-26 00:27:59 -08:00
yinkaile f0d4f3f9bf Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into develop 2013-12-26 16:19:21 +08:00
James Chen 517f3991ef Merge pull request #4678 from dumganhar/compile-fix
Compilation fixes after merge PR #4669
2013-12-26 00:15:24 -08:00
Huabing.Xu 706d0e185a fix LabelTestNew 2013-12-26 16:11:06 +08:00
Huabing.Xu 69a490ef08 Fix box2dView 2013-12-26 15:48:26 +08:00
boyu0 f878864794 Specialize GroupCommand and CustomCommand, change generateCommand to new. 2013-12-26 15:41:47 +08:00
Huabing.Xu 5faf89c183 change rendering callback from public to protected 2013-12-26 15:34:22 +08:00
Huabing.Xu c28f3fb0e9 fix clippingNodeTest 2013-12-26 15:30:13 +08:00
Huabing.Xu 3cdc20612b Merge branch 'develop' into develop_FixTestCase_TilemapTest
* develop:
  Update CHANGELOG [ci skip]
  [AUTO] : updating submodule reference to latest autogenerated bindings
  [GUI] Updates Mac project.
  Remove C cast
  Fixed bugs about color and opacity
  Remove "_renderer" from widget
  Fixed bugs
  Remove CCDictionary from GUIReader
  Add samples
  Remove NodeRGBA inherit
2013-12-26 14:57:10 +08:00
chengstory efa7495953 Merge branch 'develop' into #3457 2013-12-26 14:46:36 +08:00
minggo 03c4b57f5b Merge pull request #4668 from dabingnn/develop_FixTestCase_Texture2dTest
Develop fix test case texture2d test
2013-12-25 22:42:20 -08:00
chengstory 263c4fbb0a fixed #3457 remove unused comment. 2013-12-26 12:58:34 +08:00
chengstory 8ae7ecff33 Merge branch 'develop' into #3457
Conflicts:
	build/cocos2d_samples.xcodeproj/project.pbxproj
	cocos/editor-support/cocostudio/CCSGUIReader.cpp
	cocos/editor-support/cocostudio/CCSGUIReader.h
2013-12-26 12:55:52 +08:00
CaiWenzhi 7be4d07b7f Fixed build error 2013-12-26 11:56:48 +08:00
CaiWenzhi 8215e90870 Modify build files 2013-12-26 11:44:55 +08:00
CaiWenzhi 30cc579f0c Modify Test CMakeList 2013-12-26 11:36:18 +08:00
Huabing.Xu ec8f30b4d5 fix tilemapTest 2013-12-26 11:19:09 +08:00
Huabing.Xu 58bb327db9 fix texture2dtest->drawinrect 2013-12-26 10:24:40 +08:00
yinkaile b553828ed2 Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into develop 2013-12-26 10:24:33 +08:00
Huabing.Xu ce97b85935 Merge branch 'develop' into develop_FixTestCase_Texture2dTest
* develop:
  [AUTO] : updating submodule reference to latest autogenerated bindings
  Add missing file for linux lua binding
  Add include_directories for spine
  issue #2920: add version detect.
  Delete some annotated  statement about spine and add some reserve manual lua binding functions
  issue #2920: add “FIX ME” comment.
  Modify iOS project set and some manual lua binding
  issue #2920: temporary fix dictation input crash on ios7.
  1. add Spine LUA binding with testcase; 2. CCSkeleton inherites from Node since NodeRGBA is deprecated.
2013-12-26 10:08:25 +08:00
Huabing.Xu e8fd46f6b8 fix Texture2dTest->DrawAtPoint 2013-12-26 10:03:45 +08:00
chengstory 8afdf88d25 Test triiger 3.0 2013-12-26 01:17:04 +08:00
CaiWenzhi 96279c12dc Merge branch 'develop' into develop_nutty_modify_framework_newrender 2013-12-25 18:32:15 +08:00
CaiWenzhi 570b6c95a7 Merge branch 'develop' into develop_nutty_modify_framework_newrender 2013-12-25 17:29:30 +08:00
samuele3hu 1075a711e0 Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into Spine 2013-12-25 16:58:19 +08:00
yinkaile 369b4da721 Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into #3456 2013-12-25 16:55:56 +08:00
Huabing.Xu 2eaba86d76 fix ShadeNodeTest->SpriteBlur 2013-12-25 16:54:09 +08:00
yinkaile ebf9833958 Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into develop 2013-12-25 16:47:14 +08:00
yinkaile 13408e4dc5 change play interface name 2013-12-25 16:46:31 +08:00
samuele3hu 9cf45a292b Delete some annotated statement about spine and add some reserve manual lua binding functions 2013-12-25 16:42:40 +08:00
Huabing.Xu 7816635963 fix ShadeNodeTest->ShaderNode 2013-12-25 16:38:43 +08:00
Huabing.Xu 218dc7c115 fix RenderTextureTest->simpleSprite 2013-12-25 16:18:29 +08:00
Huabing.Xu 7333a636c1 fix Label->LabelBMFontBounds 2013-12-25 15:13:11 +08:00
Huabing.Xu 19522152d5 fix Label->Atlas4 2013-12-25 15:05:49 +08:00
Huabing.Xu cfb06722d5 Merge branch 'develop' into develop_FixTestCase_LabelTest
* develop:
  [AUTO] : updating submodule reference to latest autogenerated bindings
  change “string.compare()” to “==“
  fix android compile error
  [AUTO] : updating submodule reference to latest autogenerated bindings
  fix TestCpp project can't work on debug mode on vs.
  Updates JS tests for SpineTest.
  Removes CC prefix for CCSkeleton and CCSkeletonAnimation. Adds namespace `sp` for JSBindings.
  change some const char* to const std::string&
  change some const char* to const std::string&
2013-12-25 14:55:57 +08:00
Huabing.Xu e8d57154dd fix Label->Atlas1 2013-12-25 14:52:49 +08:00
minggo 599aabc55b Merge pull request #4653 from dabingnn/develop_FixTestCase_ArmatureSceneTest
Develop fix test case armature scene test
2013-12-24 22:32:43 -08:00
Huabing.Xu 22a62d9d07 Fix TestBoundingBox 2013-12-25 14:02:13 +08:00
samuele3hu 9fd64df099 Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into Spine 2013-12-25 13:48:10 +08:00
samuele3hu 45cfe00ec4 Modify iOS project set and some manual lua binding 2013-12-25 13:47:22 +08:00
Huabing.Xu 699424e3c7 remove ArmatureTestLayer::draw 2013-12-25 11:53:50 +08:00
James Chen 17c391f447 Merge pull request #4645 from Dhilan007/update_vs_project
fix TestCpp project can't work on debug mode on vs.
2013-12-24 19:50:25 -08:00
James Chen 51fb4e5d1f Merge pull request #4647 from dabingnn/develop_FixTestCase_DrawPrimitiveTest
change indent to spaces
2013-12-24 19:49:20 -08:00
Huabing.Xu 02c28cf891 change indent to spaces 2013-12-25 11:46:40 +08:00
James Chen 8fdd6249f0 Merge pull request #4646 from dabingnn/develop_FixTestCase_DrawPrimitiveTest
fix actionTest->DrawPrimitiveTest
2013-12-24 19:46:32 -08:00
Huabing.Xu 598d295c6c fix actionTest->DrawPrimitiveTest 2013-12-25 11:44:05 +08:00
Dhilan007 c168dc4731 fix TestCpp project can't work on debug mode on vs. 2013-12-25 11:38:46 +08:00
James Chen 856265950d Updates JS tests for SpineTest. 2013-12-25 11:24:02 +08:00
James Chen 538da31773 Removes CC prefix for CCSkeleton and CCSkeletonAnimation. Adds namespace `sp` for JSBindings. 2013-12-25 11:18:14 +08:00
Huabing.Xu fac87108f6 fix actionTest->Box2dTest 2013-12-25 10:54:31 +08:00
CaiWenzhi 2ae8576e0f Merge branch 'develop' into develop_nutty_modify_framework_newrender 2013-12-25 10:40:05 +08:00
Huabing.Xu 960c64d787 fix actionTest->ActionCardinalSpline,ActionCatmullRom 2013-12-25 10:20:29 +08:00
Huabing.Xu c29b796c15 fix actionTest->ActionCardinalSplineStacked 2013-12-25 09:58:35 +08:00
Huabing.Xu 122f97f20a fix actionTest->ActionFollow, ActionCatmullRomStacked 2013-12-25 09:51:55 +08:00
chengstory e4e22b52cb Merge branch 'develop' into #3456
Conflicts:
	build/cocos2d_libs.xcodeproj/project.pbxproj
	cocos/editor-support/cocostudio/CCDataReaderHelper.cpp
	cocos/editor-support/cocostudio/CCSGUIReader.cpp
	cocos/editor-support/cocostudio/CCSSceneReader.cpp
2013-12-24 22:05:13 +08:00
CaiWenzhi 0dac69523c Remove "_renderer" from widget 2013-12-24 20:22:14 +08:00
samuele3hu e497f823ea Merge branch 'lua_spine_dev' of https://github.com/edwardzhou/cocos2d-x into Spine 2013-12-24 16:14:10 +08:00
James Chen 0305ff15db Merge pull request #4625 from dabingnn/develop_NewClippingNode
Develop new clipping node
2013-12-23 23:20:38 -08:00
James Chen 451d76f6b0 Merge pull request #4611 from dumganhar/spine-test
Merge PR #4572, Spine JS test support.
2013-12-23 22:55:58 -08:00
yinkaile 67c3480320 change std::string.compare() to == 2013-12-24 14:21:25 +08:00
Huabing.Xu e7facf9f85 remove NewClippingNode feature function into ClippingNode 2013-12-24 14:08:57 +08:00
yinkaile 9f8d95131e Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into develop 2013-12-24 13:48:41 +08:00
Edward Zhou 4082c86070 1. add Spine LUA binding with testcase; 2. CCSkeleton inherites from Node since NodeRGBA is deprecated. 2013-12-24 11:55:53 +08:00
Huabing.Xu b61bf3ad95 LabelBMFont inherit SpriteBatchNode instead of NewSpriteBatchNode
remove NewSpriteBatchNode testcase to SpriteBatchNode
2013-12-24 10:51:35 +08:00
yinkaile 4de3e520d8 Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into develop 2013-12-24 10:51:24 +08:00
CaiWenzhi 6dd55921aa Merge branch 'develop' into develop_nutty_modify_framework_newrender 2013-12-24 10:44:57 +08:00
Huabing.Xu c4f4f91cb4 Merge branch 'develop' into develop_mergeNewSprite
* develop:
  [AUTO] : updating submodule reference to latest autogenerated bindings
  Updates Bindings-generator.
  Binds Node::setAnchorPoint manually.
  Don’t hide parent’s addChild method in TMXLayer class.
  [AUTO] : updating submodule reference to latest autogenerated bindings
  Updates JS-tests to the latest version.
  [Lua Binding] Supports to bind more container: std::vector<std::string>, std::vector<int>, cocos2d::Map<std::string, T>.
  Updates js tests to the latest version.
  Removes unneeded binding glue codes, Sprite::setPosition.
  Bindings-generator skips Node::setContentSize. Binds it manually.
  [AUTO] : updating submodule reference to latest autogenerated bindings
  issue #3353:Add the DisplayLinkDirector lua binding
  issue #2771: fix warning log and fix typo.
  issue #3353:Lua gc mechanism will make the extended attributes of lua userdata disapper
2013-12-24 10:03:21 +08:00
James Chen 05f6a5b09b Merge branch 'develop' of git://github.com/cocos2d/cocos2d-x into spine-test 2013-12-23 22:05:20 +08:00
James Chen 44f9009a5d Merge pull request #4610 from dumganhar/lastest-js-test
Updates JS-test to the latest version and some binding fixes
2013-12-23 06:04:49 -08:00
James Chen b08995ae67 Updates JS-tests to the latest version. 2013-12-23 21:14:55 +08:00
Huabing.Xu e66eb6464d use Sprite instead of NewSprite 2013-12-23 21:07:25 +08:00
James Chen a48544c814 Merge pull request #4598 from boyu0/iss2771_physical
issue #2771: fix warning log and fix typo.
2013-12-23 05:00:03 -08:00
James Chen cafebe7295 Merge commit 'refs/pull/4572/head' of git://github.com/cocos2d/cocos2d-x into spine-test
Conflicts:
	build/cocos2d_libs.xcodeproj/project.pbxproj
2013-12-23 20:28:51 +08:00
James Chen 92ee688b73 Updates js tests to the latest version. 2013-12-23 20:26:13 +08:00
Huabing.Xu 75597bc47f Merge branch 'develop' into develop_mergeNewRenderTexture
* develop:
  [LUA] Removes CCCameraDeprecated table in Deprecated.lua.
  [AUTO] : updating submodule reference to latest autogenerated bindings
  issue #3403:Modify the registerScriptHandler functions inputparams and some EventData struct info
  Compilation fix after this PR (https://github.com/cocos2d/cocos2d-x/pull/4583).
  issue #3403:Delete Camera manual lua binding
  issue #3403:Add the EventDispatcher lua binding and the releated test cases
2013-12-23 18:34:12 +08:00
Huabing.Xu 9c97fc6f19 remove NewRenderTexture include file 2013-12-23 18:08:50 +08:00
Huabing.Xu 41a77fed61 TestCase Use RenderTexture instead of NewRenderTexture 2013-12-23 17:13:41 +08:00
CaiWenzhi a19000b49f Add samples 2013-12-23 15:35:35 +08:00
boyu0 69f1834e61 issue #2771: fix warning log and fix typo. 2013-12-23 14:30:43 +08:00
yinkaile 8d9035c5e8 Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into develop 2013-12-23 14:06:22 +08:00
yinkaile ba809a0096 change const char* to const std::string& 2013-12-23 14:05:46 +08:00
samuele3hu f0dc7f0b15 issue #3403:Modify the registerScriptHandler functions inputparams and some EventData struct info 2013-12-23 11:19:55 +08:00
samuele3hu 7daace0b2a Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into NewEventDispatcher 2013-12-23 09:43:05 +08:00
samuele3hu 50bcdee725 Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into NewEventDispatcher 2013-12-22 22:11:17 +08:00
samuele3hu 97f26176e8 issue #3403:Add the EventDispatcher lua binding and the releated test cases 2013-12-22 22:10:21 +08:00
Dhilan007 786b7d9912 update vs project for remove CCCamera. 2013-12-22 17:19:59 +08:00
minggo 3d37a26e21 Merge pull request #4523 from Dhilan007/increase_test_pressure
increase label test pressure.
2013-12-21 17:08:20 -08:00
Ricardo Quesada 49903ea779 Director emits events after visit, after draw and after update. And when the projection changes
Adds helper functions on EventDispatcher
Adds test in NewEventDispatcherTest
2013-12-21 10:55:16 -08:00
Ricardo Quesada eea2e70d1e Adds events in director 2013-12-21 00:56:28 -08:00
Ricardo Quesada eadbaa3bf5 Adds comment to ActionCamera file 2013-12-20 19:37:14 -08:00
Ricardo Quesada b8b7714431 Camera is working OK in 2d projection 2013-12-20 19:19:24 -08:00
Ricardo Quesada d8ad5291f4 Nore camera 2013-12-20 16:33:31 -08:00
James Chen 0db2067f97 Merge branch 'develop' of git://github.com/cocos2d/cocos2d-x into new-spine 2013-12-20 20:11:41 +08:00
byeonggee.seo ef1709bc3d Add SpineTest to TestJavascript 1 2013-12-20 19:20:13 +09:00
minggo 756f8f7a11 Merge pull request #4482 from dabingnn/develop_gridNode
Develop grid node
2013-12-19 18:30:42 -08:00
Ricardo Quesada 59fee6b8d2 replaces std::for_each with for()
replaces `std::for_each` with C++11 `for( : )`
2013-12-19 13:34:41 -08:00
Ricardo Quesada 99ae4d86d3 fixes compiler warnings
* converts some `int` to `ssize_t`
* adds `const` to `title()` and `subtitle()`
2013-12-19 12:23:42 -08:00
James Chen cfec4d5b7e Updates spine test. 2013-12-19 21:35:43 +08:00
Huabing.Xu d51ad36613 Merge branch 'develop' into develop_gridNode
* develop: (67 commits)
  Adds const in ShaderTest2.h
  Skew works again!
  [AUTO] : updating submodule reference to latest autogenerated bindings
  [AUTO] : updating submodule reference to latest autogenerated bindings
  Reverts submodule.
  Updates submodule of bindings-generator.
  Adds `std::for_each` test in invocation
  Reverts bindings-generator.
  fixed not render
  iterator in Sprite fixes
  update vs project for removes unneeded files
  getNodeToParentTransform fixes
  Node cleanup
  [AUTO] : updating submodule reference to latest autogenerated bindings
  Improves SpriteTest
  [AUTO] : updating submodule reference to latest autogenerated bindings
  Android and Linux fixes
  removes `using namespace std` from header file
  Removes unneeded files
  change play arguments
  ...

Conflicts:
	cocos/2d/CCNode.cpp
	samples/Cpp/TestCpp/Classes/ExtensionsTest/CocoStudioArmatureTest/ArmatureScene.cpp
2013-12-19 17:20:22 +08:00
boyu0 ef54ed3c15 Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into HEAD
Conflicts:
	cocos/2d/CCLabel.cpp
	cocos/2d/CCLabel.h
	cocos/2d/CCLabelBMFont.cpp
	cocos/2d/CCLabelBMFont.h
	cocos/2d/CCLayer.cpp
	cocos/2d/CCLayer.h
	cocos/2d/CCNode.cpp
	extensions/GUI/CCControlExtension/CCControl.cpp
	extensions/GUI/CCControlExtension/CCControlButton.cpp
	extensions/GUI/CCControlExtension/CCScale9Sprite.cpp
	tools/tojs/cocos2dx.ini
2013-12-19 17:05:59 +08:00
Ricardo Quesada 2d2a6b205d Adds const in ShaderTest2.h
Adds const in ShaderTest2.h
2013-12-18 21:15:47 -08:00
James Chen 113fa9924e Merge pull request #4550 from dumganhar/merge-pr-4532
Merge pr 4532
2013-12-18 20:12:18 -08:00
Ricardo Quesada c044a91f6e Adds `std::for_each` test in invocation
and removes CArray and CMacro tests
2013-12-18 19:28:09 -08:00
yinkaile a6a432d2a2 fixed not render 2013-12-19 10:42:06 +08:00
yinkaile 93eaf44e9c Merge branch 'develop' into Array
Conflicts:
	cocos/scripting/auto-generated
2013-12-19 09:42:21 +08:00
Ricardo Quesada 7616edd9f3 Improves SpriteTest
Improves SpriteTest.
It is easier to see if Sprite works as SpriteBatchNode (and vice-versa).

Needed for the new renderer.

Also adds `const` to title() and subtitle()
2013-12-18 13:52:10 -08:00
Ricardo Quesada d1b555614e removes `using namespace std` from header file
... in order to prevent possible collisions.

`using namespace XXX` MUST never be used in header files.
2013-12-18 11:45:30 -08:00
yinkaile 324732b867 change play arguments 2013-12-18 23:29:54 +08:00
yinkaile 57c33e0604 fixed compile error 2013-12-18 22:36:10 +08:00
yinkaile d3a575e8cc change for iterator and callfunc 2013-12-18 22:07:33 +08:00
yinkaile 026811ca59 Merge branch 'develop' into Array
Conflicts:
	cocos/scripting/auto-generated
	tools/bindings-generator
2013-12-18 22:03:16 +08:00
James Chen 9c0d39c6f9 Merge pull request #4531 from dumganhar/extension-warning-fix
Some warning fixes in SocketIO, ContriolButton, js_manual_conversion.h/.cpp.
2013-12-18 01:48:14 -08:00
James Chen 7719c692b8 More warning fixes. 2013-12-18 16:03:07 +08:00
samuele3hu f5f95399fd Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into developConversion 2013-12-18 14:58:35 +08:00
Dhilan007 2d9b7ee4fc update vs project for new renderer and fix compiling fail on vs. 2013-12-18 14:36:49 +08:00
samuele3hu 4d4b96ba30 issue #3402:Add the new label lua binding and the releated test cases 2013-12-18 11:39:43 +08:00
Dhilan007 2a3390d3eb increase label test pressure. 2013-12-18 10:46:02 +08:00
Ricardo Quesada 33c4f891a0 Adds 'CC' to renderer files 2013-12-17 18:41:09 -08:00
Ricardo Quesada 3f3071fbb6 Cleanup RenderCommand code
RenderCommand code is cleaner
2013-12-17 18:02:11 -08:00
Huabing.Xu 25fc3d3c2a Merge branch 'develop' into develop_gridNode
* develop: (105 commits)
  update armature to new render
  iOS & Mac project fix.
  [AUTO] : updating submodule reference to latest autogenerated bindings
  use size_t replace unsigned int for record redeque::size returned value.
  issue #2171: Updates CMakeLists.txt.
  issue #2171: Binds New renderer classes, ignores NewTextureAtlas.
  issue #2171: Adds header files of renderer in cocos2d.h.
  issue #2171: Reorder renderer files for iOS & mac project.
  issue #2171: small fix in ccTypes.h
  issue #2171: Don’t ‘using namespace std;’ in header file.
  [AUTO] : updating submodule reference to latest autogenerated bindings
  issue #2171: Ignores Director::getFrustum.
  issue #2171: Fixing compilation errors for Linux port.
  issue #2171: NULL —> nullptr for Android warning of CCBAnimationManager.cpp.
  issue #2171: [New Renderer] Fixing compilation errors for Android.
  [Win32] fix argument type. - argument of interface is ssize_t.
  Update AUTHORS [ci skip]
  Update CHANGELOG [ci skip]
  Add mouse scrolling support for extension test
  issue #3341:fix Incorrect at TextureCache::addImageAsync for repeatedly execute for the same image
  ...

Conflicts:
	cocos/2d/CCNode.cpp
	cocos/2d/cocos2d.vcxproj.filters
	samples/Cpp/TestCpp/Classes/ExtensionsTest/CocoStudioArmatureTest/ArmatureScene.cpp
2013-12-17 18:16:05 +08:00
James Chen 3829f841e7 Small fix for Vector::insert(const Vector<T>& other), renames it to Vector::pushBack(const Vector<T>& other). 2013-12-17 18:09:07 +08:00
yinkaile 6ff45b09e7 Merge branch 'newRenderer' into Array
Conflicts:
	cocos/editor-support/cocostudio/CCArmature.cpp
	cocos/editor-support/cocostudio/CCArmature.h
	cocos/editor-support/cocostudio/CCBatchNode.cpp
	cocos/editor-support/cocostudio/CCColliderDetector.cpp
	cocos/scripting/auto-generated
	tools/bindings-generator
2013-12-17 18:06:11 +08:00
James Chen c0d741d0d8 Merge pull request #4507 from dumganhar/del-vector-foreach
Removes Vector<T>::forEach, please use std::for_each instead. The same as Vector<T>::sort.
2013-12-17 01:55:35 -08:00
James Chen d16fa07661 Removes Vector<T>::forEach, please use std::for_each instead. The same as Vector<T>::sort. 2013-12-17 17:45:29 +08:00
minggo bcb07abb7b Merge pull request #4505 from 2youyouo2/newRenderer
update armature to new render
2013-12-17 01:43:07 -08:00
yinkaile bc868cc004 update armature to new render 2013-12-17 17:00:01 +08:00
James Chen d3a4dbab08 iOS & Mac project fix. 2013-12-17 16:34:05 +08:00
James Chen 12cc6c6153 Merge branch 'develop' of git://github.com/cocos2d/cocos2d-x into iss2171-new-renderer
Conflicts:
	cocos/2d/CMakeLists.txt
2013-12-17 15:50:24 +08:00
minggo 16ed9155c0 Merge pull request #4460 from Dhilan007/label_distanceField
new label:add support for distanceField
2013-12-16 23:18:41 -08:00
James Chen 2a38d4fe94 issue #2171: Fixing compilation errors for Linux port. 2013-12-17 14:50:40 +08:00
James Chen 4e01769cd5 issue #2171: [New Renderer] Fixing compilation errors for Android. 2013-12-17 14:18:41 +08:00
Lee, Jae-Hong 2a38a2c154 [Win32] fix argument type.
- argument of interface is ssize_t.
2013-12-17 15:11:37 +09:00
Ricardo Quesada 3a25d9079d Merge branch 'newRenderer' of github.com:darkdukey/cocos2d-x into newRenderer 2013-12-16 13:58:27 -08:00
Ricardo Quesada 5c178f1c93 Merge branch 'develop' into newRenderer 2013-12-16 13:57:29 -08:00
Huabing.Xu 6abb6639b5 remove android properties change by eclipse 2013-12-16 19:22:40 +08:00
Nite Luo 545000a213 Add mouse scrolling support for extension test 2013-12-16 17:40:34 +08:00
youyou 81cdbea9c8 change Array to Vector, Dictionary to Map 2013-12-16 14:34:09 +08:00
Huabing.Xu 6aa2908c13 rename:
1. class: GridNode->NodeGrid
2. function: setNodeGrid->setGrid  getNodeGrid->getGrid setGridTarget->setTarget
3. file: CCGridNode.h&cpp->CCNodeGrid.h&cpp
2013-12-16 14:21:05 +08:00
Dhilan007 32f23ebdba fix bad position for performance test about Label. 2013-12-16 11:04:52 +08:00
Huabing.Xu b1eacd52cb Merge branch 'develop' into develop_gridNode
* develop:
  fix compile error related to ssize_t.
  issue #2771: add and change some physics API, and add more documents
  [AUTO] : updating submodule reference to latest autogenerated bindings
  Some fixes for XXX:getDescription.
  Reverts CCSpriteBatchNode.h
  size_t —> ssize_t in CCTMXLayer.cpp
  issue #2771: add PhysicsWorld function set/getUpdateRate and set/getSpeed. Change name PhysicsQueryRectCallbackFunc and PhysicsPointQueryCallbackFunc to PhysicsRectQueryCallbackFunc and PhysicsQueryPointCallbackFunc
  Fix:Add lua binding of ’registerScriptHandler’、’unregisterScriptHandler’ and ’removeObjectAllHandlers’ of ScriptHandlerMgr and some constants define
  [AUTO] : updating submodule reference to latest autogenerated bindings
  More renames of description() to getDescription()
  getDescription() works as expected
  fix compiling error after fixing conflicts
  fix compiling error after fixing conflicts
  use ssize_t for index
  use ssize_t for index and capacity
  use ssize_t for capacity and index in containers
  Fix:Remove some needless lua binding functions and resolve a bug
2013-12-16 10:43:49 +08:00
boyu0 2444f407b2 issue #3162: fix test title 2013-12-16 04:13:49 +08:00
youyou 917bd8c3d9 change Array to Vector 2013-12-13 19:40:38 +08:00
youyou 0e8c3409e5 Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into develop
Conflicts:
	samples/Cpp/TestCpp/Classes/ExtensionsTest/CocoStudioArmatureTest/ArmatureScene.h
2013-12-13 16:28:50 +08:00
boyu0 4befb50307 issue #2771: add PhysicsWorld function set/getUpdateRate and set/getSpeed. Change name PhysicsQueryRectCallbackFunc and PhysicsPointQueryCallbackFunc to PhysicsRectQueryCallbackFunc and PhysicsQueryPointCallbackFunc 2013-12-13 16:26:26 +08:00
youyou 6a3aff0861 fixed change animation internal, animation speed not right 2013-12-13 15:58:58 +08:00
Dhilan007 8b9cfd7d35 fix compiling error on linux and android. 2013-12-13 12:58:16 +08:00
Dhilan007 39280d55f3 new label:add support for distanceField
PerformanceTest:add performance test for label.
2013-12-13 12:42:15 +08:00
Ricardo Quesada 29a15c885a Merge branch 'develop' into newRenderer 2013-12-12 11:44:09 -08:00
boyu0 d7106d49be Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into bug3162_opacity_incorrect 2013-12-12 17:04:21 +08:00
Huabing.Xu 08bfbbc582 Fix project can not compile after rebased pull 2013-12-12 16:20:52 +08:00
Huabing.Xu 349724b6fd Fix ArmatureSceneTest Crash 2013-12-12 15:15:43 +08:00
Huabing.Xu 503918db02 Fix EffectAdvancedTest Crash 2013-12-12 15:15:42 +08:00
Huabing.Xu 8bcbf8d186 Fix EffectTest Crash 2013-12-12 15:15:42 +08:00
Huabing.Xu 6300ce73d1 EffectTest can run 2013-12-12 15:15:42 +08:00
Ricardo Quesada 6d1abc7d4d Merge branch 'develop' into newRenderer 2013-12-11 15:28:05 -08:00
James Chen 6243401404 issue #2790: ConfigurationTest fix. 2013-12-11 18:08:06 +08:00
boyu0 463ae20ce6 issue #3162: Add layer cascade color and cascade opacity test, fix bugs 2013-12-11 15:57:20 +08:00
James Chen 473b21a05a Merge pull request #4471 from Dhilan007/compile_error_vs_131210
fix compile error for vs project.
2013-12-10 18:06:57 -08:00
Ricardo Quesada 3b66d09bf5 Merge branch 'develop' into newRenderer 2013-12-10 11:10:55 -08:00
James Chen bf7b46c315 issue #2790: TouchesTest.h/.cpp uses Vector<T> now. 2013-12-10 18:27:13 +08:00
Dhilan007 7c97ed2bcd Merge branch 'develop' of git://github.com/cocos2d/cocos2d-x into develop 2013-12-10 18:20:40 +08:00
boyu0 a71394b122 Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into bug3162_opacity_incorrect 2013-12-10 18:03:41 +08:00
Dhilan007 b2875618b2 Merge branch 'develop' of git://github.com/cocos2d/cocos2d-x into develop 2013-12-10 10:15:53 +08:00
Ricardo Quesada aa00137fde Merge branch 'develop' into newRenderer 2013-12-09 11:10:00 -08:00
James Chen d1d5659818 issue #2790: Uses Vector<T> or Map<K, V> as many as possible for CCBReader. 2013-12-09 17:55:56 +08:00
youyou a884a70045 fix2d compling warning 2013-12-09 13:56:07 +08:00
Dhilan007 79e7d1a378 Merge branch 'develop' of git://github.com/cocos2d/cocos2d-x into develop 2013-12-09 10:38:42 +08:00
James Chen ba56bf6ecd issue #2790: Updates Tests. 2013-12-07 14:28:37 +08:00
Ricardo Quesada 73b1e3bb9e Merge branch 'develop' into newRenderer
Conflicts:
	cocos/2d/CCLabelAtlas.cpp
	cocos/2d/CCSprite.cpp
2013-12-06 09:37:08 -08:00
boyu0 4d0e3dbd8d Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into bug3162_opacity_incorrect 2013-12-06 18:16:26 +08:00
boyu0 af5f496861 issue #3162: Merge Node and NodeRGBA, fix bug: Child's opacity will not be changed when its parent's setCascadeOpacityEnabled was set to true and opacity was changed. 2013-12-06 18:07:16 +08:00
minggo fa7c97171b fix some warnings 2013-12-06 16:32:06 +08:00
youyou 7e96701ef0 fixed create PhysicsSprite 2013-12-06 14:25:08 +08:00
youyou e17b9d839b 1.add TEST_EASING
2.add play serveral movement function
3.update TEST_COLLIDER_DETECTOR
4.fixed movement event
2013-12-06 13:40:49 +08:00