Commit Graph

941 Commits

Author SHA1 Message Date
江战 8c41446e96 Add Android GPG keyboard & Mouse support (#15385)
* Add Android GPG keyboard & mouse support
2023-06-08 21:42:45 +08:00
qiuguohua 343393942c Fix harmonyos platform compilation failure. (#15262) 2023-06-02 14:55:55 +08:00
bofeng-song a8eb030f90 fix install failed with android studio (#15251) 2023-06-01 13:40:11 +08:00
mmyduckx e2f86928f6 fix android videoplayer player again cannot work (#15118) 2023-05-24 10:29:32 +08:00
mmyduckx 16244590d4 fix mac screen change view not resize bug (#15046)
* fix mac screen change view not resize bug
2023-05-16 16:25:26 +08:00
qiuguohua 9be4bb5ae3 OpenHarmony platform moves the 'copyTextToClipboard' interface from the 'SystemWindow' class to the 'System' class (#14972) 2023-05-06 09:48:42 +08:00
minggo fbafcaace4 fix compiling error 2023-04-24 15:32:23 +08:00
minggo a22d16bbe6 Merge branch 'v3.7.3' into merge_v3.7.3 2023-04-24 11:26:58 +08:00
oahc09 63bdc9ff4a feat:xr interface support async load asset image (#14876) 2023-04-23 09:27:55 +08:00
bofeng-song 73412caf59 Fix the issue of button response offset caused by listening to incorrect objects (#14864) 2023-04-20 17:29:12 +08:00
qiuguohua 125f8c8978 [OpenHarmony] Fix the problem of compilation failure on mac due to incorrect case (#14847) 2023-04-20 14:42:42 +08:00
qiuguohua 4ef1621047 Fix the 'fillRect' interface of canvas in openharmony (#14770) 2023-04-11 17:52:46 +08:00
Zeqiang Li 14c450821d Oh issue dev (#14743)
* update effect meta files to 1.7.0

* ohos canvas

* uint16 case

* cache offset
2023-04-11 15:16:06 +08:00
qiuguohua 8303d7fb8c Move the copyTextToClipboard interface from SystemWindow to System (#14729)
* Move the copyTextToClipboard interface from SystemWindow to System

* Use file names with the same case as the directory name
2023-04-07 11:09:08 +08:00
qiuguohua d82983e395 Openharmony multi-window adaptation (#14722)
* The event windowId is assigned the correct value in the openharmony platform

* Merge the latest branches
2023-04-06 12:17:41 +08:00
qiuguohua 342f0da04d Read touch information in the UI thread (#14700) 2023-03-31 17:10:33 +08:00
bofeng-song 6822177313 Android platform, the edit box does not immediately display the contents of the soft keyboard (#14687) 2023-03-30 10:29:49 +08:00
bofeng-song 3a9ea052f3 Fix the crash problem of android platform caused by windowId being 0 (#14670) 2023-03-27 16:11:05 +08:00
oahc09 7ff205b51f improve:xr common module update (#14664)
1.optimize CocosXRApi compatibility
2.remove xr permission helper's dependency on CocosHelper.getActivity()
2023-03-27 16:09:57 +08:00
oahc09 8abee5fe1c feat:xr interface support xr eye render js callback (#14665) 2023-03-27 16:07:23 +08:00
江战 cdfd194c4c Add HPE Feature Detetion and JNI Method Refactoring (#14633) 2023-03-26 16:26:45 +08:00
minggo d0159fd851 Merge pull request #14651 from minggo/develop_merge_v3.7.3
Develop merge v3.7.3
2023-03-24 14:08:24 +08:00
江战 181bbc6569 Android: Game Activity Supports Controller Integration (#14625)
* Android Game activity support Controller
2023-03-24 13:44:09 +08:00
minggo bcc581dfd7 Merge branch 'v3.7.3' into develop_merge_v3.7.3 2023-03-24 10:57:28 +08:00
qiuguohua b615b2c672 Add openharmony platform definition (#14617)
* Add openharmony platform definition
2023-03-22 16:11:51 +08:00
James Chen 756dbb736d Fix GlobalObject.runOnUiThread, keep the same logic as Activity.runOnUiThread. (#14616)
If we didn't fix this, ANR will be triggered in WebView test. But I think CocosWebView implementation is wrong.
Currently, CocosWebView.ShouldStartLoadingWorker.run is invoked in UI thread. latch.await is also called in UI thread, which is really dangerous and easily causes infinite waiting.
2023-03-21 16:26:16 +08:00
James Chen 937eb10402 [android] Remove dependence of Activity, prepare for surface-less rendering (#14612)
* Use `context` instead of `activity` as possible.

* Remove unused JniNativeGlue.h include.

* Remove unused import.

* Update JniHelper.h/.cpp, JniHelper::sActivity -> JniHelper::sContext.

* Fix log output name in CocosHelper.java

* Rename the second parameter JniHelper::init from `activity` to `context`.

* Update todo in JniHelper::getActivity()
2023-03-21 11:54:23 +08:00
qiuguohua e68506916c Develop branch adapts to openharmony (#14582) 2023-03-20 14:18:52 +08:00
qiuguohua dfc34690e0 Fix the problem of mac system crashing on exit (#14603) 2023-03-20 10:47:00 +08:00
minggo cbadcf20f5 Merge pull request #14576 from cocos/v3.7.2
V3.7.2
2023-03-15 11:05:16 +08:00
santy-wang 0a81bf445e Merge branch 'develop' of github.com:cocos-creator/engine into v3.7.2 2023-03-13 16:51:47 +08:00
oahc09 2ff383c2bb feat:xr add register_all_xr_extension (#14535) 2023-03-10 14:57:59 +08:00
江战 1854ae46b2 Resolve certain warning messages on Visual Studio (#14527)
* Resolve certain warning messages on Visual Studio
2023-03-10 14:17:34 +08:00
bofeng-song 57eb6c6164 Repair the problem that setWritablePath does not take effect after setting (#14490)
* Repair the problem that setWritablePath does not take effect after setting
2023-03-07 13:51:18 +08:00
ChiaNing 892e720a35 fix windows font size bug (#14448) 2023-03-03 09:39:07 +08:00
oahc09 2a3904d723 feat:pass cocos engine version parameter to xr library (#14413) 2023-03-01 13:51:46 +08:00
oahc09 52484a619c refactor:xr 2d orthographic camera ui display effect (#14371) 2023-02-24 18:07:47 +08:00
oahc09 4e63a6183c improve:update Xr.h/XRCommon.h (#14335)
* improve:update Xr.h/XRCommon.h
2023-02-24 18:05:24 +08:00
oahc09 85a400998a feat:xr support adb command controller/activity lifecycle callback (#14334)
* feat:support adb command controller/activity lifecycle callback to native xr

* improve:replace getInterface<IXRInterface>() with CC_GET_XR_INTERFACE()
2023-02-24 16:37:23 +08:00
James Chen 60efd41c26 Merge pull request #14330 from cocos/v3.7.2
Merges v3.7.2 to develop
2023-02-22 09:40:48 +08:00
oahc09 74247a39ad improve:xr video player (#14302)
*updateTexture add timeout refresh logic to avoid frame block
*seekto use SEEK_CLOS mode
2023-02-21 09:48:40 +08:00
oahc09 0ca43fd57c improve:skip some xr logic when xr entry instance is invalid (#14304) 2023-02-21 09:48:00 +08:00
oahc09 fefb9e5bbe feat:support xr xrapi/webview/permission feature (#14312) 2023-02-21 09:46:46 +08:00
qiuguohua 1a369a2f18 Fix the problem that pointerlock cannot move infinitely (#14235) 2023-02-19 17:21:12 +08:00
qiuguohua ee86fc40bd Native platform modifies exit process (#14141) 2023-02-15 17:11:28 +08:00
Zhou Zhenglong 2b54f20d0a Merge branch 'v3.7.1' into v3.7.2-merge 2023-02-13 00:47:24 +08:00
qiuguohua aa5ea200c5 Mac platform adds pointerlock function (#14187) 2023-02-09 17:52:02 +08:00
oahc09 d4eb7ea881 fix:xr video player bug (#14121)
* fix:xr video player compatibility on some devices
shader compile error

* fix:release video player framebuffer
2023-02-02 13:36:32 +08:00
mmyduckx c36728e768 fix iOS getBatteryLevel value is -1 (#14113)
* fix iOS getBatteryLevel value is -1
2023-02-01 15:58:22 +08:00
bofeng-song 92c0220258 fix shadow not work while radiu set to 0 (#14047)
* fix shadow not work while radiu set to 0
2023-01-20 08:11:17 +08:00