Commit Graph

76 Commits

Author SHA1 Message Date
Jare Guo 32205ee27b define apisrc.json in this repo 2018-05-05 18:07:40 +08:00
Jare Guo c47f5aa68e Merge branch 'v1.9'
# Conflicts:
#	cocos2d/actions/CCActionInterval.js
#	cocos2d/audio/CCAudioEngine.js
2018-04-27 14:20:10 +08:00
PP aa5c9bba27 set event.detail as null (#2589)
Release event.detail before put to pool & fix wx.getOpenDataContext issue
2018-04-24 22:26:04 +08:00
Jare Guo a6fb92ad90 updating license 2018-02-01 09:38:54 +08:00
Jare Guo bd15543093 updating license: Chukong Aipu -> Xiamen Yaji 2018-01-31 17:51:49 +08:00
knoxHuang 8a35363eaa add keyCode api to EventCustom 2018-01-17 15:57:50 +08:00
knoxHuang c2dd872f5c refine code 2017-11-30 11:43:34 +08:00
Jare Guo 806c0ec2d4 event listener should not add more than once when using once 2017-10-10 01:08:04 +08:00
Wang Nan 81db0b1223 Merge pull request #1939 from 2youyou2/optimize-event-target
add event flag to optimize event target
2017-08-30 14:21:46 +08:00
2youyouo2 90317e8808 refine code 2017-08-29 11:34:46 +08:00
2youyouo2 fc24942ae1 refine code 2017-08-29 11:28:09 +08:00
2youyouo2 67ebef5138 add event flag to optimize event target 2017-08-28 16:36:41 +08:00
Jare Guo 097e96b048 refine CallbackList 2017-08-08 10:26:28 +08:00
Jare Guo e3212cdf68 reimplement CallbacksInvoker 2017-08-07 17:41:05 +08:00
pandamicro 35b73e6365 Allow to off all listeners for a type 2017-07-11 09:43:49 +08:00
Jare Guo bf79d94fe6 remove extname used in require 2017-07-05 16:32:41 +08:00
Jare Guo 20155c6541 fix api about event type 2017-05-19 11:22:50 +08:00
Jare Guo 67c5e28659 use JS.Pool 2017-05-15 15:51:26 +08:00
Jare Guo dde1903110 use misc.Pool 2017-05-13 01:02:45 +08:00
Jare Guo 886c8d8cae optimize engine startup time by removing some js.mixin 2017-05-05 13:39:11 +08:00
Jare Guo f054f504b6 fix typescript api 2017-04-26 17:17:59 +08:00
Jare Guo 545e543d70 fix global variable ‘j’ 2017-04-17 10:38:29 +08:00
pandamicro 52e53db217 Fix event API doc 2017-04-05 09:55:23 +08:00
Nan Wang d9b5cef497 merge v1.4 2017-03-29 18:16:41 +08:00
pandamicro d761c97172 Improve API doc 2017-03-16 16:39:22 +08:00
2youyouo2 dae0a14f41 Merge branch 'v1.4' of github.com:fireball-x/engine into physics 2017-03-08 16:41:00 +08:00
Jare Guo 9fce1b96f9 Merge pull request #1495 from pandamicro/artifacts
Activate FIX_ARTIFACTS_BY_STRECHING_TEXEL by default
2017-03-06 20:56:34 +08:00
Jare Guo 1f0b5503f0 Merge commit 'aaa2ac73b9dc0b05bf3d1b05342d10676e0ad432' into temp2
# Conflicts:
#	cocos2d/core/platform/CCClass.js
#	cocos2d/core/platform/CCView.js
#	cocos2d/core/platform/_CCClass.js
#	jsb/jsb-director.js
2017-03-02 14:30:09 +08:00
pandamicro 4b72f35e97 Fix JSB memory leak caused by Event dispatching 2017-02-24 18:38:05 +08:00
Jare Guo 07e64e5bfe push down __fastOn/Off to Director 2017-02-18 22:48:05 +08:00
Jare Guo 787aa87759 merge _onPreDestroy 2017-02-18 22:48:05 +08:00
Jare Guo 5d38426653 working on component scheduler 2017-02-17 00:24:36 +08:00
pandamicro ff569e8a45 Activate FIX_ARTIFACTS_BY_STRECHING_TEXEL by default 2017-02-15 14:27:10 +08:00
Nan Wang 4dea8e7a8a move all error logs to DebugInfos.js and only show error id in release build 2016-12-15 17:07:01 +08:00
zilongshanren 8269f6b070 fix scrollview event handling
fix capture phase handling

fix nested scrollview

remove unused code
2016-11-04 16:39:07 +08:00
Nan Wang 032d2d2abd fix api doc reference 2016-10-20 18:36:01 +08:00
Jare Guo 73477ae848 optimize enabled by removing splice 2016-10-13 16:19:53 +08:00
Jare Guo 2b14093891 optimize operation for changing enabled 2016-10-11 17:03:47 +08:00
pandamicro b50454d8cd Fix event.target not set in emit 2016-08-11 15:42:06 +08:00
pandamicro 88481c0853 Revert reuse EventCustom 2016-07-27 19:01:17 +08:00
pandamicro 5dc8655eff Inline EventTarget _doSendEvent and reuse EventCustom 2016-07-27 18:45:19 +08:00
Jare Guo 47e6172766 optimize setPosition continuously 2016-06-22 23:52:52 +08:00
Jare Guo 3f63de63a2 Merge pull request #783 from pandamicro/v1.1
Do not stop sending event after propagationStopped
2016-06-12 12:01:11 +08:00
pandamicro ae1868efb2 Do not stop sending event after propagationStopped 2016-06-12 11:56:11 +08:00
pandamicro 272ac66762 Remove preventDefault in event 2016-06-02 15:33:01 +08:00
pandamicro 3064e05aa7 Add capturing phase in event system and refactor CCScrollView & CCButton 2016-05-30 10:40:21 +08:00
pandamicro 09c7a9e76d Callbacks handler: use REMOVE_PLACEHOLDER directly to detect 2016-05-25 10:40:12 +08:00
pandamicro edbea7e688 Fix event listener's target update invoked on invalid object issue 2016-05-24 18:11:37 +08:00
pandamicro 34baf4f4bb Fix callback handlers has function 2016-05-23 15:49:33 +08:00
zilongshanren 7011bf2a3d make emit code more robust 2016-05-12 18:23:30 +08:00