shahnawaz.a [Wed, 3 Jul 2024 01:44:01 +0000 (07:14 +0530)]
[NextBrowser]creation of internal featured page.
1 New resource have been added like images for featured page
2 The search.cc is changed for featured to be home page.
3 The URL to access the featured page is chrome://featured
Change-Id: Ice4aea0d734eae11d816a2647a8712f2360575d4
Signed-off-by: shahnawaz.a <shahnawaz.a@samsung.com>
Robert Bycul [Wed, 5 Jun 2024 08:07:08 +0000 (10:07 +0200)]
[M120 Migration][V8][WASM] Compilation zone stats flag introduced
Ported commit:
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/294895
Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1543
Change-Id: Ia7119051577892b34d68cf698c46cf04ec0892a3
Signed-off-by: Robert Bycul <r.bycul@samsung.com>
saurabh.t3 [Tue, 18 Jun 2024 10:54:11 +0000 (16:24 +0530)]
[NextBrowser] Separate rpm created for NextBrowser tpk
Change-Id: I7a72b0be2db30de8fa8b2df3f7e549a9b75e92c1
Signed-off-by: saurabh.t3 <saurabh.t3@samsung.com>
shayh [Wed, 3 Jul 2024 10:24:43 +0000 (18:24 +0800)]
Fix SVACE major issues
To fix SVACE issue WID:
1318462,
1318469,
1318470,
13185311,
1319790
Change-Id: I0bd31f57a9b4d0d05b94bd2a2492719885bfccac
Signed-off-by: shayh <yuhong.sha@samsung.com>
jiangyuwei [Thu, 4 Jul 2024 02:24:53 +0000 (10:24 +0800)]
fixup! Fix SVACE major issues
This patch reverts two files of commit
b4f2e4a4c924b2063256af8afe349291f99c89bb:
tizen_src/ewk/efl_integration/cookie_manager.cc
tizen_src/ewk/efl_integration/cookie_manager.h
to fix WebBrowser coredump issue when launched temporarily.
Change-Id: Ib5bbcc07ea01bde4962ba1c2d598ab3a4983d6d0
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
Chandan Padhi [Wed, 3 Jul 2024 08:29:08 +0000 (13:59 +0530)]
[ROM Size] Disable test trace processor for tizen
This commit disables test trace processor for tizen and removes
libtest_trace_processor.so from the final chromium-efl rpm.
Change-Id: I4091bad0f60ab502170547541d3ec4b490f1a02b
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Michal Jurkiewicz [Wed, 3 Jul 2024 09:34:42 +0000 (11:34 +0200)]
fixup! [M120 Migration][WebRTC] Bypass video encoding and decoding for relay mode.
Fix WebRTC unittests compilation
Change-Id: Icdee8aec8b3950694c65f891c47fbea3aeb30309
Chunling Ye [Wed, 19 Jun 2024 09:12:50 +0000 (17:12 +0800)]
[WRTjs][Service] Add protection for no libchromium-impl.so issue
When forked wrt-service process, try to dlopen libchromium-impl.so,
if found no so file, do mount chromium-efl.img by wrt-service self.
Change-Id: I68a3b1d557e8ca0e228cb0db13638f787a49abd6
Signed-off-by: Chunling Ye <chunling.ye@samsung.com>
Tarun Verma [Tue, 2 Jul 2024 10:28:26 +0000 (15:58 +0530)]
[NextBrowser] Added support of mouse events support for NextBrowser modules
Improved CallBackfilter added extra parameters.
Change-Id: I078b2a723485f27e2f2230ff55b4a5a6f23c2aad
Signed-off-by: Tarun Verma <tarun1.verma@samsung.com>
Lizhi Fan [Mon, 1 Jul 2024 05:22:56 +0000 (13:22 +0800)]
[VD]Update log for system memory low
Only print log when system memory low warning received.
Change-Id: Ia5d067718e98e466aa159640c6d0ab9f6291200c
Signed-off-by: Lizhi Fan <lizhi.fan@samsung.com>
Adam Bujalski [Fri, 28 Jun 2024 13:57:04 +0000 (15:57 +0200)]
[WebRTC] Not caching certificate stats if one cert is null
It may happen that `RTCPeerConnection: getStats()` method was called
before connection with peer was fully established. In that case
certificate for remote peer was `null` at that time. However due to
caching stats, this value hasn't been updated. Leading to reading stale
data.
This lead to spurious failures of Web TCT test "RTCTransportStats's
remoteCertificateId" - `RTCPeerConnection-mandatory-getStats.https_55`
This patch fixed this issue by not caching stat results when one of the
certificates is null.
Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-524
Signed-off-by: Adam Bujalski <a.bujalski@samsung.com>
Change-Id: I873ea70719aaf91dc7db404401ffe657d3293266
v-saha [Wed, 19 Jun 2024 06:31:13 +0000 (12:01 +0530)]
Fix SVACE major issues
This fixes SVACE issues WID: 217402, 217413, 217415, 217431, 217445,
217465, 217618, 217711, 220300, 220385.
Change-Id: I1d8c8dec72121ef7952c67fb9bd47eba45d82611
Signed-off-by: v-saha <v.saha@samsung.com>
mayur.jain [Tue, 2 Jul 2024 09:27:48 +0000 (14:57 +0530)]
[NextBrowser] Adding CursorController & CursorProvider
These files provide logic for cursor handling like animation
and timer based acc. of cursor.Also they contains platform
APIs related to cursor and their wrapper.
Change-Id: Id811b01570dce5db524a47bad9115092ffae60ea
Signed-off-by: mayur.jain <mayur.jain@samsung.com>
Akshay Kanagali [Mon, 1 Jul 2024 08:37:11 +0000 (14:07 +0530)]
fixup! [NUI] NUI implementation for |SkiaRenderer|
Using GR_GL_RGBA8 instead of kRGBA_8888_SkColorType due to
implementation changes in |GetGrGLBackendTextureFormat|.
References :
[1] Multiplanar: Add support for GrBackendTexture in SkiaUtils
https://chromium-review.googlesource.com/c/chromium/src/+/
4035411
[2] Multiplanar: Remove ResourceFormat specific utils
https://chromium-review.googlesource.com/c/chromium/src/+/
4086288
Change-Id: I138a4a504c371f860fa9874aea7bd4cc46384a2a
Signed-off-by: Akshay Kanagali <a.kanagali@partner.samsung.com>
jiangyuwei [Tue, 2 Jul 2024 07:50:32 +0000 (15:50 +0800)]
[M120 Migration][VD] Set compression ratio of chromium-efl.img to 0 for RO WebEngine
This patch is related to dlopen performance improvement.
The chromium-efl.img compressed with squashfs has
both SW decompression (squashfs) and HW decompression (vdfs) overhead.
If the squashfs compression ratio is set to 0 by adding this option,
"-action "uncompressed @ name(*.*)"", it is compressed by vdfs.
It is expected that the overhead of SW decompression
will be removed with this patch.
This option does not apply to TPK builds installed in the RW area.
Refer:
- https://review.tizen.org/gerrit/291326/
Change-Id: Ic768ab4811f22e4b1b633d589f6321c611414452
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
fangfengrong [Mon, 1 Jul 2024 01:57:08 +0000 (09:57 +0800)]
[M120 Migration][HBBTV][VD] Bring up CSS3 navigation
Bring up CSS3 navigation, related patch:
https://review.tizen.org/gerrit/292937/
Because many source code is in json5 file and generated by python,
we can not use OS_TIZEN_TV_PRODUCT macro to guard.
And even currently only HBBTV use CSS3 navigation, we default enable
it to all TV application type to avoid using HBBTV macro guard.
Change-Id: I6dd2f733887702f81ed21dd02b9c402890c7b8e6
Signed-off-by: fangfengrong <fr.fang@samsung.com>
Chunling Ye [Mon, 1 Jul 2024 07:42:33 +0000 (15:42 +0800)]
[WRTjs][VD] Setup touch scroll for window by app metadata
If app enable metadata: touch.scroll.support, setup window related
feature by ecore_evas_aux_hint_add api.
Change-Id: I24e104b0668f1c7b6a1d542d3e2da13649bea709
Signed-off-by: Chunling Ye <chunling.ye@samsung.com>
liwei90727 [Wed, 19 Jun 2024 04:42:51 +0000 (12:42 +0800)]
[WRTjs][VD] Support tvwindow rotate source from Tizen6.5
tv_control_roate_with_size() API is supported from Tizen6.5
in tvcontrol side, so WRT need add judgement for it, otherwise
compile error in UWE branch.
Change-Id: I4fb5a36e9f8a9195f03647f6c70ce277ce6f544e
Signed-off-by: liwei90727 <wei90727.li@samsung.com>
Adam Bujalski [Tue, 25 Jun 2024 15:16:47 +0000 (17:16 +0200)]
[WebRTC] Caching camera devices and their capabilities
Currently call to `navigator.getUserMedia()` can last few seconds. This
is because during processing this call few times
`VideoCaptureDeviceFactoryTizenTv` is asked to list cameras and their
capabilities. Although first iteration is fast (~ 0.2s), each next
iteration can take more than one second.
Investigation revealed that most time is consumed by recreating
platform camera (`camera_create`).
To avoid such costly time operation this patch add caches for camera
capabilities and also adds cache keeping created camera device for
short time period, as there is high probability of using it by the
application.
Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-524
Change-Id: I15618075be67c03fc472a0fdf52691b6bcec4c47
Signed-off-by: Adam Bujalski <a.bujalski@samsung.com>
nehal.kumar [Wed, 26 Jun 2024 11:52:59 +0000 (17:22 +0530)]
[NextBrowser] Adding system configuration for providing system info/vconf etc.
Currently adding all of the functionalties used in efl - unnecessary things will be cleaned later
Change-Id: I1995c26dbb39126e5410cc50e4533f48228078fd
Signed-off-by: nehal.kumar <nehal.kumar@samsung.com>
Thomas Daniel [Mon, 20 May 2024 13:52:43 +0000 (14:52 +0100)]
[HbbTV] Support Dual decoding for HbbTV
Change-Id: I6c26efc4204d7e6fef146140414f6952e58a03b7
Hyomin Kim [Mon, 3 Jul 2023 03:48:24 +0000 (20:48 -0700)]
Collect params regarding HTML tags together
Collect |password_input_minlength| and |input_maxlength|
to the text input states to keep the parameters regarding
inputs together for effeciency of management.
Change-Id: I485992e01bf40a96525edaf2d1e23229df5ddbf0
Signed-off-by: Hyomin Kim <hyoputer.kim@samsung.com>
yh106.jung [Thu, 13 Jun 2024 23:09:27 +0000 (16:09 -0700)]
[M120 Migration][WebRTC] Bypass video encoding and decoding for relay mode.
Assuming that it is connected to A-B-C in scalable broadcast mode,
the device B, which relays A's video frame to C, skips encoding and decoding
to reduce cpu load and delay.
This commit is for low specification models and there is a constraint
that A, B and C must be connected by the same codec.
References:
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/275108
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/284370
Change-Id: Icab46a45afc1e8dc81f50e96f83575546641638e
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
zhaosy [Thu, 20 Jun 2024 10:45:00 +0000 (18:45 +0800)]
[WRTjs][VD] Enable some logics which block by WRT_JS_BRINGUP
1. Enable Storage Policy
2. Enable PlayLinkEffect
Change-Id: If4ff8aadb275d248a2254d9770ecf31ed6e82a17
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
uzair [Wed, 19 Jun 2024 11:33:17 +0000 (17:03 +0530)]
Enable system icu for Tizen Tv profiles
Below change enables system icu for TV profiles and also fixes
error [1] as open source code is not completely compatible with
higher version of platform icu library.
[1]error: static assertion failed due to requirement 'std::size(kBreakAllLineBreakClassTable)
== (U_LB_COUNT - 3) ': breakAllLineBreakClassTable should be consistent
Rom size gain : 2.28MB
Reference:
https://bugs.gentoo.org/917645
Change-Id: I442726565c0cadecd4ad6e9bba275d7d667d15f4
Signed-off-by: uzair <uzair.jaleel@samsung.com>
Tarun Verma [Thu, 27 Jun 2024 05:00:46 +0000 (10:30 +0530)]
[NextBrowser] compile issue fixed for linux platform
NextBrowser flag file won't be created for platform other than tizen TV.
Change-Id: If6c7c0db5f016efe0ddbe180e8ad822e0d18fb44
Signed-off-by: Tarun Verma <tarun1.verma@samsung.com>
shahnawaz.a [Mon, 24 Jun 2024 06:47:46 +0000 (12:17 +0530)]
[NextBrowser] This commit will include HTML and Js recourse for samsung browser,currently in inclueds header and featured page only . as of now this will not get complied will add them into build gn files onces all recourses are there.
Change-Id: I7f71ae8749d4c378dd887a94dbedf6a34ac63d73
Signed-off-by: shahnawaz.a <shahnawaz.a@samsung.com>
Adam Bujalski [Mon, 24 Jun 2024 13:18:03 +0000 (15:18 +0200)]
fixup! [M120 Migration][WebRTC] Port of Audio Bypass feature from Tizen 8.0
Returning full RTC audio decoders list when audio bypass is disabled,
due to failure in TCT test `RTCRtpTransceiver-setCodecPreferences_17`
"setCodecPreferences() modifies the order of audio codecs in createOffer"
Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-524
Change-Id: Ief2dd490cbec7ba170b5ebf51aea540c0d7c498b
Signed-off-by: Adam Bujalski <a.bujalski@samsung.com>
Adam Bujalski [Tue, 18 Jun 2024 11:28:03 +0000 (13:28 +0200)]
fixup! [M120 Migration][WebRTC] Gamestreaming optimizations from Tizen 8.0
Unused functions removal, to avoid `[-Wunused-function]` compiler
warning.
Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-494
Change-Id: I22da2820c70b348de7b7f73a9e89f9205c8b5898
Signed-off-by: Adam Bujalski <a.bujalski@samsung.com>
r.abarquez [Tue, 25 Jun 2024 09:32:18 +0000 (09:32 +0000)]
[viz] Fix CVE-2024-4671 use after free vulnerability
Tolerate SinkGroup destruction during submit
Change-Id: Iaf6796938456245106c62e44dc7a55f5c26ce1fa
Reference: https://chromium-review.googlesource.com/c/chromium/src/+/
5523748
Signed-off-by: Rex Rovannie Abarquez <r.abarquez@samsung.com>
Yu Yang [Fri, 21 Jun 2024 09:48:14 +0000 (17:48 +0800)]
[M120 Migration][NaCl][Gamepad]Add Hostbinding Gamepad API
Add wasm gamepad api using Hostbinding logic.
the api has no dependency with DOM and Navigator and could be called in
multi-thread scenario.
Ported patches from tizen_8.0:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/296812/
Change-Id: Idf2d003212d59235c7cd1169b4bdf8adb208483d
Signed-off-by: Yu Yang <yangy.yu@samsung.com>
Adam Bujalski [Fri, 14 Jun 2024 14:45:05 +0000 (16:45 +0200)]
[TTVD] Workaround for empty damage rect
It may happen that sometimes damage for overlay surface will be empty,
which will lead to not redrawn video e.g. when rotating video by 90
degrees.
To workaround for this issue, this patch updates damage for such overlay
to be intersection of surface bounds and damage computed for whole
frame.
Additionally as function `OverlayProcessorTizen::ProcessForOverlays`
became to long to be understood properly, this patch splits it to
several smaller ones.
Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-511
Change-Id: If4e0ac2b90335ac038d64388d7035e8814269cc9
Signed-off-by: Adam Bujalski <a.bujalski@samsung.com>
Adam Bujalski [Tue, 11 Jun 2024 09:02:41 +0000 (11:02 +0200)]
fixup! [M120 Migration][TTVD] Port video decoder from Tizen 8.0
Upstream patch https://crrev.com/c//
4504101 (which relanded in
https://crrev.com/c/
4520453) changed coordinates system in which
`damage_rect` is expressed.
This patch adapts our overlay geometry calculation logic to this change.
Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-511
Change-Id: I262a3c1062c64aec3bbb954d5d83a83252aae362
Signed-off-by: Adam Bujalski <a.bujalski@samsung.com>
Michal Jurkiewicz [Wed, 19 Jun 2024 12:11:31 +0000 (14:11 +0200)]
[WebRTC][HW Encoder] Prevent raw data access for GpuMemoryBuffer
Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1548
Change-Id: I53bff78bf01a10a7ad5f6842b4c9fc0e2f5befb6
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
Michal Jurkiewicz [Mon, 22 Apr 2024 15:17:31 +0000 (17:17 +0200)]
[WebRTC][HW Encoder] Report support for GPU Frame resize
Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1529
Change-Id: Ie0e2ae2fbcebf85e8d3ba78e39f50f3c957c3172
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
Robert Bycul [Fri, 17 May 2024 13:06:26 +0000 (15:06 +0200)]
[M120 Migration] WASM modules caching on TV product
Ported commits:
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/293822
(without dlog related code, which was ported in a separate commit)
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/295001
Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1546
Change-Id: Ib8b3ef307077ee943a71fe78cfb3dde8496a3cc4
Signed-off-by: Robert Bycul <r.bycul@samsung.com>
Tarun Verma [Fri, 21 Jun 2024 05:24:21 +0000 (10:54 +0530)]
[NextBrowser] Linux build failed. Disabling next browser code temporarily.
Change-Id: I40de5ea13d1c0b9562ec7aedc5f12848d4881cd1
Signed-off-by: Tarun Verma <tarun1.verma@samsung.com>
Suhaspoornachandra [Fri, 21 Jun 2024 03:59:16 +0000 (09:29 +0530)]
fixup! [M120 Migration]Address RISC-V Playback issue
Fixes a build error caused by parent patch
Change-Id: I8617921c03e08769f8111349dd85a9be4d67a045
Signed-off-by: Suhaspoornachandra <s.poornachan@samsung.com>
peng.yin [Thu, 20 Jun 2024 08:38:22 +0000 (16:38 +0800)]
[WebRTC] Support TBM inter process video frame type
1. remove EWK_BRINGUP guard.
2. make exception for tbm inter process video frame data checking,
as real data ptr for this type of frame is mapped from the tbm bo.
Change-Id: Iedd4ee93a2cd48bb7cad7406eee84666f439c70d
Signed-off-by: peng.yin <peng8.yin@samsung.com>
Michal Jurkiewicz [Tue, 18 Jun 2024 07:30:45 +0000 (09:30 +0200)]
Fix compilation for desktop target
Make it possible to compile desktop target using
./tizen_src/build/build_desktop.sh
script by adding missing includes and adding
guards for Tizen-specific implementations.
Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1551
Change-Id: I3c8d3b81f82446f93ffabf4c55d718623eb48ce8
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
Suhaspoornachandra [Thu, 20 Jun 2024 06:24:50 +0000 (11:54 +0530)]
[M120 Migration]Address RISC-V Playback issue
Introduced a solution using EGL_LINUX_DMA_BUF_EXT
Due to EGL_NATIVE_SURFACE_TIZEN not working under
current mesa / egl available on tizen vf2
Reference:
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/299897
Change-Id: Id9e6f660c3b6a10ddea46a371697ac19bd3f18d2
Signed-off-by: Suhaspoornachandra <s.poornachan@samsung.com>
Michal Jurkiewicz [Tue, 18 Jun 2024 07:29:55 +0000 (09:29 +0200)]
fixup! [M120 Migration] Introduce dedicated functions to check modes
Fix desktop buildbreak
Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-493
Change-Id: Ib07d5bf1b6c68f1c6a12163815eeabfe01133068
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
Michal Jurkiewicz [Tue, 18 Jun 2024 15:39:07 +0000 (17:39 +0200)]
[WebRTC] Enable upstream architecture camera implementation for Tizen TV
Set upstream architecture implementation for Video Capture as default
on Tizen TV.
Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1550
Change-Id: I7b80b6a7c363fe59e8db8d37ef317062b6eb147d
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
Chandan Padhi [Tue, 18 Jun 2024 12:00:53 +0000 (17:30 +0530)]
Avoid creation of RWHVAura EFL helpers for chrome
Chrome doesn't use RWHVAura EFL helpers but still these were getting
created that resulted in crashes and breakage of functionalities such
as scroll, click, etc in Chrome on TV/RPI4.
This commit ensures that these helpers are not created for Chrome.
Change-Id: I659014e496697880973cbc97b96fff78ecc1ce01
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
zhishun.zhou [Fri, 14 Jun 2024 05:59:57 +0000 (13:59 +0800)]
fixup! [M120 Migration][HBBTV] Merge track and subtitle related patches
Sometimes build error happened:
[ 1302s] In file included from ../media/base/pipeline_impl.cc:33:
[ 1302s] ../media/base/renderer_client.h:20:10: fatal error: 'media/mojo/mojom/renderer_extensions.mojom.h' file not found
[ 1302s] 20 | #include "media/mojo/mojom/renderer_extensions.mojom.h"
[ 1302s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 1302s] 1 error generated.
While adding build dependency of "//media/mojo/mojom" to media/base/BUILD.gn "base" target
will trigger Dependency cycle:
[ 15s] ERROR Dependency cycle:
[ 15s] //media:media ->
[ 15s] //media/muxers:muxers ->
[ 15s] //media/base:base ->
[ 15s] //media/mojo/mojom:mojom ->
[ 15s] //media:media
Let's remove the unnecessary code.
Change-Id: Icb33c8003d708816e49c6cfeceea5be30c33a503
Signed-off-by: zhishun.zhou <zhishun.zhou@samsung.com>
huochangjun [Thu, 20 Jun 2024 02:47:21 +0000 (10:47 +0800)]
[VD][RISCV][PDNCF] Fixed compile error of version mismatch of vd-win-util
1. Caused by patch: https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/310318/
2. Reason : Version mismatch of vd-win-util on RISC-V branch.
There are not touch apis : Touch_Not_Allow/Touch_Support/TOUCH_ENABLE/TOUCH_DISABLE
3. Report compile issue to the RISCV TF members and they will merge the codes in a few days
Change-Id: I926eee15c88307526d6fc96d3951cdd975c02807
Signed-off-by: huochangjun <changjun.huo@samsung.com>
jingjieli [Thu, 20 Jun 2024 02:42:47 +0000 (10:42 +0800)]
[M120 Migration] Add ssl error log, net error log and DidChangeVisibilityState log
1. Add Log to check a ssl error code.
2. Add net error logs for url requests.
3. Add DidChangeVisibilityState logs for check Visibility State.
Reference:
https://review.tizen.org/gerrit/#/c/291819/
https://review.tizen.org/gerrit/#/c/298745/
Change-Id: I6dc01acd9192a1c005cde7787671ba7815176ab4
Signed-off-by: jingjieli <jingjie.li@samsung.com>
huochangjun [Wed, 19 Jun 2024 08:23:52 +0000 (16:23 +0800)]
[RISCV] Fixed v8 compile error by adding "-Wno-nonnull" cflags
cherry picked from upstream
- https://chromium-review.googlesource.com/c/v8/v8/+/
5331756
Change-Id: Ic85e5663ae7b826918a34f9905819b2dc7bd9923
Signed-off-by: huochangjun <changjun.huo@samsung.com>
wangjing [Wed, 19 Jun 2024 06:21:38 +0000 (14:21 +0800)]
[M120 Migration] Change the WebBrowser web page scroll step
1. change the DefaultScrollStep from 20px to 140px on Mouse Wheel
refer:
https://review.tizen.org/gerrit/#/c/297623/
2. change the scroll step from 40px to 140px on Keyboard 4 direction key
refer:
https://review.tizen.org/gerrit/#/c/293619/
Change-Id: I09f64460982aeb033608afe8042405fa26194e4b
Signed-off-by: wangjing <jing124.wang@samsung.com>
tarun1.verma [Fri, 14 Jun 2024 08:31:05 +0000 (14:01 +0530)]
[NextBrowser] Added browser_core, input_provider, input_manager mouse event APIs and remocon event API
Change-Id: I0c3f79f5caafb3014279f3ac198ee811dcf761e4
Signed-off-by: tarun1.verma <tarun1.verma@samsung.com>
Lizhi Fan [Tue, 18 Jun 2024 07:37:32 +0000 (15:37 +0800)]
[VD]Implement ewk_context_notify_low_memory for TV
This ewk API has been commentted out for a while,
it looks useful anyway, so implement it.
Change-Id: I6b8b816de6b9bd56d3766858613fe159c607031f
Signed-off-by: Lizhi Fan <lizhi.fan@samsung.com>
Robert Bycul [Wed, 5 Jun 2024 12:29:41 +0000 (14:29 +0200)]
[M120 Migration][WASM] Liftoff PrepareForBranch overwrites register
Ported commit:
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/295306
Only one of the Spill method declaration changes ported:
Spill(int, WasmValue) -> Spill(int, WasmValue, LiftoffRegList)
since LiftoffRegList parameter is not used in any calls of
Spill(int, LiftoffRegister, ValueKind)
The change in CacheStatePreservingTempRegister regarding introducing
the LiftoffRegList typed pinned_ member is already present in upstream.
The unit test originally added in the change that is now being ported is
currently added along with the change enabling V8 unit tests.
Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1543
Change-Id: I1dd7cb50158ef7bd40da8e5f6df0dbcc962b2ab7
Signed-off-by: Robert Bycul <r.bycul@samsung.com>
zhaosy [Tue, 18 Jun 2024 07:46:28 +0000 (15:46 +0800)]
[VD] Update wrtjs rpm
* Onemain wrtjs
* vbs-wrtjs-
20240613.163259
Change-Id: I060c807798003e782118ba7369a32ba48bef0c2a
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
shayh [Fri, 7 Jun 2024 01:10:45 +0000 (09:10 +0800)]
Add the script of fix_coding_style.sh
Change-Id: I5b138ca6da5aed71a68a9feefce66969e99b531e
Signed-off-by: shayh <yuhong.sha@samsung.com>
Lizhi Fan [Wed, 12 Jun 2024 02:06:30 +0000 (10:06 +0800)]
[VD]Trigger MajorGC by system memory low warning
When system memory is running low, Sysman will notify
processes with a soft warning first.
Now we will trigger MajorGC for browser process and
every renderer process if warning received.
To control the frequency of MajorGC, we start a 10s
timer to check the memory warning.
Change-Id: Ieabcf2ef604e2be39b1f475b03b5d59995f550c3
Signed-off-by: Lizhi Fan <lizhi.fan@samsung.com>
fangfengrong [Mon, 17 Jun 2024 03:29:13 +0000 (11:29 +0800)]
[M120 Migration] Disable HBBTV injected bundle preloading on LICENSE image
Usually the HBBTV injected bundle preloading process is as following:
1. Zygote process launched and preload injected bundle with:
injected_bundle_handle_ =
dlopen("/usr/lib/libhbbtv-injectedbundle.so"), RTLD_LAZY);
2. dlopen trigger HBBTV Init() function, in which it regiter its extension
to a global variable instance; the Init() function is declared as:
extern "C" __attribute__((constructor)) void Init()
3. Zygote process folk child process (render process);
4. In render process, first it close the dlopen handle from zygote:
dlclose(injected_bundle_handle_);
5. In render process, and then it invoke dlopen again:
handle_ = dlopen("/usr/lib/libhbbtv-injectedbundle.so", RTLD_LAZY);
at this point, result handle_ is same as before injected_bundle_handle_,
and the HBBTV constructor attribute function will not be invoked again.
then HBBTV have only init once, every fine.
While in NVT image, in step 5:
when render process invoke dlopen again:
handle_ = dlopen("/usr/lib/libhbbtv-injectedbundle.so", RTLD_LAZY);
the result handle_ is different from before injected_bundle_handle_,
and HBBTV constructor attribute function [Init()] have been invoke again.
then HBBTV have init injected bundle twice, register twice,
then caused crash when V8 install extension.
Linux team have not give a answer why the behaivor is different,
now we disable the HBBTV injected bundle preloading of LICENSE image.
Reference:
https://review.tizen.org/gerrit/#/c/292921
Change-Id: I95d6263bed0e88786e27e193dea98fae152f8892
Signed-off-by: fangfengrong <fr.fang@samsung.com>
Manjeet [Thu, 6 Jun 2024 09:01:04 +0000 (14:31 +0530)]
[M120 Migration] Fix IME Panel Subtypes for Number Input.
Corresponding IME Panel should be shown for different types of number input.
This patch makes necessary changes to handle all layout subtypes
for "ECORE_IMF_INPUT_PANEL_LAYOUT_NUMBERONLY".
Reference:
https://review.tizen.org/gerrit/301669
Change-Id: I7cdd779c52f09f27d63620971f0dfd05c8404e31
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
Hyomin Kim [Tue, 27 Jun 2023 02:38:11 +0000 (19:38 -0700)]
[M120 Migration] Delete SetIsInFormTag function
Delete the function above for readability and
to prevent unnecessary function calls.
Please refer to [0].
[0]:
601af399872a9d47482653e79b92031f00d023e8
Change-Id: I9b5790ae0037037f5b8e2dc13e3c03d26ba2f484
Signed-off-by: Hyomin Kim <hyoputer.kim@samsung.com>
Manjeet [Tue, 4 Jun 2024 09:01:49 +0000 (14:31 +0530)]
[M120 Migration] [Cursor] Create mouse cursor for popup windows
With commit
568a72a, popups (JS dialogs, pickers etc.) are shown on
new elm window. Since new elm window is created for every popup show,
the cursor created for container window will not work on this new window.
Reference:
https://review.tizen.org/gerrit/300067
Change-Id: I72fbca92b58155283c9ec13ac976a4893872a657
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
Manjeet [Wed, 29 May 2024 09:04:51 +0000 (14:34 +0530)]
[M120 Migration] Enable color picker for onscreen mode
In Onscreen mode, Color picker is not seen on top window,
so creating new elm_window and adding picker on top of it.
Reference:
https://review.tizen.org/gerrit/299928
Change-Id: I54822b3d8f13ea59f9716cfc4a622dd01d3777da
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
Satyaveer Singh [Wed, 12 Jun 2024 06:14:02 +0000 (11:44 +0530)]
[M120 Migration] Move ownership of |WebViewDelegate| from eweb_view to WCI
Some of the current offscreen features like SelectionController,
ContextMenuController are going to be enabled for onscreen as well.
This requires wrt to depend on WebViewDelegate. Hence move the ownership
of the delegate from eweb_view to WebContentsImpl(WCI) so that
the delegate can be accessed in generic for both onscreen and offscreen cases.
References: https://review.tizen.org/gerrit/310243/
Change-Id: Ie21a6a7285d0f574823edf2504440749a7c02515
Signed-off-by: Satyaveer Singh <satyaveer.s@samsung.com>
jie [Fri, 14 Jun 2024 09:15:55 +0000 (17:15 +0800)]
[Autofill] Fix autofill crash issue
There is a check added for AutofillProfileChangeCallback,
when secret page add, new context cause the callback set again, it will crash
refer to https://chromium-review.googlesource.com/c/chromium/src/+/
4464908
follow m108 logic, just remove the check of the callback to resolve crash
ToDo: Autofill client API used in tizen platform, so PersonalDataManager may not need
will remove the logic later after verify autofill feature work well.
Change-Id: I9f53f75b4293ac3fcceaabbfa152623b80141b9b
Signed-off-by: jie <jie137.zhang@samsung.com>
Adam Bujalski [Fri, 14 Jun 2024 07:03:22 +0000 (09:03 +0200)]
fixup! [M120 Migration][WASM] Web IDL Direct access - HostBinding
Fixing OscarP 64 bit builds.
Bug: https://cam.sprc.samsung.pl/browse/VDGAME-265
Change-Id: I35a4ed36fc0c39013c26f963de0c40be93658477
Signed-off-by: Adam Bujalski <a.bujalski@samsung.com>
Chandan Padhi [Thu, 13 Jun 2024 06:46:14 +0000 (12:16 +0530)]
fixup! [M120 Migration][WebRTC] Enable unit tests
This commit fixes below desktop build error.
ERROR at //third_party/webrtc/webrtc.gni:98:53: Undefined identifier
rtc_exclude_system_time = build_with_chromium && !tizen_rtc_unittests
^------------------
Change-Id: Id458254ad1860fd039b5cb07ca576dc1c901b136
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Lizhi Fan [Fri, 14 Jun 2024 07:49:34 +0000 (15:49 +0800)]
[VD]Enable browser process memory dump for tracing
Registers the browser process as a memory-instrumentation client, so that
data for the browser process will be available in memory dumps.
This is only for runtime having browser process,
WRT doesn't need this as memory-instrumentation client registered
in |ContentMainRunnerImpl::Run|.
Change-Id: I1f76023b57518d2db8f456d5bd78a818ffc0b3e6
Signed-off-by: Lizhi Fan <lizhi.fan@samsung.com>
Yu Yang [Fri, 14 Jun 2024 03:24:36 +0000 (11:24 +0800)]
[Gamepad]Fix key missing issue when switch Mode(Game Mode <-> Menu Mode)
Add base class FocusChangedObserver for NavigatorGamepad,
so NavigatorGamepad could monitor app focus change event.
Besides, reset gamepad state when game app lost focus.
With this, it could fix below gamepad key missing scenario.
Running game app then launch quick panel or Menu Mode to switch Mode(Game Mode -> Menu Mode)
game app could miss gamepad key release event which will lead to unexpected game app behavior
Change-Id: Ie8458624cd4a0c48da90f3cf1ba1ec671bf771d4
Signed-off-by: Yu Yang <yangy.yu@samsung.com>
Sun-woo Nam [Fri, 14 Jun 2024 04:16:39 +0000 (21:16 -0700)]
Fix SVACE issue.
The pointer returned by operator new can't be null.
Change-Id: I1189e8eb05b80a0843b6dc6f1324664fe604a077
Signed-off-by: Sun-woo Nam <sunny.nam@samsung.com>
hongyanting [Wed, 24 Apr 2024 08:15:45 +0000 (16:15 +0800)]
[M120 Migration][WebRTC]fix unsafe code for security check and svace issue
Migrated from:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/291945/
Change-Id: Ie483554b69a0142b37fdc71fac90df2322ed89b4
Signed-off-by: hongyanting <yanting.hong@samsung.com>
wuxiaoliang [Mon, 27 May 2024 07:09:25 +0000 (15:09 +0800)]
[M120][MM] Use urldemuxer for videos not supported by ffmpegdemuxer
The following video extensions which are not supported
by chromium ffmpegdemuxer will use urldemuxer & mm api to play
- asf, avi, flv, mpeg, mpg, mts, m2ts
- vob, vro, wmv, tp, trp, ts, mpd
Change-Id: I7d8079c1455c061f1d306c7c5f58469e7f503af7
Signed-off-by: wuxiaoliang <xliang.wu@samsung.com>
hongyanting [Tue, 27 Feb 2024 10:23:05 +0000 (18:23 +0800)]
[M120 Migration] Print function name and enable colorful log print
print function name:
log tag(pid): filename: function name(line number): content
print function name is helpful for debugging
print colorful log:
1.add CHROMIUM-WEBRTC log tag
2.colorful log print and print function name
Migration from:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/291931/
Change-Id: Ie89957e96edf85b9246c92cc7d2b338cb5432c89
Signed-off-by: hongyanting <yanting.hong@samsung.com>
liwei90727 [Fri, 19 Apr 2024 08:29:10 +0000 (16:29 +0800)]
[M120 Migration][WRTjs][VD] Try mount when tmg file path not exit
App A send umount request to ps agent -> App A' skip mount bcz
mount point exist-> App A umount successfully in ps agent -> App
A' fail to launch index.html bcz app package is umounted before.
Check mount point when access file, if mount point not exist, try
mount again.
Related Patch
https://review.tizen.org/gerrit/309683/
Change-Id: I7f15dac7a41b942847b3e306faecfaf659d4457e
Signed-off-by: liwei90727 <wei90727.li@samsung.com>
Chunling Ye [Tue, 12 Mar 2024 05:32:05 +0000 (13:32 +0800)]
[WRTjs][VD] Support touch RC in at least tizen8.0
In at least tizen8.0, if app set up support touch, then in
support touch platform, call engine api to enable touch
function, otherwise disable touch.
In LFD/IWB products, app default is support touch, others
default is unsupport touch.
if app no need floating menu, need setup floating.navigation
to false. App default need show floating menu.
Refer:
https://confluence.sec.samsung.net/pages/viewpage.action?
spaceKey=SRCNJWEB&title=4.+Touch+for+Premier
Change-Id: Ic7b8c03baf5ac0095ba8cf39eccaf0171ad117c1
Signed-off-by: Chunling Ye <chunling.ye@samsung.com>
(cherry picked from commit
d9c1b013b9f0a31b4bf32db7eafe6616a54341ce)
Signed-off-by: Chunling Ye <chunling.ye@samsung.com>
Robert Bycul [Wed, 15 May 2024 08:25:31 +0000 (10:25 +0200)]
[M120 Migration][V8] Introduce DLOG logging
This change is extracted from the following:
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/293822
where the DLOG logging was introduced along with WASM modules caching.
Since the DLOG logging is actually logically independent of the WASM caching
logic, it is better to move it to a separate change. This will ease the future
porting.
Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1546
Change-Id: I49f22eaec4c12b3448353439f73c26a7734180d5
Signed-off-by: Robert Bycul <r.bycul@samsung.com>
Robert Bycul [Wed, 5 Jun 2024 13:46:28 +0000 (15:46 +0200)]
[M120 Migration] Fix deadlock on WebAssembly baseline compilation finish
Ported commit:
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/300070
Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1543
Change-Id: Ibe944dfa2c86f3181d92dec7b7a9b5e92d309bc0
Signed-off-by: Robert Bycul <r.bycul@samsung.com>
Robert Bycul [Tue, 4 Jun 2024 13:37:19 +0000 (15:37 +0200)]
[M120 Migration] [Wasm] TurboFan compilation hefty memory usage
Ported commit:
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/294454
Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1543
Change-Id: If7cc5e057cc7c3cd29e4116f3d95016290ab754e
Signed-off-by: Robert Bycul <r.bycul@samsung.com>
Robert Bycul [Mon, 3 Jun 2024 10:20:00 +0000 (12:20 +0200)]
[M120 Migration][WASM] Compile big functions sequentially
Ported changes:
Original change:
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/292708
Fixups:
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/296434
(changes of unit tests already included in the port of V8 unit tests)
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/298091
Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1543
Change-Id: I9964536fcc5f727b469cff7799331a0fab32c6ac
Signed-off-by: Robert Bycul <r.bycul@samsung.com>
Robert Bycul [Fri, 7 Jun 2024 08:17:46 +0000 (10:17 +0200)]
[M120 Migration] [WASM] Increased memory usage when reloading `iframe` elements
Ported commit:
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/306189
Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1543
Signed-off-by: Robert Bycul <r.bycul@samsung.com>
Change-Id: I7ec9dd37a691c74d40fc09559ef40680379ac506
Robert Bycul [Fri, 7 Jun 2024 09:58:17 +0000 (11:58 +0200)]
[M120 Migration] [WASM] `V8Debugger::m_cachedStackFrames` size increase
Ported commit:
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/306190
Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1543
Signed-off-by: Robert Bycul <r.bycul@samsung.com>
Change-Id: I05205fa752b3f80bc7b46d3b548f541f4a527a6a
Robert Bycul [Fri, 7 Jun 2024 06:42:21 +0000 (08:42 +0200)]
[M120 Migration] [V8][WASM] Memory leaks during Wasm module decoding
Ported commit:
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/306188
Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1543
Signed-off-by: Robert Bycul <r.bycul@samsung.com>
Change-Id: Iaf8c905e6faea3bb8a7b07622e2aaf81d730f194
Robert Bycul [Fri, 10 May 2024 05:42:10 +0000 (07:42 +0200)]
[M120 Migration][V8] V8 unit tests added
Ported commits:
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/294114
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/298529
The issues below are already fixed in upstream code, so porting
the regression unit tests for them.
[M120 Migration] [WASM] Liftoff generates code which overwrites register
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/294235
[M120 Migration][wasm][liftoff] Fix stack merging and MergeFullStackWith
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/294455
Change-Id: Ie701768bed610f7d6477110318335c1bea262b80
Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1543
Signed-off-by: Robert Bycul <r.bycul@samsung.com>
Adam Bujalski [Wed, 5 Apr 2023 13:37:13 +0000 (15:37 +0200)]
[M120 Migration][WebRTC] Add webrtc-internals
This patch adds webrtc-internals page, accessed through debugging
protocol, e.g. http://tv_ip:7011/webrtc-internals
Reference: https://review.tizen.org/gerrit/292714
Bug: https://jira-eu.sec.samsung.net/browse/VDWASM-1549
Change-Id: I61d30631beaef969f9186221a90e464524fe5ffb
yang yu [Thu, 13 Jun 2024 01:33:30 +0000 (01:33 +0000)]
Revert "[Gamepad]Fix key missing issue when switch Mode(Game Mode <-> Menu Mode)"
This reverts commit
9bec724407277c60f88f1643b3d132952f6303c6.
Change-Id: I21c4c8429c86f8add9b2099d4735dfd1cacafa81
Mark Toller [Thu, 6 Jun 2024 07:57:56 +0000 (08:57 +0100)]
The ‘Custom’ IDL settings have been removed upstream, as they’re not used by any other components anymore:
https://chromium.googlesource.com/chromium/src/+/
70265bc539736dc8d93d482bbbb2144b67b092cf
https://chromium.googlesource.com/chromium/src/+/
0b081126415c49b8ea1f515e93e5a93ccf3e599a
These are required for HbbTV, in combination with
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/271999/
This patch re-instates this code.
Change-Id: Id3c22e096c7e209991e9ff45cb1f91847ce3a79a
zhishun.zhou [Wed, 12 Jun 2024 06:52:12 +0000 (14:52 +0800)]
[M120 Migration][EME] EME Privacy mode support
Adding a support for server certificate to further enhance
EME security level. The details of setServerCertificate are
described in W3C EME specification:
https://www.w3.org/TR/encrypted-media/#dom-mediakeys-setservercertificate
There are the following constraints of CDM module:
* Privacy mode is set during CDM creation
* Server certificate has to be registered before creating
the first session and generating session request
Turning privacy mode on fixes the following EME 2021 test cases:
9. setServerCertificate
Patch from:
https://review.tizen.org/gerrit/#/c/272408/
Change-Id: I5acfdec96a574384d7b078e59f5c178252e3983c
Signed-off-by: xiaofang <fang.xiao@samsung.com>
Signed-off-by: zhishun.zhou <zhishun.zhou@samsung.com>
zhishun.zhou [Thu, 6 Jun 2024 12:17:32 +0000 (20:17 +0800)]
[M120 Migration][MM] Avoid evicting buffers on abort/duration change
Chromium still maintains deprecated logic to remove buffers on
duration change.
MSE conformance test
- MediaElementEvents:
Source buffer should not add/remove/update during the duration
update callback.
MSE Conformance link:
https://ytlr-cert.appspot.com/latest/main.html?tests=18
Patch from: https://review.tizen.org/gerrit/#/c/287556/
Change-Id: Id7d8e96b5e7de04db2108167bcbfa39cffbb1199
Signed-off-by: Venugopal S M <sm.venugopal@samsung.com>
Signed-off-by: zhishun.zhou <zhishun.zhou@samsung.com>
Adam Bujalski [Wed, 5 Jun 2024 10:34:00 +0000 (12:34 +0200)]
fixup! [M120 Migration] Build libchromium-impl.so with chrome implementation
Fixing rpmbuild issue `warning: File listed twice:`
Change-Id: I0e75967d8b1d8899672f46bc0c0fa526a6f0a5e6
Signed-off-by: Adam Bujalski <a.bujalski@samsung.com>
Feng Xia [Wed, 12 Jun 2024 03:42:58 +0000 (11:42 +0800)]
[RISCV] Add profile for tizen9.0 riscv
Change-Id: I328c16ed32cd0f769a234a0619a0d823e09da0f1
Signed-off-by: Feng Xia <feng.xia@samsung.com>
fangfengrong [Tue, 11 Jun 2024 03:28:42 +0000 (11:28 +0800)]
[M120 Migration][VD] Fix web_contents() is null cause coredump issue
Fix web_contents() is null cause coredump issue;
refer:
https://review.tizen.org/gerrit/#/c/310039/
Don't CreateSelectionControllerEfl for onscreen mode
to avoid coredump code has revet in later patch,no need to merge.
https://review.tizen.org/gerrit/#/c/310661/
Change-Id: I3868646a2d81ea85c967290da90e19ddf292e61e
Signed-off-by: fangfengrong <fr.fang@samsung.com>
Hyomin Kim [Thu, 29 Jun 2023 23:31:17 +0000 (16:31 -0700)]
Remove |editable| in |FocusedNodeChanged|
The logic regarding the parameter |editable| is duplicated.
It is used to remember that the current focus is on the input element
and to reset the context after the focus is lost or changed.
There are 2 functions in it.
1. |IMContextEfl::CancelComposition|
The function consists of |ResetIMFContext| and |ConfirmComposition|.
The former one is called through |RenderWidgetHostViewAura
::FocusedNodeChanged|->|InputMethodAuraLinux::ResetContext|
->|EflInputMethodContext::Reset|->|IMContextEfl::ResetIMFContext|.
When the mouse event or touch event which makes the focus change occurred,
|RenderWidgetHostViewEventHandler::FinishImeCompositionSession|
is called and eventually |RenderWidgetHostImpl::ImeFinishComposingText|
which is the purpose of |IMContextEfl::ConfirmComposition| is invoked.
If the focused node is changed by TAB key, the commit signal is sended
by the platform so manual cancellation isn't needed.
2. |IMContextEfl::OnFocusOut|
When the focus is updated, through |InputMethodAuraLinux
::UpdateContextFocusState|->|EflInputMethodContext::UpdateFocus|,
|EflInputMethodContext::Blur| calls the function above.
So remove the codes related to the |editable| parameter.
Change-Id: I7f8f6bdb7039fcac47c595ba38508d670641f298
Signed-off-by: Hyomin Kim <hyoputer.kim@samsung.com>
Chandan Padhi [Fri, 7 Jun 2024 11:48:22 +0000 (11:48 +0000)]
Revert "[M120 Migration] fixup! [EFL] Fix wrong text and wrong unmodifiedText issue"
This reverts commit
4729546debca78d118b22da21ad9e4725e5fcb93.
This patch is causing duplicate character entries in input fields on desktop.
Change-Id: I010962ef161d02037ec7cc09d88865613d88188d
DongHyun Song [Fri, 1 Mar 2024 09:52:52 +0000 (18:52 +0900)]
[XWalkExtension] Introduce runtime messgae handler
For EWK runtimes, this provides to register callbacks for XWalkExtensions'
runtime message.
On XWalkExtension based webapis, its JS side can invoke native functions
by 2 ways. One(A) is calling to the webapi native code side, the other(B)
is calling to runtime side.
(A)
- extension.sendSyncMessage
- extension.sendSyncMessageWithStringReply
(B)
- extension.sendRuntimeMessage
- extension.sendRuntimeSyncMessage
Until now, EWK runtime side has no way to get message of B type except
'XWalkExtensionBrowserEfl::HandleRuntimeMessageInternal',
This feature will provide independent message handlers via EWK API.
i.e.)
char* AppExit(const char* argument) {
// TODO
return strdup("success");
}
ewk_context_add_xwalk_extension_message_handler(context, "tizen://exit",
AppExit);
Change-Id: Ia8be62bdd9cdfa21243a172743e8cedb571df6b1
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
Yu Yang [Mon, 3 Jun 2024 06:18:43 +0000 (14:18 +0800)]
[Gamepad]Fix key missing issue when switch Mode(Game Mode <-> Menu Mode)
Add base class FocusChangedObserver for NavigatorGamepad,
so NavigatorGamepad could monitor app focus change event.
Besides, reset gamepad state when game app lost focus.
With this, it could fix below gamepad key missing scenario.
Running game app then launch quick panel or Menu Mode to switch Mode(Game Mode -> Menu Mode)
game app could miss gamepad key release event which will lead to unexpected game app behavior
Change-Id: I708c8c1df70f5f8d6f6e4b33387b319212f2350f
Signed-off-by: Yu Yang <yangy.yu@samsung.com>
zhishun.zhou [Tue, 4 Jun 2024 08:06:51 +0000 (16:06 +0800)]
[M120 Migration] Release tz_handle before clear buffer queue
Issue:
Potential tz_handle leak
Reason:
When esplusplayer_submit_trust_zone_packet failed, if failed reason
is FULL or OUT_OF_MEMORY or NOT_PREPARED, the packet will be stored in
buffer queue; While in the release function of MediaPlayerESPlusPlayer,
it just clear the buffer queue without release the tz_handle, that could
cause tz_handle leak.
Solution:
Release tz_handle before clear buffer queue.
Change-Id: If13917dc866bb46a5c47466f963c1c13c65c4db0
Signed-off-by: zhishun.zhou <zhishun.zhou@samsung.com>
feifei08.liu [Thu, 30 May 2024 10:37:32 +0000 (18:37 +0800)]
[M120 Migration][VD] Change quota allocation size
1. Without unlimited privilege, set temporary quota size to 80MB
2. With unlimited privilege:
a. For TV, temporary quota size sets to 80MB
b. For Signage(product type is "LFD"), set kMustRemainAvailableRatio to 0.1
Reference:
https://review.tizen.org/gerrit/290664/
Change-Id: I6a3128e0ac56066351cd30d7248a672f7ca49963
Signed-off-by: feifei08.liu <feifei08.liu@samsung.com>
Chandan Padhi [Thu, 6 Jun 2024 12:49:29 +0000 (18:19 +0530)]
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/.
Change-Id: I7d44b8b30537b2d668fae013e40b9834785128f1
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Michal Jurkiewicz [Tue, 11 Jun 2024 07:24:05 +0000 (09:24 +0200)]
fixup!^3 [M120 Migration][WebRTC] Port of Audio Bypass feature from Tizen 8.0
Fix build break on emulator by disabling -Werror for the following warning:
[ 4782s] ../base/allocator/partition_allocator/src/partition_alloc/partition_alloc_config.h:160:1:
error: this use of "defined" may not be portable [-Werror=expansion-to-defined]
[ 4782s] 160 | #if PA_CONFIG(HAS_MEMORY_TAGGING)
[ 4782s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-494
Change-Id: Id4b0f231db6c7fb6e652983c3cea718d539a3e5c
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
Robert Bycul [Fri, 24 Feb 2023 12:45:05 +0000 (13:45 +0100)]
[M120 Migration][WebRTC] Enable unit tests
1. Port of the following commit:
* [M108 Migration][WebRTC] Enable unit tests
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/296649
2. Enabled more tests under `tizen_rtc_unittests` flag and
performed required modifications to make rtc unittests compile
correctly.
Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-494
Change-Id: I72cfbc1892afbb72d6d2e3ad33140a7263699369
Signed-off-by: Michal Jurkiewicz <m.jurkiewicz@samsung.com>
Michal Jurkiewicz [Wed, 5 Jun 2024 14:56:54 +0000 (16:56 +0200)]
fixup!^2 [M120 Migration][WebRTC] Port of Audio Bypass feature from Tizen 8.0
* Add missing guards
* Add missing thread boosting for audio bypass
Bug: https://jira-eu.sec.samsung.net/browse/VDGAME-494
Change-Id: I6f93567c8f325131ecfd25016815f8db7630f2be
Sugyum Kim [Mon, 10 Jun 2024 11:02:06 +0000 (20:02 +0900)]
[VD] Update gbs.conf for Tizen 9.0 Onemain
Update base repo, product repo
Change-Id: Ib033ccff634dc53215e10a527b7a4d4d2bc31b79
Signed-off-by: Sugyum Kim <su.g.kim@samsung.com>
Manjeet [Mon, 10 Jun 2024 06:47:48 +0000 (12:17 +0530)]
[GCC] Fix gcc 14 build error
Change-Id: I9024573810c5c968471bd14aebd95384922ca9e7
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>