minggo
bcc581dfd7
Merge branch 'v3.7.3' into develop_merge_v3.7.3
2023-03-24 10:57:28 +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
mmyduckx
38c0ed4f95
add wechatprogram platform support ( #14580 )
...
* add wechatprogram platform support
2023-03-15 14:13:24 +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
qiuguohua
f1e82d94c8
Improve api doc ( #13882 )
2022-12-26 09:54:33 +08:00
minggo
faaed84c92
fix waring message cause by sys.capabilities ( #13629 )
2022-12-05 11:06:14 +08:00
ycg
827a3f0640
Fix: Update the implementation of the supportWebp on minigame. ( #13165 )
...
* Fix: Update the implementation of the supportWebp on minigame.
Optimize: Adjust the initialization of the System-info module.
* Add return type of the sys-init function.
* Add try-catch to _supportsWebp method
2022-10-28 10:44:16 +08:00
QingliWang
6a8f53b186
Add features for XR developement. ( #12413 )
...
* Change Android mainloop, add global config and template projects for XR.
* Change gfx/gles device's process flow for XR, working with other PRs, waiting.
* Change gfx/Vulkan device's process flow for XR, working with other PRs, waiting.
* Change render process for XR.
* Develop XR input and events.
* Develop 3D feature of UI widgets and raycast effect for XR.
Co-authored-by: fqamic <fqamic@vip.qq.com >
2022-08-22 16:34:45 +08:00
Zhang mingzhen
f411966b7f
modify regex to adjust iOS version between 14.0 to 15.3 ( #11698 )
...
* modify regex to adjust iOS version between 14.0 to 15.3
* remove legacy code and put modification in new function
Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com >
2022-07-04 16:00:35 +08:00
Santy-Wang
7bc135e1c7
adjust initialization process ( #11143 )
...
* adjust init process
* fix bugs
* restructure
* tweak
* delete useless code
* fix ci
* support more platform and fix some bugs
* mark internal
* tweak
* add docs
* add docs and little adjustment
* fix bugs
* adjust decorator execute order
fix mesh error
* fix bugs
* revert some change
* revert auto-generated code
* revert auto-generated code
2022-07-03 21:16:09 +08:00
pandamicro
12072ffc62
Merge v3.5.1 zqb branch to v3.6 ( #11637 )
...
* support asset property preview (#11017 )
(cherry picked from commit 85769cf8f81459b5ad98ccab4138420009572a32)
* show mesh asset thumbnail (#10981 )
* V3.5.1 noise particle (#11003 )
* add cpu & gpu noise for particle
* add some params & change particle noise shader
* change shader
* add cpu noise particle
* add noise preview
* run generation when preview
* revert shaders
* remove unused statements
* add particle noise module
* change noise preview interface
* add invisible to remap
* remove get deltaTime
* set noiseModule private
* fix eslint
* feat: add noise preview (#11260 )
* [Optimize] asset editing undo (#10779 )
* edit render-pipeline
* support renderpipeline undo
* optimize material editing undo
* reset last record data
* temporary not support animation-mask undo
* support animation-mask edit undo
* animation mask remove _jointMasks
* Animation clip embedded players (#11320 )
* Animation clip subregions
* Log
* Test
* Eval
* Update
* Update
* No longer use animation state to implement clip motion
* Clear subregions
* Fix
* Mark subregion as editor extendable
* Animation clip subregion player path
* fix isnan(0.0) with webgl1.0 (#11262 )
* fix isinf(0.0)==true with webgl1.0
* code style
* fix specular params with surface toon (#11265 )
* code format and add sliders for parameters (#11266 )
* Broadcasting of animation state\'s speed
* Fix
* Rename
* Update
* Fix
* Revert "No longer use animation state to implement clip motion"
This reverts commit 20755f9ec525b27b5b9a515c8dd687349aa4c637.
* Revert some exotic changes
* Update docs
Co-authored-by: jk20012001 <jkregister@163.com >
Co-authored-by: 徐兵 <49358166+xubing0906@users.noreply.github.com >
* fix skinning model split (#11378 )
* fix skinning model split
* rename function _resizeMaxJointForDS
Co-authored-by: zhakesi <zhakesi@foxmail.com >
* [ci skip][AUTO]: Automated genbindings update: d823cbba1f7ce8284da28458c26534da2e033961 (#11378 ) (#11383 )
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
* use stop emitting instead (#11381 )
* add stop emitting api
* use stop emitting instead
* Update cocos/particle/particle-system.ts
Co-authored-by: Leslie Leigh (李的序) <leslieleigh@outlook.com >
Co-authored-by: Leslie Leigh (李的序) <leslieleigh@outlook.com >
* fix: imageData fault tolerance (#11374 )
* fix: imageData fault tolerance
* chore: when data is an empty array,stop the function
* material undo updating effects list (#11409 )
* modify noise module ui (#11433 )
* use visible decorator to control the visibility of property (#11438 )
* fix joints data with value nan (#11489 )
* V3.5.2 CI Android NDK set version to 21 (#11448 ) (#11492 )
* Minor improvement
* Fix format
* Fix particle culler
* Improve particle culler
* Manually migrate joint data upload with texture in skinning model
* Update shaders for skinning model based on joint texture
* fis native skinning model with realtime-texture mode (#45 )
Co-authored-by: zhakesi <zhakesi@foxmail.com >
* fix clangtidy (#46 )
* Small tweaks
* modify code struct for skinning model (#47 )
* modify code struct for skinning model
* update skinning chunk
Co-authored-by: 黄森斌 <arsen2010@126.com >
Co-authored-by: zxx43 <zxx43@hotmail.com >
Co-authored-by: 袁炜海 <35713518+dogodo-cc@users.noreply.github.com >
Co-authored-by: Leslie Leigh (李的序) <leslieleigh@outlook.com >
Co-authored-by: jk20012001 <jkregister@163.com >
Co-authored-by: 徐兵 <49358166+xubing0906@users.noreply.github.com >
Co-authored-by: zhakesi <liqiao@cocos.com >
Co-authored-by: zhakesi <zhakesi@foxmail.com >
Co-authored-by: Cocos Robot <48829427+cocos-robot@users.noreply.github.com >
Co-authored-by: cocos-robot <cocos-robot@cocos.com >
Co-authored-by: Santy-Wang <wh19930829@qq.com >
Co-authored-by: zhangxin <59186205+chichinohaha@users.noreply.github.com >
Co-authored-by: 江战 <40414978+PatriceJiang@users.noreply.github.com >
2022-06-24 15:10:45 +08:00
pandamicro
ec58a77ff0
Fix more API docs in core ( #11338 )
...
* Fix more API docs in core
* Update version
* tweaks
2022-06-02 21:03:17 +08:00
pandamicro
dba83c270d
Fix multi blank lines ( #11116 )
2022-05-17 11:56:06 +08:00
Santy-Wang
23de9188ba
V3.5 docs ( #10898 )
...
* adjust api docs and delete useless annotation
* delete useless annotation
2022-04-27 15:22:22 +08:00
Santy-Wang
8601de5de0
adjust api docs ( #10871 )
...
* adjust api docs
* refine
* add english doc
2022-04-26 19:14:47 +08:00
Zhang mingzhen
abeab77c3c
wechat minigame optimization #11328 ( #10159 )
...
Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com >
2022-02-28 14:56:07 +08:00
ChiaNing
0036ddba81
change sys.__isWebIOS14OrIPadOS14Env for iOS 14 ( #10019 )
2022-01-19 11:41:54 +08:00
PP
f5511f4c87
Revert "Revert "optimize interface in screen module ( #9176 )"" ( #9490 )
...
This reverts commit b88d4845cc .
2021-10-15 10:21:04 +08:00
pandamicro
b88d4845cc
Revert "optimize interface in screen module ( #9176 )"
...
This reverts commit 4735476945 .
2021-10-14 23:07:23 +08:00
PP
4735476945
optimize interface in screen module ( #9176 )
...
* optimize interface in screen module
* remove DPR calculating
* update screen-adapter init
* set screen.resolutionScale as 1 by default
* remove pixelRatio getter in system-info
* remove sys.windowPixelRatio access
* optimize screen.windowSize
update
* convertToCocosScreenSpace
* change resolution-change to window-resize
* fix native UI
update
update UI
update UI
* optimize screen init
* fix subContextView
* fix root resize
* fix precision issue on Metal render end
* sys.windowPixelRatio
* use warnID
* remove screen.convertToCocosScreenSpace
* put private property and method together after public ones
* warnID
* fix landScape on CocosPlay
* fix DPR on vivo platform
* fix CI
2021-10-14 22:16:34 +08:00
PP
f433551d1d
support system feature query ( #9428 )
...
* support feature query in pal/system-info
* support sys.hasFeature and deprecate sys.capabilities
* remove deprecated usage
* support input feature query
update
* IMAGE_BITMAP
* INPUT_TOUCH
* WEBGL
* support WEB_VIEW, VIDEO_PLAYER, SAFE_AREA query
* rename INPUT_XXX to EVENT_XXX
* support device-manager
update
update
update
* add NOTE
* export deviceManager from gfx
* fix circular dependency
* fix wechat devtools
update
* Revert "fix circular dependency"
This reverts commit ba8a6c0e2e4fa6b2015ae438a4c9a5da94b9bf46.
* Revert "export deviceManager from gfx"
This reverts commit 14b26ca0e3f6e0dce32c37bd668c65193dbd366f.
* Revert "support device-manager"
This reverts commit 010a910e56e1ee2fe9726629fca163fc24ed5b37.
# Conflicts:
# pal/system-info/enum-type/feature.ts
* update
update
* use INPUT_TOUCH for sys.capabilities
* update
2021-10-14 10:29:36 +08:00
PP
2ec06d5524
close screen.windowSize interface ( #9047 )
2021-07-23 14:40:44 +08:00
PP
5b230d70c5
fix sys coding auto completion ( #8995 )
...
* fix sys coding auto completion
* fix ci
2021-07-16 19:05:33 +08:00
PP
d7067c29c8
deprecate interface in View module && support pal/screenManager ( #8836 )
...
* remove BrowserGetter
* deprecated view.adjustViewportMeta
* deprecate view.enableAutoFullScreen and view.isAutoFullScreenEnabled
* remove view._adjustSizeKeepCanvasSize
* remove view._convertMouseToLocation, view._convertTouchWidthScale and view._convertTouchesWithScale
* remove view._originalDesignResolutionSize
* deprecate cc.winSize and cc.visibleRect
update
* access local winSize
* access local visibleRect
* deprecate view.getVisibleOrigin view.getVisibleOriginInPixel
* Revert "deprecate view.getVisibleOrigin view.getVisibleOriginInPixel"
This reverts commit 1ae9e1d5c51d8c701eaa2e4a65cd4c17e5f6d971.
* Revert "deprecate cc.visibleRect"
* optimize screen module
update
* update
update
* optimize deprecation info
* rename pal/system to pal/systemInfo
* update pal/systemInfo access in engine layer
* support pal/screenManager
* update pal/screenManager access in engine layer
* fix bug
* optimize deprecation info
* fix auto fullscreen
* fix ci
* fix ci
* update change request
update
update
* fix CI
2021-07-09 18:57:03 +08:00
PP
420c9f59d4
support system.getSafeAreaEdge() ( #8654 )
...
* support system.getSafeAreaEdge()
* remove legacy adapter
* remove code
* update
2021-05-17 18:12:13 +08:00
Zeqiang Li
641800cd9c
fix float ratio on iphone7p ( #8524 )
...
* fix float ratio on iphone7p
* get pixelRatio from sys
2021-04-23 10:17:24 +08:00
PP
9bb4c4f8ea
support pal/system ( #8441 )
...
* support pal/app
update
update
* remove 'QQ_PLAY' and 'FB_PLAYABLE_ADS'
* rename system
update
* rename Language
* update
* update
* bind function in Game.ts
* rename system
* support system.getBatteryLevel()
* support pal/system on native
* support pal/system on minigame
* update
* fix esLint
* fix Circular dependency
* fix esLint
* use math/Size
2021-04-15 11:00:54 +08:00
PP
cd7e644694
implement audio on pal ( #8255 )
...
* Update logo in README
* add pal/audio
* deprecate property
* support wechat game AudioPlayer
* unify minigame interface
* optimize module name
* support native audio
# Conflicts:
# @types/jsb.d.ts
* add runtime platform
* fix module
* support build native virtual module
update
update
* update module name
* remove jsb-audio.js
* revert @rollup/plugin-alias
* add quickCompiler field in cc.config.json
* fix audio can't stop when paused
* fix esLint & ci
* fix ci
update
* update ccConfigJson
* add NOTE
* readonly maxAudioChannel
* add description for interface OneShotAudio
* volume range
* range for seeking
* loadNative return Promise<unknown>
* remove quickCompile field in cc.config.json
Co-authored-by: pandamicro <lphuabin@gmail.com >
Co-authored-by: Jare Guo <jareguo@users.noreply.github.com >
2021-03-25 14:30:13 +08:00
zhefeng.zhang
9581d0c6b5
sync-2.4.5-pr-8254 ( #8256 )
...
* sync-2.4.5-pr-8254
* correction code
* Revert "correction code"
This reverts commit 0ba7eb1a15ad82dc033846f6ae00a5ef690135e5.
2021-02-25 15:26:45 +08:00
PP
6ee318daf4
revert youku platform ( #8226 )
...
* Revert "update package-lock (#8200 )"
This reverts commit 5e5c3a579e .
* Revert "update build-engine version (#8195 )"
This reverts commit ab36cecec0 .
* Revert "update YOUKU sys info && engine building workflow (#8191 )"
This reverts commit 255944f36c .
* update build-engine version
* edit publish branch
* udpate deps
2021-01-28 13:07:29 +08:00
zhefeng.zhang
1d4d17cf2b
sync 8192 ( #8202 )
2021-01-25 13:48:41 +08:00
PP
255944f36c
update YOUKU sys info && engine building workflow ( #8191 )
...
* update YOUKU constant
* update sys info for YOUKU
* fix ts Lint
* fix lint
2021-01-23 17:14:45 +08:00
Santy-Wang
d5c5c69768
sync #8173 ( #8174 )
...
* sync #8173
* fix lint
2021-01-21 17:33:51 +08:00
Leslie Leigh (李的序)
9bd9baac12
Eslint autofix all ( #8108 )
...
* Eslint autofix all
* Manual fix
2021-01-09 11:41:10 +08:00
PP
e737190f54
optimize code in sys.ts ( #7966 )
...
* remove platform related code in sys.ts
* remove browserType for minigame
2020-12-16 13:48:22 +08:00
PP
0a836ac458
optimize sys info init && move in runtime adapters ( #7920 )
...
* optimize sys info init in adapters
update
* update sys init
update sys
* fix sys access
* optimize isWebIOS14OrIPadOS14Env
* update
* update
* update QTT adapter
* update sys.capacities
update sys
* update common && qtt
* add downloadFile to job module
* update engine-adapter
* update DeviceMotionEvent adaption
* remove legacy qtt
* add link-sure adaption
* fix some bug
* update vivo adaption && fs-utils
* remove legacy link-sure
* remove dom-adapter
* remove HTMLCanvas appended to document
* update vivo
* support COCOS_PLAY
* update adapters to platforms
* remove test code
* add OPPO adapter
* add huawei adapter
* remove test code
* rename folder oppo-mini-game
* rename folder huawei-quick-game
* rename folder vivo-mini-game
2020-12-15 11:54:13 +08:00
minggo
98c2fb3158
fix device resolution ( #7856 )
...
* fix device resolution
* only use device resolution on native
2020-11-24 18:24:51 +08:00
PP
a598a9f0cf
support linksure and QTT platform ( #7800 )
...
* fix undefined toDataURL on linksure platform
* update platform
* add platform info
2020-11-18 20:20:38 +08:00
Jare Guo
b5ba2e5dbe
fix texture preloading (sync #7581 ) ( #7802 )
...
* fix texture preloading (sync #7581 )
* fix prefab revert problem for render component (sync #7385 )
* tweak API docs (sync #7525 )
* Update Readme (sync from 2D)
Co-authored-by: Nisar Hassan Naqvi <syednisarhassan12@gmail.com >
2020-11-18 10:47:23 +08:00
PP
55689f1d80
add HuaWei broswerType ( #7779 )
2020-11-15 12:57:08 +08:00
Santy-Wang
95b2c2ad5a
fix imageBitmap auto premultiply alpha ( #7761 )
2020-11-11 18:55:29 +08:00
Yun Hsiao Wu
32598c25cb
switch to eslint ( #7727 )
...
* switch to eslint
* eslint: extends airbnb
2020-11-09 10:19:12 +08:00
Jare Guo
47e11ac836
ensure canvas size the same as screen size during scene initialization (sync #6308 ) ( #7685 )
2020-11-04 22:15:31 +08:00
Jare Guo
e2b740dd15
Finally merge runtime deserializer & asset manager ( #7648 )
...
* sync asset-manager
refine
refine
refine
* change director
* refine
* fix bugs
* commit
* refine and fix bugs
* refine docs
* fix bugs
* merge
* fix bugs
* fix bugs
* merge
* sync jsb-adapter
* fix ci
* adapt preloading process for new Deserializer
* adapt preloading process for new Deserializer
* fix bugs
* minor fix
* dump dependency of SpriteFrame explicitly (sync #6938 )
* dump dependency of SpriteFrame explicitly (sync #6938 )
* remove unused variable
* exporting should trigger uuid compression in serializer
* refine
* fix ci
Co-authored-by: Santy-Wang <wh19930829@qq.com >
2020-10-30 20:51:58 +08:00
Knox
37fec6341f
sync 2d (Update the url links) ( #7613 )
2020-10-28 17:06:27 +08:00
pandamicro
983b994e43
Merge 2.x commits ( #7600 )
2020-10-27 09:13:33 +08:00
PP
2304ce20a0
change OPPO/Vivo quick game to mini game ( #7589 )
2020-10-23 11:29:50 +08:00
pandamicro
f31968e999
Merge remote-tracking branch 'origin/3d' into 3d
...
# Conflicts:
# cocos/core/platform/sys.ts
2020-10-22 11:52:25 +08:00
Knox
4a062a4013
sync 2d sys browserType and browserVersion ( #7578 )
2020-10-22 10:34:11 +08:00
pandamicro
6101d772a2
Merge remote-tracking branch 'origin/3d-v1.2' into 3d
...
# Conflicts:
# EngineErrorMap.md
# cocos/core/3d/builtin/effects.ts
# cocos/core/data/decorators/property.ts
# cocos/core/pipeline/forward/forward-pipeline.ts
# cocos/core/pipeline/forward/scene-culling.ts
# cocos/core/renderer/scene/model.ts
# cocos/core/renderer/scene/shadows.ts
# cocos/core/renderer/ui/mesh-buffer.ts
# cocos/core/renderer/ui/ui-vertex-format.ts
# cocos/core/scene-graph/scene-globals.ts
# cocos/terrain/terrain.ts
# cocos/ui/assembler/graphics/webgl/graphics-assembler.ts
# cocos/ui/components/graphics.ts
# editor/assets/default_prefab/3d/Capsule.prefab.meta
# editor/assets/default_prefab/3d/Cone.prefab.meta
# editor/assets/default_prefab/3d/Cube.prefab.meta
# editor/assets/default_prefab/3d/Cylinder.prefab.meta
# editor/assets/default_prefab/3d/Plane.prefab.meta
# editor/assets/default_prefab/3d/Quad.prefab.meta
# editor/assets/default_prefab/3d/Sphere.prefab.meta
# editor/assets/default_prefab/3d/Torus.prefab.meta
# editor/assets/default_prefab/Camera.prefab.meta
# editor/assets/default_prefab/Terrain.prefab.meta
# editor/assets/default_prefab/effects/Particle System.prefab.meta
# editor/assets/default_prefab/light/Directional Light.prefab.meta
# editor/assets/default_prefab/light/Sphere Light.prefab.meta
# editor/assets/default_prefab/light/Spot Light.prefab.meta
# editor/assets/default_prefab/ui/Button.prefab.meta
# editor/assets/default_prefab/ui/Canvas.prefab.meta
# editor/assets/default_prefab/ui/EditBox.prefab.meta
# editor/assets/default_prefab/ui/Label.prefab.meta
# editor/assets/default_prefab/ui/Layout.prefab.meta
# editor/assets/default_prefab/ui/Mask.prefab.meta
# editor/assets/default_prefab/ui/ProgressBar.prefab.meta
# editor/assets/default_prefab/ui/ScrollView.prefab.meta
# editor/assets/default_prefab/ui/Slider.prefab.meta
# editor/assets/default_prefab/ui/Sprite.prefab.meta
# editor/assets/default_prefab/ui/Toggle.prefab.meta
# editor/assets/default_prefab/ui/ToggleContainer.prefab.meta
# editor/assets/default_prefab/ui/Widget.prefab.meta
2020-10-21 18:35:11 +08:00