Commit Graph

97 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 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
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
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
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
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
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
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
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
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
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
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
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 1209881440 fix bullet fallback (#9732)
* fix bullet fallback

* add comment

* bump build-engine version

* lint

* update package-lock.json

* bump bullet version
2021-11-26 00:57:57 +08:00
Leslie Leigh (李的序) 3b4892ef41 Fix typing on Node.getComponent(3) (#9634) 2021-11-05 18:39:21 +08:00
Leslie Leigh (李的序) 309af621ec Fix typing on Node.getComponent(2) (#9632)
* Fix typing on Node.getComponent() (#9622)

* Fix typing on Node.getComponent()

* Update

* Fix typing on Node.getComponent
2021-11-05 14:03:31 +08:00
Leslie Leigh (李的序) 41f81a5ca9 Revert "Fix typing on Node.getComponent() (#9622)" (#9627)
This reverts commit 34ace04e9f.
2021-11-04 23:06:44 +08:00
Leslie Leigh (李的序) 34ace04e9f Fix typing on Node.getComponent() (#9622)
* Fix typing on Node.getComponent()

* Update
2021-11-04 18:04:57 +08:00
Leslie Leigh (李的序) f34ffcbfbc Support module overrides without compiliation in dev mode (#9480)
* Support module overrides without compiliation in dev mode

* Update render-config.json
2021-10-14 10:30:08 +08:00
PP 62f300f1e2 fix npm run build for UI_GPU_DRIVEN (#9452)
* fix npm run build

* publish build-engine 4.2.12

* update package-lock

* update

update
2021-10-09 13:40:56 +08:00
jiaxin.lai 5c6567f59e bullet physics optimization (#9311)
* stash

* stash

* stash

* use @cocos/bullet

* rename

* stash

* update constraint

* naming

* naming

* naming

* naming

* fix

* use compound by default

* stash

* fix

* rename and raycast

* refactor

* add state optimazation

* tweaks

* tweaks

* stash

* rename

* wechat wasm file path

* using promise

* remove @cocos/ammo

* i18n bullet(ammo.js) -> bullet

* tweaks

* update @cocos/build-engine to 4.2.11

* fix sync

* fix autosleep mechanism

* fix stability test

* fix destroy bullet world

* tweaks

* update @cocos/bullet to 1.0.0

* fix

* delete
2021-09-10 16:35:56 +08:00
Leslie Leigh (李的序) 9ce03e2986 Optimize editor exports (#8943)
* Optimize editor exports

* Update doc
2021-07-07 17:11:52 +08:00
Leslie Leigh (李的序) 1c2f519124 Resolves that build with @cocos/physx causes memory crash (#8712) 2021-05-26 17:24:21 +08:00
Leslie Leigh (李的序) 77d7befac1 Suppress rollup warning about non-exported isWasm & wasmBinaryURL (#8647) 2021-05-21 10:32:29 +08:00
Leslie Leigh (李的序) 35d9239486 Suppress rollup warnings about "THIS_IS_UNDEFINED" (#8567) 2021-04-27 15:26:55 +08:00
PP f570320c31 update build-engine to v4.2.6 (#8493) 2021-04-20 12:37:33 +08:00
Leslie Leigh (李的序) d65386b2a4 Bump @cocos/build-engine@4.2.5; Optimize memory consumption (#8458) 2021-04-16 15:16:06 +08:00
Leslie Leigh (李的序) 60dd3024c0 Optimize rollup plugin babel (#8436) 2021-04-12 15:35:38 +08:00