Commit Graph

51 Commits

Author SHA1 Message Date
lanbinqiang f5697c4c27 Added Honor channel identifiers (#18314)
Co-authored-by: lbq <563294062@qq.com>
2025-02-11 17:00:16 +08:00
lanbinqiang acbd759cc5 [v3.8.5] Remove unused cocos play,link-sure, qtt platform adapter (#17849)
Co-authored-by: lbq <563294062@qq.com>
2024-11-13 18:37:32 +08:00
James Chen 7e882357ec [v3.8.5] Don't use private property '_files' in cache-manager.js. (#17846) 2024-11-13 17:10:23 +08:00
lanbinqiang a72d870229 [bug] fix migu platforms subpackage load fail (#17733)
Co-authored-by: lbq <563294062@qq.com>
2024-10-17 14:48:40 +08:00
lanbinqiang 7bbc5faf60 Added MIGU channel identifiers (#17687)
Co-authored-by: lbq <563294062@qq.com>
2024-10-10 09:34:29 +08:00
James Chen ab6b7bb70c fixed #17012: Loading assets synchronously causes rendering to freeze. (#17464) 2024-07-31 22:01:24 +08:00
tangkai ede81072aa 385 adapter the taobaominigame ClearLRU procedure (#17373)
* 385 adapter the taobaominigame ClearLRU procedure

* Extract common code

* rename the function _remove to _removePathOrFile

* shorter the warn log
2024-07-18 14:44:23 +08:00
minggo 1cbc7bb406 Revert "384 adapter the taobaominigame ClearLRU procedure (#17230)" (#17371)
This reverts commit bf4fcbe585.
2024-07-16 11:04:05 +08:00
tangkai bf4fcbe585 384 adapter the taobaominigame ClearLRU procedure (#17230)
* 384 adapter the taobaominigame ClearLRU procedure
1.taobao platform will clear tmp folder automatically.
2.when cachecount below 3, it will trigger LRU.
3.zip file, the path maybe is a zipfile.
2024-07-16 10:42:27 +08:00
bofeng-song b2a4cb2161 Fix the logical error where the cleaning status of cacheManager is not being reset. (#17148) 2024-06-14 18:33:51 +08:00
James Chen 42691dd12a Fix eslint warnings for javascript files. (#16450) 2023-10-30 10:49:08 +08:00
Leslie Leigh (李的序) ceb15e9410 Optimize CCON downloading code (#15950) 2023-08-14 15:45:24 +08:00
Santy-Wang e09252efd8 export downloadJson and downloadArraybuffer (#15905)
* export downloadJson and downloadArraybuffer

add underscore

* Update cocos/asset/asset-manager/downloader.ts

* Update cocos/asset/asset-manager/downloader.ts

* fix lint

* fix lint
2023-08-14 14:11:18 +08:00
mmyduckx de98057c6b speed up launch time (#14307) 2023-02-24 16:20:46 +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
CC9701 f8b6135c5a [update] update ral commit id (#11610) 2022-06-20 11:54:52 +08:00
CC9701 f8d36990af update runtime ral (#10166)
Re: cocos-creator/3d-tasks#

Changelog:
1. Fix the value of windowHeight and windowWidth pixelRatio return by getSystemInfo(Sync) on VIVO platform
Add ral/API.md as ral API reference
2. Add API getFeaturePropertyInt which was described in ral/API.md
3. Fix CP call sys.garbageCollect() will get TypeError on OVH and cocosplay
2022-03-23 12:11:24 +08:00
PP c84b4306ab fix culling deprecated module (#9937) 2022-01-06 23:50:54 +08:00
PP 3a3f1ea151 fix set frame rate on runtime (#9874) 2021-12-27 14:35:18 +08:00
W-MTZing f535925cb7 fixed Cocos play getting Webgl error (#9609) 2021-11-03 23:53:57 +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
CC9701 04c58f61ad Fix touch event error on vivo platform (#9467)
Fix touch event error on vivo platform find in some device with notch screen
2021-10-14 10:29:36 +08:00
PP d916165d85 optimize hide show event implamentation on minigame / runtime platform (#9093)
* fix hide show event on runtime platform

* remove legacy adapter on minigame platform

update
2021-08-04 16:16:36 +08:00
Santy-Wang 617adca055 strip extension and change extension in minigame (#9061) 2021-07-24 20:11:41 +08:00
Santy-Wang 41e0656cfa support cconb in other platform (#9055)
* support cconb in minigame

* preprocess extension

* refine

* remove generic type

* dont change ext
2021-07-23 22:36:27 +08:00
PP 5a8c5432b7 update fetch ral from gitlab (#9019) 2021-07-20 16:45:58 +08:00
PP 2d396ab482 support target-commit.json in RAL repo (#9007)
* support generate ral latest-commit.md

* use target-commit.md

update

update

update

* update
2021-07-20 13:20:26 +08:00
PP 20bc9e80e4 support fetch ral workflow (#8971)
* remove RAL adapter in engine repo

* support fetch ral workflow

stash

stash

update

* update lock

* update fetch-ral

* support force fetch ral

* remove fetch-ral from npm install work flow
2021-07-16 10:48:36 +08:00
PP 960dc20334 compability with AudioClip method since deprecated on v3.1.0 (#8905) 2021-06-29 10:33:13 +08:00
Bird 4a243f51e0 [refine] remove cocos-runtime platform (#8739) 2021-06-03 14:03:51 +08:00
PP 2bce7361f8 fix Audio currentTime on Huawei (#8656) 2021-05-13 14:18:31 +08:00
PP 856120f52d fix undefined element in caches array on v3.1.1 (#8663) 2021-05-12 10:23:21 +08:00
PP 25b6f15410 fix Accelerometer bug (#8573)
* fix accelerometer on wechat

* fix baidu

* fix bytedance

* fix alipay

* fix xiaomi

* fix runtime

* fix orientation on CocosPlay

* remove legacy adapter

* remove canvas warning
2021-04-28 17:21:49 +08:00
PP cd1548d3f6 fix Audio bug (#8515)
* support AudioPlayer.loadOneShotAudio

* support native

* support minigame

* support createInnerAudioContextPolyfill

update

* fix audioLoading on runtime

* fix Safari doesn't support promise based decodeAudioData

* optimize interface design

* add onPlay polyfill for vivo

* fix setting AudioSource.clip concurrently

* add createInnerAudioContextPolyfill for Xiaomi

* add createInnerAudioContextPolyfill on Baidu

* fix web audio player currentTime
2021-04-23 18:07:58 +08:00
PP 05e65d381e remove sys related adapter (#8523)
* remove sys adapter in runtime

* remove web-adapter README.md

* remove sys adapter on minigame
2021-04-22 16:40:31 +08:00
PP f94c933e13 fix linksure getSystemInfo language (#8516) 2021-04-22 10:13:08 +08:00
PP 86f20da0f0 support pal/input (#8472)
* support pal/input

update

* update

* fix esLint

* support minigame

* support  pal/input on  minigame

* remove minigame.isSubContext

* support native

update

* deprecate static property on EventMouse

* deprecated static property in  EventTouch

* remove TODO

* remove  x y position in MouseWheel Event

* remove TODO

* remove temp code

* fix esLint

* update AccelerometerIntervalMode

* remove legacy code in JSB

* fix esLint

* optimize AccelerometerInputSource.setInterval

* fix esLint

* optimize code

* add more details for documentation

* update

* don't pass game.canvas to inputManager.registerSystemEvent

* optimize

* Revert "remove  x y position in MouseWheel Event"

This reverts commit b521ec4948d693b420887cdeb2f5f3afc1500066.

# Conflicts:
#	@types/pal/input.d.ts

* update

* fix esLint

* fix esLint
2021-04-19 16:24:42 +08:00
Santy-Wang 2f8090ba7f move importBundleEntry to factory (#8339) 2021-04-16 15:39:32 +08:00
PP 5109e399b1 update runtime al (#8349)
* optimize  ral.startAccelerometer

* remove jsb.setPreferredFramesPerSecond on runtime

udpate

* update ral

update  ral

update ral

update ral
2021-03-17 10:55:59 +08:00
yongminghuang 7d2db6770c [adjsut] rename jsb to ral (#8327)
* [adjsut] rename jsb to ral ,add ovh  jsb.js

* [adjust] adjust

* [adjust] adjust  adapter

* [adjust] update adapter

* [adjust] updata adapter

* [bug] fix cannot run in cocos play

* [bug] fix vivo cannot run

* [adjust]rename jsb.js to ral.js
2021-03-05 19:57:07 +08:00
PP 5d5a8fc245 adapt runtime 2.0 (#8287)
* add cocos runtime

update

update

* support link-sure

* update  jsb

* support oppo

* move fs-utils && AudioPlayer to common

update

* fix loadSubPackage

* support qtt

* add huawei & vivo

* remove qgame-adapter.js

* optimize accelerometer

* add back copyright
2021-03-01 11:10:20 +08:00
PP 61c4647285 opotimize outOfStorage && video event dispatching (#8169)
* opotimize outOfStorage on runtime platform

* fix videoPlayer  event dispatching on  OPPO platform
2021-01-21 10:26:34 +08:00
PP 5792f5ec1a fix undefined editBoxEditingDidBegan (#8163) 2021-01-19 17:52:20 +08:00
PP b94556b77e fix accelerometer on runtime (#8139) 2021-01-14 17:39:30 +08:00
PP 81182a87f8 adapt videoPlayer on OPPO (#8013) 2020-12-25 09:55:17 +08:00
Santy-Wang ad4bff3988 Restructure Module (#7968)
* module restructure

* refine

* restructure module

* merge

* revert

* fix ci

* update import path of unit-test

* split 2d and ui

* add more module

* change audio adapter

* rename primitive

* config wechat plugin

* merge

* add category config

* merge

* merge
2020-12-24 19:07:26 +08:00
PP 04a6a7e311 fix accelerometer on Runtime (#7967)
* fix accelerometer on Runtime

* update
2020-12-17 10:18:56 +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