Commit Graph

22023 Commits

Author SHA1 Message Date
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
James Chen 2bab938c4a Optimize se::ScriptEngine::callFunction for openharmony. (#18399) 2025-03-03 15:13:12 +08:00
James Chen 00cb328bee Add CocosRuntime platform config (#18395) 2025-03-03 14:08:54 +08:00
James Chen 5196b3c107 Optimize JS -> Native Object conversion for JSVM and NAPI script engine backend. (#18393) 2025-03-03 11:51:14 +08:00
James Chen f0bd5ad6f1 Fix memory leaks for HarmonyOS Next. (#18392) 2025-03-03 11:45:15 +08:00
媛媛 71a1e39eae update render config (#18391) 2025-03-03 10:08:04 +08:00
媛媛 745c380230 update engine feature config (#18388) 2025-02-28 15:55:46 +08:00
James Chen 3657af1623 Fix SpineSkin test case crash after merging PR #18325 . (#18385) 2025-02-27 22:03:27 +08:00
qiuguohua 9fba3a7006 Cross threading problem optimization (#18384)
Co-authored-by: qiuguohua <guohua.qiu@cocos.com>
2025-02-27 22:01:11 +08:00
bofeng-song fb10e96d70 Fix issues caused by switching Spine cache modes. (#18382) 2025-02-27 18:32:48 +08:00
Cocos Robot cd28b7396b [ci skip][AUTO]: Automated code generating update: 929b42cd2a5d623cdb4fa0a6e8487ba91498afba (#18325) (#18380)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2025-02-27 11:12:17 +08:00
bofeng-song b2316fc02f Support spine version 4.2 (#18325) 2025-02-26 18:56:42 +08:00
Max cc31bcc64e move @types/jest to dependencies (#18379)
Co-authored-by: zhiming.wu <zhiming.wu@cocos.com>
2025-02-26 18:46:41 +08:00
James Chen 9730ac0015 fixed #18374: 2D Node with MotionStreak and Rigidbody has wrong offset (#18375) 2025-02-26 16:58:30 +08:00
GengineJS 13140df96f Reuse webgpu resources (#18208) 2025-02-26 15:06:24 +08:00
媛媛 454d3485fc Support envCondition & fallback in engine config (#18369) 2025-02-26 09:43:41 +08:00
even ee686d8712 Added right-click menu functionality for the layer property (#18358)
* Added right-click menu functionality for the layer property

* Judgment of repair options

* fix
2025-02-25 16:31:35 +08:00
DreamZhou 530900058d Replace boolean return value with type predicate for 'isNumber' and 'isString' functions (#18360)
Co-authored-by: zhouguangjing <qj198908@126.com>
2025-02-24 19:26:05 +08:00
tangkai b08a406d07 Support box2d JS binding which improves the performance of 2D physical system for native platforms . (#18152) 2025-02-24 19:22:06 +08:00
qiuguohua f19bdb1290 HarmonyOS Next Platform Fixes High CPU Load When Using libwebsocket (#18357)
Co-authored-by: qiuguohua <guohua.qiu@cocos.com>
2025-02-21 13:35:17 +08:00
James Chen fca7d7ba5a Fix WebSocket potential crash while exiting game or restart ScriptEngine. (#18351) 2025-02-21 09:29:19 +08:00
James Chen 34ce622d8c Remove an unneeded CI job - web-build (#18346) 2025-02-18 16:52:16 +08:00
bofeng-song a95bf6d816 Refine: move modify logic for updateList to 'update' (#18344) 2025-02-18 15:37:56 +08:00
James Chen a67a0dcd74 Fix compatibilty issues after PR #18282 (#18345) 2025-02-18 14:41:35 +08:00
James Chen 0e3b6a5aae Optimize code size for reflection-probe, particle, csm-layer, terrain. (#18339) 2025-02-18 10:18:07 +08:00
bofeng-song 41d844713e Fix spine's crash due to destroy called after animation play complete. (#18342) 2025-02-17 23:01:47 +08:00
James Chen 27f4ae172a Build universal package ( x86_64, arm64 ) for simulator. (#18338) 2025-02-17 15:27:14 +08:00
James Chen aedd88db17 Optimize code size for tween.ts (#18336) 2025-02-14 16:15:18 +08:00
James Chen f23e5991fd Refactor 2d assembler (#17659)
* Refactor 2d assembler
2025-02-14 16:10:56 +08:00
dependabot[bot] 679a0043dd Bump elliptic from 6.5.4 to 6.6.1 (#18326)
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.4 to 6.6.1.
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.4...v6.6.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-14 13:45:47 +08:00
James Chen 833b8e8b4e Fix missing marionette & procedural-animation in CI code size check (#18330)
* Fix missing marionette & procedural-animation in CI code size check

* Get all features by StatsQuery in ccbuild

* Fix top level await
2025-02-14 13:41:15 +08:00