Commit Graph

21901 Commits

Author SHA1 Message Date
James Chen 5428475dd8 [v3.8.6] Optimize code for optional chaining (#18219) 2025-01-21 10:17:41 +08:00
minggo f5f9a5a4a2 add a function to enable texel offset for tilemap (#18209)
* add a function to enable texel offset for tilemap
2025-01-21 09:34:12 +08:00
James Chen f965829ee2 [v3.8.6] Optimize code size in trail.ts (#18217) 2025-01-21 09:33:08 +08:00
James Chen d8eb4f6b53 [v3.8.6] Optimize code size for pointer-event-dispatcher.ts. (#18220)
addPointerEventProcessor, removePointerEventProcessor, dispatchEventMouse, dispatchEventTouch don't need to be public.
2025-01-21 09:26:30 +08:00
James Chen e652d6ed95 [v3.8.6] Fix a mangleProperties issue which is caused by using as any in trail.ts. (#18216) 2025-01-20 17:58:21 +08:00
James Chen 1ff0f41b0c [v3.8.6] Mark some properties as @dontmangle. (#18160) 2025-01-20 16:33:40 +08:00
James Chen 1d870a7f2c [v3.8.6] Optimize code size again. (#18197)
* [v3.8.6] Optimize code size again.

* More mangled properties.

* Mark SpriteFrame._calculateUV as engine internal and mangle.
2025-01-17 14:09:05 +08:00
James Chen 249d77dafc [v3.8.6] Optimize code size for webgl-device.ts (#18207)
* [v3.8.6] Optimize code size for webgl-device.ts
2025-01-17 14:07:28 +08:00
James Chen 835119f771 [v3.8.6] Mangle more static properties by configuration. (#18205) 2025-01-17 14:06:02 +08:00
James Chen 5b875ee921 [v3.8.6] Optimize code size for webgl2-device.ts (#18206)
* [v3.8.6] Optimize code size for webgl2-device.ts
2025-01-17 14:02:13 +08:00
James Chen b0b7dfb953 [v3.8.6] Inline enums for CCObjectFlags. (#18190) 2025-01-17 11:44:07 +08:00
hyde zhou 68936a5687 fix descriptor set init bug (#18204) 2025-01-16 19:32:38 +08:00
James Chen 11bc19fd1c [v3.8.6] Support to mangle static private properties (#18203) 2025-01-16 17:28:12 +08:00
bofeng-song 26beaa0a39 Fix crashes caused by compatibility issues on Android 6.0 and below. (#18201)
* Fix crashes caused by compatibility issues on Android 6.0 and below.
2025-01-16 17:22:45 +08:00
hyde zhou 0e5d475982 fix local set problem (#18202) 2025-01-16 15:57:15 +08:00
hyde zhou 037cbe8b26 engine add WebGPU support (#18196) 2025-01-16 14:19:47 +08:00
Cocos Robot ae9a255cbf [ci skip][AUTO]: Automated code generating update: 8520e56dad8ecc3f8ff50c9019055be7ebf65e3b (#18198) (#18200)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2025-01-16 10:37:08 +08:00
James Chen 37e1dcc4bd [v3.8.6] Optimize code size: audio (#18198)
* [v3.8.6] Optimize code size: mangle AudioBufferManager since it's not exported.
2025-01-16 10:15:48 +08:00
James Chen df0591e1a5 [v3.8.6] Add SystemPriority enum for inline. (#18194) 2025-01-16 10:13:41 +08:00
James Chen a107d84826 [v3.8.6] Inline enum for particle 3d module. (#18193)
* [v3.8.6] Inline enum for particle 3d module.
* Fix a compilation error in shape-module.ts
2025-01-15 14:21:32 +08:00
ankye sheng fd85edf782 fixed when enable dynamic atlas, _nativeData is null (#18184) 2025-01-15 09:44:57 +08:00
ShalokShalom a30e2e6a67 Update README.md (#18163)
Correct typos and grammar mistakes
2025-01-15 09:44:05 +08:00
James Chen f4cca397f8 [v3.8.6] Strip jsb-utils.ts (#18161)
* [v3.8.6] Strip jsb-utils.ts
2025-01-15 09:39:12 +08:00
James Chen 6136a4d7f0 [v3.8.6] [Tween] More override in tween modules and add toString method for all actions which will be easier for debugging. (#18181)
* [v3.8.6] [Tween] More override in tween modules and add `toString` method for all actions which will be easier for debugging.

Also add some `@mangle` jsDoc tag for some properties.
2025-01-15 09:38:04 +08:00
James Chen 2f019edede [v3.8.6] [Tween] Add unit test for Pull Request #18117 (#18182) 2025-01-15 09:35:48 +08:00
James Chen 63ebf5ce20 [v3.8.6] Fix node._getUITransformComp not found on native platforms. (#18191)
* [v3.8.6] Fix node._getUITransformComp not found on native platforms.

* Update ccbuild to 2.3.5
2025-01-14 18:44:40 +08:00
minggo 2d95c3218b don't link unneeded framework (#18192) 2025-01-14 18:43:12 +08:00
minggo 63c39bf45c make support iOS 11+ and macOS 14+ (#18189)
* make support iOS 11+ and macOS 14+
2025-01-14 18:31:03 +08:00
James Chen 1d61e5575c [v3.8.6] Fix attributes variable conflict in mesh.ts. It's a bug from a PR ( #18112 ) in v3.8.6. (#18188) 2025-01-14 16:59:09 +08:00
Max 2c53f99b52 fix bug for refresh (#18187)
Co-authored-by: zhiming.wu <zhiming.wu@cocos.com>
2025-01-14 15:38:23 +08:00
Cocos Robot cbea5040be [ci skip][AUTO]: Automated code generating update: c40cc508e1a6f5c121be62979dabec975fd599bf (#18172) (#18186)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2025-01-14 14:23:52 +08:00
James Chen 979670fffd [v3.8.6] Optimize code size by adding helper functions to get data from pipelineSceneData. (#18172) 2025-01-14 13:52:44 +08:00
James Chen cc2ff78078 [v3.8.6] Fix some type issues and warnings. (#18147)
* [v3.8.6] Fix some type issues and warnings.

* Continue to fix warnings in instantiate-jit.ts
2025-01-14 10:24:17 +08:00
James Chen b4c572b068 fixed #17876: [bug] callFunc before updateUntil may be invoked more than once. (#18179) 2025-01-14 09:33:43 +08:00
hyde zhou f5b7fc6fc1 Adding layout implementation (#18156) 2025-01-13 19:59:10 +08:00
Knox b0a138dd3c optimize prefab and spine view logic, add reset camera view (#18183) 2025-01-13 18:24:48 +08:00
minggo d655c30984 preview scene in editor should also destroy object at the end of the same, or engine components may refer invalid nodes (#18157) 2025-01-13 17:38:01 +08:00
James Chen 515244bd87 [v3.8.6] Optimize code size by defining Constructor explicitly. (#18119)
* [v3.8.6] Optimize code size by defining Constructor explicitly.
2025-01-13 17:37:45 +08:00
James Chen 52ab8005ab issue #18056: [v3.8.6] Mangle properties of Bullet classes. (#18166)
* issue #18056: [v3.8.6] Mangle properties of Bullet classes.

* Update.
2025-01-13 16:09:24 +08:00
James Chen 49502e65e7 [v3.8.6] Strip JSB relevant code in ui-opacity.ts for non-native platforms (#18176)
* [v3.8.6] Strip JSB relevant code in ui-opacity.ts for non-native platforms

* Add _setParentOpacity and revert accessor
2025-01-13 16:06:35 +08:00
Cocos Robot b2996754a1 [ci skip][AUTO]: Automated code generating update: b826c28c7067c89f42864c76ee833fb03423aacb (#18171) (#18174)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2025-01-13 11:14:05 +08:00
Cocos Robot 853324b0c4 [ci skip][AUTO]: Automated code generating update: 57ce707874044070de86ea874a59d60bff6a928f (#18167) (#18175)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2025-01-13 11:13:11 +08:00
James Chen e939677d42 [v3.8.6] Optimize code size, box2d-js backend. (#18167) 2025-01-13 11:07:03 +08:00
James Chen b7835fcb03 [v3.8.6 ]Fix type issues for physics-2d framework. (#18171) 2025-01-13 11:05:55 +08:00
James Chen e5aac8f591 [v3.8.6] Optimize code size for input.ts, tiled-layer.ts, minigame pal (#18159)
* [v3.8.6] Optimize code size for input.ts and tiled-layer.ts
2025-01-13 11:04:50 +08:00
James Chen aa06696f3d [v3.8.6] Add freezeColor internal method to reduce code size. (#18162) 2025-01-13 11:01:12 +08:00
James Chen d3050e118a [v3.8.6] Optimize size for particle-system.ts (#18158)
* [v3.8.6] [TEST] Optimize size for particle-system.ts
2025-01-13 10:52:04 +08:00
James Chen fd2f3840df [v3.8.6] Optimize code size for physx backend (#18169) 2025-01-13 10:50:51 +08:00
James Chen 26bc752e5d [v3.8.6] Optimize code size for physics-2d-builtin backend (#18170) 2025-01-13 10:26:51 +08:00
James Chen 8c2e7d71fa [v3.8.6] Optimize code size for box2d-wasm backend. (#18168)
* [v3.8.6] Optimize code size for box2d-wasm backend.

* Update distance-joint.ts
2025-01-13 10:26:09 +08:00