Commit Graph

21774 Commits

Author SHA1 Message Date
bofeng-song d3b121fe75 Fix Android ADPF API compatibility issues. (#18044) 2024-12-17 14:56:58 +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
qiuguohua 86aed391c1 Fix issues with adpf (#18043)
Co-authored-by: qiuguohua <guohua.qiu@cocos.com>
2024-12-17 10:42:09 +08:00
James Chen 405fca84da [v3.8.5] Fix constructing spine::String with null pointer. (#18038)
It's a bug from v3.8.5-beta0.
2024-12-16 09:06:47 +08:00
James Chen 2a10e0c797 Fix that package size check may be wrong if spine cpp code changed but the generated wasm is not merged into external repo. (#18032) 2024-12-13 10:23:44 +08:00
James Chen f5f2b30ba9 fixed #3d-tasks/18679: Invoke toLowerCase of undefined. Enum should be used instead of ccenum to generate reverse key. (#18031)
* fixed #3d-tasks/18679: Invoke toLowerCase of undefined. Enum should be used instead of ccenum to generate reverse key.

* Add a comment for  PrimitiveType.
2024-12-13 09:41:41 +08:00
qiuguohua c2882db601 The google play billing interface is consistent with google's original interface (#18010)
The google play billing interface is consistent with google's original interface

---------

Co-authored-by: qiuguohua <guohua.qiu@cocos.com>
Co-authored-by: James Chen <dumganhar@gmail.com>
2024-12-12 18:23:38 +08:00
James Chen 84790f5121 fixed #17016: wrong assertion if label is empty and uses BitmapFont (#18015)
* fixed #17016: wrong assertion if label is empty and uses BitmapFont
2024-12-12 09:43:36 +08:00
Knox a7de5b948d Fix spine's behaviour when playing in the editor (#18022) 2024-12-11 10:37:22 +08:00
Knox 6a08103c91 fix skeleton animation & skin inspect panel display (#18016)
* fix: skeleton & skin inspect panel display

* refine code
2024-12-11 10:29:11 +08:00
James Chen 0ec0ec3597 fixed #18000: [v3.8.5][bug] Nested tween with different target in parallel action could not work correctly. (#18001)
* fixed #18000: [v3.8.5][bug] Nested tween with different target in parallel action could not work correctly.

* Update action-interval.ts

* Reset the length of the temporary action array to zero after being used.
2024-12-05 09:17:16 +08:00
James Chen b4a5a7c090 [v3.8.5] Fix light probe could not work. (#17999)
It's a bug starts from v3.8.5 branch: https://github.com/cocos/cocos-engine/pull/17703
2024-12-03 19:46:50 +08:00
James Chen fb4d2b07ab Fix memory leaks of NSObjects on macOS if gfx device thread is disabled. (#17997) 2024-12-03 09:35:25 +08:00
James Chen 2aafef2d60 Fix that assets in scene configured with autorelease could not be auto released after switching scene. It's a memory leak from v3.8.1. (#17993) 2024-12-02 14:48:12 +08:00
hyde zhou 5ffedf858a break circular dependency (#17991) 2024-11-29 15:34:46 +08:00
qiuguohua deba073213 Integrate the Google Play Billing Library into engine (#17918) 2024-11-29 11:18:48 +08:00
qiuguohua 7611668235 Change openharmony to harmonyos-next (#17988)
Co-authored-by: qiuguohua <guohua.qiu@cocos.com>
2024-11-29 09:15:33 +08:00
James Chen 42009b8f80 [v3.8.5] Fix cc.DirectorEvent.BEFORE_UPDATE not found (#17983) 2024-11-28 15:33:21 +08:00
hyde zhou 5651f2abea fix tonemapping size (#17981) 2024-11-28 13:45:21 +08:00
GengineJS 92123fb9c4 Fix the error caused by the lag in the WebGPU API (#17980) 2024-11-28 12:01:56 +08:00
James Chen 77b3ab8683 [v3.8.5] Package size check needs to ignore exports/vendor.ts (#17979) 2024-11-28 10:39:42 +08:00
bofeng-song 5e671ae5dc Fix audio load error on TaoBao-MiniGame platform (#17921) 2024-11-26 18:09:15 +08:00
Knox 54cb0ce2f6 Improve spine i18n (#17906)
* Improve spine i18n

* refine i18n
2024-11-26 13:57:53 +08:00
James Chen 42384e20f1 385 revert $ (#17912)
* Remove dollar suffix for private property definition.

* (\._[a-z][a-zA-Z0-9]{3,})\$ to \1

* (protected _[a-z][a-zA-Z0-9]{3,})\$ and (public _[a-z][a-zA-Z0-9]{3,})\$ to \1

* ( _[a-z][a-zA-Z0-9]{3,})\$([^0-9]) to \1\2

* Remove $ suffix manually for gfx-webgl backend.

* (public [a-z][a-zA-Z0-9]{3,})\$ to \1

* (\.[a-z][a-zA-Z0-9]{3,})\$ to \1


* Remove mangle hack.
2024-11-25 13:47:56 +08:00
James Chen 888480783a fixed #17866: [bug] EventTouch.getUIDelta return wrong delta values on native platforms (#17895) 2024-11-21 15:36:01 +08:00
James Chen 158e15e5d8 [ci skip] Remove unused code in generate-oh-sdk-cache.yml (#17881) 2024-11-19 15:04:06 +08:00
James Chen ba73143d83 [v3.8.5] Update CI for HarmonyOS Next. (#17879) 2024-11-19 14:55:12 +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
James Chen 8f43dc725b fixed #17867: [bug] b2RigidBody2D was not removed from b2PhysicsWorld _animatedBodies container if its type was changed. (#17873) 2024-11-18 20:45:21 +08:00
hyde zhou 619c398808 fix legacy pipeline viewport (#17875) 2024-11-18 18:29:08 +08:00
袁炜海 9f61f4914d feat: add physics-2d-box2d-wasm options (#17874) 2024-11-18 17:51:23 +08:00
hyde zhou bd2dc0a5bf fix native viewport (#17871) 2024-11-18 14:36:50 +08:00
James Chen d5556d5a52 Update ccbuild to 2.2.19 (#17870) 2024-11-18 11:41:37 +08:00
Knox eac044e4fc Fix editor preview, canvas component calculates Camera invalidly (#17856) 2024-11-18 09:44:39 +08:00
hyde zhou 8ffae0ec6d fix camera id (#17857) 2024-11-18 09:44:08 +08:00
James Chen 251726b98e [v3.8.5] Make dispatchImmediately variable be a const value which will help treeshaking. (#17853) 2024-11-18 09:43:47 +08:00
Knox 9620a62fc1 inspector adds prefab and spine previews (#17855) 2024-11-18 09:38:34 +08:00
James Chen f1b02ad473 [v3.8.5] Mangle private properties in touch-manager.ts (#17868)
* [v3.8.5] Mangle private properties in touch-manager.ts

* Fix eslint errors in mouse-input.ts
2024-11-18 09:34:38 +08:00
GengineJS e955443f76 [v3.8.5] Fix Model.setInstancedAttribute doesn't support attribute of INT format. (#17858)
* setInstancedAttribute

* Add copyTypedArray

* Fix Model::setInstancedAttribute and SubModule::setInstancedAttribute.

---------

Co-authored-by: James Chen <dumganhar@gmail.com>
2024-11-18 09:32:03 +08:00
hyde zhou bbb96cf618 refactored builtin-pipeline (#17860) 2024-11-15 13:16:40 +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
Cocos Robot e404ca4041 [ci skip][AUTO]: Automated code generating update: c48028006ba765027fe62200c17b4fce5c7b86c5 (#17844) (#17850)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2024-11-13 18:36:59 +08:00
GengineJS 459f0d3322 Fixed a bug with dof under vulkan back end (#17847) 2024-11-13 17:59:43 +08:00
Cocos Robot c8c1c31eda [ci skip][AUTO]: Automated code generating update: bdf2e40bdfe04b407d943a6be863166b68446b06 (#17848) (#17851)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2024-11-13 17:35:14 +08:00
袁炜海 c2d429d124 feat: add flags config (#17848)
* feat: add flags config

* feat: update doc
2024-11-13 17:27:48 +08:00
James Chen 21e6d0c47e fixed #17833: [v3.8.5] Add an ability to load wasm/asmjs module manually (#17844) 2024-11-13 17:17:38 +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
longchuan b0472cd5b5 fix the bug of bt._safe_delete (#17842) 2024-11-13 13:53:13 +08:00
James Chen 01954f28d5 [v3.8.5] Add default constructor for classes (#17746) 2024-11-13 13:48:42 +08:00