Commit Graph

6691 Commits

Author SHA1 Message Date
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 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
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
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
James Chen 9730ac0015 fixed #18374: 2D Node with MotionStreak and Rigidbody has wrong offset (#18375) 2025-02-26 16:58:30 +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
bofeng-song a95bf6d816 Refine: move modify logic for updateList to 'update' (#18344) 2025-02-18 15:37:56 +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
qiuguohua 24cdcbabb0 Fix JSVM's inability to output logs using console.log (#18329)
Co-authored-by: qiuguohua <guohua.qiu@cocos.com>
2025-02-14 10:45:42 +08:00
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 b7cc23d0ce Add support for rotational skew. (#18307)
Rotational Skew is also supported in Cocos2D-X.
See https://github.com/cocos2d/cocos2d-x/blob/v4/cocos/2d/CCNode.h#L638
2025-02-11 10:21:21 +08:00
James Chen e5cb7f37c4 Revert to use clang-tidy-11 (#18311)
* Revert to use clang-tidy-11
2025-02-11 09:40:40 +08:00
Cocos Robot 8ae4dcf8a3 [ci skip][AUTO]: Automated code generating update: e94e3d16a86fc666e73706bfe5cd5a8ba253d5af (#18284) (#18304)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2025-02-10 13:39:38 +08:00
qiuguohua 61e72cc487 Fix restart crash on HarmonyOS NEXT platform when using JSVM (#18300)
* Fix restart crash on HarmonyOS NEXT platform when using JSVM.

---------

Co-authored-by: qiuguohua <guohua.qiu@cocos.com>
2025-02-10 11:38:22 +08:00
hyde zhou b9bf293b29 disable probe blend (#18292)
* disable probe blend
2025-02-10 11:22:24 +08:00
hyde zhou 523d9828fe remove deferred reflection shaders (#18281)
* remove deferred reflection shaders
* fix test shader
* remove reflectionTex
2025-02-07 14:01:45 +08:00
James Chen f93780265f Sync node.ts changes from PR #18280 for native platforms. (#18285) 2025-02-07 09:38:12 +08:00
hyde zhou f94a843dc9 turn off misc-include-cleaner (#18283) 2025-02-06 17:42:29 +08:00
Cocos Robot 6d189bdd2d [ci skip][AUTO]: Automated code generating update: db2c5e06797643814f14c854333dabe3e1e8789a (#18260) (#18277)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2025-02-05 15:43:16 +08:00
Cocos Robot 06fcad697a [ci skip][AUTO]: Automated code generating update: f44fae2d154052cd63b9f9b242b695b33b799895 (#18255) (#18275)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2025-02-05 14:52:11 +08:00
minggo 4c92a439ee Oh egl crash (#18252)
* Fix HarmonyOS Next platform crash

---------

Co-authored-by: qiuguohua <qiuguohua111@126.com>
2025-01-25 11:55:19 +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
Cocos Robot 33b4c658ab [ci skip][AUTO]: Automated code generating update: adc9795971a9439415ac8d0bb5f1d4d5764c3582 (#18230) (#18244)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2025-01-23 10:49:24 +08:00
James Chen aa841bd7f7 [v3.8.6] [2D Skew comes back] Add UISkew component support. (#18212) 2025-01-22 16:38:56 +08:00
sunxunle 1524ae1db2 chore: remove redundant words (#18215)
Signed-off-by: sunxunle <sunxunle@ampere.tech>
2025-01-22 15:27:32 +08:00
bofeng-song 26beaa0a39 Fix crashes caused by compatibility issues on Android 6.0 and below. (#18201)
* Fix crashes caused by compatibility issues on Android 6.0 and below.
2025-01-16 17:22:45 +08:00
hyde zhou 037cbe8b26 engine add WebGPU support (#18196) 2025-01-16 14:19:47 +08:00
Cocos Robot ae9a255cbf [ci skip][AUTO]: Automated code generating update: 8520e56dad8ecc3f8ff50c9019055be7ebf65e3b (#18198) (#18200)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2025-01-16 10:37:08 +08:00
minggo 2d95c3218b don't link unneeded framework (#18192) 2025-01-14 18:43:12 +08:00
minggo 63c39bf45c make support iOS 11+ and macOS 14+ (#18189)
* make support iOS 11+ and macOS 14+
2025-01-14 18:31:03 +08:00
hyde zhou f5b7fc6fc1 Adding layout implementation (#18156) 2025-01-13 19:59:10 +08:00
Cocos Robot 853324b0c4 [ci skip][AUTO]: Automated code generating update: 57ce707874044070de86ea874a59d60bff6a928f (#18167) (#18175)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2025-01-13 11:13:11 +08:00
hyde zhou 84bf9c64b8 Add WebGPU BindGroupLayout data structures (#18136) 2025-01-10 11:08:36 +08:00
minggo 61090036aa make the Supported Destinations of iOS project include iPad (#18142)
* make the Supported Destinations of iOS project include iPad
2025-01-09 10:41:15 +08:00
qiuguohua 145119b322 Remove treating AMOTION_EVENT_TOOL_TYPE_STYLUS events as mouse events (#18113)
* https://github.com/cocos/cocos-engine/issues/16533, 删除AMOTION_EVENT_TOOL_TYPE_STYLUS, 属于手写笔,触控笔枚举

* Remove treating AMOTION_EVENT_TOOL_TYPE_STYLUS events as mouse events

---------

Co-authored-by: tangkai <1944876319@qq.com>
Co-authored-by: qiuguohua <guohua.qiu@cocos.com>
2025-01-03 09:30:24 +08:00
Cocos Robot 9a08ab522c [ci skip][AUTO]: Automated code generating update: 118308c909396bd022d9dd189f7b1599b5bfc32a (#18104) (#18110)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2025-01-02 14:34:23 +08:00
James Chen db1a6be9e7 fixed #17907: utils.MeshUtils.createMesh crashes on native platforms. (#18104)
* fixed #17907: utils.MeshUtils.createMesh crashes on native platforms.

* Update CreateMesh.cpp
2025-01-02 14:25:32 +08:00
hyde zhou f3ee5c87a9 Move classes from interface to implementation (#18091) 2024-12-30 17:21:29 +08:00
minggo 7251fd3efc merge v3.8.5 2024-12-23 10:34:45 +08:00
James Chen cd19bc2630 fixed #17593: [v3.8.6] 2D Particle crash on native platforms. (#18070)
* fixed #17593: [v3.8.6] 2D Particle crash on native platforms.
Batcher2D may use destroyed Material whose passes is empty, which will cause 'curdrawBatch->getPasses().at(0);' vector visit overflow.

* Trim whitespace.

* Fix
2024-12-23 09:33:18 +08:00
qiuguohua 0e4607fa9e Fix JS exception causing application crash (#18067)
Co-authored-by: qiuguohua <guohua.qiu@cocos.com>
2024-12-20 18:17:11 +08:00
qiuguohua 40e0769ec8 Fix HarmonyOS Next platform interface for calling arkts using JavaScript (#18062)
* Fix HarmonyOS Next platform interface for calling arkts using JavaScript

* Optimized interface implementation

* Improve annotations

* Improve the annotation.

---------

Co-authored-by: qiuguohua <guohua.qiu@cocos.com>
2024-12-20 14:51:25 +08:00