James Chen
6114a567ab
Fix CanvasRenderingContext leaks which caused by circular dependencies on JSVM backend. ( #18493 )
2025-03-23 21:45:06 +08:00
James Chen
a3a6cc692c
Optimize code size for text-processing.ts ( #18263 )
2025-02-05 15:26:15 +08:00
James Chen
e400883bd4
[v3.8.6] Use array.forEach instead of for of to optimize code size ( #18112 )
2025-01-10 14:42:56 +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
James Chen
32727868b0
Reduce the generated javascript code size ( #17491 )
2024-08-06 18:14:44 +08:00
James Chen
ff41269aff
[native] Fix a memory leak while changing label ( CacheMode: NONE) text. ( #17177 )
2024-06-19 11:37:23 +08:00
qiuguohua
afa8e1313c
support char mode emoji and multibyte emoji like 👨👩👧👦 ( #16738 )
...
* support char mode emoji and multibyte emoji like 👨👩👧👦
https://github.com/cocos/cocos-engine/issues/15192
* 1. Optimize character expression processing
2. Add unit test
---------
Co-authored-by: ankye <shengxiehua@gmail.com >
Co-authored-by: qiuguohua <guohua.qiu@cocos.com >
2024-03-04 09:48:42 +08:00
ankye sheng
c900e93951
bug fixed label Problems with using stroke and shadow ( #16673 )
...
* bug fixed label Problems with using stroke and shadow
https://github.com/cocos/cocos-engine/issues/16666
* fixed only shadow filltext twice
* Remove useless code
2024-01-23 09:45:47 +08:00
qiuguohua
a5d091cb57
Fixed an issue where fntConfig may be null and report an error. ( #16618 )
...
Co-authored-by: qiuguohua <guohua.qiu@cocos.com >
2023-12-19 09:56:33 +08:00
minggo
802a1f0959
Merge branch 'v3.8.0' into v3.8.1-merge-v3.8.0
...
Conflicts:
cocos/core/utils/x-deprecated.ts
cocos/physics/bullet/instantiated.ts
cocos/physics/framework/components/character-controllers/character-controller.ts
cocos/render-scene/scene/shadows.ts
cocos/rendering/render-shadow-map-batched-queue.ts
cocos/spine/lib/instantiated.ts
cocos/spine/lib/spine-define.ts
cocos/spine/skeleton.ts
native/cocos/editor-support/spine-wasm/AtlasAttachmentLoaderExtension.cpp
native/cocos/editor-support/spine-wasm/spine-skeleton-instance.cpp
native/cocos/editor-support/spine-wasm/spine-skeleton-instance.h
native/cocos/editor-support/spine-wasm/spine-type-export.cpp
native/cocos/editor-support/spine-wasm/spine-wasm.cpp
native/external-config.json
2023-07-12 16:02:10 +08:00
ChiaNing
7f201a0ca3
fix label Precision ( #15594 )
2023-07-03 17:40:14 +08:00
minggo
7ef995b655
Merge branch 'v3.8.0' into v3.8.1-merge-v3.8.0
...
Conflicts:
cocos/3d/lights/spot-light-component.ts
cocos/animation/event/event-emitter.ts
cocos/physics-2d/box2d/physics-contact.ts
cocos/physics-2d/box2d/physics-world.ts
cocos/physics-2d/box2d/platform/physics-contact-listener.ts
cocos/physics-2d/builtin/builtin-world.ts
cocos/physics/framework/components/constraints/configurable-constraint.ts
cocos/spine/assembler/simple.ts
cocos/spine/skeleton.ts
native/cocos/editor-support/spine-wasm/spine-model.cpp
native/cocos/editor-support/spine-wasm/spine-model.h
native/cocos/editor-support/spine-wasm/spine-skeleton-instance.cpp
native/cocos/editor-support/spine-wasm/spine-skeleton-instance.h
native/cocos/editor-support/spine-wasm/spine-type-export.cpp
native/external-config.json
2023-07-03 15:25:13 +08:00
ChiaNing
8e5ea9342c
fix label limit canvas size bug ( #15514 )
...
* fix label limit canvas size bug
* limit recursion time
* fix
* fix
* move
* change
* change
* name change
2023-06-29 18:58:04 +08:00
minggo
e7c5b34e18
Merge branch 'v3.8.0' into v3.8.1-merge-v3.8.0
...
Conflicts:
cocos/2d/assembler/label/text-processing.ts
cocos/physics/bullet/instantiated.ts
cocos/profiler/profiler.ts
cocos/rendering/custom/executor.ts
cocos/rendering/custom/index.ts
cocos/rendering/custom/web-pipeline.ts
cocos/rendering/pipeline-scene-data.ts
cocos/root.ts
cocos/spine/assembler/simple.ts
cocos/spine/lib/instantiated.ts
cocos/spine/lib/spine-define.ts
cocos/spine/skeleton.ts
2023-06-27 13:35:35 +08:00
ChiaNing
202e50ec55
fix bmfont render bug ( #15510 )
...
* fix bmfont render bug
* fix
2023-06-21 17:05:57 +08:00
ChiaNing
5edc55140d
Fix Android text truncation problem ( #15448 )
...
* Fix Android text truncation problem
* fix calculation bias
* move
* limit android
* Revert "limit android "
This reverts commit 12dfcd0b3ed82be0cf3cf16340859bfd444166d8.
* Revert "Revert "limit android ""
This reverts commit 2aaf4162ada7850672c532098e530636e593642f.
* remove round
* fix
2023-06-19 17:55:57 +08:00
PP
509d73b27d
merge branch v3.8.0-aot ( #15421 )
...
* PR1: add explicit function return type (#15311 )
* PR4: add explicit function return type (#15314 )
* [ci skip][AUTO]: Automated code generating update: 8843bfe54cd3f8e6f84432948716c8d130ecb233 (#15314 ) (#15357 )
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
* add function return type
* fix version checking
* fix return type
---------
Co-authored-by: Cocos Robot <48829427+cocos-robot@users.noreply.github.com >
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
2023-06-13 18:08:45 +08:00
ChiaNing
a88cdecadf
limit font scale to 1 ( #15367 )
...
* limit font scale to 1
* to fix 1
* move
2023-06-08 17:48:48 +08:00
ChiaNing
eb94bbaefe
fix font scale limit bug ( #15342 )
...
* fix font scale limit bug
* name change
2023-06-07 10:39:56 +08:00
ChiaNing
7b60d75daa
HD processing of ttf mode labels ( #15206 )
...
* Adding ttf is affected by dpr
* Adding Char mode is affected by dpr
* move dpr to style
* rebase & add max font size
* name change
* remove use less
* misc
2023-06-05 18:14:22 +08:00
ChiaNing
0796fb1e3d
Text Processing Refactoring ( #14739 )
...
* text processing file add
* processing String
* render & effect
* bmfont add
* char mode add
* code collate
* use less remove
* after rebase and change Sync
* add data class
* fix bm font clamp bug
* fix bitmap mode
* fix ci
* fix misc
* fix ci
* remove some code
* remove data class
* name change
* bug fix
2023-05-25 11:56:45 +08:00