Commit Graph

21957 Commits

Author SHA1 Message Date
James Chen e5cb7f37c4 Revert to use clang-tidy-11 (#18311)
* Revert to use clang-tidy-11
2025-02-11 09:40:40 +08:00
James Chen eb457d3538 Fix sprite inspector i18n configurations (#18306) 2025-02-10 16:52:07 +08:00
hyde zhou 2231a83d9a fix buffer out of range (#18305) 2025-02-10 16:38:47 +08:00
Cocos Robot 8ae4dcf8a3 [ci skip][AUTO]: Automated code generating update: e94e3d16a86fc666e73706bfe5cd5a8ba253d5af (#18284) (#18304)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2025-02-10 13:39:38 +08:00
James Chen cf945088ca Add more feature cropping settings for RichText, Mask, Graphics, UISkew, AffineTransform. (#18284)
* Add more feature cropping settings for RichText, Mask, Graphics, UISkew, AffineTransform.
2025-02-10 11:40:01 +08:00
qiuguohua 61e72cc487 Fix restart crash on HarmonyOS NEXT platform when using JSVM (#18300)
* Fix restart crash on HarmonyOS NEXT platform when using JSVM.

---------

Co-authored-by: qiuguohua <guohua.qiu@cocos.com>
2025-02-10 11:38:22 +08:00
Knox b76643a490 Fix the issue with incorrect initialization script order in the editor preview (#18299)
* Fix the issue with incorrect initialization script order in the editor preview
2025-02-10 11:37:50 +08:00
hyde zhou b9bf293b29 disable probe blend (#18292)
* disable probe blend
2025-02-10 11:22:24 +08:00
James Chen f94a17c09f Fix the bug that ParticleSystem2D re-active causes particle could not be shown. (#18295)
* Fix the bug that ParticleSystem2D re-active causes particle could not be shown.
2025-02-08 14:37:41 +08:00
James Chen 8e3bb4accb Fix a mangle issue in splash-screen.ts, interface data from JSON should not be mangled. (#18298) 2025-02-08 14:27:01 +08:00
James Chen 9aa6873cb4 Fix the type of Billboard.texture (#18297) 2025-02-08 11:29:13 +08:00
James Chen 9c6f3625a5 Export memory-pools only for NATIVE since it's used for sharing memory between native and js (#18296) 2025-02-08 09:55:48 +08:00
James Chen 50d86d0c53 Update CI OH SDK to 13 (#18287) 2025-02-07 16:56:34 +08:00
hyde zhou 523d9828fe remove deferred reflection shaders (#18281)
* remove deferred reflection shaders
* fix test shader
* remove reflectionTex
2025-02-07 14:01:45 +08:00
James Chen 243b622592 Strip minigame (#18288) 2025-02-07 13:53:56 +08:00
James Chen f93780265f Sync node.ts changes from PR #18280 for native platforms. (#18285) 2025-02-07 09:38:12 +08:00
James Chen e6273fcc92 Optimize code size once more. (#18267) 2025-02-06 19:47:02 +08:00
hyde zhou f94a843dc9 turn off misc-include-cleaner (#18283) 2025-02-06 17:42:29 +08:00
James Chen 78b61b200c Fix wrong position and rectangle border of gizmo in editor. (#18280)
* Fix wrong position and rectangle border of gizmo in editor.
* Rename getParentWorldMatrixNoSkew to findSkewAndGetOriginalWorldMatrix.
2025-02-06 17:04:16 +08:00
James Chen 9125b72326 Optimize code size in webgl-device.ts & webgl2-device.ts (#18254) 2025-02-06 16:53:58 +08:00
Knox c4b4a0b908 Fixed an issue where setting a SpriteFrame on the Sprite Inspector panel caused a false freeze (#18279) 2025-02-06 15:52:14 +08:00
hyde zhou 4a88af755c Revert "add builtin pipeline passes (#17985)" (#18278)
This reverts commit aa3b9261e9.
2025-02-06 10:10:13 +08:00
James Chen 85c28aab1c Optimize code size: mark more properties as mangled. (#18265) 2025-02-05 15:55:30 +08:00
James Chen bc0a2b4921 Optimize code size for text-utils.ts (#18262)
* Optimize code size for text-utils.ts

* Fix text-utils.ts
2025-02-05 15:53:52 +08:00
Cocos Robot 6d189bdd2d [ci skip][AUTO]: Automated code generating update: db2c5e06797643814f14c854333dabe3e1e8789a (#18260) (#18277)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2025-02-05 15:43:16 +08:00
James Chen c08dbf5c68 Optimize code size again. (#18260)
* Optimize code size again.
2025-02-05 15:35:40 +08:00
James Chen a3a6cc692c Optimize code size for text-processing.ts (#18263) 2025-02-05 15:26:15 +08:00
Vida Xie 8d1920dadf refactor: improve type safety for isValid (#18264) 2025-02-05 15:20:52 +08:00
James Chen 27b184e3c4 Optimize code size for mesh.ts (#18268) 2025-02-05 15:19:25 +08:00
James Chen b91f6a7d06 Optimize code size for webgl-commands.ts & webgl2-commands.ts (#18266)
* Optimize code size for webgl-commands.ts & webgl2-commands.ts
2025-02-05 15:08:55 +08:00
Cocos Robot 06fcad697a [ci skip][AUTO]: Automated code generating update: f44fae2d154052cd63b9f9b242b695b33b799895 (#18255) (#18275)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2025-02-05 14:52:11 +08:00
James Chen 18d80116b5 Fix some type issues in tilemap module (#18255) 2025-02-05 14:41:34 +08:00
James Chen f80f8c819c Optimize code size for scene-globals.ts (#18269)
* Optimize code size for scene-globals.ts
2025-02-05 14:33:36 +08:00
James Chen 6409fdcbea Optimize code size for sprite/sliced.ts, mesh-buffer.ts, scene/camera.ts (#18273) 2025-02-05 14:30:00 +08:00
James Chen 43053879e9 Update ccbuild to 2.3.10 (#18270) 2025-02-05 14:27:22 +08:00
James Chen de0a107e69 Optimize code size by adding an internal API UIRenderer._markForUpdateRenderData (#18253)
* Optimize code size by adding an internal API UIRenderer._markForUpdateRenderData

* fix

* Add comments for why adding the internal method _markForUpdateRenderData

* Update graphics.ts

* Update comments in ui-mesh-renderer.ts too.
2025-02-05 14:16:17 +08:00
James Chen ee233358cd Optimize code size for frustum.ts & intersect.ts files. (#18256)
* Optimize code size for frustum.ts &intersect.ts files.

* Update

* new Vec3() -> v3(), Math.yyy -> mathYYY.

* More optimizations.
2025-02-05 14:10:32 +08:00
James Chen 51edbb2815 Fix RenderPass.computeHash (#18271) 2025-02-05 13:56:39 +08:00
James Chen aca53d2817 Fix deprecated String.substr, use String.substring instead. (#18272) 2025-02-05 13:47:05 +08:00
minggo 4c92a439ee Oh egl crash (#18252)
* Fix HarmonyOS Next platform crash

---------

Co-authored-by: qiuguohua <qiuguohua111@126.com>
2025-01-25 11:55:19 +08:00
qiuguohua fd7270c886 Synchronize HarmonyOS Next platform from cocos creator 2.4.14 (#18247)
* Synchronize the HarmonyOS Next platform update for 2.4.14
2025-01-24 13:48:35 +08:00
Knox 2f9e8d2309 adjusting the ui of the spine preview (#18248) 2025-01-24 11:49:38 +08:00
James Chen 8de922ea19 Optimize code size for draw-batch.ts and batcher-2d.ts, remove needless setter/getter. (#18238)
* Optimize code size for draw-batch.ts and batcher-2d.ts, remove needless setter/getter.

* Add comment for changing getter to function
2025-01-24 09:42:20 +08:00
James Chen 01040a3494 Optimize code size for VideoPlayer and WebView. (#18231) 2025-01-23 10:49:57 +08:00
Cocos Robot 33b4c658ab [ci skip][AUTO]: Automated code generating update: adc9795971a9439415ac8d0bb5f1d4d5764c3582 (#18230) (#18244)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2025-01-23 10:49:24 +08:00
James Chen 75a70a56f7 Fix compiler errors in particle-2d module and optimize TIFFReader usage. (#18230)
* Fix compiler errors in particle-2d module

* Better wrapParseInt/wrapParseFloat implementation

* Update

* Add type info for png-reader & tiff-reader and mangle them since they're internal modules.

* Update type in png-reader.ts

* tiffReader should be a singleton to avoid allocate TiffReader per ParticleSystem2D, and reset the tiff reader after decoding to avoid memory cached in it.
2025-01-23 10:42:32 +08:00
James Chen ad210c1ee8 Optimize code size for minigame adapter. (#18237) 2025-01-23 10:41:19 +08:00
James Chen 974776d13a Optimize code size for AudioManager. (#18242) 2025-01-23 09:24:15 +08:00
James Chen 4b34ce374b Optimize code size for scheduler.ts. (#18236) 2025-01-23 09:23:51 +08:00
James Chen 1f6748026f Optimize code size for 2d module. (#18239) 2025-01-23 09:21:58 +08:00