Commit Graph

8446 Commits

Author SHA1 Message Date
pandamicro fbed0720ec Reuse Audio object and DOM element to improve AudioEngine performance (#2899)
* Reuse dom audio element

* Reuse Audio object to improve AudioEngine performance

* Reuse cc.Audio after setting src to null

* Fix cc.Audio unbindEnded
2018-06-25 16:23:42 +08:00
King Wang 86dd4aa72a Bug Fixed:onLostFocusInEditor被错误触发的问题 (#2897) 2018-06-24 22:12:54 +08:00
黄家辉 16e140f118 modify the engine identify function about UCbrowser (#2881) 2018-06-22 19:25:24 +08:00
pandamicro 96e482bd74 Fix view canvas-resize event emit (#2893) 2018-06-22 18:51:14 +08:00
pandamicro b0aec71174 Fix parentOpacity mistake (#2888) 2018-06-22 14:37:10 +08:00
pandamicro 5b0b7953ce Migrate data from color.a to opacity (#2886)
* Migrate data from color.a to opacity

* Simplify opacity calculation in render flow
2018-06-22 14:08:07 +08:00
Jare Guo 306bb943be fix api (#2887) 2018-06-22 13:49:09 +08:00
子龙山人 a94e1f29a8 fix label rendering issue (#2880) 2018-06-21 14:52:14 +08:00
Knox 980640814f remove CCAudio redundancy code (#2884) 2018-06-21 14:51:52 +08:00
pandamicro cd4d20b355 Update engine version (#2883) 2018-06-21 13:26:00 +08:00
pandamicro 19886c92fb Fix audio engine leak in stop & ended callback (#2882)
* Improve cc.Audio.play

* Fix AudioEngine end/stop callback issue

* Improve logic
2018-06-21 13:22:29 +08:00
minggo cc14f04779 adapt editbox for mac (#2879) 2018-06-21 09:57:11 +08:00
kenshin 6c3f32669d Fix wechat game issues (#2869)
Fix wechat game upload texture with data issue
2018-06-20 15:53:21 +08:00
黄家辉 832c3f93ce fixed the game EVENT_HIDE and SHOW callback twice issue (#2878) 2018-06-20 14:06:07 +08:00
yinkaile 0d22c7c504 improve init ttf texture (#2875)
* improve init ttf texture

* fixed richtext undo/redo
2018-06-19 21:14:12 +08:00
Knox f378941da4 fix failed to trigger the audio ended event (#2873) 2018-06-19 18:48:31 +08:00
pandamicro 1f39837ac1 Remove cc.Class.isInstanceOf usage (#2877)
* Remove cc.Class.isInstanceOf usage

* Remove check jsb instanceof task
2018-06-19 17:54:48 +08:00
pandamicro 1c779c3dd8 Remove eventManager custom event usage (#2876) 2018-06-19 16:36:30 +08:00
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 2bdd981917 Full screen show all rendering mode (#2874) 2018-06-19 12:10:31 +08:00
yinkaile d8bcdb8f0f define class name (#2872) 2018-06-19 12:04:22 +08:00
pandamicro 3e4171ef63 Fix components undo issue in editor (#2871) 2018-06-19 11:29:20 +08:00
Jare Guo c09cad99b1 Merge 1.9-release 2018-06-19 11:26:16 +08:00
pandamicro 153b4f5867 Merge pull request #2867 from umbrellaPP/next
check whether has editBox module in jsb
2018-06-16 18:23:28 +08:00
pandamicro 02831bdc87 Merge pull request #2870 from pandamicro/merge
Merge master to next
2018-06-15 18:55:14 +08:00
pandamicro 28af367412 Fix var 2018-06-15 18:53:09 +08:00
pandamicro b6ad346693 Fix merge issues 2018-06-15 18:46:39 +08:00
pandamicro 03e2af76a5 Merge remote-tracking branch 'fireball/master' into merge 2018-06-15 18:37:33 +08:00
PP 01aa472a17 check whether has editBox module in jsb 2018-06-15 16:06:02 +08:00
yinkaile bcec69da50 fixed render error (#2861)
* fixed render error

* refine code

* refine code
2018-06-15 15:42:49 +08:00
pandamicro 843bf0c39d Remove jsb gfx and renderer adapter (#2864)
* Remove jsb gfx and renderer adapter

* Update render engine
2018-06-15 15:13:32 +08:00
PP 4d229b237a add _unregisterAccelerometerEvent (#2865) 2018-06-15 14:45:05 +08:00
minggo a16bde520a add reflection back, only for creator native (#2863)
* add reflection back, only for creator native

* include reflection for all native

* rename file name to have the same style
2018-06-15 11:59:12 +08:00
PP 7e1c5cd669 adapt native editBox (#2859) 2018-06-15 10:49:42 +08:00
pandamicro 2a3a75e7fb Fix unit test and circle ci (#2858)
* fix test-animation bug (#2787)

* fix unit test (#2840)

* Improve Sprite & SpriteFrame impl

* Add Sprite inset function deprecation

* Fix unit tests

* fixed the circleci failed test but still pass the commit problem (#2814)

* CircleCI test failed but build successfully problem fixed (#2816)

* Fix Skeleton require

* Another Skeleton mistyping

* Fix phantom environment issues
2018-06-14 14:32:23 +08:00
Knox fd37907239 fixed opacity bug for fireball/issues/7555 (#2847)
* fixed opacity bug for fireball/issues/7555

* refine code
2018-06-13 18:47:00 +08:00
yinkaile e95575c481 move blend factor to CCRenderComponent (#2854)
* move blend factor to CCRenderComponent

* refine code
2018-06-13 16:17:00 +08:00
pandamicro 2918403348 Fix color overwriting issue when sprite frame change (#2857)
* Fix color overwriting issue when sprite frame change

* Fix _localMatDirty type alter issue
2018-06-13 15:00:31 +08:00
yinkaile 3c70b2396f add ttfTexture for ttf label (#2856) 2018-06-13 11:33:54 +08:00
yinkaile 303f20653b add debug camera (#2853)
* add debug camera

* refine code
2018-06-13 11:30:20 +08:00
Jare Guo 67d46d8b69 remove all export method of metas (#2851) 2018-06-12 12:42:45 +08:00
yinkaile 28527bdc10 remove es6 class (#2838)
* remove es6 class

* refine code

* refine code
2018-06-11 19:04:29 +08:00
黄家辉 1632908fcc correct the api docs template (#2852) 2018-06-11 19:02:14 +08:00
yinkaile cd0178cbaa fixed dragonbones color (#2842)
* fixed dragonbones color

* refine code

* refine code
2018-06-11 18:14:24 +08:00
pandamicro 8ca0e4d973 Fix mask useless _renderDatas property (#2849) 2018-06-11 18:04:17 +08:00
yinkaile cb5b8dbc47 fixed error when active/disactive richtext node (#2846) 2018-06-11 17:53:15 +08:00
Knox b57ab464f2 add update PlaceholderText for EditBoxImpl (#2843) 2018-06-11 17:41:24 +08:00
黄家辉 49f7979efc correct the button.js note format (#2844) 2018-06-11 17:39:24 +08:00
yinkaile 480903d983 add missing function (#2848) 2018-06-11 17:35:48 +08:00
PP 16dd4028be cull Debuginfos.json in cocos2d-js-min.js && replace \r\n with \n (#2845)
* cull Debuginfos.json in cocos2d-js-min.js

* replace \r\n with \n  in Debuginfos.json


errInfo replace \r\n
2018-06-11 15:51:08 +08:00