Commit Graph

6584 Commits

Author SHA1 Message Date
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
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
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
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
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
Jare Guo 5d62448cb8 fix unit test (#2840) 2018-06-08 17:48:28 +08:00
SijieWang 9beae708db review codeUnit tests need to use Editor.require (#2837) 2018-06-08 15:32:14 +08:00
Jare Guo 36382cffd6 revert cc.inputManager for 1.10 2018-06-08 15:31:28 +08:00
Jare Guo af46b949a8 Merge 1.9
# Conflicts:
#	cocos2d/core/platform/CCInputManager.js
#	index.js
2018-06-08 15:30:00 +08:00
PP f1f2ce4868 add inputManager into _cc (#2836) 2018-06-08 15:09:24 +08:00
pandamicro 040c79fc2f Fix Mask reenable render issue (#2834)
* Improve hash calculation in Mask

* Fix Mask reenable render issue
2018-06-08 14:11:53 +08:00
PP c70f6de4b8 move inputManger into _cc namespace (#2832) 2018-06-08 13:02:43 +08:00
pandamicro 056b9e68ee Fix nearby mask being batched issue (#2833) 2018-06-08 11:54:47 +08:00
Jare Guo e018939977 load native asset from raw-assets after build (#2830)
* remove some init code about raw assets

* load native asset from raw-assets after build
2018-06-08 11:05:06 +08:00
pandamicro 8bc53f72e1 Make cascade opacity actually working (#2828) 2018-06-08 10:33:34 +08:00
PP 148680aec7 move inputManager into namespace _cc (#2825)
simplify _cc.inputManager
2018-06-08 10:32:02 +08:00
pandamicro c7ffd49dd9 Fix undo restore component issues (#2829)
* Fix undo restore component issues

* Fix undo Label restore
2018-06-08 10:17:18 +08:00