Commit Graph

319 Commits

Author SHA1 Message Date
lanbinqiang 5d5ec6084d modify the runtime base build adapter process (#18426)
Co-authored-by: lbq <563294062@qq.com>
2025-03-07 17:26:51 +08:00
wdzhangchukong dcdf54d6f3 Support WebAssembly and WebGPU in runtime base platform (#18389) 2025-03-05 13:39:48 +08:00
bofeng-song a2a604999a Resolve the problem of the spineMesh test case's Effect not rendering properly on native platform (#18397) 2025-03-03 16:44:45 +08:00
bofeng-song fb10e96d70 Fix issues caused by switching Spine cache modes. (#18382) 2025-02-27 18:32:48 +08:00
bofeng-song b2316fc02f Support spine version 4.2 (#18325) 2025-02-26 18:56:42 +08:00
lanbinqiang f5697c4c27 Added Honor channel identifiers (#18314)
Co-authored-by: lbq <563294062@qq.com>
2025-02-11 17:00:16 +08:00
James Chen 92d0ee13ba Optimize code size for WebView & VideoPlayer and fix type issues. (#18240)
* Optimize code size for WebView & VideoPlayer and fix type issues.

* Remove mangle tag for VideoPlayerImpl & WebViewImpl since they're used in js file in platforms directory.

* Fix errors in VideoPlayer.js and jsb-webview.js
2025-01-23 09:20:36 +08:00
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