Commit Graph

163 Commits

Author SHA1 Message Date
Leslie Leigh (李的序) adfdb67bb8 Eliminate cc.* log functions invocation (#6845) 2020-06-10 14:19:11 +08:00
Yun Hsiao Wu 69db70a910 Merge remote-tracking branch 'origin/3d' into 3d 2020-06-03 16:22:00 +08:00
SijieWang a9f3969245 Merge remote-tracking branch 'cocos-for-editor/3d-v1.1.1' into 3d
# Conflicts:
#	cocos/audio/assets/clip.ts
#	cocos/core/3d/builtin/effects.ts
#	cocos/core/3d/framework/batched-skinning-model-component.ts
#	cocos/core/3d/framework/editor-camera-component.ts
#	cocos/core/3d/framework/index.ts
#	cocos/core/3d/framework/model-component.ts
#	cocos/core/animation/animation-clip.ts
#	cocos/core/animation/animation-manager.ts
#	cocos/core/animation/animation-state.ts
#	cocos/core/animation/skeletal-animation-component.ts
#	cocos/core/animation/skeletal-animation-state.ts
#	cocos/core/assets/mesh.ts
#	cocos/core/assets/simple-texture.ts
#	cocos/core/assets/sprite-frame.ts
#	cocos/core/assets/texture-base.ts
#	cocos/core/data/class-decorator.ts
#	cocos/core/data/instantiate.ts
#	cocos/core/event/event-target.ts
#	cocos/core/game.ts
#	cocos/core/load-pipeline/CCLoader.ts
#	cocos/core/load-pipeline/plist-parser.ts
#	cocos/core/load-pipeline/unpackers.ts
#	cocos/core/load-pipeline/url.ts
#	cocos/core/math/deprecated.ts
#	cocos/core/renderer/scene/model.ts
#	cocos/core/scene-graph/base-node.ts
#	cocos/core/scene-graph/scene-globals.ts
#	cocos/terrain/terrain.ts
#	predefine.ts
2020-06-03 13:25:42 +08:00
Yun Hsiao Wu 69c88434a4 Merge branch '3d-gfx' into 3d 2020-06-02 17:59:07 +08:00
pandamicro a5c238dabb API translations in core (#6726)
* Add API translation for load pipeline

* Add API translation for core/data

* Fix decorator declarations

* API translation for scene graph

* Fix ci

* Fix ci

* Improve Eventify for event emit performance

* Fix ci

* improve format
2020-05-25 15:26:02 +08:00
Leslie Leigh (李的序) 5e2adea787 Rename internal usages of global variable 'cc' into 'legacyGlobalExpo… (#6680)
* Rename internal usages of global variable 'cc' into 'legacyGlobalExports'

* Fix CI

* Rename 'legacyGlobalExports' -> 'legacyCC'
2020-05-14 15:46:45 +08:00
pandamicro e849b7f3c6 Merge remote-tracking branch 'origin/3d-v1.1' into 3d-gfx
# Conflicts:
#	cocos/core/3d/builtin/effects.ts
#	cocos/core/game.ts
#	cocos/core/gfx/webgl/webgl-commands.ts
#	cocos/core/gfx/webgl2/webgl2-commands.ts
#	cocos/core/math/mat4.ts
#	cocos/core/renderer/scene/camera.ts
#	cocos/core/splash-screen-webgl.ts
#	cocos/core/splash-screen.ts
2020-04-28 17:06:07 +08:00
ChiaNing f20e308025 Accelerometer event fix for Ios 13+ (#6585) 2020-04-21 11:32:58 +08:00
ChiaNing e1ffa75bd1 accelerometer bug fix for vivo (#6580) 2020-04-20 18:32:47 +08:00
ChiaNing 6a30d99f8e Acceleration bug fix (#6568) 2020-04-16 22:41:46 +08:00
ChiaNing 96a53470f1 acceleration export (#6567) 2020-04-16 20:03:08 +08:00
pandamicro 276a7f200a Partial API translation for core and related tweaks (#6534)
* Event api translation

* Event manager API translation

* Macro cleanup and API doc improve

* Code cleanup and API translation in core/platform,

* Use macro.ENABLE_WEBGL_ANTIALIAS for initialization

* tweak

* Improve singleton ref in view

* Fix ci

* Export sys without default
2020-04-16 11:38:24 +08:00
cary 217989fd33 Fix multi touch disable is invalid when touch event on SystemEvent. (#6551) 2020-04-15 17:41:55 +08:00
ChiaNing ec34f5970b multi touch bug fix (#6541) 2020-04-13 21:24:58 +08:00
ChiaNing 6eb83e0d88 node event bug fix (#6473) 2020-04-02 11:55:34 +08:00
ChiaNing 194c1ae08c sys.os match bug fix (#6463)
* sys.os match bug fix

* update
2020-04-01 13:17:20 +08:00
pandamicro f6fcfd3c08 Fix API regulation breaker in event module (#6430) 2020-03-27 10:34:34 +08:00
黄森斌 5aaae03612 components add @help for editor show document url (#6428) 2020-03-26 18:42:08 +08:00
pandamicro ec7bcb03aa Fix ci 2020-03-26 14:15:48 +08:00
pandamicro c47e1a1d1b Merge branch '3d' into 3d-gfx
# Conflicts:
#	cocos/core/game.ts
#	cocos/core/pipeline/batched-buffer.ts
#	cocos/core/platform/view.ts
#	gulpfile.js
2020-03-26 11:06:40 +08:00
ChiaNing 84c4bbcadd event register fix (#6418) 2020-03-25 22:27:49 +08:00
cary 2c55839cc2 Fix touch failure when node is hidden in touch start. (#6401) 2020-03-25 12:10:14 +08:00
Yun Hsiao Wu a735120294 more consistent gfx format (#6376)
* enable profiler

* more consistent gfx format
2020-03-20 11:39:47 +08:00
Leslie Leigh (李的序) e23ddb23f1 Provide .d.ts file for illustration of DebugInfos.json (#6340) 2020-03-17 16:20:42 +08:00
coulsonwang 89cab4c3bc Retina issue (#6276)
* update pixel ratio in native

* fix dpr issue

* reset camera attribute

* update reivew

* fix dpr issue

* update review

* fix

* fix

* fix text format

* fix CI compile fail

Co-authored-by: Jone <350791117@qq.com>
2020-03-17 09:51:57 +08:00
coulsonwang c2fe40dda2 fix device pixel ratio (#6320)
* fix device pixel ratio

* fix device pixel ratio
2020-03-15 20:16:15 +08:00
Leslie Leigh (李的序) 284aa38d25 Build time constants (#6256)
* consts

* Bump @cocos/build-engine version

* Fix

* Upload @cocos/build-engine

* Rm scripts/build-engine/.gitignore
2020-03-11 14:05:22 +08:00
pandamicro 3329c133b8 Native GFX engine adaptation (#6267)
* Remove profiler in jsb

* GFX JSB initialization

* Report error when root initialization failed

* Fix define inconsistance with native
2020-03-06 23:15:46 +08:00
pandamicro b44dcc1115 Merge pull request #6220 from cocos-creator/3d-v1.0.4
Merge 3d v1.0.4
2020-02-25 10:12:28 +08:00
jiaxin.lai b432674bbb auto destroy when target is node (#6215)
* add node-destroyed event

* auto destroy when target is node

* tweaks
2020-02-24 14:37:28 +08:00
SijieWang 76fc0ef9c2 Non-browser processes are currently not supported (#6193) 2020-02-19 16:49:00 +08:00
SijieWang dff521ab43 Replace Editor variable (#6189)
* Replace Editor variable

* Fixed several definition errors
2020-02-19 15:09:53 +08:00
Jone eb00108a21 fix camera size err when use rendertexture 2020-01-19 20:11:20 +08:00
JoneLau eece37c0d2 resolve navigation bar appears by full screen in iphone (#6104) 2020-01-14 20:25:55 +08:00
Yun Hsiao Wu f380dcd9d4 fix engine init event (#6094)
* fix engine init event

* draw more frames after pause
2020-01-13 19:25:29 +08:00
ChiaNing b6985161fa add cocosplay for build (#5959) 2019-12-25 11:11:13 +08:00
JoneLau 7fc9bdefc0 add file of additional properties and transparency downward (#5948)
* add file of additional properties and transparency downward

* remove unless function
2019-12-23 23:46:59 +08:00
ChiaNing 5ed3467910 Add the switch of multi-touch (#5928) 2019-12-19 19:21:07 +08:00
Leslie Leigh (李的序) 86636442cf Kill INode & IBaseNode (#5893)
* Remove INode, IBaseNode

* Fix

* Fix types error

* Update
2019-12-19 14:17:14 +08:00
ChiaNing 70f13f7cb6 api doc update (#5909) 2019-12-18 15:42:26 +08:00
Yun Hsiao Wu 10c49e68f6 [chore] misc opts (#5898)
* pipeline linter fix

* instance support

* reuse render obejcts

* fix ci

* fix model ID
2019-12-18 14:35:34 +08:00
JoneLau a7115f18d3 fix spelling mistakes and wrong format (#5888) 2019-12-12 18:39:54 +08:00
ChiaNing 001a2f61dc fix global undefined (#5852) 2019-12-06 14:18:16 +08:00
pandamicro 802d7a9b49 Merge branch '3d-v1.0.2' into 3d
# Conflicts:
#	cocos/core/components/ui-base/canvas-component.ts
#	cocos/core/components/ui-base/ui-render-component.ts
#	cocos/core/game.ts
#	cocos/core/pipeline/forward/forward-pipeline.ts
#	cocos/core/pipeline/render-flow.ts
#	cocos/core/pipeline/render-pipeline.ts
#	cocos/core/root.ts
#	cocos/core/scene-graph/base-node.ts
2019-12-03 19:23:26 +08:00
ChiaNing f3c198171e alipay adapter update (#5824)
* alipay adapter update

* platform change

* update

* useless remove
2019-12-03 15:47:23 +08:00
ChiaNing fce470c9c9 alipay adapter & oppo adapter (#5813)
* adapter

* adapters useless remove

* bug fix

* clip getplayer

* alipay adapter update

* redefin remove

* log remove

* deprecated redefine fix

* predefine update

* AliPay console adapter

* prefab update
2019-12-02 15:34:39 +08:00
JoneLau e4f0efd2cc remove uicomponent's priority to uitransform and canvas sort in event (#5762) 2019-11-26 10:02:01 +08:00
ChiaNing b7606ef2fc node event TRS remove (#5750)
* node event TRS remove

* transformBit  rename & deprecated

* notice update
2019-11-20 16:07:50 +08:00
pandamicro f85b7bf7e5 Merge branch '3d-v1.0.2' into 3d
# Conflicts:
#	cocos/core/components/ui-base/ui-render-component.ts
#	cocos/core/components/ui-base/ui-transform-component.ts
#	cocos/core/scene-graph/base-node.ts
#	cocos/terrain/terrain.ts
2019-11-19 18:28:54 +08:00
JoneLau a34a3110e5 fix compatibility issues with the ipados desktop site (#5738) 2019-11-15 11:13:49 +08:00