qiuguohua
bae1a4ad64
If the parent node has a uiopacity component, it does not need to be initialized ( #16526 )
...
* If the parent node has a uiopacity component, it does not need to be initialized
---------
Co-authored-by: qgh <>
2023-11-30 11:19:11 +08:00
SijieWang
02f35dd266
Merge pull request #16442 from cocos/v3.8.1
...
Revert "Fix sprite size mode change by preload (#15908 )" (#16388 )
2023-10-26 11:19:24 +08:00
Leslie Leigh (李的序)
3781d34b34
Label component inspector localization ( #16234 )
...
* Label component inspector localization
* Update editor/i18n/zh/modules/ui.js
* Update
2023-10-11 14:47:54 +08:00
Santy-Wang
c4fcece553
Revert "Fix sprite size mode change by preload ( #15908 )" ( #16388 )
...
This reverts commit 93e397e9f0 .
2023-10-09 19:10:00 +08:00
ChiaNing
d2d7623e9d
Integration of outline and shadow to label ( #16106 )
...
* Integration of outline and shadow to label
* add test
* change getter/setter
* name change & use assert
* test name change
* name change
* fix
* remove old attribute & add visible
* remove assert
* fix: gulp-build-h5-source
* Revert "fix: gulp-build-h5-source"
---------
Co-authored-by: PP_Pro <chinese1236@qq.com >
2023-09-20 11:14:42 +08:00
ChiaNing
70b7875101
don`t destroy sub com when mask destroy ( #16162 )
2023-09-01 15:36:47 +08:00
ChiaNing
ba93769911
fix mask change sprite size mode Bug ( #16047 )
2023-08-21 12:01:27 +08:00
zxx43
0b8b6981b6
fix uimeshrender in native ( #15879 )
...
* fix uimeshrender in native
* fix eslint
2023-08-18 10:22:12 +08:00
pandamicro
9b08b34a2b
Replace Renderer setMaterial with setSharedMaterial ( #15980 )
...
* Replace Renderer setMaterial with setSharedMaterial
* Fix all usage of Renderer.setMaterial
* Soft deprecate Renderer.setMaterial
* Remove unnecessary change
2023-08-17 13:15:21 +08:00
ChiaNing
93e397e9f0
Fix sprite size mode change by preload ( #15908 )
...
* Fix sprite size mode change by preload
* fix on runtime
2023-08-17 10:04:39 +08:00
ChiaNing
a7213c3b6c
RichText: support set default font color ( #15669 )
...
* add richText default color
* doc
2023-08-16 14:11:03 +08:00
ChiaNing
dfe70e83a4
deprecated UIMeshRenderer ( #15956 )
...
* deprecated UIMeshRenderer
* update
* add info
* fix CI
2023-08-16 11:20:03 +08:00
pandamicro
41a16d7322
Fix ci
2023-07-26 12:07:22 +08:00
pandamicro
381505cc28
Merge remote-tracking branch 'cocos-for-editor/v3.8.0' into v3.8.1
...
# Conflicts:
# cocos/3d/framework/mesh-renderer.ts
# cocos/rendering/custom/executor.ts
# cocos/rendering/post-process/passes/fxaa-pass.ts
# cocos/spine/skeleton.ts
2023-07-25 22:16:11 +08:00
Canvas
81ab041446
fix spine opacity failure. ( #15765 )
2023-07-18 23:55:23 +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
dogeFu
60c9eaa376
fix : undo remove label component cause error in editor ( #15475 )
...
* fix : add onRestore implement for label component
* refactor code
2023-06-20 13:50:56 +08:00
PP
b8a96f0080
fix type in debug.ts ( #15426 )
...
* fix type in debug.ts
2023-06-14 11:33:00 +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
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
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
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
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
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
ddeba2863c
Update UIMeshRender model pre frame ( #13738 )
2022-12-08 15:45:11 +08:00
minggo
7294de16f6
Adjust core import ( #13230 )
...
* fix import style of core module
* fix decorator usage
2022-11-07 15:01:31 +08:00
minggo
83a2717fac
Fix module import ( #13140 )
...
* fix core module import style
* import murmurhash2_32_gc from core module
* do not export visibleRect
2022-10-25 16:38:38 +08:00
santy-wang
91c884362d
Merge branch 'v3.6.2' of github.com:cocos-creator/engine into v3.6.1-sync
2022-10-11 20:12:14 +08:00
Zhang mingzhen
37e67d55c8
Richtext add child optimization v3.7 ( #13002 )
...
* add child optimization(in 3.6.2)
(cherry picked from commit 6f44dd375faa1d62becf25818abc4f83ad7e08d1)
* add estimation before calculate size precisely
(cherry picked from commit 92b26a6f6b8f78abd2bcafffbe2a9c86b18a1e50)
* add anotations
Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com >
2022-10-10 16:00:56 +08:00
Zhang mingzhen
bfa5a0ef18
richtext addChild optimization ( #12928 )
...
* 1. remove rebundant invoking
2. ttf canvas texture resizes to width and height as (1,1)
* remove start() and move it to onLoad()
Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com >
2022-09-28 11:39:29 +08:00
minggo
95a76235b6
Adjust some files ( #12910 )
...
`cocos/core` should not depend other modules, so move some files out of `cocos/core`:
- move some files from `cocos/core` to `cocos/game`
- director.ts
- splash-screen.ts
- game.ts
- move `cocos/core/root.ts` to `cocos/root.ts` as there is not better module to contain `root.ts`.
- move `cocos/core/platform/view.ts` to `cocos/ui/view.ts` as screen related logic is moved to `cocos/core/platform/screen.ts`
2022-09-28 09:34:35 +08:00
Zhang mingzhen
f40cbe910d
sort the attributes ( #12904 )
...
Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com >
2022-09-27 14:44:25 +08:00
minggo
0d7c5c8f56
move cocos/core/scene-graph to cocos/scene-graph ( #12868 )
...
* move `cocos/core/scene-graph` to `cocos/scene-graph`
* move some files in `cocos/core/components` to `cocos/scene-graph`:
- component.ts
- component-event-handler.ts
- component-event-handler-schema.ts
* move some files in `cocos/core/components` to `cocos/misc`:
- missing-script.ts
- model-renderer.ts
- renderer.ts
- camera-component.ts
* move `cocos/core/components/system.ts` to ``cocos/core/system.ts``
2022-09-26 11:02:22 +08:00
minggo
bd0fcc67c4
move cocos/core/pipeline to cocos/rendering ( #12797 )
...
* move cocos/core/pipeline to cocos/rendering
2022-09-16 16:10:26 +08:00
minggo
b035f697bf
Merge pull request #12769 from cocos/v3.6.1
...
V3.6.1
2022-09-15 09:46:23 +08:00
santy-wang
7bbad4a0a4
Merge branch 'develop' of github.com:cocos-creator/engine into v3.6.1-sync
2022-09-14 11:47:58 +08:00
ChiaNing
6ec93687b5
mask node active bug fix ( #12734 )
...
* mask node active bug fix
* misc
2022-09-09 19:33:49 +08:00
minggo
4261ccae76
move cocos/core/renderer to cocos/render-scene ( #12729 )
...
* move cocos/core/renderer to cocos/render-scene
* fix compiling error on native
2022-09-09 18:19:06 +08:00
ChiaNing
2f1567bb7d
mask interface deprecated ( #12667 )
...
* mask interface deprecated
* fix
* warn add
* warnid
* msic
2022-09-09 16:34:43 +08:00
Zhang mingzhen
63ee31606a
when checking useSystemFont, the fontFamily should appear ( #12684 )
...
Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com >
2022-09-08 10:36:54 +08:00
minggo
2f10f48c15
adjust some folders ( #12712 )
...
move cocos/core/asset-manager to cocos/asset/asset-manager
move cocos/core/assets to cocos/asset/assets
merge cocos/core/builtin to cocos/asset/asset-manager
2022-09-07 18:45:54 +08:00
minggo
aba9fdb63f
Merge branch 'v3.6.1' into merge_v3.6.1
2022-09-02 20:08:18 +08:00