Commit Graph

62 Commits

Author SHA1 Message Date
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
zilongshanren 3453d465be improve emit event performance.
1. remove unused event emit
2016-05-12 16:02:48 +08:00
Jare Guo 608f4cc62c optimize update lifecyle method 2016-04-25 14:33:59 +08:00
Jare Guo 9695109756 update callbacks invoker 2016-04-04 00:15:10 +08:00
knoxHuang dd7e228c34 update Node and Component API 2016-03-24 17:14:06 +08:00
knoxHuang 7e0d49a0bf update event api 2016-03-18 17:26:36 +08:00
knoxHuang 2a97562b5c update Event Related API 2016-03-18 13:39:23 +08:00
pandamicro bf18d343ce Fix recursive invoke will cause callbacksInvoker's remove list be overwrote 2016-03-09 12:13:57 +08:00
Wang Nan 8c043208c2 Merge pull request #413 from nantas/master
update license file and source code header.
2016-03-01 12:05:44 +08:00
Nan Wang 3a70ae6060 update license file and source code header. 2016-03-01 11:04:12 +08:00
pandamicro ec5ee6d968 Permit removing multiple listeners in EventListeners 2016-03-01 00:02:38 +08:00
pandamicro 4a4af849e6 Fix comment issues 2016-02-18 23:18:49 +08:00
minggo 29e20cc47c fix comments 2016-02-04 13:43:58 +08:00
Nan Wang f756ec7fa6 fix api comments." 2016-02-03 10:16:05 +08:00
minggo 2032155237 fix comments error 2016-02-01 18:48:46 +08:00