Commit Graph

17306 Commits

Author SHA1 Message Date
chuanweizhang2013 884229e898 modify generate-template-files 2014-03-12 17:20:15 +08:00
chuanweizhang2013 e457e9d84f Merge branch 'luamerage' of https://github.com/chuanweizhang2013/cocos2d-x into luamerage 2014-03-12 16:16:42 +08:00
chuanweizhang2013 a1e80642bc Merge pull request #13 from cocos2d/develop
update engine
2014-03-12 16:15:51 +08:00
James Chen 9c980dfcfe Merge pull request #5706 from dumganhar/rename-tests
Rename TestCpp to cpp-tests, TestLua to lua-tests in VS projects. And compilation error fix after changing folder name from 'gui' to 'ui'
2014-03-12 15:48:29 +08:00
James Chen eae6880599 Adds 'ui' include path in liblua.vcxproj 2014-03-12 15:44:56 +08:00
James Chen bac19d6897 Merge pull request #5705 from CocosRobot/update_lua_bindings_1394610107
[AUTO]: updating luabinding automatically
2014-03-12 15:44:20 +08:00
CocosRobot 31b304af26 [AUTO]: updating luabinding automatically 2014-03-12 07:43:13 +00:00
James Chen 2ae283d506 Merge pull request #5702 from dumganhar/glview-inherit-order
Changes the order of inheritance for GLView. Reason:
2014-03-12 15:34:53 +08:00
James Chen a974e5e42b Merge pull request #5704 from Dhilan007/develop_label
label: Change default font size from `32` to `12`, it's compatible with old LabelTTF.
2014-03-12 15:33:30 +08:00
James Chen dd87df1cbc rename TestCpp to cpp-tests, TestLua to lua-tests in VS projects. 2014-03-12 15:30:21 +08:00
Dhilan007 f5daf1af24 label:change default font size 2014-03-12 15:30:14 +08:00
chuanweizhang2013 fafc292d33 Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into luamerage 2014-03-12 15:28:07 +08:00
James Chen ca27bc4d6f Merge pull request #5703 from Dhilan007/develop_label
label:fixed crash and incorrect getter.
2014-03-12 15:23:06 +08:00
Dhilan007 2786b40dc3 using string::empty() for judge whether string is empty. 2014-03-12 15:03:22 +08:00
Dhilan007 233b04269b label:
1.fixed crash if create label by font name and text is empty.
2.fixed getter of font name and font size is incorrect.
2014-03-12 14:49:19 +08:00
James Chen 42c724a59d Changes the order of inheritance for GLView. Reason:
```
 	bool ok = true;
 	JSObject *obj = JS_THIS_OBJECT(cx, vp);
 	js_proxy_t *proxy = jsb_get_js_proxy(obj);
	cocos2d::GLViewProtocol* cobj = (cocos2d::GLViewProtocol *)(proxy ? proxy->ptr : NULL);   // This line will cause the 'cobj' to be an invalid object, since the instance is a 'GLView', but we force cast it to 'GLViewProtocol*'.
 	JSB_PRECONDITION2( cobj, cx, false, "js_cocos2dx_GLViewProtocol_setDesignResolutionSize : Invalid Native Object");
 	if (argc == 3) {
 		double arg0;

```
After changing the order, the result could be fixed. But I don't know whether it's the best way to fix it. Anyway, it wouldn't break anything right now.
2014-03-12 14:43:51 +08:00
James Chen 02971082ba Merge pull request #5700 from dumganhar/develop
Some fixes: [lua] Reverts 'removing tolua.cast in test case, I don't know why it was re-added.
Some warning fixes in TriggerMng.cpp and TriggerObj.cpp
Comment some lines in CCEditBoxImplIOS.mm/CCEditBoxImplAndroid.cpp, since after re-implement LabelTTF by Label, '(g|s)etTextureRect' will not work, it's because LabelTTF is inherited from Node rather than Sprite now. We need to fix this as soon as possible.
2014-03-12 14:21:10 +08:00
minggo 730af83c20 Merge pull request #5701 from lihex/develop
fix the template & update submodule
2014-03-12 14:19:32 +08:00
James Chen a393eded58 CCLOG -> CCLOGINFO for change of EditBox's position. 2014-03-12 14:16:42 +08:00
lihex 00a364e66f Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into develop
Conflicts:
	templates/lua-template-default/frameworks/runtime-src/proj.android/build-cfg.json
2014-03-12 14:13:20 +08:00
James Chen 08ce108454 Comment some lines in CCEditBoxImplIOS.mm/CCEditBoxImplAndroid.cpp, since After re-implement LabelTTF by Label, '(g|s)etTextureRect' will not work, it's because LabelTTF is inherited from Node rather than Sprite now.
We need to fix this as soon as possible.
2014-03-12 14:12:07 +08:00
James Chen 176a9b5fe6 Some warning fixes in TriggerMng.cpp and TriggerObj.cpp 2014-03-12 14:07:34 +08:00
James Chen 4a55e98adf [lua] Reverts 'removing tolua.cast in test case, I don't know why it was re-added. 2014-03-12 14:06:57 +08:00
James Chen c56ac9e621 Merge pull request #5699 from CocosRobot/update_cocosfiles_1394597345
[AUTO][ci skip]: updating cocos2dx_files.json
2014-03-12 12:43:16 +08:00
CocosRobot d00be77399 [AUTO][ci skip]: updating cocos2dx_files.json 2014-03-12 04:09:06 +00:00
James Chen 4b4b706066 Merge pull request #5635 from andyque/fix_ease_action
fix wrong display of ease elastic action test.
2014-03-12 12:07:26 +08:00
lihex 1574da6da3 fix the template 2014-03-12 12:02:33 +08:00
James Chen 3cdf9d7813 Update CHANGELOG [ci skip] 2014-03-12 11:57:56 +08:00
James Chen fe0ed5f426 Merge pull request #5695 from CocosRobot/update_lua_bindings_1394595012
[AUTO]: updating luabinding automatically
2014-03-12 11:32:34 +08:00
CocosRobot 41c689c545 [AUTO]: updating luabinding automatically 2014-03-12 03:31:17 +00:00
James Chen 9cf473c008 Merge pull request #5693 from CocosRobot/update_cocosfiles_1394594403
[AUTO][ci skip]: updating cocos2dx_files.json
2014-03-12 11:23:24 +08:00
James Chen 7ab1e94a6c Update CHANGELOG [ci skip] 2014-03-12 11:23:07 +08:00
CocosRobot 1081737779 [AUTO][ci skip]: updating cocos2dx_files.json 2014-03-12 03:20:04 +00:00
James Chen cc3981ced7 Merge pull request #5691 from CocosRobot/update_cocosfiles_1394594165
[AUTO][ci skip]: updating cocos2dx_files.json
2014-03-12 11:19:18 +08:00
James Chen 44dd1855e5 Merge pull request #5692 from CocosRobot/update_lua_bindings_1394594250
[AUTO]: updating luabinding automatically
2014-03-12 11:18:58 +08:00
James Chen 0bf58c8096 Merge pull request #5690 from Dhilan007/develop_labelttf
issue #3821: LabelTTF was re-implemented as a wrapper of Label.
2014-03-12 11:18:40 +08:00
CocosRobot e3c821b32b [AUTO]: updating luabinding automatically 2014-03-12 03:18:20 +00:00
James Chen 6baea45db6 Merge pull request #5679 from Dhilan007/develop_label
issue #4337: Two fixes for new label:
1. Color and opacity can't take effect.
2. The font size passed to new Label didn't consider 'contentScaleFactor'.
2014-03-12 11:17:49 +08:00
CocosRobot 33b7be5bea [AUTO][ci skip]: updating cocos2dx_files.json 2014-03-12 03:16:06 +00:00
James Chen c15ea47e9a Merge pull request #5681 from andyque/fix_gui_to_ui
Rename 'gui' folder to 'ui'
2014-03-12 11:14:39 +08:00
Dhilan007 6f165bb592 fixed incorrect initial value of label type. 2014-03-12 11:06:51 +08:00
chuanweizhang2013 4153667249 add runtime template 2014-03-12 11:04:56 +08:00
andyque cb4acc6311 fix linux compile error 2014-03-12 11:03:23 +08:00
Dhilan007 aefafdbe77 Add conditions to evaluate for setter of font size and font name. 2014-03-12 10:53:51 +08:00
andyque 2c2a5ee38e rename gui to ui 2014-03-12 10:46:49 +08:00
andyque 90938429d0 reset cocos-console commit 2014-03-12 10:37:33 +08:00
andyque 0634a1accd fix lua resource path 2014-03-12 10:19:41 +08:00
Dhilan007 bc7e39283f issue #3821:LabelTTF re-implemented as a wrapper of Label. 2014-03-12 10:19:33 +08:00
andyque d806274f98 change gui to ui 2014-03-12 10:12:02 +08:00
andyque 469bee1e87 delete samples 2014-03-12 10:10:14 +08:00