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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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 = 1660602, 1079960, 1080164,
1080413, 1080440, 1080471, 1081102, 1081228,
1081511, 1082036, 1083035, 1083228, 1629438,
1637057, 1660550, 1660602
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
uzair [Mon, 17 Apr 2023 03:00:14 +0000 (08:30 +0530)]
[M120 Migration] Skip flushAndSubmit sync call on gpu side for webgl
This commit enables flushAndSubmit sync call in gpu process for
all types of content excluding canvas and video which helps fixing
blackcsreen issues observed during alexa testing.
Reference:
https://review.tizen.org/gerrit/c/291434
Change-Id: Id473d14e22bf8089e0017906e7b806ec215af595
Signed-off-by: uzair <uzair.jaleel@samsung.com>
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
YongGeol Jung [Tue, 5 Mar 2024 06:48:04 +0000 (22:48 -0800)]
Remove unneeded lib dependency.
|boost_system| library is not used in chromium and related dependency from
|wgt-manifest-handlers| is also removed.
Change-Id: I6feab2e921c816c8b588c7a0d6fc8c4d03b0c29b
Signed-off-by: YongGeol Jung <yg48.jung@samsung.com>
Manjeet [Fri, 8 Mar 2024 10:11:49 +0000 (15:41 +0530)]
[M120 Migration] Fix build warning
The following patch fixes a compilation warning [1] that
occurs during tv build.
[1] "warning: comparison of integers of different
signs: 'int' and 'unsigned int'"
The upper limit of unsigned int and int are different, so in
extreme cases where value of a variable falls in between the
upper limit of int and unsigned int, leads to an infinite loop.
Reference: https://review.tizen.org/gerrit/293395
Change-Id: I7921ffb6a949b7f9c522889e35c9cd9d48268b26
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
Manjeet [Wed, 6 Mar 2024 19:13:13 +0000 (00:43 +0530)]
[M120 Migration] Remove EWK_BRINGUP from ContextMenuControllerEfl.
DownloadUrlParameters::set_referrer() was split into set_referrer() and
set_referrer_policy() by upstream.
So, this patch updates the code accordingly.
Reference:
https://review.tizen.org/gerrit/291846
Change-Id: Ie665d9f1b971d5da2a89a2487efbec93970051cb
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
Aleksander Świniarski [Fri, 8 Mar 2024 11:07:37 +0000 (12:07 +0100)]
Fix RiscV support - Rendering issue for armv7l
Commit fixes change introduced in RiscV support for M120.
On armv7l (built with ./tizen_src/build/build_standard_armv7l) the
lack of specialized template of SerializedSizeSimple() for size_t
caused rendering issue and usage of illegal instruction when
running chromium-efl for armv7l.
Specialization was originally commented out due to compliation error caused
by gcc bug that does not allow declaration of specialized template
outside of the namespace.
Now the specialization is introduced in template where it will
return appropriate value depending on the type of typename T
Change-Id: If713bd0c0d6c1a0ed91cc2f627c314a20471ceb7
Signed-off-by: Aleksander Świniarski <a.swiniarski@samsung.com>
Daniil Ruban [Thu, 7 Mar 2024 12:06:05 +0000 (13:06 +0100)]
Fix build x86_64 and i586
* Removes constexpr in `v8/src/codegen/x64/assembler-x64.h` and `v8/src/wasm/baseline/x64/liftoff-assembler-x64-inl.h`
Change-Id: I5d50bdf03f544d25d111df83a99dfb10fb362d8d
uzair [Fri, 8 Mar 2024 07:34:46 +0000 (13:04 +0530)]
fixup! [HOTFIX] Web app is crashing during exit
Below change converts CHECK to DCHECK at required places
to fix random crashes in web apps on TV.
Change-Id: I2020d2b86eade133c4382fc85b0b65ca726d4450
Signed-off-by: uzair <uzair.jaleel@samsung.com>
Manjeet [Wed, 28 Feb 2024 14:06:53 +0000 (19:36 +0530)]
[M120 Migration][Canvas2D] Canvas performance.
This commit combines below commits,
4174fa41750 Enable MSAA sample count for Canvas2D.
a3077ed5b97 Disable periodic flush for canvas.
Performance(TV):
Ubrowser CanvasMark
Before:24.3
After:25.6
Reference:
https://review.tizen.org/gerrit/290940
Change-Id: Iea7060760bad7122dd5d5c8b948c96d5da8e73c5
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
venu.musham [Tue, 5 Mar 2024 09:30:52 +0000 (15:00 +0530)]
Support gcc build for chromium-efl.
Chromium no longer supports gcc build after enabling clang.
This commit supports gcc build.
$<build command> --gcc
Change-Id: Id5ef9fb5a112184ff9a57db9c63892e80eed26b8
Signed-off-by: venu.musham <venu.musham@samsung.com>
Daniil Ruban [Wed, 6 Mar 2024 05:39:33 +0000 (06:39 +0100)]
Fix node problems
* Rebuild node.js 16.13.2 into static binary to avoid dll-hell
* Fix behavior with missing target.txt
* x86_64 will use node from `third_party/node/linux/node-linux-x64/bin/node`
* other architectures will use `third_party/node/tizen/node`
Change-Id: I9f0c8c03ef4953e0b35c018749ca82c934bc687c
Signed-off-by: Daniil Ruban <intx82@gmail.com>
wurc [Wed, 6 Mar 2024 02:03:19 +0000 (10:03 +0800)]
[M120 Aura Migration][NaCl][Nacl Fwk] Remove unnecessary nacl toolchain directory
Ported patch from M108 Aura:
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/289156
Change-Id: Ia64ea69a13c4bd663ec56edf0bb89ac6195f5eba
Signed-off-by: wurc <rongchun.wu@samsung.com>
Sun-woo Nam [Thu, 7 Mar 2024 02:19:34 +0000 (18:19 -0800)]
[MM] Use the timer to decide operations according to buffering status.
Previously, PerformOperationForData was called in ReadBuffer which reads
a buffer from the demuxer. However, ReadBuffer may not be called depending on
the buffering status.
When actually determining an operation, it judges based on the current position
so there are cases that it does not work as intended.
Therefore, call the function periodically using a timer.
This fixes the patch below.
https://review.tizen.org/gerrit/#/c/305478/
Change-Id: I5c4ee665d52b02c609bef8a380d1aa05e5dfb577
Signed-off-by: Sun-woo Nam <sunny.nam@samsung.com>
sidpaswan [Tue, 5 Mar 2024 13:34:56 +0000 (19:04 +0530)]
Fix window.open() not working in webapp on RPi4
The view was not updating when Show() was called whenever
new window is launched. This patch fixes this issue by updating
the view everytime Show() is called and new view is shared back
to be overwritten over the previous view and now the tct behaviour
app works fine.
Change-Id: I0b9dc652612d7999f5f0539784e747cf6cb5205f
Signed-off-by: sidpaswan <s.paswan@samsung.com>
v-saha [Fri, 1 Mar 2024 12:30:55 +0000 (18:00 +0530)]
Remove EWK_BRINGUPS for M120 #2
This commit removes some EWK_BRINGUPs added during M120 upversion.
Change-Id: I9501206e5755a3b589c6ea59f82ad110d24dc3de
Signed-off-by: v-saha <v.saha@samsung.com>
yangzhiwen [Wed, 6 Mar 2024 05:52:16 +0000 (13:52 +0800)]
[M120 Migration] Support translated url
supports notify video playback state and set translated url API
support CASD url
refer:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/293409/
Change-Id: Id661f1ea927d0338528f1fa3f6081efe9e6b0b24
Signed-off-by: yangzhiwen <zw714.yang@samsung.com>
xiaofang [Tue, 23 Aug 2022 08:00:14 +0000 (16:00 +0800)]
[M120 Migration] Set "background,music" initial value false
Migration from:
https://review.tizen.org/gerrit/271349
Change-Id: Id421b30c45e39d833803e2369ffdaa9eefbcb370
Signed-off-by: yanqing.lu <yanqing.lu@samsung.com>
jiangyuwei [Wed, 6 Mar 2024 17:27:02 +0000 (01:27 +0800)]
[M120 Migration] Introduce network loading API
1. ewk_view_resume_network_loading
2. ewk_view_suspend_network_loading
The api called when webbrowser launched.
Reference:
- https://review.tizen.org/gerrit/291318/
Change-Id: I5776c62869e8c173cc4307e2a734e85b882b2c9f
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
jiangyuwei [Thu, 7 Mar 2024 00:37:33 +0000 (08:37 +0800)]
[M120 Migration][VD][Perf] Avoid waiting for sandbox status from zygote
to improve the browser launch time.
During initialization, the browser process wastes time waiting
until its zygote process is initialized.
The main reason for this synchronization is to avoid losing messages
between browser and zygote process.
browser does not need to wait for the synchronization before
sending messages, because messages are buffered on the zygote side
Reference:
- https://review.tizen.org/gerrit/300627/
Change-Id: I9b4f490387eabe77e341cb2e52a7b18bee9b5de7
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
jiangyuwei [Wed, 6 Mar 2024 23:46:57 +0000 (07:46 +0800)]
[M120 Migration][VD] Add process pool feature
Adds process pool feature for web runtime.
Reference:
- https://review.tizen.org/gerrit/290569/
Change-Id: I7723d74ff5080f478de2b12f0cbaa555fc01e437
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
wuxiaoliang [Wed, 6 Mar 2024 01:46:46 +0000 (09:46 +0800)]
[M120 Migration][MM] Support W3C EME
Add IEMEDrmBridge for encrypted stream.
single process -> espp decrypted stream
multiple process -> drm decrypted stream -> pass tz_handle to espp
Migration from:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/290566/
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/291049/
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/296545/
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/298081/
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/297184/
Change-Id: Ibb604997638c6ff330f33159a3ee777122767cbe
Signed-off-by: wuxiaoliang <xliang.wu@samsung.com>
zhaosy [Wed, 6 Mar 2024 09:56:57 +0000 (17:56 +0800)]
[WRTjs] Fix build warning
Fix build warning
Change-Id: I53fa73ff611c8c4ff0bb366839999acb5bd610bc
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
DongHyun Song [Fri, 23 Feb 2024 09:56:44 +0000 (18:56 +0900)]
[XWalkExtension] Add window related interface for webapis
Add useful interface to handle window object for XWalkExtension
1) void* GetWindowObject()
- webapis can get the window object directly.
2) AddWindowEventListener(instance, callback)
- register event listener for visibilitychange, rotation
- event listner will be managed by instance ID
3) ClearWindowEventListener(instance)
- unregister event listener
- event listner will be managed by instance ID
4) SendKeyEvent(type, keycode)
5) SendMouseEvent(type, ...)
- webapi can send its key/mouse events to the web application.
- for example, TVWindow webapi can create Elm window for TV viewer,
then they can grap key/mouse events, to propagate the events, these
interface can be used.
6) GetMetadataValue(key)
- return metadata value with given metadata key.
Change-Id: I9f63acf0c7e569ce4adccc472a6cdc7084ef76e1
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
fangfengrong [Wed, 6 Mar 2024 17:48:12 +0000 (01:48 +0800)]
[M120 Migration][IME][VD] Deduce focus attribute from RWHVAura in onscreen mode
Focus checks are done before handling text inputs. In offscreen
mode, |content_image_| is used, which is inexistant in onscreen
mode. This patch instead checks for focus from RWHVAura which
retrieves it from aura::window
refer:
https://review.tizen.org/gerrit/#/c/291112
Change-Id: Id84a2a365829f7e8533e4cc3dbad770242450e36
Signed-off-by: fangfengrong <fr.fang@samsung.com>
jiangyuwei [Wed, 6 Mar 2024 21:50:07 +0000 (05:50 +0800)]
[M120 Migration] Dummy Implementation for EWK APIs
ewk_check_chromium_ready
ewk_wait_chromium_ready
Change-Id: Iddb3f4afc1d1dfe7dcc606c62128774e568a557f
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
yanqing.lu [Mon, 4 Mar 2024 08:17:26 +0000 (16:17 +0800)]
[M120 Migration] Support Comma Delimiter for isTypeSupported
most app use semi-colone to query format support.
eg: isTypeSupported("video/mp4; codecs=\"avc1.4d4015\"; width=426; height=240; framerate=30; bitrate=246887")
but some app use comma format.
eg: isTypeSupported("audio/mp4; codecs=\"ec-3\", channels=7.1, features=\"JOC\"")
it revert this patch to support comma format
https://chromium.googlesource.com/chromium/src.git/+/
15e2e8f54574ace251541c3b4589513e22131b85
Original Patch Title: change mode to get parameter of idTypeSupported
Migration from:
https://review.tizen.org/gerrit/290761
Change-Id: I0eed0ebb5e491cf67461e85bd5202f366272fc86
Signed-off-by: yanqing.lu <yanqing.lu@samsung.com>
Manjeet [Tue, 5 Mar 2024 16:47:02 +0000 (22:17 +0530)]
[M120 Migration] Add --as-needed to Clang option
Remove Unused direct dependencies from libchromium-impl.so
Reference:
https://review.tizen.org/gerrit/291183
Change-Id: Ic2037a8bbb1af2192d28efdbd7877d8850799a10
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
zhishun.zhou [Tue, 5 Mar 2024 13:00:49 +0000 (21:00 +0800)]
[M120 Migration][HBBTV][MM] Support H5 drm error feature
1. Set drm info for video decoding
2. Add drm error callback
Patch from:
https://review.tizen.org/gerrit/#/c/293258/
Change-Id: Id33f5a2b83d3ea0afa34d3bd3d430e98de9e745b
Signed-off-by: peng1xiao <peng1.xiao@samsung.com>
Signed-off-by: zhishun.zhou <zhishun.zhou@samsung.com>
Yu Yang [Fri, 1 Mar 2024 01:47:34 +0000 (09:47 +0800)]
[M120 Migration]Changing code for re-factored accessory
Port new accessory and Nintendo Pro gamepad support patches from tizen_8.0:
https://review.tizen.org/gerrit/#/c/297678/
https://review.tizen.org/gerrit/#/c/297966/
https://review.tizen.org/gerrit/#/c/291195/
https://review.tizen.org/gerrit/#/c/290514/
Change-Id: I5e1403d6a313fc1b0ef9623f3f1ecf2641970c7c
Signed-off-by: Yu Yang <yangy.yu@samsung.com>
Satyaveer Singh [Mon, 4 Mar 2024 10:15:21 +0000 (15:45 +0530)]
[M120 Migration][Canvas2D] Do not disable acceleration on gpu readback.
On M76 and earlier acceleration is disabled on readbacks based on
heuristics, but currently for gpu readback canvas2d acceleration is
disabled straightaway and heuristics are removed in upstream[1,2]. This
impacts performance of canvasmark KPI heavily. Hence we dont disable
acceleration during gpu readbacks.
Performance(TV):
Ubrowser CanvasMark
Before: 28.8, 29.0, 29.2, 29.0, 29.1
After: 33.3, 32.4, 32.5, 33.3, 33.5
References:
[1] https://chromium-review.googlesource.com/c/chromium/src/+/1845511
[2] https://chromium-review.googlesource.com/c/chromium/src/+/1752546
[3] https://review.tizen.org/gerrit/291138
Change-Id: I5c8388a042e0bbe17bca5a635aeace8959587640
Signed-off-by: Satyaveer Singh <satyaveer.s@samsung.com>
chiragmaheshwari [Mon, 19 Feb 2024 08:55:15 +0000 (14:25 +0530)]
[M120 Migration][VD][V8] Increase page size bits and min semi space size for performance.
This change updates kPageSizeBits and kMinSemiSpaceSizeInKB values for product tv profile for performance.
VD-CanvasMark-Pixelblur scores.
BaseCode: 28.7 kPageSizeBits = 20, kMinSemiSpaceSizeInKB = 1024K: 33.3
References:
1. https://review.tizen.org/gerrit/290956
2. https://chromium-review.googlesource.com/c/v8/v8/+/1496367
3. https://chromium-review.googlesource.com/c/v8/v8/+/1529006
[2], [3] reduces heap/page size parameters in upstream.
Though performance is improved with page size as 512K, it is increased
to 1024K to keep performance in par with earlier versions.
Change-Id: Id9cccbd678f4aa08eff4862bec12916a7ecdc86f
Signed-off-by: chiragmaheshwari <c.maheshwari@samsung.com>
zhishun.zhou [Tue, 5 Mar 2024 06:08:38 +0000 (14:08 +0800)]
[M120 Migration][MM] Support webmedia playback state notification
1. webbrowser need playbackstart event to show miniplayer button,
this patch implement ewk interface to notify player state to APP,
at the same time it get translated url and drm information from APP;
2. Impement a switch kEnableMediaPlaybackNotification, set from
ewk_settings_media_playback_notification_set;
3. Impement GetContentMIMEType from html media element and set it to esplayer;
Patch from:
https://review.tizen.org/gerrit/#/c/292410/
Change-Id: I88c787896baa4176769c3eb64214d94bee72ffaa
Signed-off-by: xiaofang <fang.xiao@samsung.com>
Signed-off-by: zhishun.zhou <zhishun.zhou@samsung.com>
fangfengrong [Tue, 5 Mar 2024 03:08:55 +0000 (11:08 +0800)]
[M120 Migration][VD] Don't set focus when FinishLoad
For WRT type App, will set focus when app show:
WRTNativeWindow::Show()->WRTNativeWindow::Focus();
For Browser/hbbtv type App, will set focus by ewk_view_focus_set api.
Keep same with M94, don't set focus when FinishLoad, or else will cause
two focus issue: one focus on webview, another focus on app(such as on
webbrowser url).
refer:
https://review.tizen.org/gerrit/#/c/296637/
Change-Id: I61eee8952019b9cc342ad88503276bb6399a6d43
Signed-off-by: fangfengrong <fr.fang@samsung.com>
yangzhiwen [Mon, 4 Mar 2024 08:57:42 +0000 (16:57 +0800)]
[M120 Migration] Support Downloadable font info feature
Migration from:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/292674/
Change-Id: I71b63bab8327083cc23aaccaf485e0364e1cbea5
Signed-off-by: yangzhiwen <zw714.yang@samsung.com>
Qiang Ji [Mon, 4 Mar 2024 08:40:37 +0000 (16:40 +0800)]
[M120 Migration] NUI related patch
1. Fix rotation issue for NUI app
Ecore_Evas can't sense that NUI app has rotated,
so get the wrong value from ecore_evas_rotation_get API
refs:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/305631/
2. Fix NUI video can't play issue
NUI app use wayland window but video hole
set as evas window default.
refs:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/295315/
3. Fix crash
refs:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/297840/
Change-Id: Id043740ee26661581c754b5b2cbf71f65130f7ee
Signed-off-by: Qiang Ji <qiang.ji@samsung.com>
fang fengrong [Mon, 4 Mar 2024 12:09:26 +0000 (20:09 +0800)]
[M120 Migration][VD] Fix ewk_view_focus_set fail issue
WebBrowser set focus through ewk_view_focus_set api not work at
first launch. Because when set focus, the offscreen_helper haven't
been created, it cause don't SetFocus.
So pending send focus till RenderFrameLive.
refer:
https://review.tizen.org/gerrit/#/c/298820/
Change-Id: I6a0722bd7853aefce9547864642383dc199ba7b5
Signed-off-by: fang fengrong <fr.fang@samsung.com>
wuxiaoliang [Mon, 4 Mar 2024 06:40:43 +0000 (14:40 +0800)]
[M120 Migration][MM] Merge HDR and use RM API to get Codec resolution
1. Add max codec resolution for Sero TV.
2. Update VP9* codec info.
3. Set HDR info.
4. Not support spatial rendering feature.
* Multiview resource allocation depends on left/right launch, and limitations are:
- not support trick play
- not support HDR
- not support 360 video
Migration from:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/290344/
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/297093/
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/290415/
Change-Id: If91d6130281ac10cc0dc5b414f819d1ff557b9a2
Signed-off-by: wuxiaoliang <xliang.wu@samsung.com>
wuxiaoliang [Fri, 1 Mar 2024 05:37:46 +0000 (13:37 +0800)]
[M120 Migration] Add new api for webbrowser to get media device list
void ewk_view_media_device_list_get(Evas_Object* o, Ewk_Media_Device_List_Get_Callback callback, void* user_data);
add this api for browser youtube to get audio input/audio output/video input device
Migrated from:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/295121/
Change-Id: If3a30453dd05377c206d53cd6bba5ca383ad35a9
Signed-off-by: wuxiaoliang <xliang.wu@samsung.com>
jiangyuwei [Mon, 4 Mar 2024 22:33:47 +0000 (06:33 +0800)]
[M120 Migration][VD] Add ewk_file_chooser_request APIs
Evas smart callback, "file,chooser,request", has not been supported
since Tizen 3.0. This patch implements ewk_file_chooser_request APIs
to suport "file,chooser,request". API spec is same as Tizen 2.4(WebKit).
- ewk_file_chooser_request_allow_multiple_files_get
- ewk_file_chooser_request_accepted_mimetypes_get
- ewk_file_chooser_request_cancel
- ewk_file_chooser_request_files_choose
- ewk_file_chooser_request_file_choose
Reference:
- https://review.tizen.org/gerrit/#/c/292148/
Change-Id: I62bb4192d615099f84766b2be5a29af0387ab3ee
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
Akshay Kanagali [Fri, 1 Mar 2024 08:36:11 +0000 (14:06 +0530)]
fixup! [M120 Migration] Show the context menu and settings menu
This patch disables the function call updateFocus in
EflWindow::InitializeEventHandler for only chrome build which
impacts settings menu and enables for other builds.
Change-Id: I7a5613a2a1185a16c7e8ea2c91ce79c72793a232
Signed-off-by: Akshay Kanagali <a.kanagali@partner.samsung.com>
yangzhiwen [Thu, 29 Feb 2024 06:40:01 +0000 (14:40 +0800)]
[M120 Migration] Support Dash high bitrate
void ewk_media_start_with_high_bit_rate(Evas_Object* ewkView, Eina_Bool high_bitrate)
This API was added so that Dash streams can support Dash high bitrate.
Process the URL of the video.
migrate from:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/292658/
Change-Id: Ic452e289854b7efbca6ccb958f8a8f68eca3e7b2
Signed-off-by: yangzhiwen <zw714.yang@samsung.com>
zhishun.zhou [Fri, 1 Mar 2024 09:49:39 +0000 (17:49 +0800)]
[M120 Migration] Destroy mmplayer while video tag receive removedFrom
issue:when exit app, video is still on screen.
solution: when exit app, destroy the player.
Patch from:
https://review.tizen.org/gerrit/#/c/301621/
Change-Id: I1d21cba123b08ed69dc098a500a00e11486ff0bb
Signed-off-by: yangzhiwen <zw714.yang@samsung.com>
Signed-off-by: zhishun.zhou <zhishun.zhou@samsung.com>
fang fengrong [Fri, 1 Mar 2024 11:08:25 +0000 (19:08 +0800)]
[M120 Migration][VD] Support ewk apis of key event
1.Support ewk apis of key event in case some other application will use
it.
Support ewk_view_send_key_event & ewk_view_key_events_enabled_set.
ewk_view_key_events_enabled_set:
EINA_FALSE---delete keydown and keyup callback in chromium
EINA_TRUE----add keydown and keyup callback in chromium
If callback is delete, WRT use ewk_view_send_key_event to send
keydown and keyup event to chromium.
Currently WRT dose not use ewk interface, but we keep this API in case
some other application will use it.
2.Add ewk_view_send_key_event to internal API header
refer:
https://review.tizen.org/gerrit/#/c/291454
Change-Id: I257fa7491efacb20b192fccfec1378d4630862cf
Signed-off-by: fang fengrong <fr.fang@samsung.com>
venu.musham [Fri, 1 Mar 2024 06:23:46 +0000 (11:53 +0530)]
fixup! RiscV support for M120.
Clang setting was disabled for riscv build, due to this gcc
build was enabled in QB, gcc build has complitation failures.
Enable clang as default build for QB.
Change-Id: I79b1b29205b4a14a9c72539cb401c187f97d1ba1
Signed-off-by: venu.musham <venu.musham@samsung.com>
zhishun.zhou [Wed, 28 Feb 2024 10:00:23 +0000 (18:00 +0800)]
[M120 Migration] Notify media device state to webbrowser
1) web engine get current user media state from media device.
2) web engine notify webbrowser state by ewk callback.
Add new ewk type:
UserMediaState
DECLARE_EWK_VIEW_CALLBACK(UserMediaState, "usermedia,state", void*)
From patch:
https://review.tizen.org/gerrit/#/c/294421/
Change-Id: I6acab4de98627aa478017512da79f1e0520236f8
Signed-off-by: zhishun.zhou <zhishun.zhou@samsung.com>
Signed-off-by: xiaofang <fang.xiao@samsung.com>
Manjeet [Wed, 28 Feb 2024 12:34:10 +0000 (18:04 +0530)]
[M120 Migration] Fix coverity issues
This commit fixes following coverity issues
CID 115640, 1027471, 1029366, 1079885, 1084336, 1273651,
1278478, 1280131, 1672601
Reference:
https://review.tizen.org/gerrit/290923
Change-Id: Ib18b5bc86bb04770114c769e28b7e40a670b13a6
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
Manjeet [Sat, 24 Feb 2024 20:45:22 +0000 (02:15 +0530)]
[M120 Migration][TCT] Fix viewport user-scalable web-tct issue(behavior test)
Value changing of |user-scalable| property of view point meta tag is not applied
instantly. Due to this, zooming gesture is not working even if |user-scalable|
is changed to |true|. To apply this change instantly, changed to make layout
after updating |user-scalable| property.
Reference:
https://review.tizen.org/gerrit/288621
Change-Id: Id9ac0b4180cdea4ba9668fd9abb414cb3964d2d4
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
Koyyani Maheswari [Wed, 21 Feb 2024 12:29:23 +0000 (17:59 +0530)]
[HOTFIX] Web app is crashing during exit
when the web app is terminated, crash is reported with the below
callstack:
(gdb) bt
0xb30f4f16 in mojo::InterfaceEndpointClient::~InterfaceEndpointClient() ()
at /usr/share/chromium-efl/lib/libchromium-impl.so
Disabling the CHECK temporarily since crash is happening only on termination.
Change-Id: Id4c4fa55ee6398a6a1bb637634103c2a5985cf27
Signed-off-by: Koyyani Maheswari <m.koyyani@samsung.com>
qiang.ji [Wed, 12 Apr 2023 02:12:39 +0000 (10:12 +0800)]
[M120 Migration] Fix Terms and Condition wizard shows transparent/white bg
As the viz strategy is totally updated, for bg logic, we need to flow below:
1. Set bg for Render CompositorFrame
EWebView::SetDrawsTransparentBackground -> WebFrameWidgetImpl::SetDrawsTransparentBackground
-> layer_tree_host -> CompositorFrameSinkImpl -> CompositorFrame with transparent bg
2. Set bg for Browser CompositorFrame
EWebView::SetDrawsTransparentBackground ->
RenderWidgetHostViewBase::SetBackgroundColor
2.1 RenderWidgetHostViewAura::UpdateBackgroundColor()
Compositor::SetBackgroundColor
layer_tree_host -> RootCompositorFrameSinkImpl -> CompositorFrame with transparent bg
2.2 RWHVAuraOffscreenHelperEfl::PaintTextureToSurface
RenderWidgetHostViewBase::GetBackgroundColor()
if set transparent bg, need to enable blend.
References:
https://review.tizen.org/gerrit/291210
https://review.tizen.org/gerrit/301497
https://review.tizen.org/gerrit/302739
Change-Id: I1b0650d5446917c6171df97eebef36c2f947f5fc
Signed-off-by: qiang.ji <qiang.ji@samsung.com>
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
Akshay Kanagali [Wed, 28 Feb 2024 09:17:04 +0000 (14:47 +0530)]
[M120] Fix build break for chrome
This patch fix chrome build issues occured by recent commits.
It also disables autofill for chrome build.
Change-Id: I9eb0b280057976de9c35faa125cf64cac9716121
Signed-off-by: Akshay Kanagali <a.kanagali@partner.samsung.com>
Gajendra N [Tue, 27 Feb 2024 05:22:00 +0000 (10:52 +0530)]
(Part 2) Use proper naming for handles/functions that represent EwkView
Commit [1] cleaned up most of the "evas_object" occurances inside tizen_src (but outside
ewk layer). This commit is follow up of [1], which replaces rest of the occurances with
ewk_view/EwkView inside ewk layer. Read [1]'s commit message for more details.
[1]
c65e88bc0c05def7e76e229beb506f2638034024
Also, cleans up unused/redundant functions.
Change-Id: I2f95f491e2dc72ebbb719df2efdccf1e2a229cb7
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
liwei90727 [Wed, 28 Feb 2024 10:14:07 +0000 (18:14 +0800)]
[WRTjs] Use BUILDFLAGS(IS_TV) for TV logic checking
USE BUILDFLAGS(IS_XXX) for OS checking, will disable
some unnecessary logic in compile stage
Change-Id: I4bfb553535776b35c1aac919359deecd81c69eb7
Signed-off-by: liwei90727 <wei90727.li@samsung.com>
Chunling Ye [Wed, 28 Feb 2024 11:42:48 +0000 (19:42 +0800)]
[WRTjs] Use one FMS key to check is default mouse support product
New RQ for tizen8.0, only use one FMS key:
"com.samsung/featureconf/product.default_mouse_support" to get
if is default support mouse, in 8.0 the mouse default support
products are SmartMonitor, AOT and DTV.
Change-Id: Iffc704595075b8495554f0ff4efc3f1baf36b39d
Signed-off-by: Chunling Ye <chunling.ye@samsung.com>
Manjeet [Tue, 27 Feb 2024 13:15:08 +0000 (18:45 +0530)]
[M120 Migration] Free content_image_elm_host_properly
Evas object content_image_elm_host_belongs to a Layout, it will be
deleted when the layout deleted.
Just like List, Box, and other container widgets, any object added to
the Layout will become it's child, meaning that it will be deleted if
the layout is deleted, move if the Layout is moved, and so on.
https://docs.enlightment.org/elementery.1.15.0/group__layout.html
Reference:
https://review.tizen.org/gerrit/292255/
Change-Id: Ia86a429cf6891e1c152108f9c7c0763beb99ca59
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
Akshay Kanagali [Wed, 21 Feb 2024 12:21:29 +0000 (17:51 +0530)]
[M120 Migration] Handle fullscreen event in chrome
This patch enables the fullscreen feature for chrome.
Reference : https://review.tizen.org/gerrit/304571/
Change-Id: Ia7a3686fad9fcc00403c1e49e075497820f93d7b
Signed-off-by: Akshay Kanagali <a.kanagali@partner.samsung.com>
Manjeet [Mon, 26 Feb 2024 19:25:51 +0000 (00:55 +0530)]
fixup! [M120 Migration] Enable event handling for Ozone EFL
On RPi4, due to focus lost on mouse out event when
hovered on IME panel, IME keys events were not dispatched
to engine. This patch fixes it.
Reference:
https://review.tizen.org//gerrit/291887/
Change-Id: Ida9b59e31674ba03fc5cb47e043154970e4d05c0
Signed-off-by: Manjeet <manjeet.1@partner.samsung.com>
v-saha [Thu, 22 Feb 2024 04:21:21 +0000 (09:51 +0530)]
Remove EWK_BRINGUPS for M120 #1
This commit removes some EWK_BRINGUPs added during M120 upversion.
Upgrading to Clang18 fixed some of the build errors.
Change-Id: Id71747db710ebe7002829db7ae52c28989db883e
Signed-off-by: v-saha <v.saha@samsung.com>
Mateusz Bieganski [Wed, 29 Nov 2023 13:54:28 +0000 (14:54 +0100)]
uBrowser: Add '-i' switch, to execute WebInspector server on startup.
The rationale is to automate performance or correctness tests, with
host-side client connecting to WebInspector server and investigating
HTML that was rendered.
Change-Id: Ib88942b71210f444e44dc257c7dae4df9eaedad1
Signed-off-by: Mateusz Bieganski <m.bieganski@samsung.com>
Rohit Kumar [Wed, 21 Feb 2024 09:10:38 +0000 (14:40 +0530)]
[M120 Migration]Fix for crash during chrome exit
As g_bluez_dbus_manager is nullptr in BluezDBusManager::Shutdown()
a crash is observed during chrome exit. By enabling
BluezDBusManager::Initialize(), g_bluez_dbus_manager value is set
to a valid value.
Reference: https://review.tizen.org/gerrit/303262
Change-Id: Ia496ca7a06fcf33b7a34a4660f7c8303e4a15e5b
Signed-off-by: Rohit Kumar <rohit.16@partner.samsung.com>
venu.musham [Mon, 26 Feb 2024 04:48:26 +0000 (10:18 +0530)]
fixup! [M120 Migration] Apply opacity/filter/border-radius for video hole.
when video hole is disabled, build issue is observed.
Build fixes for standard profile & desktop.
Change-Id: I30866ed130d2463466997c32615c77ac9d4a425c
Signed-off-by: venu.musham <venu.musham@samsung.com>
Nikhil Shingne [Mon, 29 Jan 2024 06:51:57 +0000 (12:21 +0530)]
fixup! [M120] Bring up autofill
This commit enables the autofill feature which was disabled during
m120 bringup. Fixes all the build errors due to changes on upstream.
With this commit, autofill related TCs PASS on NativeTCT.
Change-Id: I64e291292d7b99572b69221b4e4d78d5d32a21b6
Signed-off-by: Nikhil Shingne <n.shingne@samsung.com>
Akshay Kanagali [Mon, 19 Feb 2024 09:05:20 +0000 (14:35 +0530)]
[M120 Migration] Show the context menu and settings menu
This patch includes below to show the context menu and settings menu.
- Set the type of each window
- Focus on evas objects
- Implement event capture
- Separation of header and source file of ElfWindowManager
- Implement |EflWindow::IsVisible|
- Convert event location for submenu
References :
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/302447
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/302577
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/302685
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/302811
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/302528
Change-Id: I32bf5fadb2fcd78a9cce6f7d8ad74d0c6e4fb542
Signed-off-by: Akshay Kanagali <a.kanagali@partner.samsung.com>
Sun-woo Nam [Fri, 23 Feb 2024 05:26:42 +0000 (21:26 -0800)]
[MM][HBBTV] Enable the url demuxer for the hls video.
DemuxerManager has been newly created in this version, so new path that selects
the url demuxer for HLS and HBBTV should be enabled.
Additionally, I fixed an issue with the video hole when url demuxer was enabled.
Change-Id: Ifa428bbb06881df449f93b818b4d750993da550e
Signed-off-by: Sun-woo Nam <sunny.nam@samsung.com>
Nishitha S [Wed, 21 Feb 2024 10:21:18 +0000 (15:51 +0530)]
[M120 Migration][HBBTV] Dispatch key events through associated event dispatcher only
HBBTV app launches single ecore/elm window but two ewk_views within the
same window. The app can send key events through ewk api to any of the
ewk_view and they need to be dispatched irrespective of their focus state.
Currently the unfocused ewk_view is not dispatching event because of way
event forwarding logic is written in ozone layer.
This patch makes necessary changes to check the associated dispatcher handle
instead of CanDispatchEvent, also keeps both aura windows in focus parallely.
This change is only for HBBTV.
Reference: https://review.tizen.org/gerrit/299770
Change-Id: Iecb83a0f22665edd03795bd4745d69c88453395c
Signed-off-by: nishitha <n.saravanan@samsung.com>
Daniil Ruban [Wed, 14 Feb 2024 19:41:40 +0000 (20:41 +0100)]
RiscV support for M120
* Enables WebAssembly
* Fixes lot minor bugs and warnings
* Fixes casting in esplusplayer
Contains next commits from tizen.riscv branch:
* Support riscv architecture.
3e79c4675e3331d8697db326ad13accb4bd1e5b9
* Disable gold linker.
36204a4c8e1b1ef951e5001f8e2e12acd56ce412
* [ffmpeg] Add support for riscv configuration.
eb43f36d555818b4d9cbaf258ec2a26dd15679bf
* sandbox: add riscv arch definition and define syscall
5df214a8a89f3d31ee45ab963a8e22fd6e619c13
* [skia] add riscv64 architecture detection in gn phase
c236147d28521517e5abb950af462c258627c711
* Fixed the build error using gcc 13
bdfd554591ae83b189fcbe0c064ef545bb4be0ed
* Adding some files for riscv64 temporarily
0d36d8dad205e79be067cb7c72c9e988d4c3cb77
* Fixed the build error of wrt/src/base/string_utils.cc
372c01201d95916a53b6be87c9d4e99492b42a0d
* Fixed the build error for i586 using gcc 13
72a5eb4ae814a40e6470f68df079fea7a9abe998
* Fixed the build error for armv7l using gcc13
aeeb7a59aa41e058081d5e872a25e15c601ab9cc
* Fixed the build error for armv7l using gcc13
8686a1f6ad59dd019d71afea13f62390736a1f94
* Disable clang build for gcc 13.
c5df511720124822c2785ba9ae22afabc0fbac16
* Update gbs repositories for gcc 13.
bd7ff786dede19eb884135a3ec59db19cbeda217
* Adding python-accel for riscv64
53e307450705d54690c4cb33f1f965648045475d
inner tasks: #229 #253
Change-Id: I458be4dc8c868bb07f9664219ec400e7c4fb94d7
Signed-off-by: Aleksander Świniarski <a.swiniarski@samsung.com>