Commit Graph

1081 Commits

Author SHA1 Message Date
knoxHuang 1bc94e3daf refine code 2017-10-24 15:02:39 +08:00
knoxHuang 329d3c9858 add interaction with WebView internal pages for fireball/issues/6490 2017-10-24 14:36:23 +08:00
knoxHuang 9c8d7b1d21 adjust the toggleItems code and remove toggleItems api 2017-10-23 16:35:26 +08:00
yinkaile 27df2eae6a refine register animation event 2017-10-20 16:42:38 +08:00
knoxHuang a112586420 fix CCSlider api error 2017-10-18 11:01:06 +08:00
James Chen 5bed39b96a Merge branch 'v1.6' of git://github.com/cocos-creator/engine
# Conflicts:
#	jsb/jsb-etc.js
2017-10-09 10:30:28 +08:00
knoxHuang ffde44e863 update remove toggleItems tips for fireball/issues/6416 2017-09-28 18:08:57 +08:00
knoxHuang 6e4a674a45 add remove toggleItems tips for fireball/issues/6416 2017-09-28 17:26:26 +08:00
Jare Guo e1601ac00f Merge 1.6
# Conflicts:
#	cocos2d/core/CCDirector.js
#	cocos2d/core/components/CCSprite.js
2017-09-22 10:48:01 +08:00
knoxHuang 320d5d5915 fix webview event error for fireball/issues/6328 2017-09-21 16:51:43 +08:00
knoxHuang a057191a98 add handleTouchEvent to CCRichText for fireball/issues/6369 2017-09-15 14:27:09 +08:00
Jare Guo 65146cc302 can not set content size of RichText by using public function… 2017-09-14 16:13:25 +08:00
knoxHuang 4ae6edd5b2 update Layout api 2017-09-14 13:38:37 +08:00
feijing566 4f6227481c merged event auto-scroll-ended and scroll-ended 2017-09-14 11:52:28 +08:00
feijing566 ceed6d9888 add new event describe 2017-09-13 15:58:26 +08:00
feijing566 45d15b4dfc fix misstake 2017-09-13 15:46:06 +08:00
feijing566 8df33ef110 Add began and ended event to CCScrollview
sync from https://github.com/cocos2d/cocos2d-x/pull/18054
2017-09-13 15:22:41 +08:00
Jare Guo 87c749dd90 fix empty node size when attached with a camera 2017-09-11 11:58:03 +08:00
Jare Guo 1c2fd007fb remove cc.DrawNode from core module 2017-09-10 23:09:34 +08:00
Jare Guo 4220d4b142 should not emit ‘size-changed’ directly 2017-09-02 21:45:56 +08:00
Jare Guo c929b44e8b should not create component if conflict with canvas 2017-09-01 15:30:32 +08:00
2youyouo2 a6b42859fc refine code 2017-08-29 18:08:07 +08:00
2youyouo2 6bc0ff1cae should ignore animation playOnLoad if already play an animation 2017-08-29 17:58:07 +08:00
Wang Nan a41856dd41 Merge pull request #1937 from cocos-creator/v1.6
merge V1.6
2017-08-28 10:56:58 +08:00
knoxHuang af627d3bd1 add Layout and Widget warn for fireball/issues/6308 2017-08-25 13:52:21 +08:00
knoxHuang c4c2a7b569 refine api 2017-08-25 11:11:23 +08:00
knoxHuang 840c9f4b11 add _updateLayout API for CCLayout 2017-08-25 10:54:09 +08:00
Jare Guo 78b7a0d149 optimize deserialize 2017-08-24 13:00:53 +08:00
Jare Guo 3055157fb7 Sync 1.6
# Conflicts:
#	cocos2d/core/platform/js.js
2017-08-24 11:56:36 +08:00
knoxHuang 0c093a8c3f The webView event will not respond under CC_EDTIOR for fireball/issues/6299 2017-08-23 16:10:08 +08:00
Jare Guo 29d2d504d1 Merge pull request #1914 from pandamicro/v1.6
Fix JSB_EditboxDelegate crash if js delegate has already been garbage collected
2017-08-18 16:32:53 +08:00
pandamicro e940eb948a Fix JSB_EditboxDelegate crash if js delegate has already been garbage collected 2017-08-18 16:25:50 +08:00
Jare Guo c690efe26c Sync 1.6 2017-08-18 10:06:20 +08:00
knoxHuang e90ba4313f Modify the _updateNodeSize timing for fireball/issues/6263 2017-08-17 17:32:11 +08:00
Wang Nan 9c2a472ee6 Merge pull request #1908 from knoxHuang/Fix_Label
Failed to refresh the size in time for fireball/issues/6263
2017-08-17 15:10:03 +08:00
Jare Guo ceff905f17 Merge pull request #1904 from RazgrizHsu/NewFeature
Extend the RichText <img> tag's attributes to support height and width
2017-08-17 14:24:58 +08:00
knoxHuang 565c42ff7f remove redundant code 2017-08-17 14:19:57 +08:00
RazgrizHsu cdc564a536 according to the discussion
- correct wrong word of Width
- include case when image height less then lineHeight
- promote image attribute regex to global cache in file
2017-08-17 12:23:55 +08:00
knoxHuang 53cead8fdb Failed to refresh the size in time for fireball/issues/6263 2017-08-16 18:28:34 +08:00
knoxHuang 7ce5abe2a7 add setJavascriptInterfaceScheme and setOnJSCallback to webview for fireball/issues/6251 2017-08-16 17:36:22 +08:00
RazgrizHsu 6fd37c87d2 Extend the RichText <img> tag's attributes to support height and width
follow the original principle: the image line height must not exceed the RichText line height
2017-08-16 10:14:29 +08:00
knoxHuang 76b8ae027a adjustment CCLayout code fix fireball/issues/6218 2017-08-08 16:54:57 +08:00
pandamicro 3150f46f1b [missed] Use Label pool instead of new 2017-08-08 11:57:54 +08:00
Jare Guo e3212cdf68 reimplement CallbacksInvoker 2017-08-07 17:41:05 +08:00
knoxHuang 56e12b4d2e add _initSgNode to CCMask 2017-07-27 16:44:12 +08:00
knoxHuang aabdb089d5 limit the segements size of the Mask 2017-07-27 11:45:43 +08:00
Jare Guo c25563be14 Merge pull request #1843 from pandamicro/master
Remove ...args in engine
2017-07-26 18:04:46 +08:00
pandamicro 6533180e9d Remove ...args in engine 2017-07-26 18:03:58 +08:00
zilongshanren 21b4386502 fix ttf font size in web 2017-07-25 14:54:31 +08:00
zilongshanren c70c7a2989 improve ttf font creation performance 2017-07-25 14:39:53 +08:00