Commit Graph

20045 Commits

Author SHA1 Message Date
minggo bcc581dfd7 Merge branch 'v3.7.3' into develop_merge_v3.7.3 2023-03-24 10:57:28 +08:00
PP 4a4be6df55 publish build-engine 4.4.1-oh.3 to fix editor npm install (#14648)
* publish build-engine 4.4.1-oh.1

* publish build-engine@4.4.1-alpha.2

* publish build-engine 4.4.1-oh.3
2023-03-24 09:20:28 +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
江战 0e9c26c216 signature for @type has changed: (#14634) 2023-03-23 13:46:45 +08:00
Zach Lee 1ac6e923f8 fix webgl2 clear color issue on wechat mini game. (#14636) 2023-03-23 13:41:22 +08:00
qiuguohua b615b2c672 Add openharmony platform definition (#14617)
* Add openharmony platform definition
2023-03-22 16:11:51 +08:00
PP 55dde0c1d7 support native ts build on CI to detect native type (#14629)
* support native ts build

* ban noImplicitAny
2023-03-22 15:40:02 +08:00
PP 3cb698c8aa add more jsb interface info && fix some types (#14628)
* add jsb interface info

* mark TODO

workaround

* fix type

* remove some new ts-expect-error

* fix type in strict mode
2023-03-22 15:22:09 +08:00
minggo 80a81478e9 support fixed delta time (#14605)
* support fixed delta time

* use frameTime as fixed delta time
2023-03-22 10:20:36 +08:00
PP dcc0b8d52e support SafeArray and SafeRecord to optimize type checking (#14595)
* support SafeArray and SafeRecord to optimize type checking
2023-03-22 10:19:39 +08:00
Yiwen 37ec507d2c fix the typo in jsb-editbox (#14621) 2023-03-21 16:29:42 +08:00
James Chen 756dbb736d Fix GlobalObject.runOnUiThread, keep the same logic as Activity.runOnUiThread. (#14616)
If we didn't fix this, ANR will be triggered in WebView test. But I think CocosWebView implementation is wrong.
Currently, CocosWebView.ShouldStartLoadingWorker.run is invoked in UI thread. latch.await is also called in UI thread, which is really dangerous and easily causes infinite waiting.
2023-03-21 16:26:16 +08:00
PP 28c6b0dc6c publish build-engine@4.4.1-alpha.12 (#14620) 2023-03-21 16:07:36 +08:00
James Chen 937eb10402 [android] Remove dependence of Activity, prepare for surface-less rendering (#14612)
* Use `context` instead of `activity` as possible.

* Remove unused JniNativeGlue.h include.

* Remove unused import.

* Update JniHelper.h/.cpp, JniHelper::sActivity -> JniHelper::sContext.

* Fix log output name in CocosHelper.java

* Rename the second parameter JniHelper::init from `activity` to `context`.

* Update todo in JniHelper::getActivity()
2023-03-21 11:54:23 +08:00
PP 3c3d03188d fix editor npm install (#14614) 2023-03-21 11:30:23 +08:00
PP 41b7ba154b publish build-engine 4.4.1-alpha.11 (#14611) 2023-03-20 18:14:39 +08:00
jk20012001 3602b4bc99 add support for transmit diffuse (#14495) 2023-03-20 17:21:02 +08:00
Cocos Robot 42a576e81f [ci skip][AUTO]: Automated code generating update: d4378c629b12f840c759777138ee8ffba4d359a5 (#14582) (#14607)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2023-03-20 15:20:19 +08:00
qiuguohua e68506916c Develop branch adapts to openharmony (#14582) 2023-03-20 14:18:52 +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
qiuguohua dfc34690e0 Fix the problem of mac system crashing on exit (#14603) 2023-03-20 10:47:00 +08:00
bofeng-song 24aa09670b support sepereate engine for taobao mini game (#14596)
* support sepereate engine for taobao mini game
2023-03-20 10:14:25 +08:00
changhua a53f3c6183 fix build task state error of run ios (#14583)
* fix build task state error of run ios

* Update scripts/native-pack-tool/source/platforms/ios.ts

Co-authored-by: SijieWang <itharbors@outlook.com>

---------

Co-authored-by: SijieWang <itharbors@outlook.com>
2023-03-16 19:27:08 +08:00
SijieWang 8487ecb43f [Optimize] Streamlined Code impl.ts (#14555) 2023-03-15 18:02:39 +08:00
mmyduckx 38c0ed4f95 add wechatprogram platform support (#14580)
* add wechatprogram platform support
2023-03-15 14:13:24 +08:00
zxx43 687876b05c remove radian range (#14560) 2023-03-15 13:49:01 +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
minggo cbadcf20f5 Merge pull request #14576 from cocos/v3.7.2
V3.7.2
2023-03-15 11:05:16 +08:00
媛媛 2d02a9db54 update version of prefab meta (#14561) 2023-03-15 10:25:54 +08:00
Zeqiang Li c86934fcbd split barrier fix & collect undefined layout before bfs (#14569) 2023-03-14 23:24:03 +08:00
SijieWang 5210fddb47 Fix add component event error (#14568) 2023-03-14 15:07:52 +08:00
Leslie Leigh (李的序) 3200c0bd2b Animation graph: add editor api to query editor attributes of variable value (#14566) 2023-03-14 14:33:44 +08:00
江战 0ecabeffdc reduce log (#14452) 2023-03-14 10:26:34 +08:00
江战 cfb0b74c4e Fix pass properties order in native editor (#14468)
* fix pass properties order in native editor
2023-03-14 10:26:00 +08:00
Cocos Robot bccd65fbd9 [ci skip][AUTO]: Automated code generating update: 2ff383c2bb (#14558) (#14563)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2023-03-14 09:59:13 +08:00
Santy-Wang 40da2bfe36 Merge pull request #14559 from holycanvas/develop-sync
Sync v3.7.2 to develop
2023-03-13 18:46:43 +08:00
santy-wang 966c55496d add missing ignore 2023-03-13 16:58:48 +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
李吉林 9538714d1b add moveTowards & rotateTowards (#14543) 2023-03-13 10:00:39 +08:00
Yiwen b6abb65171 Math tune cpp (#14526)
* fix problem, add missing functions for vec4

* add unit test for math lib, review geom lib, fix comment, clean code

* revert changes on native math lib

* fix typo, cancel deprecates

* fix csm layer frustum usage

* tune document

* restore native changes

* stage math

* correct frustum

* add more unit test

* fix mistakes introduced in the last commit

* add missing changes

* update

* update deprecated information, rename interfaces

* fix operator priority issue

* fix math library related issues
2023-03-12 15:58:07 +08:00
SijieWang 82949a7c99 [Optimize] Optimize kit panel interaction mechanism (#14545) 2023-03-10 22:56:39 +08:00
oahc09 2ff383c2bb feat:xr add register_all_xr_extension (#14535) 2023-03-10 14:57:59 +08:00
AFeiYA c49baeb0ce Revert "Fix vertex count undefined error. (#14531)" (#14537)
This reverts commit f62bc9487f.
2023-03-10 14:51:50 +08:00
江战 1854ae46b2 Resolve certain warning messages on Visual Studio (#14527)
* Resolve certain warning messages on Visual Studio
2023-03-10 14:17:34 +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
Zeqiang Li c0bbc70ebf temp hack for shader macro (#14532) 2023-03-10 12:58:12 +08:00
AFeiYA f62bc9487f Fix vertex count undefined error. (#14531) 2023-03-10 00:37:07 +08:00
zhakesi 1b91e80e7d fix spine attach node invalid in native platform (#14494) 2023-03-09 20:00:03 +08:00
江战 ad1558d321 fix external include path (#14491) 2023-03-09 18:25:49 +08:00
hyde zhou 6ed4719968 pipeline update (#14486)
* adding queue phase

* adding per phase descriptor set

* adding render phase descriptor set

* Optimize memory usage and rendering time of WebPipeline (#106)

* Pass ubo execution optimization (#107)

* adding compute shader

* add compute shader

* add compute dispatch

* add compute shader

* adding subpass

* add dummy web subpass builder

* remove present pass

* remove present pass

* adding subpass to RenderGraph

* fix unit test

* lint fix

* fix lint

* adding raster subpass

* native subpass builder added

* Complete render phase to layoutgraph (#108)

* rename RasterTag to RasterPassTag

* rename ComputePass to Compute

* subpassGraph added

* add shading rate attachment

* fix typo

* RenderSwapchain default constructible

* Optimize Execution Memory (#110)

* add storage buffer/texture support

* add storage buffer and shading rate texture

* fix lint

* fix typo

* V3.7.2 pipeline (#109)

* fix merge conflict

---------

Co-authored-by: GengineJS <476393671@qq.com>
Co-authored-by: Zeqiang Li <zeqiang-li@outlook.com>
2023-03-09 17:57:05 +08:00