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
58299f0ef4
fix label auto Atlas bug ( #15356 )
2023-06-07 18:40:20 +08:00
May2nd
d962a3d374
- fix memory leak on tiled resized ( #15212 )
...
Co-authored-by: Viet <>
2023-06-07 18:18:38 +08:00
dogeFu
09e000266d
feature : add EDITOR_NOT_IN_PREVIEW marco ( #15354 )
...
* feature : add marco for editor preview and refactor code with new marco
* refactor: replace GAME_VIEW with EDITOR_PREVIEW
* Revert "refactor: replace GAME_VIEW with EDITOR_PREVIEW"
This reverts commit e28953e9e7acbb49dc5bdc650b2ff65510d4b084.
* update cc config json
* refactor code
* remove uselese parentheses
* set ccglobal to be false
* skip global variable test case
2023-06-07 17:52:51 +08:00
ChiaNing
2862b75391
fix bm font anchor bug ( #15353 )
2023-06-07 14:56:08 +08:00
pandamicro
c8d3be08a3
Fix issues in Node.updateWorldTransform and UITransform.getBoundingBoxTo[World] ( #15273 )
...
* Fix transform update issue when only rotation is set to root node
* Fix UITransform.getBoundingBoxTo and UITransform.getBoundingBoxToWorld
* Improve API and test
* Fix native Node::updateWorldTransform
* Fix UITransform.getBoundingBoxTo
* Fix getBoundingBoxTo by ensuring one time rect transform
* Ignore zero sized rect for bounding box calculation
* Improve API doc
2023-06-07 11:10:28 +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
ChiaNing
548dbefd2e
fix rich text render bug ( #15081 )
2023-05-24 17:30:29 +08:00
minggo
a22d16bbe6
Merge branch 'v3.7.3' into merge_v3.7.3
2023-04-24 11:26:58 +08:00
zxx43
fbbdab53a4
use getSharedMaterial to replace getMaterial ( #14814 )
...
* use getSharedMaterial to replace getMaterial
* call getSharedMaterial directly
* modify note
2023-04-19 11:07:46 +08:00
ChiaNing
0e530a1d89
Fix Richtext miss string bug ( #14782 )
...
* some rich text bug hack
* fix rich Text miss String bug
* use temp size
* use global
* use vec2
2023-04-18 13:42:47 +08:00
ChiaNing
36750fb4b2
spriteRenderer sort bug ( #14785 )
2023-04-18 10:19:02 +08:00
pandamicro
585852b120
Export atlas manager to doc and improve API doc for it ( #14740 )
2023-04-13 19:31:58 +08:00
黄森斌
eefa3401ea
fix bug: some enum props of material show error interface ( #14767 )
2023-04-13 16:39:46 +08:00
May2nd
78b1fbfa83
- fix bmfont kerning scale ( #14776 )
...
Co-authored-by: Viet <>
2023-04-12 13:49:03 +08:00
ChiaNing
281bf038ea
remove blendFactor deprecated in UIRenderer ( #14777 )
2023-04-11 19:14:54 +08:00
PP
c2dc30ac95
revert fix crash on OH platform ( #14726 )
2023-04-06 10:55:19 +08:00
PP
a909e69982
update OH template for esmodule and ts engine compile ( #14714 )
2023-04-04 09:28:57 +08:00
minggo
60fa48ba7c
make UIRenderer._srcBlendFactor protected ( #14685 )
...
* make UIRenderer._srcBlendFactor public
2023-03-30 14:44:12 +08:00
minggo
37f89f4cb0
make UIRenderer._renderData as protected ( #14677 )
...
* make UIRenderer._renderData as public
2023-03-29 11:07:13 +08:00
minggo
5bc0fe59df
make _priority and _rootBufferDirty protected ( #14639 )
...
* make _priority and _rootBufferDirty protected
* change to function
2023-03-24 14:50:15 +08:00
PP
e01ac3ee05
add tracking issue for TODO item ( #14638 )
...
* issue 14637
* issue 14640: animation module
* issue 14642: serialize deserialize hack
* issue 7519: pal/image
* issue 14643: dynamic inject
* mark as NOTE
* issue 14644: native only
* issue 7512: pal/fs
2023-03-23 16:42:46 +08:00
PP
fa51b804b5
remove and ban @ts-expect-error ( #14572 )
...
* remove ts-expect-error usage in engine
* deprecate Scheduler interface
* remove JavaScriptCore
* set some engineInternal public property as getter setter
* fix build-declaration
* fix releaseManager export name conflict
* update scriptEngineType
* fix and update some comment
* remove w_mat, w_pos, w_rot, w_scale
* update renderer
* fix setRootBufferDirty not binding on native
* optimize floatToHashString
* mark NOTE
2023-03-20 13:48:26 +08:00
SijieWang
8487ecb43f
[Optimize] Streamlined Code impl.ts ( #14555 )
2023-03-15 18:02:39 +08:00
PP
cddfa8c47b
cherry-pick: AOT: add jsb interface type ( #14368 ) ( #14544 )
...
* cherry-pick: AOT: add jsb interface type (#14368 )
2023-03-15 11:40:55 +08:00
santy-wang
0a81bf445e
Merge branch 'develop' of github.com:cocos-creator/engine into v3.7.2
2023-03-13 16:51:47 +08:00
PP
386ec2895a
[cherry-pick] AOT-3: optimize uinstrict code ( #14315 ) ( #14523 )
...
* AOT: optimize uinstrict code
- mark some unstrict code as TODO
- remove some unstrict code
* update comment
* remove ts-check
# Conflicts:
# cocos/2d/framework/deprecated.ts
# cocos/asset/assets/image-asset.jsb.ts
# cocos/asset/assets/texture-base.ts
# cocos/core/assets/image-asset.ts
# cocos/core/math/rect.ts
# cocos/core/scene-graph/scene-globals.jsb.ts
# cocos/native-binding/impl.ts
# cocos/scene-graph/node-dev.ts
# cocos/scene-graph/scene-globals.ts
# exports/sorting.ts
2023-03-10 13:36:45 +08:00
ChiaNing
512856d6ec
fix char label color bug ( #14467 )
2023-03-06 13:52:13 +08:00
李吉林
e5fe41fbdd
remove abs from rhw in transformMat4 ( #14483 )
2023-03-06 11:03:27 +08:00
Yiwen
633f738b07
Math tune ( #14419 )
...
* fix math lib & add unit test
2023-03-02 14:34:53 +08:00
ChiaNing
83945196d8
release iaPool on iOS 14 ( #14436 )
...
* release iaPool on iOS 14
* name change
* rename
2023-03-02 14:07:31 +08:00
zhakesi
b44cf3bef8
fix localDescriptorSet pool cause a memory leak ( #14431 )
2023-03-02 13:40:53 +08:00
ChiaNing
ad09bd6e65
Fix the bug that drawCall is still submitted when opacity is 0 ( #14381 )
...
* Fix the bug that drawCall is still submitted when opacity is 0
* use approx
2023-03-01 18:04:41 +08:00
ChiaNing
82f11e00a1
update ui vb when renderFlag change by color ( #14405 )
2023-03-01 17:50:15 +08:00
王凯鹏
ecaafc853d
[Bug] fix tween color cause console error in editor preview ( #14412 )
...
* [Bug]fix tween color console error in editor preview
* [Bug] 调整修改方式
2023-03-01 14:42:58 +08:00
ChiaNing
c5b60cb5be
fix export api bug ( #14409 )
2023-02-28 18:36:47 +08:00
ChiaNing
a769f3fb5a
change node dirtyFlag name & add interface ( #14396 )
...
* change node dirtyFlag name & add interface
2023-02-28 13:47:23 +08:00
ChiaNing
61a08da3db
Protection when using frame ( #14157 )
2023-02-10 10:41:14 +08:00
ChiaNing
b603baae23
Improve api doc (2d&UI) ( #13898 )
...
* Improve api doc (2d&UI)
* remove @internal
* msic
* remove eracut
* update doc
* Update
* fix
* misc
2023-02-08 14:25:48 +08:00
Santy-Wang
e2a04dd7bd
add more api docs ( #13937 )
...
* print the engine version
* refine docs
* refine docs
* refine docs
* add more docs
* fix some error
* add pipeline and task docs
* refine
* refine
* fix d.ts error
* refine and add uuid getter
* fix syntax
* refine link
2023-01-10 12:00:45 +08:00
ChiaNing
168421df9f
Remove forEach from batcher-2d.ts ( #13983 )
...
* Remove forEach from batcher-2d.ts
* version update
2023-01-03 11:04:40 +08:00
pandamicro
afd22296b4
MIT license update and to new year 2023 ( #13927 )
...
* Cpp MIT license update and to date
* TS MIT license update and to date
2022-12-28 11:25:12 +08:00
ChiaNing
c24c02ecc3
Label Bug Fix: init chunk when createData ( #13851 )
2022-12-20 14:06:26 +08:00
ChiaNing
3d3847f2d9
fix ui transform recursion bug ( #13848 )
2022-12-19 16:14:34 +08:00
江战
f6854cd16e
native introduce jsb.window ( #13816 )
2022-12-16 13:50:59 +08:00
zhakesi
4551b690a2
fix 2d module mesh buffer indices out of range ( #13715 )
...
* fix 2d module mesh buffer indices out of range
* use resize instead of checkSpace
2022-12-08 16:35:49 +08:00
ChiaNing
ddeba2863c
Update UIMeshRender model pre frame ( #13738 )
2022-12-08 15:45:11 +08:00
ChiaNing
0f815a5244
fix UI material instance bug ( #13583 )
...
* fix UI material instance bug
* use less remove
* change
Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com >
2022-12-06 10:34:58 +08:00