Commit Graph

319 Commits

Author SHA1 Message Date
SijieWang 820128d09a Merge pull request #15175 from cocos/marionette-next
Pose Graph
2023-05-25 11:45:53 +08:00
Leslie Leigh (李的序) f1472e4453 renameObjectProperty() shall not copy non-enumerable symbol properties (#14194) 2023-05-25 10:43:50 +08:00
Santy-Wang cb852e6dbc Merge pull request #14927 from cocos/develop
Sync develop into marionette-next
2023-04-26 15:48:15 +08:00
minggo a22d16bbe6 Merge branch 'v3.7.3' into merge_v3.7.3 2023-04-24 11:26:58 +08:00
Leslie Leigh (李的序) 8e7255a9ee Introduce pose graph, pose node and pose state (#14779)
* Introduce pose graph, pose node and pose state

* Optimize for-of

* Rename

* Doc

* Rename pose allocator -> pose stack allocator
2023-04-17 17:38:43 +08:00
mmyduckx 361ada4fa3 add setTimeRAF and replace setTimeout in pacer (#14704)
* add setTimeRAF and replace setTimeout in pacer
2023-04-10 10:08:45 +08:00
PP e01ac3ee05 add tracking issue for TODO item (#14638)
* issue 14637

* issue 14640: animation module

* issue 14642: serialize deserialize hack

* issue 7519: pal/image

* issue 14643: dynamic inject

* mark as NOTE

* issue 14644: native only

* issue 7512: pal/fs
2023-03-23 16:42:46 +08:00
PP 3cb698c8aa add more jsb interface info && fix some types (#14628)
* add jsb interface info

* mark TODO

workaround

* fix type

* remove some new ts-expect-error

* fix type in strict mode
2023-03-22 15:22:09 +08:00
PP fa51b804b5 remove and ban @ts-expect-error (#14572)
* remove ts-expect-error usage in engine

* deprecate Scheduler interface

* remove JavaScriptCore

* set some engineInternal public property as getter setter

* fix build-declaration

* fix releaseManager export name conflict

* update scriptEngineType

* fix and update some comment

* remove  w_mat, w_pos, w_rot, w_scale

* update renderer

* fix setRootBufferDirty not binding on native

* optimize floatToHashString

* mark NOTE
2023-03-20 13:48:26 +08:00
Leslie Leigh (李的序) 646b88b509 Add internal utility function createInstanceofProxy() (#14352)
* Add internal utility function createInstanceofProxy()
2023-03-02 16:26:07 +08:00
Leslie Leigh (李的序) c89d79b4ba Fix type error of renameObjectProperty() (#14188) 2023-02-09 16:47:32 +08:00
Leslie Leigh (李的序) 9ca6ff4915 Add internal utility function renameObjectProperty() (#14142)
* Add internal utility function renameObjectProperty()
2023-02-09 15:15:29 +08:00
minggo 313c58fe33 Improve utils api doc (#13922) 2022-12-28 15:04:56 +08:00
pandamicro afd22296b4 MIT license update and to new year 2023 (#13927)
* Cpp MIT license update and to date
* TS MIT license update and to date
2022-12-28 11:25:12 +08:00
minggo 8d8c283b59 Merge branch 'v3.6.3' into merge-v3.6.3 2022-11-28 13:37:25 +08:00
ycg 071ee7edb7 Merge branch 'v3.6.1-taobao' into v3.6.3 2022-11-23 14:10:14 +08:00
PP d78f7173dd fix: engineInternal symbol lost (#13392)
* optimize: js.js deprecate info

* fix: engineInternal type culling for DeserializationContext

* fix: jsbUtils exporting

* update build-engine deps

* build-engine use privateJsDocTag

* publish build-engine 4.4.1-alpha.7

* update deps

* publish and update deps for build-engien 4.4.1-alpha.8

* remove engineInternal for LODModelsCachedUtils

* mark EditorExtendable as engineInternal

* mark serializable as engineInternal

* publish build-engine alpha.9 && update deps

* Revert "fix: jsbUtils exporting"

This reverts commit 297a32c155d6ad30ca21c6af76bf7fc16c87364f.

* publish & update deps
2022-11-22 16:56:18 +08:00
minggo 6cda11d9c9 fix some core module (#13314)
* fix some core module
- move all engine internal exports to core/internal-index.ts except geometry, as geometry should be exported as a whole module
- exports algorithm in algorithm/index.ts
2022-11-11 11:34:13 +08:00
minggo 7294de16f6 Adjust core import (#13230)
* fix import style of core module
* fix decorator usage
2022-11-07 15:01:31 +08:00
minggo 2e29bce9c3 Adjust serialization (#13201)
* move serialization related file into cocos/serialization
2022-11-01 17:10:12 +08:00
minggo ef1635d267 move prefab related classes into scene-graph (#13156) 2022-10-27 11:30:34 +08:00
minggo a354281d7e Fix core import issue (#13148)
* import binarySearchEpsilon from core module

* remove unused files

* import easing from core module

* use array instead

* do not export MutableForwardIterator

* do not export binarySearchBy

* print deprecated information in runtime
2022-10-26 15:19:26 +08:00
minggo b65379fae2 move prefabl-link.ts to cocos/misc (#12937) 2022-09-29 14:05:04 +08:00
minggo 0d7c5c8f56 move cocos/core/scene-graph to cocos/scene-graph (#12868)
* move `cocos/core/scene-graph` to `cocos/scene-graph`
* move some files in `cocos/core/components` to `cocos/scene-graph`:
  - component.ts
  - component-event-handler.ts
  - component-event-handler-schema.ts
* move some files in `cocos/core/components` to `cocos/misc`: 
  - missing-script.ts
  - model-renderer.ts
  - renderer.ts
  - camera-component.ts
* move  `cocos/core/components/system.ts` to ``cocos/core/system.ts``
2022-09-26 11:02:22 +08:00
PP 8a1b31e0ba support Taobao platform (#12819)
* add taobao adapter

* add TAOBAO platform

* add templates

update templates

* fix: readJsonSync can't work on Taobao platform

add TODO

* fix: update import-map

* fix: ban splash screen on Taobao platform

* fix: adapt image loading

* fix: MINIGAME on Taobao platform

* update constant manager

* optimize: skip splash screen on Taobao

* fix: @ separator on Taobao platform

* Revert "fix: @ separator on Taobao platform"

This reverts commit 18903291807ef3263c27a90ad67753da7e531142.

* fix: @

* fix: undefined canvas.addEventListener

* fix: minigame.isDevTool

* fix: createCanvas on canvasOnReady hook

* optimize: event register

* optimize: onCanvasCreated name
2022-09-21 14:50:03 +08:00
zhangxin cc43af0a22 Enhance type hints (#12787)
* Enhance type hints

* Update js-typed.ts

* Update js-typed.ts

* Update js-typed.ts
2022-09-16 19:35:38 +08:00
minggo 70ef983a41 move some files into cocos/core/algorithm (#12723)
move cocos/core/easing, cocos/core/utils/aotob and cocos/core/utils/murmurhash2_gc to cocos/core/algorithm
2022-09-08 17:05:50 +08:00
minggo 2f10f48c15 adjust some folders (#12712)
move cocos/core/asset-manager to cocos/asset/asset-manager
move cocos/core/assets to cocos/asset/assets
merge cocos/core/builtin to cocos/asset/asset-manager
2022-09-07 18:45:54 +08:00
minggo aba9fdb63f Merge branch 'v3.6.1' into merge_v3.6.1 2022-09-02 20:08:18 +08:00
Zhang mingzhen 2879bb044b add deprecated tag of "Renderable2D" (#12606)
* add deprecated tag

* move it to 2d

* supplement other 2d deprecated tags

* fix CI

* add policy description

Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com>
2022-09-01 10:17:11 +08:00
mmyduckx 2ea6e9b148 Remove base node related logics (#11977) 2022-08-23 17:34:36 +08:00
timlyeee 999e640484 add callbacksInvoker missing api (#12131) 2022-07-22 13:31:21 +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
pandamicro 130a770cbd Cleanup imports (#11811) 2022-07-01 22:21:15 +08:00
PP 151eeb3dce deprecate exported x-deprecated interface (#11802)
* deprecate exported x-deprecated interface

* update

* update docs
2022-07-01 21:54:15 +08:00
PP 7f41b05cfe support top level deprecate check (#11630)
* support __checkObsolete__

update

update deprecate info

update

fix ci

fix ci

update

* rename interface

* cache namespace proxy

* move deprecate info to version deprecated

* consider undefined Proxy
2022-07-01 11:55:05 +08:00
王凯鹏 41c22d040a fix mounted prefab instance expanded twice (#11289)
* fix mouted prefab instance expanded twice

* fix properties override problem with correct prefab expand order
2022-06-20 10:07:37 +08:00
王凯鹏 1ba01029b3 fix nested prefab children id problem (#11452) 2022-06-10 17:51:03 +08:00
minggo f07d3f3bda Merge branch 'v3.5.1-ds' into v3.6.0_merge_v3.5.1-ds 2022-06-07 15:02:34 +08:00
minggo 77701a2d84 Merge branch 'v3.5.1' into v3.6.0-merge-v3.5.1 2022-05-27 15:23:33 +08:00
Santy-Wang f17ab5d950 cherry-pick ds branch (#11219)
* uniquify uuid of comp and node in prefab

* support component add/remove event

* use option to control id serialization
2022-05-25 18:43:25 +08:00
SijieWang bd8d118d29 [Bug] Prefab generates incorrect data(Repeated node) (#11211)
Co-authored-by: Sijie <devhacker520@hotmail.com>
2022-05-24 22:43:00 +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 8ef4d3c4a9 Fix API docs for 3d module and part of core module (#11126)
* Refactor morph and morph-rendering module

* Fix API docs for 3d module

* Fix some API docs for core module

* Tweaks and fixes of links
2022-05-19 14:19:05 +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
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
James Chen 0200e65aae [JSB] Check whether node._children && node._children.length are valid in updateChildrenForDeserialize (#11012)
* [JSB] Check whether node._children && node._children.length are valid in updateChildrenForDeserialize

* [JSB] Optimize nodeProto._onBatchCreated, reduce the count of visiting properties.
2022-05-10 10:58:18 +08:00
timlyeee b2a660c463 update comment (#10961) 2022-05-06 17:43:14 +08:00
Leslie Leigh (李的序) 5fd18f942b Fix missed links (#10938) 2022-05-06 10:10:36 +08:00