Commit Graph

21825 Commits

Author SHA1 Message Date
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
bofeng-song 6103fe4e44 Fix the issue on the web where calling spine.setAttachment causes visual glitches due to using incorrect textures. (#18002) 2024-12-13 13:44:50 +08:00
James Chen 6012fff1d9 Fix that package size check may be wrong if spine cpp code changed but the generated wasm is not merged into external repo. (#18032) (#18033) 2024-12-13 11:24:46 +08:00
James Chen 2a10e0c797 Fix that package size check may be wrong if spine cpp code changed but the generated wasm is not merged into external repo. (#18032) 2024-12-13 10:23:44 +08:00
James Chen f5f2b30ba9 fixed #3d-tasks/18679: Invoke toLowerCase of undefined. Enum should be used instead of ccenum to generate reverse key. (#18031)
* fixed #3d-tasks/18679: Invoke toLowerCase of undefined. Enum should be used instead of ccenum to generate reverse key.

* Add a comment for  PrimitiveType.
2024-12-13 09:41:41 +08:00
bofeng-song 20581f1492 Fix potential ANR issues caused by unsafe calls to the ALooper_pollAll interface. (#18025)
* Fix potential ANR issues caused by unsafe calls to the ALooper_pollAll interface.
2024-12-13 09:24:18 +08:00
qiuguohua c2882db601 The google play billing interface is consistent with google's original interface (#18010)
The google play billing interface is consistent with google's original interface

---------

Co-authored-by: qiuguohua <guohua.qiu@cocos.com>
Co-authored-by: James Chen <dumganhar@gmail.com>
2024-12-12 18:23:38 +08:00
bofeng-song 796a32794a Fix spine can not show normally after disable and then active node. (#18024)
* Fix spine can not show normally after disable and then active node.
2024-12-12 17:48:16 +08:00
bofeng-song 63f8fd9117 Fix memory leaks in Spine caused by not calling freeStoreMemory. (#18018)
* Fix memory leaks in Spine caused by not calling freeStoreMemory.
2024-12-12 09:51:17 +08:00
James Chen 84790f5121 fixed #17016: wrong assertion if label is empty and uses BitmapFont (#18015)
* fixed #17016: wrong assertion if label is empty and uses BitmapFont
2024-12-12 09:43:36 +08:00
Knox a7de5b948d Fix spine's behaviour when playing in the editor (#18022) 2024-12-11 10:37:22 +08:00
Knox 6a08103c91 fix skeleton animation & skin inspect panel display (#18016)
* fix: skeleton & skin inspect panel display

* refine code
2024-12-11 10:29:11 +08:00
Max 970e91c0e1 fix runtime web adapter fetch error (#18020)
Co-authored-by: zhiming.wu <zhiming.wu@cocos.com>
2024-12-11 10:18:15 +08:00
bofeng-song 83c5c0a717 Fix the issue where dynamic uniform setting for custom materials in Spine is not working. (#18012)
* Fix the issue where dynamic uniform setting for custom materials in Spine is not working.
2024-12-11 09:45:21 +08:00
hyde zhou 35d27d6384 fix staging buffer (#18007) 2024-12-06 15:59:02 +08:00
GengineJS dd096b02ef To fix the issue of image stretching after resizing a reflection probe. (#18004) 2024-12-05 12:55:16 +08:00
minggo 52af1141b7 Merge pull request #18003 from cocos/v3.8.5
V3.8.5
2024-12-05 11:04:27 +08:00