Commit Graph

21991 Commits

Author SHA1 Message Date
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
hyde zhou 2231a83d9a fix buffer out of range (#18305) 2025-02-10 16:38:47 +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
James Chen cf945088ca Add more feature cropping settings for RichText, Mask, Graphics, UISkew, AffineTransform. (#18284)
* Add more feature cropping settings for RichText, Mask, Graphics, UISkew, AffineTransform.
2025-02-10 11:40:01 +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
Knox b76643a490 Fix the issue with incorrect initialization script order in the editor preview (#18299)
* Fix the issue with incorrect initialization script order in the editor preview
2025-02-10 11:37:50 +08:00
hyde zhou b9bf293b29 disable probe blend (#18292)
* disable probe blend
2025-02-10 11:22:24 +08:00
James Chen f94a17c09f Fix the bug that ParticleSystem2D re-active causes particle could not be shown. (#18295)
* Fix the bug that ParticleSystem2D re-active causes particle could not be shown.
2025-02-08 14:37:41 +08:00
James Chen 8e3bb4accb Fix a mangle issue in splash-screen.ts, interface data from JSON should not be mangled. (#18298) 2025-02-08 14:27:01 +08:00
James Chen 9aa6873cb4 Fix the type of Billboard.texture (#18297) 2025-02-08 11:29:13 +08:00
James Chen 9c6f3625a5 Export memory-pools only for NATIVE since it's used for sharing memory between native and js (#18296) 2025-02-08 09:55:48 +08:00
James Chen 50d86d0c53 Update CI OH SDK to 13 (#18287) 2025-02-07 16:56:34 +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 243b622592 Strip minigame (#18288) 2025-02-07 13:53:56 +08:00
James Chen f93780265f Sync node.ts changes from PR #18280 for native platforms. (#18285) 2025-02-07 09:38:12 +08:00