Commit Graph

312 Commits

Author SHA1 Message Date
qiuguohua 396c31f34b Fix the problem that the simulator reports errors and the real machine does not display video on the Douyin mini game platform (#18077)
* Fix the problem that the simulator reports errors and the real machine does not display video on the Douyin mini game platform

---------

Co-authored-by: qiuguohua <guohua.qiu@cocos.com>
2024-12-25 16:59:03 +08:00
minggo 7251fd3efc merge v3.8.5 2024-12-23 10:34:45 +08:00
qiuguohua 2e4a9d57e0 Fix the incorrect orientation of the gravity sensor and JSVM crash issue in HarmonyOS Next (#18041)
* 1.Fix the problem of incorrect rotation direction of openharmony screen
2.Remove redundant files

# Conflicts:
#	templates/harmonyos-next/entry/src/main/ets/cocos/jsb-adapter/sys-ability-polyfill.js

* Fix the issue of JSVM running crash

---------

Co-authored-by: qiuguohua <guohua.qiu@cocos.com>
2024-12-17 10:43:39 +08:00
James Chen 667005fe44 [v3.8.6] Continue to remove unused platforms support. (#17902)
* Continue to remove unused platforms support.
2024-11-22 10:30:47 +08:00
qiuguohua 59e00c9dae V3.8.5 oh api12 (#17869)
* Improvement of openharmony's editbox (#17042)

* Improvement of openharmony's editbox

* Remove redundant header file

---------

Co-authored-by: qiuguohua <guohua.qiu@cocos.com>
# Conflicts:
#	templates/openharmony/entry/src/main/cpp/types/libcocos/index.d.ts
#	templates/openharmony/entry/src/main/ets/components/EditBoxDialog.ets
#	templates/openharmony/entry/src/main/ets/pages/index.ets
#	templates/openharmony/entry/src/main/ets/workers/cocos_worker.ts

* Upgrade the openharmony API to 12

* Remove debugging information

* Fix some bugs in the ark engine
Fix some issues with jsvm
* Release module_info

* Fix std::any_of return value not being used

---------

Co-authored-by: qiuguohua <guohua.qiu@cocos.com>
2024-11-19 09:32:08 +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
James Chen de3f0c5e20 [v3.8.5] Remove unused baidu platform adapter. (#17845)
* [v3.8.5] Remove unused baidu platform adapter.

* Update minigame/README.md
2024-11-13 14:51:43 +08:00
bofeng-song dd7ff20465 Fix test-case can not run normally due to access private field (#17826) 2024-11-08 15:01:30 +08:00
James Chen 8904950c70 [v3.8.5] Fix that bytedance platform adapter code hacked cc.ImageAsset.data. (#17825) 2024-11-08 12:36:49 +08:00
James Chen b6e8c8c8bf [v3.8.5] Fix visiting private properties in jsb-editbox.js (#17749) 2024-10-22 11:01:10 +08:00
bofeng-song 433e4575e7 Fix the issue on the Alipay platform caused by incorrect type usage after my.request failure. (#17738)
* Fix the issue on the Alipay platform caused by incorrect type usage after my.request failure.
2024-10-22 10:32:08 +08:00
bofeng-song b34203f33c Fix adapter's error on taobao platform (#17734) 2024-10-17 16:31:28 +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
James Chen f4ccf3a8bb [v3.8.5] Support inline enum and mangle private variables to reduce engine size. (#17703) 2024-10-15 10:17:16 +08:00
bofeng-song 1ecdb7cc59 fix running error on taobao platform (#17699) 2024-10-11 14:51:08 +08:00
bofeng-song d5f292c60c Taobao platform supports removing forward declarations of global variables. (#17691) 2024-10-10 14:33:33 +08:00
lanbinqiang 7bbc5faf60 Added MIGU channel identifiers (#17687)
Co-authored-by: lbq <563294062@qq.com>
2024-10-10 09:34:29 +08:00
bofeng-song 684974dcf9 Fix the incorrect usage of the closure variable 'this' (#17650)
* Fix the incorrect usage of the closure variable 'this'
2024-09-19 13:53:19 +08:00
bofeng-song 4edbf5bd8e Opacity already includes the alpha value from the color. The batcher2d's walk function implements the calculation of opacity. (#17509)
* Web's opacity already includes the alpha value from the color. The batcher2d's walk function implements the calculation of opacity.
2024-08-07 17:02:23 +08:00
finscn ec8270eb7f reduce the invocation of get skeletonJsonStr (#17435) 2024-08-02 09:46:31 +08:00
James Chen ab6b7bb70c fixed #17012: Loading assets synchronously causes rendering to freeze. (#17464) 2024-07-31 22:01:24 +08:00
bofeng-song 62addd9ceb Fix label's adapter can not work normally for mini-game platform(alipay, taobao, bytedance) (#17407) 2024-07-24 17:51:18 +08:00
bofeng-song 89f966f80b Since the online game is already using the Taobao API, it needs to be adapted by the engine. (#17406)
* Revert "Due to the single-instance version of the WebSocket, the onMessage response res contains only one layer of data. For compatibility with the online game, Taobao removed the extra layer of data (#17389)"

This reverts commit 2f4e6d3caa.

* Since the online game is already using the Taobao API, it needs to be adapted by the engine.
2024-07-24 09:39:52 +08:00
WingStone 6f7c011942 typo fixed (#17253) 2024-07-19 16:40:12 +08:00
bofeng-song 2f4e6d3caa Due to the single-instance version of the WebSocket, the onMessage response res contains only one layer of data. For compatibility with the online game, Taobao removed the extra layer of data (#17389) 2024-07-18 16:28:26 +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
vivi32767 c1f29fc365 fix taobao mini game MultiWebSocket some issues (#17349)
* fix taobao mini game MultiWebSocket refrence issue

* fix taobao mini game MultiWebSocket onMessage data format change issue
2024-07-17 09:40:13 +08:00
qiuguohua ce86b1206a Fix videoplay playback problem on ByteDance platform (#17362)
* Fix videoplay playback problem on ByteDance platform

* Modify member name from cameraNode to videoNode

---------

Co-authored-by: qiuguohua <guohua.qiu@cocos.com>
2024-07-16 14:05:12 +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
bofeng-song 9b76e09077 Fix issues with WebSocket onMessage and onClose callbacks on the Taobao Mini Game platform. (#17360)
* Fix issues with WebSocket onMessage and onClose callbacks on the Taobao Mini Game platform.

* refine
2024-07-16 11:00: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 ea0018b9c6 Use the API to determine if the Taobao platform supports websocket multiple instances. (#17336)
* Use the API to determine if the Taobao platform supports websocket multiple instances.
2024-07-09 17:17:17 +08:00
James Chen 590c3c6472 Fix eslint errors in AssetManager.js, cache-manager.js (#17324)
* Fix eslint errors in AssetManager.js, cache-manager.js

* Revert

* More `return` fixes.

* Tweak.
2024-07-08 14:35:08 +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
bofeng-song 958de7dc68 Fix wrong screen size on TAOBAO_MINIGAME iPad device (#17107)
* Fix wrong screen size on TAOBAO_MINIGAME iPad device
2024-06-13 14:40:57 +08:00
bofeng-song 42f805579f Support multi instance of Websocket for taobao-minigame (#17014) 2024-06-05 16:08:11 +08:00
minggo 3e3a3b40e9 Merge pull request #16991 from cocos/v3.8.3
sync V3.8.3 to v3.8.5
2024-05-16 10:48:31 +08:00
minggo 7087c23f72 Revert "refine Skeleton's defaultSkin, defaultAnimation (#16635)" (#16972)
This reverts commit 69319a769c.
2024-05-11 14:27:30 +08:00
James Chen 7db7b125f8 fixed #16831: Error information is printed forever if there is an error is triggered in timer callback (#16833) 2024-03-28 11:42:17 +08:00
zhefeng.zhang a794083410 fix minigames failed to read files after executing clearLRU (#16707) 2024-02-05 11:03:04 +08:00
James Chen 118e50c8e8 Merge branch 'v3.8.2' of https://github.com/cocos/cocos-engine into v3.8.3
# Conflicts:
#	package-lock.json
#	package.json
2024-01-11 09:45:44 +08:00
James Chen e080cf17a7 Bytedance mini-game WASM support for both android and iOS platforms. (#16644) 2023-12-29 16:01:34 +08:00
bofeng-song 69319a769c refine Skeleton's defaultSkin, defaultAnimation (#16635) 2023-12-22 15:41:15 +08:00
James Chen 4ce3e6e64e fixed #16562: Wasm support for ByteDance minigame platform (#16628) 2023-12-20 09:54:54 +08:00
James Chen 7eb06c9da7 Fix cc.assetManager.downloader.maxConcurrency is overrode by mistake on mini-game platforms. (#16565) 2023-12-15 16:06:15 +08:00
bofeng-song d25d3b1fa5 Fix the socket target in Spine is not functioning correctly (#16572) 2023-12-07 17:36:06 +08:00
James Chen 42691dd12a Fix eslint warnings for javascript files. (#16450) 2023-10-30 10:49:08 +08:00
Ling Zhan 9a42164966 V3.8.2 physics debug draw (#16325)
* init debug draw

* tweak _debugDrawFlags

* px debug draw performance opt

* tweaks

* add debug draw for physx c++

* debug draw use MainWindow's cameras

* builtin physics draw; WireFrame-->wireframe

* cannon.js supports debug draw

* update engine-native-external --> v3.8.2-5

* tweak

* set engine-native-external --> v3.8.2-5, so that we can pass npm test

* fix: bullet debug draw by default should draw nothing

* comment tweaks

* tweaek

* update native/external-config.json --> 3.8.2-8
2023-09-25 18:05:33 +08:00
bofeng-song c58cb54083 Fix the issue of sensitive character filtering being fixed still leads to its display. (#16261) 2023-09-19 13:34:40 +08:00