Commit Graph

250 Commits

Author SHA1 Message Date
bofeng-song 317a30d85b disable unused code (#13591)
* disable unused code
2022-12-05 11:56:52 +08:00
mmyduckx 854dd6859a set default HTTP protocol to HTTP 1.1 (#13578)
* set downloader default HTTP protocol to HTTP 1.1
2022-11-28 15:21:31 +08:00
santy-wang 91c884362d Merge branch 'v3.6.2' of github.com:cocos-creator/engine into v3.6.1-sync 2022-10-11 20:12:14 +08:00
bofeng-song 8f40d29372 refine: remove appCompat's dependency (#12854)
* refine: remove appCompat's dependency
2022-09-30 10:21:10 +08:00
bofeng-song 82cbdfb232 fix crash while dynamic call createSurface (#12829)
* fix crash while dynamic call createSurface

* Fix the application crash when returning from the background to the foreground
2022-09-22 10:57:12 +08:00
bofeng-song 6189898878 support create surfaceview dynamically at android platform (#12551)
* support create surfaceview dynamically at android platform
2022-09-20 11:38:42 +08:00
mmyduckx a5768715a8 fix okhttp onClosing not call close (#12783) 2022-09-16 10:37:35 +08:00
林玮 785fd91511 Add multi-windows support (#12243)
Co-authored-by: bofeng.song <bofeng.song@chukong-inc.com>
2022-09-15 14:55:44 +08:00
James Chen 225e29e34c Fix downloader connection timeout (#12642) 2022-09-01 15:49:07 +08:00
timlyeee 9688366644 Trigger onerror callback when path cannot be write into (#12391) 2022-08-19 09:40:47 +08:00
minggo 5778aab354 Merge branch 'v3.6.0' into merge_v3.6 2022-08-08 10:49:46 +08:00
bofeng-song 9c7df0123c context2d support shadow attribute at Android platform (#12332) 2022-08-08 10:14:59 +08:00
bofeng-song 563a72a9dc only enable sensor need to register sensor listener (#12283) 2022-08-01 09:44:50 +08:00
timlyeee 50ffa3b39a V3.6.0 get language with LocaleList on Android7+ (#12073)
* get language by using system language settings
2022-07-20 11:18:09 +08:00
yangchao 2507bfe184 Fix video player bug (#11933) 2022-07-12 18:16:18 +08:00
timlyeee b43de1af07 V3.6.0 exit (#11856) 2022-07-07 14:07:47 +08:00
mmyduckx 0077fee553 fix android onProgress may over 100% when trigger breakpoint download (#11638) 2022-06-23 14:32:29 +08:00
timlyeee 98786920d0 Improve the experience of EditBox on iOS and fix some EditBox bugs
1. Improve the experience by using InputboxAccessoryView on TextView and TextField.
2. Fix bug when trying to show an editbox with no show info on Android
3. Fix bug when touch outside of the inputbox but cannot hide it.
2022-06-17 14:00:52 +08:00
江战 0f0b722318 follow MDN standard, fix Origin header format (#11509) 2022-06-16 14:00:55 +08:00
江战 1ee47a8142 fix url & add origin (#11505) 2022-06-15 09:57:28 +08:00
kenshin 6af32ff046 fix ttf font render on android (#11298)
use ttf font with splice string "-Bold" can not found in sTypefaceCache.
2022-06-01 15:58:42 +08:00
mmyduckx 22cc2e4878 add SharedPreferences related stroage implement (#11097) 2022-05-17 11:35:48 +08:00
bofeng-song 4e6a2f1be3 Android: support exit procedure (#10937) 2022-05-11 18:13:53 +08:00
bofeng-song 5bd5b59de4 reset gradle & jdk11 dependency (#11015)
* reset gradle to the original version
set compile tools version to 28
reset jdk11 dependency
2022-05-11 13:41:06 +08:00
minggo 84c27e7f71 Merge branch 'v3.5.0' into v3.6.0_merge_v3.5 2022-04-24 13:41:27 +08:00
bofeng-song ef7d80f8ae integrate game-activity (#10794) 2022-04-22 13:48:43 +08:00
bofeng-song 3a3e71632d disable sensor by default, game developer can enable it by set 'acce… (#10770)
* disable sensor by default,  game developer can enable it by set 'accelerometerEnable' to true
2022-04-15 09:49:56 +08:00
minggo a6bf766170 Merge branch 'v3.5.0' into v3.6_merge_v3.5 2022-03-29 18:26:40 +08:00
江战 909c9df9e9 prevent class CocosWebSocket from obfuscation in release mode (#10511) 2022-03-26 11:00:42 +08:00
Zeqiang Li e64301ad34 3.5.0 swappy (#10327)
* gles2/3 swappy
* vk swappy
* manually fallback in GL

Co-authored-by: Zeqiang Li <zeqiang-li@outlook.com.com>
2022-03-24 15:37:38 +08:00
kenshin 93f37f2b82 Optimize android download tasks. (#10274) 2022-03-21 19:53:11 +08:00
江战 cb0618f0d4 3.5 Android: okhttp impl websockets (#10384) 2022-03-21 09:46:49 +08:00
minggo 73c303f556 Merge branch 'v3.5.0' into merge_v3.5.0 2022-03-08 14:53:00 +08:00
bofeng-song 4b92dfd675 support audiofocuschange for android (#10246)
* support audiofocuschange for android
2022-03-08 10:20:46 +08:00
bofeng-song 65e89c2094 fix translucent problem due to SurfaceView‘s limit (#10228) 2022-03-02 17:47:27 +08:00
bofeng-song 141128f148 refine context2d, reduce call from native to js (#10211)
* reduce c++ callback to js
2022-03-02 09:56:00 +08:00
timlyeee f175150b6c Cherry pick from v3.4.2 (#10182)
* supply a default context when surface destroyed (#4222)

* Fix loop audio would stop for ios system (#4254)

* IOS system has an uncertain state between foreground and background, and our condition sometimes miss the point to load buffers.
* Queue for 3 buffers might be too short to live, use 4 or even more instead.

* Use same mtx for write (#4220)
2022-02-25 13:52:31 +08:00
江战 362f42b70c update okhttp to 3.12.14 (#10169) 2022-02-24 18:22:20 +08:00
timlyeee 83ecd19721 Divide foreground tasks and all-time tasks (#4206)
* Add JsbBridgeWrapper for ohos

* Divide Foreground tasks and all-time tasks

* implement a taskQ class

* Add ohos support
2022-01-24 10:25:05 +08:00
江战 8154648490 3.4.1 Android: Java flush game thread tasks (#4193)
* fix run on game thread

* save

* just flush java tasks, do not run gameTick

* reduce timeout to 50
2022-01-19 12:40:20 +08:00
timlyeee b54225e433 Rename JsbBridgeWrapper API (#4130) 2022-01-06 16:58:37 +08:00
timlyeee b5c40837c8 add JsbBridgeWrapper(#4125) 2022-01-04 13:38:23 +08:00
timlyeee 0a74bcf92d Fix Editbox bug (#4091)
[ Bug ] For android API 18, edit-box's text would be occluded.
2021-12-08 17:39:35 +08:00
江战 adbcee9d4c keep screen on (#4007) 2021-10-27 09:51:48 +08:00
timlyeee 85c52544a5 message channel between Native and JS (#3900)
* Invoke Native Function in JS
* Invoke JS function in Native
Co-authored-by: LX <codingboeuf@jizamaoxuewangdeMacBook-Air.local>
2021-09-29 14:16:30 +08:00
minggo f3049c0acb merge v3.3.1 to v3.4.0 2021-09-09 11:00:18 +08:00
timlyeee 0a742ad421 Fix issue for android bug (#3852)
* https://forum.cocos.org/t/topic/119306/142
2021-08-26 16:48:46 +08:00
minggo a61b2931dc merge v3.3.0 and fix conflict 2021-08-04 16:43:35 +08:00
mmyduckx 1fda312b80 fix android hide vitural Button (#3743) 2021-07-20 09:31:26 +08:00
Lu Ching Wen b11faaf2a2 Fix android App crash issue (#3644) 2021-06-23 17:16:03 +08:00