Commit Graph

38 Commits

Author SHA1 Message Date
pandamicro 5e55976997 Improve Node event emit performance (#2862)
* Improve Node event emit performance

* Simplify Node event emit by removing event obj

* Fix example
2018-06-19 15:34:19 +08:00
pandamicro 38c61c70b4 Refactor EventTarget: remove hasListenerCache, move dispatch APIs to Node (#2595)
* Improve node property setter performance

* Avoid physics sync trigger events

* Improve callbacksHandler.has performance

* Use flag instead of hasListenerCache in animation state

* Remove hasListenerCache, add event target APIs for dispatch

* Fix some issues

* Fix event target has check

* Expose EventType and LocalDirtyFlag

* Move dispatch related APIs to Node and fix issues

* Refactor event target

* Fix sub listener usage for event target

* Improve code

* Remove callbacksInvoker.has
2018-04-26 21:50:27 +08:00
pandamicro 920e4dbfa6 Remove CCPointExtensions 2018-03-19 18:04:55 +08:00
pandamicro 6e0825cd78 Fix other cc.p usage 2018-03-19 12:43:15 +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 6adb2266ab fix pageview scrollToPage code 2017-11-16 16:19:19 +08:00
knoxHuang ab803b9a93 fix pageview bug for fireball/issues/6557 2017-10-31 16:55:49 +08:00
knoxHuang 840c9f4b11 add _updateLayout API for CCLayout 2017-08-25 10:54:09 +08:00
knoxHuang c8816c9349 add pageTurningSpeed to CCPageView fireball/issues/6008 2017-07-10 11:35:29 +08:00
zilongshanren 2231f8a367 improve scrollview events timing 2017-06-09 17:04:02 +08:00
Jare Guo 20155c6541 fix api about event type 2017-05-19 11:22:50 +08:00
knoxHuang 1fe4eac00b Remove redundant code for CCPageView 2017-05-16 10:10:39 +08:00
Jare Guo 6d63d1a0ff Merge branch 'v1.3'
# Conflicts:
#	cocos2d/core/event-manager/CCEventManager.js
2017-02-14 17:53:25 +08:00
knoxHuang 85de852a50 fix pageview bug for fireball/issues/4972 2016-12-23 17:01:56 +08:00
Nan Wang 3d9ef3eff8 merged 2016-12-21 14:37:20 +08:00
knoxHuang bd8127aff7 optimization shader and tooltip for #fireball/issues/4771 2016-12-19 18:19:18 +08:00
knoxHuang e746ac276b fix pageview bug for fireball/issues/4926 2016-12-19 11:06:48 +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
knoxHuang 05aa536a4c fix pageview buf for for #fireball/issues/4758 2016-11-23 10:19:43 +08:00
knoxHuang 6faadf7445 update size-changed for CCPageView 2016-11-18 17:46:17 +08:00
knoxHuang 58449afe32 update CCPageView 2016-11-18 17:34:13 +08:00
knoxHuang 87fb1fe4ea add UnifiedSize for PageView fireball/issues/4714 2016-11-17 14:36:55 +08:00
zilongshanren cff6ef31c2 improve PageView 2016-11-04 17:49:44 +08:00
zilongshanren b48b08f6d8 sync scroll direction 2016-10-24 16:31:07 +08:00
Nan Wang 032d2d2abd fix api doc reference 2016-10-20 18:36:01 +08:00
zilongshanren 21a40e37c1 add the missing API docs 2016-10-19 15:22:39 +08:00
zilongshanren 9d5ef3fa3a fix pageview event turning 2016-10-19 10:18:45 +08:00
zilongshanren bb391e08b6 fix typo 2016-10-18 16:06:58 +08:00
zilongshanren b618c77d5b improve PageView 2016-10-18 16:04:42 +08:00
knoxHuang e2ccb9982f update PageView for fireball/issues/4420 2016-10-14 18:28:38 +08:00
zilongshanren 24829bd068 change range precision to 0.01 2016-10-10 14:35:11 +08:00
zilongshanren d05aa4874c change method to property 2016-10-10 14:30:29 +08:00
zilongshanren 885f9283cc add method anotation 2016-10-10 14:07:18 +08:00
zilongshanren 04389e27dd add setAutoScrollStopEpsilon API 2016-10-10 14:02:53 +08:00
knoxHuang 9f5dc12c61 add slider component for fireball/issues/1462 2016-09-21 11:34:52 +08:00
knoxHuang bb6d966e59 update CCPageView code 2016-09-12 11:28:37 +08:00
knoxHuang 99765ac2f4 add pageview to componet for fireball/issues/1461 2016-09-12 10:37:15 +08:00