DongHyun Song [Thu, 9 Mar 2023 00:14:02 +0000 (09:14 +0900)]
[WRTjs][VD] Refactors WRTContentMain and its delegate
Refactors usage of delegate and remove TV profile guard.
Change-Id: I4fbbf8b60caf228c36ebccdda704b81c0a12306c
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
zhaosy [Mon, 13 Mar 2023 03:03:23 +0000 (11:03 +0800)]
[M108 Migration][WRTjs][VD] Optimize the policy of clear dead mount point
1. The init value of "rtc/memory/WebApp/wrtloadercount" is -1;
and not all loop device is used by wrt, so define the timing
of checking dead mount is 6.
2. Not check mount path is exist or not, bcz WRT move this logic
to app process, if we check it, smack issue will happen.
Reference:
https://review.tizen.org/gerrit/288695/
Change-Id: Ia87b67a59553cc8a8cebe143f3b02849171d4a79
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
jiangyuwei [Wed, 8 Mar 2023 06:08:28 +0000 (14:08 +0800)]
[M108 Migration][VD][UWE] Change Chromium TPK to WAS App
This patch includes:
1. Change Chromium TPK type from BIU to WAS by removing 2 metadatas.
The BIU(BuiltInUpgrade) app is installed unconditionally,
and the WAS type app can set the installation conditions.
When considering flash size,
Chromium TPK should not be installed unconditionally.
2. Add new metadata, "postinstall.launch"
WAS executes mount daemon when an app containing "postinstall.launch"
metadata is installed or updated.
Reference:
- https://review.tizen.org/gerrit/#/c/272769/
Change-Id: I9e04337f6ad976a265091d7d2088db0d0ca53bd5
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
Xiaoshu Wei [Thu, 9 Mar 2023 07:26:39 +0000 (15:26 +0800)]
[M108 Aura Migration][NaCl][PPFwk] Enable VD Trusted Plugins functionality
Migrated from tizen 7.0:
https://review.tizen.org/gerrit/#/c/279658/
Change-Id: Id0dcc051a1fbc83f0180b4419b31c7b96c594a42
Signed-off-by: Xiaoshu Wei <xiaoshu.wei@samsung.com>
Koyyani Maheswari [Fri, 10 Mar 2023 09:41:09 +0000 (15:11 +0530)]
[M108 Migration][MM] Suspend a video if sent to background.
The video playback is abnormal when switching tabs in web browser.
This patch suspends a video sent to background.
Reference: https://review.tizen.org/gerrit/285247/
Change-Id: Ia429bcbfb3a4ce6b4d005694a7dd27a566a10903
Signed-off-by: Koyyani Maheswari <m.koyyani@samsung.com>
Suhaspoornachandra [Wed, 25 Jan 2023 03:26:36 +0000 (08:56 +0530)]
[M108 Migration][MM] Create MediaPlayerESPlusPlayer as multiple instances.
MediaPlayerESPlusPlayer is created as singleton before, previously, but it caused an issue
that no video can be played in multi-video content.
This patch therefore changes MediaPlayerESPlusPlayer to be created as multiple instances and
it makes the latest video be played in multi-video content.
References:
https://review.tizen.org/gerrit/276973/
https://review.tizen.org/gerrit/277230/
Change-Id: Ifeb2e3af55bd5eba2cb58adcda2132d16d533d24
Signed-off-by: Suhaspoornachandra <s.poornachan@samsung.com>
Sun-woo Nam [Fri, 10 Mar 2023 06:35:08 +0000 (22:35 -0800)]
[M108 Migration][MM] Prevent suspend and release a player during prolonged pause.
If a player pauses for 15 seconds, it becomes a 'stale' state.
The stale players is suspended and released, but it causes unexpected behavior
such as black screen.
This patch therefore doesn't suspend the stale players.
Reference:
https://review.tizen.org/gerrit/#/c/276980/
https://review.tizen.org/gerrit/#/c/277231/
Change-Id: I9190275c60a5c0b66b583ca75cd7e8132a37bc58
Signed-off-by: Sun-woo Nam <sunny.nam@samsung.com>
Sun-woo Nam [Wed, 15 Feb 2023 05:24:55 +0000 (21:24 -0800)]
[M108 Migration][MM][HBBTV] Check HLS to enable url demuxer.
FFmpeg demuxer is not available for Http Live Streaming contents.
Therefore, I modified to use url demuxer for HLS by referring to the existing
android code.
Reference:
https://review.tizen.org/gerrit/#/c/288322/
Change-Id: I6827d16c8f298748743779ac4cb78957cb46ffdb
Signed-off-by: Sun-woo Nam <sunny.nam@samsung.com>
Suhaspoornachandra [Mon, 6 Mar 2023 09:36:54 +0000 (15:06 +0530)]
[M108 Migration] Support new pixel format in webrtc
Support PIXEL_FORMAT_TBM_INTER_PROCESS_BUFFER and PIXEL_FORMAT_ENCODED.
Reference:
https://review.tizen.org/gerrit/#/c/279885
Change-Id: I30659a3c071b697ed06ff8eaf844ca82799d2b55
Signed-off-by: Suhaspoornachandra <s.poornachan@samsung.com>
liuxd [Mon, 6 Mar 2023 06:21:59 +0000 (14:21 +0800)]
[M108 Migration][VD] Disable show DateTimeDialog for datetime input type
Issue: click the below input type, will show black screen
<input type="date">
<input type="datetime-local">
<input type="month">
<input type="time">
<input type="week">
Solution: disable show DateTimeDialog for avoid show black screen
Root Cause:
Click the above datetime input type, will show DateTimeDialog.
But the DateTimeDialog don't support well when CreateAndShowDateLayout,
will show black screen.
And we don't support show DateTimeDialog for datetime input type before.
So follow as previous, don't support show DateTimeDialog.
refer:
https://review.tizen.org/gerrit/#/c/282731
Change-Id: Ia585744b046782061a96b490c10c8ac8718c0593
Signed-off-by: liuxd <xd123.liu@samsung.com>
liuxd [Tue, 28 Feb 2023 06:37:33 +0000 (14:37 +0800)]
[M108 Migration][VD] Fix FocusInOutCallbacks not handled issue
FocusInOutCallbacks been set on RenderViewReady, and been handled
on OnFocusIn/OnFocusOut.
On below case, the FocusInOutCallbacks not handled.
1. open office365 word:
open office365 word will CreateNewWindow, and on the process
without PostRenderViewReady, cause FocusInOutCallbacks without set.
So add PostRenderViewReady when CreateNewWindow.
2. open website by deeplink:
ewk_view_focus_set set after PostRenderViewReady.
Becasue it takes a long time from PostRenderViewReady to receiving
RenderViewReady, cause EWebView receive RenderViewReady later than
ewk_view_focus_set.
It cause FocusInOutCallbacks set later then OnFocusIn/OnFocusOut,
cause FocusInOutCallbacks not handled.
So call RenderViewReady directly on PostRenderViewReady.
3. open website by window.open:
ewk_view_focus_set set before RenderViewReady,
It cause FocusInOutCallbacks set later then OnFocusIn/OnFocusOut,
cause FocusInOutCallbacks not handled.
So pending setfocus when RenderView is not Live.
Refer:
https://review.tizen.org/gerrit/#/c/284765
Change-Id: I591ce004f418dca05b56a22c42c7d196a3337024
Signed-off-by: liuxd <xd123.liu@samsung.com>
fr.fang [Wed, 1 Mar 2023 12:59:34 +0000 (20:59 +0800)]
[M108 Migration][VD] Ensure plugin props are setting correctly.
Internally, properties of plugin belong to 2 different targets,
one is HTMLPluginElement, one is the corresponding scriptable object.
Need to set properties to the correct target.
Reference:
https://review.tizen.org/gerrit/#/c/282087
Change-Id: Ic7509825520413e633114ce93c7a32dfcbed4b1c
Signed-off-by: fr.fang <fr.fang@samsung.com>
jiangyuwei [Fri, 3 Mar 2023 01:56:18 +0000 (09:56 +0800)]
[M108 Migration] Fix Crash in webview.
Add protection in EWebView::SetOrientation.
Reference:
- https://review.tizen.org/gerrit/#/c/282815/
Change-Id: If424bac3ecba47971b95c7d4df771c626f3b0fb0
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
zhaosy [Thu, 9 Mar 2023 00:04:59 +0000 (08:04 +0800)]
[M108 Migration][WRTjs] Use BUILDFLAG(IS_XXX) for OS checking
This patch replaces all occurances of defined(OS_XXX) with
BUILDFLAG(IS_XXX) as per upstream changes mentioned in [1].
[1] https://bugs.chromium.org/p/chromium/issues/detail?id=1234043
Below efl/tizen build flags are replaced:
USE_EFL -> IS_EFL
OS_TIZEN -> IS_TIZEN
OS_TIZEN_TV_PRODUCT -> IS_TIZEN_TV
Reference:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/289238/
Change-Id: I387487f030919116dee9210261f23b215b6c4b60
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
YongGeol Jung [Wed, 8 Mar 2023 08:49:22 +0000 (00:49 -0800)]
[Onscreen] Request to redraw window surface when showing.
A black scene is observed when app is displayed from a resume activity.
Modified to redraw window surface when showing.
Change-Id: Ifacbdcc58b0fb8ba107011eafd7f94f669845fa8
Signed-off-by: YongGeol Jung <yg48.jung@samsung.com>
DongHyun Song [Wed, 8 Mar 2023 23:53:57 +0000 (08:53 +0900)]
[M108 Migration][WRTjs] Lazy initialization of ContentMainRunner for wrt-loader
In case cold booting case, WRT initialization takes much time on
the low-end product. (5s ~ 7s)
Even though wrt-loader is prepared on cold booting sequence as soon
as possible, the candidate launch can be failed because wrt-loader
is not yet ready.
To make short the initialization time, this patch defers the jobs
of WRTContentMain's initialization with ecore_idler, and return
loader's create callback early to prepare wrt-loader.
Reference:
https://review.tizen.org/gerrit/284208/
Change-Id: Icb1be128397415903d3de8b3346a862a98e7f1e2
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
feifei08.liu [Tue, 28 Feb 2023 05:37:00 +0000 (13:37 +0800)]
[M108 Migration][VD] Fix office 365 Word/Excel show empty blank pages issue
1. Fix redirection issue in WebApp.
Now m85, exclude "file://" URLs frome default
SiteInstance.
So if webapp redirect url in file:///index.html.
It will create a new SiteInstance and RenderFrameHost
for the redirected url.
As WRT only get and store main frame once time (the first time
UIprocess communicated with RenderProcess).
So if frame changed, wrt cannot send message to the right frame.
So avoid this code that will not create new frame while redirection
in "file://" URLs.
2. [VD] Disable "OriginIsolationHeader" feature to fix office 365 Word/Excel
show empty blank pages issue.
"OriginIsolationHeader" enabled in M94 which is in development,
it will cause new webview created and
some information do not included in requests,
this feature disabled in M85, so we follow M85 logic disable this feature.
Reference:
- https://review.tizen.org/gerrit/286949/
Change-Id: Ic26c5a4ac80bfa246a3f1d205095093b503ae372
Signed-off-by: feifei08.liu <feifei08.liu@samsung.com>
pengxia [Thu, 2 Mar 2023 02:23:29 +0000 (10:23 +0800)]
[M108 Aura Migration][NaCl][PPAPI] Fixing error codes in PPB_FileRef
Trying to delete a non-empty directory or rename any directory
to an existing, non-empty one results in generic error (PP_ERROR_FAILED
that is translated to EPERM by nacl_io). Expected result of such
operation would be something that translates to EEXIST or ENOTEMPTY.
This patch makes PPB_FileRef methods mentioned above
result in PP_ERROR_FILEEXISTS, so that it is translated
to EEXIST by nacl_io.
Ported patch from M94 Aura:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/280551/
Change-Id: Ifebf80cc78370a3a170a86dcbd4eb2d10bb41c5a
Signed-off-by: pengxia <pengxia.shen@samsung.com>
jiangyuwei [Tue, 7 Mar 2023 09:02:13 +0000 (17:02 +0800)]
[M108 Migration][VD] Implement Multi port RWI
RWI server can use easily to debug application.
Multi port RWI can let 3 applications debug at the same time.
Normal RWI server should start when WebContents init.
For RELEASE_MODE shuold use ewk_view_inspector_server_start
to start RWI server.
Reference:
- https://review.tizen.org/gerrit/279379/
- https://review.tizen.org/gerrit/281862/
Change-Id: I9dd2be6d0d59c390bb271d004e67b9add29df546
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
Ayush Kumar [Mon, 27 Feb 2023 08:34:15 +0000 (14:04 +0530)]
[M108 Migration] Segregate ContextMenuControllerEfl into a base class
1. Split ContextMenuControllerEfl into two parts, one of which
will be recycled by WRTJS as well
2. Removed redundant and extra headers and cleaned up the code
a bit
3. Modified/Removed functions from ContextMenuController which
are no longer needed in m108
Reference:
1. https://review.tizen.org/gerrit/282571
2. https://review.tizen.org/gerrit/284343
Change-Id: Ifc9730734bea5a0bf530b553bd00a90e0f39f136
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
Venugopal S M [Tue, 7 Mar 2023 13:02:57 +0000 (18:32 +0530)]
fixup! [M108 Migration] Support builds for aarch64 and emulator
Remove clang check in "BufferObserverImpl".
Change-Id: Iebdbf7e5743fcbbf5badf5bcfbc2ac1b1206c19b
Signed-off-by: Venugopal S M <sm.venugopal@samsung.com>
Chandan Padhi [Mon, 6 Mar 2023 15:46:53 +0000 (21:16 +0530)]
Clear browser frame only if a valid texture is available
This commit adds a check in EvasObjectImagePixelsGetCallback to ensure
that browser frame is cleared only if a valid texture is available
from NotifySwap. This helps in fixing the blink issue while navigating
through hyperlinks on a page.
Change-Id: I95854ec6c6e39f515b44ef673d17ed87c58059f4
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
DongHyun Song [Fri, 3 Feb 2023 07:18:04 +0000 (16:18 +0900)]
[WRTjs] Seperate runtime dependency of XWalkExtension
This patch refactors to remove WRT dependency from XWalkExtension
classes to make a common module for other runtimes. Specially,
this is for Hbb runtime by ewk interface later.
Delegation classes, named as WRTXwalkExtension* will have roles of
runtime dependent behaviors.
Change-Id: I5a39b2e9cb26708953541b69de8c0830330b3f8e
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
zhaosy [Tue, 7 Mar 2023 06:07:23 +0000 (14:07 +0800)]
[M108 Migration][WRTjs][VD] Apply decorator window feature
1.change border background color
2.apply border auto hide/show
3.modify decorator window border style(Flip model window rounded corners required)
Reference patch:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/287771/
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/287489/
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/287740/
Change-Id: Ic4dbc3d9b216c06f409ea040e73a5423e1052f2a
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
fang fengrong [Thu, 2 Mar 2023 08:34:51 +0000 (16:34 +0800)]
[M108 Migration][VD] Support set time and time zone offset
It is required for HbbTV to run Ligada tests. However Ligada tests
rely on stream time that can be old, like 2011. Ligada tests compare
time offset via Javascript codes(new Date()). So the time offset has
to be applied on render process side. Ligada tests also use the time
offset for certificates expiration validating.
ICS app also calls the APIs.
References:
https://review.tizen.org/gerrit/#/c/282681
Change-Id: I1f03d6fde935a28c7eaa114fb22bbcf29c5bddfe
Signed-off-by: fang fengrong <fr.fang@samsung.com>
zhaosy [Fri, 3 Mar 2023 00:17:51 +0000 (08:17 +0800)]
[M108][WRTjs] Use BUILDFLAG(IS_XXX) for OS checking
This patch replaces all occurances of defined(OS_XXX) with
BUILDFLAG(IS_XXX) as per upstream changes mentioned in [1].
[1] https://bugs.chromium.org/p/chromium/issues/detail?id=1234043
Below efl/tizen build flags are replaced:
USE_EFL -> IS_EFL
OS_TIZEN -> IS_TIZEN
OS_TIZEN_TV_PRODUCT -> IS_TIZEN_TV
Reference:
https://review.tizen.org/gerrit/#/c/285956/
Change-Id: Iaea1ba52738be626e218fbc962bff3f2a555938e
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
v-saha [Mon, 6 Mar 2023 10:24:43 +0000 (15:54 +0530)]
[M108 Migration] Add a command line flag to disable unsandboxed Zygote
Avoid creation of unused unsandboxed zygote process which reduces overall
PSS memory.
Reference:
https://review.tizen.org/gerrit/c/279945
Change-Id: I40c4ad6c71f70f1f7c28b3188b205e6c55bff235
Signed-off-by: v-saha <v.saha@samsung.com>
Gajendra N [Tue, 7 Mar 2023 10:27:10 +0000 (15:57 +0530)]
fixup! [M108 Migration] Support unlimitedstorage privilege for Indexed DB
Fixes crash error occured during youtube page load.
In original patch, std::move was called on already moved pointer which
went unnoticed during migration.
Change-Id: Id853af04730666f609d74e102bdda44002cd8361
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
feifei08.liu [Tue, 28 Feb 2023 03:37:54 +0000 (11:37 +0800)]
[M108 Migration][VD] Add API to for malicious page warning showing.
Add ewk_view_html_string_override_current_entry_load to show
warning page for web browser security.
Fix issue occur in the following scenario:
1. Access www.google.com in org.tizen.browser.
2. Access malicious url, then wbs alert page is shown.
3. Press "goback" button, browser show malicious url page,
not the previous page of www.google.com.
Treat the alert page and malicious page as the same navigation entry.
Add a new ewk API to show error page when malicious url detected.
Reference:
- https://review.tizen.org/gerrit/283452/
Change-Id: I0f9a4467a7a3d5a0af54189d9b79ced320a45188
Signed-off-by: feifei08.liu <feifei08.liu@samsung.com>
uzair [Tue, 7 Mar 2023 07:03:30 +0000 (12:33 +0530)]
[M108 Migration] [SlimDownCode] Delete Redundant Modules
This patch removes below directories
├── android_webview/
├── chromecast/
├── chrome_elf/
├── chromeos/
├── docs/
├── google_update/
├── infra/
├── ios/
├── styleguide/
└── third_party
├── android_build_tools
├── android_crazy_linker
├── android_deps_autorolled
├── android_deps
├── android_data_chart
├── android_support_test_runner
├── android_swipe_refresh
├── android_protobuf
├── android_platform
├── android_sdk
├── android_media
├── android_system_sdk
├── android_tools
├── google_appengine_cloudstorage
├── google-closure-library
├── google_android_play_core
├── android_opengl
Change-Id: I469c2fb9be69423cdf268d23f5fe1d2ee70dc1f4
Signed-off-by: uzair <uzair.jaleel@samsung.com>
Chandan Padhi [Mon, 6 Mar 2023 15:31:51 +0000 (21:01 +0530)]
fixup! [M108 Migration][WRTjs] Introduce VconfHandle
This commit fixes a desktop build error introduced by the parent
patch.
Change-Id: I4657f4510458199bacc223e66cef02cb4b0e2d31
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Ayush Kumar [Mon, 6 Mar 2023 04:51:04 +0000 (10:21 +0530)]
[M108 Migration] Segregate InputPicker into ewk independent base classes
1. This patch divides InputPicker component into a common
class which can be used by WRTJS as well.
2. Refactored the components to remove redundant or unused dependencies.
Reference: https://review.tizen.org/gerrit/278838/
Change-Id: I9c9acc50e371a6937032c0231685210206e63f60
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
DongHyun Song [Mon, 6 Mar 2023 08:42:39 +0000 (17:42 +0900)]
[M108 Migration][WRTjs][VD] Apply setpriority() and early mount
1)
To reduce the time of wrt-loader ready, this will apply setpriority()
with high priority niceness.
2)
If yet there is no chromium-efl.img mount point, wrt-loader will mount
by itself.
3)
Update as latest manifest
Reference:
https://review.tizen.org/gerrit/279510/
https://review.tizen.org/gerrit/286399/
https://review.tizen.org/gerrit/288395/
https://review.tizen.org/gerrit/289324/
Change-Id: Ie4cf98f6381f745c06457abea94ad123e14b68da
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
Sugyum Kim [Wed, 7 Sep 2022 10:32:51 +0000 (19:32 +0900)]
[M108 Migration][UWE][VD] Extends the waiting time for ps_agent
* Issue: Mount failure occurs when ps_agent is not ready for 20 seconds
on entry model.
Increase the timeout to 30s and add retry logic 20 times.
when ps_agent is ready, it returns immediately.
Reference:
https://review.tizen.org/gerrit/280994/
Change-Id: Iea880071ab17338139b1a7cc155450a41855902e
Signed-off-by: Sugyum Kim <su.g.kim@samsung.com>
(cherry picked from commit
26644c120994f637523cbfe048afc74b3781e6c0)
Venugopal S M [Mon, 6 Mar 2023 09:19:53 +0000 (14:49 +0530)]
fixup! [MM] Handle buffering and playback
- Avoid buffer request after receiving EOS packet from demuxer
- Print stream type in log.
Reference:
https://review.tizen.org/gerrit/280824
https://review.tizen.org/gerrit/276725
https://review.tizen.org/gerrit/276751
Change-Id: I9cbf51908585e29df9fe0f7ab2ca55039b2d8eb9
Signed-off-by: Venugopal S M <sm.venugopal@samsung.com>
Koyyani Maheswari [Wed, 1 Mar 2023 09:36:34 +0000 (15:06 +0530)]
[M108 Migration][MM] Check preparing status before calling media control functions.
1. Change to initialize sequence fit to |EsppRendererImpl|.
2. Check preparing status to call media control functions in proper status.
Reference: https://review.tizen.org/gerrit/278807/
Change-Id: I2722203895b34a023a0ab1c8e2fb622357c95aae
Signed-off-by: Koyyani Maheswari <m.koyyani@samsung.com>
Sugyum Kim [Wed, 17 Aug 2022 04:43:38 +0000 (13:43 +0900)]
[M108 Migration][VD][UWE] Duplicate mount when TPK is updated
When the TPK is updated,
the updated TPK is re-mounted to the existing mount point.
The existing mounted TPK does not disappear and becomes hidden.
Apps that have previously been mounted with so file operate normally
because the file handle is already open.
Reference:
https://review.tizen.org/gerrit/279730/
Change-Id: Icd35f3067a285baea5e366676678f9a9fad2a197
Signed-off-by: Sugyum Kim <su.g.kim@samsung.com>
(cherry picked from commit
e20ea92a8eeb3373a6ca7975110fc3ee91c6b6bc)
Sugyum Kim [Wed, 31 Aug 2022 09:50:13 +0000 (18:50 +0900)]
[M108 Migration][UWE][VD] Use legacy library in case of load fail
[Problem]
When we fail loading the upgrade-library, we have to use the legacy-
library. But the current implementation does not give up using the
upgrade-library.
[Solution]
ewk_set_version_policy(1) must be ignored when we fail to load.
Reference:
https://review.tizen.org/gerrit/280544/
Change-Id: I3a142825429cf3aa1f64d2ba5bc4c27a89a2f59d
Signed-off-by: Sugyum Kim <su.g.kim@samsung.com>
(cherry picked from commit
f42a776bce501c3b2f9407415b9661ef3da2699d)
liwei [Fri, 18 Nov 2022 07:57:20 +0000 (15:57 +0800)]
[M108 Migration][WRTjs][TV] Extend wait chromium mount timer to 20s
For app perforamnce, wrt-loader will be launched earlier than
before.wrt-loader will be started at 10s after launchapd(3~4s)
is launched, and chromium will be mounted about 10~15s, for
ensure wrt-loader start successfully, extend wait chromium
mount timer from 10s to 20s.
Reference:
https://review.tizen.org/gerrit/284508/
Change-Id: I7eb261e9703e5d0b4bc3c4fc912ce61438068a4f
Signed-off-by: liwei <wei90727.li@samsung.com>
(cherry picked from commit
705c97ddf298f1447870f38deb5251bed8bc252e)
Sugyum Kim [Thu, 13 Oct 2022 05:45:26 +0000 (14:45 +0900)]
[M108 Migration][VD] Call PS_Mount_Fast api instead of PS_Mount api
PS_Mount_Fast api newly introduced in Tizen 7.0 to improve
mount performance by security team.
Existing PS_Mount API used fork-exec method,
but PS_Mount_Fast API calls mount system function.
There is a performance improvement of about 900ms,
and with this new API, it takes about 500ms at the time of cold boot.
Reference:
https://review.tizen.org/gerrit/282899/
Change-Id: I87680117715cc972019f9ead4cc1e7055f2a6723
Signed-off-by: Sugyum Kim <su.g.kim@samsung.com>
(cherry picked from commit
0298504f5fa3bffba9d327993d06a276c875f6cf)
jiangyuwei [Mon, 6 Mar 2023 06:49:53 +0000 (14:49 +0800)]
[M108 Migration][VD][UWE] Bringup Upgradable WebEngine for VD
Reference:
https://review.tizen.org/gerrit/#/c/279392/
Change-Id: I9576a04715f4c1d559513d5ea2c976f07d5f81f9
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
uzair [Mon, 6 Mar 2023 10:32:10 +0000 (16:02 +0530)]
[M108 Migration]Notify internal API compatibility when installing wrtjs rpm
Previously, the second and third versions haven't been used.
So, this removes the unused versions except for the wrtjs version
and newly adds {TPK_VERSION} and {INTERNAL_API_REVISION} like below:
{TPK_VERSION}.{INTERNAL_API_REVISION}.{WRTJS_VERSION}
The {INTERNAL_API_REVISION} needs to check API compatibility
between chromium-efl and wrtjs.
In addition, this notifies internal API version compatibility result
using the {INTERNAL_API_REVISION} when installing rpm file.
The internal API compatibility can be guaranteed only if the
{INTERNAL_API_REVISION} is same with chromium-efl.
Reference: https://review.tizen.org/gerrit/281213
Change-Id: I8fba74c012701f59a46fde7733fcb926f69a86b9
Signed-off-by: uzair <uzair.jaleel@samsung.com>
zhaosy [Mon, 6 Mar 2023 02:21:11 +0000 (10:21 +0800)]
[M108 Migration][WRTjs][VD] Apply auto submit OSD to P4 FET from TRAMS
OSD maybe is changed in TRAMS, but we don't know it.
So apply auto submit OSD to P4 FET branch(Once it's changed in P4, email will be recieved).
ps.If OSD is changed in P4 FET, need to merge it to gerrit manually.
Reference Patch:
https://review.tizen.org/gerrit/286523/
Change-Id: I0ad2df3178d80175c34754ca71916980bca66486
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
zhaosy [Fri, 3 Mar 2023 07:40:04 +0000 (15:40 +0800)]
[M108 Migration][VD] Do not overwrite process title with symbolic link
In Chromium-efl, we exec from /usr/lib/chromium-efl/efl_webprocess.
Therefore, we don't need to overwrite process title with symbolic link
of /proc/self/exe.
Before this patch, /proc/[pid]/comm of browser app is 'launchpad-loader'.
After this patch, it will be 'browser'.
Reference patch:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/269598/
Change-Id: Ic24db12dd7b447042accbc4434aa6cb18585b80c
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
zhaosy [Mon, 6 Mar 2023 04:56:36 +0000 (12:56 +0800)]
[M108 Migration][WRTjs][VD] Refactor key event handler
RenderWidgetHostViewEfl is removed in Aura, so in EflEventHandler
check registered keys and device names.
Reference Patch:
https://review.tizen.org/gerrit/281297/
Change-Id: I2d4eb524baa6c89998490172b0106dd24afa7f58
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
Venugopal S M [Thu, 2 Mar 2023 08:14:20 +0000 (13:44 +0530)]
fixup! [MM] Use ESPP for media rendering
Fix build errors due to difference in data type
Change-Id: I1b1eb5837e499a386f5bd08a795d21c839518948
Signed-off-by: Venugopal S M <sm.venugopal@samsung.com>
zhaosy [Mon, 6 Mar 2023 02:47:33 +0000 (10:47 +0800)]
[M108 Migration][WRTjs]add protection for DBusConnection
Add protection for DBusConnection for avoid some abnormal
crash happen.
Reference Patch:
https://review.tizen.org/gerrit/288901/
Change-Id: I42fd0770422bc4f826aa746e75b871d68efbaf3a
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
DongHyun Song [Fri, 3 Mar 2023 04:27:03 +0000 (13:27 +0900)]
[M108 Migration][WRTjs] Introduce VconfHandle
Adds source code of VconfHandle and removes bring-up tag.
Change-Id: I30a8ae83ac9e423d1a3778dca6b0aac497fd6880
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
qiang.ji [Thu, 2 Mar 2023 09:59:47 +0000 (17:59 +0800)]
[M108 Migration] [!fixup] Set EflWindow bounds while received parent view resize event
1. We have two ways to set Efl window bounds/ Gpu thread output surface
size. One is InitCompositor, the other is OnParentViewResize in
RenderWidgetHostViewAuraHelperEfl.
2. In current state, EwebView resize event is coming before
RenderWidgetHostViewAuraHelperEfl creation, so we cannot call
OnParentViewResize to set correct bounds. This will cause main thread
's output surface size dismatch with gpu thread.
Solution: Manually to call SetBoundsInPixels to set bounds even
RenderWidgetHostViewAuraHelperEfl is not created yet
refs:
https://review.tizen.org/gerrit/#/c/282220/
Change-Id: I8e75694c9864a65add80d58791c8d92eb4c73233
Signed-off-by: qiang.ji <qiang.ji@samsung.com>
Suhaspoornachandra [Fri, 3 Mar 2023 03:52:37 +0000 (09:22 +0530)]
[M108 Migration][MM] Fix crash when the browser is terminated when playing video.
1. MediaPlayerESPlusPlayer should be released before destroyed.
2. WebContents is sometimes destroyed before TizenRendererImpl is destroyed.
It causes TizenRendererImpl accesses dangling pointer.
3. buffering_callback_ in BufferObserverImpl should be null-checked.
Reference:
https://review.tizen.org/gerrit/276393/
Change-Id: I772c80ce9a0f96c5cdc6db6c31aff3465a54eb88
Signed-off-by: Suhaspoornachandra <s.poornachan@samsung.com>
v-saha [Fri, 3 Mar 2023 07:01:00 +0000 (12:31 +0530)]
[M108 Migration] Initialize DeviceDisplayInfoEfl in renderer.
Display info should be updated only when webview is created by
browser.
Reference: https://review.tizen.org/gerrit/279778
Change-Id: I421e59068125018e5c2d51b60fc8af420a657381
Signed-off-by: v-saha <v.saha@samsung.com>
Sun-woo Nam [Thu, 2 Mar 2023 04:51:10 +0000 (20:51 -0800)]
[M108 Migration][MM][CAPI] Support Video Hole in the onscreen rendering mode.
Ecore_Wl2_Window is used as the main window handle in the onscreen rendering
mode.
Previously, |player_set_display| was used to use video hole in CAPI MMPlayer.
However, |player_set_display| could only receive evas objects, including
elm window, as a parameter.
Threrefore, this patch uses |player_set_display_webapp| api to hand over
the wayland surface id for the TV profile. In case of the public profile,
use |player_set_ecore_wl_display| instead of |player_set_display_webapp|.
Reference: https://review.tizen.org/gerrit/#/c/289148/
Change-Id: I0eb011c20a6584e581b151fec35468cd58073cfa
Signed-off-by: Sun-woo Nam <sunny.nam@samsung.com>
Ayush Kumar [Fri, 24 Feb 2023 05:04:43 +0000 (10:34 +0530)]
[M108 Migration][Autofill] Introduce autofill fw interface
This change
1. Introduces interface for autofill fw in tizen.
2. Supports mockup for callbacks and APIs for SPASS feature for TV.
3. Refactors, enhances and fixes issue related to tizen autofill.
References : https://review.tizen.org/gerrit/269462
Change-Id: Ia91806470622bc4a1c2c5a2d917bf1babdb1e675
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
DongHyun Song [Fri, 3 Mar 2023 07:36:31 +0000 (16:36 +0900)]
[WRTjs][VD] Remove prefetching xwalk extension feature
Prefetching is almost ineffective to load webapp, compared to its
complicated logic and heavy performing of DB file.
Change-Id: I1d0cd3130054e68d6b67e7035be2112c7e3365cb
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
uzair [Tue, 21 Feb 2023 09:11:24 +0000 (14:41 +0530)]
[Offscreen] Fix for black screen on static pages
Below change makes sure ensure all drawing to the context
has been flushed and submitted to graphics driver before
shown on screen.
Change-Id: Ia4b751b211bd66c9be04328b947e355b0c274c6b
Signed-off-by: uzair <uzair.jaleel@samsung.com>
YongGeol Jung [Thu, 2 Mar 2023 11:40:14 +0000 (03:40 -0800)]
fixup! Shorten NotifySwap path for offscreen rendering
Create |CompositorObserverEfl| to get |NotifySwap| message for WRT offscreen
mode.
Change-Id: Ie2b75929e2d5c386f13838352bdaf859aae04ce7
yh106.jung [Fri, 3 Mar 2023 01:38:18 +0000 (17:38 -0800)]
Map blink::WebNavigationType to Ewk_Policy_Navigation_Type
Ewk_Policy_Navigation_Type is no longer exactly matched with
blink::WebNavigationType.
So, this patch internally maps blink::WebNavigationType to
Ewk_Policy_Navigation_Type.
Change-Id: I4fee4701455da6bf71030f7fb0d569198b9a4f53
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
Ayush Kumar [Fri, 3 Mar 2023 02:44:49 +0000 (08:14 +0530)]
Revert "fixup! [M108 Migration] Enable proper functionality for ewk_policy_decision_* APIs."
This reverts commit
1fddb3c6b1010c0d18af692ccf12cdf772c08cb3.
Change-Id: Ia1d105c83c5677971889817933aa59221211b9bf
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
Ayush Kumar [Fri, 3 Mar 2023 03:19:54 +0000 (08:49 +0530)]
Add libscl-common to fix runtime error
This adds libscl-common to fix following runtime error due to lack of
libscl-common which is needed for standard profile.
>> error : libscl-common.so: cannot open shared object file:
Change-Id: I4ca9d951b6142416bcc919d090ac5346c1ced7ec
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
Chandan Padhi [Mon, 28 Feb 2022 11:41:14 +0000 (17:11 +0530)]
[M108 Migration] Support standard build for armv7hl architecture
This commit adds support to build standard profile for armv7hl
architecture. This also adds clang-format binary built for armv7hl.
Build command:
$ ./tizen_src/build/build_standard_armv7hl.sh
References:
https://review.tizen.org/gerrit/c/271778
https://review.tizen.org/gerrit/c/274635
Change-Id: Iddef3f406ba56ee9982a65a6c2e676bb44150c2d
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Signed-off-by: uzair <uzair.jaleel@samsung.com>
SangYong Park [Thu, 2 Mar 2023 06:46:35 +0000 (15:46 +0900)]
[WRTjs] Fix webapp launching issue in onscreen rendering
. Set view of web contents properly, and register electron's
RenderFrameHost mojo interface for onscreen rendering.
Change-Id: Ie66dc2f9cca81f6f8b48b2074712355fcce49f7d
Signed-off-by: SangYong Park <sy302.park@samsung.com>
fang fengrong [Wed, 1 Mar 2023 10:12:48 +0000 (18:12 +0800)]
[M108 Migration][VD] Add schemes for Tizen TV product
This patch add schemes for Tizen TV product: "mmf", "dvb", "tvkey-apps",
"hbbtv-package", "hbbtv-carousel", "ci".
1. Support mmf scheme for GingaNCL team.
2. DVB scheme is not supported by chromium. Allow EWK API client
to handle DVB requests via intercept request API.
3. This change adds the "tvkey-apps:" scheme for the Tizen TV products.
4. hbbtv-package://<app_id>.<org_id>/[<path>]
e.g. hbbtv-package://1.F1/index.html
The files for these packages are installed on the TV
filesystem, and the installation of the files is
controlled by the HbbTV engine.
Operator application files are considered a 'secure' location,
so the protocol is passed to the 'RegisterURLSchemeAsSecure' API.
5. The HbbTV 2.0.1 Specification (errata 2) section 6.3.2 adds a new URI
format. This URI format is used for loading hbbtv applications from the
DSMCC carousel. This patch adds the scheme that this format requires to
chromium.
format "hbbtv-carousel://OOOO:CCCC/"
Where OOOO = organisation ID (max 16bit).
CCCC = carousel ID (max 64bit).
6. Add ci scheme to standard schemes list.
So WebEngine can distinguish it.
Now, the standard url will convert the host part to lower case.
But the CI address don't need convert it to lower case.
format: ci:// type
eg: ci://HbbTVEngineProfile1/aux/APPLAUNCH-0020/eurofins_logo_0020.cehtml
References:
https://review.tizen.org/gerrit/#/c/282079
https://review.tizen.org/gerrit/#/c/287652/
Change-Id: I2d06f91056515621f00b2f60c9992b4b2ae88744
Signed-off-by: fang fengrong <fr.fang@samsung.com>
uzair [Wed, 21 Oct 2020 05:20:40 +0000 (10:50 +0530)]
[M108 Migration] Support builds for aarch64 and emulator
Below change adds clang_format binary built for i586 platform and
also fixes compiler, linker errors to support builds for
aarch64 and emulator platforms.
Also disables libyuv neon for aarch64 platform due to incompatibility
with gcc.
Build command:
./tizen_src/build/build_standard_aarch64.sh
./tizen_src/build/build_emulator_ix86.sh
./tizen_src/build/build_emulator_x86_64.sh
Reference:
https://review.tizen.org/gerrit/c/245973
Change-Id: Ia3bfa4f4437f7b6d1f552c6a12ab93c667d6c2a3
Signed-off-by: uzair <uzair.jaleel@samsung.com>
YongGeol Jung [Thu, 17 Nov 2022 05:01:39 +0000 (21:01 -0800)]
[M108 Migration][Onscreen][Memory] Enable evas manual rendering to prevent additional memory creation.
Evas engine creates it's own egl window and egl surface to render. Eventually
additional GEM memory is created for rendering. Enable evas manual rendering to
prevent this symptom.
Reference: https://review.tizen.org/gerrit/#/c/284435/
Change-Id: Ia5b72d0f528cb5526da29bba32df37e2b433af95
Signed-off-by: YongGeol Jung <yg48.jung@samsung.com>
ayush.k123 [Wed, 1 Feb 2023 07:00:18 +0000 (12:30 +0530)]
[M108 Migration] Bringup Upgradable Web Engine (UWE)
References:
https://review.tizen.org/gerrit/278476
https://review.tizen.org/gerrit/279250
Change-Id: Iee4bb2bd30a8bcde52772bde9a0d1c7492287ac7
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
feifei08.liu [Thu, 2 Mar 2023 07:37:24 +0000 (15:37 +0800)]
Dummy Implementation for EWK APIs
ewk_view_suspend_network_loading
ewk_view_resume_network_loading
ewk_wait_chromium_ready
Change-Id: I30068380261b203eba8df2953dab7e6aed0ec208
Signed-off-by: feifei08.liu <feifei08.liu@samsung.com>
DongHyun Song [Mon, 27 Feb 2023 00:19:44 +0000 (09:19 +0900)]
[M108 Migration][WRTjs][VD] Migrates recent performance patches
Reference:
https://review.tizen.org/gerrit/#/c/286009/
https://review.tizen.org/gerrit/#/c/286443/
https://review.tizen.org/gerrit/#/c/286525/
https://review.tizen.org/gerrit/#/c/286567/
https://review.tizen.org/gerrit/#/c/286620/
https://review.tizen.org/gerrit/#/c/287796/
https://review.tizen.org/gerrit/#/c/288066/
https://review.tizen.org/gerrit/#/c/289065/
Change-Id: Iaead7c4e7d19c0a4f9d89d746f5761335bc140c9
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
liuxd [Thu, 23 Feb 2023 01:33:58 +0000 (09:33 +0800)]
[M108 Migration][VD] Handle "Up","Select" and "Cancel" key
1.Handle Up key on top of IME as same as Return Back
key
2.For TV IME "Select" and "Cancel" key, handle as hide IME
3.[VD][Remote Access] Block "Cancel" key event in non webapp scene
Refer:
https://review.tizen.org/gerrit/#/c/280444
Change-Id: I8e924d2c55ce3d1a765c7b5baf8687caed77a020
Signed-off-by: liuxd <xd123.liu@samsung.com>
zhaosy [Thu, 2 Mar 2023 02:07:53 +0000 (10:07 +0800)]
[M108 Aura Migration] Fix crash with memory sanitizer
With memory sanitizer or some utility, there can be another thread,
which is created for their purpose.
i.e.)
With VD duma, libduma makes an agent thread as static variable
before ZygoteMain() is called.
efl_webprocess(5483)---{duma_comm}(5497)
Referenece:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/252992/
Change-Id: I5da2bf0e8eaa8632790d9f0bcb2b6f426d0f621c
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
feifei08.liu [Fri, 24 Feb 2023 07:11:33 +0000 (15:11 +0800)]
[M108 Migration] Support callback for customer app error page.
Currently WebBrowser load customer error page with below apis:
callback "load,error"
ewk_view_html_string_load
ewk_view_html_string_override_current_entry_load
With these, it cannot meet all case in WebBrowser.
Customer Error Page will be stored as an independent entry.
It will cause issues related with navigation back/forward or reload.
Implement ewk_view_error_page_load_callback_set for app.
Interpose on the stage of NavigationThrottleEfl::WillFailRequest.
And pass customer error page in here.
For this implementation, customer error page will not store in navigation entry.
Currently, this change is supported for WebBrowser.
Reference:
- https://review.tizen.org/gerrit/279699/
Change-Id: I5dd1ac7bbac95b2c3456c35dbe569cf231aafef4
Signed-off-by: feifei08.liu <feifei08.liu@samsung.com>
xiafeng [Wed, 1 Mar 2023 03:52:01 +0000 (11:52 +0800)]
[M108 Migration][VD][AX] Support ewk_view_atk_deactivation_by_app API
Migrate support patch for ewk_view_atk_deactivation_by_app and
unify logic of InitATK.
Related patch:
https://review.tizen.org/gerrit/281173/
Change-Id: I7c19e049297b0d82c2140d12ad1e2a26f7ebfdb2
Signed-off-by: xiafeng <feng.xia@samsung.com>
feifei08.liu [Thu, 23 Feb 2023 05:31:57 +0000 (13:31 +0800)]
[M108 Migration][VD] Add "hover,over,link" and "hover,out,link"
Implementation of "hover,over,link" and "hover,out,link" callbacks,
notify to client when the mouse hovers over or out a link.
Reference:
- https://review.tizen.org/gerrit/281388/
Change-Id: I490232596f714abd53e8490ce5c0359f4c80bce4
Signed-off-by: feifei08.liu <feifei08.liu@samsung.com>
Suhaspoornachandra [Tue, 7 Feb 2023 07:00:16 +0000 (12:30 +0530)]
[M108 Migration][MM] getUserMedia bringup patch.
- Enable Tizen port to use camera api.
- Fix device orientation issue.
- Use sw path to rendering camera preview.
References:
https://review.tizen.org/gerrit/279607
https://review.tizen.org/gerrit/280370
https://review.tizen.org/gerrit/280507
Change-Id: I3655507ac09d2d3183bacfbdfbc14387b53b109f
Signed-off-by: Suhaspoornachandra <s.poornachan@samsung.com>
jiangyuwei [Wed, 1 Mar 2023 06:44:39 +0000 (14:44 +0800)]
[M108 Migration][VD] Add Notifications for Popup Menu show and hide
For the requirement from Tizen TV WebBrowser team,
to add notifications for Popup Menu show and hide.
In WebBrowser side, need to know that there is date picker,
then can have normal mouse move on it, not hybrid movement.
Reference:
https://review.tizen.org/gerrit/#/c/282721/
Change-Id: Iae39c8fc26db93fd497e7e4313669c3e0f16ddcf
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
Surya Kumar [Wed, 1 Mar 2023 11:53:55 +0000 (17:23 +0530)]
[M108 Migration] Set default behavior of common profile as mobile profile
WRT disables onscreen mode for |MobileProfile|. This patch equates
|MobileProfile| with |CommonProfile| forcing WRT to run in offscreen
mode in RPi4, just like M94 AURA and fixes web app errors
encountered from wayland module.
Reference: https://review.tizen.org/gerrit/280440
Change-Id: I4e75c16fac97a9ad2a90a4f9bf9bf0a58e5fe4a8
Signed-off-by: Surya Kumar <surya.kumar7@samsung.com>
fr.fang [Tue, 28 Feb 2023 12:20:54 +0000 (20:20 +0800)]
[M108 Migration][HBBTV] Implement ewk_context_register_jsplugin_mime_types API
This is required to prevent the renderer from creating frames to handle JS
plugins mimetypes, if those mime types are supported by the renderer by default.
Reference:
https://review.tizen.org/gerrit/#/c/282683
Change-Id: I4ffbcccac84b5dc0ec531fbbcf67de18bef9e569
Signed-off-by: fr.fang <fr.fang@samsung.com>
Venugopal S M [Mon, 27 Feb 2023 13:25:02 +0000 (18:55 +0530)]
fixup! [M108 Migration] Enable video hole feature
Call decode unset method in IDLE state.
Reference: https://review.tizen.org/gerrit/283277
Change-Id: Ice0d1ad64e65aca47275df01ad550c73748a22c6
Signed-off-by: wuxiaoliang <xliang.wu@samsung.com>
Signed-off-by: Venugopal S M <sm.venugopal@samsung.com>
xiaofang [Wed, 1 Mar 2023 05:20:13 +0000 (13:20 +0800)]
fixup! [M108 Aura Migration] Add media playback ewk api
add ewk_view_stop_video impl
Change-Id: Ie02d39d39c43089b9a78c34b2696fde2816b7527
Signed-off-by: xiaofang <fang.xiao@samsung.com>
Gajendra N [Wed, 1 Mar 2023 04:57:36 +0000 (10:27 +0530)]
fixup! fixup! Enable content shell with aura for desktop
The fixup commit 6ec053 caused linker error on desktop build.
It seems for deskop version, tls_model type 'initial-exec' is
suitable. This patch makes necessary changes to handle both profiles.
Change-Id: I2de65051f01a2c9d9444450fa0a5bb301ea85a71
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
jiangyuwei [Tue, 28 Feb 2023 03:14:01 +0000 (11:14 +0800)]
[M108 Migration] Add an ewk api logs for debugging
Important and frequently used ewk api logs are lacking,
add logs for debugging.
Reference:
https://review.tizen.org/gerrit/#/c/283987/
Change-Id: I661b4cf68f037a96b5b60cf2e72567815f100ea4
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
Surya Kumar [Tue, 28 Feb 2023 11:09:39 +0000 (16:39 +0530)]
[WRTJS] Fix a gcc build error caused by function/class ambiguity
1. Existing function name had the same signature as a class's constructor
leading to gcc causing build break. Made changes to resolve
the confusion.
2. Added a missing function definition that otherwise made a class
incomplete.
Reference:
https://github.com/electron/electron/pull/36096/commits/
e50ab4a4db4042cbc007cd8d832f61b9c8bc0449
Change-Id: I3e6c27b8bbb450ab3ac908b9c985153e73526ff0
Signed-off-by: Surya Kumar <surya.kumar7@samsung.com>
Gajendra N [Tue, 28 Feb 2023 09:49:32 +0000 (15:19 +0530)]
fixup! Enable content shell with aura for desktop
This patch reverts a change related to ThreadLocalStorage 'tls_model'
done in patch [1], as the change was causing error [2] when our
chromium-efl library is being loaded with dlopen from another library.
As per the comment description mentioned in file
third_party/blink/renderer/platform/heap/thread_local.h, it is suggested
to use "local-exec" type for Linux platform, hence reverting back to
original type, which avoids the error [2].
[1] https://review.tizen.org/gerrit/284216
[2] "cannot allocate memory in static tls block"
Change-Id: I683859fff133217eec91e285a09d9430e6c4d4e7
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
Chandan Padhi [Wed, 22 Feb 2023 15:49:24 +0000 (21:19 +0530)]
fixup! [M108 Migration][API] Bring up autofill
This commit fixes webview crash at launch when autofill is enabled.
Reverts commit fe2ff5b.
Change-Id: I187180dd09bd1595e94a0b33d02fdf3299182938
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
fr.fang [Tue, 28 Feb 2023 01:15:08 +0000 (09:15 +0800)]
[M108 Migration][VD][HBBTV][API] Support DVB scheme for HBBTV
1.This CL implement api ewk_context_register_url_schemes_as_cors_enabled.
With this CL, WebEngine can parse dvb url host as CORS.
2.Remove WRT dependency of injected bundle, only HbbTV uses it.
3.Fix the loss of IPC message caused by multithreading.
This patch includes :
1) Added protection for NULL message in IPC.
There was no exception handling for the NULL message
in low memory situation.
2) Fix the issue the deleted message is used again.
When multiple render process exit ,the message is deleted
after it send to one render process.
Copy the message before it is sent to render process.
References:
https://review.tizen.org/gerrit/#/c/251270/
https://review.tizen.org/gerrit/#/c/250990
https://review.tizen.org/gerrit/#/c/255829
Change-Id: Iaf0084a385649fda71d2c0856398b0c26458c919
Signed-off-by: fr.fang <fr.fang@samsung.com>
zhaosy [Tue, 28 Feb 2023 05:25:55 +0000 (13:25 +0800)]
[M108 Migration][WRTjs][VD] define lib_dir_path
lib_dir_path is not defined, so mount app is fail.
Reference:
https://review.tizen.org/gerrit/281394/
Change-Id: I2835bf83f2498615db3a5f728fd0979fca1225b1
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
Jie Zhang [Fri, 24 Feb 2023 05:44:45 +0000 (13:44 +0800)]
[M108 Migration] Implement ewk_settings_do_not_track_set() API
Set to add http head DNT(do not track).
Reference:
- https://review.tizen.org/gerrit/#/c/279422/
Change-Id: Iee5403811413d091d53aa14b8ab4033ac576be0a
Signed-off-by: Jie Zhang <jie137.zhang@samsung.com>
v-saha [Fri, 17 Feb 2023 12:34:31 +0000 (18:04 +0530)]
[M108 Migration] Selection & Context menu controller.
This change migrates below fixes related to context menu/text selection.
1. Uses GetSelectedText in RWHVA.
2. Avoid hiding context menu during potrait to landscape and vice versa.
3. Do not restore context popup when in caret mode.
Reference: https://review.tizen.org/gerrit/282457
Change-Id: Iadc9cb3c5bb9948b867c24ba825e658260908a8c
Signed-off-by: v-saha <v.saha@samsung.com>
feifei08.liu [Mon, 27 Feb 2023 02:03:46 +0000 (10:03 +0800)]
Dummy Implementation for EWK APIs
ewk_settings_mixed_contents_set
ewk_context_time_offset_set, ewk_context_timezone_offset_set
ewk_check_chromium_ready
ewk_view_run_mixed_content_confirm_callback_set
ewk_settings_mixed_contents_set
ewk_view_error_page_load_callback_set
ewk_view_add_item_to_back_forward_list
ewk_view_poweroff_suspend : empy implement, need check history
ewk_view_set_cursor_by_client
ewk_settings_ime_handle_key_event_enabled_get/set
Change-Id: Ib75af16280c2389be7c22cd9b84e637f54d30d3c
Signed-off-by: feifei08.liu <feifei08.liu@samsung.com>
xiaofang [Mon, 27 Feb 2023 02:19:08 +0000 (10:19 +0800)]
[M108 Aura Migration] Add media playback ewk api
ewk api:
ewk_view_stop_video
ewk_view_broadcast_decoder_set
ewk_view_media_device_list_get
ewk_settings_default_audio_input_device_set
ewk_view_is_video_playing
Refer:
https://review.tizen.org/gerrit/#/c/270947/
https://review.tizen.org/gerrit/#/c/271619/
https://review.tizen.org/gerrit/#/c/284880/
https://review.tizen.org/gerrit/#/c/284853/
https://review.tizen.org/gerrit/#/c/276711/
https://review.tizen.org/gerrit/#/c/270211/
Change-Id: I406d049dca2b07ae4f4757c6412f0ceff9509e81
Signed-off-by: xiaofang <fang.xiao@samsung.com>
Gajendra N [Mon, 27 Feb 2023 08:24:52 +0000 (13:54 +0530)]
fixup! [M108 Migration][clang] set default value for _clang variable
This commit enables clang build by default for both VD QB and SR QB.
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
Change-Id: I481464121e0d500829b714f94920db5000e25523
Suhaspoornachandra [Tue, 21 Feb 2023 09:20:12 +0000 (14:50 +0530)]
fixup! [M108 Migration][MM] Migrate Tbm feature for Tizen Multimedia
Currently |DestroyMediaPacket| function is called twice(|OnTbmBufferExhausted|
and |GLImageEGL|) per each media packet. Changed to call |DestroyMediaPacket|
function only once per each packet.
Reference: https://review.tizen.org/gerrit/278415
Change-Id: Ife888684dca419a0d9629e1c39594ce1c71238d1
Signed-off-by: Suhaspoornachandra <s.poornachan@samsung.com>
Bakka Uday Kiran [Thu, 23 Feb 2023 09:21:28 +0000 (14:51 +0530)]
[M108 Migration][Native Control] JsPopup Migration & Bring up
This patch brings up popup functionality for JavaScript APIs
like window.alert(), window.prompt() etc.
Reference:
https://review.tizen.org/gerrit/c/278533
https://review.tizen.org/gerrit/c/271926
Change-Id: I9f50d76b8f5d8b309eb1749f6cb18a3e2ffccc4c
Signed-off-by: Bakka Uday Kiran <b.kiran@samsung.com>
Gajendra N [Mon, 27 Feb 2023 05:32:46 +0000 (11:02 +0530)]
Add dummy implementation for ewk_set_version_policy API
ewk_set_version_policy api comes from UWE feature. Since UWE patch is
not yet applied to beta branch due to some error, this patch applies
dummy impl for the above api to succeed 7.5 VD QB build.
Change-Id: I2b6cef8e87e3e480a3ae8f49847e8743d9224aed
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
shurong.chen [Tue, 21 Feb 2023 03:07:53 +0000 (11:07 +0800)]
[M108 Migration][VD] Provide ewk_settings_clipboard_enabled_set api
The patch is for the requirement:
Support ewk setting api for handle ctrl+x/c/v(clipboard).
When clipboard enabled, text input can paste from clipboard.
This patch is migrated from M94 Aura:
https://review.tizen.org/gerrit/#/c/282689/
Change-Id: I2de1e97720968c27d5271e63c2afba3935ec30e9
Signed-off-by: shurong.chen <shurong.chen@samsung.com>
Bakka Uday Kiran [Mon, 20 Feb 2023 11:12:11 +0000 (16:42 +0530)]
[M108 Migration][ContextPopup] Bring up Context Popup 2/2
This patch migrates changes related to context popup bringup and
Also handles,
1. Displaying context menu(text_selection) when touchevent is consumed.
2. Simplify logic of text selection.
3. Correcting context menu Show/Hide behaviour by maintaining state
machine.
4. Fix for scrolling not smooth when context menu is shown.
5. Remove focusing codes in ContextMenuControllerEfl.
6. Check the status of context menu just before display.
7. Adjust the position of context menu for text selection
Reference: https://review.tizen.org/gerrit/c/282372
Change-Id: I6d66c9c0ea4f96c602378515434af23a62ca37f6
Signed-off-by: Bakka Uday Kiran <b.kiran@samsung.com>
qiang.ji [Mon, 27 Feb 2023 01:16:18 +0000 (09:16 +0800)]
[M108 Migration] Add empty impl for tree api to avoid compile error.
refs:
ewk_view_clear_tiles_on_hide_enabled_set https://review.tizen.org/gerrit/#/c/279483/
ewk_view_edge_scroll_by https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/271182/
ewk_view_tile_cover_area_multiplier_set https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/271942/
Change-Id: Iaf207739e1029a4c6f87637feb927ff6293a19b9
Signed-off-by: qiang.ji <qiang.ji@samsung.com>
liuxd [Fri, 24 Feb 2023 01:39:34 +0000 (09:39 +0800)]
[M108 Migration][VD] Fix IME focus issue
1. Add WebView focus and Widget show state check
2. Fix WebPage auto focus to input,ime have not focus in issue.
refer:
https://review.tizen.org/gerrit/#/c/282680/
Change-Id: I7c55cf139766af540119d4633a952816e264032d
Signed-off-by: liuxd <xd123.liu@samsung.com>
Surya Kumar [Fri, 24 Feb 2023 08:30:23 +0000 (14:00 +0530)]
[M108 Migration] Fix WRTJS build errors
This patch adds necessary changes to resolve dependency
errors occurring during various wrtjs profile builds.
Reference: https://review.tizen.org/gerrit/271777
Change-Id: I2a00b44c4d9b4d4b22d4c94462b3197ce1adf876
Signed-off-by: Surya Kumar <surya.kumar7@samsung.com>
fang fengrong [Sat, 25 Feb 2023 07:32:47 +0000 (15:32 +0800)]
[M108 Migration] Support Url conversion on the multi process model
1. Instantiate WrtDynamicPlugin for browser process on multi process.
2. Revise WrtUrlRequestInterceptor.
Added to Support app scheme.
If parsed URL is not file scheme, the request will be redirected,
not handled directly in WrtUrlRequestInterceptor. The parsed URL will
be exposed to the content side(WebApp) after redirection.
3. Cleanup WrtWidget related codes
Remove duplicated codes and unify codes for TV product and public in
a single interface
4. Remove URLRequestInterceptingJobFactory
5.Fix the crash in EWebContext::SetWidgetInfo
There is a crash when EWebContext::SetWidgetInfo is invoked
without injected bundle in the single process mode.
References:
https://review.tizen.org/gerrit/#/c/247502/
https://review.tizen.org/gerrit/#/c/250497/
Change-Id: Id057f3c74e4f4168515b15d9a0509a17bde96479
Signed-off-by: fang fengrong <fr.fang@samsung.com>
Koyyani Maheswari [Wed, 22 Feb 2023 05:33:52 +0000 (11:03 +0530)]
Remove unutilized code
Below features are not used. Respective code is removed.
- tizen_multimedia_eme_support
- tizen_multimedia_support
Reference :
https://review.tizen.org/gerrit/279396/
https://review.tizen.org/gerrit/279317/
Change-Id: I989a3873cfe785afcff1f7172419c0646510e95c
Signed-off-by: Koyyani Maheswari <m.koyyani@samsung.com>