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
James Chen
92d0ee13ba
Optimize code size for WebView & VideoPlayer and fix type issues. ( #18240 )
...
* Optimize code size for WebView & VideoPlayer and fix type issues.
* Remove mangle tag for VideoPlayerImpl & WebViewImpl since they're used in js file in platforms directory.
* Fix errors in VideoPlayer.js and jsb-webview.js
2025-01-23 09:20:36 +08:00
James Chen
915da6f915
Fix some type issues. ( #18241 )
2025-01-23 09:16:17 +08:00
James Chen
aa841bd7f7
[v3.8.6] [2D Skew comes back] Add UISkew component support. ( #18212 )
2025-01-22 16:38:56 +08:00
sunxunle
1524ae1db2
chore: remove redundant words ( #18215 )
...
Signed-off-by: sunxunle <sunxunle@ampere.tech >
2025-01-22 15:27:32 +08:00
James Chen
9b4dfdb0fb
Node.x/y/z are back. ( #18228 )
...
It will be easier for just set one axis value. For example, while using Tween animation, we want to make a sprite jump up and down forever and move x to 100, it will be hard to do that if Node.x/y/z are absent.
2025-01-22 09:54:31 +08:00
James Chen
36d3d58268
[v3.8.6] Fix 'as any' in ui-component.ts which will lost type for UIComponent ( #18218 )
2025-01-21 10:35:08 +08:00
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