platform/framework/web/chromium-efl.git
4 months agofixup! Introduce new sub rpm package for UWE 25/315625/1
SangYong Park [Tue, 3 Dec 2024 22:38:15 +0000 (07:38 +0900)]
fixup! Introduce new sub rpm package for UWE

Fix build error with '--disable-build-chrome' option.

Change-Id: Ia2ceab611a44c31f0ba24f69686030e9b20bf0f2
Signed-off-by: SangYong Park <sy302.park@samsung.com>
4 months agoIntroduce new sub rpm package for UWE 39/315339/2
Insoon Kim [Fri, 29 Nov 2024 05:50:04 +0000 (14:50 +0900)]
Introduce new sub rpm package for UWE

Add new rpm package for M126 UWE development. This package includes the
chromium-efl library and resources in /usr/share/chromium-efl for UWE.
And chrome_tizen is directly linked with impl.so for accessing
ChromeMain() symbol.

Change-Id: I1295fc6a3089e640c8a705726fda5c8b427fabe5
Signed-off-by: Insoon Kim <is46.kim@samsung.com>
4 months agoFix WebTCT auto/manual canvas failures 12/321112/7
Satyaveer Singh [Wed, 27 Nov 2024 12:15:40 +0000 (17:45 +0530)]
Fix WebTCT auto/manual canvas failures

Goal is to not accelerate small size canvases, so,
AcceleratedSmallCanvasesEnabled() should be false for small size canvases.
Initially, above flag value is changing again to true even after setting
it as false. This commit fixes the same.

This commit fixes below canvas tcs:
[Auto]
1) 2d.imageData.get.source.outside.html
2) 2d.path.arc.selfintersect.1.html

[Manual]
1) 2d.gradient.interpole.zerosize.fillText
2) 2d.gradient.interpole.zerosize.strokeText

Change-Id: I41905eccb6bb11058645da463ef5bcbae44f4386
Signed-off-by: Satyaveer Singh <satyaveer.s@samsung.com>
4 months ago[WebRTC][MM] Remove EWK_BRINGUP in UserMediaProcessor 46/321146/3
Pranay Chauhan [Thu, 28 Nov 2024 06:35:55 +0000 (12:05 +0530)]
[WebRTC][MM] Remove EWK_BRINGUP in UserMediaProcessor

This change removes EWK_BRINGUP inside SelectVideoDeviceSettings
in UserMediaProcessor.

Change-Id: Iaedb09400a1b643d052cff4c2f3193ae69f5ba31
Signed-off-by: Pranay Chauhan <pranay.c1@samsung.com>
4 months ago[M126 Migration][MM]Support YUYV and MJPEG formats for Camera 06/321106/2
Suhaspoornachandra [Thu, 7 Nov 2024 12:22:53 +0000 (17:52 +0530)]
[M126 Migration][MM]Support YUYV and MJPEG formats for Camera

This patch adds support for the MJPEG and YUYV formats for
Camera.

It also adds error correction case for OnCameraCaptured libyuv convert
calls and reduces code duplication.

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

Change-Id: Ife1d3e608e428255688cb69b4535a06164df4b64
Signed-off-by: Suhaspoornachandra <s.poornachan@samsung.com>
4 months ago[WRTjs] Fix invalid preference data of app data 99/321099/2
SangYong Park [Wed, 27 Nov 2024 10:09:01 +0000 (19:09 +0900)]
[WRTjs] Fix invalid preference data of app data

. Add preference data to wrapper class for avoiding to access
  deleted temp string variable by copy constructor of wgt manifest
  handlers's Preference class method.
. Remove local variable name conflict

Change-Id: Ib94062d61289fa1472f9a4bcb6c43d69dfd7ccb7
Signed-off-by: SangYong Park <sy302.park@samsung.com>
4 months ago[M126 Migration][WebRTC] Enable SCTP data channel of webrtc 07/321107/2
hongyanting [Wed, 24 Apr 2024 05:58:14 +0000 (13:58 +0800)]
[M126 Migration][WebRTC] Enable SCTP data channel of webrtc

SCTP is necessary for sdp negotiation,
otherwise it will cause peerconnection create failed.

This patch enables SCTP by default for all profiles.

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

Change-Id: I0232493715111695266ab5517e23e92b2e4be3a9
Signed-off-by: Suhaspoornachandra <s.poornachan@samsung.com>
4 months ago[WebRTC][MM] Remove EWK_BRINGUP WebContentsDelegateEfl 59/320459/5
Pranay Chauhan [Fri, 15 Nov 2024 10:15:00 +0000 (15:45 +0530)]
[WebRTC][MM] Remove EWK_BRINGUP WebContentsDelegateEfl

The requested_video_device_id and requested_audio_device_id
have been changed to vectors of name requested_video_device_ids
and requested_audio_device_ids respectively.

Change-Id: I2d0c81d7444887b920a20f7d918ee1584bcc7612
Signed-off-by: Pranay Chauhan <pranay.c1@samsung.com>
4 months ago[M126 Migration][WRTjs] Fix camera permission denied issue 62/320962/2
Suhaspoornachandra [Tue, 26 Nov 2024 05:52:12 +0000 (11:22 +0530)]
[M126 Migration][WRTjs] Fix camera permission denied issue

In PermissionControllerDelegate::GetPermissionResultForCurrentDocument,
PermissionStatus::DENIED is return as default, so can't use camera for webapp.

Override GetPermissionResultForCurrentDocument in WRT, return PermissionStatus::GRANTED.

Reference:
https://review.tizen.org/gerrit/305527
https://review.tizen.org/gerrit/307952

Change-Id: Ia5c2b1149794c45cc968f22d9903387b60bca8fe
Signed-off-by: Suhaspoornachandra <s.poornachan@samsung.com>
4 months ago[M126 Migration] Add strip-all build option to reduce rpm size 52/320852/1
Insoon Kim [Tue, 5 Nov 2024 09:14:35 +0000 (18:14 +0900)]
[M126 Migration] Add strip-all build option to reduce rpm size

nodebug option builds without debuginfo rpm package. so debug symbols is
not stripped from chromium libraries. This patch helps to reduce
chromium rpm package size with nodebug option for local dev.

References:
https://review.tizen.org/gerrit/319949

Change-Id: Ife2a12c190bcad89ffcab64ea0a2d83f17e81de8
Signed-off-by: Insoon Kim <is46.kim@samsung.com>
5 months agoFix NativeTCT autofill itc/utc failures 52/320252/6
Satyaveer Singh [Mon, 11 Nov 2024 13:39:55 +0000 (19:09 +0530)]
Fix NativeTCT autofill itc/utc failures

This patch makes necessary changes as per upstream change.
This commit fixes below itc/utc failures:
1) ITc_ewk_context_form_autofill_profile_add_remove_p
2) ITc_ewk_context_form_autofill_profile_get_all_p
3) utc_webkit2_ewk_context_autofill_profile_add_remove_p
4) utc_webkit2_ewk_context_autofill_profile_get_all_p

Change-Id: I4a6e469e054f9a49d4e4eb883f30fa458b909636
Signed-off-by: Satyaveer Singh <satyaveer.s@samsung.com>
5 months agoFix NativeTCT javascript_message_handler itc failure 98/320298/4
Satyaveer Singh [Tue, 12 Nov 2024 13:03:25 +0000 (18:33 +0530)]
Fix NativeTCT javascript_message_handler itc failure

This commit fixes isolate creation for GinNativeBridgeObject.
With this change, below TC passes on NativeTCT.
1) ITc_ewk_view_javascript_message_handler_add_p

Change-Id: I59f677634fde4b49411e6b3750067ef9c8010aba
Signed-off-by: Satyaveer Singh <satyaveer.s@samsung.com>
5 months agoFix Native TCT manifest utc failures 24/320424/3
nishitha [Fri, 15 Nov 2024 05:26:38 +0000 (10:56 +0530)]
Fix Native TCT manifest utc failures

This patch fixes the below utc failures-
1) utc_webkit2_ewk_manifest_name_get_n
2) utc_webkit2_ewk_manifest_short_name_get_n
3) utc_webkit2_ewk_view_request_manifest_n

Change-Id: I748f5f4ed755d65b6d47f328ffb8409d76d12d04
Signed-off-by: nishitha <n.saravanan@samsung.com>
5 months agofixup! [WRTjs] Enable WRTjs 40/320340/2
Pranay Chauhan [Wed, 13 Nov 2024 12:31:38 +0000 (18:01 +0530)]
fixup! [WRTjs] Enable WRTjs

Fixed build error on standard build.

Change-Id: Ia4c835f82b124b86d32fefc986111bbf64b484ef
Signed-off-by: Pranay Chauhan <pranay.c1@samsung.com>
5 months ago[M126 Migration] fixup! [NUI] NUI implementation for |SkiaRenderer| 64/320064/5
amarjit31 [Thu, 7 Nov 2024 08:56:46 +0000 (14:26 +0530)]
[M126 Migration] fixup! [NUI] NUI implementation for |SkiaRenderer|

Using GR_GL_RGBA8 instead of kRGBA_8888_SkColorType due to
implementation changes in |GetGrGLBackendTextureFormat|.
Replacing gl_image_egl with scoped_egl_image.

References:
https://review.tizen.org/gerrit/309064
https://review.tizen.org/gerrit/313733

Change-Id: I14bd4ef210b47ca78e18483dbc7dcc74ff4ca55a
Signed-off-by: amarjit31 <amarjit.g@samsung.com>
5 months agofixup! Enable chrome build by default 52/320052/5
utkarshlal [Thu, 7 Nov 2024 07:51:40 +0000 (13:21 +0530)]
fixup! Enable chrome build by default

Fixes issue where incorrect out folder was chosen during build.
Tv build was using out.tz_v9.0.PontusM.armv7l directory,
instead of out.chrome.tz_v9.0.PontusM.armv7l directory.
This patch fixes check to work with --disable-build-chrome flag.

Change-Id: I05e12e3c03fbaf05b0a8bb4fcee86dd5dd9e5356
Signed-off-by: utkarshlal <utkarsh.lal@samsung.com>
5 months agofixup! Create dummy window to prevent |eglTerminate| call after closing popup window. 79/320179/1
sidpaswan [Mon, 28 Oct 2024 13:52:33 +0000 (19:22 +0530)]
fixup! Create dummy window to prevent |eglTerminate| call after closing popup window.

Change-Id: Ib21331a91ed780c46fe562ccc5b421f819c7247f
Signed-off-by: sidpaswan <s.paswan@samsung.com>
(cherry picked from commit 7bca9fc4ac60c0611d187cfb0aa5c28b0ff9f1d8)

5 months ago[M126 Migration] Fix for Geolocation webTCT failures 13/320013/4
amarjit31 [Wed, 6 Nov 2024 12:45:06 +0000 (18:15 +0530)]
[M126 Migration] Fix for Geolocation webTCT failures

In m120 with the addition of GeopositionResult class the Geoposition
object are now referenced via the GeopositionResult. This added layer
separates position and error occured instances from Geoposition object.
This patch implements this change for the geolocation calls.

References:
https://review.tizen.org/gerrit/308199
https://review.tizen.org/gerrit/308269

Change-Id: I3e11501d5eda5746e4f4b4f5ef42c1b5818145d6
Signed-off-by: amarjit31 <amarjit.g@samsung.com>
5 months agoEnable chrome build by default 32/319632/2
Gajendra N [Tue, 29 Oct 2024 05:08:43 +0000 (10:38 +0530)]
Enable chrome build by default

This commit makes build chrome targets by default and introduces
a build switch to disable the same with --disable-build-chrome

Removes the existing build switch --build-chrome

Also enables chrome build for desktop profile
Reference: https://review.tizen.org/gerrit/317781

Change-Id: Ib2d7defac1e4aead97d883b7678ec10d2a771d99
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
5 months ago[M126 Migration] Build libchromium-impl.so with chrome implementation 68/319568/4
Rohit Kumar [Fri, 25 Oct 2024 13:36:46 +0000 (19:06 +0530)]
[M126 Migration] Build libchromium-impl.so with chrome implementation

This patch
a) Builds libchromium-impl.so including chrome implementation and chrome_tizen
   as chrome main executable when |--build-chrome| option is given.
b) GBS root and out directory are seperated.
c) Supports EWK and WRT with --build-chrome

References:
https://review.tizen.org/gerrit/303499
https://review.tizen.org/gerrit/306836
https://review.tizen.org/gerrit/305200
https://review.tizen.org/gerrit/307791
https://review.tizen.org/gerrit/318891
https://review.tizen.org/gerrit/319290

Change-Id: Ie7718fa71ff361932e07eddb2651fcc7a4a3a6c4
Signed-off-by: Rohit Kumar <rohit.16@partner.samsung.com>
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
5 months ago[M126 Migration] Apply SW backend related patches 85/319485/3
chiragmaheshwari [Thu, 24 Oct 2024 06:44:52 +0000 (12:14 +0530)]
[M126 Migration] Apply SW backend related patches

Adding sw backend related changes to fix issues with Web app launch.

References:
- https://review.tizen.org/gerrit/317838
- https://review.tizen.org/gerrit/319331

Change-Id: I567623d2472eab25b5419f4721756b354f5d6d77
Signed-off-by: chiragmaheshwari <c.maheshwari@samsung.com>
6 months ago[WRTjs] Fix black screen issue 38/319438/2
SangYong Park [Wed, 23 Oct 2024 06:11:12 +0000 (15:11 +0900)]
[WRTjs] Fix black screen issue

Set fill layout to content view's layout manager for
layouting child views of content view.

Change-Id: I3ebbc5586f2b2e603d9838e1fcc11d5775868a82
Signed-off-by: SangYong Park <sy302.park@samsung.com>
6 months ago[M126 Migration] Fix "print error dialog" not appearing in chrome 85/319285/3
Akshay Kanagali [Mon, 21 Oct 2024 05:18:42 +0000 (10:48 +0530)]
[M126 Migration] Fix "print error dialog" not appearing in chrome

Error dialog for print was not appearing for chrome on tv as the
relevant code was disabled under !defined(ENABLE_WRT_JS).

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

Change-Id: I66a40c070a0c5f65c666c69a59855d16b0d23c13
Signed-off-by: Akshay Kanagali <a.kanagali@partner.samsung.com>
6 months ago[M126 Migration][Chrome] Fix for crash during scroll 68/319368/3
Chandan Padhi [Thu, 2 May 2024 05:37:59 +0000 (11:07 +0530)]
[M126 Migration][Chrome] Fix for crash during scroll

WebContentsViewAuraHelperEfl is not instantiated for Chrome
that results in crash while dereferencing |wcva_helper()|.

This commit adds null checks for |wcva_helper()| in
RWHVAuraCommonHelperEfl.

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

Change-Id: Ie596acd81654eb9e9fc1610bc48fa4d888293c2b
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
(cherry picked from commit 0124946763fd3f58117cbe43e9bf87850eaa1b45)

6 months agoFix RWI websocket disconnect issue. 46/318946/3
Insoon Kim [Fri, 11 Oct 2024 04:05:52 +0000 (21:05 -0700)]
Fix RWI websocket disconnect issue.

This patch allows RWI websocket connection from all origins.

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

Change-Id: I5f363af1ed89af9ab0943eba6e085026a6be1c34
Signed-off-by: Insoon Kim <is46.kim@samsung.com>
6 months agoAdd -j option for local build 39/318939/2
Insoon Kim [Fri, 11 Oct 2024 03:52:41 +0000 (20:52 -0700)]
Add -j option for local build

This commit adds -j option to allow users to specify the number of
parallel jobs.

Change-Id: Idba689af4ae41fc60e2f3a7ef6c93a5bc728a74f
Signed-off-by: Insoon Kim <is46.kim@samsung.com>
6 months ago[WRTjs] bump electron to v31.7.0 29/319029/1
SangYong Park [Fri, 11 Oct 2024 02:09:25 +0000 (11:09 +0900)]
[WRTjs] bump electron to v31.7.0

. bump electron to v31.7.0
. bump nodejs to v20.18.0

Change-Id: I9a183940e090266b2270d2f7aa2f8bd07dbdde95
Signed-off-by: SangYong Park <sy302.park@samsung.com>
6 months ago[WRTjs] Enable WRTjs 41/318841/1
SangYong Park [Tue, 8 Oct 2024 06:13:29 +0000 (15:13 +0900)]
[WRTjs] Enable WRTjs

. electron v31.6.0
  + node modules : @types/node, @types/webpack-env, buffer, husky,
                   process, timers-browserify, ts-loader, typescript,
                   webpack, webpack-cli, wrapper-webpack-plugin
  + electron.d.ts : type definitions for electron
. node.js v20.17.0
  + electron's patches
  - benchmark, doc, test, tools/node_modules
  - some deps : brotli, corepack, googletest, icu-small, ngtcp2,
                npm, openssl, simdjson, v8, zlib
. wrt
  : from tizen branch (38e2214a7c505be942d4f6ebb772acf7d428dbdd)

Change-Id: I476eefc686f289f3491adccdc9932317f0af99b8

6 months ago[platform-api-wrapper] Remove c++ header dependancy from wrapper.h 00/318100/4
Gajendra N [Tue, 24 Sep 2024 12:04:44 +0000 (17:34 +0530)]
[platform-api-wrapper] Remove c++ header dependancy from wrapper.h

Wrapper header gets compiled with clang-libc++ during chromium build
and hence its better to avoid usage of std c++ headers.

Change-Id: I1d2cee5cbaf6df3abcc6718302f5239df2d757d5
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
6 months agofixup! [M126][Autofill] Introduce autofill fw interface 81/287481/11
v-saha [Mon, 16 Sep 2024 06:46:36 +0000 (12:16 +0530)]
fixup! [M126][Autofill] Introduce autofill fw interface

Some of the changes got missed in the parent commit due to renaming of
files.

References:
https://review.tizen.org/gerrit/289135
https://review.tizen.org/gerrit/305139

Change-Id: I6ec950195c93f51551d5d37793773cf36317410e
Signed-off-by: v-saha <v.saha@samsung.com>
7 months agoBuild platform-api-wrapper library within chromium-efl 90/317790/6
Gajendra N [Wed, 18 Sep 2024 05:06:16 +0000 (10:36 +0530)]
Build platform-api-wrapper library within chromium-efl

This commit unifies platform-api-wrapper build for standard and TV profiles.
Builds the .so library with GCC, CMake and links with libchromium-impl.

Adds build switch --disable-platform-api-wrapper to disable the functionality
which is enabled by default.

Change-Id: I680d2864ee03687524183175aee1bb2199df256b
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
7 months agofixup! Introduce platform-api-wrapper module for solving abi namespace issues 78/317778/1
Gajendra N [Tue, 17 Sep 2024 09:30:43 +0000 (15:00 +0530)]
fixup! Introduce platform-api-wrapper module for solving abi namespace issues

Missed conditions for tv profile check in the parent patch.

Change-Id: I6c5df47f53c050542c31da0b7fcd741e60a3331e
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
7 months agoIntroduce platform-api-wrapper module for solving abi namespace issues 77/317277/17
Gajendra N [Fri, 6 Sep 2024 10:31:56 +0000 (16:01 +0530)]
Introduce platform-api-wrapper module for solving abi namespace issues

ABI namespace string differs between libraries : GCC libstdc++ and Chromium libc++,
resulting in linker errors [1] during usage of STL classes like std::vector, std::string etc.

[1] ld.lld: error: undefined symbol: eme::IEME::enumerateMediaKeySystems(
                std::__Cr::vector<char const*, std::__Cr::allocator<char const*>>*)

This commit introduces a wrapper layer to overcome the abi compatibility issues.

Change-Id: I8457fe67f313ea44e8c66b326fcfc3af06f4363f
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
7 months ago[M126] Enable autofill 41/317141/2
Chandan Padhi [Wed, 4 Sep 2024 11:04:34 +0000 (16:34 +0530)]
[M126] Enable autofill

This commit enables autofill and fixes build errors related to it.
This also fixes all the remaining crashes related to autofill post
webview launch. Autofill was disabled for all profiles during M126
bringup.

Change-Id: I4ef8f47a5fd7ccfd07f534638aaf42fa838612a4
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
7 months ago[M126 Migration] Set crypt config for EFL 27/317127/2
Chandan Padhi [Thu, 6 Jun 2024 12:49:29 +0000 (18:19 +0530)]
[M126 Migration] Set crypt config for EFL

Crypt config was not set that resulted in browser crash due to a
CHECK failure in OSCryptImpl::CreateKeyStorage.

This crash was reproduced while verifying signin on passkey demo
at https://passkeys-demo.appspot.com/.

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

Change-Id: I7d44b8b30537b2d668fae013e40b9834785128f1
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
(cherry picked from commit 3c0c4ab3ea5d8c148078368fe7bfb66a7a485b3d)

7 months ago[M126 Migration] fixup! Enable autofill for desktop 38/317038/4
Chandan Padhi [Mon, 25 Mar 2024 07:48:34 +0000 (13:18 +0530)]
[M126 Migration] fixup! Enable autofill for desktop

Some of the changes got missed in the parent commit.

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

Change-Id: I58662590dff6a27dcf361031078b1c68b5f6187c
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
(cherry picked from commit 97254b3e4e80005ffcec03ecebfce0774e94ce60)

7 months ago[M126 Migration] Fix autofill related crash/freeze issues 39/317039/5
Chandan Padhi [Thu, 21 Mar 2024 15:09:49 +0000 (20:39 +0530)]
[M126 Migration] Fix autofill related crash/freeze issues

Some of the websites using autofill such as pinterest.com, linkedin.com,
instagram.com, etc. crash/freeze at launch or on login.

As per the changes in upstream chromium at [1], empty form url will
result in CHECK failure. |url| in autofill::FormData was empty in M120
chromium-efl resulting in crash/freeze issues.

This commit sets the |url| for FormData to avoid CHECK failure.

[1] https://chromium-review.googlesource.com/4955825

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

Change-Id: Ib4582effbd001c52611b89f8206b7f2b256e6cfa
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
(cherry picked from commit 6f43701712bf72d22c5e4f07a3c0d19beb972f5e)

7 months ago[M126] Initialize elm for Chrome 66/317066/1
v-saha [Tue, 3 Sep 2024 10:28:11 +0000 (15:58 +0530)]
[M126] Initialize elm for Chrome

This commit initializes elm for Chrome to fix crash post Chrome
launch in rpi.

Change-Id: Idf3dd07cec1bdf56fc71c06138cf291e62945ba4
Signed-off-by: v-saha <v.saha@samsung.com>
7 months ago[M126] Initialize eldbus for Chrome 35/316935/2
v-saha [Fri, 30 Aug 2024 10:16:29 +0000 (15:46 +0530)]
[M126] Initialize eldbus for Chrome

This commit initializes eldbus for Chrome to fix crash post Chrome
launch.

Change-Id: I5b352e4919e9007a75f7a76a8490d57d1bd168ad
Signed-off-by: v-saha <v.saha@samsung.com>
7 months agofixup! [M126 Migration] Add runtime switch to identify chrome/ewk launch 89/316789/1
v-saha [Wed, 28 Aug 2024 06:13:23 +0000 (11:43 +0530)]
fixup! [M126 Migration] Add runtime switch to identify chrome/ewk launch

With --build-chrome compile time flag, both chrome and ewk are built
and packaged in the same rpm. This commit adds a runtime switch to
differentiate bewteen chrome and ewk launch.

Change-Id: I4897764ac4d543a366bea1d9fdd5d28ce2ef0f8d
Signed-off-by: v-saha <v.saha@samsung.com>
7 months ago[M126] Removing libminigbm.so for onscreen build 45/316745/1
v-saha [Tue, 27 Aug 2024 13:39:52 +0000 (19:09 +0530)]
[M126] Removing libminigbm.so for onscreen build

libminigbm.so is no longer needed for onscreen builds.

Change-Id: I1f6858725d73ed6be0f03d670d9c7ddb6584bdf4
Signed-off-by: v-saha <v.saha@samsung.com>
7 months ago[M126 Migration] fixup! [M120 Migration] Add new api for webbrowser to get media... 44/316744/1
v-saha [Tue, 27 Aug 2024 13:13:54 +0000 (18:43 +0530)]
[M126 Migration] fixup! [M120 Migration] Add new api for webbrowser to get media device list

Fix link error when build with "--build-chrome":
  ld.lld: error: undefined symbol: content::IsWebBrowser()
  ld.lld: error: undefined symbol: switches::kTizenAppId

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

Change-Id: Ia979f494b56b9a4e6c0b7b56be8f31e46c413c39
Signed-off-by: v-saha <v.saha@samsung.com>
7 months ago[M126 Migration] Add runtime switch to identify chrome/ewk launch 38/316738/1
v-saha [Tue, 27 Aug 2024 10:23:51 +0000 (15:53 +0530)]
[M126 Migration] Add runtime switch to identify chrome/ewk launch

With --build-chrome compile time flag, both chrome and ewk are built
and packaged in the same rpm. This commit adds a runtime switch to
differentiate bewteen chrome and ewk launch.

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

Change-Id: I6fa83be34cb99f2868224dc728f70b3cfb6c54ec
Signed-off-by: v-saha <v.saha@samsung.com>
7 months ago[M126][Tizen][Onscreen] Fix build errors for tizen standard profile for 50/316450/6
Chandan Padhi [Wed, 21 Aug 2024 12:35:37 +0000 (18:05 +0530)]
[M126][Tizen][Onscreen] Fix build errors for tizen standard profile for
Chrome

This commit fixes all gn related, compilation and linker errors
for tizen standard chrome build.

Change-Id: Icc7dc9f2cfabda9e3679432a53743174137bef2b
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
7 months ago[M126 Migration] Revert "[M120 Migration]Fix for crash during chrome exit" 13/316713/1
v-saha [Tue, 27 Aug 2024 06:59:00 +0000 (12:29 +0530)]
[M126 Migration] 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.

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

Change-Id: If2a554fe3de96c3705e162694194bbc226f9e921
Signed-off-by: v-saha <v.saha@samsung.com>
7 months ago[M126][TV][Offscreen] Fix build errors for tizen tv profile 86/316486/8
nishitha [Fri, 23 Aug 2024 10:12:00 +0000 (15:42 +0530)]
[M126][TV][Offscreen] Fix build errors for tizen tv profile

This commit fixes all gn related, compilation and linker errors
for tizen tv build.

Basic rendering works fine and google.com loads as expected on TV.

Change-Id: I192fdd92cfdceeec93edeb9f92e92da31bbef65d
Signed-off-by: nishitha <n.saravanan@samsung.com>
8 months ago[M126][Tizen][Offscreen] Fix build errors for tizen standard profile 10/315610/17
v-saha [Mon, 12 Aug 2024 10:35:38 +0000 (16:05 +0530)]
[M126][Tizen][Offscreen] Fix build errors for tizen standard profile

This commit fixes all gn related, compilation and linker errors
for tizen standard build.

Basic rendering works fine and google.com loads as expected on RPI4.

Change-Id: Ic1ddef38e20d02b17a2f81e5371c1bd552a96522
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Signed-off-by: v-saha <v.saha@samsung.com>
Signed-off-by: uzair <uzair.jaleel@samsung.com>
8 months ago[M126 Migration] Update gbs repository for Tizen 9.0 TV. 62/316262/2
nishitha [Fri, 16 Aug 2024 12:42:01 +0000 (18:12 +0530)]
[M126 Migration] Update gbs repository for Tizen 9.0 TV.

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

Change-Id: Ifff3e82b4db33b86d2ba2db67392d579166d518d
Signed-off-by: nishitha <n.saravanan@samsung.com>
8 months ago[M126][EFL][Onscreen] Fix build errors for desktop profile for Chrome 68/315568/7
nishitha [Fri, 2 Aug 2024 10:25:41 +0000 (15:55 +0530)]
[M126][EFL][Onscreen] Fix build errors for desktop profile for Chrome

This commit fixes all gn related, compilation and linker errors
for desktop build.

Basic rendering works fine and google.com loads as expected on desktop.

Change-Id: I6f762d7e34aca908ee1e88cc5e39afa88801e5d7
Signed-off-by: nishitha <n.saravanan@samsung.com>
8 months ago[M126][EFL][Offscreen] Fix build errors for desktop profile 07/315107/16
v-saha [Thu, 25 Jul 2024 05:55:27 +0000 (11:25 +0530)]
[M126][EFL][Offscreen] Fix build errors for desktop profile

This commit fixes all gn related, compilation and linker errors
for desktop build.

This commit also initialize tracing components in EwkGlobalData
to fix crash at webview launch. Basic rendering works fine and
google.com loads as expected on desktop.

Change-Id: I878f07c714a4a7ea548acd2bf10aa9a47a446410
Signed-off-by: v-saha <v.saha@samsung.com>
Signed-off-by: venu.musham <venu.musham@samsung.com>
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
9 months agoUpload upstream chromium 126.0.6478.126 37/314937/2
v-saha [Thu, 4 Jul 2024 13:48:52 +0000 (19:18 +0530)]
Upload upstream chromium 126.0.6478.126

This is a patch for upstream m126 - m120.

* chromium
d36ace6122e0a59570e258d82441395206d60e1c
[X11] Ensure decoration insets is initialized

* v8
1a2f876b6137312f2e4a66af114999580d116c1c
Version 12.6.228.21

* skia
be621ea04206d8fae23952783d1d588d6ce0d9b3
[Ganesh] Fix readPixels for planar textures on Vulkan.

Change-Id: I04dce4ed702ecdd7299fda0cec8d5c37792cc004
Signed-off-by: v-saha <v.saha@samsung.com>
12 months agofixup! [M120 Migration] Languages pak optimization 23/308323/2
Manjeet [Thu, 21 Mar 2024 09:22:20 +0000 (14:52 +0530)]
fixup! [M120 Migration] Languages pak optimization

This patch fixes the AssertionError[1] which occurs
while desktop build.

[1] undefined Grit variable found: is_tizen

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

Change-Id: I0130d41e4236934f692b18205734b4d2ea58238e
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
13 months ago[M120 Migration][XWalkExtension] Support IME in xwalk exension 58/306858/4
jinbei09 [Wed, 28 Feb 2024 09:48:13 +0000 (17:48 +0800)]
[M120 Migration][XWalkExtension] Support IME in xwalk exension

Due to the reason that pepper plugin will be converted to xwalk plugin
Samsung extended IME PPAPI can't be used. Need to provide IME function in
xwalk plugin.
Call Sequence:
(WRT)
sendRuntimeMessage(js) ->
WRTXWalkExtensionBrowserTV::HandleRuntimeMessageInternal ->
SetIMERecommendedWords/SetIMERecommendedWordsType

(HBBTV)
sendRuntimeMessage(js) ->
XWalkExtensionBrowserEfl::HandleRuntimeMessageInternal ->
SetIMERecommendedWords/SetIMERecommendedWordsType

Support SetIMERecommendedWords and SetIMERecommendedWordsType

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

Change-Id: I3323c4f4b1800b651d941291930ce2ef65820805
Signed-off-by: jinbei09 <jinbei09.dai@samsung.com>
13 months agoRevert "[M120 Migration] Introduce network loading API" 41/308241/4
jiang yuwei [Wed, 20 Mar 2024 06:20:15 +0000 (06:20 +0000)]
Revert "[M120 Migration] Introduce network loading API"

This reverts commit 6ecd8f3596f465b794faaa7e7f8737dd7c8403b4.

Change-Id: I4f1e243b96469dbe0a5d33ddc32ea2c29110ad1a

13 months ago[M120 Migration][VD] Increase buffer size of cmd line for child process 14/308114/2
jie [Mon, 18 Mar 2024 06:42:36 +0000 (14:42 +0800)]
[M120 Migration][VD] Increase buffer size of cmd line for child process

On TV product, kdbus connecting was failed because saved size of command
line in kernel and actual size were different. So we need to increase
buffer size of command line when zygote process is executed by execvp().
This patch appends dummy argument once calling execvp().

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

Change-Id: I9da3f12b2a464c2598012541f720fa0ff15a043b
Signed-off-by: jie <jie137.zhang@samsung.com>
13 months ago[M120 Migration] Languages pak optimization. 75/307275/3
Manjeet [Wed, 6 Mar 2024 12:53:39 +0000 (18:23 +0530)]
[M120 Migration] Languages pak optimization.

Removed unwanted part file and messages strings to decrease
the size of the pak files. With the patch, the size of the
pak files in /usr/lib/chromium-efl/locales/ is decreased
from 9.6 to 9.0 MB.

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

Change-Id: I3d6d07bc452b73e2c19f675b6127baf25f452de9
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
13 months ago[M120 Migration] Enable Scroll offset API 33/307733/2
Manjeet [Tue, 12 Mar 2024 17:51:56 +0000 (23:21 +0530)]
[M120 Migration] Enable Scroll offset API

Remove EWK_BRINGUP to make ewk_view_scroll_pos_get work.

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

Change-Id: Ia343bc64d4e5992124a54d9f77472d138060f84e
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
13 months agoEnable autofill for desktop 70/308070/2
Chandan Padhi [Fri, 15 Mar 2024 11:53:39 +0000 (17:23 +0530)]
Enable autofill for desktop

This commit enables autofill for desktop build as well to debug related
issues on desktop itself.

Change-Id: I079669d01d99f3f72602ac7e9aacf0c08e53441c
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
13 months ago[M120 Migration] Call the ctor of base class 53/307953/3
Manjeet [Thu, 14 Mar 2024 13:59:44 +0000 (19:29 +0530)]
[M120 Migration] Call the ctor of base class
in MediaPlayerRendererWebContentsObserver()

This patch calls the ctor of WebContentsObserver in
MediaPlayerRendererWebContentsObserver() to observe WebContents and
receive WebContentsDestroyed() call.

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

Change-Id: I58b7eef76b02a00cd11b0fbfa82a7a89b68f9cee
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
13 months agofixup! [M120 Migration][WRTjs][VD] Fix camera permission denied issue 52/307952/3
Manjeet [Thu, 14 Mar 2024 13:19:12 +0000 (18:49 +0530)]
fixup! [M120 Migration][WRTjs][VD] Fix camera permission denied issue

Make permission manager commmon to all profile.

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

Change-Id: I82d7749f3645a17cb316176ff6504185c82f941d
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
13 months ago[M120 Migration] Use make_unique for ScreenshotCapturedCallback creation 50/307950/4
Manjeet [Thu, 14 Mar 2024 12:39:35 +0000 (18:09 +0530)]
[M120 Migration] Use make_unique for ScreenshotCapturedCallback creation

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

Change-Id: I0125af6be8ee19800b7e0e7546cc34213654dfbe
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
13 months ago[M120 Migration]Show the context menu immediately when there is no 49/307949/3
Manjeet [Thu, 14 Mar 2024 12:12:55 +0000 (17:42 +0530)]
[M120 Migration]Show the context menu immediately when there is no
selection controller.

This patch shows the context menu immediately when there is no selection
controller.

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

Change-Id: I30e1bd26462883d5a5ced7c372a6fb524bfcc332
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
13 months ago[M120 Migration] Fix coverity issue 33/307933/2
Manjeet [Thu, 14 Mar 2024 10:32:13 +0000 (16:02 +0530)]
[M120 Migration] Fix coverity issue

This patch combine two patches.
First patch will fix coverity issue for CID 1677057.
Second patch will fix couple of coverity issues for [WRTJS].

https://review.tizen.org/gerrit/291078/
https://review.tizen.org/gerrit/290957/

Change-Id: I7b7ee36f33afdac473f4533c2131c591a2fe69ba
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
13 months ago[M120 Migration]Enabling some functions for OnScreen rendering mode 36/307836/6
Manjeet [Wed, 13 Mar 2024 12:30:27 +0000 (18:00 +0530)]
[M120 Migration]Enabling some functions for OnScreen rendering mode

Moving the following functions to common helper

MoveCaret
SetScaledContentSize
ConvertPointInViewPix
SetCustomViewportSize

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

Change-Id: Ie964d79ef9eb83ac64817f1e6a623a3c0cc67971
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
13 months ago[M120 Migration][WRTJS] Fix JS modal popup failure 13/307713/5
Agnel C J Kurian [Tue, 12 Mar 2024 10:40:35 +0000 (16:10 +0530)]
[M120 Migration][WRTJS] Fix JS modal popup failure

In onscreen rendering mode, we send |window_| as evas to popup
instead of |view_| which tries to go higher up the hierarchy
resulting in null object. This change fixes that as per the
object received.

References:
https://review.tizen.org/gerrit/290553/

Change-Id: I03bf4d2d4554bb4b9945621d2920ed1feea3a26d
Signed-off-by: Agnel C J Kurian <agnel.kurian@partner.samsung.com>
13 months ago[M120 Migration] Fix vulnerability CVE issues 15/307515/6
nishitha [Mon, 11 Mar 2024 11:49:08 +0000 (17:19 +0530)]
[M120 Migration] Fix vulnerability CVE issues
[1] CVE-2016-9909 and CVE-2016-9910
[2] CVE-2013-7018
[3] CVE-2013-7009
[4] CVE-2020-35538
[5] CVE-2013-7012

References:
[1] https://review.tizen.org/gerrit/299094
[2] https://review.tizen.org/gerrit/299793
[3] https://review.tizen.org/gerrit/299790
[4] https://review.tizen.org/gerrit/299819
[5] https://review.tizen.org/gerrit/299801

Change-Id: I7e9d4121ad4b3d79322305add284ef6e9b6ed5e4
Signed-off-by: nishitha <n.saravanan@samsung.com>
13 months ago[WRTjs] Refactor popup 85/307885/6
zhaosy [Wed, 13 Mar 2024 06:02:23 +0000 (14:02 +0800)]
[WRTjs] Refactor popup

Separate tv feature from common popup

Change-Id: I689617cc36d4acf8bafe611a49f87c769063433e
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
13 months ago[M120 Migration][MM][WebRTC] Add encoded video capture type support 96/307996/2
peng.yin [Fri, 15 Mar 2024 01:21:47 +0000 (09:21 +0800)]
[M120 Migration][MM][WebRTC] Add encoded video capture type support

strip the encoded video capture type code from this patch:
https://review.tizen.org/gerrit/#/c/291285/

Change-Id: I188926e392a4eaa6e09eb1d01ee019f6eb464fc1
Signed-off-by: peng.yin <peng8.yin@samsung.com>
13 months ago[M120 Migration][Gamepad]Add gamepad event latency Test code 08/307408/5
Yu Yang [Fri, 8 Mar 2024 05:37:07 +0000 (13:37 +0800)]
[M120 Migration][Gamepad]Add gamepad event latency Test code

Merge patch from Tizen8.0:
https://review.tizen.org/gerrit/#/c/304615/
Dump gamepad event timestamp of browser and render side.

Change-Id: I8e75224297edbcddb5e1a9b8794f265676679dfb
Signed-off-by: Yu Yang <yangy.yu@samsung.com>
13 months ago[Fixup]Fix accessory build error of "--build-chrome" 01/308101/1
Yu Yang [Mon, 18 Mar 2024 05:15:48 +0000 (13:15 +0800)]
[Fixup]Fix accessory build error of "--build-chrome"

Temporary disable accessory for --build-chrome,
will consider to move related code to tizen_src/chromium_imp folder

Change-Id: Ifc7096a9b0c110e42de0ccd74604c59bd40d94da
Signed-off-by: Yu Yang <yangy.yu@samsung.com>
13 months ago[M120 Migration] Implement ewk_view_is_video_playing api 35/307835/4
yangzhiwen [Wed, 13 Mar 2024 12:22:15 +0000 (20:22 +0800)]
[M120 Migration] Implement ewk_view_is_video_playing api

The api used to set video to auto fullscreen on timeout
during idle situation(Timeout of 120sec or 2 hours).

If video is found to be in playing state, then video
is turned into fullscreen.

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

Change-Id: I644ec19401648a3efeba23b6802cca2cd16d31a8
Signed-off-by: yangzhiwen <zw714.yang@samsung.com>
13 months agoFix build on unified-X platform 33/307833/2 accepted/tizen/unified/20240315.155154 accepted/tizen/unified/x/20240315.081636 submit/tizen/20240314.160014
Daniil Ruban [Wed, 13 Mar 2024 11:57:27 +0000 (12:57 +0100)]
Fix build on unified-X platform

- Disable v8_enable_static_roots according to 'https://groups.google.com/g/v8-reviews/c/GIhTcy8qMe4?pli=1'
- Fix minor changes with std::move and lvalues in v8/src/base
- Move -fconcepts flag to 'cflags_cc' instead of 'cflags'

Change-Id: Ib82c8333750d86a0ccc3a01f95c13c9d5d4d5a2d
Signed-off-by: Daniil Ruban <intx82@gmail.com>
13 months ago[M120 Migration][VD] Add DemuxerUrl based stream support 71/307771/5
zhishun.zhou [Tue, 12 Mar 2024 12:23:01 +0000 (20:23 +0800)]
[M120 Migration][VD] Add DemuxerUrl based stream support

Issue: DASH stream playback failed.
Reason: DASH Stream(except HBBTV case) use espp on M108.
        But DASH is not supported by ffmepgdemuxer.
Solution: Same as previous tizen version.
        DASH stream and HLS Stream use capi-player.

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

Change-Id: I4f33ccc4dead4db7c14d99af751090e5e15af888
Signed-off-by: xiaofang <fang.xiao@samsung.com>
Signed-off-by: zhishun.zhou <zhishun.zhou@samsung.com>
13 months agoFix: warnings in media/capture/filters 88/307088/2
Leonid [Mon, 4 Mar 2024 14:53:57 +0000 (15:53 +0100)]
Fix: warnings in media/capture/filters

Minor patch to speed-up compilation times and
 avoid potential undefined behaviors

Change-Id: I25834d8ea711df6f1d094deee39dd3e4c8faef48
Signed-off-by: Leonid <l.sawin@samsung.com>
13 months agoFix: SEGFAULT in UBROWSER_GUI_LEVEL_ALL 59/306859/3
Leonid [Wed, 28 Feb 2024 10:15:12 +0000 (11:15 +0100)]
Fix: SEGFAULT in UBROWSER_GUI_LEVEL_ALL

Rebasing previous change 300649 from tizen.riscv

Change-Id: I1a451fb87da5e45b9ffa3537cfce4f1eaa37dd66
Signed-off-by: Leonid <l.sawin@samsung.com>
13 months agoFix: crash on tumblr.com, navigating to any link on the page 65/306865/2
Leonid [Wed, 28 Feb 2024 10:32:42 +0000 (11:32 +0100)]
Fix: crash on tumblr.com, navigating to any link on the page

Rebasing previous change 301429

Change-Id: I7ded331469a505794b5796d8c09acce12a4b31d7
Signed-off-by: Leonid <l.sawin@samsung.com>
13 months ago[M120 Migration] Fix Coverity Potential Defects 22/307522/5
Manjeet [Mon, 11 Mar 2024 17:00:34 +0000 (22:30 +0530)]
[M120 Migration] Fix Coverity Potential Defects

The following patch fixes below coverity defects.

Warning Group Ids = 166060210799601080164,
10804131080440108047110811021081228,
10815111082036108303510832281629438,
163705716605501660602

Reference:
https://review.tizen.org/gerrit/294087
https://review.tizen.org/gerrit/294660
https://review.tizen.org/gerrit/293808

Change-Id: I8196bc6f8508ec235109949cf3f52f91e5459e4a
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
13 months ago[M120 Migration] Remove hardcoded path of /opt/usr/apps inside bash 21/307521/3
Manjeet [Mon, 11 Mar 2024 16:40:17 +0000 (22:10 +0530)]
[M120 Migration] Remove hardcoded path of /opt/usr/apps inside bash
script tests_run

Currently tizen_src/ewk/tests_run script hardcodes path '/opt/usr/apps'.
Instead use tzplatform-get tool to get value of TZ_SYS_RW_APP which
returns the required path.

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

Change-Id: Ice8fd487063bab7e7de55ea77b998b1f10bcb238
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
13 months ago[M120 Migration] Disable Trap Handler for 64-bit emulator 19/307519/3
Manjeet [Mon, 11 Mar 2024 15:41:23 +0000 (21:11 +0530)]
[M120 Migration] Disable Trap Handler for 64-bit emulator

The basic webapp crashes on 64-bit emulator for Tizen8.0 . The crash is
related to trap handler. This patch disables it.

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

Change-Id: If6d9d618998d0ff311443334e7d2c7bcd3a40a92
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
13 months ago[M120 Migration] Support GLES 3.0 05/306605/7
utkarshlal [Fri, 23 Feb 2024 05:39:20 +0000 (11:09 +0530)]
[M120 Migration] Support GLES 3.0

Enabled GLES3.0 support for m120 Tizen profile.

Support is disabled for desktop profile.
In case of desktop build, 2.x version context is created.

Reference patch: https://review.tizen.org/gerrit/c/285983

Change-Id: I17d8a4b441c3e37811452e1e2f913719fb33dff3
Signed-off-by: utkarshlal <utkarsh.lal@samsung.com>
13 months ago[M120 Migration] Implement hasEventListeners for Web Voice Touch 54/307754/2
jiangyuwei [Wed, 13 Mar 2024 00:51:49 +0000 (08:51 +0800)]
[M120 Migration] Implement hasEventListeners for Web Voice Touch

In order to support more elements in Web Voice Touch,
WebBrowser request new JS API for getting event listeners
attached to html element. So implemented the JS API:
bool hasEventListeners(const String eventType)

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

Change-Id: I077701f36eaf12f25161fda8b513127fa177533f
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
13 months agoFix build warning in third party modules 02/307702/6
DongHyun Song [Tue, 12 Mar 2024 08:59:20 +0000 (17:59 +0900)]
Fix build warning in third party modules

Fix build warnings related to Tizen features in third party modules

Change-Id: I7a830f11889acf9d4cc675aabd18e9a0c439f535
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
13 months ago[M120 Migration][VD] Optimize debugging in log 61/307761/4
yangzhiwen [Wed, 13 Mar 2024 01:35:25 +0000 (09:35 +0800)]
[M120 Migration][VD] Optimize debugging in log

Add player id in logs.

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

Change-Id: Ib05a00ca6b1d147e8418b081f4b70aa6a9c7dfa0
Signed-off-by: yangzhiwen <zw714.yang@samsung.com>
13 months ago[M120 Migration][VD] Support usb keyboard special keys Wildcard Character 82/307482/3
fang fengrong [Mon, 11 Mar 2024 03:09:43 +0000 (11:09 +0800)]
[M120 Migration][VD] Support usb keyboard special keys Wildcard Character

Some website("office 365") need use the keycode to distinguish the keys.
But now the special keys haven't added on the map, the keycode is 0,
website can not distinguish the specail keys,
cause the keys which after these specail keys been lost when change line.

Add the usb keyboard keys "~!@#$%^&*()_+`-={}|[]\:";'<>?,./" on the
windows_key_codeFromEflKey  map.

Also covert " " to "space" key for avoid page scroll.

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

Change-Id: I5077b1238e0efaa929842ac6708df15bc2a0efe0
Signed-off-by: fang fengrong <fr.fang@samsung.com>
13 months agoAdd support to build using Tizen-X repo 30/307730/3
Aleksander Świniarski [Tue, 12 Mar 2024 13:31:40 +0000 (14:31 +0100)]
Add support to build using Tizen-X repo

Commit introduces ability to build the chromium-efl on riscv64, x86_64, i586 and armv7l
architecture, using Tizen-X repos

* Added scripts of format tizen_src/build/build_x_{arch}.sh to quickly run builds for
specific architerctures using Tizen-X repository

* Added Tizen-X repo and profile to gbs.conf.in in form of tz_X*

* Added if switch in common.sh. When the platform is defined as base-X we are assigning
profile as tz_X

Change-Id: I92e80ce5efe353d849a5e0ff747f782ed91f7d9b
Signed-off-by: Aleksander Świniarski <a.swiniarski@samsung.com>
13 months agofixup! [M120 Migration] Notify media device state to webbrowser 94/307794/2
zhishun.zhou [Wed, 13 Mar 2024 06:23:51 +0000 (14:23 +0800)]
fixup! [M120 Migration] Notify media device state to webbrowser

Fix build error with flag "--build-chrome":
gen/media/mojo/mojom/audio_input_stream.mojom.h:151:16: note: unimplemented pure virtual method 'OnMediaStateChanged' in 'CapturedAudioInput'
[  340s]   151 |   virtual void OnMediaStateChanged(uint32_t previous, uint32_t current) = 0;

Change-Id: I2dcf7941f1f40e3ccd230a73bff10c030b1b3850
Signed-off-by: zhishun.zhou <zhishun.zhou@samsung.com>
13 months ago[M120 Migration][MM] Framerate calculation 55/307755/3
wuxiaoliang [Tue, 12 Mar 2024 05:35:46 +0000 (13:35 +0800)]
[M120 Migration][MM] Framerate calculation

Migrated from:

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

Change-Id: Ib627bb501bcc64895ab93189c35507598106ac5b
Signed-off-by: wuxiaoliang <xliang.wu@samsung.com>
13 months ago[M120 Migration][VD] Fix some focus issues for offscreen mode 05/307505/3
fang fengrong [Mon, 11 Mar 2024 09:21:44 +0000 (17:21 +0800)]
[M120 Migration][VD] Fix some focus issues for offscreen mode

1.focus can't move to webview with arrow key.
  In WebBrowser, create two or more tab pages. When switch to another tab,
  the arrow key can't move to web-page. because focus isnot sync to efl window.
2.The webview focus should been controled by app through ewk_view_set focus api,
  chromium should not set default focus.
3.on hbbtv, press any key no response, because of webview on focus out status.
4.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.
5.Add some log for debug.

refer:
https://review.tizen.org/gerrit/#/c/297117/
https://review.tizen.org/gerrit/#/c/297301/

Change-Id: Ia2677e488c26ced5a81ae5973fc91e7789877cf2
Signed-off-by: fang fengrong <fr.fang@samsung.com>
13 months ago[M120 Migration][VD] Fix window lost focus after dialog close 30/307530/3
fangfengrong [Tue, 12 Mar 2024 00:40:21 +0000 (08:40 +0800)]
[M120 Migration][VD] Fix window lost focus after dialog close

Here an issue:
When dialog show and hide, app only receive the window.blur event,
without the window.focus event.

when dialog show, chromium set Process blocked(IsIgnoringInputEvents is true);
when dialog hide, chromium reset Process block(IsIgnoringInputEvents is false);
Once app set focus before Process block reset, the focus will been blocked.

OnWindowFocused Function, only IgnoringInputEvents for gained_focus case,
don't IgnoringInputEvents for lost_focus case, it cause the blur event
been delivered to app, but the focus event don't.

Whenever dialog show, chromium ignores the input event to avoid dismissing dialog.
While app might forcefully set focus on webview even if dialog are being shown.
So don't check IgnoringInputEvents both for gained_focus and lost_focus.

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

Change-Id: Ia998518560b7816129518a51c779d728168d8190
Signed-off-by: fangfengrong <fr.fang@samsung.com>
13 months agoFeat: runtime profile override with getenv 85/306785/3
Leonid [Tue, 27 Feb 2024 12:05:39 +0000 (13:05 +0100)]
Feat: runtime profile override with getenv

Rebasing previous change 301607 from tizen.riscv

Change-Id: I411fa84ced46e5220c59e7b43e3bd7a840044dde
Signed-off-by: Leonid <l.sawin@samsung.com>
13 months ago[M120 Migration][MM] Handle live stream duration and currenttime 83/307683/3
zhishun.zhou [Tue, 12 Mar 2024 07:39:02 +0000 (15:39 +0800)]
[M120 Migration][MM] Handle live stream duration and currenttime

1. Because player_get_duration return a 0 duration value for live streams,
   special handling procedures are needed:
     For HLS stream, use player_get_adaptive_streaming_info;
     For Dash stream, use player_get_dash_info.
2. For live stream cases, in PlaybackCompleteCb, emit a ended event to media
   element to mark live playback completed.

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

Change-Id: Ib307ddf121b974785cf1dc9923d2f741cd715b1f
Signed-off-by: xiaofang <fang.xiao@samsung.com>
Signed-off-by: zhishun.zhou <zhishun.zhou@samsung.com>
13 months ago[M120 Migration][VD] Remove accessing oom_score_adj in zygote process 97/307497/3
jiangyuwei [Mon, 11 Mar 2024 07:40:22 +0000 (15:40 +0800)]
[M120 Migration][VD] Remove accessing oom_score_adj in zygote process

To solve smack error, prevent to access /proc/pid/oom_score_adj in zygote process.
Moreover, even if we write oom_score_adj, kernel have denied it from Tizen2.4 platform.
So it is better to remove accessing it.

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

Change-Id: Ia22e5f2f8a85585c9a17a172089df9f527be34aa
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
13 months ago[M120 Migration][WRTjs][Service] Separate service app datas from WRTServiceManager 80/307480/2 accepted/tizen/unified/20240315.032948 submit/tizen/20240312.160013
Chunling Ye [Mon, 4 Mar 2024 10:05:13 +0000 (18:05 +0800)]
[M120 Migration][WRTjs][Service] Separate service app datas from WRTServiceManager

If many service apps been launched in same time, some abnormal
crash happen for multithread visit map safe issue.

To avoid this issue, now separate service app data maps from
WRTServiceManager.

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

Change-Id: I9aa04dfe1cc301f8ed1154e01e8604d4bceed42d
Signed-off-by: Chunling Ye <chunling.ye@samsung.com>
13 months ago[M120 Migration][MM][HBBTV] Support Parental rating feature 35/307435/10
yangzhiwen [Fri, 8 Mar 2024 08:03:45 +0000 (16:03 +0800)]
[M120 Migration][MM][HBBTV] Support Parental rating feature

1.implement ewk api ewk_media_set_parental_rating_result.
2.implement ewk callback api "on,parentalrating,info".

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

Change-Id: If9727683890cddcdb8bfdabbd098d46eb773b4e7
Signed-off-by: yangzhiwen <zw714.yang@samsung.com>
13 months ago[M120 Migration][HBBTV] Forcing v8 context initialization if no <script> 29/307429/2
zhaodan [Fri, 8 Mar 2024 07:17:45 +0000 (15:17 +0800)]
[M120 Migration][HBBTV] Forcing v8 context initialization if no <script>

In some hbbtv test cases, there is no <script>. hbbtv v8 extension
could not be called. This patch forces v8 context initialization at
loading time.

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

Change-Id: Ifd81763460399ce86c6bf72e79d8868aa31837f6
Signed-off-by: zhaodan <danys.zhao@samsung.com>
13 months ago[M120 Migration]Fix IMContextEfl crash issue during app exit 90/307390/3
fangfengrong [Fri, 8 Mar 2024 03:46:16 +0000 (11:46 +0800)]
[M120 Migration]Fix IMContextEfl crash issue during app exit

During App exit, the RWHVAuraCommonHelperEfl destruction before the
IMContextEfl, after RWHVAuraCommonHelperEfl destruction, the rwh_helper_
of IMContextEfl been a wild pointers, once IMContextEfl use the rwh_helper_
wild pointers, it will cause crash.

On RWHVAuraCommonHelperEfl destruction, set the rwh_helper_ of IMContextEfl
to null to avoid crash.

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

Change-Id: Ife433c18d98ff0d4b39f310fafed89d03ee410ab
Signed-off-by: fangfengrong <fr.fang@samsung.com>
13 months ago[M120 Migration][HBBTV][MM] Support Preloading feature 30/307430/5
zhishun.zhou [Fri, 8 Mar 2024 07:37:34 +0000 (15:37 +0800)]
[M120 Migration][HBBTV][MM] Support Preloading feature

Add preload feature for Ligada ADINS tcs.
Which need high performance during video switch.

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

Change-Id: I7c64ff3b89be4b349f343a33f1fdf414f853e4d6
Signed-off-by: xiaofang <fang.xiao@samsung.com>
Signed-off-by: zhishun.zhou <zhishun.zhou@samsung.com>
13 months agofixup! Support gcc build for chromium-efl. 11/307511/3
Chandan Padhi [Mon, 11 Mar 2024 10:17:21 +0000 (15:47 +0530)]
fixup! Support gcc build for chromium-efl.

This commit fixes desktop build error.

Change-Id: Id0bf427503103b0a1bba73186ee00aa0aee130f6
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
13 months agoFix problem with missing target.txt for x86_64 build 18/307518/2
Aleksander Świniarski [Mon, 11 Mar 2024 14:30:56 +0000 (15:30 +0100)]
Fix problem with missing target.txt for x86_64 build

Commit fixes patch apparent in the x86_64 build. In
style_format.py we are trying to obtain the target from the
target.txt. For the x86_64 target.txt it is not created to
use statically linked nodejs.

Now in the style_format.py we will assume default target as
tizen. If we will found the target.txt file, then we will
read the target from it.

Change-Id: I48a99c3368e71b0c35f0846cb0f74ad2a11fee67
Signed-off-by: Aleksander Świniarski <a.swiniarski@samsung.com>
13 months agoSupport gcc build for aarch64. 96/307496/2
venu.musham [Mon, 11 Mar 2024 07:29:31 +0000 (12:59 +0530)]
Support gcc build for aarch64.

This commit provides fixes to aarch64 arm build to support
gcc build.

Change-Id: I2d51c36a4de12cebf831e76afdcc3134f57cdfb7
Signed-off-by: venu.musham <venu.musham@samsung.com>