Commit Graph

295 Commits

Author SHA1 Message Date
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
fqamic d78725eb3a Adaptation of the xr platform 3.8.1 modification (#16056)
* feat: xr sync android template for manifest

* fix: for xr platform, compatible with historical packaging tool usage

* improve: annotation optimization
2023-08-21 17:11:40 +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
江战 7401b55e09 add java_home (#15996) 2023-08-17 16:19:29 +08:00
江战 23f222730a Android Build Panel: Add resizeableActivity Option (#15713)
* resizeable activity
2023-08-16 16:58:42 +08:00
PP 904cdd8664 fix: api issues in typedoc (#15826)
* fix: typedoc wrong typeArguments

update

* fix: cull engineInternal tag

* export Screen class

* Update cocos/core/platform/index.ts

Co-authored-by: Leslie Leigh (李的序) <leslieleigh@outlook.com>

* fix typing

* fix eslint

# Conflicts:
#	cocos/core/platform/screen.ts

* fix: cull engine internal with groups culling

* Update cocos/core/platform/index.ts

Co-authored-by: Leslie Leigh (李的序) <leslieleigh@outlook.com>

* fix eslint

* Update scripts/typedoc-plugin/src/cull-engine-internal.ts

* optimize

---------

Co-authored-by: Leslie Leigh (李的序) <leslieleigh@outlook.com>
2023-08-09 11:25:38 +08:00
minggo e5802a5e9c Merge branch 'v3.8.0' into v3.8.1-merge-v3.8.0
Conflicts:
	cocos/spine/lib/spine-define.ts
	cocos/spine/skeleton-cache.ts
	cocos/spine/skeleton.ts
:	native/external-config.json
2023-07-18 11:53:54 +08:00
qiuguohua 39c57f0dbb v3.8 Support openharmony4.0 (#15708)
* Fix openharmony platform issues:
1. Fix xmlhttprequest request problems.
2. Repair the problem of not being able to display full screen.

* fix: crash on OH 4.0 (#15656)

* Openharmony adapted to the new Deveco(3.1 beta2) version

* Runtime environment using harmonyos

* Modifying configuration content

* Modify the usage syntax
Restore default values

---------

Co-authored-by: PP <chinese1236@qq.com>
2023-07-13 17:22:32 +08:00
江战 f9d7a408c1 Refactor native-pack-tool/windows run logic (#15523) 2023-06-26 09:47:50 +08:00
江战 67352fcec6 add validation for cMakeConfig values (#15432) 2023-06-14 15:45:49 +08:00
江战 b898340ee0 Android support CJK app name (#15326) 2023-06-06 15:26:52 +08:00
江战 329a8d44e3 run app with modified executableName (#15254) 2023-06-01 10:25:40 +08:00
江战 920c6f36fa fix regexp for adb devices output lines (#15253) 2023-06-01 09:46:37 +08:00
minggo 3a6e0ca2ba Merge pull request #15067 from cocos/develop
Merge develop into marionette-next
2023-05-17 14:06:57 +08:00
bofeng-song 5e023355ab fix wrong orientation set (#15064) 2023-05-16 11:54:05 +08:00
Leslie Leigh (李的序) 4304c05745 Complementarily implement pose graph (#14952)
* Implement pose graph

* Add test for query output node's input/outputs

* Fix isWellFormedInputKey()

* Tweak

* Use `Map` instead of `shellTag`

* Rename XNode -> PureValueNode

* Rename node input manager and node input options
2023-05-12 13:45:55 +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
mmyduckx 986adb6414 [Feature] workflow add clear-cache.js (#14924)
* add clear-cache.js

* delete from .gitignore file
2023-05-06 19:06:38 +08:00
江战 093e7e8d10 reduce error log for adb devices (#14946) 2023-04-28 16:43:41 +08:00
PP e08d21f9ad fix compile native ts (#159) 2023-04-24 13:46:55 +08:00
minggo a22d16bbe6 Merge branch 'v3.7.3' into merge_v3.7.3 2023-04-24 11:26:58 +08:00
江战 b8aca13a79 Fix CI (#14753) 2023-04-11 17:58:48 +08:00
江战 018f561ab8 windows: select visual studio version (#14725) 2023-04-10 10:34:13 +08:00
江战 b61606a2dd add support for executable-name (#14713) 2023-04-10 09:57:22 +08:00
江战 958f365269 check xcode (#14737) 2023-04-10 09:54:55 +08:00
江战 be944b1d96 check connected device when install (#14717) 2023-04-04 14:32:51 +08:00
媛媛 a150646578 [3.7.3] Fix build windows error when editor path contains spaces (#14710)
* Fix build windows error when editor path contains spaces
2023-04-03 17:41:26 +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
江战 23dbd53f50 add input sdk (#14641) 2023-03-24 17:57:33 +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
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
PP 28c6b0dc6c publish build-engine@4.4.1-alpha.12 (#14620) 2023-03-21 16:07:36 +08:00
PP 41b7ba154b publish build-engine 4.4.1-alpha.11 (#14611) 2023-03-20 18:14:39 +08:00
qiuguohua e68506916c Develop branch adapts to openharmony (#14582) 2023-03-20 14:18:52 +08:00
changhua a53f3c6183 fix build task state error of run ios (#14583)
* fix build task state error of run ios

* Update scripts/native-pack-tool/source/platforms/ios.ts

Co-authored-by: SijieWang <itharbors@outlook.com>

---------

Co-authored-by: SijieWang <itharbors@outlook.com>
2023-03-16 19:27:08 +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
江战 1854ae46b2 Resolve certain warning messages on Visual Studio (#14527)
* Resolve certain warning messages on Visual Studio
2023-03-10 14:17:34 +08:00
江战 27b3c2ef20 use CMAKE_SUPPRESS_REGENERATION to skip project update (#14512) 2023-03-09 10:27:24 +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
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
江战 d12e0ff568 set default build variant for android (#14196) 2023-02-10 13:35:55 +08:00
江战 0d75cf3787 support xcode launch configuration (#14185) 2023-02-09 15:22:21 +08:00
dependabot[bot] 0ccfea7fbe Bump decode-uri-component in /scripts/native-pack-tool (#13782)
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:20:36 +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
dependabot[bot] 0c8ccd4131 Bump json5 from 2.2.0 to 2.2.3 in /scripts/typedoc-plugin (#14023)
Bumps [json5](https://github.com/json5/json5) from 2.2.0 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.2.0...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:08 +08:00
dependabot[bot] 56a1a0401d Bump json5 from 2.2.1 to 2.2.3 in /scripts/native-pack-tool/xcode (#14025)
Bumps [json5](https://github.com/json5/json5) from 2.2.1 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.2.1...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:15:38 +08:00
PP 8fe0e3ede7 optimize ral workflow (#13997) 2023-01-04 13:57:27 +08:00