Commit Graph

22054 Commits

Author SHA1 Message Date
GengineJS f02e9438fc Fix the issue of inconsistent attachment sizes (#18455)
* Fix the issue of inconsistent attachment sizes

* Update
2025-03-13 17:50:46 +08:00
bofeng-song 7e753818d5 Only print warning if spine assets aren't compatible with spine runtime (#18452) 2025-03-13 12:55:15 +08:00
bofeng-song 7e3eae2018 Fix rendering anomalies on the native platform caused by texture object changes due to identical UUIDs in Spine. (#18451)
(cherry picked from commit 398c1f1a14d85bc08fd253a281ba4f886e6f0a2f)
2025-03-13 12:44:15 +08:00
媛媛 63c6d65377 fix default value for loadPluginInEditor (#18446) 2025-03-12 10:46:52 +08:00
James Chen 15f7112f62 Fix box2d jsb windows link errors (#18442) 2025-03-11 18:45:39 +08:00
James Chen 48308cdbef Fix touch listeners are not unsubscribed in MouseJoint. (#18438)
* MouseJoint Touch Issue

This code ensures that all touch event listeners (TOUCH_START, TOUCH_MOVE, TOUCH_END, and TOUCH_CANCEL) attached to the Canvas node are properly removed when the MouseJoint component is destroyed.

Purpose:
Prevents touch event listeners from remaining in memory after the MouseJoint is destroyed.
Avoids unexpected behavior caused by lingering event handlers that could still trigger interactions.
Improves memory management and performance by ensuring proper cleanup of event listeners.

* Override destroy an remove touch listner from joint

* Fix touch listeners are not unsubscribed in MouseJoint.

* Unsubscribe touch listeners in onDestroy

* Subscribe touch listeners in onEnable/onDisable.

* Optimize code size.

* Remove empty onDestroy.

* Should empty implement MouseJoint.

---------

Co-authored-by: gt3mb <68908903+gt3mb@users.noreply.github.com>
2025-03-11 18:44:36 +08:00
James Chen 032f61784b Merge pull request #18367 from smallmain/fix-camera-comment
Fix Camera component error comments
2025-03-11 17:29:10 +08:00
James Chen 1e70f468f7 Merge pull request #18434 from knoxHuang/fix-bug-2
Fixed an issue where the SpriteFrame editor was stuck
2025-03-11 12:30:29 +08:00
James Chen 63b29d5498 Merge pull request #18437 from dumganhar/386-ci-check-spine-uptodate
Optimize CI: check whether spine wasm/asm is up-to-date in external.
2025-03-11 12:12:56 +08:00
James Chen c9d9ffa23e Revert "Test"
This reverts commit 9c58158736.
2025-03-11 11:52:00 +08:00
James Chen 9c58158736 Test 2025-03-11 11:27:58 +08:00
James Chen 4a8a4582c5 Merge pull request #18425 from bofeng-song/v3.8.6
Support check compatible for spine's asset
2025-03-11 11:12:01 +08:00
James Chen 5aa5faeacd Fix output 2025-03-11 11:09:33 +08:00
James Chen 1374c7520a Update yml 2025-03-11 10:47:56 +08:00
bofeng 361a98ba0d refine 2025-03-11 10:37:57 +08:00
James Chen 3ce6a6603d Optimize CI: check whether spine wasm/asm is up-to-date in external. 2025-03-11 10:26:36 +08:00
even 24a2c2daa6 fix spine preview (#18415) 2025-03-11 00:03:18 +08:00
James Chen df14403ac5 Update external-config to v3.8.6-11 (#18435) 2025-03-10 23:56:34 +08:00
James Chen c863224408 Fix a mangling issue for AudioInfo<T> interface in audio-manager.ts (#18433) 2025-03-10 23:27:10 +08:00
Knox 990c2a1a3a refine code 2025-03-10 18:02:11 +08:00
Knox 292cc39ada refine code 2025-03-10 17:57:21 +08:00
Knox 7e20152a6a adjust the settings of the sprite frame, query automatic atlas and the code for the atlas 2025-03-10 17:30:01 +08:00
bofeng acca6377c9 refine 2025-03-10 17:23:59 +08:00
qiuguohua 1527988573 Task callbacks run on non-main threads (#18432)
Co-authored-by: qiuguohua <guohua.qiu@cocos.com>
2025-03-10 15:19:44 +08:00
dependabot[bot] d1bd3d519a Bump axios from 0.21.2 to 1.8.2 in /native/tools/gles-wrangler-generator (#18430)
Bumps [axios](https://github.com/axios/axios) from 0.21.2 to 1.8.2.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.21.2...v1.8.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-10 10:21:40 +08:00
James Chen 15a487cedc Fix memory leak for spine::Vector::setSize (#18431) 2025-03-10 09:47:06 +08:00
qiuguohua f80ca2cceb Implementation of google play auto login, achievements, PGS Recall API (#18416) 2025-03-09 23:34:12 +08:00
James Chen 9d51fe2c54 Fix PhysX wasm memory leak and update PhysX to 4.1.2.29882248 to memory overflow issues. (#18420) 2025-03-09 19:33:24 +08:00
dependabot[bot] ef19cb55e4 Bump axios from 1.4.0 to 1.8.2 (#18428)
Bumps [axios](https://github.com/axios/axios) from 1.4.0 to 1.8.2.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.4.0...v1.8.2)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-08 22:44:06 +08:00
lanbinqiang 5d5ec6084d modify the runtime base build adapter process (#18426)
Co-authored-by: lbq <563294062@qq.com>
2025-03-07 17:26:51 +08:00
bofeng 7533b6091d Support check compatible for spine's asset 2025-03-07 16:20:43 +08:00
bofeng-song 80f05517d8 Print a error info to console while parse unsupported spine version (#18414) 2025-03-07 16:05:32 +08:00
bofeng-song 7c068a7195 Fix build error while spine is not enabled. (#18418) 2025-03-07 11:39:46 +08:00
Knox d86c34a47a Fix prefab add script, scene won't generate dirty markers (#18413) 2025-03-06 13:43:24 +08:00
bofeng-song 1691624aa5 Fix different texture object still use the same cached SkeletonData (#18410) 2025-03-06 13:42:22 +08:00
James Chen 9052956a80 Revert "Align the Android template project with the official default template…" (#18412)
This reverts commit dfbbf46201.
2025-03-06 09:24:11 +08:00
James Chen a0597b24a4 Update deployment target version of iOS LaunchScreen.storybard to 8.0 (#18409)
Ref: https://github.com/cocos/engine-native/pull/4347
2025-03-05 16:39:27 +08:00
GengineJS 72a8216d40 If float filtering is not supported, then it falls back to using unfilterable settings. (#18411) 2025-03-05 16:33:23 +08:00
wdzhangchukong dcdf54d6f3 Support WebAssembly and WebGPU in runtime base platform (#18389) 2025-03-05 13:39:48 +08:00
bofeng-song 5f036d8a89 Fix spine's remote texture can not show normally (#18402) 2025-03-05 13:39:20 +08:00
James Chen 70ecb139ea Update spine 4.2 runtime to 268d0e8 (#18400) 2025-03-05 11:16:41 +08:00
James Chen 69533159fa Optimize std::vector allocation in js_register_spine_initSkeletonData. (#18408) 2025-03-04 18:37:14 +08:00
James Chen a437ada01c Fix EditBox crash on macOS platform because of invalid v8::HandleScope. (#18407) 2025-03-04 18:28:01 +08:00
James Chen deacae967a Refactor cc::ArrayBuffer, move most implementation code to cpp file. (#18406) 2025-03-04 18:27:28 +08:00
James Chen 9aad4d4984 Fix some memory leaks of JSVM backend for HarmonyOS next platforms (#18404)
* Fix a memory leak of JSVM_Ref for se::Class::_constructor.

* Fix memory leaks of se::Object instances associated with Spine objects.

* JSVM code cache is not supported now, doesn't need to create code cache since it's not consumed.

* Fix a JSVM check in Engine.cpp
2025-03-04 17:25:09 +08:00
James Chen 10923d7b95 Fix windows CI errors (#18405) 2025-03-04 16:00:57 +08:00
bofeng-song a2a604999a Resolve the problem of the spineMesh test case's Effect not rendering properly on native platform (#18397) 2025-03-03 16:44:45 +08:00
James Chen 0876168e37 Support JSVM API on non-openharmony platforms which will make debugging JSVM API easier. (#18398)
* Support JSVM API on non-openharmony platforms which will make debugging JSVM API easier.

JSVM v8 backend source code is copied from https://gitee.com/openharmony/third_party_node/tree/OpenHarmony-v5.0.2-Release

* CI test JSVM v8 backend.
2025-03-03 16:29:26 +08:00
James Chen 8e7e4e07d9 Remove unused code in jsvm/Object.cpp, napi/Object.cpp (#18394) 2025-03-03 15:14:40 +08:00
James Chen 7aabfbc011 Simplify se::Object::createJSONObject for OH JSVM backend. (#18396) 2025-03-03 15:13:56 +08:00