James Chen
09c0bae4a1
closed #4165 : Deprecates old methods: Scheduler::(un)scheduleSelector, Scheduler::isScheduleForTarget.
2014-03-03 11:07:48 +08:00
James Chen
757425c54b
issue #4165 : Scheduler::scheduleCallback -> Scheduler::schedule, Scheduler::scheduleSelector -> Scheduler::schedule. APIs are clear for c++ developers now.
2014-03-03 11:00:30 +08:00
James Chen
dceb047ba6
TimerTargetCallback::initWithLambda -> TimerTargetCallback::initWithCallback.
2014-03-02 18:43:17 +08:00
James Chen
e6d2c4ec73
Refactors Scheduler class.
...
* Timer is an abstract class now.
* Adds three new timers ( `TimerTargetSelector`, `TimerTargetCallback`, `TimerScriptHandler`) which are inherited from Timer.
* Adds new API 'scheduleCallback` / `unscheduleCallbackForKey', and callback's target could be any classes since we're using `void*` to identify target.
* `Scheduler::scheduleCallback` use `std::function`, therefore, it supports passing `lambda`, `member_function` and `global_function`.
* The old selector API is still kept since it's very useful when schedule callback is a member function, it doesn't need a `key` to identify the callback function. (+1 squashed commit)
* Adds relevant test cases.
2014-03-01 14:09:09 +08:00
James Chen
e301e84fc6
Merge pull request #5496 from andyque/bug4103
...
fixed #4103 . fix crash when websocket close
2014-02-28 17:44:49 +08:00
James Chen
c2167501cc
Merge pull request #5494 from natural-law/develop
...
Modify the depend project path for project "TestCpp".
2014-02-28 17:36:36 +08:00
andyque
46c93f07ad
fixed #4103 . fix crash when websocket close
2014-02-28 17:32:54 +08:00
zhangbin
7d5ac249fb
Modify the depend project path for project "TestCpp".
2014-02-28 17:29:12 +08:00
James Chen
b5ca9f21d1
Merge pull request #5482 from andyque/fix3868
...
fixed #3868 : Possible crash on repeat running between HttpClientTest, WebSocketTest, SocketIOTest
2014-02-28 16:57:33 +08:00
James Chen
2995f91b59
Update CHANGELOG [ci skip]
2014-02-28 16:38:05 +08:00
James Chen
40d29824c5
Update AUTHORS [ci skip]
2014-02-28 16:36:09 +08:00
James Chen
ec4a4466b4
Merge pull request #5461 from Wilhansen/spine_skelFix
...
closed #4156 : spine::Skeleton would not be updated after re-adding to scene.
2014-02-28 16:34:35 +08:00
James Chen
225b5e0e4f
Merge pull request #5492 from dumganhar/iss4129-remove-all-listener
...
closed #4129 : Event listeners used in engine shouldn't be removed by method removeAllEventListeners().
2014-02-28 16:09:54 +08:00
James Chen
7dd75ea2cb
issue #4129 : Adds test case for issue 4119.
2014-02-28 15:46:48 +08:00
James Chen
d33017f27a
issue #4129 : Adds default argument(nullptr) for dispatchCustomEvent.
2014-02-28 15:40:45 +08:00
James Chen
b2cebebbaf
issue #4129 : Remove unused references in Xcode project.
2014-02-28 15:40:03 +08:00
James Chen
7774bb4c6c
closed #4129 : Event listeners in engine shouldn't be removed by method removeAllEventListeners().
2014-02-28 15:09:53 +08:00
James Chen
bbc1c385c2
issue #4129 : EventTouch::getTouches return const reference.
2014-02-28 15:08:18 +08:00
James Chen
7fcc9f02d7
Merge pull request #5490 from natural-law/issue3684
...
closed #3684 : Set shader program before TextureAtlas is rendered.
2014-02-28 13:55:07 +08:00
James Chen
658cf72d31
issue #4129 : Uses 'const reference' when getting touches by EventTouch::getTouches.
2014-02-28 13:43:28 +08:00
James Chen
8a04fbabf1
issue #4129 : EventDispatcher::_listeners -> _listenerMap.
2014-02-28 12:01:47 +08:00
zhangbin
9a5adc5be5
closed #3684 , Optimize the code of TextureAtlas test case.
2014-02-28 11:52:08 +08:00
zhangbin
ddf5957a9c
closed #3684 , Set shader program before TextureAtlas is rendered.
2014-02-28 11:43:41 +08:00
Ricardo Quesada
5d8aa8629d
Merge pull request #5489 from ricardoquesada/spine_fixes
...
SpineDrawing fixes
2014-02-27 19:41:09 -08:00
Ricardo Quesada
8ebf00fec1
SpineDrawing fixes
2014-02-27 19:40:21 -08:00
James Chen
7bfd180743
Update CHANGELOG [ci skip]
2014-02-28 10:19:37 +08:00
James Chen
c8b6438750
Update AUTHORS [ci skip]
2014-02-28 10:18:08 +08:00
James Chen
5454a2db62
Update CHANGELOG [ci skip]
2014-02-27 21:56:31 +08:00
James Chen
b363751b1a
Merge pull request #5477 from heliclei/console-upload-file
...
CCConsole:support file upload via telnet console
2014-02-27 21:53:57 +08:00
James Chen
cd35bc17e8
Update CHANGELOG [ci skip]
2014-02-27 21:53:31 +08:00
James Chen
4277509966
Merge pull request #5463 from andyque/refactor3877
...
closed #3877 . make fadeIn and fadeOut behaviours correct
2014-02-27 21:49:38 +08:00
heliclei
5531cae2ec
Merge remote-tracking branch 'upstream/develop' into console-upload-file
2014-02-27 21:35:53 +08:00
James Chen
ab9f030b11
Merge pull request #5487 from dumganhar/develop
...
Adds 'override' keyword for override functions (onEnter, onExit) in cpp-tests.
2014-02-27 21:21:10 +08:00
James Chen
a96f44f31d
Adds override for override functions (onEnter, onExit) in cpp-tests.
2014-02-27 21:10:03 +08:00
andyque
32d3bf03bd
fixed #3877 . make fadeIn and fadeOut behaviours correct
2014-02-27 21:00:25 +08:00
minggo
2d0032c825
Merge pull request #5479 from boyu0/iss4118_physical_performance_improve
...
issue #4118 : improve physical performance.
2014-02-27 20:51:41 +08:00
boyu0
5ff60485a4
issue #4118 : set body update after physics step.
2014-02-27 20:23:23 +08:00
boyu0
8c536589df
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into iss4118_physical_performance_improve
2014-02-27 20:04:04 +08:00
James Chen
e117687a92
Merge pull request #5485 from dumganhar/develop
...
Fix travis build fails.
2014-02-27 16:24:21 +08:00
James Chen
7e9a120e25
Fix travis build fails.
2014-02-27 16:23:38 +08:00
minggo
c3bcfffc08
Merge pull request #5480 from natural-law/develop
...
Remove the music & effects controlling in AppDelegate.cpp of TestCpp
2014-02-27 15:32:04 +08:00
minggo
94c7043976
Merge pull request #5484 from minggo/remove-unneeded-files
...
remove unneeded tools
2014-02-27 15:30:25 +08:00
zhangbin
03ea69d074
Merge branch 'develop' of https://github.com/natural-law/cocos2d-x ; branch 'develop' of https://github.com/cocos2d/cocos2d-x into develop
2014-02-27 15:29:31 +08:00
minggo
8eea655ae3
remove unneeded tools
2014-02-27 15:29:12 +08:00
minggo
2438842de6
Merge pull request #5483 from minggo/node-optimize
...
return immediately when no changing
2014-02-27 15:15:35 +08:00
minggo
8d47d5f16a
return immediately when no changing
2014-02-27 15:12:57 +08:00
boyu0
b63641c7a5
issue #4118 : delete physicsSetPosition/Rotation method and add physics position/rotation tag.
2014-02-27 14:36:09 +08:00
boyu0
f400c1ac68
issue #4118 : edit contact test and fix node setPhysicsBody bug
2014-02-27 13:35:37 +08:00
James Chen
f6ae27a136
Merge pull request #5481 from CocosRobot/update_cocosfiles_1393468152
...
[AUTO][ci skip] : updating tools/project-creator/module/cocos_files.json
2014-02-27 11:46:57 +08:00
andyque
d4b9544365
fixed #3868 . when the singleton destoryed, the cocos thread may later than that which will cause the s_responseQueue to be nil.
2014-02-27 11:25:44 +08:00