Commit Graph

22005 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 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
James Chen 8b7e7a6ea1 Treeshake xr module import. (#18328)
* Treeshake xr module import.

* Treeshake more XR relevant code.

* Update cc.config.json
2025-02-14 11:34:02 +08:00
dream93 dfbbf46201 Align the Android template project with the official default template. (#18151) 2025-02-14 10:47:12 +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
James Chen e781b326ce Fix ReferenceError: xr is not defined while xr feature is enabled. (#18327)
Re: https://github.com/cocos/cocos-engine/pull/18321
2025-02-13 19:28:05 +08:00
James Chen fd163eeff4 Refactor CI package size check (#18323) 2025-02-13 18:41:58 +08:00
Vida Xie 4c693d2921 refactor(components): enhance component accessor type safety with generics (#18282) 2025-02-13 13:34:27 +08:00
James Chen 5a27f113b9 Optimize code size for render-data.ts (#18259)
* Optimize code size for render-data.ts
2025-02-13 10:31:52 +08:00
James Chen 8791443f3d Optimize code size: strip XR relevant code by USE_XR constants (#18321)
* Optimize code size: strip XR relevant code by USE_XR constants

* Update SplashScreen

* Package size doesn't need to check xr module
2025-02-13 10:30:35 +08:00
James Chen 025700d380 Treeshake weak-cache.ts (#18322) 2025-02-13 09:54:41 +08:00
James Chen 905eb374dd Update ccbuild to 2.3.13 which supports to override constant values in feature definition. (#18319)
* Update ccbuild to 2.3.12 which supports to override constant values in feature definition.

* Update ccbuild to 2.3.13
2025-02-12 14:07:12 +08:00
James Chen a02ff06c19 UIRenderer.updateMaterial should not be marked as (#18320) 2025-02-12 10:46:05 +08:00
lanbinqiang f5697c4c27 Added Honor channel identifiers (#18314)
Co-authored-by: lbq <563294062@qq.com>
2025-02-11 17:00:16 +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
Knox 398e5418d1 Fixed the issue of engine errors during the initialization of the asset-db. (#18313) 2025-02-11 11:23:06 +08:00
Knox b9358a7b98 Fixed the issue of not initializing the script in the editor environment. (#18312) 2025-02-11 10:39:00 +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
James Chen eb457d3538 Fix sprite inspector i18n configurations (#18306) 2025-02-10 16:52:07 +08:00