Commit Graph

185 Commits

Author SHA1 Message Date
江战 9ce02b54aa use boost-bcp to reduce external size (#15770) 2023-07-20 10:21:41 +08:00
Leslie Leigh (李的序) f26e2c4326 Upgrade eslint, relax eslint rule explicit-function-return-type (#15723)
* Upgrade eslint, relax explicit-function-return-type

* Update .eslintrc.yaml

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

---------

Co-authored-by: PP <chinese1236@qq.com>
2023-07-14 13:42:14 +08:00
PP 509d73b27d merge branch v3.8.0-aot (#15421)
* PR1: add explicit function return type (#15311)

* PR4: add explicit function return type (#15314)

* [ci skip][AUTO]: Automated code generating update: 8843bfe54cd3f8e6f84432948716c8d130ecb233  (#15314) (#15357)

Co-authored-by: cocos-robot <cocos-robot@cocos.com>

* add function return type

* fix version checking

* fix return type

---------

Co-authored-by: Cocos Robot <48829427+cocos-robot@users.noreply.github.com>
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2023-06-13 18:08:45 +08:00
Yiwen 78c87a09d2 add new features to 3d hinge constraint (#14447)
* add new features to 3d hinge constraint
1. angular limit
2. angular drive

* add missing file

* fix native and bullet parameter error, tune parameters

* clean code

* update package and package lock

* stage

* update

* fix interface

* fix api, improve perf

* fix unit conversion

* fix unit conversion

* sync physx behavior
2023-05-18 16:36:23 +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
PP 0b353b6e14 feat: support general WASM module in engine (#14974)
* support pal/wasm module

pal/wasm

* support sys.Feature.WASM and WASM_SUPPORT_MODE

# Conflicts:
#	pal/system-info/web/system-info.ts

# Conflicts:
#	pal/system-info/web/system-info.ts

# Conflicts:
#	pal/system-info/web/system-info.ts

* optimize bullet module


* update physx module

update

* revert tsconfig

* optimize WebGPU wasm import

* fix native wasm instantiate

* support wasm in EDITOR and PREVIEW

* optimize variable name

* update comment

* optimize code

* Update cocos/misc/webassembly-support.ts

* add physx wasm (#11) by yiwenxue

* add physx wasm

* update physx wasm instantiate.

* update, rename, etc.

* download external in CI

* fix physX wasm init

* move out external wasm type

* update external-config.json

* expand node max-old-space-size

* use console.debug

---------

Co-authored-by: Yiwen <15225434259xue@gmail.com>
2023-05-08 18:02:17 +08:00
PP 55dde0c1d7 support native ts build on CI to detect native type (#14629)
* support native ts build

* ban noImplicitAny
2023-03-22 15:40:02 +08:00
pandamicro 89a7f644cf Merge branch 'v3.7.2' into develop
# Conflicts:
#	cocos/core/global-exports.ts
#	cocos/core/math/quat.ts
#	native/cocos/cocos-version.h
#	package.json
2023-02-13 18:00:41 +08:00
minggo 05dd06d337 update engine version (#14127) 2023-02-02 14:17:12 +08:00
dependabot[bot] b9393441de Bump qs from 6.10.1 to 6.11.0 (#13697)
Bumps [qs](https://github.com/ljharb/qs) from 6.10.1 to 6.11.0.
- [Release notes](https://github.com/ljharb/qs/releases)
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/qs/compare/v6.10.1...v6.11.0)

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

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:21:32 +08:00
dependabot[bot] 7020a5b1ca Bump minimatch from 3.0.4 to 3.1.2 (#13339)
Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.1.2.
- [Release notes](https://github.com/isaacs/minimatch/releases)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.1.2)

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

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:20:02 +08:00
dependabot[bot] 69ccdf8637 Bump decode-uri-component from 0.2.0 to 0.2.2 (#13716)
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)

---
updated-dependencies:
- dependency-name: decode-uri-component
  dependency-type: indirect
...

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:18:54 +08:00
dependabot[bot] 24c5165375 Bump json5 from 2.1.2 to 2.2.3 (#14011)
Bumps [json5](https://github.com/json5/json5) from 2.1.2 to 2.2.3.
- [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.2...v2.2.3)

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

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:16:52 +08:00
ChiaNing 168421df9f Remove forEach from batcher-2d.ts (#13983)
* Remove forEach from batcher-2d.ts

* version update
2023-01-03 11:04:40 +08:00
Ling Zhan d3a2d503e5 bullet trimesh caching (#13488)
* bullet trimesh caching #12949
2022-11-24 10:32:47 +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
Ling Zhan a06b1c8c55 Fix bullet raycast bug #12948 (#13452)
* fix bullet ray cast bug #12948

* package.json
2022-11-21 16:01:27 +08:00
LIUYIa 86544a2e22 Modify version number (#13410)
Co-authored-by: liuyi <liuyi@cocos.com>
2022-11-21 10:05:58 +08:00
Ling Zhan a354088b20 Fix bullet safe delete #13191 (#13421)
* fix bullet safe delete
2022-11-17 17:10:53 +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
Yiwen b0e9b0bda0 support fixed constraint (#13209)
* support fixed constraint

* fix typo

* fix typo

* add missing files, clean code

* update cocos/bullet version, remove unused file

* update package version

* update package lock

* fix issues
2022-11-14 10:15:45 +08:00
李吉林 5461e5490c fix jsb error & undo error (#13207)
* fix jsb error & undo error
2022-11-01 19:03:17 +08:00
PP b7f2feb3a6 fix buid-declaration (#13028) 2022-10-13 09:41:31 +08:00
LIUYIa 7838e618b1 Modify version number (#12726)
Co-authored-by: liuyi <liuyi@cocos.com>
2022-09-08 18:35:31 +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
ChiaNing f71ce47c10 fix native mask invert bug (#12362)
* fix native mask invert bug

* version change

* version change

* lock version change

Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com>
2022-08-09 18:38:07 +08:00
minggo e0bfd1d380 Merge branch 'v3.6.0' into merge_v3.6 2022-07-26 12:01:26 +08:00
dependabot[bot] 00fca7a77c Bump terser from 5.14.0 to 5.14.2 (#12125)
Bumps [terser](https://github.com/terser/terser) from 5.14.0 to 5.14.2.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/commits)

---
updated-dependencies:
- dependency-name: terser
  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:59:45 +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
dependabot[bot] 258be6ef75 Bump copy-props from 2.0.4 to 2.0.5 (#12061)
Bumps [copy-props](https://github.com/gulpjs/copy-props) from 2.0.4 to 2.0.5.
- [Release notes](https://github.com/gulpjs/copy-props/releases)
- [Changelog](https://github.com/gulpjs/copy-props/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gulpjs/copy-props/compare/2.0.4...2.0.5)

---
updated-dependencies:
- dependency-name: copy-props
  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-19 14:12:35 +08:00
minggo 8075408ea5 fix ci error 2022-07-18 11:16:19 +08:00
Santy-Wang 7bc135e1c7 adjust initialization process (#11143)
* adjust init process

* fix bugs

* restructure

* tweak

* delete useless code

* fix ci

* support more platform and fix some bugs

* mark internal

* tweak

* add docs

* add docs and little adjustment

* fix bugs

* adjust decorator execute order

fix mesh error

* fix bugs

* revert some change

* revert auto-generated code

* revert auto-generated code
2022-07-03 21:16:09 +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
PP 92c9d845d9 [Optimize] move deps into dev-deps (#11436) 2022-06-09 17:07:30 +08:00
PP d65e8efe8b revert package-lock.json (#11422)
* revert to original lock file

* update

* Revert "ESLint Fix"

This reverts commit 5ad729903d810ae9847073dc4fe454a58709f1bf.
2022-06-08 22:40:56 +08:00
PP c0734c9420 downgrade lock (#11419)
* downgrade lock

* fix ci

* update lock
2022-06-08 20:50:30 +08:00
PP 82c37f8445 fix npm install (#11415)
* fix getPlatformFromPath

fix

* update lock

* downgrade node version
2022-06-08 20:18:46 +08:00
PP 549108d018 support bundle-adapter workflow (#11337)
* update require

* support bundle-adapter workflow

update

* update adapter require

* add timer

* update

* update lock

update lock

* remove node version for npm test CI

* with node version 16.15

* install jsdom

* use 16.15
2022-06-08 12:47:23 +08:00
minggo 444bfe31c4 Refactor CC_NEW/CC_DELETE (#10810)
* replace CC_NEW/CC_DELETE with ccnew/delete
2022-04-21 16:39:34 +08:00
Santy-Wang 051594e7cd merge docs and licenses and delete useless code (#10745)
* merge docs and licenses

* rename

* remove unneeded license
2022-04-13 14:50:24 +08:00
Leslie Leigh (李的序) 466d4cf1f9 API documentation: category (#10435)
* Typdoc: category

* Add categories

* workflow
2022-03-22 13:57:00 +08:00
SijieWang 16ddab797d [Optimize] Merge native workflow (#10091)
Co-authored-by: Sijie <devhacker520@hotmail.com>
2022-02-14 11:00:29 +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
pandamicro cbcbd028df Merge pull request #9972 from cocos-creator/develop
Merge back develop fixes
2022-01-12 14:29:18 +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
timlyeee f5a6a64372 Jsb-event-handler for event dispatch (#9879) 2022-01-04 13:37:44 +08:00