Commit Graph

139 Commits

Author SHA1 Message Date
James Chen 59038ba8b8 Fix rollup visualizer plugin not working in build-engine and add publish-build-engine.yml ci action. (#16495)
* Fix rollup visualizer plugin not working in build-engine.

* Update package.json & package-lock.json

* Add publish-build-engine.yml ci action.

* Update yml

* Update run-build-engine.yml

* Update run-build-engine.yml
2023-11-10 15:55:00 +08:00
PP f7cf786e83 fix: gulp-build-h5-source (#16277)
* fix: gulp-build-h5-source

* update lock
2023-09-20 09:47:19 +08:00
PP c76dc6cf74 fix linking build engine (#16141) 2023-08-31 09:47:19 +08:00
Ling Zhan e5488b7d32 V3.8.1 box2d wasm experimental (#15979)
* init

* tsconfig.json

* add box2d-wasm backend to cocos engine. not crash now in 3.8.0.

* rigid-body, collider, and joint works now.

* back

* Joint: SetLinearFrequencyAndDampingRatio

* PhysicsRayCastCallback, PhysicsAABBQueryCallback

* box2d wasm debugDraw

* asm.js

* B2PolygonShape uses B2.ConvexPartition

* box2d wasm contact disabled works now.

* add unit test for physics2d.

* b2ContactListenerWrapper::registerContactFixture

* tweak

* drawPolygon transfer array data from wasm to ts

* tweak

* contact event performance opt

* revert to polygon collider 2d to original implementation. no need for libtess any more.

* PostSolve ContactImpulse use raw pointer.

* TransformVector2; debugDraw supports transform

* enable rtti

* WASM_OBJECT_PTR_2_TS_OBJECT, WASM_OBJECT_PTR_2_WASM_OBJECT

* fix PreSolve parameter oldManifold error

* B2.TransformVector2 --> b2Mul(in ts)

* tweaks: code format.

* eslint

* eslint

* remove physics-2d-box2d-wasm from render-config.json

* comment tweaks

* [opt] debug draw performance opt

* tweaks
2023-08-18 19:30:14 +08:00
PP 4811334259 fix: wasm loading in editor native engine && fix gulp build (#15012)
* fix: wasm loading in editor native engine

* fix: gulp build workflow
2023-05-10 13:46:45 +08:00
江战 75ae459abf redirect generated binding path (#14693) 2023-03-31 11:12:41 +08:00
江战 ded785bb57 fix build-engine/decorator-parser.ts (#14661) 2023-03-27 11:18:37 +08:00
PP 4a4be6df55 publish build-engine 4.4.1-oh.3 to fix editor npm install (#14648)
* publish build-engine 4.4.1-oh.1

* publish build-engine@4.4.1-alpha.2

* publish build-engine 4.4.1-oh.3
2023-03-24 09:20:28 +08:00
江战 0e9c26c216 signature for @type has changed: (#14634) 2023-03-23 13:46:45 +08:00
qiuguohua e68506916c Develop branch adapts to openharmony (#14582) 2023-03-20 14:18:52 +08:00
santy-wang 0a81bf445e Merge branch 'develop' of github.com:cocos-creator/engine into v3.7.2 2023-03-13 16:51:47 +08:00
江战 b2bb2bf559 jsb classes apply decorator from .ts source files (#14403)
* decorator parser
* remove used variable
2023-03-07 10:34:50 +08:00
bofeng-song 882887cb9f support taobao mini game (#14324) 2023-02-22 10:34:17 +08:00
dependabot[bot] e7032e059d Bump json5 from 2.1.3 to 2.2.2 in /scripts/build-engine (#13989)
Bumps [json5](https://github.com/json5/json5) from 2.1.3 to 2.2.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v2.1.3...v2.2.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-17 10:19:24 +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
PP 52977e2162 optimize: update cc.config.json schema to support nativeOnly feature (#13393) 2022-11-18 10:36:35 +08:00
徐兵 b2b0d09e1d reflection probe planar reflection for native engine (#13281) 2022-11-14 17:37:11 +08:00
PP 6a8180dc97 optimize engine decorator (#13248)
* feat: support field decorator optimization

* publish 4.4.1-alpha.3

* update decorator signature

* update deps

* update third argument

* support culling editor decorators

* update deps

* make optimize decorators configable

* add unit test

* remove optimize-decorators.ts
2022-11-14 10:22:56 +08:00
李吉林 a9d4e13f85 Light probe merge (#13093)
* add light probe
2022-10-19 22:34:21 +08:00
fqamic 16f4992837 improve: revert xr environment constant (#13058) 2022-10-17 10:42:34 +08:00
fqamic cca8ff36e3 feat: feature cropping for xr and ar, add xr environment constant. (#13032) 2022-10-14 15:52:41 +08:00
PP b7f2feb3a6 fix buid-declaration (#13028) 2022-10-13 09:41:31 +08:00
santy-wang 91c884362d Merge branch 'v3.6.2' of github.com:cocos-creator/engine into v3.6.1-sync 2022-10-11 20:12:14 +08:00
PP 5292508372 feat: support webgpu on build-engine (#12627)
* feat: support webgpu

* build-engine-feat: support building external asset

* update

* Publish @cocos/build-engine@4.4.0-webgpu.0
2022-09-26 10:03:56 +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
Zeqiang Li f5c4dee6db Wgpu 3.6.2 WGPU_CI_ON (#12731) 2022-09-16 10:20:52 +08:00
minggo aba9fdb63f Merge branch 'v3.6.1' into merge_v3.6.1 2022-09-02 20:08:18 +08:00
Leslie Leigh (李的序) ebb775bfde Fix spine typing 3.6.x (#12402)
* Fix spine typing 3.6

* Update

* Fix

* Publish
2022-08-31 14:17:44 +08:00
mmyduckx 2ea6e9b148 Remove base node related logics (#11977) 2022-08-23 17:34:36 +08:00
Santy-Wang e6c74959b1 Merge pull request #12444 from cocos/v3.6.0
V3.6.0
2022-08-17 11:37:37 +08:00
PP ca26b205ba fix undefined mode for building separate-engine (#12365)
* fix undefined mode

* publish @cocos/build-engine@4.3.16

* optimize
2022-08-09 11:48:02 +08:00
minggo 5778aab354 Merge branch 'v3.6.0' into merge_v3.6 2022-08-08 10:49:46 +08:00
PP 84e91d36d3 fix undefined global constants (#12353)
* fix undefined global constants

* publish build-engine@4.3.15
2022-08-05 18:30:47 +08:00
minggo e0bfd1d380 Merge branch 'v3.6.0' into merge_v3.6 2022-07-26 12:01:26 +08:00
dependabot[bot] fbe7661598 Bump nanoid from 3.1.16 to 3.3.4 in /scripts/build-engine (#12060)
Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.16 to 3.3.4.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/3.1.16...3.3.4)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-22 12:56:46 +08:00
PP 810de3fe68 support number type of engine constant (#12012)
* add constant type for number

* support number type of build time constant

* publish 4.3.11

* update test

* support genCCEnvConstants && publish 4.3.12

* NET_MODE is public, SERVER_MODE is private

* update deps

* fix exportDynamicConstants

* update test

* publish 4.3.14

* update deps

* support JIT is not dynamic

* update lock
2022-07-21 23:33:44 +08:00
PP 4531e180b2 publish build-engine 4.3.10 (#11478)
* publish build-engine 4.3.9 && support native API docs

update lock

update

* publish 3.4.10: fix generating comment on top level of namespace

* fix test CI
2022-06-14 22:31:51 +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
PP 7f889a1a78 support ConstantManager (#11392)
* support ConstantManager

update

* add unit test for ConstantManager

handle Escape in unit test

* fix `gulp build-h5-source`

* publish

* update deps

update lock

* update unit test

* merge ConstantManager into StatsQuery && merge cc.config.json

update

* make dynamic ccGlobal optional

* publish 4.3.2 and update deps

* export StatsQuery

* export some interface

* update deps
2022-06-10 13:35:46 +08:00
Zhang mingzhen f7c2559944 Chunk renderdata reform v3.6 (#10329)
* reform chunk & renderdata

* add some optimizations

* update eslint

* add optimizations

Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com>
2022-03-23 11:21:33 +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
ChiaNing 8f87cbd483 useless UI_GPU code delete (#10048) 2022-01-25 19:14:41 +08:00
santy-wang 995f5b2d41 Merge branch 'v3.4.2' of https://gitlab.cocos.net/publics/engine into v3.5-merge 2022-01-24 15:56:49 +08:00
Leslie Leigh (李的序) 626f55f050 Fix spine typing (#9942)
* Fix constructor missing

* Replace ლ as _

* Update

* Update
2022-01-07 13:18:23 +08:00
SijieWang 32dec7bd16 Revert "Fix spine (#9929)" (#9940)
This reverts commit 600b1e1609.
2022-01-07 10:06:47 +08:00
Leslie Leigh (李的序) 600b1e1609 Fix spine (#9929) 2022-01-06 18:47:55 +08:00
santy-wang 7ffe1bc031 Merge branch 'v3.4.1' of https://gitlab.cocos.net/publics/engine into v3.5.0 2022-01-06 14:41:28 +08:00
Leslie Leigh (李的序) 8e906c79a8 build-engine add chunk aliases to build result(cherry-pick #9894) (#9895) 2022-01-04 14:15:17 +08:00