Commit Graph

21841 Commits

Author SHA1 Message Date
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
yoki0805 9fe9dd1640 Remove fullScreen check from video player web (#17914) 2024-12-26 10:34:08 +08:00
qiuguohua 396c31f34b Fix the problem that the simulator reports errors and the real machine does not display video on the Douyin mini game platform (#18077)
* Fix the problem that the simulator reports errors and the real machine does not display video on the Douyin mini game platform

---------

Co-authored-by: qiuguohua <guohua.qiu@cocos.com>
2024-12-25 16:59:03 +08:00
GengineJS 08b5221e12 Fix the UI error issues caused by adjustments to the batching and splitting of UI elements. (#18052) 2024-12-25 10:45:46 +08:00
James Chen be8fefa217 [v3.8.6] Fix toString for math types (#18060) 2024-12-24 09:28:40 +08:00
minggo a2c7ea8b91 Merge pull request #18073 from minggo/merge-v385
Merge v385
2024-12-23 11:14:52 +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
James Chen aede0272d6 [v3.8.6] Refactor some code to reduce package size. (#18068) 2024-12-23 09:32:33 +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
qiuguohua eb949c6022 Fix google play platform build appBundle failure issue (#18063)
Co-authored-by: qiuguohua <guohua.qiu@cocos.com>
2024-12-20 10:37:43 +08:00
Knox 1b5b5f360a Fix loop property in skeleton not shown in inspector panel (#18064) 2024-12-20 10:37:11 +08:00
Knox ca29ce0e5f Support for multiple Spine to share a single atlas (#18027) 2024-12-19 09:44:38 +08:00
GengineJS 1ab9ec51be Adjust the timing for building the rendergraph in the pipeline. (#18049) 2024-12-18 16:07:43 +08:00
James Chen 32bf693992 Revert "Fix the issue where UI batching breaks under specific conditions. (#1…" (#18051)
This reverts commit 4eb1074833.
2024-12-18 11:03:22 +08:00
James Chen 119b570d27 [v3.8.5] Fix NodeEventType.ACTIVE_CHANGED logic was not synchronized to native. (#18048)
Unit Tests only run on web platform, I forgot to change node.jsb.ts.

Previous PR: https://github.com/cocos/cocos-engine/pull/17141
2024-12-17 15:05:43 +08:00
qiuguohua a670a91661 Optimizing google play implementation (#18047)
* Optimizing google play implementation

* Initializing member variables

* Remove redundant code

---------

Co-authored-by: qiuguohua <guohua.qiu@cocos.com>
2024-12-17 15:04:02 +08:00
James Chen 0738856794 [v3.8.6] Fix pointerEventProcessorList may not be re-sorted. (#18046)
* [v3.8.6] Fix pointerEventProcessorList may not be re-sorted.

This bug was reported at https://forum.cocos.org/t/topic/163982/10

* legacyCC -> cclegacy, fix Node.isNode compilation error in node-event-processor.ts

* Fix cclegacy in node.jsb.ts and fix _onPostActivated.

* Revert

* Update root.jsb.ts
2024-12-17 15:03:34 +08:00
bofeng-song d3b121fe75 Fix Android ADPF API compatibility issues. (#18044) 2024-12-17 14:56:58 +08:00
Max 55edb5f4c3 change clear-platform download timeout (#18045)
Co-authored-by: zhiming.wu <zhiming.wu@cocos.com>
2024-12-17 11:42:02 +08:00
qiuguohua 2e4a9d57e0 Fix the incorrect orientation of the gravity sensor and JSVM crash issue in HarmonyOS Next (#18041)
* 1.Fix the problem of incorrect rotation direction of openharmony screen
2.Remove redundant files

# Conflicts:
#	templates/harmonyos-next/entry/src/main/ets/cocos/jsb-adapter/sys-ability-polyfill.js

* Fix the issue of JSVM running crash

---------

Co-authored-by: qiuguohua <guohua.qiu@cocos.com>
2024-12-17 10:43:39 +08:00
qiuguohua 86aed391c1 Fix issues with adpf (#18043)
Co-authored-by: qiuguohua <guohua.qiu@cocos.com>
2024-12-17 10:42:09 +08:00
bofeng-song 815c59589c Fix the crash issue on the Android platform caused by an invalid context. (#18036)
* Fix the crash issue on the Android platform caused by an invalid context.
2024-12-17 10:40:51 +08:00
James Chen 7340ce2c24 Fix that the reparented items outside mask clip rect still could be touched. (#18039) 2024-12-17 10:40:28 +08:00
James Chen 405fca84da [v3.8.5] Fix constructing spine::String with null pointer. (#18038)
It's a bug from v3.8.5-beta0.
2024-12-16 09:06:47 +08:00
Knox dcdbc64132 refine of throttleUpdate usage in the node inspector panel (#18030) 2024-12-13 15:03:43 +08:00
bofeng-song a70ecb1f1b Update external version (#18035) 2024-12-13 14:35:27 +08:00
James Chen 89a4bffa41 [v3.8.6] Update build-wasm-libs.yml, apply a patch for package size optimization (#18034) 2024-12-13 14:07:49 +08:00