Dale Stammen
409ad77b6c
disabled webp for wp8 and winrt
2014-03-22 05:51:39 -07:00
Dale Stammen
e3e4e88bce
added WP8 and WINRT platforms
2014-03-22 05:50:55 -07:00
Chris Hannon
ba37c07053
[add-socketio-jsb] implement fireEventToScript method to integrate JSB event handling with the original native code
...
-update static connect method to match JS API, kept original method but marked deprecated
Signed-off-by: Chris Hannon <himynameschris@gmail.com>
2014-03-21 11:45:14 -04:00
James Chen
7e526f1976
Merge pull request #5918 from boyu0/iss4498_refactor_PhysicsDebugDraw
...
closed #4498 : Refactor PhysicsDebugDraw.
2014-03-21 16:50:42 +08:00
James Chen
832ab120aa
Merge pull request #5862 from samuele3hu/develop_script_mgr
...
closed #4452 : Adds `addCustomHandler` in the ScriptHandlerMgr for Console auto test.
2014-03-21 16:48:53 +08:00
CocosRobot
3bd000b236
[AUTO]: updating luabinding automatically
2014-03-21 08:38:19 +00:00
James Chen
da0c15c982
Merge pull request #5847 from newnon/develop_small_improvements
...
Adds getCurrentLanguageCode() which returns iso 639-1 language code
2014-03-21 16:33:43 +08:00
boyu0
5edb9b9f86
closed #4499 : Read ParticleSystem::_endRadiusVar from "minRadiusVariance" in plist.
2014-03-21 16:25:22 +08:00
boyu0
41f9760f15
closed #4498 : Refactor PhysicsDebugDraw.
2014-03-21 15:49:18 +08:00
James Chen
c30f466d56
Merge pull request #5915 from boyu0/iss3509_physicsbody_moves_randomly_when_switch_foreground_background
...
closed #3509 : PhysicsBody moves randomly when switch foreground/background
2014-03-21 15:25:52 +08:00
boyu0
bc13956981
closed #3509 : PhysicsBody moves randomly when switch foreground/background.
2014-03-21 15:16:55 +08:00
CocosRobot
4721306fef
[AUTO]: updating luabinding automatically
2014-03-21 07:01:27 +00:00
James Chen
8f27611539
Merge pull request #5908 from CocosRobot/update_lua_bindings_1395383144
...
[AUTO]: updating luabinding automatically
2014-03-21 14:53:40 +08:00
James Chen
cecc00c650
Merge pull request #5893 from Dhilan007/develop_label
...
closed #4489 : Label: Refactoring relevant functions of setting text color.
2014-03-21 14:52:55 +08:00
CocosRobot
566c014060
[AUTO]: updating luabinding automatically
2014-03-21 06:26:33 +00:00
Dhilan007
1a08cd9b32
fix typo.
2014-03-21 13:52:12 +08:00
James Chen
f51c39c034
closed #3897 : Constructors should be protected, but should be a way to disable them, added CC_CONSTRUCTOR_ACCESS.
...
Thank @pandamicro.
2014-03-21 13:44:29 +08:00
samuele3hu
e2ed17f69c
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into develop_script_mgr
2014-03-21 11:28:39 +08:00
samuele3hu
71f3cb7862
close #4452:Make `addCustomHandler` more distinct
2014-03-21 11:24:24 +08:00
James Chen
d5e8bde89e
Merge pull request #5889 from samuele3hu/develop_socket
...
close #4400 : Use the latest version of LuaSocket and modify the related project config
2014-03-21 10:52:38 +08:00
Dhilan007
6b74794c74
fix typo and mistake in Label::setTextColor.
2014-03-21 09:47:29 +08:00
James Chen
3cde66dce8
Merge pull request #5854 from boyu0/iss4424_setgravityenable_fix
...
closed #4424 : fix PhysicsBody::setGravityEnable() doesn't work correctly sometimes
2014-03-21 09:34:33 +08:00
Dhilan007
9dfa099bef
Label:Refactoring related functions of color.
2014-03-20 20:56:10 +08:00
James Chen
c3ef689724
Merge pull request #5890 from dumganhar/iss4462-ccb
...
closed #4462 : Wrong logic in CCBAnimationManager::moveAnimationsFromNode...
2014-03-20 18:24:54 +08:00
James Chen
b3cfc693ca
Merge pull request #5887 from andyque/fix_tests_warnings
...
Fix warnings in cpp-tests.
2014-03-20 18:24:10 +08:00
samuele3hu
21a21c2d3d
close #4400 : Update the anrroid.mk for lua-bindings
2014-03-20 18:09:52 +08:00
samuele3hu
11bbeb4a30
close #4452:Using better spelling format
2014-03-20 17:56:33 +08:00
James Chen
dcd919d9f7
closed #4462 : Wrong logic in CCBAnimationManager::moveAnimationsFromNode.
2014-03-20 17:43:44 +08:00
samuele3hu
977ef0092b
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into develop_script_mgr
2014-03-20 17:43:28 +08:00
samuele3hu
4b25c9f62e
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into develop_socket
2014-03-20 17:07:33 +08:00
samuele3hu
d3487d2d3c
close #4400 : Use the newest version of LuaSocket for lua
2014-03-20 17:04:54 +08:00
andyque
cf86fd619f
fix lua bindings warnings
2014-03-20 16:48:12 +08:00
andyque
f26ae8a019
remove unused params warnings
2014-03-20 16:34:42 +08:00
andyque
7ab639ec0f
fix lots compile warnings
2014-03-20 16:24:55 +08:00
CocosRobot
0f22720da5
[AUTO]: updating luabinding automatically
2014-03-20 07:25:03 +00:00
andyque
8c1bf48357
fixed label font size: from int to float
2014-03-20 15:03:48 +08:00
andyque
e6645400a3
fix a paramers miss match
2014-03-20 14:54:09 +08:00
andyque
ae3310bffb
Merge branch 'develop' into fix_warnings
...
Conflicts:
cocos/base/CCConsole.cpp
cocos/base/CCConsole.h
2014-03-20 14:50:02 +08:00
andyque
2dcc600fa1
remove unused accelerometer
2014-03-20 14:29:05 +08:00
James Chen
86d013b162
Merge pull request #5844 from heliclei/refactor-console-upload
...
refactor upload:encode file with base64, detach upload from main loop
2014-03-20 14:26:59 +08:00
andyque
abf7598b1c
remove deprecated classes in CCNodeLoader
2014-03-20 14:17:48 +08:00
andyque
8a409db1b6
change setFontSize from int to float
2014-03-20 14:14:02 +08:00
andyque
957eb9363e
fix win32 compile error
2014-03-20 13:42:09 +08:00
andyque
ca6851f114
fix warnings of font and RichText
2014-03-20 11:58:36 +08:00
andyque
6c16f16b1d
fix CCDirectorCaller warnings
2014-03-20 11:32:43 +08:00
andyque
7ae77c9335
fix cocos2dx engine internal warnings
2014-03-20 10:58:04 +08:00
boyu0
9ba9687fc1
closed #4424 : change name _enable->_enabled, _rotationEnable->_rotationEnabled, _gravityEnable->_gravityEnabled
2014-03-20 10:21:59 +08:00
CocosRobot
4b7f729154
[AUTO]: updating luabinding automatically
2014-03-20 02:21:28 +00:00
andyque
d7b3737605
fix cocos2d tests and lu-bdinings and cocos2d_libs project config warnings
2014-03-20 10:14:25 +08:00
samuele3hu
0afcf59539
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into develop_script_mgr
2014-03-20 09:56:06 +08:00
samuele3hu
0026fc2b2a
close #4452:Add `addCustomHandler` in the ScriptHandlerMgr for Console auto test.
2014-03-20 09:54:38 +08:00
Sergey
13df593ae7
file attributes fixed
2014-03-19 18:58:19 +04:00
CocosRobot
0a57a5be11
[AUTO]: updating luabinding automatically
2014-03-19 10:32:42 +00:00
James Chen
bed76d4460
Merge pull request #5870 from dabingnn/fix_scale0Bug
...
closed #4382 : added missed scaleZ feature in ScaleTo and ScaleBy.
2014-03-19 18:28:12 +08:00
James Chen
db4dd81030
Merge pull request #5871 from dumganhar/iss4450-missing-slash
...
closed #4450 : FileUtils::addSearchResolutionsOrder doesn't check whether there is a 'slash' at the end of path.
2014-03-19 17:57:40 +08:00
James Chen
a84873a67b
closed #4450 : FileUtils::addSearchResolutionsOrder doesn't check whether there is a 'slash' at the end of path.
2014-03-19 17:56:29 +08:00
samuele3hu
a1ca3195ce
Rename `addConsoleHandler` to `addCustomHandler`
2014-03-19 17:28:23 +08:00
James Chen
740aa30713
closed #4447 : [Desktop] Can't receive touchEnded event when mouse up outside of window
2014-03-19 17:09:10 +08:00
andyque
c90ef00668
add bool support for other platform
2014-03-19 16:47:57 +08:00
andyque
bab53ef2bd
add test for ios and mac
2014-03-19 16:47:57 +08:00
andyque
cadbfbe9b1
add Bool Integer Float Double support to CCDictionary
2014-03-19 16:47:57 +08:00
andyque
00249328a6
add boolean support for mac and ios
2014-03-19 16:47:57 +08:00
Huabing.Xu
dc9baa7c72
closed #4382 : added missed scaleZ feature for scaleZ
2014-03-19 16:23:14 +08:00
CocosRobot
f0fdcb22d3
[AUTO]: updating luabinding automatically
2014-03-19 06:14:23 +00:00
James Chen
7061641dd8
Merge pull request #5860 from Dhilan007/develop_label
...
closed #4434 : Label's color is incorrect if it's created by font name
2014-03-19 14:09:32 +08:00
samuele3hu
a432f488bd
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into develop_script_mgr
2014-03-19 10:51:42 +08:00
samuele3hu
a91994f242
Add `addConsoleHandler` in the ScriptHandlerMgr for Console autotest.
2014-03-19 10:50:11 +08:00
Dhilan007
bb17da8f88
add override for Label::updateDisplayedColor
2014-03-19 10:36:44 +08:00
Dhilan007
f76460aee8
closed issue#4434:fixed display incorrect color of label if create by font name.
2014-03-19 10:10:47 +08:00
CocosRobot
781ff463a2
[AUTO]: updating luabinding automatically
2014-03-19 01:56:50 +00:00
James Chen
a5e9630db1
Merge pull request #5843 from Dhilan007/develop_label
...
closed #4428 : fixed display incorrect of multi-line label if invoking 'getLetter'.
2014-03-19 09:52:14 +08:00
boyu0
c4aaaf9231
closed #4424 : fix PhysicsBody::setGravity() doesn't work correctly sometimes.
2014-03-18 16:17:43 +08:00
CocosRobot
fc5a34e500
[AUTO]: updating luabinding automatically
2014-03-18 07:55:30 +00:00
Dhilan007
a286ed8374
fixed typo.
2014-03-18 13:48:41 +08:00
samuele3hu
76abe8d1c9
make FileUtilsWin32::getWritablePath() return value unified whether release or debug
2014-03-18 10:51:07 +08:00
Sergey
f65ef462e5
getCurrentLanguageCode() for all platforms return iso 639-1 language code
...
iPhone template improvements(for game center support)
2014-03-17 22:34:21 +04:00
heliclei
fe1bc368ec
refactor upload:encode file with base64, detach upload from main loop
2014-03-18 00:46:17 +08:00
heliclei
4657b28c2d
refactor upload:encode file with base64, detach upload from main loop
2014-03-18 00:42:36 +08:00
Dhilan007
46a4c17097
change access specifier of SpriteBatchNode::addSpriteWithoutQuad.
2014-03-17 19:31:58 +08:00
Dhilan007
cc671835f8
closed issue#4428:fixed label display incorrect if invoking getLetter and it's multi-line.
2014-03-17 18:33:15 +08:00
chuanweizhang2013
295bf7f7f2
rename variable
2014-03-17 11:06:50 +08:00
chuanweizhang2013
9167d39959
space
2014-03-15 18:18:56 +08:00
chuanweizhang2013
0a9ec91d6c
init Console variable
2014-03-15 18:13:29 +08:00
James Chen
2e13d45848
Merge pull request #5819 from Dhilan007/develop_menu
...
fixed content size of MenuItem is incorrect when font size or font name ...
2014-03-15 01:27:05 +08:00
Dhilan007
e20676f939
fixed content size of MenuItem is incorrect when font size or font name change.
2014-03-15 01:24:23 +08:00
minggo
1c96c595ac
Merge pull request #5817 from dumganhar/develop
...
Fix potential overflow in Texture::getCachedTextureInfo and where uses MultiByteToWideChar and WideCharToMultiByte
2014-03-15 01:23:00 +08:00
minggo
dfb3b6719c
Merge pull request #5818 from boyu0/support_for_xcode_iphone_64bit_simulator
...
build lua.a for arm64bit and iOS simulator 64 bit architectures, change ...
2014-03-15 01:22:28 +08:00
boyu0
f23db68151
build lua.a for arm64bit and iOS simulator 64 bit architectures, change .ma3 files to .caf files.
2014-03-15 01:19:06 +08:00
James Chen
a47923e06d
Fix potential overflow in Texture::getCachedTextureInfo.
2014-03-15 01:09:22 +08:00
James Chen
c033591e6a
[win32] Overflow fix when using MultiByteToWideChar and WideCharToMultiByte.
2014-03-15 01:05:04 +08:00
James Chen
306df0537e
Reverts changes in CCApplication.cpp/.mm, pollEvent must after main loop, otherwise, potential crash will happen.
2014-03-15 00:10:39 +08:00
Dhilan007
e512235299
Remove the old implementation of LabelTTF
2014-03-14 21:06:40 +08:00
James Chen
9bc48a7ac1
PollEvents before main loop and beautifies codes in CCApplication.cpp/.mm.
2014-03-14 18:40:04 +08:00
James Chen
a5775e9e6a
Merge pull request #5793 from koowolf/win32_crash
...
Crash while clicking close button on desktop platforms
2014-03-14 18:26:34 +08:00
James Chen
edde48e132
Merge pull request #5798 from Dhilan007/develop_label
...
closed #4377 : LabelAtlas::setColor takes no effect.
2014-03-14 18:07:36 +08:00
Dhilan007
c4d91f512d
LabelAtlas:fixed display incorrect color.
...
MenuItem:using Label to replace LabelTTF.
2014-03-14 17:36:05 +08:00
koowolf
ad5f870f7c
fix close crash in linux and mac
2014-03-14 17:21:27 +08:00
CocosRobot
a090729b6e
[AUTO]: updating luabinding automatically
2014-03-14 08:44:57 +00:00
koowolf
90f5d6511e
fix win32 crash while click close button.
2014-03-14 16:13:32 +08:00
CocosRobot
189733abac
[AUTO]: updating luabinding automatically
2014-03-14 07:56:39 +00:00
James Chen
8c7bc11931
Merge pull request #5790 from dumganhar/warning-fix-and-project-update
...
Warning fix and update VS project to fix compilation errors when building in Release mode
2014-03-14 15:48:55 +08:00
James Chen
177bf4df9d
Some warning fixes.
2014-03-14 15:38:43 +08:00
James Chen
a94b82e738
Updates VS project to fix compilation errors when building in Release mode.
2014-03-14 15:30:12 +08:00
Dhilan007
5f6fbc6a33
label:fixed getter for font size and font name.
2014-03-14 15:18:45 +08:00
Dhilan007
971b1dd557
Label:fixed text display incorrect when come to foreground on android.
2014-03-14 14:59:26 +08:00
Dhilan007
36bfd6d2c2
label:fixed incorrect effect of outline.
2014-03-14 09:51:39 +08:00
James Chen
263c83fd88
Merge pull request #5775 from CocosRobot/update_lua_bindings_1394716568
...
[AUTO]: updating luabinding automatically
2014-03-13 21:19:13 +08:00
CocosRobot
c9259bb800
[AUTO]: updating luabinding automatically
2014-03-13 13:17:32 +00:00
James Chen
8743b00d9f
Merge pull request #5768 from Dhilan007/develop_label2
...
Refactor setter of label's font name and font size.
2014-03-13 21:14:36 +08:00
Dhilan007
fe6f485a6b
label:rename some API for clearly.
2014-03-13 21:00:36 +08:00
boyu0
b0b1645190
fix some physics bugs.
2014-03-13 20:56:51 +08:00
Dhilan007
62d0fa8564
label:rename some API for clearly.
2014-03-13 20:52:33 +08:00
andyque
c4e20dd63a
fix ease action error
2014-03-13 19:53:06 +08:00
Dhilan007
bc68c6b629
Refactor setter of label's font name and font size.
2014-03-13 18:46:35 +08:00
CocosRobot
b1becd3fae
[AUTO]: updating luabinding automatically
2014-03-13 06:51:53 +00:00
CocosRobot
6d8bc4e616
[AUTO]: updating luabinding automatically
2014-03-13 03:45:57 +00:00
James Chen
ad316654c2
Merge pull request #5743 from heliclei/remove-node-name
...
remove node name related features from v3.0
2014-03-13 11:09:49 +08:00
heliclei
c26b103b23
remove node name related features from v3.0
2014-03-13 10:45:02 +08:00
CaiWenzhi
a4d558adee
Merge branch 'develop' into develop_nutty_modify_framework_for315CrashFixed
2014-03-13 10:25:32 +08:00
CaiWenzhi
b8ce59962a
Fixed bug of ScrollView
2014-03-13 10:11:41 +08:00
James Chen
ac0aecb394
Merge pull request #5737 from dumganhar/runtime-fix
...
Lua Runtime fix
2014-03-12 21:48:35 +08:00
James Chen
77a8476c80
GLView::end needs to release self.
2014-03-12 21:45:57 +08:00
James Chen
ac4faeb8c4
Merge pull request #5730 from Dhilan007/develop_label
...
Label:Fixes the font rendering on Windows and possible crash when create the label by font name.
2014-03-12 21:25:38 +08:00
Dhilan007
3acaf3ece5
1.Label:Fixes the font rendering on Windows.
...
2.fixed Label::setColor crash when create the label by font name.
2014-03-12 20:39:13 +08:00
minggo
67e3a25582
Merge pull request #5669 from nutty898/develop_nutty_modify_framework_for315CrashFixed
...
Develop nutty modify framework for315 crash fixed
2014-03-12 19:45:46 +08:00
CocosRobot
e93feaa068
[AUTO]: updating luabinding automatically
2014-03-12 11:41:17 +00:00
James Chen
f609d57a00
Merge pull request #5671 from heliclei/walk-node-tree
...
Add enumerateChildrenByName for walking through node tree with callback
2014-03-12 18:23:43 +08:00
heliclei
2a3cb0847e
refactor api name
2014-03-12 18:10:45 +08:00
CaiWenzhi
4d99736e4a
Merge branch 'develop' into develop_nutty_modify_framework_for315CrashFixed
2014-03-12 17:06:48 +08:00
James Chen
f01ca554aa
Merge pull request #5708 from Dhilan007/develop_label
...
fixed incorrect initial value of label's TextVAlignment.
2014-03-12 16:46:22 +08:00
Dhilan007
c11ef679da
fixed incorrect initial value of label's TextVAlignment.
2014-03-12 16:11:12 +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
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
Dhilan007
f5daf1af24
label:change default font size
2014-03-12 15:30:14 +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
heliclei
d57d2f3059
Merge remote-tracking branch 'upstream/develop' into walk-node-tree
2014-03-12 14:19:55 +08:00
heliclei
a907580d0a
use lambda callback
2014-03-12 14:15:45 +08:00
James Chen
176a9b5fe6
Some warning fixes in TriggerMng.cpp and TriggerObj.cpp
2014-03-12 14:07:34 +08: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
CocosRobot
41c689c545
[AUTO]: updating luabinding automatically
2014-03-12 03:31:17 +00: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