Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
244 commits
Select commit Hold shift + click to select a range
509d73b
merge branch v3.8.0-aot (#15421)
PPpro Jun 13, 2023
8f0070d
[ci skip][AUTO]: Automated code generating update: 5ea295c1664096367b…
cocos-robot Jun 13, 2023
b8a96f0
fix type in debug.ts (#15426)
PPpro Jun 14, 2023
7e86eb0
fix type in scheduler.ts (#15431)
PPpro Jun 14, 2023
6b171d2
Uniform the way to set a property's type as enum (#15440)
shrinktofit Jun 15, 2023
deb6614
fix type in node-activator.ts && component-scheduler.ts (#15444)
PPpro Jun 15, 2023
923f8ec
Repair the problem of invalid game.end on web platform and minigame p…
qiuguohua Jun 15, 2023
06f136f
Merge branch 'v3.8.0' into merge-3.8.0
minggo Jun 19, 2023
53f4200
Merge pull request #15478 from minggo/merge-3.8.0
minggo Jun 19, 2023
f9d7a40
Refactor native-pack-tool/windows run logic (#15523)
PatriceJiang Jun 26, 2023
4958306
fix mac editbox show bug when resize (#15533)
novain1102 Jun 26, 2023
02716c4
Fix the memory leak caused by excessive simultaneous playback of soun…
bofeng-song Jun 27, 2023
e7c5b34
Merge branch 'v3.8.0' into v3.8.1-merge-v3.8.0
minggo Jun 27, 2023
f148e66
fix compiling error
minggo Jun 27, 2023
0b9c304
Merge pull request #15551 from minggo/v3.8.1-merge-v3.8.0
minggo Jun 27, 2023
491c0cf
[AOT] fix type for AOT engine (#15526)
PPpro Jun 27, 2023
4c0f664
[AOT] add type for AOT engine (#15527)
PPpro Jun 28, 2023
a0e3037
Add test utils: vec3, quat equality matcher and pseudo random generat…
shrinktofit Jun 29, 2023
324e475
Update swig to cocos-v1.1.5 to resolve function name of glue code for…
dumganhar Jun 30, 2023
3921bd7
fix editbox scale bug when node rotate (#15591)
novain1102 Jun 30, 2023
cf843a1
support taa mask (#15592)
2youyou2 Jul 3, 2023
ea695c2
Fix widget bug in the editor when scale is not 1 (#15545)
LinYunMo Jul 3, 2023
7ef995b
Merge branch 'v3.8.0' into v3.8.1-merge-v3.8.0
minggo Jul 3, 2023
bb6131a
Merge pull request #15603 from minggo/v3.8.1-merge-v3.8.0
minggo Jul 3, 2023
1d85b94
All games, mini-programs, and runtime platforms with onWindowResize n…
bofeng-song Jul 5, 2023
b3eeaba
add constrain for wechat logo default ratio (#15627)
novain1102 Jul 6, 2023
083e3b2
[fix] physx rigid body sleep issues (#15625)
lealzhan Jul 6, 2023
ff40e74
Tweak deserialization code (#15630)
shrinktofit Jul 6, 2023
a3ee06e
Optimize unit test; support overriding constants in per-test-suite (#…
shrinktofit Jul 6, 2023
79bec57
[AOT] fix: crash when setting uniform of particle system (#15639)
PPpro Jul 7, 2023
cc35a61
fix: crash on OH 4.0 (#15656)
PPpro Jul 10, 2023
f608d98
Prevent jest from transforming physics external module (#15653)
shrinktofit Jul 10, 2023
47694d5
Animation: fix ExoticVectorLikeTrackValues field serialization (#15507)
shrinktofit Jul 10, 2023
dd55b22
fix wechat videoplayer pause&stop&play bug (#15668)
novain1102 Jul 10, 2023
09f83b4
Optimization of user warnings when checking "Use Baked Animation. (#1…
knoxHuang Jul 11, 2023
ddc19f1
Remove useless code (#15670)
SantyWang Jul 11, 2023
3c963bb
optimize inspector interface when edit node (#15679)
arsen2010 Jul 12, 2023
57414e2
fix videoPlayer puase seekTo bug (#15678)
novain1102 Jul 12, 2023
43b9fd4
PoseGraph: fix apply transform node (#15632)
shrinktofit Jul 12, 2023
aa53a8b
fixed #15688: [JSB] Assertion was triggered if bind an inner class wh…
dumganhar Jul 12, 2023
802a1f0
Merge branch 'v3.8.0' into v3.8.1-merge-v3.8.0
minggo Jul 12, 2023
85198e3
Merge pull request #15692 from cocos/v3.8.1-merge-v3.8.0
minggo Jul 12, 2023
7465cf6
Fix LOD can not work normally while node's active changed dynamically…
bofeng-song Jul 13, 2023
b826a43
fix videoPlayer change Source related bug (#15695)
novain1102 Jul 13, 2023
3a470a6
Add utilities to check integrity of pal implementations (#15694)
shrinktofit Jul 13, 2023
d31a3d6
fix #15704: [swig] The generated glue code is wrong if rename an inne…
dumganhar Jul 14, 2023
e6dc221
change heightmap range (#15716)
MSoft1115 Jul 14, 2023
f87d196
Add Vec3.generateOrthogonal (#15705)
shrinktofit Jul 14, 2023
f26e2c4
Upgrade eslint, relax eslint rule explicit-function-return-type (#15723)
shrinktofit Jul 14, 2023
2599614
Fix eslint (#15728)
shrinktofit Jul 14, 2023
b324a21
Upgrade CI node (#15743)
shrinktofit Jul 14, 2023
45a8011
Bump CI Node version to 16.x (#15751)
shrinktofit Jul 17, 2023
fb2f76d
Repair mac platform to open the pointerlock click mouse will appear o…
qiuguohua Jul 17, 2023
ebfcbb6
[AOT] fix ts engine compile (#15745)
PPpro Jul 17, 2023
95c93e5
refine: Optimize the display of the editing box on the Android platfo…
bofeng-song Jul 17, 2023
7a48414
fix test (#15755)
star-e Jul 17, 2023
e5802a5
Merge branch 'v3.8.0' into v3.8.1-merge-v3.8.0
minggo Jul 18, 2023
979e3c9
V3.8.1 msaa (#15584)
star-e Jul 18, 2023
9415d1b
Merge pull request #15757 from minggo/v3.8.1-merge-v3.8.0
minggo Jul 18, 2023
b21499f
Fix potential error: cache invalid player due to object's destroy (#1…
bofeng-song Jul 19, 2023
839a086
Add smallestScreenSize to Manifest.xml (#15763)
bofeng-song Jul 19, 2023
41304cf
fix setter for node.siblingIndex (#15776)
PatriceJiang Jul 19, 2023
9ce02b5
use boost-bcp to reduce external size (#15770)
PatriceJiang Jul 20, 2023
ebbba60
Fix videoplayer status after pause&finish (#15782)
novain1102 Jul 20, 2023
6d666d2
Fix the problem of incorrect screen resolution after resize. (#15785)
qiuguohua Jul 20, 2023
9cffcaa
add multi-layers lighting model and fix direct specular (#15778)
jk20012001 Jul 20, 2023
d83d2ac
fix reflection probe type for skin and instancing (#15789)
xubing0906 Jul 20, 2023
aacc0d7
add help for reflection probe and rename Fxaa (#15790)
xubing0906 Jul 21, 2023
775b794
Fix clip visiting in animation controller; fix typo (#15791)
shrinktofit Jul 21, 2023
3ca7d08
Animation components localization (#15701)
shrinktofit Jul 21, 2023
72db332
add light probe group help (#15797)
stanleyljl Jul 21, 2023
acab20f
fix multi touch cause crash on Android platform (#15796)
bofeng-song Jul 24, 2023
0695573
sky effect support blend and fog (#15801)
jk20012001 Jul 25, 2023
d97d3c6
add global post settings (#15558)
xubing0906 Jul 25, 2023
32245a2
fix : node._instantiate has different behavior in native scene (#15816)
dogeFu Jul 25, 2023
381505c
Merge remote-tracking branch 'cocos-for-editor/v3.8.0' into v3.8.1
pandamicro Jul 25, 2023
b6bcc12
Solve unchecked websocket link failure issue (#15799)
qiuguohua Jul 26, 2023
31342c4
Update editable.ts (#15820)
shrinktofit Jul 26, 2023
b9c259e
add shader functions (#15814)
jk20012001 Jul 26, 2023
2e2b7ec
fixed fsr input/output size (#15798)
2youyou2 Jul 26, 2023
e8e704c
fixed fsr/fxaa alpha (#15800)
2youyou2 Jul 26, 2023
41a16d7
Fix ci
pandamicro Jul 26, 2023
546b362
Fix circular dependencies
pandamicro Jul 26, 2023
e0bfd7e
Fix DS_Store ignore in tempaltes
pandamicro Jul 26, 2023
6142245
Fix circular dependencies
pandamicro Jul 26, 2023
6661292
Merge pull request #15818 from pandamicro/v3.8.1
pandamicro Jul 26, 2023
0d4e549
[Bug] fix widget undo bug (#15741)
arsen2010 Jul 26, 2023
a9ffcad
[Bug] when editor change language,update fbx editing interface (#15762)
arsen2010 Jul 26, 2023
30061b1
reflectionprobe manager add function for users (#15824)
xubing0906 Jul 26, 2023
cd90419
fix editing fbx animation events interface bug (#15718)
arsen2010 Jul 26, 2023
f20bf8c
init reflection probe id with native engine (#15829)
xubing0906 Jul 28, 2023
44795e4
Workflow: fix interface check workflow comment (#15795)
shrinktofit Jul 31, 2023
75add41
fix: asm.js subpackage without spine module (#15822)
PPpro Jul 31, 2023
da25afc
Modify compileType's default value to minigame (#15815)
bofeng-song Jul 31, 2023
715d5d1
fixed scene._instantiate on native platforms. (#15771)
dumganhar Jul 31, 2023
45926d2
fix shader lighting flow (#15833)
jk20012001 Jul 31, 2023
d73096a
Fix the problem of noise when playing web audio for more than 5 minut…
bofeng-song Jul 31, 2023
7487260
Eslint: fix indent rule for decorators (#15735)
shrinktofit Jul 31, 2023
762fd50
Eslint: off default-case-last (#15733)
shrinktofit Jul 31, 2023
95cd245
ESLint: replace no-empty-function with typescript version (#15732)
shrinktofit Jul 31, 2023
54c8141
refactor : call safeMeasureText when needed (#15754)
dogeFu Jul 31, 2023
4a2f290
Fix audio can not be paused & resume on mini game platform (#15811)
bofeng-song Aug 1, 2023
22388ba
The Taobao platform has improved the implementation of innerAudioCont…
bofeng-song Aug 1, 2023
5eddce9
PoseGraph: support editor decorators on node inputs (#15819)
shrinktofit Aug 1, 2023
06341f3
Uncapture global mouse events. (#15834)
qiuguohua Aug 2, 2023
326ba66
implement some wechat splashScreen features (#15827)
novain1102 Aug 2, 2023
3c6a849
fix some bugs for cyberpunk demo on OH platform (#15846)
PPpro Aug 3, 2023
c7195e8
fix 2d particle and tiledMap prefab position problem (#15836)
dogeFu Aug 4, 2023
31324e5
cancel restore prefab undo record (#15808)
dogeFu Aug 4, 2023
c6cc635
fix: terrain data lost when open prefab in editor (#15841)
dogeFu Aug 4, 2023
1cbe27b
fix reflection probe affected by sky rotation (#15857)
jk20012001 Aug 4, 2023
b37b73a
make allowDataAccess is only available at runtime. (#15835)
moshuying Aug 4, 2023
6fec320
fix spine-skeleton-instance.cpp 3.8.0 -> 3.8.1 missing code issue. (#…
Canvasfull Aug 7, 2023
a907d68
cmake/swig allow remove genereated/../temp directory (#15726)
PatriceJiang Aug 7, 2023
4b26cc8
fix PipelineStateChanged updating issue by performance optimization (…
troublemaker52025 Aug 7, 2023
b42a2fa
Optimize pack-manager for style&lint (#15872)
shrinktofit Aug 7, 2023
9f7bf8a
Update utils.ts, replace the random function, to make particle scenes…
zhifenghu Aug 7, 2023
5886a00
fix:camera trackingtype/cameratype jsb attribute lost (#15867)
oahc09 Aug 7, 2023
29bd5d6
improve:remove constraint-layout dependency on spaces template (#15868)
oahc09 Aug 7, 2023
b7ad5b1
fix skybox model not updated when onGlobalPipelineMacroChange (#15886)
xubing0906 Aug 7, 2023
592432c
[Optimize] compiled deserialization related code (#15892)
shrinktofit Aug 8, 2023
f55abfa
remove _fitDesignResolution function call in EVENT_AFTER_UPDATE (#15802)
moshuying Aug 9, 2023
0abd8c4
fix metal pvrtc upload issue (#15894)
bluesky013 Aug 9, 2023
1adef66
Mesh renderer(s) I18N (#15823)
shrinktofit Aug 9, 2023
71eedef
add sorting & tiled help doc (#15900)
LinYunMo Aug 9, 2023
904cdd8
fix: api issues in typedoc (#15826)
PPpro Aug 9, 2023
8c1a005
add http patch request process (#15898)
novain1102 Aug 9, 2023
b48581d
V3.8.1 pipeline (#15875)
star-e Aug 9, 2023
46a59ab
refactor : prefab code optimization and protection (#15845)
dogeFu Aug 9, 2023
e00bf29
fix glass effect and planar shadow bias (#15881)
jk20012001 Aug 10, 2023
e69ae56
remove ia pool. (#15880)
bluesky013 Aug 10, 2023
2e61800
revert custom pipeline pass order (#15915)
xubing0906 Aug 10, 2023
ad6e3dc
V3.8.1 pipeline (#15906)
star-e Aug 10, 2023
e1caa28
update migrated resources and meta files (#15919)
jk20012001 Aug 10, 2023
6b80095
refine: erase unneed audio operation & fix potential bug (#15884)
bofeng-song Aug 10, 2023
eded5a9
add updateEnvMap for native (#15889)
xubing0906 Aug 10, 2023
0eec682
fix incorrect display of preview plane for reflection probe (#15896)
xubing0906 Aug 10, 2023
78e3b6e
add preferredScreenEdgesDeferringSystemGestures to prevent accidental…
novain1102 Aug 10, 2023
fa0a4fe
fix Native Pipeline with render texture. (#15913)
bluesky013 Aug 11, 2023
6e65307
fix reset property in inspector (#15864)
arsen2010 Aug 11, 2023
60b5a7d
3.8.1 add spine jsb apis (#15674)
zxx43 Aug 11, 2023
c04f355
Merge branch 'v3.8.1-pipeline' of github.com:star-e/engine into v3.8.…
hana-alice Aug 11, 2023
85eaac8
revert Synchronize groundLightingColor settings from #14509 (#15931)
troublemaker52025 Aug 11, 2023
9aafdbd
fix switch Env Lighting Type in the editor displays incorrectly and p…
xubing0906 Aug 11, 2023
0c47721
fixed #15885: [bug] Crash or freeze if restarting game many times on …
dumganhar Aug 14, 2023
2b266ac
fix gles3 gl target (#15914)
bluesky013 Aug 14, 2023
8403962
AnimationGraph: fix clip overriding in nested structure (#15932)
shrinktofit Aug 14, 2023
4ca3c88
Fix the issue on some platform, the audio cannot start playing at the…
bofeng-song Aug 14, 2023
6d04a14
Re-support non-transform animation in animation graph (#15842)
shrinktofit Aug 14, 2023
ac4fa74
Windows: Suppressing the Warning When Linking (#15943)
PatriceJiang Aug 14, 2023
e09252e
export downloadJson and downloadArraybuffer (#15905)
SantyWang Aug 14, 2023
b76a405
remove duplicate codes and unify logic (#15854)
minggo Aug 14, 2023
7cbb06f
fix some eslint error (#15948)
minggo Aug 14, 2023
ceb15e9
Optimize CCON downloading code (#15950)
shrinktofit Aug 14, 2023
d007151
refine code style (#15947)
2youyou2 Aug 14, 2023
06327fe
fix webgl framebuffer get(width/ height) issue (#15927)
bluesky013 Aug 15, 2023
c24a518
Custom Pipeline Debug Marker && gfx push marker(gles2,3, vk) (#15957)
bluesky013 Aug 15, 2023
7a554ea
[Feature] Improve interacive preview (#15655)
moshuying Aug 15, 2023
c63fc76
update prefab meta version (#15907)
dogeFu Aug 15, 2023
88bad37
improve:xr pico enable detach device thread when use vulkan (#15926)
oahc09 Aug 15, 2023
22ab4b2
improve:xr pico use vk1.1 (#15959)
oahc09 Aug 15, 2023
012531f
Fix logic error of audio's currentTime (#15962)
bofeng-song Aug 15, 2023
dfe70e8
deprecated UIMeshRenderer (#15956)
LinYunMo Aug 16, 2023
e2b1e2c
show node component icon (#15850)
arsen2010 Aug 16, 2023
cdaff87
Optimize general animation performance 3.8.0 (#15582)
shrinktofit Aug 16, 2023
7ed24f8
update native/external-config to v3.8.1-10 (#15965)
lealzhan Aug 16, 2023
a7213c3
RichText: support set default font color (#15669)
LinYunMo Aug 16, 2023
02f7d6e
V3.8.1 mesh collider set mesh (#15520)
lealzhan Aug 16, 2023
1256656
deferred tone-mapping and fog with float output in custom pipeline (#…
troublemaker52025 Aug 16, 2023
b30c076
optimize the frequency of calls to onUpdateProbes. (#15858)
xubing0906 Aug 16, 2023
23f2227
Android Build Panel: Add `resizeableActivity` Option (#15713)
PatriceJiang Aug 16, 2023
544854c
add model invalidateLocalData interface (#15623)
LinYunMo Aug 16, 2023
6afc186
remove button wrong sprite set (#15949)
LinYunMo Aug 16, 2023
93e397e
Fix sprite size mode change by preload (#15908)
LinYunMo Aug 17, 2023
39acb65
use buffer size instead of capacity to initialize buffer (#15775)
zxx43 Aug 17, 2023
331fab3
SkeletalAnimation: disable animation baking in pure editor mode (#15977)
shrinktofit Aug 17, 2023
0a50141
add sheen lighting model and substance support for sheen and coat (#1…
jk20012001 Aug 17, 2023
6e7841f
fixed colorTemperatureRGB jsb binding. (#15972)
bluesky013 Aug 17, 2023
c0adb51
add jsb Slot::getAttachment & Slot::setAttachment (#15964)
zxx43 Aug 17, 2023
dd35619
Revert interface check (#15991)
shrinktofit Aug 17, 2023
9b08b34
Replace Renderer setMaterial with setSharedMaterial (#15980)
pandamicro Aug 17, 2023
ed670e7
NativePipeline external texture (#15946)
bluesky013 Aug 17, 2023
d988b23
Fix: Inactivated skeletal animation components shall not affect skinn…
shrinktofit Aug 17, 2023
7401b55
add java_home (#15996)
PatriceJiang Aug 17, 2023
310142e
[ci skip][AUTO]: Automated code generating update: 9a8c159ac0a52aeaaf…
cocos-robot Aug 17, 2023
4e1ddee
[ci skip][AUTO]: Automated code generating update: dec20a47dcf2f19290…
cocos-robot Aug 17, 2023
52cb79d
[fix] update primitives.fbx: sphere bbx now centerd at zero. #15300 (…
lealzhan Aug 17, 2023
1dc3142
[opt] when move() is called, character controller sync physics positi…
lealzhan Aug 17, 2023
56e00ba
optimize shader code size, remove unused space (#16011)
jk20012001 Aug 17, 2023
a51263c
fix ScrollView state bug when scrolling with mouse (#15709)
LinYunMo Aug 17, 2023
1df6a10
[Restore] additive light (#16016)
GengineJS Aug 17, 2023
7a3a4f1
add missed spine api (#16010)
zxx43 Aug 17, 2023
006bc62
fix planar reflection error under the native custom pipeline (#16014)
xubing0906 Aug 18, 2023
0b8b698
fix uimeshrender in native (#15879)
zxx43 Aug 18, 2023
cf8ceed
V3.8.1 cct trigger (#15613)
lealzhan Aug 18, 2023
a77a6c9
fix instanced buffer. (#16017)
bluesky013 Aug 18, 2023
541ef96
update: i18n text of CurveRange (#16019)
doommm Aug 18, 2023
c589518
disable show probe (#15887)
moshuying Aug 18, 2023
f4a7b95
fix sprite world matrix update bug (#15978)
LinYunMo Aug 18, 2023
daa4a4f
remove unnecessary code (#15687)
SantyWang Aug 18, 2023
92c37fc
fix the animation name is a number and is equal to the index. (#15871)
Canvasfull Aug 18, 2023
56417f3
improve:adjust xr begin/end render frame call's position (#16021)
oahc09 Aug 18, 2023
d8e75b2
[ci skip][AUTO]: Automated code generating update: bc27ce06eb5f4f8922…
cocos-robot Aug 18, 2023
b0745d5
add bytedance videoplayer support (#16031)
novain1102 Aug 18, 2023
be9a52d
export ISpriteFrameInitInfo for SpriteFrame reset (#16005)
pandamicro Aug 18, 2023
ae9b427
deprecate conetwsit constraint, use configurable constraint instead (…
yiwenxue Aug 18, 2023
e5488b7
V3.8.1 box2d wasm experimental (#15979)
lealzhan Aug 18, 2023
7c760c3
3.8.1 optimize particle pvdata type (#15928)
zxx43 Aug 18, 2023
c19d63d
Disallow using image bitmap by default (#16035)
SantyWang Aug 18, 2023
bde3cd4
Add adv mesh functionalities. (#16009)
yiwenxue Aug 21, 2023
63668b2
remember connected gamepad count (#16023)
PatriceJiang Aug 21, 2023
cfd5dc9
add message protocol manager for node editing (#15963)
arsen2010 Aug 21, 2023
22c5bbc
add a lot of missed functions for spine jsb (#16027)
zxx43 Aug 21, 2023
ba93769
fix mask change sprite size mode Bug (#16047)
LinYunMo Aug 21, 2023
20dd273
fix spine wasm api. (#16004)
Canvasfull Aug 21, 2023
46592f0
[ci skip][AUTO]: Automated code generating update: 0af68e43e95326958a…
cocos-robot Aug 21, 2023
f55f423
update meta (#16051)
LinYunMo Aug 21, 2023
62a9da1
Use sdl2 on mac platform (#16030)
qiuguohua Aug 21, 2023
d78725e
Adaptation of the xr platform 3.8.1 modification (#16056)
fqamic Aug 21, 2023
5f61d2a
fix fbx and widget bug in inspector (#16057)
arsen2010 Aug 21, 2023
13d01a4
mtl depth resolve feature query update (#16061)
hana-alice Aug 22, 2023
f330132
improve: effects list sorting in material panel (#16060)
doommm Aug 22, 2023
baea594
bump external tag (#16066)
SantyWang Aug 22, 2023
3febfab
fix rendering submesh typo (#16063)
yiwenxue Aug 22, 2023
5b5c3cf
fix custom pipeline load float-output-process error (#16071)
troublemaker52025 Aug 23, 2023
563e9f7
fix change language would not update help doc link (#16067)
arsen2010 Aug 23, 2023
aff8320
Fix : editor preview set fps no working (#16054)
dogeFu Aug 23, 2023
0f5609b
[Optimize] clear-platform supports passing arguments. (#16073)
VisualSJ Aug 23, 2023
a4990ce
Fix meshopt wechat (#16069)
yiwenxue Aug 23, 2023
da507e4
fix spine wasm api array bind (#16064)
Canvasfull Aug 23, 2023
e9ca89f
update external-config checkout to v3.8.1-17. (#16081)
Canvasfull Aug 23, 2023
e86f6d2
Does not handle mismatched touchid (#16078)
qiuguohua Aug 24, 2023
dee666c
fix: xr platform crash with new material change (#16092)
fqamic Aug 24, 2023
16d7206
Fix hot update for pipeline effects and Float-output-process flow (#1…
troublemaker52025 Aug 25, 2023
5071624
sheen lighting model (#16058)
jk20012001 Aug 25, 2023
24848f4
Revert "sheen lighting model (#16058)" (#16103)
jk20012001 Aug 25, 2023
d0ca802
fix glass material blend with fog (#16104)
jk20012001 Aug 25, 2023
a6b5b61
fix BlitScreen pass make tranparency with clear color (#16108)
jk20012001 Aug 25, 2023
88d585a
accept non array type (#16095)
PatriceJiang Aug 28, 2023
2ea2618
Use the resize event of SDL (#16072)
qiuguohua Aug 28, 2023
8da2d17
fix window resize issue with legacy pipeline. (#16113)
bluesky013 Aug 29, 2023
630fcc9
fix xr interface framebuffer issue. (#16082)
bluesky013 Aug 29, 2023
3e34a4c
remove default setting
2youyou2 Aug 29, 2023
e188376
enable msaa end fixed forward stage depth
2youyou2 Jun 17, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
34 changes: 27 additions & 7 deletions .eslintrc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ extends:
- plugin:@typescript-eslint/recommended
- plugin:@typescript-eslint/recommended-requiring-type-checking

plugins:
- '@typescript-eslint'
plugins: ["@typescript-eslint"]

settings:
import/resolver:
Expand Down Expand Up @@ -62,6 +61,7 @@ rules:
quotes: [warn, single, { allowTemplateLiterals: true }] # force single, but allow template literal
no-else-return: off # else-return is a common pattern which clearly expresses the control flow
no-unused-expressions: off # taken over by '@typescript-eslint/no-unused-expressions'
no-empty-function: off # taken over by '@typescript-eslint/no-empty-function'

##### AIRBNB-SPECIFIC RULE OVERRIDES #####

Expand All @@ -71,7 +71,14 @@ rules:
import/extensions: off # typescript doesn't support this
import/no-unresolved: off # TODO: fix internal modules
import/prefer-default-export: off # prefer named exports
indent: off # use @typescript-eslint/indent instead for better compatibility
indent: [error, 4, {
SwitchCase: 0,
ignoredNodes: [ # https://stackoverflow.com/a/72897089
"FunctionExpression > .params[decorators.length > 0]",
"FunctionExpression > .params > :matches(Decorator, :not(:first-child))",
"ClassBody.body > PropertyDefinition[decorators.length > 0] > .key",
]
}]

lines-between-class-members: off # be more lenient on member declarations
max-classes-per-file: off # helper classes are common
Expand All @@ -95,6 +102,7 @@ rules:
prefer-destructuring: off # auto-fix is not smart enough to merge different instances
linebreak-style: off # we don't enforce this on everyone's dev environment for now
spaced-comment: off # for license declarations
default-case-last: off # Place default case clause to first make it more clear that this switch statement has handled all cases

##### TYPESCRIPT-SPECIFIC RULE OVERRIDES #####

Expand All @@ -104,22 +112,31 @@ rules:
'ts-nocheck': true,
'ts-check': false,
}]
'@typescript-eslint/indent': [warn, 4, {
SwitchCase: 0
}]
'@typescript-eslint/no-unused-expressions': warn

# TODO: this is just too much work
'@typescript-eslint/explicit-module-boundary-types': off

# NOTE: We don't want to rely on TS automatic type inference
'@typescript-eslint/no-inferrable-types': off

# TODO: sadly we still rely heavily on legacyCC
'@typescript-eslint/no-unsafe-assignment': off
'@typescript-eslint/no-unsafe-call': off
'@typescript-eslint/no-unsafe-member-access': off

'@typescript-eslint/unbound-method': off # we exploit prototype methods sometimes to acheive better performace
'@typescript-eslint/no-explicit-any': off # still relevant for some heavily templated usages
'@typescript-eslint/no-empty-function': off # may become useful in some parent classes

'@typescript-eslint/no-empty-function': [error, {
allow: [
private-constructors,
protected-constructors,
decoratedFunctions,
overrideMethods,
]
}]

'@typescript-eslint/no-unused-vars': off # may become useful in some parent classes
'@typescript-eslint/no-non-null-assertion': off # sometimes we just know better than the compiler
'@typescript-eslint/no-namespace': [warn, { # we need to declare static properties
Expand All @@ -143,3 +160,6 @@ rules:

# Prefer the interface style.
'@typescript-eslint/consistent-type-definitions': [error, interface]
'@typescript-eslint/explicit-function-return-type': [error, {
allowIIFEs: true, # IIFEs are widely used, writing their signature twice is painful
}]
46 changes: 11 additions & 35 deletions .github/workflows/run_test_cases.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
name: run test cases

on:
pull_request:
pull_request_target:
issue_comment:
types: [created, edited]

permissions: read-all

# github.head_ref is only defined on pull_request events
concurrency:
group: ${{ github.workflow }}-${{ github.actor }}-${{ github.head_ref || github.run_id }}
Expand Down Expand Up @@ -281,38 +279,16 @@ jobs:
JOBID=`cat /usr/local/lib/node_modules/@cctest/scheduler/logs/PR-TEST/nowJobId.log`
cd ..
python3 -u ./python/main.py --target=job_editor --jobid=$JOBID
- name: Write comment body and issue number to file
uses: actions/github-script@v5
env:
PR_AUTHOR: ${{ steps.parse_pr.outputs.pr_author }}
EDITOR_VERSION: ${{ steps.run_test_cases.outputs.editor }}
TASK_STATUS: ${{ steps.run_test_cases.outputs.status }}
TASK_REPORT: ${{ steps.run_test_cases.outputs.report }}
JOB_ID: ${{ steps.run_test_cases.outputs.jobid }}
GITHUB_RUN_ID: ${{ github.run_id }}
PR_NUMBER: ${{ steps.get_pr.outputs.pr_number }}
- name: Update Comment
uses: peter-evans/create-or-update-comment@v1
with:
script: |
const fs = require('fs');
fs.writeFileSync('pr.txt', process.env.PR_NUMBER);
fs.writeFileSync('comment.txt', `@${process.env.PR_AUTHOR}, Please check the result of \`run test cases\`:
issue-number: ${{ steps.get_pr.outputs.pr_number }}
body: |
@${{ steps.parse_pr.outputs.pr_author }}, Please check the result of `run test cases`:
- Test Platform: PR-Test
- Editor Version: ${process.env.EDITOR_VERSION}
- Task Result: ${process.env.TASK_STATUS}
- Task URL: http://cctest.cocos.org/#/reportview/PR-TEST/${process.env.JOB_ID}/-1
- GitHub Action: https://github.com/cocos/cocos-engine/actions/runs/${process.env.GITHUB_RUN_ID}
- Editor Version: ${{ steps.run_test_cases.outputs.editor }}
- Task Result: ${{ steps.run_test_cases.outputs.status }}
- Task URL: http://cctest.cocos.org/#/reportview/PR-TEST/${{ steps.run_test_cases.outputs.jobid }}/-1
- GitHub Action: https://github.com/cocos/cocos-engine/actions/runs/${{ github.run_id }}
## Task Details
${process.env.TASK_REPORT}`);
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: pr.txt
path: |
pr.txt
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: comment.txt
path: |
comment.txt

${{ steps.run_test_cases.outputs.report }}
36 changes: 0 additions & 36 deletions .github/workflows/run_test_cases_pr_comment.yml

This file was deleted.

27 changes: 0 additions & 27 deletions .github/workflows/web-interface-check-pr-comment.yml

This file was deleted.

9 changes: 2 additions & 7 deletions .github/workflows/web-interface-check.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
name: <Web> Interface check

#on: push
on: [pull_request]
on: [pull_request_target]

# github.head_ref is only defined on pull_request events
concurrency:
group: ${{ github.workflow }}-${{ github.actor }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

permissions: read-all

jobs:
interface_check:
if:
Expand Down Expand Up @@ -81,9 +79,6 @@ jobs:
cat ./interface-diff.txt
node ./.github/workflows/interface-check-report.js

- name: Upload interface-diff.txt artifact
uses: actions/upload-artifact@v2
- uses: marocchino/sticky-pull-request-comment@v2
with:
name: interface-diff.txt
path: ./engine/interface-diff.txt

4 changes: 2 additions & 2 deletions .github/workflows/web-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
node-version: '16.x'

- name: Download external
run: |
EXT_VERSION=`node ./.github/workflows/get-native-external-version.js`
git clone --branch $EXT_VERSION --depth 1 https://github.com/cocos/cocos-engine-external native/external

- run: npm ci
- run: npx npm@6 ci

- name: Run ESLint
shell: pwsh
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ native/external/

scripts/typedoc-plugin/lib/
!templates/**/*
templates/**/.DS_Store

@types/consts.d.ts

Expand Down
1 change: 1 addition & 0 deletions @types/pal/input.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ declare module 'pal/input' {
* Class designed for gamepad input
*/
export class GamepadInputDevice {
private constructor(deviceId: number);
/**
* @engineInternal
*/
Expand Down
8 changes: 2 additions & 6 deletions @types/pal/screen-adapter.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,6 @@ declare module 'pal/screen-adapter' {
*/
public get resolution (): import('cocos/core/math').Size;

/**
* Update the resolution by resolutionScale.
* This method rebuilds the size of frame buffer and the size of canvas.
* This method should be called when window resized (fullscreen changing included) or the resolution scale changed.
*/
private _updateResolution ();
/**
* Get and set the resolution scale of screen, which will affect the quality of the rendering.
* Note: if this value is set too high, the rendering performance of GPU will be reduced, this value is 1 by default.
Expand Down Expand Up @@ -123,4 +117,6 @@ declare module 'pal/screen-adapter' {
}

export const screenAdapter: ScreenAdapter;

export {};
}
6 changes: 4 additions & 2 deletions @types/pal/system-info.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,12 @@ declare module 'pal/system-info' {
*/
public exit(): void;

on (event: PalSystemEvent, cb: (...args: any)=>void, target?: any): void;
off (event: PalSystemEvent, cb?: (...args: any)=>void, target?: any): void;
on (event: PalSystemEvent, cb: (...args: any) => void, target?: any): void;
off (event: PalSystemEvent, cb?: (...args: any) => void, target?: any): void;
// TODO: support onError
}

export const systemInfo: SystemInfo;

export {};
}
16 changes: 16 additions & 0 deletions EngineErrorMap.md
Original file line number Diff line number Diff line change
Expand Up @@ -3267,6 +3267,10 @@ PassUtils: illegal uniform handle, accessing uniform at offset %d

Pass: setUniform is invoked with incompatible uniform data type for binding %d, expected type is %s

### 12012

Can't set a material instance to a sharedMaterial slot

### 12100

The font size is too big to be fitted into texture atlas. Please switch to other label cache modes or choose a smaller font size.
Expand Down Expand Up @@ -3339,6 +3343,18 @@ Can not update a static mesh.

The primitiveIndex is out of range.

### 14202

meshopt asm decoder initialized

### 14203

meshopt wasm decoder initialized

### 14204

meshopt decoder error: %d

### 14300

Can not keep world transform due to the zero scaling of parent node
Expand Down
3 changes: 3 additions & 0 deletions cc.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,9 @@
"physics-2d-builtin": {
"modules": ["physics-2d-builtin", "physics-2d-framework"]
},
"physics-2d-box2d-wasm": {
"modules": ["physics-2d-box2d-wasm", "physics-2d-framework"]
},
"intersection-2d": {
"modules": ["intersection-2d"]
},
Expand Down
8 changes: 4 additions & 4 deletions cocos/2d/assembler/graphics/helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

const KAPPA90 = 0.5522847493;

export function arc (ctx: Impl, cx: number, cy: number, r: number, startAngle: number, endAngle: number, counterclockwise: boolean) {
export function arc (ctx: Impl, cx: number, cy: number, r: number, startAngle: number, endAngle: number, counterclockwise: boolean): void {
counterclockwise = counterclockwise || false;

let a = 0;
Expand Down Expand Up @@ -97,7 +97,7 @@
}
}

export function ellipse (ctx: Impl, cx: number, cy: number, rx: number, ry: number) {
export function ellipse (ctx: Impl, cx: number, cy: number, rx: number, ry: number): void {
ctx.moveTo(cx - rx, cy);
ctx.bezierCurveTo(cx - rx, cy + ry * KAPPA90, cx - rx * KAPPA90, cy + ry, cx, cy + ry);
ctx.bezierCurveTo(cx + rx * KAPPA90, cy + ry, cx + rx, cy + ry * KAPPA90, cx + rx, cy);
Expand All @@ -106,7 +106,7 @@
ctx.close();
}

export function roundRect (ctx: Impl, x: number, y: number, w: number, h: number, r: number) {
export function roundRect (ctx: Impl, x: number, y: number, w: number, h: number, r: number): void {
if (r < 0.1) {
ctx.rect(x, y, w, h);
} else {
Expand All @@ -127,12 +127,12 @@
}

export function tesselateBezier (
ctx: Impl, x1: number, y1: number,

Check failure on line 130 in cocos/2d/assembler/graphics/helper.ts

View workflow job for this annotation

GitHub Actions / Run ESLint

Expected newline between arguments/params

Check failure on line 130 in cocos/2d/assembler/graphics/helper.ts

View workflow job for this annotation

GitHub Actions / Run ESLint

Expected newline between arguments/params
x2: number, y2: number,

Check failure on line 131 in cocos/2d/assembler/graphics/helper.ts

View workflow job for this annotation

GitHub Actions / Run ESLint

Expected newline between arguments/params
x3: number, y3: number,

Check failure on line 132 in cocos/2d/assembler/graphics/helper.ts

View workflow job for this annotation

GitHub Actions / Run ESLint

Expected newline between arguments/params
x4: number, y4: number,

Check failure on line 133 in cocos/2d/assembler/graphics/helper.ts

View workflow job for this annotation

GitHub Actions / Run ESLint

Expected newline between arguments/params
level: number, type: number,

Check failure on line 134 in cocos/2d/assembler/graphics/helper.ts

View workflow job for this annotation

GitHub Actions / Run ESLint

Expected newline between arguments/params
) {
): void {
let x12 = 0;
let y12 = 0;
let x23 = 0;
Expand Down
Loading
Loading