Darragh Coy
117f22d895
Tweak formatting and change spaces to tabs so indentation appears consistent on github.
2014-04-08 08:47:26 -07:00
Darragh Coy
0082900d10
Small dangling pointer tweak/fix to CCEventDispatcher
...
If cleaning a target node that has a listener in the 'to be added' listeners list then ensure that listener does not have a stale reference to the node. This is a minor tweak in addition to pull request 6160 (https://github.com/cocos2d/cocos2d-x/pull/6160 ).
2014-04-08 08:46:09 -07:00
Huabing.Xu
409b696bab
remove kmMat4 interface in class Node
2014-04-08 23:05:33 +08:00
Huabing.Xu
fcff284fd5
getParentToNodeTransform return Matrix
2014-04-08 22:13:59 +08:00
Huabing.Xu
3837c23ebe
draw() using Matrix instead of kmMat4
2014-04-08 22:07:35 +08:00
Huabing.Xu
b9af100493
visit() using Matrix instead of kmMat4
2014-04-08 21:45:54 +08:00
Dhilan007
c378b42191
closed #4714:Fixed Cocos2dxHelper.runOnGLThread() can not work
2014-04-08 21:08:20 +08:00
shujunqiao
9391906738
modify const char* to std::string in CCConsole.
2014-04-08 18:20:06 +08:00
minggo
3703c6f73a
update version
2014-04-08 18:14:46 +08:00
minggo
6208943cb1
Merge pull request #6168 from heliclei/fix-console-upload
...
closed #4533:fix console upload hang issue
2014-04-08 17:55:15 +08:00
minggo
e2252cafe3
Merge pull request #6174 from minggo/change-to-private
...
change QuadCommand::generateMaterialID() to private
2014-04-08 17:54:36 +08:00
minggo
ccbd77309d
change QuadCommand::generateMaterialID() to private
2014-04-08 17:49:18 +08:00
minggo
0c2b654410
Merge pull request #6171 from minggo/iss4683-assert_not_thread_safe
...
use assert because CCASSERT is not thread safe
2014-04-08 17:16:28 +08:00
Huabing.Xu
e8596094a4
Merge branch 'develop' into develop_migrate_math_lib_merge
2014-04-08 16:58:51 +08:00
Huabing.Xu
7f1fb13113
closed #4629 : remove unused _renderStack
2014-04-08 16:54:00 +08:00
James Chen
e1f2b71429
Merge pull request #6161 from DarraghCoy/check_node_not_running_when_destroyed
...
Adding extra CCNode verification in Node's destructor
2014-04-08 15:49:22 +08:00
James Chen
28ebec46dc
Merge pull request #6151 from mgcL/ScriptHandlerMgr-memory-free
...
add destroyInstance for ScriptHandlerMgr
2014-04-08 15:41:18 +08:00
James Chen
5df765ef0c
Merge pull request #6169 from dumganhar/iss4710-eventdispatcher-crash
...
closed #4710 : [win32] Crash in EventDispatcher if game starts up with mouse moving frequently
2014-04-08 15:31:52 +08:00
James Chen
e04b820cfc
closed #4711 : [win32] Passing empty string to FileUtils::isFileExist may also return true
2014-04-08 15:24:47 +08:00
James Chen
8f451d48a1
issue #4710 : Fixed wrong indention.
2014-04-08 15:11:04 +08:00
James Chen
49bba30409
closed #4710 : [win32] Crash in EventDispatcher if game starts up with mouse moving frequently
2014-04-08 15:08:34 +08:00
minggo
e28093ee1a
closed #4683 : use assert because CCASSERT is not thread safe
2014-04-08 14:53:57 +08:00
heliclei
4e1284bd45
closed #4533:fix console upload hang issue
2014-04-08 14:52:53 +08:00
James Chen
546db2de4a
Unregistered listener when it's removed from _toAddedListeners.
2014-04-08 11:17:38 +08:00
Darragh Coy
9a6b93eae1
Add extra CCNode verification
...
Add a check to the CCNode destructor to catch a common cocos2d-x programming mistake - forgetting to call base class onExit() in derived class onExit() implementations. We can check for this invalid API usage by checking if the node is still marked as running on destruction. If the node still thinks it's running then it's likely the cleanup logic performed by Node::onExit() was not done.
2014-04-07 17:05:42 -07:00
Darragh Coy
79b5dff795
CCEventDispatcher crash fix
...
Fix possible crashes which could be caused by the EventDispatcher having listeners associated with nodes are destroyed. Catch the case where a node registers a listener while we are dispatching events and gets destroyed while that event is still being dispatched. Check the list of nodes to be added into the event dispatcher fully when we are cleaning listeners for a target node.
This issue was found using the extra debug verification in this pull request:
https://github.com/cocos2d/cocos2d-x/pull/6011
2014-04-07 16:19:26 -07:00
Darragh Coy
f147ef723a
Merge the alternate RefPtr<T> implementation
...
Merge in the version at: https://github.com/DarraghCoy/cocos2d-x/blob/add_refptr_class_alt_impl/cocos/base/CCRefPtr.h
This version sacrifices the ability to use forward references in some places in return for added type safety and ensures we can never assign a non cocos2d::Ref derived object to the pointer.
2014-04-07 16:04:00 -07:00
Huabing.Xu
1a7f46598f
closed #4629 : fix bug for group command
2014-04-07 22:51:32 +08:00
James Chen
1b85be2b9b
Merge pull request #6150 from mgcL/Value-memory-leak
...
A potential memory leak in value's default constructor.
2014-04-07 16:32:01 +08:00
dbaack
6262c9c910
Fixed a bug where an event listener removed from the event dispatcher while it is still in the _toAddedListeners vector would never have _isRegistered set to false on removal. This causes it to fail an assert if it is attempted to be added to the event dispatcher again later.
2014-04-06 21:59:40 -07:00
mgcL
d9e0124ff8
delete _scriptHandlerMgr in destruct will cause stack overflow
2014-04-05 21:26:56 +08:00
mgcL
a5da6d71b4
add destroyInstance for ScriptHandlerMgr
2014-04-05 21:09:49 +08:00
mgcL
a3a3fa0907
fix Value's memory leak
2014-04-05 18:55:55 +08:00
Ricardo Quesada
f1a2db9006
Merge pull request #6140 from dumganhar/render-clean
...
Adds `Renderer::clean`, and fixes crash in `PerformanceTest/Node children Test`.
2014-04-04 13:34:29 -07:00
CocosRobot
cd33967dc4
[AUTO]: updating luabinding automatically
2014-04-04 10:45:34 +00:00
Huabing.Xu
29c345bd02
Merge branch 'develop' into develop_migrate_math_lib_merge
2014-04-04 18:45:21 +08:00
Huabing.Xu
5d70170a4b
getNodetoParentTransform getNodeToWorldTransform return Matrix instead of kmMat4
2014-04-04 18:41:29 +08:00
James Chen
541d4dea0c
Merge pull request #6105 from andyque/feature3636
...
Added create functions with parameters for all ui controls
2014-04-04 18:34:59 +08:00
andyque
4b6aa2a22c
closed #4636 . remove Hungary style
2014-04-04 18:26:53 +08:00
Nick Barrios
eae1ccb279
CCGLView: Remove frameZoomFactor param from createWithFullScreen overload.
2014-04-04 06:26:00 -04:00
cw
c0fe791aae
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into luaruntime
...
Conflicts:
templates/lua-template-runtime/src/main.lua
2014-04-04 18:17:54 +08:00
Huabing.Xu
6b4451482f
remove matrixToKmMat4 function
2014-04-04 18:13:10 +08:00
Huabing.Xu
70561088df
remove kmMat4ToMatrix function
2014-04-04 18:04:29 +08:00
Nick Barrios
58224d9b23
CCGLView: Add createWithFullscreen overloaded method that allows passing in Size, to set video mode.
2014-04-04 06:02:29 -04:00
minggo
439b30434e
Merge pull request #6097 from newnon/android_crash_fix
...
Android crash fix on new devices
2014-04-04 18:01:59 +08:00
Huabing.Xu
184f10ae0f
add conversion from kmMat4 to Matrix
2014-04-04 17:58:37 +08:00
andyque
e346ed3559
closed #4636 . done
2014-04-04 17:38:58 +08:00
andyque
e20b3d8eb8
issue #4636 . refactor SliderReader
2014-04-04 17:35:15 +08:00
Huabing.Xu
f1b1678900
Director::getMatrix returns Matrix instead of kmMat4
2014-04-04 17:31:21 +08:00
andyque
af5fe04480
issue #4636 . refactor LoadingBarReader
2014-04-04 17:25:20 +08:00
andyque
a4e0c1a6e2
issue #4636 . refactor LayoutReader
2014-04-04 17:21:23 +08:00
andyque
3482815e69
issue #4636 . refactor ImageViewReader
2014-04-04 17:18:24 +08:00
Huabing.Xu
ea6d8e4e42
replace kmMat4 in director
2014-04-04 17:16:57 +08:00
andyque
c252aa5a55
issue #4636 . refactor CheckBoxReader
2014-04-04 17:12:47 +08:00
andyque
77aee27f05
issue #4636 . refactor ButtonReader
2014-04-04 16:51:07 +08:00
andyque
51404500b7
issue #4636 . fixed WidgetReader error
2014-04-04 16:24:54 +08:00
andyque
ec83b3db04
issue #4636 . fix ButtonReader
2014-04-04 15:21:28 +08:00
James Chen
7b4a1308ea
Adds `Renderer::clean`, and fixes crash in `PerformanceTest/Node
...
children Test`.
2014-04-04 12:48:16 +08:00
CocosRobot
c72f256d01
[AUTO]: updating luabinding automatically
2014-04-03 10:12:05 +00:00
James Chen
1ec3f014e8
Merge pull request #6130 from dumganhar/iss4557-set-enabled-listener
...
closed #4557 : Adds `EventListener::setEnabled/isEnabled`.
2014-04-03 18:02:44 +08:00
Huabing.Xu
f9405e0ea9
Merge branch 'develop' into develop_migrate_math_lib_merge
2014-04-03 17:47:16 +08:00
CocosRobot
279b371031
[AUTO]: updating luabinding automatically
2014-04-03 09:46:03 +00:00
Huabing.Xu
1b8e45fe19
remove kmGLFreeAll call
2014-04-03 17:40:14 +08:00
Huabing.Xu
14f004b12a
remove reference to kmGL in director
2014-04-03 17:32:40 +08:00
Huabing.Xu
67e62ce73d
readied director::getMatrix again. remove kmGLgetMatrix
2014-04-03 17:26:06 +08:00
James Chen
a2081ea210
issue #4557 : Updates comments for EventListener::setPaused.
2014-04-03 17:20:16 +08:00
andyque
9bcfea2279
issue #4636 . fix some typo
2014-04-03 17:13:24 +08:00
samuele3hu
550f4dca29
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into develop_new_label
2014-04-03 17:03:09 +08:00
James Chen
a3214b7505
issue #4557 : Updates comments for EventListener::setEnabled/setPaused.
...
Also does whitespace cleanup and untabify codes. Thanks emacs. :)
2014-04-03 17:02:17 +08:00
samuele3hu
b68f6bf65e
fix the error about `draw` of GLNode and modify the related test cases
2014-04-03 17:02:14 +08:00
James Chen
7a5dba9eb9
issue #4557 : Adds const for `EventListener::isEnabeld`.
2014-04-03 16:46:16 +08:00
James Chen
ec56796062
Merge pull request #6125 from 2youyouo2/develop
...
Two fixes for armature:
1.fixed set blend func
2.fixed changedisplay does not rebind parent's bone
2014-04-03 16:23:55 +08:00
James Chen
405b1c6036
Merge pull request #6122 from mgcL/PhysicsShapeEdgeChain-create-failed
...
fix PhysicsShapeEdgeChain::init() always return false
2014-04-03 16:20:36 +08:00
yinkaile
66e37cf481
remove cc prefix
2014-04-03 16:19:49 +08:00
andyque
c35c006fbd
Merge branch 'develop' into feature3636
2014-04-03 16:02:00 +08:00
andyque
0875b4e51f
closed #4636 . Done
2014-04-03 15:56:45 +08:00
andyque
ed2c38eb98
issue #4636 , finish UITextBMFont
2014-04-03 15:45:06 +08:00
James Chen
89048dd6bd
closed #4557 : Comment fixes in CCEventListener.h.
2014-04-03 15:35:18 +08:00
andyque
b59beab61a
issue #4636 , finish UISlider
2014-04-03 15:33:57 +08:00
James Chen
f6859a3ca9
closed #4557 : Adds `EventListener::setEnabled/isEnabled`.
2014-04-03 15:32:16 +08:00
Huabing.Xu
960ac300d5
migrate cocostudio to director matrix stack
2014-04-03 14:55:55 +08:00
Huabing.Xu
67971e9f0b
migrate sprite spriteBatchNode to director matrix stack
2014-04-03 14:55:36 +08:00
Huabing.Xu
46b4f1b5d8
migrate Grid, Label, RenderTexture to director matrix stack
2014-04-03 14:32:49 +08:00
andyque
48429f5738
issue #4636 . finish UILoadingBar
2014-04-03 11:34:06 +08:00
andyque
fe33588038
issue #4636 . finish UILayout
2014-04-03 11:14:35 +08:00
andyque
1a97ebdcb0
issue #4636 . finish UIImageView
2014-04-03 10:42:30 +08:00
yinkaile
eda2d0927c
Merge branch 'develop' of https://github.com/2youyouo2/cocos2d-x into develop
2014-04-03 10:37:13 +08:00
andyque
52bdb840ee
issue #4636 . finish UICheckBox
2014-04-03 10:34:20 +08:00
yinkaile
7177866331
fixed set blend func
2014-04-03 10:34:20 +08:00
Huabing.Xu
79f62f4351
comment out director::getMatrix temporarily
2014-04-03 10:33:59 +08:00
andyque
10134ccc65
issue #4636 . finish button
2014-04-03 10:31:10 +08:00
minggo
b4225e4626
Merge pull request #6124 from koowolf/mid_resume
...
fix resume not support in midi file in win32
2014-04-03 10:22:44 +08:00
andyque
0a6b0a4389
issue #4636 . refactor Scale9Sprite
2014-04-03 10:07:47 +08:00
andyque
b27fe6ecc2
issue #4636 . add parameter create method to UITextBMFont
2014-04-03 10:07:46 +08:00
andyque
0b5c10a0fb
issue #4636 . add parameter create method to UITextAtlas
2014-04-03 10:07:46 +08:00
andyque
a03dc76f7d
issue #4636 , add parameter create method for UILoadingBar
2014-04-03 10:07:46 +08:00
andyque
92945715eb
issue #4636 . add parameter create function for UIText
2014-04-03 10:07:46 +08:00
andyque
558abf1a6b
issue #4636 , add parameter create method to UIImageView
2014-04-03 10:07:46 +08:00
andyque
18c072beff
issue #4636 , replace const char* to const std::string& in UIButton
2014-04-03 10:07:46 +08:00
andyque
ba9a605568
issue #4636 , add parameter create method to UICheckBox
2014-04-03 10:07:46 +08:00
andyque
1b0583214b
issue #4636 , add parameter create method to UIButton
2014-04-03 10:07:46 +08:00
koowolf
293bd5dc02
fix resume not support in midi file in win32
2014-04-03 09:55:31 +08:00
ololomax
e03ef10809
set _node to null in createNodeWithSceneFile
...
_node was being set to null only in constructor, so when we call method createNodeWithSceneFile with path to existing file and then call it again with path to missing file (not calling destroyInstance method), it returns a pointer to previously created node, what may lead to a crash.
2014-04-03 03:06:08 +03:00
mgcL
4f7cb75d2b
fix PhysicsShapeEdgeChain::init() always return false
2014-04-02 23:52:21 +08:00
Huabing.Xu
dd4d45ea90
migrate particleBatchNode to director matrix stack
2014-04-02 22:52:41 +08:00
Huabing.Xu
c593938ed2
migrate nodeGrid
2014-04-02 22:50:39 +08:00
Huabing.Xu
02d1816dde
migrating ClippingNode
2014-04-02 22:48:22 +08:00
Huabing.Xu
4ea56522e3
call director matrix stack will also call kmGLXXX functions
2014-04-02 22:46:37 +08:00
CocosRobot
9799fbdf27
[AUTO]: updating luabinding automatically
2014-04-02 10:42:38 +00:00
James Chen
16e51a8489
Merge pull request #6110 from dumganhar/iss4639-isfileexist
...
closed #4639 : FileUtils::isFileExist doesn't consider SearchPaths and ResolutionOrders
2014-04-02 18:12:29 +08:00
James Chen
c8e6f8d3ff
Merge pull request #6106 from pandamicro/AnimLoopFix
...
Fixed #4637 : Add loop parameter to Animation::initWithSpriteFrames
2014-04-02 18:08:03 +08:00
pandamicro
e5bf6c438f
Fixed #4638 : Add loop parameter to Animation::createWithSpriteFrames
2014-04-02 18:06:17 +08:00
CocosRobot
59db1f300d
[AUTO]: updating luabinding automatically
2014-04-02 09:58:03 +00:00
James Chen
4edf923cf8
Merge pull request #6108 from Dhilan007/develop_label
...
Label: Better API order for Label class
2014-04-02 17:47:44 +08:00
James Chen
7f702b3fe4
Merge pull request #6107 from boyu0/iss3509_physicsbody_moves_randomly_when_switch_foreground_background
...
closed #3509 : Skip one frame when _deltaTime equal to zero.
2014-04-02 16:52:43 +08:00
Huabing.Xu
78eea4a735
add loadIdentityMatrix in Director
2014-04-02 16:47:23 +08:00
Huabing.Xu
106a0da87b
add matrix stack in director(will replace kmGLfunctions)
2014-04-02 16:36:11 +08:00
James Chen
1178d67dd6
issue #4639 : Reverts the definition of FileUtils::isFileExist, remove
...
the second parameter(outFullPath).
2014-04-02 16:33:05 +08:00
James Chen
236695fd08
Merge pull request #6104 from dumganhar/iss4635-constrolswitch
...
closed #4635 : ControlSwitch's marksprite is shown at a wrong place
2014-04-02 15:39:33 +08:00
James Chen
5fa839b16b
closed #4639 : FileUtils::isFileExist doesn't consider SearchPaths and ResolutionOrders
2014-04-02 15:35:09 +08:00
Huabing.Xu
2e315fb215
migrate Vertex2f to Vector2
2014-04-02 15:25:37 +08:00
Huabing.Xu
49de7511f5
migrate Vertex3f to Vector3
2014-04-02 15:06:16 +08:00
Dhilan007
5aafec462f
Label:Fine tune the declaration order of API.
2014-04-02 14:57:00 +08:00
Huabing.Xu
4e93943347
minor change
2014-04-02 14:41:05 +08:00
boyu0
31be60fea7
closed #3509 : Skip one frame when _deltaTime equal to zero.
2014-04-02 14:05:07 +08:00
Huabing.Xu
4a78008d77
namespace rename
2014-04-02 12:09:51 +08:00
pandamicro
7019b6e1ab
Fixed #4637 : Add predefined value indication in cpp
2014-04-02 12:03:42 +08:00
pandamicro
9376c7817f
Reverse CONSTRUCTOR_ACCESS to protected
2014-04-02 11:57:23 +08:00
pandamicro
05899d5f6a
Fixed #4637 : Add loop parameter to Animation::initWithSpriteFrames function
2014-04-02 11:48:49 +08:00
James Chen
48839b9d4d
closed #4635 : ControlSwitch's marksprite is shown at a wrong place
2014-04-02 11:26:39 +08:00
Huabing.Xu
8561569885
iOS can compile now
2014-04-02 11:21:48 +08:00
Huabing.Xu
efc3ddfe57
remove base dependence, add ccMacros.h
2014-04-02 11:06:37 +08:00
Huabing.Xu
0e2969f495
init version of math
2014-04-02 10:33:07 +08:00
Ricardo Quesada
b36ab33281
performance fixes in QuadCommand
2014-04-01 16:13:41 -07:00
Sergey
b153131097
Android crash fix on new devices
2014-04-01 15:14:25 +04:00
dplusic
1aac5c6934
fixed cc.pGetAngle not using absolute value
2014-04-01 17:13:59 +09:00
James Chen
1a5de6cfa7
Merge pull request #6091 from Dhilan007/develop_label
...
Label:fixed possible appear OpenGL error 0x500.
2014-04-01 15:15:01 +08:00
Dhilan007
c63baa388b
remove unused local variable.
2014-04-01 15:10:24 +08:00
James Chen
70dd83512c
Renames s_isIOS7 to s_isIOS7OrHigher
2014-04-01 15:08:08 +08:00
Dhilan007
540c67f701
Label:fixed possible appear OpenGL error 0x500.
2014-04-01 15:03:17 +08:00
James Chen
47320e7c7c
closed #4383 : Fixed missing letters if using old LabelTTF and running on
...
iphone 64bit simulator(device).
2014-04-01 14:47:52 +08:00
minggo
c3334cb4ac
Merge pull request #6089 from Dhilan007/develop_label
...
Fixed logical error in Label::enableShadow
2014-04-01 14:18:48 +08:00
Dhilan007
eadbca8ee7
1.fixed logical error in Label::enableShadow.
...
2.Add test case for shadow and outline take effect at the same time.
2014-04-01 14:15:35 +08:00
minggo
566fa7110d
Merge pull request #6087 from Dhilan007/develop_label
...
fixed shadow and outline can't take effect at the same time
2014-04-01 14:03:42 +08:00
James Chen
0bb71ce678
Merge pull request #6082 from zukkun/fix_cpbodysetangvellimit
...
fixed incorrect function invocation in PhysicsBody::setAngularVelocityLimit
2014-04-01 11:49:38 +08:00
Dhilan007
3a556c24aa
fixed shadow and outline can't take effect at the same time
2014-04-01 11:37:36 +08:00
CocosRobot
55b87dbad0
[AUTO]: updating luabinding automatically
2014-04-01 03:33:06 +00:00
minggo
7fb5e1f13a
Merge pull request #6066 from minggo/quadcommand-optimize
...
use xxhash to generate material id
2014-04-01 11:27:51 +08:00
CocosRobot
ce10ddd84b
[AUTO]: updating luabinding automatically
2014-04-01 02:09:55 +00:00
James Chen
d7ca1999ab
Merge pull request #5998 from bmanGH/feature/fix_STRING_TEXTURE_label_sortAllChildren_crash
...
closed #4626 : Crash if label's type is STRING_TEXTURE and label->sortAllChildren is called.
2014-04-01 10:02:35 +08:00
koowolf
36aeb88a9d
Merge branch 'quadcommand-optimize' of https://github.com/minggo/cocos2d-x into quadcommand-optimize
...
Conflicts:
cocos/2d/cocos2d_wp8.vcxproj
cocos/2d/cocos2d_wp8.vcxproj.filters
2014-04-01 09:39:03 +08:00
zukkun
e41fd1a29b
fixed PhysicsBody::setAngularVelocityLimit incorrect function call
2014-04-01 09:34:42 +09:00
koowolf
ad653c6cf9
use xxhash in win32 and wp8
2014-03-31 18:38:39 +08:00
James Chen
a93470c67d
Merge pull request #6077 from Dhilan007/develop_label
...
Label:fixed possible blink if label contains shadow.
2014-03-31 18:33:55 +08:00
Dhilan007
f485d3b6d5
Label:fixed possible blink if label contains shadow.
2014-03-31 18:16:08 +08:00
koowolf
75ec817ac5
use xxhash in win32 and wp8
2014-03-31 17:15:04 +08:00
CocosRobot
cf59264dfe
[AUTO]: updating luabinding automatically
2014-03-31 08:52:27 +00:00
James Chen
9e64140f8a
Merge pull request #6067 from Dhilan007/develop_label
...
1) fixed logical error in Label::updateFont.
2) fixed the font file searching strategy, used FileUtils::isFileExist to check whether the font file exist rather than find . letter.
2014-03-31 16:11:59 +08:00
Dhilan007
d39a419eeb
fixed logical error in Label::create.
2014-03-31 16:06:20 +08:00
Dhilan007
89eba4424f
fixed logical error.
2014-03-31 15:45:06 +08:00
minggo
98ed579b34
Merge pull request #6052 from pipu/develop_pipu_fixedbugsforeditor_1301
...
Fixed bugs for Editor
2014-03-31 15:37:45 +08:00
Dhilan007
774debd142
fixed logical error in Label::updateFont.
2014-03-31 15:29:24 +08:00
minggo
504eea0269
use xxhash to generate material id
2014-03-31 13:47:07 +08:00
samuele3hu
849d462c11
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into develop_socket
2014-03-31 12:05:45 +08:00
samuele3hu
c38388cc62
ccvector_to_luaval would lead to memory leak because call the `retain`
2014-03-31 12:04:47 +08:00
Dhilan007
cffdb129c9
change type of Label::_shadowNode
2014-03-31 11:47:28 +08:00
pipu
4c1cbabb5e
fixed bugs
2014-03-31 11:34:26 +08:00
Dhilan007
08beaa3532
TextFieldTTF:fixed display incorrect color.
2014-03-31 11:16:12 +08:00
bmanGH
c86ab37685
Label ignore sort children.
2014-03-30 21:08:43 +08:00
bmanGH
503fed5313
fix crash when sort children while label type is STRING_TEXTURE. since the only one child sprite is not add with batch mode
2014-03-30 21:08:43 +08:00
minggo
f80bdfff76
Merge pull request #6055 from MSOpenTech/wp8-3.0
...
Cocos2d-x 3.0 Windows Phone 8 support
2014-03-29 23:21:34 +08:00
Dale Stammen
958c7fdf9d
added winrt and wp8 project files and property sheets
2014-03-28 16:02:23 -07:00
Dale Stammen
b2d3dbf0fe
added wp8 support files and projects
2014-03-28 15:39:20 -07:00
Dale Stammen
6970955378
added wp8 support files and projects
2014-03-28 15:32:52 -07:00
Dale Stammen
31150ce189
added wp8 support files and projects
2014-03-28 12:55:40 -07:00
Dale Stammen
97bdaad41b
added wp8 and winrt support files and projects
2014-03-28 12:53:35 -07:00
Dale Stammen
afe561cccc
added wp8 and winrt support files and projects
2014-03-28 12:52:16 -07:00
Dale Stammen
db8efd32f7
fixed reserved word DELETE in wp8 compiler
2014-03-28 11:26:41 -07:00
Dale Stammen
77efd401a7
intialize _hasMipmaps to false in constructor
2014-03-28 11:25:57 -07:00
Dale Stammen
6ad8ec00ed
added missing variadicCreate for wp8
2014-03-28 11:25:39 -07:00
Maks Naumov
9644d68259
fix cmake win32 project generation
2014-03-28 19:06:13 +02:00
pipu
733b364b51
Fixed bugs for Editor
2014-03-28 18:54:06 +08:00
minggo
c7fb226f11
Merge pull request #5929 from shujunqiao/cocos-console-test
...
Cocos console test
2014-03-28 18:34:21 +08:00
James Chen
1c5cff089e
Merge pull request #6050 from CocosRobot/update_lua_bindings_1396001378
...
[AUTO]: updating luabinding automatically
2014-03-28 18:11:59 +08:00
CocosRobot
494321a674
[AUTO]: updating luabinding automatically
2014-03-28 10:11:08 +00:00
pandamicro
610524a6e9
Reverse CONSTRUCTOR_ACCESS to public
2014-03-28 18:05:17 +08:00
James Chen
c43b0f6cb0
Merge pull request #6043 from andyque/fix4590
...
closed #4590 , fixed rewind problems
2014-03-28 18:04:43 +08:00
James Chen
581ef454eb
Merge pull request #6047 from samuele3hu/develop_test
...
Replace `LabelTTF` and `LabelBMFont` with `Label` for cocosbuild proxy and fix the error that ControlSwitch:create raised.
2014-03-28 18:04:12 +08:00
James Chen
15e584a83c
Merge pull request #6048 from pandamicro/ConstructorAccess2
...
Issue #3897 : Add missed constructors
2014-03-28 18:03:35 +08:00
pandamicro
74a4aa793d
Issue #3897 : Move OrbitCamera constructor into cpp
2014-03-28 18:00:25 +08:00
shujunqiao
9ffb26fdc9
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into cocos-console-test
2014-03-28 17:50:29 +08:00
pandamicro
26f5107381
Reverse CONSTRUCTOR_ACCESS to protected
2014-03-28 17:45:35 +08:00
pandamicro
5fc8050d9e
Issue #3897 : Add missed constructors
2014-03-28 17:45:06 +08:00
James Chen
9836f11543
Merge pull request #6046 from Dhilan007/develop_label
...
Fixed possible crash if invoking FontAtlasCache::purgeCachedData.
2014-03-28 17:23:24 +08:00
samuele3hu
7ca207f993
Replace `LabelTTF` and `LabelBMFont` with `Label` for cocosbuild proxy and fix the error that ControlSwitch:create raised.
2014-03-28 17:18:41 +08:00
Dhilan007
cb50741f5d
Fixed possible crash if invoking FontAtlasCache::purgeCachedData.
2014-03-28 16:52:48 +08:00
andyque
5a9af407dc
closed #4590 , remove -> property access
2014-03-28 16:41:33 +08:00
CocosRobot
07d1a54a92
[AUTO]: updating luabinding automatically
2014-03-28 08:20:29 +00:00
andyque
97883acfb1
closed #4590 , fixed rewind problems
2014-03-28 15:59:04 +08:00
Dhilan007
8ab057550f
fixed got wrong Rect by LabelTTF::getBoundingBox / LabelBMFont::getBoundingBox.
2014-03-28 15:58:28 +08:00
James Chen
ecad5ea3ce
Fixed `ExtensionTest/CocoStudioComponentsTest` crash after applying PR #6011 .
2014-03-28 14:55:15 +08:00
James Chen
fd9ab5c4d1
Merge pull request #6039 from Dhilan007/develop_label
...
LabelTTF and LabelBMFont tagged as deprecated
2014-03-28 14:31:11 +08:00
Dhilan007
dd73be16e0
fixed indention.
2014-03-28 14:22:51 +08:00
Dhilan007
898e2136b1
LabelTTF and LabelBMFont tagged as deprecated
2014-03-28 14:18:01 +08:00
CocosRobot
bb1b6f96fb
[AUTO]: updating luabinding automatically
2014-03-28 06:17:06 +00:00
James Chen
e87f6991cf
User object has to be released before others, since userObject may have a weak reference of this node.
...
It may invoke `node->stopAllAction();` while `_actionManager` is null if the next line is after `CC_SAFE_RELEASE_NULL(_actionManager)`.
2014-03-28 14:09:51 +08:00
James Chen
c266647447
ParticleSystem should also override `onExit` to unschedule update since in `onEnter`, it will be scheduled again. Otherwise, it'll trigger an assert.
2014-03-28 14:05:38 +08:00
pandamicro
65f4c23004
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into develop
2014-03-28 13:56:09 +08:00
shujunqiao
411bb95025
add [director end] command's explain in CCConsole.cpp.
2014-03-28 13:50:06 +08:00
shujunqiao
ff4b83813c
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into cocos-console-test
2014-03-28 13:41:18 +08:00
shujunqiao
fb780f82da
add [director end] command in CCConsole.cpp.
2014-03-28 13:40:24 +08:00
CocosRobot
ceda1b9a9a
[AUTO]: updating luabinding automatically
2014-03-28 03:33:44 +00:00
James Chen
5c77b4d4b1
Merge pull request #6011 from DarraghCoy/event_listener_crash_fixes
...
closed #4586 : Fix crashes in event dispatch other related safety checks/fixes
2014-03-28 11:28:41 +08:00
minggo
688ac51546
Merge pull request #6036 from Dhilan007/develop_label
...
fixed got wrong Rect by Label::getBoundingBox.
2014-03-28 11:18:50 +08:00
Darragh Coy
0f729126f0
Find another instance where we should null out the node pointer for the current listener after it has been disassociated with the node.
2014-03-27 20:11:37 -07:00
Dhilan007
3da695b184
fixed got wrong Rect by Label::getBoundingBox.
2014-03-28 11:03:39 +08:00
minggo
2c1eb04124
[ci skip]
2014-03-28 10:45:45 +08:00
minggo
b607172e57
Merge pull request #6035 from Dhilan007/develop_label
...
Remove the old implementation of LabelBMFont.
2014-03-28 10:32:04 +08:00
Dhilan007
fd5a4acddb
Remove the old implementation of LabelBMFont.
2014-03-28 10:28:44 +08:00
minggo
de9c5b34c1
Merge pull request #6032 from boyu0/4573_Particle_setVisible_crash
...
closed #4573 : Set particle visible to false then set to true cause crashes.
2014-03-28 10:08:39 +08:00
minggo
3db5d56840
Merge pull request #6031 from Dhilan007/develop_label
...
closed #4561:Fixed read file more than once for label created by different font size.
2014-03-28 10:07:50 +08:00
Dhilan007
2bf256db0a
using 'struct' for reduce looks up in the map.
2014-03-28 09:44:16 +08:00
Darragh Coy
83495e6e9b
Macro wrap some of the other debug checks related to event listeners.
2014-03-27 15:39:52 -07:00
Darragh Coy
c6cd927ea5
When an event listener is removed from the scene and has a node associated with it, NULL out the node pointer so as not to leave any dangling pointers.
2014-03-27 15:37:16 -07:00
Darragh Coy
a778d07ecc
Undo most of the rest of the event dispatcher related changes in this fix. Will update with a much more elegant solution that does not disturb the existing code so much and which ensures no dangling pointers.
2014-03-27 15:22:11 -07:00
Darragh Coy
824efceb3f
Revert "Review feedback: fix memory leak discovered."
...
This reverts commit 07646f1c82
.
2014-03-27 15:14:37 -07:00
Darragh Coy
8ee90389b4
Review feedback: Wrap the debug verification in additional macros which are disabled by default.
...
Require the user to enable 'CC_NODE_DEBUG_VERIFY_EVENT_LISTENERS' in ccConfig.h in order to enable the debug checks in debug builds.
2014-03-27 12:29:28 -07:00
Darragh Coy
6e19da12c3
Review feedback: Remove unnecessary check of EventListener::getSceneGraphPriority() for fixed event listeners.
...
Fixed priority event listeners never have an associated node.
2014-03-27 11:59:07 -07:00
Darragh Coy
07646f1c82
Review feedback: fix memory leak discovered.
...
Always safe release the listener we retain - shift where release happens to the end of the block. Reproduced the leak using the Xcode Leaks instrument in the RemoveListenerAfterAddingTest and verified fixed after apply this change.
2014-03-27 11:28:27 -07:00
Dhilan007
f2cc3a3ce2
Update variable name.
2014-03-27 17:48:16 +08:00
Dhilan007
5a572c1797
closed #4561:Fixed read file more than once for label created by different font size.
2014-03-27 17:04:05 +08:00
boyu0
cb1c3ccd1a
closed #4573 : Set particle visible to false then set to true cause crashes.
...
Because of the update order, _particleIdx may equal to zero.
2014-03-27 16:47:21 +08:00
CocosRobot
e5ff0912a7
[AUTO]: updating luabinding automatically
2014-03-27 08:43:46 +00:00
James Chen
2e3b6b62de
Merge pull request #6028 from Dhilan007/develop_label
...
closed #4494:: Easier for set texture parameters of label's cache textures.
2014-03-27 16:40:12 +08:00
Dhilan007
408107ff24
closed #4494::Easy to sets texture parameters of label's cache textures.
2014-03-27 15:35:51 +08:00
CocosRobot
8cec6b83d9
[AUTO]: updating luabinding automatically
2014-03-27 07:35:51 +00:00
Dhilan007
cac4e0bbbc
closed #4569:Texture2D support for update partial texture
2014-03-27 15:11:04 +08:00
CocosRobot
7a3e40dd8e
[AUTO]: updating luabinding automatically
2014-03-27 06:55:35 +00:00
James Chen
c62144c350
Merge pull request #6022 from Dhilan007/develop_label4565
...
closed #4565:fixed logical error in Label::setFontAtlas.
2014-03-27 14:39:30 +08:00
Dhilan007
8a8fa743eb
closed #4565:fixed logical error in Label::setFontAtlas.
2014-03-27 14:28:32 +08:00
andyque
928e9def8d
closed #102 , add CC_CONSTRUCTOR_ACCESS to CCProtectedNode
2014-03-27 14:27:30 +08:00
CocosRobot
33d6b04fb4
[AUTO]: updating luabinding automatically
2014-03-27 05:55:07 +00:00
minggo
e52fc981cc
Merge pull request #5977 from dabingnn/develop_fixID_Android_bug
...
Develop fix id android bug
2014-03-27 13:49:53 +08:00
CocosRobot
b1859a4cac
[AUTO]: updating luabinding automatically
2014-03-27 03:10:37 +00:00
James Chen
aaab8881ae
Merge pull request #6003 from pandamicro/LayerGradientCtor
...
Fixed #4566 : Constructor added for LayerGradient
2014-03-27 11:06:49 +08:00
James Chen
a3a0833401
Merge pull request #6014 from andyque/fix_issue4562
...
closed #4562 , Stopped music could also be resumed on iOS
2014-03-27 11:04:05 +08:00
pandamicro
f0bb69bc5f
Revert "Reverse CONSTRUCTOR_ACCESS"
...
This reverts commit 44d446ef1d
.
2014-03-27 10:59:47 +08:00
pandamicro
87384d8ffa
Fixed #4566 : Move LayerGradient's init functions into CC_CONSTRUCTOR_ACCESS section
2014-03-27 10:55:41 +08:00
andyque
26a04b38f2
closed #4562 , fix audio resume bug after stop the music
2014-03-27 10:43:57 +08:00
pandamicro
2d5c295f99
Merge branch 'develop' into LayerGradientCtor
2014-03-27 10:14:57 +08:00
pandamicro
7f2255e485
Fixed #4566 : Fix coding style problems
2014-03-27 10:01:46 +08:00
Darragh Coy
586383a05e
Fix Android build for RefPtr addition.
2014-03-26 16:30:04 -07:00
Darragh Coy
036dc5542c
Add cocos2d::RefPtr<T>
...
This class which acts a smart pointer type class for cocos2d::Ref objects. Can be used to help automate memory management and remove manual retain/release calls from code, resulting in less code and less chance of errors. Also useful to implement the RAII idiom in certain scenarios, ensuring that an object gets released upon exiting a scope.
2014-03-26 15:30:15 -07:00
Darragh Coy
0ee1095e37
Fix crashes in event dispatch other related safety checks/fixes
...
1: Add a fix to prevent events from being sent to scene nodes which are destroyed. Previously when a node was being destroyed it would try to unregister any event listeners it would have. This process would fail however in the case where event dispatching was already underway because we can't modify the listeners list while we are iterating through it. This is a pretty common occurrence since we often tear down & switch scenes in response to button clicks etc. Fix the problem by nulling out the slot for the listener we are removing in this case, so that it's node no longer receives any events after it is destroyed. The event dispatching code will cleanup this unused/nulled slot once the event processing loop has terminated.
2: When removing an event listener in cocos2d::EventDispatcher, ensure immediately it gets removed from the node priority map and dirty nodes set in order to ensure we don't inadvertently access any dangling pointers to nodes.
3: Add debug checks to ensure nodes have no associated event listeners after they are destroyed. This check will catch the problem fixed by (1) if it is still present.
4: Add some extra debug sanity checks in the event dispatcher to ensure nodes are not added to the lists twice and that they are being properly removed from the lists under certain conditions.
5: In cocos2d::Node's destructor NULL out members after releasing them in case they somehow happen to be accessed during the destructor. Move the release of the event dispatcher to the very end, since we need to check against it in debug.
2014-03-26 13:12:44 -07:00
CocosRobot
8efb9ad4e0
[AUTO]: updating luabinding automatically
2014-03-26 12:09:41 +00:00
James Chen
1dbfc9e10a
Merge pull request #5988 from andyque/fix_silder_hittest
...
closed 4560, fixed slider hitTest position
2014-03-26 19:27:41 +08:00
pandamicro
44d446ef1d
Reverse CONSTRUCTOR_ACCESS
2014-03-26 18:48:01 +08:00
pandamicro
c08bf69370
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into LayerGradientCtor
2014-03-26 18:46:00 +08:00
pandamicro
63772f7d72
Fixed #4566 : Constructor added for LayerGradient
2014-03-26 18:45:08 +08:00
CocosRobot
ebc09373e3
[AUTO]: updating luabinding automatically
2014-03-26 10:42:58 +00:00
James Chen
cdd7356512
Merge pull request #5969 from nutty898/develop_nutty_modifylayout_add_Boxes
...
closed #4534 : Adding HBox, VBox layouts, refactoring 'doLayout' function.
2014-03-26 18:30:17 +08:00
CocosRobot
6e86e65038
[AUTO]: updating luabinding automatically
2014-03-26 10:25:55 +00:00
James Chen
849d7b9109
Merge pull request #5996 from chengstory/AddNewCreateNodeWay
...
Adding support of using CCComRender as parent for attached component
2014-03-26 18:20:34 +08:00
CaiWenzhi
a05969c395
Move layout "exe" to cpp
2014-03-26 17:58:53 +08:00
zhangcheng
f564c4e34a
1. Spirte -> Sprite.
...
2. _EMPTYNODE -> EMPTY_NODE.
2014-03-26 17:55:35 +08:00
zhangcheng
c1ff610277
use capital letters for enum.
2014-03-26 17:21:09 +08:00
zhangcheng
1e6b9f7d9f
remove isRenderer.
2014-03-26 17:02:37 +08:00
zhangcheng
58a61d94fb
add use CCComRender as parent for attaching component
2014-03-26 16:39:32 +08:00
James Chen
22fdbbb198
Merge pull request #5980 from Dhilan007/develop_label2
...
Refactor implementation of label's shadow and fixed stroke was not 'outside stroke' for Label generated by 'Font name'
2014-03-26 16:32:04 +08:00
James Chen
1003847cd1
Mac build fix after merging https://github.com/cocos2d/cocos2d-x/pull/5989
2014-03-26 15:44:38 +08:00
James Chen
21ba509a35
Merge pull request #5989 from dumganhar/iss4559-ios-64bit
...
closed #4559 : Wrong behavior of multi-touch on iphone5s/ipadAir (arm64 arch)
2014-03-26 15:27:57 +08:00
James Chen
691442d80d
closed #4559 : Wrong behavior of multi-touch on iphone5s/ipadAir (arm64 arch)
2014-03-26 15:04:11 +08:00
minggo
5e2ffc45ec
Merge pull request #5985 from andyque/remove_pragma_mark
...
issue #4401 , remove unused pargma mark macro
2014-03-26 14:58:37 +08:00
andyque
57d8f155df
issue #4401 . resolve conflicts
2014-03-26 14:54:50 +08:00
andyque
6449ced0ab
closed #4560 , fixed UISlider hitTest Point
2014-03-26 14:41:53 +08:00
Dhilan007
fa91bf1167
remove unused code and fixed warning.
2014-03-26 14:11:40 +08:00
CocosRobot
0140d6d3f7
[AUTO]: updating luabinding automatically
2014-03-26 06:03:04 +00:00
minggo
a374241f65
Merge pull request #5924 from MSOpenTech/wp8-3.0-cocos2d-changes
...
Windows Phone 8,0 cocos2d-x 3.0 changes
2014-03-26 13:58:46 +08:00
James Chen
7a8db8271f
Merge pull request #5930 from andyque/Branch_issue4429
...
closed #4429 : Boolean value could not be written to specified plist file
2014-03-26 11:46:56 +08:00
Dhilan007
1247760d95
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into develop_label_fixs
...
Conflicts:
cocos/2d/CCLabel.cpp
2014-03-26 11:15:48 +08:00
Dhilan007
41ffa372e8
label: Refactor implementation of shadow.
2014-03-26 11:09:16 +08:00
Huabing.Xu
bc15ac1415
closed #4552 : change assert log message
2014-03-26 10:07:50 +08:00
James Chen
f6c6d428ad
Merge pull request #5926 from andyque/fix_tests_warnings
...
issue #4401 , remove warnings under win32
2014-03-25 18:17:42 +08:00
CocosRobot
c5d6e83673
[AUTO]: updating luabinding automatically
2014-03-25 09:30:11 +00:00
CaiWenzhi
c976791f7d
Merge branch 'develop' into develop_nutty_modifylayout_add_Boxes
2014-03-25 17:17:57 +08:00
CaiWenzhi
243b7e5822
Modify layout and add Boxes
2014-03-25 17:15:54 +08:00
Huabing.Xu
9aa8327d9c
closed #4552 : separate material ID and openGL ProgramID
2014-03-25 16:54:29 +08:00
James Chen
b6589b0b5a
Merge pull request #5931 from Dhilan007/develop_label
...
label: Support to clip transparent area of Label, content size will be updated with only non-transparent area.
2014-03-25 16:47:12 +08:00
LinWenhai
4b454fe7bb
Update getter of ClipMarginEnabled.
2014-03-25 16:37:34 +08:00
minggo
cc61df50e7
Merge pull request #5965 from natural-law/issue2880
...
Generate mipmap for the texture has mipmaps when reload textures.
2014-03-25 16:29:05 +08:00
James Chen
8f95e27dc7
Merge pull request #5943 from koowolf/websocket_fix
...
closed #4542 : WebsocketTest crashes on win32, it may delete mutex which is still being locked
2014-03-25 16:28:18 +08:00
zhangbin
36892c3a98
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into issue2880
2014-03-25 16:21:41 +08:00
zhangbin
d6ad9274c4
closed #2880 , Generate mipmap for the texture has mipmaps when reload textures.
2014-03-25 16:19:34 +08:00
koowolf
c37584ee5c
closed #4542 : fix crash in win32(delete mutex while still lock)
2014-03-25 16:14:21 +08:00
CocosRobot
bdcd6ea198
[AUTO]: updating luabinding automatically
2014-03-25 08:13:42 +00:00
Dhilan007
674dffce21
Merge branch 'develop-label-stroke' of https://github.com/dumganhar/cocos2d-x into develop_label_fixs
2014-03-25 16:10:47 +08:00
James Chen
34245d4bd0
Merge pull request #5953 from dumganhar/merge5934
...
closed #4541 : [ui] Removed Widget::addNode, added ProtectedNode.
2014-03-25 15:46:56 +08:00
James Chen
c8a762c92b
Merge pull request #5954 from CocosRobot/update_lua_bindings_1395733113
...
[AUTO]: updating luabinding automatically
2014-03-25 15:43:38 +08:00
CocosRobot
86f69a0b4e
[AUTO]: updating luabinding automatically
2014-03-25 07:39:29 +00:00
minggo
3fc15e5e7d
Merge pull request #5896 from splhack/remove_nativeactivity
...
Remove NativeActivity
2014-03-25 15:37:12 +08:00
minggo
cab21adf4a
Merge pull request #5919 from boyu0/bug4499_ParticleSystem_endRadiusVar_bug
...
closed #4499 : Read ParticleSystem::modeB.endRadiusVar from "minRadiusVariance...
2014-03-25 15:34:36 +08:00
James Chen
b40127ea99
Never include '.cpp' files.
2014-03-25 15:32:14 +08:00
James Chen
91347aca0c
closed #4541 : Removes wrong coments in CCProtectedNode.h.
2014-03-25 15:07:46 +08:00
James Chen
45b98e7dc0
issue #4541 : s_globalOrderOfArrival is an static variable of Node class.
2014-03-25 15:07:11 +08:00
LinWenhai
19341ceaf4
add getter of ClipMarginEnabled.
2014-03-25 14:54:42 +08:00
CaiWenzhi
9a8cf6d813
Modify Windows Project
2014-03-25 14:28:58 +08:00
CaiWenzhi
c0b67e6d1b
Modify mk files
2014-03-25 14:28:58 +08:00
CaiWenzhi
2dffcb9808
Add ProtectedNode and remove "addNode"
2014-03-25 14:28:58 +08:00
James Chen
093b792221
Merge pull request #5946 from boyu0/iss3804_change_image_private_to_protected
...
closed #3804 : Change private functions and variables in Image class to protected, since its subclasses may need them.
2014-03-25 14:07:58 +08:00
James Chen
32f647d38b
Merge pull request #5940 from boyu0/iss4513_particle_readd_bug
...
closed #4513 : Particle doesn't animate when it was removed and re-added to another node.
2014-03-25 14:05:12 +08:00
James Chen
004d5b421a
Merge pull request #5947 from CocosRobot/update_lua_bindings_1395726548
...
[AUTO]: updating luabinding automatically
2014-03-25 13:53:38 +08:00
CocosRobot
5d2906ad8b
[AUTO]: updating luabinding automatically
2014-03-25 05:50:20 +00:00
James Chen
400408f204
Merge pull request #5944 from aeonmine/develop
...
Fix a memory leak in ActionManagerEx::initWithDictionary.
2014-03-25 13:48:33 +08:00
James Chen
8d28884c9f
Merge pull request #5806 from Dhilan007/develop_reImplementationWithLabel
...
issue #3821 : Uses new label instead of LabelTTF in engine.
2014-03-25 13:46:17 +08:00
aeonmine
4edaa62ec7
Update CCActionManagerEx.cpp
...
modify intent
2014-03-25 12:41:16 +09:00
James Chen
5625c98443
Merge pull request #5942 from Dhilan007/develop_label2
...
label: 1) change default value of anchor point to Middle.
2) Shadow offset and outline size passed to new Label consider 'contentScaleFactor'
2014-03-25 11:39:53 +08:00
boyu0
db0fe60974
closed #3804 : Change Image private function and variable to protected, for the subclasses can use them.
2014-03-25 11:13:44 +08:00
Kazuki Sakamoto
3fba61f384
Remove NativeActivity
2014-03-24 19:57:29 -07:00
mine_masahiro
3a0ee65a7e
Fix ActionObject memory leak bug
2014-03-25 11:44:26 +09:00
Dhilan007
8278a510aa
Label:fixed shadow offset didn't consider 'contentScaleFactor'
2014-03-25 10:41:53 +08:00
Dhilan007
859fe98502
label:1.change default value of anchor point. 2.Shadow offset and outline size passed to new Label didn't consider 'contentScaleFactor'
2014-03-25 09:58:16 +08:00
Dale Stammen
04b529d328
fixed use of nullptr in variable args for wp8
2014-03-24 15:09:24 -07:00
pandamicro
45d4397d20
Issue #3897 : Make Constructors public in Cocos2d-JS
2014-03-24 22:05:19 +08:00
boyu0
759ec61639
closed #4513 : Particle doesn't animate when readd it.
2014-03-24 18:08:55 +08:00
James Chen
ae2027ea53
Remove unneed CC_DEPRECATED_ATTRIBUTE macro in SocketIO.cpp
2014-03-24 17:59:44 +08:00
James Chen
e075b82dfe
tab -> 4 spaces, whitespace cleanup.
2014-03-24 17:58:35 +08:00
James Chen
b6a175457c
Merge commit 'refs/pull/5923/head' of git://github.com/cocos2d/cocos2d-x into merge5923
2014-03-24 17:55:43 +08:00
pandamicro
bdfcc6c8cc
Issue #3897 : Add missed constructors
2014-03-24 17:44:01 +08:00
James Chen
6defa062a8
closed #4530 : Using 'Outside stroke' instead of 'Inside Stroke' for Label generated by 'Font name'. And fix stroke could not work on iOS7.
2014-03-24 16:58:31 +08:00
James Chen
db7057e6f2
closed #4529 : Stroke size and shadow offset don't consider ContentScaleFactor
2014-03-24 16:58:31 +08:00
James Chen
892662c5ef
Merge pull request #5932 from pandamicro/ComponentScriptSupport
...
Component script support
2014-03-24 14:41:16 +08:00
pandamicro
6a8dfc4664
Fixed #4512 : JSB script support added to Component
2014-03-24 14:24:27 +08:00
Dhilan007
538c01e76e
label:support clip blank of upper and lower margin.
2014-03-24 14:16:27 +08:00
andyque
b41879916c
issue #4429 , fixed Value to string precesion error
2014-03-24 12:03:25 +08:00
chuanweizhang2013
1254bf8f1e
Merge pull request #19 from cocos2d/develop
...
update cocos2d-x
2014-03-24 12:00:30 +08:00
andyque
4a974e24df
revert vcxproj files
2014-03-24 10:50:48 +08:00
andyque
f5795c25b6
remove warnings under win32
2014-03-24 10:12:40 +08:00
Dale Stammen
ea9fb140fa
no mp3 support for wp8
2014-03-22 06:13:02 -07:00
Dale Stammen
3834d4e80b
fix for ABSOLUTE reserved word in wp8 compiler
2014-03-22 06:12:32 -07:00
Dale Stammen
762433e8aa
enable CC_ENABLE_CACHE_TEXTURE_DATA for wp8
2014-03-22 06:12:04 -07:00
Dale Stammen
a14728f184
added CC_PLATFORM_WINRT and WP8
2014-03-22 06:11:27 -07:00
Dale Stammen
347f91fcb6
Disabled console for wp8/winrt until networking code is added
2014-03-22 06:11:10 -07:00
Dale Stammen
6a4d459c77
Disabled console for wp8/winrt until networking code is added
2014-03-22 06:10:54 -07:00
Dale Stammen
aa0dae4d1f
added CC_PLATFORM_WINRT and WP8
2014-03-22 06:10:07 -07:00
Dale Stammen
6ee7f5d325
added CC_PLATFORM_WINRT and WP8
2014-03-22 06:09:48 -07:00
Dale Stammen
bfaa5882fe
fix for RELATIVE reserved word in wp8 compiler
2014-03-22 06:09:16 -07:00
Dale Stammen
44e6efea64
#pragma mark for ios and mac only
2014-03-22 06:08:05 -07:00
Dale Stammen
b50a158b62
need to terminate variable args list with NULL. nullptr will not work with wp8 compiler
2014-03-22 06:04:36 -07:00
Dale Stammen
2577fc39d8
#pragma mark for ios and mac only
2014-03-22 05:58:37 -07:00
Dale Stammen
fb574697aa
added support for precompiled shaders in wp8
2014-03-22 05:58:07 -07:00
Dale Stammen
5e402ee433
fix for generic already defined in wp8
2014-03-22 05:56:49 -07:00
Dale Stammen
294341d0ab
fixed texture memory leak and added comments to indicate problem
2014-03-22 05:56:08 -07:00
Dale Stammen
65400bf87b
added wp8 device orientation. added purge for FontAtlasCache. Disabled console for wp8/winrt until networking code is added
2014-03-22 05:55:08 -07:00
Dale Stammen
f6b57df505
added WP8 and WINRT platforms
2014-03-22 05:53:09 -07:00
Dale Stammen
77ab59ebab
#pragma mark for ios and mac only
2014-03-22 05:52:45 -07:00
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