Commit Graph

21670 Commits

Author SHA1 Message Date
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
zuiyu 31176c565d fix: update inserPoint to insertPoint (#17689) 2024-10-10 14:32:43 +08:00
Cocos Robot 956eed5a68 [ci skip][AUTO]: Automated code generating update: d726e8c893d9692bdbae18b9e709df0acb5c3c02 (#17529) (#17692)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2024-10-10 13:59:50 +08:00
dependabot[bot] 9fdf0fa316 Bump rollup and @cocos/ccbuild (#17664)
Bumps [rollup](https://github.com/rollup/rollup) to 3.29.5 and updates ancestor dependency [@cocos/ccbuild](https://github.com/cocos/cocos-ccbuild). These dependencies need to be updated together.


Updates `rollup` from 2.79.1 to 3.29.5
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.79.1...v3.29.5)

Updates `@cocos/ccbuild` from 2.2.11 to 2.2.13
- [Release notes](https://github.com/cocos/cocos-ccbuild/releases)
- [Changelog](https://github.com/cocos/cocos-ccbuild/blob/master/CHANGELOG.md)
- [Commits](https://github.com/cocos/cocos-ccbuild/compare/2.2.11...2.2.13)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: indirect
- dependency-name: "@cocos/ccbuild"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-10 13:57:46 +08:00
James Chen 6800bc9ba8 Remove unused code in gfx/base, gfx/webgl, gfx/webgl2 modules and mangle properties to reduce js size. (#17529) 2024-10-10 13:53:25 +08:00
lanbinqiang 7bbc5faf60 Added MIGU channel identifiers (#17687)
Co-authored-by: lbq <563294062@qq.com>
2024-10-10 09:34:29 +08:00
minggo 5fc8e98de0 uses physx shipped with engine on bytedance (#17671) 2024-09-29 10:22:05 +08:00
hyde zhou 78e8d0e67a cache render window texture (#17669) 2024-09-26 18:55:09 +08:00
minggo 39fb0a524c Merge pull request #17668 from cocos/v3.8.4
V3.8.4
2024-09-26 14:34:07 +08:00
Knox 84c8a6f573 Fix the issue with the getClassName error under ES6 (#17660) 2024-09-24 13:52:43 +08:00
hyde zhou 5ea58256f8 fix ui per-pass descriptor set (#17663) 2024-09-24 09:40:34 +08:00
James Chen 919ed8717f [3.8.5] Add missing types in createNewIA and autoMergeBatches functions (#17649) 2024-09-20 15:43:37 +08:00
James Chen 486c562fb2 [3.8.5] Fix stateCache.glRenderbuffer is not reset to null in WebGLCmdFuncDestroyTexture (#17652) 2024-09-19 17:18:34 +08:00
bofeng-song 684974dcf9 Fix the incorrect usage of the closure variable 'this' (#17650)
* Fix the incorrect usage of the closure variable 'this'
2024-09-19 13:53:19 +08:00
GengineJS 38e303e280 optimized code (#17651) 2024-09-19 10:48:03 +08:00
hyde zhou 82594e9f45 fix iOS14 batcher2d performance issue (#17646) 2024-09-19 10:23:39 +08:00
Jerry d7aae74574 fix #17484: Fix the issue of reading custom properties in the object layer of TSX files (#17641)
* fix: property retrieval to only include direct children
* Added a properties field to the TMXObject interface to store object properties.
2024-09-18 18:04:27 +08:00
James Chen fe616ca55f Fix a compilation error on xcode 16.0 (#17645)
* Fix a compilation error on xcode 16.0
2024-09-18 15:30:06 +08:00
James Chen 11f3bef63a fixed #17606: node.setWorldScale(0, 0, 0) causes NaN issue in scale and worldMatrix properties (#17607) 2024-09-13 17:06:41 +08:00
qiuguohua 3e78462642 Canvas listens to design resolution changes (#17633)
Co-authored-by: qgh <>
2024-09-13 14:50:35 +08:00
hyde zhou 90ff207db0 Merge render queue (Web). (#17628) 2024-09-13 10:25:10 +08:00
qiuguohua c6795958bb Fixed the issue of the main page getting stuck due to the long execution time required for updates (#17626)
* Fixed the issue of the main page getting stuck due to the long execution time required for updates

---------

Co-authored-by: qgh <>
2024-09-13 09:57:41 +08:00
minggo f7705fbc78 update bullet engine to fix ray cast error (#17630) 2024-09-13 09:35:21 +08:00
GengineJS 6434f14fe4 Fix the issue where the custom pipeline's RenderTexture output is incorrect. (#17632) 2024-09-12 18:45:35 +08:00
kaokei f7aa23fc03 Update node.ts setSiblingIndex support negative index (#17592)
* Update node.ts setSiblingIndex support negative index

eg.
-1 equals siblings.length -1.
-2 equals siblings.length -2.
-3 equals siblings.length -3.

* Update Node.cpp setSiblingIndex support negative index

Force index=0 when index smaller than -siblings.length.
2024-09-12 13:53:30 +08:00
hyde zhou d446e3f05a Merge render queue (#17622) 2024-09-11 10:09:33 +08:00
GengineJS 09cada9f35 Optimize scene culling code (#17619) 2024-09-10 15:10:19 +08:00
minggo 32ee360697 fix issue that onControllerTriggerEnter may not be triggered (#17616) 2024-09-10 13:58:22 +08:00
GengineJS 3ecad7882a Streamline the new pipeline execution code (#17614) 2024-09-10 11:58:25 +08:00
James Chen 4916955747 Update zlib.min.js, use Inflate functionality only, reduce size from 22KB to 7KB (#17534) 2024-09-06 15:37:57 +08:00
shaoqiangcai d182a00403 Update run_test_cases.yml (#17571)
RunTestCasesCustom
2024-09-06 15:30:54 +08:00
Elias Rad 78a5f2feee docs: fix spelling issues (#17564)
* fix deprecated-api.md

* fix modules.md

* fix CPP_CODING_STYLE.md

* fix CPP_CODING_STYLE.md
2024-09-06 15:20:37 +08:00