Commit Graph

326 Commits

Author SHA1 Message Date
qiuguohua a20bb447a0 Fix cross threading issue when calling callStatic Method (#18316)
* Fix cross threading issue when calling callStatic Method

* Rename AsyncCallParam to CallParam

---------

Co-authored-by: qiuguohua <guohua.qiu@cocos.com>
2025-02-11 16:46:31 +08:00
James Chen aca53d2817 Fix deprecated String.substr, use String.substring instead. (#18272) 2025-02-05 13:47:05 +08:00
qiuguohua fd7270c886 Synchronize HarmonyOS Next platform from cocos creator 2.4.14 (#18247)
* Synchronize the HarmonyOS Next platform update for 2.4.14
2025-01-24 13:48:35 +08:00
minggo 7251fd3efc merge v3.8.5 2024-12-23 10:34:45 +08:00
qiuguohua eb949c6022 Fix google play platform build appBundle failure issue (#18063)
Co-authored-by: qiuguohua <guohua.qiu@cocos.com>
2024-12-20 10:37:43 +08:00
qiuguohua 2e4a9d57e0 Fix the incorrect orientation of the gravity sensor and JSVM crash issue in HarmonyOS Next (#18041)
* 1.Fix the problem of incorrect rotation direction of openharmony screen
2.Remove redundant files

# Conflicts:
#	templates/harmonyos-next/entry/src/main/ets/cocos/jsb-adapter/sys-ability-polyfill.js

* Fix the issue of JSVM running crash

---------

Co-authored-by: qiuguohua <guohua.qiu@cocos.com>
2024-12-17 10:43:39 +08:00
Max 970e91c0e1 fix runtime web adapter fetch error (#18020)
Co-authored-by: zhiming.wu <zhiming.wu@cocos.com>
2024-12-11 10:18:15 +08:00
qiuguohua deba073213 Integrate the Google Play Billing Library into engine (#17918) 2024-11-29 11:18:48 +08:00
qiuguohua 7611668235 Change openharmony to harmonyos-next (#17988)
Co-authored-by: qiuguohua <guohua.qiu@cocos.com>
2024-11-29 09:15:33 +08:00
James Chen f4ccf3a8bb [v3.8.5] Support inline enum and mangle private variables to reduce engine size. (#17703) 2024-10-15 10:17:16 +08:00
hyde zhou e9da7e2309 add legacy pipeline (#17250) 2024-07-01 13:57:21 +08:00
媛媛 b634293aa8 Fix Huawei agc platform not updating configurations when creating new build tasks for secondary builds. (#17054) 2024-05-29 17:27:34 +08:00
James Chen 3520efd7b9 Remove typedoc-plugin (#17053) 2024-05-28 17:59:15 +08:00
James Chen 163d0e1d99 [v3.8.5] [Bug] Fix some definition errors, cherry-pick from #16471 (#17008)
* [Bug] Fix some definition errors

# Conflicts:
#	cocos/spine/lib/spine-core.d.ts
#	package.json

---------

Co-authored-by: Sijie <devhacker520@hotmail.com>
Co-authored-by: SijieWang <itharbors@outlook.com>
2024-05-20 14:05:26 +08:00
James Chen c32c66c511 Remove "@cocos/build-engine" module, its functionality was moved to "@cocos/ccbuild". (#16755)
* Remove "@cocos/build-engine" module, its functionality was moved to "@cocos/ccbuild".

* Remove scripts/build-engine directory.

* Update package.json

* Remove unused run-build-engine.yml file
2024-02-23 14:31:26 +08:00
James Chen 4db86876dd Update ccbuild to 2.2.3 and some minor fixes (#16698)
* Update ccbuild to 2.2.3 and some minor fixes

* Update package-lock.json
2024-01-23 16:19:34 +08:00
媛媛 1bdd90b5d3 fix compressZip in invaild in native platform (#16596) 2023-12-13 09:31:06 +08:00
qiuguohua 52568c04fb Using the build directory as a condition for determining if it's the first build or not (#16558)
Co-authored-by: qiuguohua <guohua.qiu@cocos.com>
2023-12-05 11:27:21 +08:00
SijieWang 409b540b80 [Bug] Fix the error that occurs when executing clear on an empty warehouse (#16507)
Fix the error that occurs when executing clear on an empty warehouse
2023-11-14 16:31:43 +08:00
SijieWang c41807c4f6 [Optimize] Simplify workflow (#16503)
* [Optimize] Simplify workflow
2023-11-13 09:31:40 +08:00
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
SijieWang 88c3fdf082 Optimize workflow - typedoc and filename (#16455) 2023-10-31 15:41:36 +08:00
媛媛 ce246ce36a Fix build windows error when editor path contains spaces (#16424) 2023-10-18 16:16:48 +08:00
minggo 36a2933f6c Merge branch 'v3.8.1' into v3.8.2-merge-v3.8.1
Conflicts:
	.github/workflows/native-compile-platforms.yml
	cocos/physics/framework/deprecated.ts
	cocos/rendering/custom/executor.ts
	native/cocos/renderer/pipeline/custom/FrameGraphDispatcher.cpp
2023-10-09 14:15:51 +08:00
qiuguohua d75fb4e1b5 OpenHarmony platform modification configuration update rules (#16320)
* 1.Rules for modifying configuration changes
2.Update app name

* Modify variable name
2023-09-25 09:59:59 +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
minggo 554598643a Merge branch 'v3.8.1' into v3.8.2-merge-v3.8.1 2023-09-08 14:34:24 +08:00
SijieWang 51dc67e1c0 Fix an issue where node_modules was not removed when clearing the cache. (#16193) 2023-09-06 11:07:41 +08:00
bofeng-song cdca5b07b8 Fix orientation does not work normaly on huawei-agc platform (#16180) 2023-09-04 16:56:58 +08:00
PP c76dc6cf74 fix linking build engine (#16141) 2023-08-31 09:47:19 +08:00
江战 32a12e12a7 report error when check xcode failed (#16126) 2023-08-29 17:37:16 +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
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