Commit Graph

21869 Commits

Author SHA1 Message Date
James Chen cc2ff78078 [v3.8.6] Fix some type issues and warnings. (#18147)
* [v3.8.6] Fix some type issues and warnings.

* Continue to fix warnings in instantiate-jit.ts
2025-01-14 10:24:17 +08:00
James Chen b4c572b068 fixed #17876: [bug] callFunc before updateUntil may be invoked more than once. (#18179) 2025-01-14 09:33:43 +08:00
hyde zhou f5b7fc6fc1 Adding layout implementation (#18156) 2025-01-13 19:59:10 +08:00
Knox b0a138dd3c optimize prefab and spine view logic, add reset camera view (#18183) 2025-01-13 18:24:48 +08:00
minggo d655c30984 preview scene in editor should also destroy object at the end of the same, or engine components may refer invalid nodes (#18157) 2025-01-13 17:38:01 +08:00
James Chen 515244bd87 [v3.8.6] Optimize code size by defining Constructor explicitly. (#18119)
* [v3.8.6] Optimize code size by defining Constructor explicitly.
2025-01-13 17:37:45 +08:00
James Chen 52ab8005ab issue #18056: [v3.8.6] Mangle properties of Bullet classes. (#18166)
* issue #18056: [v3.8.6] Mangle properties of Bullet classes.

* Update.
2025-01-13 16:09:24 +08:00
James Chen 49502e65e7 [v3.8.6] Strip JSB relevant code in ui-opacity.ts for non-native platforms (#18176)
* [v3.8.6] Strip JSB relevant code in ui-opacity.ts for non-native platforms

* Add _setParentOpacity and revert accessor
2025-01-13 16:06:35 +08:00
Cocos Robot b2996754a1 [ci skip][AUTO]: Automated code generating update: b826c28c7067c89f42864c76ee833fb03423aacb (#18171) (#18174)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2025-01-13 11:14:05 +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
James Chen e939677d42 [v3.8.6] Optimize code size, box2d-js backend. (#18167) 2025-01-13 11:07:03 +08:00
James Chen b7835fcb03 [v3.8.6 ]Fix type issues for physics-2d framework. (#18171) 2025-01-13 11:05:55 +08:00
James Chen e5aac8f591 [v3.8.6] Optimize code size for input.ts, tiled-layer.ts, minigame pal (#18159)
* [v3.8.6] Optimize code size for input.ts and tiled-layer.ts
2025-01-13 11:04:50 +08:00
James Chen aa06696f3d [v3.8.6] Add freezeColor internal method to reduce code size. (#18162) 2025-01-13 11:01:12 +08:00
James Chen d3050e118a [v3.8.6] Optimize size for particle-system.ts (#18158)
* [v3.8.6] [TEST] Optimize size for particle-system.ts
2025-01-13 10:52:04 +08:00
James Chen fd2f3840df [v3.8.6] Optimize code size for physx backend (#18169) 2025-01-13 10:50:51 +08:00
James Chen 26bc752e5d [v3.8.6] Optimize code size for physics-2d-builtin backend (#18170) 2025-01-13 10:26:51 +08:00
James Chen 8c2e7d71fa [v3.8.6] Optimize code size for box2d-wasm backend. (#18168)
* [v3.8.6] Optimize code size for box2d-wasm backend.

* Update distance-joint.ts
2025-01-13 10:26:09 +08:00
James Chen 67a0736410 [v3.8.6] Optimize code size: Add an internal method ( Node.getUITransformComp ) which could be mangled to avoid invoking the code ._uiProps.uiTransformComp that could not be mangled. (#18165)
* [v3.8.6] Optimize code size: Add an internal Node.getUITransformComponent which could be mangled to avoid invoking the code `._uiProps.uiTransformComp` that could not be mangled.
2025-01-13 09:58:56 +08:00
James Chen 86b314f3c1 fixed #3d-tasks/18524: Error: [Assets] _updateAdaptResult Invalid size (#18164) 2025-01-13 09:45:31 +08:00
Knox d1ab113732 Improve spine asset preview panel features (#18154) 2025-01-10 17:48:04 +08:00
Knox 3307c3aaed Improve handling of SpriteAtlas after setting up a SpriteFrame in Sprite (#18108)
* Improve handling of SpriteAtlas after setting up a SpriteFrame in Sprite.
2025-01-10 16:49:19 +08:00
James Chen 13888fc2be fixed #18139: Bug: [Scene] frame should not be invalid, it may have been released. (#18144) 2025-01-10 16:49:04 +08:00
James Chen e400883bd4 [v3.8.6] Use array.forEach instead of for of to optimize code size (#18112) 2025-01-10 14:42:56 +08:00
hyde zhou 84bf9c64b8 Add WebGPU BindGroupLayout data structures (#18136) 2025-01-10 11:08:36 +08:00
bofeng-song d428ced7b3 Fix the issue where the first frame of Spine rendering is not affected by the parent opacity. (#18149) 2025-01-09 16:54:23 +08:00
minggo 050b680475 use latest ubuntu (#18148) 2025-01-09 15:19:20 +08:00
James Chen 2230501562 [v3.8.6] Fix some type issues. (#18145) 2025-01-09 13:42:24 +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
NorhsArk 547469ab34 Enhancing the assembler code scalability for sprite and label. (#18017) 2025-01-08 13:39:49 +08:00
James Chen 088274011d [v3.8.6] Fix a typo in DragonBonesAsset.constructor. (#18134) 2025-01-07 10:57:06 +08:00
yoki0805 3f390693cb Fix the audio event remove (#17908)
When the audio play done, the event key should be cleanup.
2025-01-07 09:43:22 +08:00
hiboy51 480864684e [v3.8.6] Fix the issue where the target object might be incorrect when nesting Tween.set within Tween.parallel. 2025-01-03 17:56:46 +08:00
qiuguohua 4530923a50 Fix the problem of incorrect decimal point input when editbox input type is number (#18118)
Co-authored-by: qiuguohua <guohua.qiu@cocos.com>
2025-01-03 16:51:21 +08:00
James Chen 33b0a50e79 [v3.8.6] Remove dead code in cocos/render-scene-config.ts (#18114) 2025-01-03 14:06:59 +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
Knox d57f087b88 Fix the Issue of Incorrect i18n Property Name for maxWidth in Rich Text (#18111) 2025-01-02 18:20:41 +08:00
bofeng-song 567042a69b Fix the issue where adding a prefab with Spine assets to the node tree causes abnormal display in the scene editor. (#18109)
* Fix the issue where adding a prefab with Spine assets to the node tree causes abnormal display in the scene editor.
2025-01-02 14:35:20 +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
James Chen 26623a159a issue #18056: [v3.8.6] Add @mangle jsDoc tag for gfx-webgl/gfx-webgl2 internal modules. (#18093) 2024-12-30 17:55:27 +08:00
James Chen 3dfbc53b28 [v3.8.6] Optimize code size for webgl-swapchain.ts & webgl2-swapchain.ts (#18097) 2024-12-30 17:43:45 +08:00
James Chen cc11e6213a [v3.8.6] Optimize code size for gfx.FormatInfos definition (#18096) 2024-12-30 17:41:09 +08:00
James Chen cf3b6b02fb [v3.8.6] Optimize code size for sprite-frame.ts (#18095) 2024-12-30 17:40:16 +08:00
James Chen b3407b2caa [v3.8.6] Optimize code size for math/color.ts (#18099)
* [v3.8.6] Optimize code size for math/color.ts

* data -> thisData
2024-12-30 17:36:43 +08:00
James Chen 01ebd4aef5 [v3.8.6] Optimize code size for webgl-texture.ts/webgl2-texture.ts (#18098)
* [v3.8.6] Optimize code size for webgl-texture.ts/webgl2-texture.ts

* Update webgl-texture.ts
2024-12-30 17:35:43 +08:00
hyde zhou f3ee5c87a9 Move classes from interface to implementation (#18091) 2024-12-30 17:21:29 +08:00
James Chen 7783dc5276 [v3.8.6] Fix scrollview could not handle mouse wheel event. (#18094) 2024-12-30 09:50:04 +08:00
James Chen 70d53ac9ca issue #18056: [v3.8.6] Support to mangle private properties. (#18087) 2024-12-27 18:54:22 +08:00
hyde zhou 8063d96d6a enable planar reflection probe in GAME_VIEW (#18082) 2024-12-26 17:46:29 +08:00