wangjing [Fri, 17 May 2024 12:56:55 +0000 (20:56 +0800)]
[M120 Migration][VD] Only root viewport use specific scrollbar on TV web browser
For Tizen WebBrowser customization.
1. The root frame viewport use the specific scrollbar for the TV web browser.
2. The other frame use the traditional scrollbar to avoid some content
be covered by scrollbar.
refer:
https://review.tizen.org/gerrit/#/c/292169/
Change-Id: I4f5eced384c38ebe4224f11cba65c25b9afe9c84
Signed-off-by: wangjing <jing124.wang@samsung.com>
Rohit Kumar [Tue, 21 May 2024 09:44:37 +0000 (15:14 +0530)]
[M120 Migration] Fix for new window not opening
When clicked on linkedin Google Auth signin button,
window is not opening. This patch fixes this issue.
Reference: https://review.tizen.org/gerrit/304184
Change-Id: Ic9eafe415ecee01eb53aa19bb2229ef26ba8003d
Signed-off-by: Rohit Kumar <rohit.16@partner.samsung.com>
wuxiaoliang [Mon, 20 May 2024 06:32:22 +0000 (14:32 +0800)]
Fixup! [M120 Migration] Support Dash high bitrate
use std::string + to catenate string.
Change-Id: I19c9be512a4c2c914d6c6d385a1e49659451d8a9
Signed-off-by: wuxiaoliang <xliang.wu@samsung.com>
peng1xiao [Thu, 9 May 2024 08:37:51 +0000 (16:37 +0800)]
[M120 Migration][WebMedia]Report right status and currenttime to app
1.Update video display aspect ratio and add error handle
Migrate from:
https://review.tizen.org/gerrit/#/c/293074/
2.Report right status and currenttime to app
Migrate from:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/295396/
3.refine SetAppInfo logic
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/298626/
Change-Id: I11db13129af07352f88121a679c74d865c000ec6
Signed-off-by: peng1xiao <peng1.xiao@samsung.com>
Jakub Gajownik [Thu, 16 May 2024 15:26:01 +0000 (17:26 +0200)]
[M120 Migration][MM][WebRTC][GS] Added game mode parameter in TTvd video decoder.
Ported commit:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/310749/
Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-493
Change-Id: I53b1e6fa09288754d5e940bbfb88ad75819e1c3c
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
yangzw [Thu, 9 May 2024 06:41:05 +0000 (14:41 +0800)]
[M120 Migration] Support AC-4 audio codec
HbbTV uses AC-4 encrypted audio stream.
This patch is verified by HbbTV MediaSource/AC-4 TCs.
ref:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/299413/
Change-Id: I62876758e84c9f35386f5388466846b76b504c15
Signed-off-by: yangzw <zw714.yang@samsung.com>
Jakub Gajownik [Mon, 20 May 2024 10:21:55 +0000 (12:21 +0200)]
fixup! [M120 Migration][WebRTC][GS] Don't trigger redraw for overlay forced frames
Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-493
Change-Id: I80540e12877640bb5eabfc820c9321cef754a2f8
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
Jakub Gajownik [Thu, 16 May 2024 11:42:49 +0000 (13:42 +0200)]
[M120 Migration][MM] Not calling `DestroyPlayerSync` when using Upstream Architecture
Ported commit:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/308958/
Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-493
Change-Id: Id57594cce10141973d0dba9fa56046f283b0c282
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
Jakub Gajownik [Thu, 16 May 2024 10:21:07 +0000 (12:21 +0200)]
[M120 Migration][MM][WebRTC][GS] Fallback from HW decoder in case of resource conflict
Ported commit:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/308147/
Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-493
Change-Id: Iddcef4861926abe9f67cd74f202b409d8cdf89e4
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
Jakub Gajownik [Thu, 16 May 2024 10:11:20 +0000 (12:11 +0200)]
[M120 Migration][MM] Don't override demuxer for upstream arch
Ported commit:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/307093/
Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-493
Change-Id: Ia0ab6a51d640e9a371c1c9c6fe87ae02b62dc0ce
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
Jakub Gajownik [Thu, 16 May 2024 09:41:24 +0000 (11:41 +0200)]
[M120 Migration][MM][WebRTC][GS] Restart player after hardware context reset
Ported commit:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/306733/
Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-493
Change-Id: I40f178459c6bbc2a702185c8b71dabf28fe706d1
Michal Jurkiewicz [Thu, 30 Apr 2020 06:25:28 +0000 (08:25 +0200)]
[M120 Migration][WASM] Added Tizen TV WASM namespace and versioning WebAPI
This patch ports Tizen TV WASM namespace (including versioning)
WebAPIs. This is a base for further WASM (and WebRTC, which also uses
versioning mechanism) ports.
The scope of porting included Tizen TV WASM core features.
Ported patches:
- https://review.tizen.org/gerrit/291864
- https://review.tizen.org/gerrit/292540
- https://review.tizen.org/gerrit/296072
Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1544
Signed-off-by: Piotr Bałut <p.balut@samsung.com>
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
Signed-off-by: Adam Bujalski <a.bujalski@samsung.com>
Change-Id: I2b0adea4452872c99f169a5dc8c11b16d221c76c
Jakub Gajownik [Wed, 15 May 2024 11:06:58 +0000 (13:06 +0200)]
[M120 Migration][EMSS][WebRTC] Added unified Tizen Media Logger
Ported commits:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/292141/
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/294275/
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/300090/
(partially) https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/306460/
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/307840/
Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-501
Change-Id: Idb7f09ead3b56ad4b1e97bacbacf2999e4435d12
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
Michal Jurkiewicz [Wed, 15 May 2024 14:14:59 +0000 (16:14 +0200)]
Optimize chromium rebuilds - icu build
On tizen 9.0, as `icu_copy_icudata_to_root_build_dir` flag
is set, `icudtl.dat` is copied to output dir by `copy_icudata`
action (`third_party/icu/BUILD.gn`) and does not need to be
copied manually.
`common/icudtl.dat` and `android/icudtl.dat` are the same files,
so this patch removes unneeded copy of `android/icudtl.dat`
to output dir.
Bug: https://cam.sprc.samsung.pl/browse/VDWASM-1212
Change-Id: I46eb1ad3c4d91633f3d1544ed53e2b3ed7faebd9
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
Jakub Gajownik [Thu, 16 May 2024 09:36:58 +0000 (11:36 +0200)]
[M120 Migration][MM][WebRTC][GS] Prefer GL fence for presentation notification
Ported commit:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/305359/
Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-493
Change-Id: I740dcd322ab61cb937631213476a89d7e06e58d3
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
Jakub Gajownik [Thu, 16 May 2024 09:24:19 +0000 (11:24 +0200)]
[M120 Migration] Add workarounds related to decoder
Note that workarounds usages are ported with separate
patches. Here we've definitions from:
* [MM][WebRTC][GS] Workaround for wrong clip geometry setting
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/309086/
* [MM][WebRTC][GS] Use HV flip instead of rotate 180
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/309305/
* [MM][WebRTC][GS] Limit rotation support on KantSU2e
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/309306/
Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-493
Change-Id: I2e5c16762fa704fa21d9f37912fcc21a362d525a
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
Jakub Gajownik [Thu, 16 May 2024 09:17:40 +0000 (11:17 +0200)]
[M120 Migration] Support machine model name under gpu info
Ported commit:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/309039/
Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-493
Change-Id: Ibbff25ac91b913c7919bcc3d23d8ae2a89900434
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
wuxiaoliang [Thu, 9 May 2024 03:18:55 +0000 (11:18 +0800)]
[M120 Migration] Add new api for webbrowser to set default audio input device
void ewk_settings_default_audio_input_device_set(Ewk_Settings* settings, const char* device_id);
Migrated from:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/295162/
Change-Id: I9b2cb049bd28ae8b11af7a12a7a2768b16c29ef4
Signed-off-by: wuxiaoliang <xliang.wu@samsung.com>
jiangyuwei [Mon, 20 May 2024 05:17:44 +0000 (13:17 +0800)]
[M120 Migration] Remove duplicate function definition
Below function have duplicate definition:
ewk_check_chromium_ready
ewk_wait_chromium_ready
Reference:
- https://review.tizen.org/gerrit/289662/
Change-Id: I06437556545edcb34c7e045f8974e3cf17b95c83
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
yangzw [Thu, 9 May 2024 03:29:12 +0000 (11:29 +0800)]
[HBBTV] Add TS stream judgement
Add TS judgment when url is .ts
ref:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/298300/
Change-Id: I6709a156438844e09a2390fd23c996ce9cbb03aa
Signed-off-by: yangzw <zw714.yang@samsung.com>
jiang yuwei [Mon, 20 May 2024 07:56:51 +0000 (07:56 +0000)]
Revert "[M120 Migration][VD] Add waiting for RW image mount"
This reverts commit
36e4fa72efc2fa71ab28e3c3d00c5790ef8d9c50.
Change-Id: I197ec029fb2420e8d2fe1182e1e9129ef9c77d02
zhishun.zhou [Thu, 9 May 2024 04:10:16 +0000 (12:10 +0800)]
[M120 Migration][MM] Suspend/Resume according to webview visibility
The suspend/resume message delivery to redner process too late.
Let's call player suspend/resume according webview visibility.
Patch from:
https://review.tizen.org/gerrit/#/c/301466/
Change-Id: Ia7e6f51c301e0502e2f3b7e723cae387cb1c4ee2
Signed-off-by: wuxiaoliang <xliang.wu@samsung.com>
Signed-off-by: zhishun.zhou <zhishun.zhou@samsung.com>
chenhuasheng [Mon, 20 May 2024 01:12:07 +0000 (09:12 +0800)]
[M120 Migration] Enable symbolize on local build by default
This enables symbolize on local build for debugging to use backtracing
log.
Reference:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/291142/
Change-Id: I647a858898fc70a123a5e6a7acd3bd3a2c919baa
Signed-off-by: chenhuasheng <hsheng.chen@samsung.com>
xiaofang [Mon, 8 May 2023 01:13:32 +0000 (09:13 +0800)]
[M120 Migration][MM][HBBTV] Support Hbbtv Auto Play
when hbbtv load resource complete,state is FutureData.
let paused = false to make "play" is called.
Migration from:
https://review.tizen.org/gerrit/292422/
Change-Id: I739a898420f003fd94d0f6610e69cca47a57afd6
Signed-off-by: yanqing.lu <yanqing.lu@samsung.com>
Chandan Padhi [Thu, 16 May 2024 13:35:11 +0000 (19:05 +0530)]
[Chrome] Fix for chrome://apps load failure
chrome://apps failed to load as the corresponding pak file
was not getting generated. This commit enables the same.
Change-Id: I1aaafd3d436cf055c2f92087acb61958170aebfa
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
wuxiaoliang [Fri, 10 May 2024 02:36:51 +0000 (10:36 +0800)]
[M120 Migration][MM] Clear glibc's malloc cache periodically
Migrated from:
https://review.tizen.org/gerrit/#/c/297241/
https://review.tizen.org/gerrit/#/c/298636/
Change-Id: Iad29a6b3b090170aee2ceafd95633ad93923f3b5
Signed-off-by: wuxiaoliang <xliang.wu@samsung.com>
wuxiaoliang [Tue, 14 May 2024 09:17:35 +0000 (17:17 +0800)]
Fixup! [M120 Migration] Support HDR10+ property
remove repeated log.
Change-Id: Ia961a1c1d95f84715b1e3c4b9c282c76c2966b96
Signed-off-by: wuxiaoliang <xliang.wu@samsung.com>
Adam Bujalski [Thu, 16 May 2024 09:30:44 +0000 (11:30 +0200)]
fixup! [Tizen] Fix for Compiler and linker errors
Setting `use_atk=false` in `gn_chromiumefl.sh` has no effect, due to a
way `use_atk` variable is defined in `//build/config/ui.gni` it only
causes that triggering following warning message:
```
WARNING at the command-line "--args":1:869: Build argument has no effect.
use_libjpeg_turbo=true rtc_enable_sctp=true use_alsa=false ....
Did you mean "use_gtk"?
The variable "use_atk" was set as a build argument
but never appeared in a declare_args() block in any buildfile.
```
Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1544
Change-Id: I4d9757a61ccf94820e3364d94c8f676721455bb2
Signed-off-by: Adam Bujalski <a.bujalski@samsung.com>
Jakub Gajownik [Wed, 15 May 2024 10:31:13 +0000 (12:31 +0200)]
[M120 Migration][MM][WebRTC][GS] Recreate renderer for upstream architecture
Ported commit:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/303066/
Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-493
Change-Id: Icf146f1cfea03f37a6e650883ddbb706afde3b37
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
Jakub Gajownik [Wed, 15 May 2024 10:24:54 +0000 (12:24 +0200)]
[M120 Migration][MM][WebRTC][GS] Disable video hole for upstream architecture
Ported commits:
* [MM][WebRTC][GS] Disable video hole for upstream architecture
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/300798/
* fixup! [MM][WebRTC][GS] Disable video hole for upstream architecture
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/301044/
Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-493
Change-Id: I9f1fac5dd3353860dcf1dd0fceeb4ffb1cb25af3
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
Adam Bujalski [Tue, 18 Apr 2023 08:06:38 +0000 (10:06 +0200)]
[M120 Migration] Adding default values for features
There were variables set in `gn_chromiumefl.sh` but not declared in GN
files, which caused following warning:
WARNING at the command-line "--args":1:510: Build argument has no effect.
The variable "SOME_VAR" was set as a build argument
but never appeared in a declare_args() block in any buildfile.
This patch provides default values for them or avoids providing
value them for TV build in gn_chromiumefl.sh script.
Ref: https://review.tizen.org/gerrit/291865
Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1544
Signed-off-by: Adam Bujalski <a.bujalski@samsung.com>
Change-Id: I4bcaa92138f692b88c84d17400e94a64d4b1789c
Michal Jurkiewicz [Wed, 15 May 2024 12:02:01 +0000 (14:02 +0200)]
[M120 Migration] Optimize chromium rebuilds
Port the following patch from tizen 7.5:
* [M108 Migration] Optimize chromium rebuilds
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/290585
Bug: https://cam.sprc.samsung.pl/browse/VDWASM-1212
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
Change-Id: I50fef0b948d3f265d36e41b7019ae81687f689fc
Jakub Gajownik [Wed, 15 May 2024 10:11:57 +0000 (12:11 +0200)]
[M120 Migration][MM][WebRTC][GS] Adjust software fallback mechanism
Ported commit:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/299146/
Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-493
Change-Id: I2563e5c323b098e6dda23f679bb43edbf16cf5da
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
Jakub Gajownik [Wed, 15 May 2024 10:03:02 +0000 (12:03 +0200)]
[M120 Migration][MM] Use video surfaces when upstream architecture enabled
Ported commit:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/294858/
Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-493
Change-Id: I876372dc1c20442f9836df00cd2ed5ed18b38280
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
Jakub Gajownik [Thu, 16 May 2024 14:43:30 +0000 (16:43 +0200)]
[M120 Migration] Introduce dedicated functions to check modes
Ported commits:
* Introduce dedicated funtion to check upstream architecture
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/308361/
* [MM] Introduce dedicated function to check game mode
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/309473/
There is no using of those functions yet ported, but it
should be easier to do later. Decreases number of patches
needed to be done manually.
Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-493
Change-Id: I5b1de2e1cb0548cb15fa9611780939d4ea2ed45a
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
Adam Bujalski [Tue, 29 Aug 2023 11:44:09 +0000 (13:44 +0200)]
[M120 Migration] Fixing compiler warnings
Porting patches related to fixing compiler warnings for Chromium code
or suppressing them for 3rd party libraries.
Ported patches:
- https://review.tizen.org/gerrit/290586
- https://review.tizen.org/gerrit/290747
- https://review.tizen.org/gerrit/290748
- https://review.tizen.org/gerrit/291197
- https://review.tizen.org/gerrit/298149
Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1544
Signed-off-by: Adam Bujalski <a.bujalski@samsung.com>
Change-Id: I00ef221014189c1275613fcec9984dfb52efcdd8
jiangyuwei [Thu, 16 May 2024 01:56:08 +0000 (09:56 +0800)]
[M120 Migration][VD] Add waiting for RW image mount
When UWE is used but RW image was not mounted yet,
Engine could wrongly dlopen RO package.
This patch adds additional waiting for RW mount
to prevent from opening RO package by mistake.
Max waiting time for RW mount: 10s
Reference:
- https://review.tizen.org/gerrit/301389/
Change-Id: Ie83cde9ac0fe41391ecc6f01887da52d3d431c89
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
wangjing [Fri, 10 May 2024 05:44:39 +0000 (13:44 +0800)]
[M120 Migration][VD] Implement the specific scrollbar for the TV web browser.
The web browser team wants specific scrollbar to the TV.
So we implemented the scrollbar based on the GUI guideline document.
If you want test it, need enable with the command as below.
(eg. ubrowser --enable-features=NativeScrollbar)
refer:
https://review.tizen.org/gerrit/#/c/291989/
Change-Id: I5b26519be7f05fa78e6a86e816c4f96e3fb47ace
Signed-off-by: wangjing <jing124.wang@samsung.com>
Robert Bycul [Thu, 9 May 2024 10:53:13 +0000 (12:53 +0200)]
[M120 Migration][WASM] Adding flag indicating builds for Tizen TV to V8
Ported patch:
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/291875
There are some additional V8 features added for Tizen TVs only, so flag
indicating build for such platform is required in V8.
Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1543
Change-Id: I5a59e989bf5c40c4bbc9e3cc99c4730981ce8a70
Signed-off-by: Robert Bycul <r.bycul@samsung.com>
Jakub Gajownik [Wed, 15 May 2024 08:50:51 +0000 (10:50 +0200)]
[M120 Migration][WebRTC][GS] Don't trigger redraw for overlay forced frames
Ported commits:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/296944/
(partially) https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/297919/
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/301487/
Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-493
Change-Id: I3f6a487283613a6bef176ee260c7cca25c6bc9d8
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
Jakub Gajownik [Wed, 15 May 2024 05:43:53 +0000 (07:43 +0200)]
[M120 Migration] fixup! [MM] Handle buffering and playback
Ported commit:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/294072/
Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-493
Change-Id: I2f37f454d03943c4b1659d56a2280213f05ec8c5
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
Jakub Gajownik [Wed, 15 May 2024 05:31:41 +0000 (07:31 +0200)]
[M120 Migration] fixup! [M108 Migration][MM] Introduce renderer seek
Ported commit:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/294071/
Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-493
Change-Id: I1016ea89f12f3f5081364601476d45e457f19f82
Signed-off-by: Jakub Gajownik <j.gajownik2@samsung.com>
nishitha [Thu, 16 May 2024 06:08:56 +0000 (11:38 +0530)]
[Coverage] Patch for UnitTest coverage
Improve line and function coverage percentages.
Coverage result with the patch-
Lines : 86.8%
Functions: 85.1%
Reference: https://review.tizen.org/gerrit/309202
Change-Id: Ic13957441e962216404b322145608b2e1bf664fe
Signed-off-by: nishitha <n.saravanan@samsung.com>
v-saha [Thu, 16 May 2024 07:56:09 +0000 (13:26 +0530)]
[M120 Migration] Fix availWidth/availHeight is not work
availWidth/availHeight is based on work area, it was set
while init display info, and this is platform dependence.
Reference: https://review.tizen.org/gerrit/293023
Change-Id: Ie5ffc5dc0669780beb330b762098895ebbc4ce67
Signed-off-by: v-saha <v.saha@samsung.com>
zhaosy [Wed, 8 May 2024 06:38:40 +0000 (14:38 +0800)]
[WRTjs][VD] Clear cache in native side directly in low memory case
In low memory case, send event from native side -> wrtjs -> native side to clear cache.
But sometimes, it costs too much time to send event, then app maybe is dead-lock.
So clear cache in native side directly.
Change-Id: Ibfeb32ab4ba9d8c3b8327e3a57e68bdb3d9c2dfe
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
Chunling Ye [Wed, 17 Apr 2024 07:19:15 +0000 (15:19 +0800)]
[WRTjs][Service] Add Service app status mechanism
Depend on patch:
https://review.tizen.org/gerrit/309855/
Change-Id: I677bf5cbd60e52314762fb2c56a8e6d555f5f07d
Signed-off-by: Chunling Ye <chunling.ye@samsung.com>
jiangyuwei [Wed, 15 May 2024 07:28:55 +0000 (15:28 +0800)]
fixup! [M120 Migration] Refactor CookieManager
1.Implement CookieManager functions via network::mojom::CookieManager
2.Delete cookies on UI thread
3.Remove UrlRequestContextGetter related code
4.Fix code style issue
References:
- https://review.tizen.org/gerrit/293007/
Change-Id: Iaef9935b1ff60bc4f29d3f92b06730137fe8e1c3
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
zhishun.zhou [Mon, 13 May 2024 08:00:04 +0000 (16:00 +0800)]
[M120 migration][MM][HBBTV] Add video_id for JS and EWK API
Support js interface that used to get video id of video element.
It's used by HBBTV.
Patch from:
https://review.tizen.org/gerrit/#/c/293421/
https://review.tizen.org/gerrit/#/c/294255/
Some part of the original patch have been merged by:
https://review.tizen.org/gerrit/#/c/309217/
Change-Id: I49de03056f0ddc79df13a42b880a28dc1e479812
Signed-off-by: yangzhiwen <zw714.yang@samsung.com>
Signed-off-by: zhishun.zhou <zhishun.zhou@samsung.com>
feifei08.liu [Tue, 14 May 2024 06:10:11 +0000 (14:10 +0800)]
[M120 Migration][VD] Force sync level database file on low end
Vdfs4 filesystem can't sync timely. Checked with tizen linux kernel team,
kernel need to wait 30s then do auto sync after last write operation by user.
For HbbTV power cycle test, the new content is not really write done.
Since these exception cases, WebEngine do force sync for level database file.
Refer: https://review.tizen.org/gerrit/297841/
Change-Id: I142d33bf3476cf7cdf2dfb1f1c24b58bf0b0c961
Signed-off-by: feifei08.liu <feifei08.liu@samsung.com>
jingjieli [Tue, 14 May 2024 02:17:12 +0000 (10:17 +0800)]
[M120 Migration][VD] Ignore "p2p" port message notified by system kernel
NetLink sends RTM_NEWADDR message for "p2p" port,
this causes WebEngine close all unfinished requests.
user APP should skip its events.
References:
https://review.tizen.org/gerrit/#/c/296054/
Change-Id: Ia430b7a2dded1618585128a72cfe21296132f40b
Signed-off-by: jingjieli <jingjie.li@samsung.com>
Qiang Ji [Tue, 14 May 2024 10:48:18 +0000 (18:48 +0800)]
[M120 Migration] Update libdir and include dir
Don't use fixed dir for lib and include dir, use
_libdir to instead.
refs:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/275831/
Change-Id: I1c632fea09a3915fd90c3cc05f25fbf5d75d4c78
Signed-off-by: Qiang Ji <qiang.ji@samsung.com>
liwei90727 [Tue, 14 May 2024 03:18:34 +0000 (11:18 +0800)]
[WRTjs][VD] Change the Json format for camera info api for service app
This camera api is for devicehome, and there is nested redundant array,
change JS format from
"camera_device_list" :
[
[
{
"name" : "C922 Pro Stream Webcam",
"type" : 12
}
]
],
"device_count" :
[
"1"
]
to
"camera_device_list": [
{
"name": "C922 Pro Stream Webcam",
"type": "1"
}
],
"device_count": "1"
Change-Id: I729b5f08d46cc5e8fb043e814812eed2cc49a39e
Signed-off-by: liwei90727 <wei90727.li@samsung.com>
fangfengrong [Tue, 14 May 2024 02:42:21 +0000 (10:42 +0800)]
[M120 Migration]Make WebContentsViewAuraHelperEfl also work for onscreen mode.
While onscreen mode, such as WRT also need use the WebContentsViewAuraHelperEfl
class to route some calls to wrt efl delegate classes.
So remove offscreen mode check,
make WebContentsViewAuraHelperEfl work for both onscreen and offscreen mode.
Reference:
https://review.tizen.org/gerrit/#/c/291598
Change-Id: I9e3ae81b59b208a0209799c7c8aff7b8fe2f44a8
Signed-off-by: fangfengrong <fr.fang@samsung.com>
fang fengrong [Mon, 13 May 2024 02:58:16 +0000 (10:58 +0800)]
[M120 Migration][HBBTV] Set DynamicPlugin when Network service enable.
Now the Network service is default enabled. When it's enabled,
URLRequestContextGetter is not created,
URLRequestInterceptor with DynamicPlugin is not created.
This patch implement it when Network service is enabled.
Because there is no interceptor, we parse url in ThrottlingURLLoader now.
Reference:
https://review.tizen.org/gerrit/#/c/290763
Change-Id: I6b812b06ab3c5e4a3f4db606209e309795fac74e
Signed-off-by: fang fengrong <fr.fang@samsung.com>
zhaodan [Mon, 13 May 2024 08:21:37 +0000 (16:21 +0800)]
[M120 Migration][VD] When vd_gcov is set, enable g++ as the default compiler
ref:https://review.tizen.org/gerrit/#/c/293981/
Change-Id: I90a6663941f3fe4b3487fc93b97d21e0a21377af
Signed-off-by: zhaodan <danys.zhao@samsung.com>
Qiang Ji [Tue, 14 May 2024 00:45:06 +0000 (08:45 +0800)]
[M120 Migration] Fix lfd/iwb device shows black screen while launching webbrowser
From M108, gpu thread and main thread need to share texture id, so we used
virtualized gl context. Gpu thread called egl interface to create gl context,
we need to pass a shared context to it. So we should create gpu thread context
after GLSharedContextEflPrivate which was created when a web view was added.
We modified the startup sequence for LFD/IWB device.
1. Create GPU channel host
2. Create GLSharedContextEflPrivate
3. EstablishGpuChannel
4. Create egl context based on GLSharedContextEflPrivate as shared context
while orig sequence on LFD/IWB is
1. Create GPU channel host
2. EstablishGpuChannel
3. Create egl context without shared context
4. Create GLSharedContextEflPrivate
refs:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/297077/
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/301030/
Change-Id: Id2dd854dfbf677b0340896d9b8553b49b30daa57
Signed-off-by: Qiang Ji <qiang.ji@samsung.com>
jiangyuwei [Mon, 13 May 2024 08:22:37 +0000 (16:22 +0800)]
[M120 Migration] Fixes svace issues
This patch fixes the following issues:
Return value of a function 'evas_device_name_get' is dereferenced
at efl_event_handler.cc:983 without checking for NULL.
Add null check for the device_name.
References:
- https://review.tizen.org/gerrit/302969/
Change-Id: I3df82fec4d639e5a5e3b61355f3b1b48feef905c
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
jiangyuwei [Mon, 13 May 2024 08:00:19 +0000 (16:00 +0800)]
[M120 Migration] Add a check for layout_object in LoadPlugin.
The check for layout_object is removed in upstream.
But it may still be null, so add a check for it.
References:
- https://review.tizen.org/gerrit/291492/
Change-Id: I9067a94ad5ffccc884bb636cd37e3963d11d1221
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
Daniil Ruban [Thu, 11 Apr 2024 14:43:10 +0000 (16:43 +0200)]
Fix datetime and time input boxes
- Fixes 'time-tizen-test's
- Due to EFL 'date-time box' returns time in ISO8601 format, chromium blink
can't parse it. For such reason was added simple offset to the input datetime
string (ISO8601_TIME_OFFSET).
- Almost the same story with datetime input box (not datetime-local),
due to there is no TZ in EFL output, blink wasn't able to parse the string.
As solution - use the same parsing as datetime-local,
if string shorter then ISO8601 + TZ, then use old one.
Change-Id: Id1bac3a738179d543d19b1165fe76e8233a5cd4a
Signed-off-by: Daniil Ruban <intx82@gmail.com>
fangfengrong [Thu, 9 May 2024 09:45:33 +0000 (17:45 +0800)]
[M120 Migration][VD] Support radio and checkbox input
Support radio and checkbox input.
Converting 'Enter' key of RC to 'space' key,
for Support select radio and checkbox by Remote Control 'Enter' key.
Refer:
https://review.tizen.org/gerrit/#/c/305530
Change-Id: I950292037832e89eb6671abe9df753cd7cf04578
Signed-off-by: fangfengrong <fr.fang@samsung.com>
fang fengrong [Thu, 9 May 2024 09:21:57 +0000 (17:21 +0800)]
[M120 Migration]Fix Mouse Position Issue in miniplayer
1. On miniplayer window, the window x position is not from 0,
need minus x offset, or else will cause the screen position wrong.
2. When mouse in, set focus to efl window to fix miniplayer without focus issue.
refer:
https://review.tizen.org/gerrit/#/c/299719/
Change-Id: I5abb5e3f496ac417cee82f7f347dec81887af778
Signed-off-by: fang fengrong <fr.fang@samsung.com>
Chunling Ye [Sat, 11 May 2024 07:37:37 +0000 (15:37 +0800)]
[WRTjs][VD] Add lock for preload extension handle map
To avoid crash happenend when set preload handle map in
defect
DF240509-01457.
Change-Id: I4c9cff243826e34a47a0a56166d8656b2ed5d691
Signed-off-by: Chunling Ye <chunling.ye@samsung.com>
fangfengrong [Fri, 10 May 2024 02:20:31 +0000 (10:20 +0800)]
[M120 Migration]Fix hbbtv failed to lose window focus issue.
Disable lostFocus cause document.hasFocus value is wrong.
So let hbbtv call set focus when they use.
refer:
https://review.tizen.org/gerrit/#/c/302132/
Change-Id: I975a6d532ba4bc5481236bad87dc87432d014dab
Signed-off-by: fangfengrong <fr.fang@samsung.com>
yangzw [Fri, 10 May 2024 11:09:25 +0000 (19:09 +0800)]
[M120 Migration][MM] Support Media Sync feature
Add 6 APIs for JS to get/set media info
Add API and callback for mrsurl and contentId
ref:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/293176/
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/298300/
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/299955/
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/299805/
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/297224/
Change-Id: I1bf8600eb43d0ff35cd81e8590a3a8ed3b816255
Signed-off-by: yangzw <zw714.yang@samsung.com>
fang fengrong [Thu, 9 May 2024 10:01:29 +0000 (18:01 +0800)]
[M120 Migration][VD] Handle some key on IME for HBBTV
1.[VD] handle Up key on top of IME as same as Return Back key for HBBTV
It's a new requirement for HBBTV from tizen 4.0:
Press up key on the top of IME behavior should handled as same as
press Return Back key behavior.
The requirement is same with webbrowser and wrt, so remove the macro,
handle ConvertUpToReturnBackIfNeeded as common.
Add some log on OnInputPanelStateChanged for debug IME show/hide state.
2.[VD] Modify keycode of IME Cancel key and IME Done key for HBBTV
It's a new requirement for HBBTV:
HBBTV need support IME as same as webapp(WRT).
Make the key/keycode on HBBTV as same as on the webapp(WRT):
IME Cancel:
key:"Cancel", keyCode:65385
IME Done/Go/Search:
key:"Select", keyCode:65376
Also deliver these keys to js for js handle.
refer:
https://review.tizen.org/gerrit/#/c/299729/
https://review.tizen.org/gerrit/#/c/301193/
Change-Id: I57f83b1ffc5fb1da664aea4464f08ed0acaf6d5b
Signed-off-by: fang fengrong <fr.fang@samsung.com>
fangfengrong [Thu, 9 May 2024 10:57:08 +0000 (18:57 +0800)]
[M120 Migration][VD]Support use floating IME for webapp
It's a new requirement for webapp on 22/23/24 year product,
webapp can decided use floating IME or not,default is don't use.
If app set use floating IME, then WebEngine need deliver app's set to IME
by ecore_imf_context_input_panel_imdata_set api with action=floating_ui
for IME to floating IME UI.
refer:
https://review.tizen.org/gerrit/#/c/300199/
Change-Id: Ib0ad11b7bbcd3ffd4fa5e359dfd9ac27cecc6c25
Signed-off-by: fangfengrong <fr.fang@samsung.com>
fangfengrong [Fri, 10 May 2024 02:15:58 +0000 (10:15 +0800)]
[M120 Migration]Fix an issue which Service worker crash in BBC certification tests
Produce2024 BBC certification test need verify service worker.
HbbTV crashed when running the service worker tests.
testcase:
ACT-1490 Service Worker: Non blocking, run off the main thread
ACT-1493 Service Worker: Intercept and cache fetch requests
ACT-1494 Service Worker: Register/unregister
When GetLoaderFactoryForBrowserInitiatedRequest call WillCreateURLLoaderFactory pass a nullptr(frame).
Then WillCreateURLLoaderFactory pass frame->GetFrameTreeNodeId() as functional parameter caused crash.
solution:
When RenderFrameHost is null, do not create any URLLoaderFactory.
refer:
https://review.tizen.org/gerrit/#/c/296941/
https://review.tizen.org/gerrit/#/c/297918
Change-Id: Ia3f4512cba0ec295dd0c3685ece89a0923a929b2
Signed-off-by: fangfengrong <fr.fang@samsung.com>
shayh [Wed, 8 May 2024 10:43:56 +0000 (18:43 +0800)]
[M120 Migration] Disable DoH as default
DoH is DNS over HTTPs, to improve security of DNS, but need time to query
clearall app will appear some unreasonable url request.
like https://dns.google/dns-query?dns=AAABAAABAAAAAAABA3d3dwdnc3RhdGljA2NvbQAAAQABAAApEAAAAAAAAFQADABQAAAAAA
DoH will effect app loading performance, so disable as default
Change-Id: I2bc3e884a6d56692feb5d9a155ef2a9fe4722778
Signed-off-by: shayh <yuhong.sha@samsung.com>
fangfengrong [Fri, 10 May 2024 02:23:57 +0000 (10:23 +0800)]
[M120 Migration][VD] Skip flushAndSubmit sync for bbc app
bbc loadpage was block by flushAndSubmit.
skip the function for hbbtv app.
refer:
https://review.tizen.org/gerrit/#/c/300042/
Change-Id: I398df0fc8b38e2d634e1952ce109ad63297beb68
Signed-off-by: fangfengrong <fr.fang@samsung.com>
zhaosy [Thu, 9 May 2024 07:44:12 +0000 (15:44 +0800)]
[WRTjs][VD] Enable Cookie and DiskCache feature
Enable Cookie and DiskCache feature
Change-Id: I89b305188211d274e3b2ca04fa41a99c142f203c
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
Rohit Kumar [Thu, 9 May 2024 10:48:20 +0000 (16:18 +0530)]
Fix for chrome crash issue.
This change will fix the chrome crashes.
Crashes were happening while accessing the settings from
the context menu, importing bookmarks and clicking on the
about chromium tabs on chrome tab.
The crash was happening because the settings page html
was looking for searchEngineChoiceEntryPointSubtitle and
this key vaule was not getting populated because of the
ENABLE_SEARCH_ENGINE_CHOICE flag. build_chrome needed to
be enabled for this.
Change-Id: I78227ae547e998c18c3023208bb11a0a3928f11a
Signed-off-by: Rohit Kumar <rohit.16@partner.samsung.com>
uzair [Thu, 9 May 2024 14:06:09 +0000 (19:36 +0530)]
Fix for web inspector not working on tizen 9.0
Issue was reported on emulator and rpi4 headed profiles, during debugging a
web application, web socket connection failure occurs and hence not able
to connect to chrome devtools console. This is due to error checking introduced
in open source [1] and mentions to use --remote-origin-allow flag explicitly
but even after which we see white screen in chrome developer console.
Hence for now temporarily we are disabling the error checking to allow web
application debugging to work as expected as [1] was not present in M108 as well.
[1]https://chromium-review.googlesource.com/c/chromium/src/+/
4106102
Change-Id: If0a53754bacdc7f5a59122e348a4fdbde8dcd9c4
Signed-off-by: uzair <uzair.jaleel@samsung.com>
peng.yin [Thu, 9 May 2024 01:05:55 +0000 (09:05 +0800)]
Fixup! [M120 Migration][MM] Merge tizen tv audio input device patches
pick related logic from:
https://review.tizen.org/gerrit/#/c/295121/
Change-Id: I7a038107c0717f1097c3f90af04dfc762221ca19
Signed-off-by: peng.yin <peng8.yin@samsung.com>
fang fengrong [Thu, 9 May 2024 03:49:03 +0000 (11:49 +0800)]
[M120 Migration][VD]Fix wrong key and text issue
1.[VD]Fix wrong key issue
The keys after IME filtered, WebEngine can only receive text on
callback, then WebEngine make fake key event with the text;
compared with the original key event, the fake event lost many
key properties(such as without the modifiers).
If get the DomKey from DomCode, will get wrong key,such as:
input uppercase letter "A" with IME, the key of key up event is lowercase key "a";
input "+" with IME, the key of key up event is "=".
So keep same with M94, if there is no key value, return empty directly,
don't get the DomKey from DomCode, for avoid getting wrong key value.
2.[EFL] Fix wrong text and wrong unmodifiedText issue
For EFL key event,keep same with M94, should get the text and unmodifiedText
from evt->string, not from evt->key.
On most case, the evt->string same with the evt->key;
but on some case, the evt->string may not same with the evt->key, such as:
when number lock, press the number key on the Numeric keypad area of the
usb-keboard, the evt->string is empty, it not same with the evt->key.
And press the number key when number lock, should not show the number.
refer:
https://review.tizen.org/gerrit/#/c/295521/
https://review.tizen.org/gerrit/#/c/295328/
Change-Id: I114db7a08244ef9ce38a18ac43c3f2f9501813b0
Signed-off-by: fang fengrong <fr.fang@samsung.com>
fangfengrong [Thu, 9 May 2024 03:46:46 +0000 (11:46 +0800)]
[M120 Migration][VD] update client position of mouse when webview move
On webbrowser/knox-browser fullscreen to non-fullscreen switch case,
the webview will been moved from (0,0) to (0,144) or from (0,144)
to (0,0), the client position of the mouse which corresponds to the
webview location, should been moved as the webview moved.
So when webview move, trigger a fake mouse move event based on the
current mouse position, then the client position of mouse will been
update according the webview position.
refer:
https://review.tizen.org/gerrit/#/c/296284/
Change-Id: Ia9c762d4f31b0581e0cf8c7697b46cec730134bc
Signed-off-by: fangfengrong <fr.fang@samsung.com>
fangfengrong [Thu, 9 May 2024 03:43:36 +0000 (11:43 +0800)]
[M120 Migration][VD] Reset ime context when mouse click or touch on editable node
When mouse click or touch on editable node(the IME status is focus in),
need reset ime context, to commit previous preedit text,
or else will cause the new input text been inputed on the last position,
not on the mouse or touch moved position.
refer:
https://review.tizen.org/gerrit/#/c/294848
Change-Id: I48fd54eea1ee887f8ca551ca0dd2f8e7f03b4962
Signed-off-by: fangfengrong <fr.fang@samsung.com>
yanqing.lu [Tue, 7 May 2024 08:34:54 +0000 (16:34 +0800)]
[M120 Migration][MM] Enable logging for playback
1. Enable important log for suspend resume issue
https://review.tizen.org/gerrit/299080
2. Add necessary debug info for espp player
normally, there're several players created scenario
add necessary info for these players id, obj addr,
for easier debugging
https://review.tizen.org/gerrit/301400
3. [VD] Add debug logs for suspend/resume
WebView and LocalFrame staus will change during
tab changes in webbrowser. At this time, if webview
exist media element, will notify current status to
media element, but hard to analyze this kind issues
due to lack useful logs.
https://review.tizen.org/gerrit/303204
4. Add debug logs for url request and append data
https://review.tizen.org/gerrit/272717
Change-Id: I2bf76ce89ffd9e29e44658cebba685b8902a9030
Signed-off-by: yanqing.lu <yanqing.lu@samsung.com>
fang fengrong [Wed, 8 May 2024 11:20:03 +0000 (19:20 +0800)]
[M120 Migration][VD] Support mouse feature for smart monitor
1. Support "mouse pointer size" feature for smart monitor
2. Add cursor theme set for HBBTV
3. Support enable/disable mouse event for smart monitor
4. Support "mouse pointer size" feature for DTV
refer:
https://review.tizen.org/gerrit/#/c/294029/
https://review.tizen.org/gerrit/#/c/300866/
Change-Id: I3b5f869403ea349536c244cd2e0ed14d1dfaa318
Signed-off-by: fang fengrong <fr.fang@samsung.com>
fang fengrong [Wed, 8 May 2024 03:04:07 +0000 (11:04 +0800)]
[M120 Migration] Fix without key press event issue
1.For Evas_Event_Key_Down event, when create NativeWebKeyboardEvent
from ui::KeyEvent, becasue of without set character, it only create
kRawKeyDown type, without kChar type, it cause don't create keypress
event.
While some app(such as Jawwy app) need listen the keypress event on js.
2. Fix twice keypress event issue, such as press "Enter" key on Remote Control
on linux, use the RawKeyDown type + Char type, for Char type will create keypress event.
on EFL, follow M94, use the KeyDown type, when handle KeyDown event will create keypress event.
So for EFL, remove the InsertChar for avoid create Char type event, then avoid create keypress event.
3. Fix there should be no keypress event for key with keycode is 0,
such as press korean language character, should be no keypress event.
On EFL, for the key with event.keycode is 0, mean the key is not on the key map,
the event.text should be set as 0, and the event.keycode will been reset as 229.
on the issue, event.text set after event.keycode been reset as 229,
it cause get wrong event.text(not 0), then casue create the keypress event.
So for EFL, set the event.text before reset event.keycode, and deliver the saved event.text.
Summarized:
For key press event:
For EFL, follow the M94, use KeyDown type, donot use the RawKeyDown type + Char type,
The key press created when handle keydown event.
For key with event.keycode is 0, mean the key is not on the key map,
such as korean language character,it should without the keypress event;
For key with event.keycode is not 0, mean the key is on the key map,
such as "Done" key on IME, it should have the keypress event.
4.Also add some key logs for debug.
refer:
https://review.tizen.org/gerrit/#/c/293364/
https://review.tizen.org/gerrit/#/c/293924/
Change-Id: I98ff9285db55a62cf9749332290ddee414e50fb8
Signed-off-by: fang fengrong <fr.fang@samsung.com>
fangfengrong [Wed, 8 May 2024 03:24:18 +0000 (11:24 +0800)]
[M120 Migration] Don't show IME for non user action
When set don't UseKeyPadWithoutUserAction by
set ewk_settings_uses_keypad_without_user_action_set false
or set "use.keypad.without.useraction" false on WRT,
don't show IME when non user action, such as Element auto focus.
refer:
https://review.tizen.org/gerrit/#/c/291775/
Change-Id: I9e6437d9739f73a783a7fb27e01b002f3b9ee733
Signed-off-by: fangfengrong <fr.fang@samsung.com>
fang fengrong [Wed, 8 May 2024 01:27:59 +0000 (09:27 +0800)]
[M120 Migration][[VD][Remote Access] Fix input type change frequency issue
On office 365 case,when input text,the text need sync on line,
and js will call removeAllRanges to clear Selection,
it will lead the RootEditableElementOfSelection is null.
it will cause the input type get as None.
Because check RootEditableElementOfSelection on getInputInfo()
is for get typeInfo.value by RootEditableElement;
but check RootEditableElementOfSelection on getInputType is for
sync with InputInfo.type, and the input type is for handle IME
status(IME focusOut/focusIn/show/hide), not related with typeInfo.value.
So we no need check RootEditableElementOfSelection on getInputType.
Now for Remote Access, when the input type is ContentEditable type,
not check the RootEditableElementOfSelection any more.
refer:
https://review.tizen.org/gerrit/#/c/291834
Change-Id: I41fcb2e9c5bcabb56905a49677b52870c8204974
Signed-off-by: fang fengrong <fr.fang@samsung.com>
fang fengrong [Wed, 8 May 2024 01:03:32 +0000 (09:03 +0800)]
[M120 Migration][VD] Support search wrap around within the page
1. Support search wrap around within the page
Add "wrap_around" properties on FindOptionsPtr, default value is false.
App can pass "EWK_FIND_OPTIONS_WRAP_AROUND" option when calling
"ewk_view_text_find" api,
to search wrap around within the page.
2. Fix search wrap around issue when set wrap around false
As "new_session" properties signifies whether this operation is the
first request or a follow-up; for find next operation, set new_session
is false, or else will cause search wrap around issue when set wrap
around false.
refer:
https://review.tizen.org/gerrit/#/c/291844/
Change-Id: Id5620fd3b6f8bff92fe608f24eaf36a693835692
Signed-off-by: fang fengrong <fr.fang@samsung.com>
fangfengrong [Wed, 8 May 2024 00:54:56 +0000 (08:54 +0800)]
[M120 Migration][VD] support touch
1. [VD] support touch & mouse & multi-touch event for RPI4 and LFD
2. [VD] Enable touch with FMS for UWE
3. Tizen Platform supports up to 20 multi-touch
4. Add a new FMS to enable touch for Projector
FMS key:"com.samsung/featureconf/touch_detection.ir_touch_detection_support".
refer:
https://review.tizen.org/gerrit/#/c/291444/
https://review.tizen.org/gerrit/#/c/305464
Change-Id: Ie02e9228666055addeb43fdce4dbb9bb4722ac44
Signed-off-by: fangfengrong <fr.fang@samsung.com>
YONGMAN SON [Wed, 8 May 2024 01:08:32 +0000 (10:08 +0900)]
[WRTjs][VD]Additional WebAPI for focus and window stack adjustment
Make it possible to enable/disable focus through webapi.
Adding a webapi for adjusting Window stack mode.
This is used for special scenarios in video calling app.
Change-Id: Ie342dd168d30a0b3c67db3ce6c37e5d6922b1426
Signed-off-by: YONGMAN SON <yman.son@samsung.com>
Suhaspoornachandra [Wed, 8 May 2024 05:27:23 +0000 (10:57 +0530)]
[M120 Migration][MM] Check for texture and Webgl to render video frame on canvas
1) The video frame decoded by WebCodec can be rendered to canvas.
In Canvas2D rendering, it is failed with GL errors because
the frame in tbm format doesn't have a texture.
It needs to generate the image from video frame.
2) When video hole is off, video use texImge2D method to
paint video content to canvas, need to create TBM texture.
References:
https://review.tizen.org/gerrit/292745
https://review.tizen.org/gerrit/295618
Change-Id: Ia65371ec3460a59f9161127b5a788ea055ffcf42
Signed-off-by: Suhaspoornachandra <s.poornachan@samsung.com>
zhishun.zhou [Tue, 7 May 2024 05:45:24 +0000 (13:45 +0800)]
[M120 Migration][WebMedia] Support 5K resolution video playback
Support 5K resolution for Smart Monitor (S90PC)
- S90PC : HEVC, AV1 - 5120x2880 (5K, 16:9)
Patch from:
https://review.tizen.org/gerrit/#/c/291662/
Change-Id: I4c32db00c3e2d708d4e488c3c8f4f0bee0419ba4
Signed-off-by: peng1xiao <peng1.xiao@samsung.com>
Signed-off-by: zhishun.zhou <zhishun.zhou@samsung.com>
jie [Mon, 6 May 2024 11:07:15 +0000 (19:07 +0800)]
[VD][RISCV] Add TIZEN_TV_RISCV64 flag to support riscv feature
1. Add riscv feature flag TIZEN_TV_RISCV64.
2. Dissable NSS_InitReadWrite_SanityCheck api when riscv64 building.
Becasue the nss version is different in riscv repo.
There is not NSS_InitReadWrite_SanityCheck api.
3. Only Tizen TV support vd feature for RISC-V.
Change-Id: I6a14f260c2536286b7880fd4e402acd2d3fc5c17
Signed-off-by: huochangjun <changjun.huo@samsung.com>
venu.musham [Tue, 30 Apr 2024 13:14:03 +0000 (18:44 +0530)]
Build fixes in Tizen-X profile.
Fixes to aarch64 Tizen-X profile.
Change-Id: I9e3f466efd2989f7aa259ff89ac027585b2008d3
Signed-off-by: venu.musham <venu.musham@samsung.com>
Gajendra N [Tue, 7 May 2024 08:13:15 +0000 (13:43 +0530)]
[PDNCF] Revert "Make XML input callbacks in Blink more robust to unexpected situations."
Revert upstream change added for failsafe check for case blink custom
input fields.
upstream url: https://chromium-review.googlesource.com/c/chromium/src/+/
4691203
Change-Id: I581c75505e7797377ac23b27071e7fa4e28a2d93
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
fang fengrong [Mon, 6 May 2024 07:35:06 +0000 (15:35 +0800)]
[M120 Migration][RBS][VD] Support ewk_settings_ime_handle_key_event_enabled_set for RBS
It's the Knox-browser's requirement for RBS:
RBS needs to use the virtual desktop's IME instead of the TV IME
to process the input.
So provide an api: api ewk_settings_ime_handle_key_event_enabled_set
for knox-browser to disable use TV IME to handle key event.
Default is enable use IME to handle key event.
refer:
https://review.tizen.org/gerrit/#/c/291785
Change-Id: Ia0bfc54c38697da091a3e3df54584d53173aebda
Signed-off-by: fang fengrong <fr.fang@samsung.com>
Gajendra N [Tue, 7 May 2024 06:14:51 +0000 (11:44 +0530)]
Revert "fixup! "Fix errors thrown due to platform libxml2 version upgrade from 2.11.5 -> 2.12.5""
Causes TERMS app to crash, hence reverting the fixup.
This reverts commit
f1be3ae3a7e405a2c7c5b629a5e14b851cc7ad79.
Change-Id: I9242f25c076bf48f18eadd2a475dde54e2def69b
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
jie [Sun, 28 Apr 2024 03:05:42 +0000 (11:05 +0800)]
[M120 Migration][VD][AX] Remove redundant limitation of GetRole
To fix Meaningless words are read out with checkbox,
when role="", set AtkRole to ATK_ROLE_INVALID.
Reference:
- https://review.tizen.org/gerrit/#/c/310421/
Change-Id: Ia8d622496144923ee1de5278af109046a4f3dbcc
Signed-off-by: jie <jie137.zhang@samsung.com>
(cherry picked from commit
a8c31b1181b8c719d93dcd682a6e0b15adbceecb)
fangfengrong [Mon, 6 May 2024 05:15:59 +0000 (13:15 +0800)]
[M120 Migration][VD] Modify IME "Done/Search/Go" key name as "Enter" for webbrowser
The "Done/Search/Go" key on IME panel, keyname is "Select";
it's not same with the "Enter" key on Physical Keyboard Key,
which keyname is "Enter".
As some website on webbrowser may use the key name,
but can not identify the "Select" key name;
so,modify IME "Done/Search/Go" key name,replace "Enter" with "Select".
Refer:
https://review.tizen.org/gerrit/#/c/300792
Change-Id: Ifc4ac44f69c6d60edcf049da8fcda800576d4e04
Signed-off-by: fangfengrong <fr.fang@samsung.com>
Hyomin Kim [Tue, 2 Apr 2024 02:06:42 +0000 (19:06 -0700)]
Implement |EflScreen::GetCursorScreenPoint|
The address bar suggestion omnibox refers to
the location of the pointer with the function above.
Before the patch, shadowing didn't work by
moving the pointer over it.
So implement it to enable it.
Change-Id: I97f857d8429a6390d5420a1442d80fe22c381aaf
Leonid [Fri, 26 Apr 2024 15:34:56 +0000 (17:34 +0200)]
Fix: WebInspector video stream crash
WebInspector caused a segfault due to not checking
for raster_context_provider == nullptr
Note: fallback for no TIZEN_TBM_SUPPORT was used
Change-Id: I1c9d701ded01f471d588984e52adffc4a1d6dbbf
Signed-off-by: Leonid <l.sawin@samsung.com>
Leonid [Thu, 18 Apr 2024 12:23:35 +0000 (14:23 +0200)]
Fix: multiple warnings under cc/*
Mostly resolved unreachable code and
undefined behavior issues via NOTREACHED
This is one of a few minor patches aimed at reducing
build times and improving code quality
Change-Id: Ie4617947abdfecede475ec7fe9d0fd974d149a29
Signed-off-by: Leonid <l.sawin@samsung.com>
jiangyuwei [Mon, 6 May 2024 06:00:37 +0000 (14:00 +0800)]
[M120 Migration] Limit the length and scheme of pageurl in favicon DB
The length of pageurl in favicon DB <= 1024.
The scheme of pageurl in favicon DB exclude data scheme.
References:
- https://review.tizen.org/gerrit/304020/
Change-Id: I8d65da6df6836e19658213d3bb944192e955ce44
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
zhaodan [Tue, 30 Apr 2024 05:54:47 +0000 (13:54 +0800)]
[M120 Migration]V8 memory related
1: To avoid the crash of webengine side.
2: V8 max heap memory size tuning.
3: Add a check for the size of js array.
Ref:
https://review.tizen.org/gerrit/#/c/291550/
https://review.tizen.org/gerrit/#/c/291218/
https://review.tizen.org/gerrit/#/c/291216/
Change-Id: Iee3052bf9235d8a516b9d0173fa38346144042c4
Signed-off-by: zhaodan <danys.zhao@samsung.com>
wangjing [Mon, 6 May 2024 08:54:52 +0000 (16:54 +0800)]
[M120 Migration] [EFL] Fix wrong screen position issue
1. screen position is same with the client position on mouse event.
Should set the root location which is delivered in EFL event as the screen
position.
And set the location which is root location minus the TopControlsHeight(
the y position of the native view) as client position.
2. mouse_wheel can't scroll when mouse position below the screen.
When WebBrowser use ewk_view_feed_mouse_wheel API to edge scroll,
need adjust mouse position inside the webview.
Refer:
https://review.tizen.org/gerrit/296171/
https://review.tizen.org/gerrit/297033/
Change-Id: Ic159d3b0619c407f36db0f6966ecad715a33ee16
Signed-off-by: wangjing <jing124.wang@samsung.com>
jingjieli [Mon, 6 May 2024 03:24:02 +0000 (11:24 +0800)]
[M120 Migration][VD] Ignore "huart" port message notified by system kernel
NetLink sends RTM_NEWADDR message for "huart" port,
this causes WebEngine close all unfinished requests.
HyperUART is used for logging system device for SDB,
user APP should skip its events.
Reference:
https://review.tizen.org/gerrit/#/c/290178/
Change-Id: I2f6b19bb73acedbd3e04436b7f5f0ec2edf5a853
Signed-off-by: jingjieli <jingjie.li@samsung.com>