platform/framework/web/chromium-efl.git
12 months ago[M120 Migration][VD] Support select picker 54/310354/3
fangfengrong [Thu, 25 Apr 2024 06:48:17 +0000 (14:48 +0800)]
[M120 Migration][VD] Support select picker

1.[VD] Support select picker
Refer:
 https://review.tizen.org/gerrit/#/c/289188

Change-Id: I0f09af3e8a594043f6191d9fe0d618dd59effc32
Signed-off-by: fangfengrong <fr.fang@samsung.com>
12 months ago[M120 Migration][WebRTC] Use SW decoder for camera preview before ESPP renderer is... 79/310079/4
peng.yin [Mon, 22 Apr 2024 06:38:43 +0000 (14:38 +0800)]
[M120 Migration][WebRTC] Use SW decoder for camera preview before ESPP renderer is ready

stripped from:
[M108 Migration][WebRTC][Camera] Port Video Encoders
https://review.tizen.org/gerrit/#/c/292709/

Change-Id: I676596c3a95fa3a856a4ad5871ad0523271c61e3
Signed-off-by: peng.yin <peng8.yin@samsung.com>
12 months ago[M120 Migration][WebRTC] Add missing code for video capture pipeline 25/310025/4
peng.yin [Fri, 19 Apr 2024 09:28:39 +0000 (17:28 +0800)]
[M120 Migration][WebRTC] Add missing code for video capture pipeline

add the missing code in M108 patch:
https://review.tizen.org/gerrit/#/c/297097/
TizenEsplusplayerRenderer instance shall not be
released without it, which will causes the camera preview
abnormal behaviour.

Change-Id: I0131e985391b6028314cc2b6dc1c2214a7a0d63b
Signed-off-by: peng.yin <peng8.yin@samsung.com>
12 months agoRevert "[M120 Migration][VD] TV customization of Disk Cache" 41/310441/2
Yanqing Lu [Mon, 29 Apr 2024 05:31:40 +0000 (05:31 +0000)]
Revert "[M120 Migration][VD] TV customization of Disk Cache"

This reverts commit 82770df9f8c51ae6aa83cbed6b1907b337160193.

Change-Id: Ic34e36f9c835c238885d00fc255f21065bac20a6

12 months ago[M120 Migration][VD] fix up window.open do not use override user agent 20/310420/2
jiangyuwei [Sun, 28 Apr 2024 01:14:14 +0000 (09:14 +0800)]
[M120 Migration][VD] fix up window.open do not use override user agent

In case of window.open, sometimes RenderFrameImpl::userAgentOverride
would still return empty even
render_view_->renderer_preferences_.user_agent_override
was set by ewk_view_user_agent_set API,
which cause the new opened window use default user agent
rather than overridden user agent set by user.

Force use render_view_->renderer_preferences_.user_agent_override
as default in RenderFrameImpl::userAgentOverride to fix it up.

Reference:
 - https://review.tizen.org/gerrit/#/c/291519/

Change-Id: I7f08900897a9c38b27cdd006c4d549dc6dbba863
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
12 months ago[M120 Migration][VD] TV customization of Disk Cache 22/310422/3 submit/tizen/20240428.160019
jiangyuwei [Sun, 28 Apr 2024 05:36:33 +0000 (13:36 +0800)]
[M120 Migration][VD] TV customization of Disk Cache

1.Accept disk-cache-size from command line
2.SetNetworkCacheEnable API
3.Modify the disk cache storage path
4.Implement the disk cache when Network service is enabled
5.Change cache type from CACHE_BACKEND_SIMPLE to
CACHE_BACKEND_BLOCKFILE

References:
 - https://review.tizen.org/gerrit/291930/

Change-Id: If9b6b9a57cdccb601edf958cb3fb6a7cb191e2f2
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
12 months agoFixup! [M120 Migration][MM] Framerate calculation 69/310269/2
wuxiaoliang [Wed, 24 Apr 2024 06:33:07 +0000 (14:33 +0800)]
Fixup! [M120 Migration][MM] Framerate calculation

remove 11045689
keep the same logic with upstream to call init_cb.

Change-Id: Ic36e25253073552b3f3efcb3d00ff63b61e0f002
Signed-off-by: wuxiaoliang <xliang.wu@samsung.com>
12 months ago[M120 Migration] Fix smartthings plugin webview flush issue 87/310387/5
shayh [Fri, 26 Apr 2024 09:30:02 +0000 (17:30 +0800)]
[M120 Migration] Fix smartthings plugin webview flush issue

WebView contents sometimes not update correctly
the offscreen mode, need to flush and submit all
GPU commands even it is the texture layer.

refer:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/300787

Change-Id: I9cdc31e5ef1c96a4ffebe63f35a9618a8547526d
Signed-off-by: shayh <yuhong.sha@samsung.com>
12 months ago[M120 Migration]][WebRTC] Show fps log of more than 2 video layers. 26/310226/5
hongyanting [Wed, 24 Apr 2024 07:43:49 +0000 (15:43 +0800)]
[M120 Migration]][WebRTC] Show fps log of more than 2 video layers.

Until now, only 1 video has fps log output for debugging.
Services such as Google Duo play up to 4 videos simultaneously.
And add a log for drawable content rect change.

Migration from:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/291937/

Change-Id: Ib705ee13b3c5677a2ba8257998a631fb06425671
Signed-off-by: hongyanting <yanting.hong@samsung.com>
12 months ago[M120 Migration][WebRTC] Set facing mode for video capture devices 83/309783/6
hongyanting [Wed, 17 Apr 2024 01:47:11 +0000 (09:47 +0800)]
[M120 Migration][WebRTC] Set facing mode for video capture devices

M108 patch is:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/291325/

In current patch, move the implementation to camera_device_tizen.cc

Change-Id: I1df4a10af417dff512408c9ad0acac2aa28dc8d2
Signed-off-by: hongyanting <yanting.hong@samsung.com>
12 months ago[M120 Migration][WebRTC] Enable SCTP data channel of webrtc 05/310205/4
hongyanting [Wed, 24 Apr 2024 05:58:14 +0000 (13:58 +0800)]
[M120 Migration][WebRTC] Enable SCTP data channel of webrtc

SCTP is necessary for google duo group talk,
otherwise it will cause peerconnection create failed

Migration from:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/292531/

Change-Id: I9f5191441fa961c3525c6b9dfdb3bbe2518ce67c
Signed-off-by: hongyanting <yanting.hong@samsung.com>
12 months ago[M120 Migratio][VD] Disable COOP. 68/309468/2
jiangyuwei [Thu, 11 Apr 2024 06:11:21 +0000 (14:11 +0800)]
[M120 Migratio][VD] Disable COOP.

Some website used COOP standard, it will caused to create new renderview for security.
But for this situation, tizen evas object logic for focus cannot adopt it.
So disable this feature in old platform for stability.
And the new customization plan to supported in new platform.

Reference:
 - https://review.tizen.org/gerrit/291151/

Change-Id: Ic2a3d1570b8b8296a1795a69514228631276101c
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
12 months ago[M120 Migration] Scroll related patch 91/310291/5
wangjing [Thu, 25 Apr 2024 03:38:14 +0000 (11:38 +0800)]
[M120 Migration] Scroll related patch

1. [LFD]Support some gesture for native scrollbar
The VD native scrollbar can not show when use gesture event,
so support some events when make gesture on scrollbar.
2. Add some touch log.
Ref: https://review.tizen.org/gerrit/#/c/293301/

3. Fix edge scroll focus issue
Edge scroll use MouseWheelEvent to scroll,
dispatch all MouseWheelEvent even focus out of webview.
Ref: https://review.tizen.org/gerrit/#/c/298747/

Change-Id: Ib733fb8de5d992f8926e69af64862f63a1a51a64
Signed-off-by: wangjing <jing124.wang@samsung.com>
12 months ago[M120 Migration][VD] Disable "Done" key when inputed text not meet password minlength. 81/310281/3 submit/tizen/20240426.160039
fang fengrong [Thu, 25 Apr 2024 02:02:39 +0000 (10:02 +0800)]
[M120 Migration][VD] Disable "Done" key when inputed text not meet password minlength.

For password input type,when input text:
1. not meet the min length, disable Done key;
2. meet the min length set, enable Done key.

Reference:
https://review.tizen.org/gerrit/#/c/290349

Change-Id: Ia10d98deb5e721e19a6feafffe948faa05c4a8a0
Signed-off-by: fang fengrong <fr.fang@samsung.com>
12 months ago[M120 Migration][VD] Add logs to check http cache 73/310273/4
feifei08.liu [Thu, 25 Apr 2024 01:18:40 +0000 (09:18 +0800)]
[M120 Migration][VD] Add logs to check http cache

Add some logs to check whether use http cache when url request.

refer:
https://review.tizen.org/gerrit/#/c/298294/

Change-Id: Ia5cbe4bc488dd51806c693e6d49d24bb41e03efa
Signed-off-by: feifei08.liu <feifei08.liu@samsung.com>
12 months ago[M120 Migration][VD] Support cursor for TV product 71/310271/3
fang fengrong [Wed, 24 Apr 2024 06:45:17 +0000 (14:45 +0800)]
[M120 Migration][VD] Support cursor for TV product

1. Support cursor for TV product
2. Support custom cursor
3. Support EWK_API of set cursor for WebBrowser
4. Add SetCursorByClient check before sending update cursor event
5. On VD, don't set cursor client, the cursor all handled through EFL;
   So no need generate mouse event for without cursor client case.

refer:
https://review.tizen.org/gerrit/#/c/291968
https://review.tizen.org/gerrit/#/c/300418

Change-Id: I3a6f4046db2ce4309fcc185ac45d9983b525b79f
Signed-off-by: fang fengrong <fr.fang@samsung.com>
12 months agoUpdate gbs repository for Tizen 9.0 TV. 76/310176/3
venu.musham [Tue, 23 Apr 2024 12:06:01 +0000 (17:36 +0530)]
Update gbs repository for Tizen 9.0 TV.

Update base and product repository to support Tizen 9.0
product gbs build.

Change-Id: I80b60c71c7c6fd68ffb8fae3e058957f2e41b81e
Signed-off-by: venu.musham <venu.musham@samsung.com>
12 months ago[M120 Migration][VD] Support multiple players on Webapp 14/309614/3 submit/tizen/20240425.160016
zhishun.zhou [Fri, 12 Apr 2024 09:44:03 +0000 (17:44 +0800)]
[M120 Migration][VD] Support multiple players on Webapp

1. Add swtich to enable multiple players feature [merged in other patch]
2. Define player count according chipset RSC
   - OscarP supports 4 players
   - PontusM/others support 2 players
3. Support audio focus switch in MediaPlayerESPlusPlayerTV

Patches from:
https://review.tizen.org/gerrit/#/c/297872
https://review.tizen.org/gerrit/#/c/300191/
https://review.tizen.org/gerrit/#/c/300239/
https://review.tizen.org/gerrit/#/c/300625/
https://review.tizen.org/gerrit/#/c/300872/
https://review.tizen.org/gerrit/#/c/301240/

Change-Id: I0daa9093f86066e7ee03555a377eece0dc492ca4
Signed-off-by: xiaofang <fang.xiao@samsung.com>
Signed-off-by: zhishun.zhou <zhishun.zhou@samsung.com>
12 months ago[M120 Migration] Fix confusion of ActiveDomObject from different webpages 27/310127/2
jiangyuwei [Tue, 23 Apr 2024 03:11:05 +0000 (11:11 +0800)]
[M120 Migration] Fix confusion of ActiveDomObject from different webpages

When All webpages are  running in single efl webprocess ,
all pages will be  managed by global ordinaryPages manager.

ScopedPageLoadDeferrer Will reference ordinaryPages manager when
one webpage load deferred object.

The mechanism will cause that the non-active webpages also resume
the own ActiveDomObject .

we avoid that the non-active webpages also resume
the ActiveDomObject when the current webpage load deferred object

Reference:
 - https://review.tizen.org/gerrit/#/c/293025/

Change-Id: I0560bb97e5e2df4866b4525e1babf00ffa6bbd6d
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
12 months ago[M120 Migration][VD] Add defensive code for NSSDB crash 63/310163/2
jiangyuwei [Tue, 23 Apr 2024 08:53:28 +0000 (16:53 +0800)]
[M120 Migration][VD] Add defensive code for NSSDB crash

1.If NSSDB is broken, "SEC_ERROR_PKCS11_GENERAL_ERROR" error occurs
in NSSDB Init step.
There is no recovery logic if NSSDB Init fails in chromium-efl.
Add a defensive code to remove the broken NSSDB and try again.

2.Call "NSS_InitReadWrite_SanityCheck" instead of
"NSS_InitReadWrite" for integrity_check
There was no recovery logic of nssdb in nss library. Even if chromium
check the return value of NSS_InitReadWrite, It was not able to
fully covered the corruption of key.db.  So We added integrity_check
in nss library with new interface. (NSS_InitReadWrite_SanityCheck)

Reference:
 - https://review.tizen.org/gerrit/#/c/290064/

Change-Id: If7897501521962424cce9b37b03a0f97c371bd71
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
12 months ago[M120 Migration] Fix read-to-show was not received in some specail app 25/310125/6 submit/tizen/20240424.160016
wangjing [Tue, 23 Apr 2024 02:45:45 +0000 (10:45 +0800)]
[M120 Migration] Fix read-to-show was not received in some specail app

EmitReadyToShow based on two condition
flag1. did_first_non_empty_layout_ // document parsing done
flag2 has_updates                 // layout update
For some simple webview and contain js script, flag1 maybe divide into two frames
[ScheduleEndIfDelayed, DeferredPumpTokenizerIfPossible were called in two frames],
and we got a special case
frame1 flag1 false flag2 true
frame2 flag1 true  flag2 false
did_first_non_empty_layout_ is IS_EFL added feature,
so if this flag is true, we need to update a frame
so we need to set flag2 to true for frame2, then wrt can get EmitReadyToShow callback correct.

Ref:
https://review.tizen.org/gerrit/#/c/300609/

Change-Id: I8fd9caba013e7907617c5ff9e861a74056088824
Signed-off-by: wangjing <jing124.wang@samsung.com>
12 months ago[M120 Migration][VD] Fix Context Menu fail to show issue 10/310110/3
jiangyuwei [Tue, 23 Apr 2024 01:29:03 +0000 (09:29 +0800)]
[M120 Migration][VD] Fix Context Menu fail to show issue

Focused element will be cleared in key up, if click too fast after
move focus, there will be no focused element in long press
in this case, can not get correct element to show context menu

So need to show context menu with mouse location.

Reference:
 - https://review.tizen.org/gerrit/297839/

Change-Id: Ia6478e106fa8d937336a6145685b07bbbbab769e
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
12 months ago[M120 Migration][MM] optimize GC policy 18/308518/2
wuxiaoliang [Wed, 13 Mar 2024 10:17:02 +0000 (18:17 +0800)]
[M120 Migration][MM] optimize GC policy

if buffered data is more than 20s, it will not append data to chunkdemuxer.

Migrated from:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/290421/

Change-Id: I5ea0af0924195aaf8399eb800c6677a7fe26895f
Signed-off-by: wuxiaoliang <xliang.wu@samsung.com>
12 months agoM120 TBM Bringup 18/308718/12 accepted/tizen/unified/20240425.114130 accepted/tizen/unified/toolchain/20240427.045655 accepted/tizen/unified/x/20240426.050414 submit/tizen/20240423.160018
Suhaspoornachandra [Tue, 19 Mar 2024 05:10:33 +0000 (10:40 +0530)]
M120 TBM Bringup

This patch adds TBM surface support, by replacing deprecated
CreateTizenImageCHROMIUM with CreateSharedImage. It also has fix for
SVACE and coverity issues.

References:
https://review.tizen.org/gerrit/286841
https://review.tizen.org/gerrit/290994
https://review.tizen.org/gerrit/292743

Change-Id: Id3c335f8b9a6f37de9e94abe56b3d80a5bed96cd
Signed-off-by: Suhaspoornachandra <s.poornachan@samsung.com>
Signed-off-by: Pranay Chauhan <pranay.c1@samsung.com>
12 months agoFix: remote-allow-origins by default 97/309097/5
Leonid [Thu, 4 Apr 2024 14:20:29 +0000 (16:20 +0200)]
Fix: remote-allow-origins by default

To be used in conjunction with '-i' flag
Fixes the issue with WebSocket returning 403

Change-Id: I3bb68b5b2863e40653e1a5a8b2a201c3f745f244
Signed-off-by: Leonid <l.sawin@samsung.com>
12 months ago[M120 Migration] Supprt Copy and Paste for multi control 65/310065/6
jiangyuwei [Mon, 22 Apr 2024 02:49:11 +0000 (10:49 +0800)]
[M120 Migration] Supprt Copy and Paste for multi control

1. [M108 Migratio][VD] Support copy & paste text/html
https://review.tizen.org/gerrit/289717/

2. Fix html type cannot pasted.
https://review.tizen.org/gerrit/298523/

3. Add to refresh the clipboard when mouse in.
https://review.tizen.org/gerrit/300789/

4. [VD] Fix copy text and paste to contenteditable area fail issue
https://review.tizen.org/gerrit/306627/

5. [M94 Migration] change clipboard CnP order for html contents
https://review.tizen.org/gerrit/267249/

Change-Id: I0da01d3e69f427452f3425debbe2a8ec0dd0d763
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
12 months ago[M120 Migration] Implemention of ewk_context_icon_database_delete_all for favicon DB 74/310074/2
jiangyuwei [Mon, 22 Apr 2024 05:50:31 +0000 (13:50 +0800)]
[M120 Migration] Implemention of ewk_context_icon_database_delete_all for favicon DB

Implement ewk_context_icon_database_delete_all api to clear favicon DB.

Reference:
 - https://review.tizen.org/gerrit/304025/

Change-Id: Ief75a66eb835350ac9b03f7807ce88a2e2b32047
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
12 months ago[Coverage] Patch for UnitTest coverage 02/309202/25 submit/tizen/20240422.160016
Koyyani Maheswari [Tue, 11 Apr 2023 09:34:12 +0000 (15:04 +0530)]
[Coverage] Patch for UnitTest coverage

Improve line and function coverage percentages.

Coverage result with the patch-
Lines    : 83.0%
Functions: 83.8%

Reference: https://review.tizen.org/gerrit/270977/

Change-Id: I7f6b8e19053c40e3088301b4d1f67a352e45c96b
Signed-off-by: nishitha <n.saravanan@samsung.com>
12 months ago[WRTjs] Prevent the type of wl2 window from being set to none 04/309904/3
SangYong Park [Thu, 18 Apr 2024 05:59:10 +0000 (14:59 +0900)]
[WRTjs] Prevent the type of wl2 window from being set to none

the type of wl2 window was set to none when EflWindow was created for
splash screen. and EflWindow was not displayed in screen.
so, skip to setting and unnecessary codes.
and, add native window observer for basic splash screen.
(basic splash screen is created after native window.)

Change-Id: I6cf7e89b3ac0122addd36c295fc185dbeaeb1eb8
Signed-off-by: SangYong Park <sy302.park@samsung.com>
12 months ago[M120 Migration] Supprt Drag and Drop for multi control 14/310014/5
jiangyuwei [Fri, 19 Apr 2024 06:15:19 +0000 (14:15 +0800)]
[M120 Migration] Supprt Drag and Drop for multi control

1. Revert "[M108 Migration][VD] Disable the DND(Drag & Drop) feature on TV"
https://review.tizen.org/gerrit/294555/

2. Set correct y-coordinates in DnD
https://review.tizen.org/gerrit/294762/

3. Fix text DnD not working issue
https://review.tizen.org/gerrit/295452/

4. Support DnD for multi control
https://review.tizen.org/gerrit/299319/

5. Set action as DragOperationEvery
https://review.tizen.org/gerrit/299414/

6. Support Drag and Drop for url and image type:
https://review.tizen.org/gerrit/300698/

7. Fix Mouse Position Issue in MiniView
https://review.tizen.org/gerrit/299719/

Change-Id: I57c3a1fc53ca44b3bcb72767efb069f604ce5054
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
12 months ago[MM] change long time print format 32/308932/3
wuxiaoliang [Wed, 3 Apr 2024 01:30:25 +0000 (09:30 +0800)]
[MM] change long time print format

for live stream, time is very long and print format is like this:
media_time=1.71203e+09
we can't check the detailed time.

Now change it to print the complete time string like this:
1712047883.526666 s

Change-Id: Ia123b28beb81c0d3ea8f00804fa3a1930916a58a
Signed-off-by: wuxiaoliang <xliang.wu@samsung.com>
12 months ago[M120 Migration] Add |ewk_view_ime_window_set| to support IME for NUI 49/309749/6 submit/tizen/20240419.160015
Akshay Kanagali [Tue, 16 Apr 2024 07:14:00 +0000 (12:44 +0530)]
[M120 Migration] Add |ewk_view_ime_window_set| to support IME for NUI

IME requires window object to attach and NUI application has its
own window. To show IME properly, NUI application's window need
to be set by |ewk_view_ime_window_set|.

Reference: https://review.tizen.org/gerrit/297205/

Change-Id: I96c5996d7642fc4bfcde0ffbb333f0985799cd16
Signed-off-by: Akshay Kanagali <a.kanagali@partner.samsung.com>
12 months ago[M120 Migration] Enable tizen_emulator_support for emulator aarch64 04/310004/3
uzair [Fri, 19 Apr 2024 05:24:22 +0000 (10:54 +0530)]
[M120 Migration] Enable tizen_emulator_support for emulator aarch64

Below change fixes app launch issue by enabling tizen_emulator_support
flag for aarch64 emulators.

Reference:
https://review.tizen.org/gerrit/c/297302

Change-Id: I0bbd07049fc9de66b0ec81d070d68d8fc823f241
Signed-off-by: uzair <uzair.jaleel@samsung.com>
12 months ago[M120 Migration] Fix show IME 55/309755/3
fang fengrong [Tue, 16 Apr 2024 08:10:25 +0000 (16:10 +0800)]
[M120 Migration] Fix show IME

1. [VD] Do not show IME if click is prevented or
scrollbar
Do not 'ShowVirtualKeyboard' when mouse up event occurs
if the previous mouse down event is 'preventDefault'
by JavaScript.

Bug: DF170215-01023

Check if it is mouse click on the scrollbar before
|ShowVirtualKeyboard|.
No need to show VirtualKeyboard if click on the scrollbar.

2. [HBBTV] Trigger auto show IME when webview focus in

The patch is for fixing hbbtv can not auto show IME issue.

Current, only element been set focus can tigger show IME autolly,
but show IME autolly also need based on webview been focused.
If element been focused first, and webview been focused later,
then can not show IME.

So here, add another trigger to show IME autolly.

refer:
https://review.tizen.org/gerrit/#/c/288827

Change-Id: I025fa50f075f3d816467e7b7550e6c3002271d5d
Signed-off-by: fang fengrong <fr.fang@samsung.com>
12 months ago[M120 Migration][WEBRTC] Fix messenger app preview fail issue 12/309912/4
xliang.wu [Mon, 16 May 2022 08:36:05 +0000 (04:36 -0400)]
[M120 Migration][WEBRTC] Fix messenger app preview fail issue

There are many RenderFrameImpl show and hidden.
(RenderFrameImpl count is not definitely and show/hidden sequence is not definitely)
different RenderFrameImpl use the same WebVideoCaptureImplManager.
when RenderFrameImpl::WasHidden/WasShown was called, it trigger WebVideoCaptureImplManager::SuspendDevices.

the init value of is_suspending_all_ = false.
before device connect, some RenderFrameImpl WasHidden was called.
when device connect and video element created,is_suspending_all_ = true and don't trigger startpreview.
So we should keep the initial state if video element not created and device not connected yet.

refer to:
https://review.tizen.org/gerrit/#/c/293673/

Change-Id: Id73edda952d4399e538660aec95ad1289b211f78
Signed-off-by: xliang.wu <xliang.wu@samsung.com>
12 months ago[M120 Migration] Fixup! [WebRTC] Add TizenEsPlusPlayerRendererManager Implementation 11/309911/3
zhishun.zhou [Tue, 24 Oct 2023 03:53:48 +0000 (11:53 +0800)]
[M120 Migration] Fixup! [WebRTC] Add TizenEsPlusPlayerRendererManager Implementation

When stop capture, a EOS frame deliver through MediaStreamVideoTrack.
Because EOS frame has no timestamp and empty size, use it to create black
frame or compute framerate could cause crash.

refer to:
https://review.tizen.org/gerrit/#/c/300405/

Change-Id: I7d2fc3bf96e3c9ea663309d8f78d96e821d0105c
Signed-off-by: zhishun.zhou <zhishun.zhou@samsung.com>
12 months ago[M120 Migration][NUI] Add internal mouse event API for NUI. 92/309692/3
Akshay Kanagali [Mon, 15 Apr 2024 09:14:00 +0000 (14:44 +0530)]
[M120 Migration][NUI] Add internal mouse event API for NUI.

1. ewk_view_feed_mouse_down
2. ewk_view_feed_mouse_up
3. ewk_view_feed_mouse_move
4. ewk_view_feed_mouse_wheel
5. ewk_view_feed_mouse_out

Reference: https://review.tizen.org/gerrit/291431/

Change-Id: I87ffb054777aab42d78038c058548e5f68263551
Signed-off-by: Akshay Kanagali <a.kanagali@partner.samsung.com>
12 months agoRevert "[M120 Migration]Fix for crash during chrome exit" 03/309903/5 accepted/tizen/unified/x/20240419.090344 submit/tizen/20240418.160016
Rohit Kumar [Thu, 18 Apr 2024 05:28:29 +0000 (10:58 +0530)]
Revert "[M120 Migration]Fix for crash during chrome exit"

Original commit 5067b78 disabled Crypto related code which was causing crash
in M108. On M120, the block of code is needed as os_crypto_linux_impl.cc
is compiled, hence reverting the original commit to fix the chrome
hang/crash issue after launch.

Change-Id: If2a554fe3de96c3705e162694194bbc226f9e921
Signed-off-by: Rohit Kumar <rohit.16@partner.samsung.com>
12 months agoriscv64: build: update header path 51/307851/3
Dongkyun Son [Thu, 14 Mar 2024 01:06:59 +0000 (10:06 +0900)]
riscv64: build: update header path

Fix fatal error: asm-arm/ptrace.h: No such file or directory

Change-Id: Ifd4d85e9bb6c88763a804bd3f505ba1678e90e73
Signed-off-by: Dongkyun Son <dongkyun.s@samsung.com>
12 months ago[M120 Migration][VD] Disable User-Agent Client Hints 81/309781/2
jiangyuwei [Wed, 17 Apr 2024 01:25:35 +0000 (09:25 +0800)]
[M120 Migration][VD] Disable User-Agent Client Hints

User-Agent Client Hints API is not a W3C Standard
nor is it on the W3C Standard Track.

To notify the server that
this feature is not supportedfor Tizen TV profile,
disable it through RuntimeEnabledFeatures.

Reference:
 - https://review.tizen.org/gerrit/299188/

Change-Id: I964cb040c0372355bf980a8a03eeb612ffe9b4d8
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
12 months ago[M120 Migration][VD] Edge effect only use in touch device 92/309792/2
jiangyuwei [Wed, 17 Apr 2024 02:33:58 +0000 (10:33 +0800)]
[M120 Migration][VD] Edge effect only use in touch device

There are some issues with mouse event for the feature
- shallow do not dismiss after mouse release
so we just disable this feature for mouse

Reference:
 - https://review.tizen.org/gerrit/297098/

Change-Id: I9704d40dbc8a7ba64c55ac1d1a8cb249ff9f3e26
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
12 months ago[M120 Migration] Provide ewk_settings_ime_panel_enabled_set api 06/309706/3
fangfengrong [Tue, 16 Apr 2024 02:18:39 +0000 (10:18 +0800)]
[M120 Migration] Provide ewk_settings_ime_panel_enabled_set api

1. Provide ewk_settings_ime_panel_enabled_set api to
   set if enable ime panel with true or false;
2. Check the IMEPanelEnabled value before show ime panel,
   the value is false, then don't show ime panel.

Reference:
 https://review.tizen.org/gerrit/#/c/290341

Change-Id: Ie1764c9d326a96e964fa87d9a83eb4c8e8ecc635
Signed-off-by: fangfengrong <fr.fang@samsung.com>
12 months ago[M120 Migration][WebRTC] Fix build error after Tbm feature enabled 27/309827/3 submit/tizen/20240417.160015
peng.yin [Mon, 15 Apr 2024 02:33:10 +0000 (10:33 +0800)]
[M120 Migration][WebRTC] Fix build error after Tbm feature enabled

fix build error after Tbm macro enable, and add some type dependencies
from the `[WebRTC] Make VideoCalls work in multiprocess architecture`
patch set.

Change-Id: If80246597a2e63be171fa0b528360e546f0bf856
Signed-off-by: peng.yin <peng8.yin@samsung.com>
12 months agofixup! [M120 Migration][WebRTC] Merge fixup patches 14/309814/2
Suhaspoornachandra [Wed, 17 Apr 2024 04:34:26 +0000 (10:04 +0530)]
fixup! [M120 Migration][WebRTC] Merge fixup patches

Enabling TIZEN_TBM_SUPPORT will cause build error, uploading fixup to
resolve the errors.

Change-Id: I39852f6fc40ce72c1dc46a452e3819d5cca8904f
Signed-off-by: Suhaspoornachandra <s.poornachan@samsung.com>
12 months ago[M120 Migration] [WRTjs][VD] set screen solution for ultra width screen products 30/309530/2
zhaosy [Mon, 8 Apr 2024 02:13:21 +0000 (10:13 +0800)]
[M120 Migration] [WRTjs][VD] set screen solution for ultra width screen products

For ultra width screen products(21:9 or 32:9), if app has
"base_screen_resolution" metadata, when app is launched,
window system will change window to 2580*1080 or 3840*1080.
But view is not updated, so app still is displayed as 1920*1080.

So when app is launched, set screen solution again.

Refer to:
  https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/309239/

Change-Id: I477751d76e7eefc4547473b465341ae6129cb370
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
(cherry picked from commit eada7d7929f6d8a1e0fd9d0bac1d92b9078a4715)

12 months agofixup! [M120 Migration]Define correct type as gfx::AcceleratedWidget for arch64 62/309762/2
Chandan Padhi [Tue, 16 Apr 2024 10:08:27 +0000 (15:38 +0530)]
fixup! [M120 Migration]Define correct type as gfx::AcceleratedWidget for arch64

This commit fixes desktop build errors introduced with the parent patch.

Change-Id: Ie00ce390482df1404529ffa0c85f4ebf05dee334
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
12 months ago[M120 Migration][VD] Fix UDP socket crash issue 00/309700/2
jiangyuwei [Tue, 16 Apr 2024 01:35:05 +0000 (09:35 +0800)]
[M120 Migration][VD] Fix UDP socket crash issue

Socket closes abnormally.In order to fix UDP
crash issue when closing the socket.

Reference:
 - https://review.tizen.org/gerrit/289766/

Change-Id: Idff9407fc21a7ec54c69556742139b26e6aab8b5
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
12 months ago[M120 Migration][VD] Update default user agent in VersionInfo 66/309666/2
jiangyuwei [Mon, 15 Apr 2024 06:44:32 +0000 (14:44 +0800)]
[M120 Migration][VD] Update default user agent in VersionInfo

Some scenario still use the default UA instead of user setting.
Modify default UA by customized setting to fix UA issue.

Reference:
 - https://review.tizen.org/gerrit/289390/

Change-Id: I85bdf3434a7b65798f24d256d7e21126e178de12
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
12 months ago[M120 Migration][WebRTC] Get camera rotation from camera instance 82/309682/2
hongyanting [Mon, 15 Apr 2024 09:34:25 +0000 (17:34 +0800)]
[M120 Migration][WebRTC] Get camera rotation from camera instance

Patch from:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/292881/

CameraFW has supplied a new interface that could be used to
get camera rotation information in preview callback.
new interface name: camera_attr_get_preview_frame_rotation

refer to:
http://wiki.vd.sec.samsung.net/display/23POG/Camera+FW

Change-Id: I905c9e9a2bff2a834e69da379a80402345aa50dd
Signed-off-by: hongyanting <yanting.hong@samsung.com>
12 months ago[Gamepad]Revert accessory filter for chrome browser 80/309680/3
Yu Yang [Mon, 15 Apr 2024 08:57:15 +0000 (16:57 +0800)]
[Gamepad]Revert accessory filter for chrome browser

Revert this patch which used to fix build error of chrome-browser:
  https://review.tizen.org/gerrit/#/c/308101/
because tizen_src/ewk/efl_integration folder is added as DEPS by
chrome-browser build in this patch:
  https://review.tizen.org/gerrit/#/c/307791/
there's no build error now we need not do any change for gamepad files.

Change-Id: I4dc55deaf4de18e006ee34722a01fd5c384cd340
Signed-off-by: Yu Yang <yangy.yu@samsung.com>
12 months ago[M120 Migration]Handle settings in WebPreferences instead of WebPreferencesEfl 62/309662/4 submit/tizen/20240416.160016
fang fengrong [Mon, 15 Apr 2024 05:53:22 +0000 (13:53 +0800)]
[M120 Migration]Handle settings in WebPreferences instead of WebPreferencesEfl

This change removes EWK_BRINGUP macro related to updating web preferences.
Also handled settings in WebPreferences instead of
WebPreferencesEfl wherever possible.
Reference:
https://review.tizen.org/gerrit/#/c/291901

Change-Id: I2e3da91eee08320e9cee9f3323400864377413ff
Signed-off-by: fang fengrong <fr.fang@samsung.com>
12 months ago[M120 Migration][VD] Change default policy of certificate error 61/309661/2
jiangyuwei [Mon, 15 Apr 2024 05:52:42 +0000 (13:52 +0800)]
[M120 Migration][VD] Change default policy of certificate error

When open the same website which has certificate error repeatedly,
except the first time, the website will not be blocked, and browser will not receive
certificate error notification again.
The cause is:
1. Blink has a map which remember user's decision when a website is once visited.
   blink will lookup the map firstly for next visiting.
2. By default chromium-efl allows page to be opened with certificate compromise.
When web-browser doesn't decide the decision, "Allow" is used by default, and
"Allow" is stored to the map.
Solution:
Change the default policy, don't allow page to be opened if has certificate error.

Reference:
 - https://review.tizen.org/gerrit/289775/

Change-Id: I4d18399202b07bec5b21f5aad8da2d2106534678
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
12 months agoRevert "Fixing COVERITY Issue" 56/309756/2
wei li [Tue, 16 Apr 2024 08:19:42 +0000 (08:19 +0000)]
Revert "Fixing COVERITY Issue"

This reverts commit e0c433b13f5d1be9675ed1f929cf7cc31cbd3550.

Change-Id: Ic7f9cf193bfcab5a5a3f677070cb9b54e5e00184

12 months ago[M120 Migration][VD] Implement ewk_settings_disclose_set_cookie_headers_enabled 46/309646/2
jiangyuwei [Mon, 15 Apr 2024 03:33:51 +0000 (11:33 +0800)]
[M120 Migration][VD] Implement ewk_settings_disclose_set_cookie_headers_enabled

Some apps(like Premium Play) which get cookie through xhr.getAllResponseHeaders.
Currently blink don't disclose response header with Set-Cookie field
to XMLHttpRequest.
wrtjs call SetDiscloseSetCookieEnabled to implement the function.
ewk_settings api does not delete avoid native app call the ewk api.

Reference:
 - https://review.tizen.org/gerrit/293944/

Change-Id: I6b84ffbffdb9072df23d242b7cdb3b021bdf2ddb
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
13 months agofixup! [M120 Migration] Add willdraw logic for web app 37/309437/3 accepted/tizen/unified/x/20240417.020111 submit/tizen/20240415.160016
Chandan Padhi [Wed, 10 Apr 2024 12:42:00 +0000 (18:12 +0530)]
fixup! [M120 Migration] Add willdraw logic for web app

Parent commit enabled NotifySwap for onscreen mode as well that
resulted in multiple NOTREACHED() logs from SkiaOutputDevice::
GetTextureID() when chrome is launched.

Change-Id: Ife7ab653ada42908397ad13f44845e9f576f1f84
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
13 months ago[M120][HBBTV]Fix HBBTV exit Deadlock issue 79/309479/2 submit/tizen/20240414.160014
zhaodan [Thu, 11 Apr 2024 07:44:35 +0000 (15:44 +0800)]
[M120][HBBTV]Fix HBBTV exit Deadlock issue

Stop waiting on GLFinish in LayerTreeHostImpl::ReleaseLayerTreeFrameSink
browser process hangs on UI::Compositor
destruction due to waiting on GL commands to finish

Patch from:
https://review.tizen.org/gerrit/#/c/296471/

Change-Id: I951fb877b0c6d399fe2f3f472a3827cf5729a58f
Signed-off-by: zhaodan <danys.zhao@samsung.com>
13 months agoFix FullScreen crash in Webapp 11/309611/3 accepted/tizen/unified/20240415.170305 accepted/tizen/unified/x/20240416.022928
Suhaspoornachandra [Fri, 12 Apr 2024 11:44:31 +0000 (17:14 +0530)]
Fix FullScreen crash in Webapp

This patch fixes crash observed in webapp when FullScreen request was
called.

Change-Id: Idde2dc67627b5e09fd47c8204f171895d506010b
Signed-off-by: Suhaspoornachandra <s.poornachan@samsung.com>
13 months ago[M120 Migration][MM] Enable DVLOG for media debugging 71/309571/3
zhishun.zhou [Fri, 12 Apr 2024 06:49:32 +0000 (14:49 +0800)]
[M120 Migration][MM] Enable DVLOG for media debugging

Enable DVLOG for HTMLMediaElement.

Patch from:
https://review.tizen.org/gerrit/#/c/292786/

Change-Id: If8f69f68eee380bf52c1f5cc7c944b43080f9a10
Signed-off-by: zhishun.zhou <zhishun.zhou@samsung.com>
13 months ago[MM] Report BufferingState when player is prepared and seeked. 47/309547/2
Sun-woo Nam [Fri, 12 Apr 2024 04:59:34 +0000 (21:59 -0700)]
[MM] Report BufferingState when player is prepared and seeked.

It regards that player has enough data to play after prepare complete callback.
It also can be applied to seek complete callback.
This patch fixes autoplay and seek issues.

Change-Id: I07e90d6b392469f119fe826be7eec62fe569c41f
Signed-off-by: Sun-woo Nam <sunny.nam@samsung.com>
13 months agoFixing COVERITY Issue 38/309438/3
saurabh-2 [Wed, 10 Apr 2024 12:14:10 +0000 (17:44 +0530)]
Fixing COVERITY Issue

This patch fixes the COVERITY issues of following types:

UNINT_CTOR

Change-Id: I6bf5d3eb5221a447871bb2c5b4e5ce7a2f6a6973
Signed-off-by: saurabh-2 <saurabh.2@samsung.com>
13 months ago[M120 Migration][WebRTC] Merge Z-order parches for video hole mode 66/309466/4
peng.yin [Thu, 24 Aug 2023 08:56:31 +0000 (16:56 +0800)]
[M120 Migration][WebRTC] Merge Z-order parches for video hole mode

[WebRTC] Z-order for video hole mode
https://review.tizen.org/gerrit/#/c/297974/

fixup! [WebRTC] Z-order for video hole mode
https://review.tizen.org/gerrit/#/c/298476/

Change-Id: Ib503b918e28c76f103957f8efd1da4dc31334093
Signed-off-by: peng.yin <peng8.yin@samsung.com>
13 months ago[M120 Migration][WebRTC] Merge dual decoding patches 67/309467/6
peng.yin [Wed, 10 Apr 2024 08:26:37 +0000 (16:26 +0800)]
[M120 Migration][WebRTC] Merge dual decoding patches

[WebRTC] Add RTCVideoDecoderRemoteTV Implementation
https://review.tizen.org/gerrit/#/c/297392/

[WebRTC] Refactor renderer recreate logic in `RTCVideoDecoderRemoter` class
https://review.tizen.org/gerrit/#/c/300624/

[WebRTC] Add switch for webrtc video stream dual decoding
https://review.tizen.org/gerrit/#/c/298769/

[MM] Enable dual decoding for kantsu2e model
https://review.tizen.org/gerrit/#/c/300377/

Change-Id: Icacf3a332f4a8c43000d1653defc2ea3f72b314a
Signed-off-by: peng.yin <peng8.yin@samsung.com>
13 months ago[M120 Migration][MM] Merge tizen tv audio input device patches 55/309355/7
peng.yin [Thu, 1 Sep 2022 01:09:22 +0000 (09:09 +0800)]
[M120 Migration][MM] Merge tizen tv audio input device patches

[M108 Migration][MM] Support tizen tv audio input device
https://review.tizen.org/gerrit/#/c/292390

fixup! [M108 Migration][VD][MM] Support tizen tv audio input device
https://review.tizen.org/gerrit/#/c/292437/
https://review.tizen.org/gerrit/#/c/296022/

Audio device type SOUND_DEVICE_FORWARDING is not for inputing
https://review.tizen.org/gerrit/#/c/300368/

Change-Id: Ic642d3fd0a11fb924ceabc7d625150812655c474
Signed-off-by: peng.yin <peng8.yin@samsung.com>
13 months ago[M120 Migration] Migrate platform language related patches. 84/309484/2
jiangyuwei [Thu, 11 Apr 2024 08:37:22 +0000 (16:37 +0800)]
[M120 Migration] Migrate platform language related patches.

1.Provide current platform language for navigator.language

Web App uses navigator.language to set language information.
But sometimes get wrong language value when user change
language in system menu.
So change language set by always listening VCONFKEY_LANGSET key.

2.Fix crash in PlatformLanguageChanged,
if destructor called before it, may cause crash.

Reference:
 - https://review.tizen.org/gerrit/293445/

Change-Id: I37d76fa4bfddc297493765d47025ca57739ed58b
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
13 months ago[M120 Migration][VD] Save CookieSettings at NetworkContext. 04/309504/3
jiangyuwei [Thu, 11 Apr 2024 12:22:47 +0000 (20:22 +0800)]
[M120 Migration][VD] Save CookieSettings at NetworkContext.

Now CookieSettings is saved in CookieManager, and it will need to be
used in RestrictedCookieManager, and it may be delete before
RestrictedCookieManager. This patch makes CookieSettings be saved at
NetworkContext instead of at CookieManager to prevent a crash in
RestrictedCookieManager.

Reference:
 - https://review.tizen.org/gerrit/302584/

Change-Id: If3fcb2002634aaf901ad8d65b8def001a487ea64
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
13 months ago[M120 Migration][VD] Enable direct rendering for TVPlus 71/309471/2 submit/tizen/20240412.160015
wangjing [Thu, 11 Apr 2024 06:46:05 +0000 (14:46 +0800)]
[M120 Migration][VD] Enable direct rendering for TVPlus

This patch enables direct rendering for TVPlus app,
which is using HbbTV runtime.

1. Enable direct rendering by appending EVAS_GL_OPTIONS_DIRECT
2. Do not set evas_object_image_alpha_set
   reason: not needed when direct mode
3. Remove glFinish
   reason: not needed when direct mode
4. Set evas_object_render_op_set
   reason: EFL skips glClear when direct mode and alpha disabled,
   so setting this can force EFL to do glClear
   (if this is not appended, TVPlus won't disappear when exit)

Now most app only need RGB888 mode, HBBTV need to
set RGBA8888 can make the background transparent.

Ref:
https://review.tizen.org/gerrit/#/c/292457/
https://review.tizen.org/gerrit/#/c/291335/

Change-Id: I46802831f41671b569592bc68bd30a6fc80995ab
Signed-off-by: wangjing <jing124.wang@samsung.com>
13 months ago[M120 Migration] fixup! Skip flushAndSubmit sync call on gpu side for webgl 52/309452/2
Qiang Ji [Thu, 11 Apr 2024 02:32:01 +0000 (10:32 +0800)]
[M120 Migration] fixup! Skip flushAndSubmit sync call on gpu side for webgl

Below change enables flushAndSubmit call for video layer which fixes
video frame not shown issue in hbbtv scenario.

refs:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/292736/

Change-Id: Ie8dbe77c63b1a8d1dc05c48139a8e2d8618619e6
Signed-off-by: Qiang Ji <qiang.ji@samsung.com>
13 months ago[M120 Migration][hbbtv] Audio tracks count notification 50/308750/5
zhishun.zhou [Fri, 29 Mar 2024 12:43:42 +0000 (20:43 +0800)]
[M120 Migration][hbbtv] Audio tracks count notification

Support EWK callback: "notify,audio,tracks,count".
For mse, get audio track from chunkDemuxer.
For url, get audio track from mm api.

Patch from:
https://review.tizen.org/gerrit/#/c/292739/

Change-Id: Ibec7528293a8136fde387662bd213c02e2768806
Signed-off-by: wuxiaoliang <xliang.wu@samsung.com>
Signed-off-by: zhishun.zhou <zhishun.zhou@samsung.com>
13 months ago[M120 Migration][VD]Support callback of window.print() 73/309373/2 submit/tizen/20240411.160015
jiangyuwei [Tue, 9 Apr 2024 07:34:04 +0000 (15:34 +0800)]
[M120 Migration][VD]Support callback of window.print()

The print() method prints the contents of the current window.
But it is not supported on TV.
browser & knox-browser want to show "unsupported function" popup
if webpage use window.print()

Reference:
 - https://review.tizen.org/gerrit/292092/

Change-Id: Ibc2a8c192d4fd9d4fbf9ba8d3291d9aeb5a7c2b7
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
13 months ago[M120 Migration][VD] Add some debug log 31/309431/4
jiangyuwei [Wed, 10 Apr 2024 06:06:08 +0000 (14:06 +0800)]
[M120 Migration][VD] Add some debug log

1. Add debug log for invalid key and value of SetHeader.
2. Add Navigation debug info in main process.
3. Modify log content for resource_error.cc.
4. Add debug info for Navigation loading process and progress change.
5. Add log to print pid of child processes

Reference:
 - https://review.tizen.org/gerrit/292064/
 - https://review.tizen.org/gerrit/291154/
 - https://review.tizen.org/gerrit/293831/

Change-Id: I5a9e8bd1d287c256f0ab8d1df7b42e8e94f3bb60
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
13 months ago[M120 Migration][MM] Fix EME AD insert issue 67/308467/4
wuxiaoliang [Tue, 26 Mar 2024 06:08:00 +0000 (14:08 +0800)]
[M120 Migration][MM] Fix EME AD insert issue

Migrated from:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/299862/

Issue:
EME Stream insert AD stream, met JS error "unable to set ContentDecryptionModule object"

Reason:
When AD insert, cmd id not exist, will return error for setcdm, which result JS error.

Solution:
Follow previous tizen tv code logic, return success for setcdm directly.

another fixup:
StopLayerBoundUpdateTimer when video hole done

Change-Id: I3cd7aea9399d5823bb3ea12c815b5a732e74ab0a
Signed-off-by: wuxiaoliang <xliang.wu@samsung.com>
13 months agoFixup![M120 Migration][MM] Support W3C EME 50/309250/2
wuxiaoliang [Mon, 8 Apr 2024 03:23:19 +0000 (11:23 +0800)]
Fixup![M120 Migration][MM] Support W3C EME

change BindRepeating to BindOnce

Change-Id: I12296b330b0c03159a9eddb3c3e9df49a3b6601f
Signed-off-by: wuxiaoliang <xliang.wu@samsung.com>
13 months ago[M120 Migration][MM] use 64bit api to get/set current time 07/308607/2
wuxiaoliang [Thu, 28 Mar 2024 06:19:18 +0000 (14:19 +0800)]
[M120 Migration][MM] use 64bit api to get/set current time

If live video is very long, 32bit is not enough, use 64bit instead.

Migrated from:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/303638

Change-Id: I16bfbf50b443f63c103769890c925292ec758e3f
Signed-off-by: wuxiaoliang <xliang.wu@samsung.com>
13 months ago[M120 Migration][Audio] Fix wav audio playback issue 56/309356/4
peng.yin [Mon, 11 Sep 2023 09:40:34 +0000 (17:40 +0800)]
[M120 Migration][Audio] Fix wav audio playback issue

1. fixup for https://review.tizen.org/gerrit/#/c/285499/
remove hard code, or it will fills wrong sample format after converting
`VCodecContext` to `AudioDecoderConfig` for audio.

2. use default renderer for wav audio
since most wav files contain PCM audio, it should not use Tizen
multi-media pipeline for this type of raw audio playback.

for more information, see DF230908-00250.

refer to:
https://review.tizen.org/gerrit/#/c/298608/

Change-Id: I176d885ced3a120e3f8279bf0299d78cc1874f75
Signed-off-by: peng.yin <peng8.yin@samsung.com>
13 months agoFixup![M120 Migration][VD] Fix some focus issues for offscreen mode 33/308833/5
fang fengrong [Tue, 2 Apr 2024 00:28:42 +0000 (08:28 +0800)]
Fixup![M120 Migration][VD] Fix some focus issues for offscreen mode

Keeps same with M94, register focusin/focusout for content_image_elm_host;
when content_image_elm_host focusin/focusout, sync the focus to content_image.

Change-Id: I4447858706b21a5721e166dcba68e4a746c40a69
Signed-off-by: fang fengrong <fr.fang@samsung.com>
13 months ago[M120 Migration] Support signal "tooltip,text,unset", "tooltip,text,set" 01/308901/3
fangfengrong [Tue, 2 Apr 2024 11:15:17 +0000 (19:15 +0800)]
[M120 Migration] Support signal "tooltip,text,unset", "tooltip,text,set"

When mouse move over some HTML element,
we will notify WebBrowser about the tooltip information.

When mouse move over HTML element,
we will get related information form EventHandle.

Extract the tooltip string. Send tooltip set
notification when tooltip is not empty.
Otherwise, send tooltip unset notification.

Reference:
https://review.tizen.org/gerrit/#/c/291995

Change-Id: I8d40ce93583036a05238b85d483dcc2d3fe045c9
Signed-off-by: fangfengrong <fr.fang@samsung.com>
13 months ago[M120 Migration][NUI][Rendering] Support ecore_evas sw backend 15/308815/10 submit/tizen/20240410.160015
Akshay Kanagali [Mon, 13 Mar 2023 15:29:17 +0000 (08:29 -0700)]
[M120 Migration][NUI][Rendering] Support ecore_evas sw backend

To support the SW backend, modified to perform  GL related initialization
operation only in the HW backend.

It also resolves the build errors after TBM is enabled.

References :
https://review.tizen.org/gerrit/306447/
https://review.tizen.org/gerrit/295785/

Change-Id: I3f18a7a0f4f71654227dbad7a505154955da2694
Signed-off-by: Akshay Kanagali <a.kanagali@partner.samsung.com>
13 months ago[M120 Migration][VD] Support custom context menu 12/309312/3
jiangyuwei [Mon, 8 Apr 2024 10:42:45 +0000 (18:42 +0800)]
[M120 Migration][VD] Support custom context menu

When a user long click on the link in webpage, context menu should popup.

Reference :
  - https://review.tizen.org/gerrit/#/c/291848/

Change-Id: Id307f33fdcc3bbda45c2c0feec1bdff3adcde14c
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
13 months ago[WRTjs][VD] Introduce in-process VideoSplashScreen 44/308844/5 submit/tizen/20240409.160014
DongHyun Song [Fri, 10 Nov 2023 00:28:31 +0000 (09:28 +0900)]
[WRTjs][VD] Introduce in-process VideoSplashScreen

From Tizen 5.5 VideoSplashScreen has been introduced, which is
running on amd process as amd-extension.

Recently, amd process had some performance issues due to video
playing, so we had decided to move VSS feature to WRT side.

This patch MUST be released with AppFW team's changes, wich disable
VSS feature on their side.

Change-Id: I0d564941628c883d644d1a89e0a46a0d06eb45e2
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
13 months ago[M120 Migration][WebRTC] Merge fixup patches 51/309251/3
peng.yin [Mon, 8 Apr 2024 01:20:13 +0000 (09:20 +0800)]
[M120 Migration][WebRTC] Merge fixup patches

fixup!fixup![M108 Aura Migration][MM][WebRtc] New implementation for local stream renderer
https://review.tizen.org/gerrit/#/c/293279/

Fixup! [M108 Migration] Support camera to canvas feature
https://review.tizen.org/gerrit/#/c/292855/

Optimize video hole frame updates
https://review.tizen.org/gerrit/#/c/291925/

fixup! [VD][MM] Get H264 max_res from RS on M108
https://review.tizen.org/gerrit/#/c/301521/

[MM] Do not perform operation by buffering state during in low latency mode.
https://review.tizen.org/gerrit/#/c/301932/

Change-Id: I4046fb2ebee17c9305f1d7c38e21841398bce2b4
Signed-off-by: peng.yin <peng8.yin@samsung.com>
13 months ago[M120 Migration] Add error check when get system info 94/309294/2
jiangyuwei [Mon, 8 Apr 2024 08:34:14 +0000 (16:34 +0800)]
[M120 Migration] Add error check when get system info

Add error check when get system info.

References:
 - https://review.tizen.org/gerrit/#/c/295962/

Change-Id: I8fdf2e49049ee3c05802b63dc6dfe9443170704b
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
13 months ago[M120 Migration][WebRTC] Tbm mapping buffer support in webrtc video sink 18/309218/2
peng.yin [Tue, 6 Jun 2023 06:47:24 +0000 (14:47 +0800)]
[M120 Migration][WebRTC] Tbm mapping buffer support in webrtc video sink

video frame with PIXEL_FORMAT_TBM_INTER_PROCESS_BUFFER format is not
correctly handled in webrtc video sink pipe, this format is same as
NV12 actually, so add same logic as NV12 format to handle it.

Change-Id: Id54be9723f86910c397aea8ecc9bfece25070fe0
Signed-off-by: peng.yin <peng8.yin@samsung.com>
13 months ago[M120 Migration][NaCl][PPFwk]Use GetWaylandWindowId to get window id 38/308538/2
jinbei09 [Wed, 27 Mar 2024 06:54:32 +0000 (14:54 +0800)]
[M120 Migration][NaCl][PPFwk]Use GetWaylandWindowId to get window id

For chromium aura, Previously the 'GetWaylandWindowId' api can't return window
id normally, so use ecore_evas_gl_x11_window_get instead.
This will lead to the app can not get the window id correctly.
For latest chromium aura, 'GetWaylandWindowId' can return window id normally,
so use it to fix the issue

Migrated from tizen 8.0:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/304538/

Change-Id: Iac8cf838da27e55dc11710cd79b8583ef48891cb
Signed-off-by: jinbei09 <jinbei09.dai@samsung.com>
13 months agofixup! [NUI] NUI implementation for |SkiaRenderer| 64/309064/6
Akshay Kanagali [Thu, 4 Apr 2024 07:51:23 +0000 (13:21 +0530)]
fixup! [NUI] NUI implementation for |SkiaRenderer|

Replacing gl_image_egl with scoped_egl_image.

Change-Id: Iaa7f75b1704d9d156db00f68e82d092c7c156867
Signed-off-by: Akshay Kanagali <a.kanagali@partner.samsung.com>
13 months ago[M120 Migration] Disable badge service 72/309272/2
wangjing [Mon, 8 Apr 2024 06:28:13 +0000 (14:28 +0800)]
[M120 Migration] Disable badge service

As badge is not enable on TV, so we need to disable it.
Or it will cause js error

ref:
https://review.tizen.org/gerrit/#/c/276311/

Change-Id: Ic87ce222c90d33206ccfef335f5e8e10469d1557
Signed-off-by: wangjing <jing124.wang@samsung.com>
13 months agoFix for emulator build error 15/309215/3 accepted/tizen/unified/20240409.135605 accepted/tizen/unified/20240409.155907
wangjing [Sun, 7 Apr 2024 02:26:26 +0000 (10:26 +0800)]
Fix for emulator build error

need to modify header file

fix patch: https://review.tizen.org/gerrit/#/c/308930/

Change-Id: I22f1f88b86a68059b1ef1b490b8862a77f413ea7
Signed-off-by: wangjing <jing124.wang@samsung.com>
13 months ago[M120 Migration]Define correct type as gfx::AcceleratedWidget for arch64 20/309220/2 submit/tizen/20240408.160022
zhaodan [Sun, 7 Apr 2024 10:14:30 +0000 (18:14 +0800)]
[M120 Migration]Define correct type as gfx::AcceleratedWidget for arch64

Issue:
gfx::AcceleratedWidget was defined as uint32_t while using OZone,
so when cast Window pointer to gfx::AcceleratedWidget on 64bit build,
the address will lose higher bits and become invalid.
Then when EGL APIs accessing the window pointer,
the process will crash.

Ref: https://review.tizen.org/gerrit/#/c/294274

Change-Id: I2a843f63bae185122a02a75d198cdd929ee23247
Signed-off-by: zhaodan <danys.zhao@samsung.com>
13 months ago[M120 Migration][MM][WebRTC] Base implementation for webrtc video hole stream 17/309217/2
peng.yin [Thu, 13 Oct 2022 05:58:23 +0000 (13:58 +0800)]
[M120 Migration][MM][WebRTC] Base implementation for webrtc video hole stream

migrate the TizenEsPlusPlayerRenderer class from M108 who roles same
as MmVideodecoder before, but it creates a self owned EsPlusPlayer
by mojo renderer, and update the latest geometry change info to
EsPlusPlayer.

refer to:
https://review.tizen.org/gerrit/#/c/291285/

Change-Id: I0743eb1202dfa261501a9fdf12b2d5d73c34fa39
Signed-off-by: peng.yin <peng8.yin@samsung.com>
13 months ago[M120 Migration][VD][Accessibility] Add smart callbacks for spatial navigation 16/309216/3
jiangyuwei [Sun, 7 Apr 2024 06:04:59 +0000 (14:04 +0800)]
[M120 Migration][VD][Accessibility] Add smart callbacks for spatial navigation

This patch is for changing focus from web view in Tizen TV to browser
when cannot move focus any more by press arrow keys in spatial navigation.

References:
  - https://review.tizen.org/gerrit/291208/

Change-Id: I3c7d860b9f42e6f863c0174ce918490b6fcf0202
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
13 months ago[M120 Migration] Add guard code to avoid crash during webview clean 19/309219/2
jiangyuwei [Sun, 7 Apr 2024 06:46:19 +0000 (14:46 +0800)]
[M120 Migration] Add guard code to avoid crash during webview clean

In low memory case, browser will clean webview and create new one,
driver will release and cause autofill crash.

References:
  - https://review.tizen.org/gerrit/300788/

Change-Id: Iedd4a8a2a7005fc472ee00bb4e26599c8507e642
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
13 months ago[XWalkExtension] Fix dangling issue of GetMetadataValue 31/308931/4 submit/tizen/20240407.160014
DongHyun Song [Wed, 3 Apr 2024 00:54:38 +0000 (09:54 +0900)]
[XWalkExtension] Fix dangling issue of GetMetadataValue

It cannot return local std::string's c_str() value as a return
value. It can be a dangling pointer.

Change-Id: I6e00b594e267433b17f56998886fd9344c9d0a80
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
13 months agoFixing COVERITY Issue 25/309125/4 submit/tizen/20240405.160015
saurabh-2 [Fri, 5 Apr 2024 04:53:41 +0000 (10:23 +0530)]
Fixing COVERITY Issue

This patch fixes the COVERITY issues of following types:

AUTO_CAUSES_COPY

Change-Id: Ie6a7814070590a64fd03f2005ccec6aa9f39fd3f
Signed-off-by: saurabh-2 <saurabh.2@samsung.com>
13 months agoRevert "[M120 Migration][WRTjs][VD] set screen solution for ultra width screen products" 79/309079/1 submit/tizen/20240404.160015
DongHyun Song [Thu, 4 Apr 2024 09:34:43 +0000 (09:34 +0000)]
Revert "[M120 Migration][WRTjs][VD] set screen solution for ultra width screen products"

merged by mistake

This reverts commit 406a40ddf1570440ccc836ad4862941eb9265864.

Change-Id: Id72e75f0c9bb6b32b49800fea9f0a2f02ea74136

13 months ago[M120 Migration][WRTjs][VD] set screen solution for ultra width screen products 78/308778/3
zhaosy [Mon, 25 Mar 2024 02:52:30 +0000 (10:52 +0800)]
[M120 Migration][WRTjs][VD] set screen solution for ultra width screen products

For ultra width screen products(21:9 or 32:9), if app has
"base_screen_resolution" metadata, when app is launched,
window system will change window to 2580*1080 or 3840*1080.
But view is not updated, so app still is displayed as 1920*1080.

So when app is launched, set screen solution again.

Reference:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/308471/

Change-Id: I9de89e1a3aed79a0c1d91ada401f53e4b64a6aed
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
(cherry picked from commit ba2b872240f3148c4f4d00fe7849b1538aac7750)

13 months ago[M120 Migration][HOTFIX][EMULATOR] Fix for output surface creation failure 41/308941/3
uzair [Wed, 3 Apr 2024 05:12:41 +0000 (10:42 +0530)]
[M120 Migration][HOTFIX][EMULATOR] Fix for output surface creation failure

The emulator platform DDK api glGetInternalformativ is returning
incorrect GL_SAMPLES count which results in black screen. Ideally
it needs to checked as to why emulator DDK returns GL_SAMPLES as 0
whereas all other profiles DDK return correct GL_SAMPLES count.

Referece:
https://review.tizen.org/gerrit/c/290611

Change-Id: I1e1c5e6fe2a0c438f60a22c307cd23394dbbdd60
Signed-off-by: uzair <uzair.jaleel@samsung.com>
13 months agoFix for building with Tizen X Repo 72/308972/2
Aleksander Świniarski [Mon, 18 Mar 2024 08:23:31 +0000 (09:23 +0100)]
Fix for building with Tizen X Repo

Currently for building with Tizen X repo we are using directory of form
out.tz_v9.0* to store object files, which is the same format of
directory, as when creating with standard repositories. Due to this
object files from these builds get mixed in the same directory.

This patch fixes this by use of conditional in .spec file. When the
Tizen X is detected, the directory of form out.tz_X* will be used instead

Change-Id: Ia57797b5e1d8cfb865ecc72887877abd8d0c9a7b
Signed-off-by: Aleksander Świniarski <a.swiniarski@samsung.com>
13 months ago[M120 Migration][Emulator32] Add definition in emulator32 40/308940/4
uzair [Wed, 3 Apr 2024 05:08:53 +0000 (10:38 +0530)]
[M120 Migration][Emulator32] Add definition in emulator32

1. When repository is "emulator32", tizen_emulator_support is true.
2. Define TIZEN_EMULATOR_SUPPORT.
3. Also adds support for macro BUIDFLAG(IS_TIZEN_EMULATOR)

Reference Patch:
https://review.tizen.org/gerrit/#/c/273194

Change-Id: I7c8717b5f694d2444d3505745b5e353a4c0ec359
Signed-off-by: uzair <uzair.jaleel@samsung.com>
13 months ago[M120 Migration] Possible fix for crash during shutdown insideSelectionControllerEfl... 12/308812/4
Manjeet [Mon, 1 Apr 2024 10:26:36 +0000 (15:56 +0530)]
[M120 Migration] Possible fix for crash during shutdown insideSelectionControllerEfl::CancelContextMenu

In pre-aura, WebContentViewEfl was owned by RWHVEfl, so the order of destruction
was guaranteed. But in post-aura, WCVAHelper is owned by WCVA, so during shutdown,
sometimes due to destruction sync issue, WCVAHelper may not be a valid pointer
in SelectionControllerEfl (which is a member of RWHVHelper). So instead of using
WCVAHelper, use WebContentsEflDelegate directly to show and cancel context menu in
SelectionControllerEfl class.

Reference:
https://review.tizen.org/gerrit/295842

Change-Id: Ic01aa40000567e8605af47a46163462e3196e57e

13 months agoFixing SVACE Issues 96/308896/5
Nikhil Shingne [Tue, 2 Apr 2024 10:35:41 +0000 (16:05 +0530)]
Fixing SVACE Issues

This patch fixes the following type of issues:
1) DEREF_OF_NULL
2) missed return statement
3) unnecessary performance loss while passing by value
4) uninitialized data
5) string object was destroyed
6) class member not initialize

Change-Id: I64d15890d3a5cd9f16ae676c460e8713ed9759e2
Signed-off-by: Nikhil Shingne <n.shingne@samsung.com>
13 months agoFix emulator build error 30/308930/2 submit/tizen/20240403.160016
wangjing [Wed, 3 Apr 2024 01:23:41 +0000 (09:23 +0800)]
Fix emulator build error

Fix patch: https://review.tizen.org/gerrit/308656

Change-Id: I78c464bda942f8ee3be96ccad8554ab6e651e279
Signed-off-by: wangjing <jing124.wang@samsung.com>