Commit Graph

258 Commits

Author SHA1 Message Date
Santy-Wang f3fbfeb3b1 fix particle-system deserialization (#12220) 2022-07-29 11:54:49 +08:00
SijieWang 84ef0193c6 [Optimize] Optimizing 'GCObject' call performance (#12208)
* [Optimize] Optimizing 'GCObject' call performance

* Update cocos/core/data/garbage-collection.ts

* Update cocos/core/data/garbage-collection.ts

* Update cocos/core/data/garbage-collection.ts
2022-07-26 19:59:00 +08:00
SijieWang 0822ab1045 [Optimize] export CCClass.isCCClassOrFastDefined (#12043) 2022-07-18 10:34:45 +08:00
黄森斌 67e9aa1f33 V3.6.0 allow multiple custom scripts exist in project with one same className (#11763)
* use getClassById instead of _getClassById

* use getClassId instead of _getClassId

* public cc.js.getClassId api

* allow className already exists, new one will replace old classObject

* create component use cid

* allow className exist when registing

* custom script className allow duplicated

* revert some comments

* preserve api and deprecate _getClassById and _getClassId

* revert some comments

* revert comment

* Update cocos/core/utils/js-typed.ts

Co-authored-by: PP <chinese1236@qq.com>

Co-authored-by: PP <chinese1236@qq.com>
2022-07-05 15:19:56 +08:00
SijieWang bba02a6983 [Bug] fix assignAssetsBy bug (#11768)
* [Bug] fix assignAssetsBy bug

* review code
2022-07-04 15:25:37 +08:00
bofeng-song c5f1fff740 fix component can not be removed, it`ll cause native object can not be released (#11809) 2022-07-04 15:25:15 +08:00
Jare Guo b56376eed9 Slim CCClass: Clean some ES5 class implements (#11051)
* Slim CCClass: Remove deferred properties initializer. Simplify __ctors__ value.

* Slim CCClass: Remove unused mixins support

* update comment
2022-06-20 15:20:43 +08:00
SijieWang f1fa31bace [Optimize] Deserialization passes more parameters (#11573) 2022-06-20 15:09:16 +08:00
Santy-Wang 0a671558cc fix build-effect failed (#11537) 2022-06-16 14:58:51 +08:00
minggo ca9deefcf8 Fast define (#11391)
Use fast define to replace decorator codes.

Co-authored-by: santy-wang <wh19930829@qq.com>
2022-06-14 17:36:46 +08:00
Santy-Wang e9e89fc5c3 fix build-effect error (#11496) 2022-06-14 16:35:38 +08:00
PP 1c737b91fd optimize Constants in engine (#11464)
* publish build-engine 4.3.5

* update build-engine deps

* remove default-constants.ts

ds

remove de

* delete consts.d.ts

* support build-const workflow

* remove EXPORT_TO_GLOBAL

* update comment

* fix interface-check

* update comment
2022-06-14 16:14:34 +08:00
pandamicro 8864f2f4c7 Merge remote-tracking branch 'cocos-for-editor/v3.5.2' into merge3.5
# Conflicts:
#	cocos/core/components/renderer.ts
#	cocos/core/global-exports.ts
#	cocos/core/renderer/core/render-scene.ts
#	cocos/core/renderer/core/render-window.ts
#	cocos/core/renderer/scene/index.ts
#	cocos/core/root.ts
#	cocos/core/scene-graph/scene-globals.ts
#	package.json
2022-06-09 15:20:30 +08:00
Santy-Wang 86f4361974 fix memory issue in editor (#11355)
* fix memory issue in editor

* fix lint

* refine

* bump version

* refine
2022-06-06 10:18:34 +08:00
pandamicro ec58a77ff0 Fix more API docs in core (#11338)
* Fix more API docs in core

* Update version

* tweaks
2022-06-02 21:03:17 +08:00
minggo 7814949998 Merge branch 'v3.5.1' into v3.6.0_merge_v3.5.1 2022-05-24 11:53:57 +08:00
pandamicro dba83c270d Fix multi blank lines (#11116) 2022-05-17 11:56:06 +08:00
James Chen 7203b63a50 fixed #3d-tasks/11110: [native] Avoid two implementation of CCObject (#11060)
* fixed #3d-tasks/11110: [native] Avoid two implementation of CCObject
* Add more comments in CCObject.cpp
2022-05-16 09:49:45 +08:00
Jare Guo 92bb384dda Instantiate all FastDefined objects as value type (#11052)
* Instantiate FastDefined object as value type

* Optimize #11052

* Doc

* minor tweak

Co-authored-by: Leslie Leigh <leslieleigh@outlook.com>
2022-05-14 14:30:47 +08:00
PP 085a86be6e fix eslint for js-typed.ts (#11080)
* fix eslint for js-typed.ts

* fix ci

* fix ci
2022-05-14 13:35:06 +08:00
mmyduckx 8c76a64e8a fix tween-action related change scene crash (#11036)
* fix tween-action related change scene crash

* add isCCObject helper funciton
2022-05-12 18:25:00 +08:00
Jare Guo da64b1e944 Refine MissingScript debugger (#10916)
# Conflicts:
#	cocos/core/data/deserialize-dynamic.ts
2022-04-29 15:15:53 +08:00
Santy-Wang 23de9188ba V3.5 docs (#10898)
* adjust api docs and delete useless annotation

* delete useless annotation
2022-04-27 15:22:22 +08:00
Santy-Wang 8601de5de0 adjust api docs (#10871)
* adjust api docs

* refine

* add english doc
2022-04-26 19:14:47 +08:00
Leslie Leigh (李的序) 2ecf99ad53 Optimize animation document (#10860)
* Optimize animation document

* Update

* Update

* Update
2022-04-26 15:44:38 +08:00
minggo 84c27e7f71 Merge branch 'v3.5.0' into v3.6.0_merge_v3.5 2022-04-24 13:41:27 +08:00
Santy-Wang e82cec17ac update docs (#10796)
* update docs

* update docs more

* refine

* refine
2022-04-20 18:47:53 +08:00
PP d749bbe1c4 remove legacyPublic tag (#10702) 2022-04-08 19:41:20 +08:00
minggo a6bf766170 Merge branch 'v3.5.0' into v3.6_merge_v3.5 2022-03-29 18:26:40 +08:00
Santy-Wang ab82e1b42d remove hidden (#10414)
* remove hidden

* fix typo

* fix unit-test

* turn on auto fix
2022-03-22 15:11:16 +08:00
Leslie Leigh (李的序) e86ee1a247 @disallowAnimation should not imply visible (#10262) 2022-03-08 16:27:30 +08:00
minggo 73c303f556 Merge branch 'v3.5.0' into merge_v3.5.0 2022-03-08 14:53:00 +08:00
pandamicro 1446db89e7 Merge branch 'v3.4.2' into v3.5.0
# Conflicts:
#	cocos/2d/components/sprite.ts
#	cocos/2d/framework/ui-transform.ts
#	cocos/2d/renderer/render-uniform-buffer.ts
#	cocos/core/builtin/effects.ts
#	cocos/core/builtin/shader-sources/glsl1.ts
#	cocos/core/builtin/shader-sources/glsl3.ts
#	cocos/core/builtin/shader-sources/glsl4.ts
#	cocos/dragon-bones/ArmatureDisplay.ts
#	cocos/spine/skeleton.ts
#	editor/assets/chunks/cc-sprite-fs-gpu.chunk
#	editor/assets/chunks/cc-sprite-fs-gpu.chunk.meta
#	editor/assets/chunks/cc-sprite-vs-gpu.chunk
#	editor/assets/chunks/cc-sprite-vs-gpu.chunk.meta
#	editor/assets/default_skybox.meta
#	editor/assets/effects/builtin-sprite-gpu.effect.meta
2022-02-28 17:24:02 +08:00
Knox 47cf1a089e fix custom class missing when the instantiate error (#10128) 2022-02-18 13:53:10 +08:00
bofeng-song faf040002d fix octree's minPos can't not be read normally while deserialize (#10112)
* fix octree's minPos can't not be read normally while deserialize
2022-02-17 15:48:40 +08:00
zheng han bd4db672cb V3.6.0 scene view native (#10044)
* 1. export pipeline in native
2. remove some editor useless code

* Add Editor Camera native data synchronization

* fix crash: native model is destroyed but not removed from renderscene (#9543)

Co-authored-by: lijilin <jilin.li@cocos.com>
(cherry picked from commit 3d1ac52a26)

* refactor preview code

* fix model preview function

* fix deserialize bug

* fix JSB error

* change default value of HTML5

* fix jsb.CCObject problem

* fix ts error

* Fix eslint in misc

Co-authored-by: zhengxiangkui <476393671@qq.com>
Co-authored-by: 李吉林 <798080536@qq.com>
Co-authored-by: pandamicro <lphuabin@gmail.com>
2022-01-28 16:53:49 +08:00
santy-wang 41fe64b097 Merge branch 'v3.5.0' of https://gitlab.cocos.net/publics/engine into v3.6.0 2022-01-24 17:45:05 +08:00
minggo e80251eae6 Codes for native (#9920) 2022-01-11 17:30:18 +08:00
Leslie Leigh (李的序) d97e453b07 Fix decorator order issue in standalone mode (#9911)
* Fix decorator order issue in standalone mode

* Apply

* Update
2022-01-05 23:30:21 +08:00
PP fbde8d1e90 use lagacyPublic to marked deprecated public interface (#9859)
* use lagacy-public

* publish beta6

* remove jsDoc tag from constructor

* use legacyPublic

* publish beta 7
2021-12-28 11:48:10 +08:00
PP cc01fad918 support internal interface filter (#9797)
* support interface filter

* publish build-engine@4.2.20-beta.1

* update

* fix other type of statement

* publish @cocos/build-engine 4.2.20

* update lock

* remove `@internal` from constructor documentation

* change to internal_cc tag

* support target tag in interface-filter

* publish  4.2.21-beta.1

* remove `@private_cc` tag

* remove public internal interface

* remove public internal getter setter

* remove public declare internal property

* update

* remove `__editorExtrasTag__`

* remove public internal interface on `js`

* pulish @cocos/build-engine 4.2.21-beta.2

* change tag to `@deprecated_to_user`

* support `@deprecated_to_user`

* publish 4.2.21-beta.3

* finish change request

* change to marked_as_engine_private

* publish 4.2.21-beta.5
2021-12-22 12:55:45 +08:00
santy-wang 2355247db0 Merge branch 'v3.4.1' of github.com:cocos-creator/engine into v3.5.0 2021-12-17 11:06:22 +08:00
zheng han 85e321819e fix __prefab copy (#9792)
known eslint issue in `instantiate.ts`
2021-12-13 15:30:21 +08:00
santy-wang d3d84673d3 Merge branch 'v3.4.0' of https://gitlab.cocos.net/publics/engine into v3.5.0 2021-12-10 19:20:01 +08:00
PP ab8c58b608 optimize missing class report (#9762) 2021-12-06 19:13:20 +08:00
santy-wang 01ceef90c1 Merge branch 'v3.4.0' of github.com:cocos-creator/engine into v3.5.0 2021-12-03 00:08:06 +08:00
Jare Guo e4d503885c Add MissingScript debug code, no functional changes (#9618) 2021-11-24 15:30:56 +08:00
Yun Hsiao Wu 3669d5e00a clean up gfx module for independent compilation (#9573) 2021-10-30 22:03:17 +08:00
ChiaNing 47c6c3e5a6 fix 3.4 Node perfromance bug (#9521) 2021-10-22 11:35:48 +08:00
Leslie Leigh (李的序) 17dbf69312 Fix animation graph deserialize problem (#9481)
* Fix animation graph deserialize problem

* Build warns
2021-10-14 10:30:08 +08:00