Commit Graph

21701 Commits

Author SHA1 Message Date
minggo fd139a208d use a function to set move delta option to reduce package size (#17791) 2024-10-31 11:04:00 +08:00
James Chen e77c0be21a [v3.8.5] cclegacy.xxx invocations should be converted to relevant type which will help refactoring and error reporting. (#17753)
* [v3.8.5] cclegacy.xxx invocations should be converted to relevant type which will help refactoring and error reporting.

* Update model.ts and pipeline-scene-data.ts

* Update @engineInternal comments.
2024-10-31 09:53:41 +08:00
bofeng-song a14143a020 Fix the Spine JavaScript error issue caused by data not being ready. (#17789)
* Fix the Spine JavaScript error issue caused by data not being ready.
* Fix the issue where the Spine skeleton is not reassigned due to node reuse.
2024-10-30 18:11:54 +08:00
minggo fa8b6834d4 avoid creating object as possible (#17782) 2024-10-30 16:20:41 +08:00
GengineJS edeb5c78c7 Optimize the new pipeline execution logic (#17781) 2024-10-28 17:39:14 +08:00
bofeng-song 537dba8e1c Fix the issue of incorrect interface adaptation on the web platform in fullscreen mode after rotating the screen. (#17780) 2024-10-28 16:21:03 +08:00
even d80a2d315a Fixed an issue with component title style errors (#17779) 2024-10-28 16:19:26 +08:00
吴智明 24946a1cf5 add mobile-web-app-capable meta (#17760)
Co-authored-by: zhiming.wu <zhiming.wu@cocos.com>
2024-10-28 16:18:04 +08:00
James Chen 9073fd3cc8 Smaller spine library, save 14KB package size (#17731) 2024-10-23 16:53:52 +08:00
James Chen 4b2399f28c [v3.8.5] Fix enum type conversion and support closure compiler to minify wasm glue code. (#17767)
* Add a script for generating compile commands which used for writing embind code in VS Code.
2024-10-23 15:10:58 +08:00
James Chen b6e8c8c8bf [v3.8.5] Fix visiting private properties in jsb-editbox.js (#17749) 2024-10-22 11:01:10 +08:00
bofeng-song 433e4575e7 Fix the issue on the Alipay platform caused by incorrect type usage after my.request failure. (#17738)
* Fix the issue on the Alipay platform caused by incorrect type usage after my.request failure.
2024-10-22 10:32:08 +08:00
bofeng-song d8a5a5d14f Fix the issue with incorrect use of the Spine blend mode. (#17755)
(cherry picked from commit 7b25db9a0e7976e7284e8f0c0f2f7c88f8a7a209)
2024-10-22 10:26:58 +08:00
James Chen 1fa8897e19 [v3.8.5] Don't export spine enums in c++ since they're defined in spine-core.js. (#17759) 2024-10-22 10:18:12 +08:00
James Chen 3e17c0b8b5 [v3.8.5] Release spine wasm/asmjs package by CI (#17757) 2024-10-22 09:55:21 +08:00
minggo 3046336575 revert Node setter behavior as v3.8.3 (#17754)
* revert Node setter behavior as v3.8.3

* update snap file
2024-10-22 09:32:20 +08:00
GengineJS 4c7a879778 To fix the shadow anomaly issue. (#17752) 2024-10-21 16:06:36 +08:00
Cocos Robot 8f7f2bc95a [ci skip][AUTO]: Automated code generating update: d0d7bb30672cd2eb3051ebbc35e32b2dfad90938 (#17737) (#17750)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2024-10-21 15:06:37 +08:00
Cocos Robot 2614afdc60 [ci skip][AUTO]: Automated code generating update: 646a912be97353e57b348979c5def609532e8900 (#17747) (#17748)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2024-10-21 15:00:29 +08:00
Knox 1364bfb6fd add code to upgrade Electron to adapt to event.path. (#17737) 2024-10-21 14:57:43 +08:00
James Chen 4ec6b5c9e1 [v3.8.5] Fix geomertry-renderer test case for native platforms (#17747)
* [v3.8.5] Fix geomertry-renderer test case for native platforms

* Remove unused import

* Fix errors in spline.ts

* Update spline.ts, use internal assertsArrayIndex

* Update Spline.getPoint
2024-10-21 13:33:42 +08:00
James Chen c59675a005 [v3.8.5] Better package size prompt (#17744) 2024-10-19 22:22:18 +08:00
James Chen 75c9870fff [ci] Check package size for Pull Requests (#17739) 2024-10-18 17:53:58 +08:00
bofeng-song b34203f33c Fix adapter's error on taobao platform (#17734) 2024-10-17 16:31:28 +08:00
lanbinqiang a72d870229 [bug] fix migu platforms subpackage load fail (#17733)
Co-authored-by: lbq <563294062@qq.com>
2024-10-17 14:48:40 +08:00
Knox 8dfa2b6e3d Fixing sprite set sprite frame with an atlas does not auto add the atlas. (#17727)
* Fixing sprite component dragging in a sprite frame with an atlas does not auto add the atlas.
2024-10-17 13:42:09 +08:00
hyde zhou 8d0d5ef90a update generated gfx define.ts (#17720) 2024-10-17 11:19:47 +08:00
Cocos Robot 8235c1150d [ci skip][AUTO]: Automated code generating update: 734828df5166773055f507e98087e4e67a1ea634 (#17729) (#17730)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2024-10-17 10:23:05 +08:00
hyde zhou 4685f6879a filter non default pass (#17729) 2024-10-17 10:00:47 +08:00
minggo 1f2a63d28b raycast result includes closest hit fraction (#17710)
* raycast result includes closest hit fraction

* make closest hit fraction optional
2024-10-17 09:49:42 +08:00
hyde zhou 408425c59e fix sampler info packing (#17726) 2024-10-16 15:38:57 +08:00
James Chen 495e4c6b12 [v3.8.5] Fix a compatibility issue after merging inline-enum PR (#17724) 2024-10-16 13:19:06 +08:00
GengineJS 86ce24bd4d Optimize new pipeline execution code (#17722) 2024-10-16 10:23:58 +08:00
hyde zhou f833b8a51a Simplify visitObject (#17716)
* remove unused headers

* simplify visitObject
2024-10-15 17:32:24 +08:00
oneRain 707b36fb29 Fix issue with registering multiple event listeners for a single event (#17708) 2024-10-15 17:32:10 +08:00
lanbinqiang e4d9eeef6c fix migu platform build config (#17717)
Co-authored-by: lbq <563294062@qq.com>
2024-10-15 17:31:49 +08:00
tangkai 9f1547cec6 fix safari can not resume the webaudio (#17640) 2024-10-15 17:02:51 +08:00
hyde zhou 9652521edb pipeline c++ lint and remove deprecated APIs (#17712) 2024-10-15 14:51:02 +08:00
Cocos Robot 55feeb3449 [ci skip][AUTO]: Automated code generating update: b156569f8bd3696e9b7623329c29de069669f143 (#17703) (#17713)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2024-10-15 13:59:06 +08:00
James Chen f4ccf3a8bb [v3.8.5] Support inline enum and mangle private variables to reduce engine size. (#17703) 2024-10-15 10:17:16 +08:00
Knox 74595e62c3 Complete the i18n for label alignment. (#17709)
* Complete the i18n for label alignment.
2024-10-14 13:45:53 +08:00
minggo c84aa2daf9 Merge pull request #17707 from minggo/v3.8.4
cache render window texture (#17669)
2024-10-14 11:15:16 +08:00
yoki0805 2ec9087a89 Fix the UIOpacity issue when the node is re-added to the scene. (#17700)
* fix ui-opacity

fix the render.node._uiProps.localOpacity only update on native.

* Add JSB Check in _parentChanged function

The setEntityLocalOpacityDirtyRecursively function should not work on web platform.

* fix the opacity issue on native

Whenever the node is re-added to the scene, the _parentOpacity value needs to be updated again in the onEnable callback.

* Remove the JSB checking in setEntityLocalOpacityDirtyRecursively function

* Update onEnable function
2024-10-12 15:33:07 +08:00
minggo 186fa0f174 Fix the issue that can not destroy Node in contract listener call back in Box2D (#17701) 2024-10-12 11:18:56 +08:00
minggo 5d770c9abd do not terminate loop if mask mismatch (#17697) 2024-10-12 09:54:47 +08:00
minggo a4f377883a remove unneeded import and global variables (#17694) 2024-10-12 09:36:54 +08:00
bofeng-song 1ecdb7cc59 fix running error on taobao platform (#17699) 2024-10-11 14:51:08 +08:00
minggo ecf0b354d1 remove unneeded codes (#17698) 2024-10-11 10:52:26 +08:00
James Chen a173cd6166 Revert "Bump rollup and @cocos/ccbuild (#17664)" (#17695)
This reverts commit 9fdf0fa316.
2024-10-10 14:38:00 +08:00
bofeng-song d5f292c60c Taobao platform supports removing forward declarations of global variables. (#17691) 2024-10-10 14:33:33 +08:00