qiuguohua
1efd3d8599
Fixed safe areas requires dpr ( #15275 )
2023-06-05 11:08:24 +08:00
PP
35dfce2a18
fix: use onWidnowResize on RUNTIME_BASED ( #15201 )
2023-05-26 11:53:46 +08:00
minggo
bcc581dfd7
Merge branch 'v3.7.3' into develop_merge_v3.7.3
2023-03-24 10:57: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
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
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
mmyduckx
38c0ed4f95
add wechatprogram platform support ( #14580 )
...
* add wechatprogram platform support
2023-03-15 14:13:24 +08:00
PP
5ccf9e33ee
fix: wrong screen size on ByteDance iPad device ( #14165 )
2023-02-27 14:25:45 +08:00
bofeng-song
0d0d74e7bf
fix wrong init at native scene ( #13936 )
2022-12-28 17:07:28 +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
江战
f6854cd16e
native introduce jsb.window ( #13816 )
2022-12-16 13:50:59 +08:00
mmyduckx
2efe60a576
fix game.init assetDB-warning ( #13809 )
...
* fix game.init assetDB-warning
2022-12-14 14:31:14 +08:00
ycg
df797fdc0a
Fix: Update the implementation of the Safe-area on Web. ( #13153 )
2022-11-07 10:33:16 +08:00
林玮
e7e8036dcd
fix: editor and cocos-play issues ( #12908 )
...
* fix: editor and cocos-play issues
* * Change 'windowId' to optional.
2022-09-27 17:45:21 +08:00
林玮
85708b98d2
bugfix: crash when resizing on MacOS ( #12816 )
...
* fix: setCursorEnabled crash
* fix: crash when resize on MacOS
2022-09-20 14:13:39 +08:00
林玮
785fd91511
Add multi-windows support ( #12243 )
...
Co-authored-by: bofeng.song <bofeng.song@chukong-inc.com >
2022-09-15 14:55:44 +08:00
PP
e44fcbc581
use windowSize instead of screenSize for minigame platforms ( #11468 )
2022-06-14 16:12:25 +08:00
PP
2b806c6a5a
fix screen size && touch event on Alipay platform ( #10666 )
2022-04-06 16:22:22 +08:00
PP
1f58fbff6c
cache systemInfo on Cocos Play platform ( #9856 )
...
* cache systemInfo on Cocos Play platform
* resize swapChain
2021-12-23 11:40:00 +08:00
PP
10634ea544
resctrict DPR on Web platform ( #9850 )
2021-12-21 17:21:25 +08:00
PP
b11686b4dc
compability for undefined game frame ( #9830 )
2021-12-16 19:18:16 +08:00
PP
6f89f4f4ef
fix safe area on vivo platform ( #9742 )
2021-12-01 13:23:09 +08:00
PP
cea8818c5f
remove warnning: Failed to set shading scale, pipelineSceneData is invalid ( #9720 )
2021-11-24 16:48:33 +08:00
PP
1abbc90c23
compability for PROPORTIONAL_TO_FRAME container strategy ( #9642 )
...
* support isProportionalToFrame field on screen-adapter
update
stash
* rename _setupContainer to _setupCanvas
* optimize view.setResolutionPolicy()
* remove TIME_OUT to handle resize event
* compability for PROPORTIONAL_TO_FRAME container strategy
comp
update
* add NOTE
* optimize 'window-resize'
resize
* deprecate game.frame && game.container
deprecate
game
* close screen.resolutionScale interface
close
* fix npm test
* fix view unit test
* space
2021-11-11 19:24:39 +08:00
PP
dea48a404c
remove DPR hack on vivo platform ( #9625 )
2021-11-04 23:07:48 +08:00
PP
51989a1b76
get exactFitScreen option from game initialization ( #9594 )
...
* get exactFitScreen option from game initialization
* set HTML5 as true by default
* optimize editor scene resize
2021-11-02 10:25:49 +08:00
PP
1ed2a9833e
optimize screen adaption on Web platform ( #9580 )
...
* optimize screen._init
* support WindowType on Web platform
* optimize fullscreen adaption
* optimize frame resize
update
* set timeout to handle screen event
* fix esLint
* fix esLint
* fix spelling
* fix number type
* EVENT_TIMEOUT
* fix esLint
* revert naming 'OrientationMap'
2021-11-01 00:01:49 +08:00
PP
40b39ca7f5
fix screen size on Alipay && optimize DPR on vivo platform ( #9560 )
...
* fix screen size on Alipay
stash
* optimize DPR on vivo platform
* optimize code
2021-10-29 11:09:05 +08:00
PP
f99bddaf38
fix undefined addEventListener on MediaQueryList ( #9508 )
2021-10-22 11:38:11 +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
9b7cbc8298
optimize DPR change event listener ( #9421 )
...
* optimize DPR change event listener
* cache previous DPR when resize callback
update
* support all web platform
2021-09-30 10:23:45 +08:00
PP
411ef58a0a
support DPR changed event listener on Web platform ( #9410 )
2021-09-28 19:25:45 +08:00
Yun Hsiao Wu
79f6ec1fcf
handle swapchain resize event ( #9305 )
...
* swapchain resize accept surface transform
* rt attachment should support read back
2021-09-09 16:00:02 +08:00
PP
97b3657549
migrate input module out of platform ( #9296 )
...
* migrate input module out of platform
* revert EventKeyboard.isPressed deprecation
* fix CI
2021-09-07 15:24:43 +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