James Chen
|
d7f15a971a
|
Merge pull request #3692 from dumganhar/iss2087-new-event-dispatcher
issue #2087: Sorts listeners only when flag is dirty. setPriority is only valid in fixed priority listener.
|
2013-09-18 02:49:52 -07:00 |
James Chen
|
f7fa92aea9
|
issue #2087: Sorts listeners only when flag is dirty. setPriority is only valid in fixed priority listener.
|
2013-09-18 17:46:00 +08:00 |
minggo
|
ff3fcf5eb7
|
Merge pull request #3690 from dabingnn/release30_bug_hot_fix
glfw EGLView alloc on the stack to prevent memory leak
|
2013-09-18 02:44:34 -07:00 |
Huabing.Xu
|
768828ec29
|
add term logic of application to prevent memory leak (for desktop such as linux, mac, windows)
|
2013-09-18 17:16:31 +08:00 |
samuele3hu
|
71b03ecdb9
|
replace tabs with spaces
|
2013-09-18 17:09:08 +08:00 |
samuele3hu
|
1ee7f72276
|
Modify handle_key_input function for responding the onKeyReleased
|
2013-09-18 17:02:32 +08:00 |
yuye.liu
|
784464d29f
|
particle designer2.0 support
|
2013-09-18 16:21:48 +08:00 |
James Chen
|
5a65ef7488
|
Merge pull request #3686 from dumganhar/iss2087-new-event-dispatcher
Fixing crash after changing Dictionary::createWithContentOfFile() to return autorelease object. [ci skip].
|
2013-09-18 01:05:11 -07:00 |
James Chen
|
cfb5de2900
|
Fixing crash after changing Dictionary::createWithContentOfFile() to return autorelease object. [ci skip].
|
2013-09-18 16:06:39 +08:00 |
James Chen
|
40a6f84585
|
Merge pull request #3680 from Dhilan007/develop
1.android platform:handle key event and fix Accelerometer value error [ci skip]
|
2013-09-18 00:01:32 -07:00 |
James Chen
|
d66420586c
|
Fix a memory leak in Dictionary::createWithContentOfFile().
|
2013-09-18 14:09:02 +08:00 |
James Chen
|
241c0c8efc
|
issue #2087: Small improvement in Node::removeAllEventListeners. Adding Node::_oldEventPriority property.
|
2013-09-18 13:01:53 +08:00 |
James Chen
|
3a5a1e6604
|
issue #2087: Invokes EventDispatcher::destroyInstance() when purging Director.
|
2013-09-18 13:00:43 +08:00 |
James Chen
|
80d1c315b3
|
issue #2087: Modify singleton implement for EventDispatcher, adding EventDispatcher::destroyInstance().
|
2013-09-18 13:00:08 +08:00 |
Dhilan007
|
fd3a03a6ee
|
1.android platform:handle key event
2.android platform:fix Accelerometer value error
|
2013-09-18 12:04:35 +08:00 |
minggo
|
75d31b3c5c
|
Merge pull request #3603 from ktaobo/disable-nslog
Disable log output on release build
|
2013-09-17 18:37:09 -07:00 |
minggo
|
b91b350f2b
|
Merge pull request #3666 from Dhilan007/develop
android platform:fix EditBox not show input box and crash.
|
2013-09-17 18:33:43 -07:00 |
James Chen
|
f403f7d683
|
Merge branch 'develop' of git://github.com/cocos2d/cocos2d-x into keyboard_test
Conflicts:
samples/samples.xcodeproj/project.pbxproj
|
2013-09-17 23:24:14 +08:00 |
Dhilan007
|
a3524f420d
|
.
|
2013-09-17 23:22:16 +08:00 |
James Chen
|
e563c27994
|
Keypad event fix for js and lua bindings.
|
2013-09-17 23:21:45 +08:00 |
Dhilan007
|
509bea531a
|
android platform:fix EditBox not show input box and crash.
|
2013-09-17 23:16:32 +08:00 |
James Chen
|
aaf4a6a81b
|
[win32] clear keycode map before init eglview.
|
2013-09-17 22:37:16 +08:00 |
minggo
|
b1c8871208
|
linux build ok
|
2013-09-17 22:36:15 +08:00 |
James Chen
|
7d94878173
|
[win32] glfw keyboard callback is enabled now. Enables KeyboardTest for win32.
|
2013-09-17 22:34:20 +08:00 |
minggo
|
ddaff9cce6
|
make cocos2dx depend chipmunk
|
2013-09-17 19:24:30 +08:00 |
minggo
|
d488796896
|
Merge branch 'iss2771_physical' of https://github.com/boyu0/cocos2d-x into merge-physics
|
2013-09-17 18:14:12 +08:00 |
boyu0
|
a454e373c7
|
issue #2771: move include chipmunk and box2d to cpp
|
2013-09-17 17:39:08 +08:00 |
James Chen
|
beb8fa0b34
|
Merge branch 'develop' into box2d_test_bed_fix
|
2013-09-17 17:21:54 +08:00 |
James Chen
|
111a2ef4de
|
issue #2087: [dispatcher] Fixing BugTest/Bug422 crashes.
|
2013-09-17 17:03:03 +08:00 |
James Chen
|
81d8558c3c
|
issue #2087: [dispatcher] Removing HANDLE_PRIORITY.
|
2013-09-17 17:03:02 +08:00 |
James Chen
|
cdcfda1f2c
|
issue #2087: [dispatcher] Removing unused codes.
|
2013-09-17 17:00:37 +08:00 |
boyu0
|
5040ae33a1
|
issue #2771: add comments
|
2013-09-17 16:27:43 +08:00 |
boyu0
|
270bd997cc
|
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into iss2771_physical
|
2013-09-17 14:46:36 +08:00 |
boyu0
|
0a53a12f51
|
issue #2771: update project setting
|
2013-09-17 14:31:43 +08:00 |
minggo
|
b42c2fc487
|
remove dependence of sdl
|
2013-09-17 13:39:16 +08:00 |
James Chen
|
06f9f88ad9
|
Merge pull request #3640 from dumganhar/makefile-fixes
Makefile fixes
|
2013-09-16 21:10:10 -07:00 |
minggo
|
3072144ad5
|
implement Cocos2dxHelperListener
|
2013-09-17 11:44:33 +08:00 |
boyu0
|
9f7bf4349c
|
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into iss2771_physical
|
2013-09-17 11:19:47 +08:00 |
James Chen
|
664345a673
|
Removing unused files. Old XXXDispatcher.
|
2013-09-17 11:01:00 +08:00 |
boyu0
|
481ad7ef12
|
issue #2771: update project setting
|
2013-09-17 10:41:08 +08:00 |
James Chen
|
365419a8b2
|
issue #2087: [dispatcher] Fix box2d_test crash.
|
2013-09-16 23:35:16 +08:00 |
minggo
|
f9c5ece2d5
|
fix memory leak
|
2013-09-16 23:28:00 +08:00 |
boyu0
|
f96bc2355a
|
issue #2771: update android.mk
|
2013-09-16 22:56:20 +08:00 |
boyu0
|
8ec7996dcd
|
issue #2771: Edit delegate to listener.
|
2013-09-16 22:51:48 +08:00 |
James Chen
|
2d0ca10bbf
|
issue #2087: [dispatcher] fixedPriority == 0 is forbidden since it's used for scene graph based priority.
|
2013-09-16 22:46:44 +08:00 |
James Chen
|
605fdb73bb
|
issue #2087: [dispatcher] Reverts: CCLOG --> CCLOGINFO.
|
2013-09-16 22:23:07 +08:00 |
James Chen
|
36bfb24d29
|
issue #2087: [dispatcher] Adding remove all event listener method in Node, removed unused codes.
|
2013-09-16 22:20:01 +08:00 |
boyu0
|
a48fee881d
|
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into iss2771_physical
|
2013-09-16 22:16:50 +08:00 |
boyu0
|
2c66f1b95e
|
issue #2771: Implement the minimum set of physical API. Improve the PhysicsTest
|
2013-09-16 21:22:22 +08:00 |
James Chen
|
b128018f76
|
Merge branch 'suppressed-C4996' of https://github.com/savdalion/cocos2d-x into savdalion-suppressed-C4996
Conflicts:
extensions/CocoStudio/Armature/external_tool/GLES-Render.cpp
samples/Cpp/TestCpp/Classes/ExtensionsTest/CocoStudioArmatureTest/ArmatureScene.cpp
|
2013-09-16 20:58:26 +08:00 |
James Chen
|
9981aecddf
|
Removing unneeded log in win32/CCEGLView.cpp.
|
2013-09-16 20:41:03 +08:00 |
signmotion
|
5dffb1b44e
|
Deprecated methods are replaced (warning MSVC C4996 is suppressed).
|
2013-09-16 15:38:03 +03:00 |
minggo
|
0fe28b7410
|
Merge pull request #3617 from boyu0/bug2745_after_PerformanceTextureTest_render_error
closed #2745: fix bug: _dataLen not set at Image::initWithString() and I...
|
2013-09-16 03:08:40 -07:00 |
minggo
|
061004901d
|
Merge pull request #3619 from minggo/develop
[ci skip]set default projection to 3d
|
2013-09-16 03:03:01 -07:00 |
minggo
|
4d4933728e
|
Merge pull request #3615 from boyu0/bug2815_Texture2DTest_crash
closed #2815: Fixed the bug in ZipUtils::ccInflateMemoryWithHint(): it d...
|
2013-09-16 03:02:04 -07:00 |
minggo
|
13f83a084e
|
set default projection to 3d
|
2013-09-16 18:01:16 +08:00 |
boyu0
|
c726765b4a
|
closed #2745: fix bug: _dataLen not set at Image::initWithString() and Image::initWithStringShadowStroke()
|
2013-09-16 17:13:44 +08:00 |
CaiWenzhi
|
4843046d17
|
Merge GUI to develop step 1;
|
2013-09-16 17:12:15 +08:00 |
James Chen
|
0121d3033b
|
Merge pull request #3614 from dumganhar/iss2087-new-event-dispatcher
issue #2087: [EventDispatcher] Comment fixes. Adding a new test. Event priority fix, the lower value, the higher priority.
|
2013-09-16 01:52:16 -07:00 |
James Chen
|
501ed32973
|
issue #2087: [dispatcher] Fix of the listener of specified type is null.
|
2013-09-16 16:40:47 +08:00 |
James Chen
|
abf834731a
|
issue #2087: [dispatcher] Making Node::updateEventPriorityIndex to inline function.
|
2013-09-16 16:39:59 +08:00 |
boyu0
|
8d7d653031
|
closed #2815: Fixed the bug in ZipUtils::ccInflateMemoryWithHint(): it doesn't copy the previous unpacked data into new memory when malloced memory is not enough.
|
2013-09-16 16:22:52 +08:00 |
James Chen
|
60645a6702
|
issue #2087: [dispatcher] Changes event priority. The lower value is, the higher priority will be gotten.
|
2013-09-16 15:45:56 +08:00 |
minggo
|
27381fc83f
|
Merge pull request #3562 from bassarisse/develop
Win32 icons on template
|
2013-09-15 23:44:11 -07:00 |
James Chen
|
16b13ce522
|
issue #2087: [dispatcher] Updating some comments for new event dispatcher.
|
2013-09-16 14:43:57 +08:00 |
James Chen
|
050de08b8f
|
issue #2087: [dispatcher] Node::getEventPriority is a private method now.
|
2013-09-16 14:43:07 +08:00 |
minggo
|
2a315e53b8
|
Merge pull request #3402 from j4m3z0r/develop-emscripten
Port my variant of font-rendering over to dev branch -- adds correct ali...
|
2013-09-15 22:52:33 -07:00 |
minggo
|
f47ce3f5bc
|
Merge pull request #3607 from samuele3hu/developTest
Reset the addChild functions of SpriteBatchNode and add some lua deprecated functions
|
2013-09-15 22:45:32 -07:00 |
minggo
|
e4f8929898
|
Merge pull request #3606 from dabingnn/issue_2808_glfw_bug_enhancement
Issue 2808 glfw bug enhancement
|
2013-09-15 20:18:02 -07:00 |
minggo
|
81a26d44f6
|
Merge pull request #3596 from dumganhar/new-event-dispatcher-rename
[New Event Dispatcher] Using rename registerEventListener to addEventListener, unregisterEventListener to removeEventListener.
|
2013-09-15 20:13:51 -07:00 |
samuele3hu
|
faed7a3d36
|
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into developTest
|
2013-09-16 10:54:55 +08:00 |
samuele3hu
|
a3a915ead2
|
Reset the addChild functions of SpriteBatchNode and add some lua deprecated functions
|
2013-09-16 10:54:12 +08:00 |
James Chen
|
3b798317d4
|
[dispatcher] Some performance improves. Using std::for_each and range loop, and removing unneeded std::map::find.
|
2013-09-16 10:44:24 +08:00 |
James Chen
|
3e01dd5edf
|
[dispatcher] Using std::vector instead of std::list for EventListenerItem container.
|
2013-09-15 21:58:54 +08:00 |
James Chen
|
bfdc2a0efe
|
[dispatcher] Adding argument for whether to sort listeners when dispatching events.
|
2013-09-15 18:25:44 +08:00 |
James Chen
|
23e80857fa
|
[dispatcher] Defines TOUCH_PERF_DEBUG to enable setting touches in TouchEvent.
|
2013-09-15 17:49:09 +08:00 |
James Chen
|
499e8caf7a
|
[dispatcher] Updating the declare of event listeners in Layer. Using more specified type.
|
2013-09-15 17:48:29 +08:00 |
James Chen
|
d940e01bc1
|
[dispatcher] Supporting changing priority from fixed value to node or from node to fixed value.
|
2013-09-15 12:17:01 +08:00 |
James Chen
|
1b9658f5ad
|
[dispatcher] Adding Node::dissociateEventListener method.
|
2013-09-15 12:14:48 +08:00 |
Keita Obo
|
e0b13e8836
|
Disable log output on release build
|
2013-09-15 13:07:58 +09:00 |
James Chen
|
8102272b15
|
[dispatcher] Updating comments of EventDispatcher, renaming some functions and some performance improves when dispatching event.
|
2013-09-15 11:07:27 +08:00 |
Huabing.Xu
|
9440aa7a99
|
issue #2808: refractor setFrameZoomFactor() access, change init() parameter (linux windows version)
|
2013-09-14 22:48:14 +08:00 |
samuele3hu
|
85ca0136f0
|
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into Bridge
|
2013-09-14 19:53:08 +08:00 |
James Chen
|
997a5a36c1
|
[dispatcher] Renaming 'registerEventListenerXXX' to 'addEventListenerXXX'.
|
2013-09-14 09:02:49 +08:00 |
James Chen
|
dd7bfd7b60
|
Merge branch 'develop' of git://github.com/cocos2d/cocos2d-x into new-event-dispatcher-rebase
Conflicts:
cocos2dx/CCDirector.h
cocos2dx/keyboard_dispatcher/CCKeyboardDispatcher.h
cocos2dx/keypad_dispatcher/CCKeypadDelegate.h
cocos2dx/keypad_dispatcher/CCKeypadDispatcher.h
cocos2dx/layers_scenes_transitions_nodes/CCLayer.h
cocos2dx/menu_nodes/CCMenu.h
cocos2dx/platform/CCAccelerometerDelegate.h
cocos2dx/platform/android/CCAccelerometer.h
cocos2dx/platform/ios/CCAccelerometer.h
cocos2dx/platform/mac/CCAccelerometer.h
cocos2dx/platform/win32/CCAccelerometer.h
cocos2dx/script_support/CCScriptSupport.h
cocos2dx/touch_dispatcher/CCTouchDelegateProtocol.h
cocos2dx/touch_dispatcher/CCTouchDispatcher.h
cocos2dx/touch_dispatcher/CCTouchHandler.h
extensions/CocoStudio/Components/CCInputDelegate.h
|
2013-09-13 19:06:09 +08:00 |
Huabing.Xu
|
0af0951c35
|
issue #2808: refractor setFrameZoomFactor() access, change init() parameter
|
2013-09-13 18:21:12 +08:00 |
Huabing.Xu
|
86306a842d
|
issue #2808: 1. retina support 2. frameZoomFactor
|
2013-09-13 18:09:11 +08:00 |
James Chen
|
2fd655dc57
|
[dispatcher] Using cocos2d-x memory model instead of std::shared_ptr. It should be unified.
|
2013-09-13 18:00:56 +08:00 |
Huabing.Xu
|
5f1e5c505c
|
issue #2808: when move window, set OpenGL viewport again
|
2013-09-13 17:11:35 +08:00 |
samuele3hu
|
d8bd65b2e8
|
issue #2784:Add class constructor js-binding document
|
2013-09-13 16:46:31 +08:00 |
James Chen
|
40c410b78d
|
file mode changed, cocos2d.h from 100755 -> 100644
|
2013-09-13 16:37:47 +08:00 |
James Chen
|
490c74fd99
|
Unneeded cast fix.
|
2013-09-13 16:37:19 +08:00 |
James Chen
|
1f0a883dbd
|
[dispatcher] Checking whether the listener was registered.
|
2013-09-13 16:36:54 +08:00 |
James Chen
|
72c978f9fb
|
[dispatcher] Adding clone method for listener class.
|
2013-09-13 16:36:25 +08:00 |
James Chen
|
838b059b45
|
[dispatcher] Adding (s|g)etCurrentTarget for Event.
|
2013-09-13 16:34:34 +08:00 |
samuele3hu
|
1d4d1f251c
|
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into doxygen
Conflicts:
cocos2dx/label_nodes/CCLabel.h
|
2013-09-13 14:04:22 +08:00 |
samuele3hu
|
5ddd9ae23c
|
issue #2784:Delete class destuctor js-binding and lua-binding document
|
2013-09-13 13:52:42 +08:00 |
minggo
|
fd92708d16
|
Merge pull request #3588 from minggo/label-best-practice
fixed #2793:best practice of New Label
|
2013-09-12 22:29:56 -07:00 |
minggo
|
c4cb2582cc
|
fixed #2793:best practice of New Label
|
2013-09-13 11:46:46 +08:00 |
samuele3hu
|
3a334b7478
|
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into doxygen
|
2013-09-13 11:42:04 +08:00 |