15 Commits

Author SHA1 Message Date
PP
08860d33f4 support @base/object module (#16410) 2023-10-12 11:55:48 +08:00
PP
4ca69f7b84 support @base/utils module (#16329) 2023-09-26 11:33:30 +08:00
PP
1d75c1dabc fix: eslint import order (#16322) 2023-09-25 09:42:15 +08:00
minggo
5663b38e33 Merge branch 'v3.8.2' into develop-merge-v3.8.2
Conflicts:
	cocos/3d/assets/mesh.ts
	editor/inspector/contributions/node.js
	editor/inspector/utils/prop.js
	native/cocos/3d/assets/Mesh.h
	native/cocos/engine/Engine.cpp
	native/cocos/renderer/gfx-gles3/GLES3Commands.cpp
	native/cocos/renderer/pipeline/custom/NativePipeline.cpp
	native/external-config.json
2023-08-31 14:41:18 +08:00
PP
9daf2c663c upgrade nodejs to 18.17.0 (#15899)
* upgrade nodejs to 18.17.0

fix compile-native-ts

fix type

fix eslint

fix node version on native-binding

test native ci

fix eslint

fix jest version

upgrade ts-jest

fix

reduce EXPECTED_CAPACITY

update ccbuidl

Revert "test native ci"

This reverts commit 795c8c68cf7ff7f2561db4414689ad3f6aa5c1f7.

# Conflicts:
#	scripts/native-pack-tool/package-lock.json

* detect node version

# Conflicts:
#	package.json

* use engine-strict option

* Update .nvmrc

* Update pal/input/web/accelerometer-input.ts

* fix conflict

* fix compile native ts

* download external in compile native ts

* fix
2023-08-28 15:52:24 +08:00
Leslie Leigh (李的序)
b61096c29b Fix deserialization of engine class in certain circumstance (#15638)
* Deserialization bug: fast mode

* Fix

* Update
2023-07-14 14:00:50 +08:00
minggo
1ce742fbee import js from core instead of using js.js (#13261)
js.js is deprecated
2022-11-07 18:15:06 +08:00
minggo
2e29bce9c3 Adjust serialization (#13201)
* move serialization related file into cocos/serialization
2022-11-01 17:10:12 +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
黄森斌
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
Leslie Leigh (李的序)
44dc537b87 Update snapshot (#9077) 2021-07-27 16:58:33 +08:00
cary
6bf82a91ee Delete support of onAfterDeserialize_JSB. (#9075) 2021-07-27 15:04:30 +08:00
Leslie Leigh (李的序)
ed4ba944c3 Update custom-serialize-symbol test case (#8993) 2021-07-16 15:26:23 +08:00
Leslie Leigh (李的序)
bc817790b8 Add flag to indicates if is targeting CCON (#8990)
* Add flag to indicates if is targeting CCON

* Fix

* Fix

* Add case

* Fix __id__: 0
2021-07-16 11:32:12 +08:00
Leslie Leigh (李的序)
705c977fc9 Binary serialization (#8946)
* Binary serialization

* Update snapshots

* Update

* rename option ccon -> useCCON

* Missing script

* encodeCCONJson: chunks -> chunkURLs

* Update

* (de)serializeSymbol -> (de)serializeTag;

* CustomizedSerializable -> CustomSerializable

* _deserializePrimitiveObject -> _fillPlainObject

* Unify CCClass CCClassConstructor

* encodeCCONJson -> parseCCONJson

* Custom serializable

* Move (de)serializeSuper(This) from context into global

* property -> read(write)Property; (de)serializeThis(Super) -> (read)writeThis(Super)

* CI and lint

* Mock cc env
2021-07-15 10:21:25 +08:00