Commit Graph

1735 Commits

Author SHA1 Message Date
CaiWenzhi 63fbec05e9 Modify wrong codes 2014-01-06 12:19:59 +08:00
CaiWenzhi 2450841a5f Merge branch 'develop' into develop_nutty_modify_framework_optimizeclipping 2014-01-06 12:13:24 +08:00
minggo e4bec7d1ef Merge pull request #4902 from Dhilan007/develop_crash
fix TextInput not show IME on android.
2014-01-05 19:50:19 -08:00
Dhilan007 5b317196c8 fix TextInput not show IME on android. 2014-01-06 11:45:18 +08:00
CaiWenzhi 99d842d954 Merge branch 'develop' into develop_nutty_modify_framework_optimizeclipping 2014-01-06 11:39:01 +08:00
Huabing.Xu 381be48c56 init shader on construction instead of draw in class CCSpriteBatchNode 2014-01-06 11:26:00 +08:00
James Chen d74d21a6f0 Merge pull request #4884 from daltomi/debug
Proposal: remove boolean flag, The pointer *atlas == item.second not change in map::erase().
2014-01-05 19:08:37 -08:00
CaiWenzhi 1282debad5 Merge branch 'develop' into develop_nutty_modify_framework_addNode 2014-01-06 11:03:08 +08:00
CaiWenzhi ad30f8ff96 Fixed bug of clippinglayout 2014-01-06 10:56:33 +08:00
chengstory e1b36e2e20 Merge branch 'develop' into #3585 2014-01-06 10:43:44 +08:00
chengstory 76f96d0b41 fixed ActionNode memoryleak. 2014-01-06 10:42:17 +08:00
CocosRobot cc4bee319c [AUTO] : updating submodule reference to latest autogenerated bindings 2014-01-05 10:43:05 +00:00
minggo fcfa6744f4 make TMXLayer::getProperties() return reference 2014-01-05 18:20:29 +08:00
CocosRobot 5f8d4f867c [AUTO] : updating submodule reference to latest autogenerated bindings 2014-01-05 05:52:52 +00:00
chengstory 877c6dddf3 fixed #3582
1.  CCScene ->  Scene.
2014-01-05 13:16:23 +08:00
chengstory 4893c561db Merge branch 'develop' into #3582 2014-01-05 12:43:41 +08:00
chengstory bd9dc274f8 fixed #3482
1.   add override to  virtual functions.
                 2.   replace std::string::npos  to filePath.npos.
                 3.   replace std::string to  const std::string& .
2014-01-05 12:42:39 +08:00
James Chen 03200374b0 Merge pull request #4887 from Dhilan007/develop_crash
fix crash related to not support the z length modifier for size_t on vs
2014-01-04 20:10:40 -08:00
Dhilan007 49d8b76b9e fix crash related to not support the z length modifier for size_t on vs 2014-01-05 11:59:32 +08:00
chengstory 10fec47b04 fixed #3582 update libCocoStudio windows project. 2014-01-05 11:38:01 +08:00
chengstory b4118a7ccc fixed #3582
1.  add #include "cocostudio/CCComBase.h" into  CocoStudio.h
2014-01-05 03:55:10 +08:00
chengstory aae6d27c74 fixed #3582
1.  revert ComRender::create(cocos2d::Node *node, const char *comName).
2014-01-05 03:11:32 +08:00
chengstory bac600ab9f fixed #3582
1.  create Component By  component Factory.
2014-01-05 02:22:32 +08:00
chengstory 7efacc4890 issue #3582 void serialize(void *r) -> bool serialize(void *r) 2014-01-05 01:13:16 +08:00
James Chen 7d2ec6c2c6 Merge pull request #4881 from dumganhar/utf16-to-utf8-error
compilation error fix. ssize_t -> int
2014-01-04 06:22:09 -08:00
James Chen f94221a93b compilation error fix. ssize_t -> int 2014-01-04 22:21:14 +08:00
CocosRobot f44775b581 [AUTO] : updating submodule reference to latest autogenerated bindings 2014-01-04 14:05:19 +00:00
James Chen 2c47690ebb Merge pull request #4878 from dumganhar/utf16-to-utf8-error
Wrong warning fixes correct in ccUTF8.cpp.
2014-01-04 05:58:18 -08:00
James Chen 3c04d586b0 Wrong warning fixes correct in ccUTF8.cpp. 2014-01-04 21:54:05 +08:00
James Chen 42356e8597 Exchanges order of Sprite::setSpriteFrame(string), Sprite::setSpriteFrame(frame) . It’s needed for bindings-generator to generate correct binding glue codes. 2014-01-04 21:53:03 +08:00
CocosRobot 0b2926cb70 [AUTO] : updating submodule reference to latest autogenerated bindings 2014-01-04 11:09:00 +00:00
samuele3hu 362c1dc0ea Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into developNewUI 2014-01-04 18:37:34 +08:00
samuele3hu 465aba951c Fix:Remove the ScollView and TableView of extension gui lua binding 2014-01-04 18:36:33 +08:00
Daniel T. Borelli 08dad98592 map:erase() is safe for item.second == FontAtlas* 2014-01-04 07:22:50 -03:00
CocosRobot c793f2e0fc [AUTO] : updating submodule reference to latest autogenerated bindings 2014-01-04 10:19:07 +00:00
James Chen 6827538802 Adds override keyword for override functions. 2014-01-04 18:12:09 +08:00
James Chen 17be52740a Removes duplicated file in Android.mk 2014-01-04 16:57:46 +08:00
James Chen 284d845f2f Merge commit 'refs/pull/4795/head' of git://github.com/cocos2d/cocos2d-x into merge4795 2014-01-04 16:55:40 +08:00
samuele3hu 70ee13e2e1 Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into developNewUI 2014-01-04 15:46:27 +08:00
samuele3hu 0550ec33ad Fix:Resolve the bugs that some lua test cases can’t run 2014-01-04 15:46:04 +08:00
CocosRobot ad11468b7b [AUTO] : updating submodule reference to latest autogenerated bindings 2014-01-04 07:40:50 +00:00
James Chen 4c3fa3da49 Merge pull request #4865 from dumganhar/testjs-bugfix
Some fixes for TestJavascript
2014-01-03 23:34:08 -08:00
James Chen 98265e7961 Reverts GUIReader definition. it should be inherited from Object to make bindings happy. 2014-01-04 15:17:36 +08:00
James Chen b2dc16c065 closed #3580: FileUtilsTest->TextWritePlist crashes 2014-01-04 15:03:46 +08:00
James Chen ef5ab1b9be sharedXXX -> getInstance, purgeXXX -> destroyInstance. 2014-01-04 14:23:40 +08:00
James Chen 43cdf1713b Merge pull request #4864 from daltomi/test
fix bad name variable CCDirector
2014-01-03 21:44:42 -08:00
Daniel T. Borelli d10992951b fix bad name variable 2014-01-04 02:22:09 -03:00
James Chen 98346474b8 Merge pull request #4863 from Dhilan007/develop_crash
fix compiling error and miss file on vs.
2014-01-03 20:41:19 -08:00
Dhilan007 35246b0810 fix compiling error and miss file on vs. 2014-01-04 12:25:12 +08:00
CocosRobot e42f721c6b [AUTO] : updating submodule reference to latest autogenerated bindings 2014-01-04 04:22:17 +00:00
James Chen 44105c5d01 Merge pull request #4861 from dumganhar/develop
Fixing CocoStudio bindings error.
2014-01-03 20:12:05 -08:00
James Chen 322cf0d233 Fixing CocoStudio bindings error. 2014-01-04 12:11:10 +08:00
James Chen e65c6b8e53 Merge pull request #4841 from dumganhar/template-container-unit-test
Template container unit test
2014-01-03 20:01:25 -08:00
CocosRobot d29cdb5b52 [AUTO] : updating submodule reference to latest autogenerated bindings 2014-01-04 03:58:44 +00:00
James Chen 55e45d44c4 Merge pull request #4810 from chengstory/#3480
Update SceneReaderTest Samples
2014-01-03 19:49:28 -08:00
James Chen 9342ae105a issue #3577: const_iterator —> iterator for Vector::erase(first, last). Makes android build happy. 2014-01-04 11:41:06 +08:00
James Chen ebf6d07720 issue #3577: iterator —> const_iterator since Map::getRandomObject is a const function. 2014-01-04 11:41:05 +08:00
James Chen f55be38ad8 Merge pull request #4853 from Dhilan007/develop_crash
fix label not appear on the screen
2014-01-03 19:00:06 -08:00
CocosRobot 0ed307a583 [AUTO] : updating submodule reference to latest autogenerated bindings 2014-01-04 02:58:59 +00:00
Dhilan007 b14999a7a7 fix label not appear on the screen 2014-01-04 10:56:14 +08:00
James Chen 32546b58f9 Merge pull request #4840 from nutty898/develop_nutty_modify_framework_addNode
Develop nutty modify framework add node
2014-01-03 18:53:51 -08:00
James Chen f3eb21e748 Merge pull request #4852 from dumganhar/iss3579-lua-bugtest914-crash
closed #3579: TestLua->BugsTest->bug914 crashes if clicking 'reset' button all the time.
2014-01-03 18:51:16 -08:00
James Chen 61af958976 closed #3579: Bug fix in setTouchEnabledForLayer for jsbindings. 2014-01-04 10:32:04 +08:00
James Chen baeacaddfc closed #3579: Bug fix in setTouchEnabledForLayer for luabindings.
Also fixed lua module error.
2014-01-04 10:30:11 +08:00
James Chen 0082cf3e4d closed #3579: TestLua->BugsTest->bug914 crashes if clicking 'reset' button all the time. 2014-01-04 10:28:09 +08:00
Ricardo Quesada 76960ab83a Merge pull request #4851 from ricardoquesada/node_vertex_z_fix
Node vertex Z fix
2014-01-03 17:55:32 -08:00
Ricardo Quesada 5a0284c183 Node vertex Z fix
Node correctly  sets the Z vertex in getNodeToParentTransform(),
and not in transform().

This is the correct thing to do, and also fixes possible collisions
with the additionalTransform (eg: Camera)
2014-01-03 17:54:07 -08:00
CocosRobot 54ee3392fc [AUTO] : updating submodule reference to latest autogenerated bindings 2014-01-04 01:40:17 +00:00
minggo 964d327db9 Merge pull request #4848 from dumganhar/more-warning-fixes
More warning fixes.
2014-01-03 17:31:02 -08:00
minggo 93f3545154 Merge pull request #4842 from Dhilan007/develop_crash
update js binding for studio change.
2014-01-03 17:29:14 -08:00
James Chen 46153d8c34 More warning fixes. 2014-01-04 09:17:37 +08:00
Ricardo Quesada a7b33e3ec3 Fixes NodeToWorld
Multiplication was in the incorrect order
2014-01-03 14:21:33 -08:00
Dawid Drozd b7314cd655 Fix for missing field in particle file. 2014-01-03 21:27:08 +01:00
Dawid Drozd 43ce4fa546 Fixed mistake in documentation addImage doesn't support gif format 2014-01-03 21:22:05 +01:00
Dhilan007 e017609fc4 fix compiling error in jsb_cocos2dx_studio_manual.cpp on android. 2014-01-03 23:59:05 +08:00
Dhilan007 b6e676caa4 fix warn and compiling error in jsb_cocos2dx_studio_manual.cpp. 2014-01-03 23:03:48 +08:00
Dhilan007 b4d392dc38 update js binding for studio change. 2014-01-03 21:33:48 +08:00
CaiWenzhi 8c5678a59e Modify wrong codes. 2014-01-03 20:35:14 +08:00
CaiWenzhi 785e1740e4 Add "addNode" methods 2014-01-03 20:29:16 +08:00
chengstory 20b118739e Merge branch 'develop' into #3480 2014-01-03 20:20:18 +08:00
CaiWenzhi 24a9f57b8e Merge branch 'develop' into develop_nutty_modify_framework_optimizewidgets 2014-01-03 20:05:49 +08:00
Liam 0e42c1c369 Merge branch 'develop' of git://github.com/cocos2d/cocos2d-x into develop 2014-01-03 19:53:23 +08:00
chengstory 7f8224b621 Merge branch 'develop' into #3480
Conflicts:
	build/cocos2d_samples.xcodeproj/project.pbxproj
2014-01-03 19:36:22 +08:00
CocosRobot 126c315673 [AUTO] : updating submodule reference to latest autogenerated bindings 2014-01-03 11:32:54 +00:00
chengstory 46c7338008 fixed #3480
1.  remove unused getnode and setnode interface.
                 2.  add condition test.
                 3.  Modify ComAttribute to support for parse json file.
                 4.  Replace scenereader callback function  to C++ 11 implement.
2014-01-03 19:30:47 +08:00
minggo 5ad3414921 Merge pull request #4834 from minggo/bug-fix
Put "initxx" functions into protected.
2014-01-03 03:27:55 -08:00
CaiWenzhi a7f482fbf9 Merge branch 'develop' into develop_nutty_modify_framework_optimizewidgets 2014-01-03 19:17:26 +08:00
CaiWenzhi 3ccb80085f Fixed bugs of page view 2014-01-03 19:14:17 +08:00
minggo 4fc7ad6e3d Merge pull request #4791 from dabingnn/develop_clippingNodeMobile
fix bug clippingNodetest on mobile
2014-01-03 02:36:52 -08:00
minggo 1d04b42947 Put "initxx" functions into protected. 2014-01-03 18:15:56 +08:00
James Chen 86598edb73 Merge pull request #4829 from CocosRobot/updategeneratedsubmodule_1388738242
[AUTO] : updating submodule reference to latest autogenerated bindings
2014-01-03 00:39:24 -08:00
CocosRobot 37c8b03253 [AUTO] : updating submodule reference to latest autogenerated bindings 2014-01-03 08:37:25 +00:00
James Chen c5ec24195a Merge pull request #4821 from nutty898/develop_nutty_modify_framework_optimizewidgets
optimize button
2014-01-03 00:35:48 -08:00
James Chen 5346677a47 Merge pull request #4825 from samuele3hu/developNewUI
Update the lua test cases about the armature
2014-01-03 00:29:24 -08:00
CaiWenzhi a32976802a Merge branch 'develop' into develop_nutty_modify_framework_optimizewidgets 2014-01-03 15:50:35 +08:00
CaiWenzhi 767bf81e90 Modify renderers draw order define. 2014-01-03 15:46:42 +08:00
Dhilan007 8e2c51d31e update vs project for split spine binding. 2014-01-03 15:29:50 +08:00
CaiWenzhi 9c0e669e09 Add "override" 2014-01-03 15:14:48 +08:00
samuele3hu a72cf0428c Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into developNewUI 2014-01-03 14:53:15 +08:00
samuele3hu 2b19da00df Update the lua test cases about the armature 2014-01-03 14:51:36 +08:00
CocosRobot 0661d87cdb [AUTO] : updating submodule reference to latest autogenerated bindings 2014-01-03 05:02:28 +00:00
James Chen ac6b72450f Merge pull request #4816 from samuele3hu/developNewUI
Update the lua test cases about the GUI
2014-01-02 20:53:19 -08:00
CaiWenzhi 7d8d645c70 Modify "include" 2014-01-03 12:15:42 +08:00
CaiWenzhi e734f3ccaf optimize button 2014-01-03 12:14:21 +08:00
andyque 88efbfc9cc remove srand function call 2014-01-03 11:56:58 +08:00
andyque 774542a341 fix compile error of getRandomObject in map
and add srand to  vector and map
2014-01-03 11:53:16 +08:00
samuele3hu 53f2415fcf Resolve the android compile error 2014-01-03 11:29:56 +08:00
samuele3hu 51e3e3fd1b Resolve the android and linux compile error 2014-01-03 11:15:46 +08:00
James Chen 4de2f82bd2 Merge pull request #4815 from andyque/fix
ix move assignment operator doesn't clear previous content bug
2014-01-02 18:55:41 -08:00
samuele3hu bfc7441453 Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into developNewUI 2014-01-03 10:51:05 +08:00
samuele3hu cdc82d6e8c Add a newline 2014-01-03 10:50:06 +08:00
andyque 67153f816c remove unused code 2014-01-03 10:44:43 +08:00
samuele3hu c4588722dd Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into developNewUI 2014-01-03 10:41:03 +08:00
andyque 0e90ef8337 fix move assignment operator doesn't clear previous content bug 2014-01-03 10:39:53 +08:00
samuele3hu 07a3efb585 Update the lua test cases about the GUI 2014-01-03 10:39:19 +08:00
James Chen 04760f2508 [Android] Adds jsb-spine module. TestJavascript now depends on jsb-spine module. 2014-01-03 10:30:55 +08:00
andyque c68efd7c5c Merge remote-tracking branch 'upstream/develop' into develop 2014-01-03 09:39:10 +08:00
chengstory e08e4ce0f8 fixed #3480 add search paths. 2014-01-03 02:21:36 +08:00
chengstory 77dca5958f issue #3480 upload Samples resources. 2014-01-03 02:03:05 +08:00
chengstory 5903a74bd2 issue #3480
1.  add getNode  and  setNode class function to Component.
            2.  fixes some build error.
2014-01-03 01:42:14 +08:00
chengstory 6892d8cf6a issue #3480
1.  add SceneReader Tests.
                  2.  Modify class member name.
2014-01-03 01:14:12 +08:00
James Chen 0fe73f3a5d Merge pull request #4804 from minggo/android-config
don't build spine module when build 2d module
2014-01-02 06:53:15 -08:00
James Chen 831e0b08e0 Merge pull request #4807 from dumganhar/iss3291-xmlhttprequest-error-fix-develop
closed #3291: XMLHttpRequest.status needs to be assigned even when connection fails.
2014-01-02 06:46:25 -08:00
CocosRobot c120394cae [AUTO] : updating submodule reference to latest autogenerated bindings 2014-01-02 14:20:27 +00:00
James Chen e337fb35fc closed #3291: XMLHttpRequest.status needs to be assigned even when connection fails. 2014-01-02 21:59:47 +08:00
minggo d345139a08 fix compiling errors 2014-01-02 21:53:18 +08:00
minggo 674b38beef no in header file 2014-01-02 21:43:27 +08:00
minggo 676e25d304 2d module don't denpend on spine 2014-01-02 20:17:11 +08:00
James Chen 602468e3f2 Merge pull request #4802 from dumganhar/develop
Fixes two memory leaks in EventDispatcher::removeEventListener(removeEventListeners).
2014-01-02 04:08:22 -08:00
minggo 2b5be1bacf Merge pull request #4801 from minggo/namespace
fix compiling errors because of new namespace of network module
2014-01-02 04:03:03 -08:00
James Chen 05b1be3aeb Fixes two memory leaks in EventDispatcher::removeEventListener(removeEventListeners). 2014-01-02 19:59:10 +08:00
minggo 9124f189c3 fix compiling errors because of new namespace of network module 2014-01-02 19:44:46 +08:00
CocosRobot 1c5638ad4f [AUTO] : updating submodule reference to latest autogenerated bindings 2014-01-02 11:36:25 +00:00
James Chen b071578541 Merge pull request #4798 from andyque/fixassignment
fix missing check self assignment of Vector<T>, Map<K,V>, Value and String
2014-01-02 03:31:39 -08:00
minggo 054972fd3b Merge pull request #4796 from minggo/deprecated-function
use std::function for call back
2014-01-02 03:29:17 -08:00
andyque 961b27eacb remove move semantic into another pr 2014-01-02 18:32:47 +08:00
andyque 8a7228049a fixed self assignment error and provide move semantics to pushBack of Vector<T> 2014-01-02 18:31:43 +08:00
andyque 75d5bcfb42 remove const modifier of move semantic 2014-01-02 18:05:22 +08:00
andyque 80adda2ce8 fixed self assignment error and provide move semantics to pushBack of Vector<T> 2014-01-02 17:54:52 +08:00
minggo ded3e753f3 use std::function for call back 2014-01-02 17:23:00 +08:00
Liam dd0b22be8d resolved ui animation easing error for develop branch 2014-01-02 17:18:40 +08:00
Liam ef76edbd1c merge from develop branch 2014-01-02 17:02:55 +08:00
minggo f2b1a3cc83 Merge pull request #4793 from minggo/namespace
network -> cocos2d::network
2014-01-02 00:38:50 -08:00
James Chen c29e328490 Merge pull request #4779 from samuele3hu/DispatcherBak1
Develop branch adds lua trigger for CocoStudio
2014-01-02 00:29:30 -08:00
minggo 07600bd46b network -> cocos2d::network 2014-01-02 16:25:35 +08:00
James Chen 67c5ba8dfb closed #3565: Adds missing `lua_pop`to prevent lua stack issues. 2014-01-02 16:21:35 +08:00
Kenneth Chan 80df88d2cf Add missing bindings to setBlendFunc for various classes
Conflicts:
	cocos/scripting/lua/bindings/lua_cocos2dx_manual.cpp
2014-01-02 16:21:35 +08:00
Huabing.Xu 57b0426994 fix bug clippingNodetest on mobile 2014-01-02 16:19:23 +08:00
samuele3hu d802518413 Rename Cocos2dStudio.lua to CocoStudio.lua 2014-01-02 15:51:25 +08:00
James Chen 7abeacd86e HttpClient don't have to be inherited from Object, its a singeton, ok? 2014-01-02 15:47:38 +08:00