platform/upstream/efl.git
2 years agospec: Add build environment value for vitual 09/283309/2
jykeon [Mon, 24 Oct 2022 02:34:47 +0000 (11:34 +0900)]
spec: Add build environment value for vitual
      build box.

Change-Id: Ib765a5060578c40cb7a1974fdafe5300a1492cb8
Signed-off-by: jykeon <jykeon@samsung.com>
2 years agogenlist : fix wrong geometry check in item focus 25/283425/2
EverLEEst(SangHyeon Lee) [Wed, 26 Oct 2022 10:02:49 +0000 (19:02 +0900)]
genlist : fix wrong geometry check in item focus

Change-Id: I55fb9e0f9934f802b03539889044db88d9541f99

2 years agoecore_wl2: set position only if the window is not fullscreen/maximized 06/283306/2
Doyoun Kang [Mon, 24 Oct 2022 02:02:59 +0000 (11:02 +0900)]
ecore_wl2: set position only if the window is not fullscreen/maximized

Change-Id: I33f57047dc542274c07e78de05e88c5c0fd392d6

2 years agoecore_con: fix backlog argument for avoiding syn flooding. 38/282938/1 accepted/tizen_7.0_unified_hotfix tizen_7.0_hotfix accepted/tizen/7.0/unified/hotfix/20221116.110728 accepted/tizen/unified/20221014.123801 tizen_7.0_m2_release
Hosang Kim [Mon, 22 Feb 2021 04:05:37 +0000 (13:05 +0900)]
ecore_con: fix backlog argument for avoiding syn flooding.

If listen's argument is zero, syn flooding occurs.
Since this linux kenel patch,
(https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=ef547f2ac16b)

@tizen_only

Change-Id: I81c2a8af12f5dbf9cdd9021c1a9579ee4d213d1e
(cherry picked from commit 2bbf17b5d89bd5ff2fea7d85c147b7c13f9e7c4b)

2 years agoefl_ui_widget: Use top-down at-point search for POPUP_MENU 46/281346/3
Artur Świgoń [Thu, 15 Sep 2022 13:52:56 +0000 (15:52 +0200)]
efl_ui_widget: Use top-down at-point search for POPUP_MENU

In case of CtxPopup, highlighting items by flicking over the menu works
correctly, while tapping on an item causes a phantom button (not present
in the AT-SPI tree) to be highlighted and breaking further flick-based
navigation until the end of the context is reached. This is caused by
wrong at-point search strategy and is fixed by this patch.

@tizen_only

Change-Id: Ic9f5e10cb972a48512253d7c727ab0bf1b991e3b

2 years agoelc_naviframe: Remove default label when necessary 73/280473/5
Artur Świgoń [Tue, 30 Aug 2022 13:14:22 +0000 (15:14 +0200)]
elc_naviframe: Remove default label when necessary

When using a Naviframe inside of another Naviframe the default label
stack can become corrupted, i.e. the items from both naviframes can get
intermixed (as in the case of wifi-efl-ug), causing navigation issues.
Limiting the default label stack to one item per Naviframe helps solve
this issue.

@tizen_only

Change-Id: I4cebbe76067616d7055021e60e51a472c2f679a2

2 years agoelm_slider: Emit value changed event only if the slider is highlighted 07/280407/5
Artur Świgoń [Mon, 29 Aug 2022 14:03:55 +0000 (16:03 +0200)]
elm_slider: Emit value changed event only if the slider is highlighted

@tizen_only

Change-Id: If9d91c681c18676347cdb030f945d1f72495c344

2 years agoelm_access/efl_ui_widget: Remove markup from accessible name 01/280301/6
Artur Świgoń [Fri, 26 Aug 2022 10:14:07 +0000 (12:14 +0200)]
elm_access/efl_ui_widget: Remove markup from accessible name

@tizen_only

Change-Id: I784e92aa5a8acadbb7c4c1470f01c65016a1ec55

2 years agoelc_hoversel: Set COMBO_BOX role for Hoversel 31/279631/6
Artur Świgoń [Fri, 12 Aug 2022 10:17:45 +0000 (12:17 +0200)]
elc_hoversel: Set COMBO_BOX role for Hoversel

This commit applies the new UX guide.

@tizen_only

Change-Id: I4d890e85517b1ea0c8afd01b0e557918d219f91e

2 years agoelc_naviframe: Apply new Naviframe UX 26/279626/6
Artur Świgoń [Fri, 12 Aug 2022 09:32:39 +0000 (11:32 +0200)]
elc_naviframe: Apply new Naviframe UX

@tizen_only

Change-Id: I98c742b2d041572f13275160db92809cd3123752

2 years agoelc_popup/elc_ctxpopup: Do not prepend "Alert" to popup name 15/279515/8
Artur Świgoń [Wed, 10 Aug 2022 13:25:47 +0000 (15:25 +0200)]
elc_popup/elc_ctxpopup: Do not prepend "Alert" to popup name

This commit applies the new UX guide.

@tizen_only

Change-Id: Ibc9ad595591bf30521ea20c975ab5e538e1e4b54

2 years agoelm_genlist: Set HEADING role for Genlist group 13/279513/8
Artur Świgoń [Wed, 10 Aug 2022 13:08:48 +0000 (15:08 +0200)]
elm_genlist: Set HEADING role for Genlist group

This commit applies the new UX guide.

@tizen_only

Change-Id: I1847e22c13d2a7a6742edc3882803ff1c4d4b59b

2 years agoeo_base_class: Improved stability 33/282433/2 accepted/tizen/unified/20221006.065306 accepted/tizen/unified/20221006.065344
Michal Szczecinski [Mon, 3 Oct 2022 11:47:53 +0000 (13:47 +0200)]
eo_base_class: Improved stability

Change-Id: I38861744fc1808d4d1efe40779af37733bcfbf39

2 years agoecore_wl2_input: don't be silent on errors, use ina_safety_checks to issue warnings. 88/282188/1
Gwanglim Lee [Wed, 28 Sep 2022 04:31:35 +0000 (13:31 +0900)]
ecore_wl2_input: don't be silent on errors, use ina_safety_checks to issue warnings.

Change-Id: I682bbe9143afb92cf02f482a0d0ff6cff8c64955

2 years agoecore_wl2: add callback functions for tizen_policy_listener 76/267176/4 accepted/tizen/unified/20220929.080317
Doyoun Kang [Mon, 29 Nov 2021 04:45:34 +0000 (13:45 +0900)]
ecore_wl2: add callback functions for tizen_policy_listener

add tizen_policy's listener functions for below events
- interactive_move_done
- interactive_resize_done

Change-Id: I09d87f97c590e978312ff88ba1481cde4cb1fc02

2 years agoecore_wl2_tbmsurface: fix use after free of tbm_surface_queue 37/281037/1 accepted/tizen/unified/20220914.085451
Changyeon Lee [Thu, 8 Sep 2022 06:15:45 +0000 (15:15 +0900)]
ecore_wl2_tbmsurface: fix use after free of tbm_surface_queue

delete user data of queue in tbm_surface when tbm_surface_queue is deleted.

Change-Id: Ia0e35959b93e19af4ab5f203c705a58840006692

2 years ago[Tizen] Fix evas_map_direct_render_set issue 26/281026/1
Wonsik Jung [Wed, 7 Sep 2022 12:44:17 +0000 (21:44 +0900)]
[Tizen] Fix evas_map_direct_render_set issue

When evas_map_direct_render_set() is called with new value,
direct rendering does not work with new value.
This patch is to fix that.

Change-Id: Iad36dab7f3cb3be1781eb09f9e6883bcdd9c19b0

2 years agoecore_wl2_window: modify configure_send function 28/280828/4
Doyoun Kang [Mon, 5 Sep 2022 10:52:05 +0000 (19:52 +0900)]
ecore_wl2_window: modify configure_send function

If the def_config's serial and req_config's serial are same, this means that the
ECORE_WL2_EVENT_WINDOW_CONFIGURE event was not generated by configure_event from display server.

In this case, ECORE_WL2_EVENT_WINDOW_CONFIGURE event just handles the state of window and
doesn't handle the size. So, the width and the height of the event are set to zero.

@tizen_only

Change-Id: Ic366a95cb15dc4e9fc57df6d053849cd0f3fff6c

2 years agoecore_wl2_tbmsurface: fix use after free of tbm_surface 90/280890/3
Changyeon Lee [Fri, 2 Sep 2022 01:41:15 +0000 (10:41 +0900)]
ecore_wl2_tbmsurface: fix use after free of tbm_surface

tbm_surface of Ecore_Wl2_Buffer can be freed in case of
last committed wl_buffer get release event.
this patch makes that tbm_surface of Ecore_Wl2_Buffer
is valid by using reference of tbm_surface.

Change-Id: Iecf683c71ff971935a9228e8130b2e78a9b06bb3

2 years agoecore_glib: remove debug log 18/280818/1
Hosang Kim [Mon, 5 Sep 2022 10:38:23 +0000 (19:38 +0900)]
ecore_glib: remove debug log

Change-Id: Icf504facb647e0186528270bf2bb01a3d61bd6ce

2 years agoRevert "ecore_wl2_window: modify configure_send function" 49/280549/1 accepted/tizen/unified/20220907.040716 submit/tizen/20220831.110301 submit/tizen/20220901.022025 submit/tizen/20220902.053033 submit/tizen/20220905.011007
Doyoun Kang [Wed, 31 Aug 2022 10:58:32 +0000 (19:58 +0900)]
Revert "ecore_wl2_window: modify configure_send function"

This reverts commit 1585fc2f9cedeb57d75d9b73af2f95518ad70acf.

Change-Id: I106288ade013560b914930498278898724102a35

2 years agospinner: delete wrong copy & paste code. 08/280508/1
Woochanlee [Wed, 31 Aug 2022 06:15:43 +0000 (15:15 +0900)]
spinner: delete wrong copy & paste code.

Change-Id: Ib03531ff53aae37471e8b28b22744bea4c7e33c8

2 years agospinner: Fix atspi mode focus movement policy. 94/280394/4
Woochanlee [Mon, 29 Aug 2022 10:34:47 +0000 (19:34 +0900)]
spinner: Fix atspi mode focus movement policy.

Change-Id: I6a7bd26272ee21cc7ec09e1977c31efcd8ee6d57

2 years agoecore_evas: fix calculating window with rotation. 03/280303/5
Hosang Kim [Fri, 26 Aug 2022 10:18:37 +0000 (19:18 +0900)]
ecore_evas: fix calculating window with rotation.

When border is enabled, between ecore_evas window size and ecore_wl2 window size are different.
And window size is added or subtracted with border size according to rotation angle.

Change-Id: Icbbb5da354371c610058ef2de165431197b1158c

2 years agoecore_glib: change log level 48/280348/1
Hosang Kim [Mon, 29 Aug 2022 01:44:45 +0000 (10:44 +0900)]
ecore_glib: change log level

Change-Id: I042c202e931f411cfb38723ca9c84e129fc00a41

2 years agoecore_wl2_window: modify configure_send function 97/280197/2 accepted/tizen/unified/20220829.062608 submit/tizen/20220828.032852
Doyoun Kang [Wed, 24 Aug 2022 00:43:34 +0000 (09:43 +0900)]
ecore_wl2_window: modify configure_send function

If the def_config's serial and req_config's serial are same, it means that the ECORE_WL2_EVENT_WINDOW_CONFIGURE
event is not generated by configure_event from display server.
In this case, ECORE_WL2_EVENT_WINDOW_CONFIGURE event handle window's states not a size.
So, a width and height of the event are set by zero.

@tizen_only

Change-Id: Ie7d922dcddba48ec36dee7698fe60325a4fedd9f

2 years agoecore_glib: add log for checking perfomance. 88/280088/1
Hosang Kim [Tue, 23 Aug 2022 10:23:59 +0000 (19:23 +0900)]
ecore_glib: add log for checking perfomance.

Change-Id: I4cc640389c30e1e9a411da98ab5c7832710ec25c

2 years agoevas: Optimize memory usage on static webp files 64/279564/4 accepted/tizen/unified/20220817.153842 submit/tizen/20220812.051443 submit/tizen/20220816.012857 submit/tizen/20220817.020146
Michal Szczecinski [Thu, 11 Aug 2022 15:09:26 +0000 (17:09 +0200)]
evas: Optimize memory usage on static webp files

To load 4k single webp image, we should use WebPDecodeBGRA api to recude memory usage
because WebPAnim* API Set memory cost is high

Change-Id: I6d43f1610e26df30470dbd280d588f0e13408833

2 years agoevas_gl_image: additional NULL check on image change trim 11/279211/4 submit/tizen/20220817.013747
Patryk Kaczmarek [Wed, 3 Aug 2022 13:24:34 +0000 (15:24 +0200)]
evas_gl_image: additional NULL check on image change trim

Change-Id: I8a2cb43940b4f5d5c19e680647acf4992d8e6a00

2 years agoAdd edje signal for text direction 74/277274/13 submit/tizen/20220817.013648
Bowon Ryu [Mon, 4 Jul 2022 08:56:16 +0000 (17:56 +0900)]
Add edje signal for text direction

add signals "text,state,rtl", "text,state,ltr"

Change-Id: Ie8d31bbe5106d9af88e19243ffe2ac94bb90cb85
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
2 years agoRevert "Revert "elm_atspi: Check AUL_APPID for application name"" 59/279359/2 accepted/tizen/unified/20220809.213737 submit/tizen/20220808.020508
Chun [Mon, 8 Aug 2022 01:46:28 +0000 (01:46 +0000)]
Revert "Revert "elm_atspi: Check AUL_APPID for application name""

This reverts commit 06543e49312522b63c8f9f67bd1661e0f41fba21.

Change-Id: Ib4dba24e40af01bc1463b8ea26460f25d1289983

2 years agoelc_hoversel: Fix to activate accessibility 22/279222/2
Jaehyun Cho [Thu, 4 Aug 2022 01:57:20 +0000 (10:57 +0900)]
elc_hoversel: Fix to activate accessibility

Previously, accessibility activate did not work because accessibility
activate method could work only if hover was created before.
However, the hover is created in _activate(), which accessibility
activate method calls after checking the hover.
Therefore, the code checking the hover is removed in accessibility
activate method.

It has been fixed that hoversel button is activated by double tap of
accessibility highlight.

Change-Id: I9cee7ec701a9b0878a1253bf66be21586e2aff9a

2 years agoelm_calendar: Fix to activate accessibility 34/279134/3
Jaehyun Cho [Tue, 2 Aug 2022 11:14:27 +0000 (20:14 +0900)]
elm_calendar: Fix to activate accessibility

It has been fixed that month buttons and date items are activated by
double tap of accessibility highlight.

Change-Id: Ia771c832952e85a6aa4bebd395aab374f64b67aa

2 years agoRevert "elm_atspi: Check AUL_APPID for application name" 77/279277/1 accepted/tizen/unified/20220808.135354 submit/tizen/20220805.092952
Chun [Fri, 5 Aug 2022 01:27:46 +0000 (01:27 +0000)]
Revert "elm_atspi: Check AUL_APPID for application name"

This reverts commit 459b4abd717eb900a69357ceffdcda4a186dfc77.

Change-Id: Id12a558e076b3e40e5677e21970dd14fedbb2253

2 years agoelm_atspi: Check AUL_APPID for application name 33/279133/2 submit/tizen/20220804.070804
Artur Świgoń [Tue, 2 Aug 2022 11:05:27 +0000 (13:05 +0200)]
elm_atspi: Check AUL_APPID for application name

@tizen_only

Change-Id: I554014d1e76d218f54cc00df93eb9f82a8527db9

2 years agoevas font: improved harfbuzz error checking 26/279126/2
Michal Szczecinski [Tue, 2 Aug 2022 09:28:46 +0000 (11:28 +0200)]
evas font: improved harfbuzz error checking

Change-Id: I94f7d23dbb18887ff57a280acff44ba105f6d238

2 years agoRevert "elm_atspi: Return package name as application name" 32/279132/1 accepted/tizen/unified/20220804.151700 submit/tizen/20220803.012317
Artur Świgoń [Tue, 2 Aug 2022 10:29:16 +0000 (12:29 +0200)]
Revert "elm_atspi: Return package name as application name"

This reverts commit 51bab9ec39dbf2c797620901df704119464c3a1f.

@tizen_only

Change-Id: I4724e87d95bff27809b9601ad8c3eba8021543d9

2 years ago[Tizen][ATSPI] Hot fix disabling propagation of key events to A11Y bus 32/278532/7 submit/tizen/20220801.051748 submit/tizen/20220801.084849
Lukasz Oleksak [Thu, 21 Jul 2022 13:58:19 +0000 (15:58 +0200)]
[Tizen][ATSPI] Hot fix disabling propagation of key events to A11Y bus

Hot fix for performance issue.
The patch should be reverted after the solution is applied.

Change-Id: I1f266d4a9ece4a317d8abe8da24bf4cf8580584f

2 years agoeina_value_util: fix time_t value for aarch64 13/279013/2
Hubert Stachowiak [Fri, 29 Jul 2022 09:29:35 +0000 (11:29 +0200)]
eina_value_util: fix time_t value for aarch64

On aarch64 mktime was returning -1 due to daylight saving time flag not being set in the struct tm. The struct is initialized with 0s and the flag is set to -1 (not available)

Change-Id: Id5958ad5769eaf53d3db571e34e07a7fd1bbd122

2 years agoelm_atspi: Return package name as application name 49/278949/2
Lukasz Oleksak [Thu, 28 Jul 2022 14:29:57 +0000 (16:29 +0200)]
elm_atspi: Return package name as application name

This patch unifies the behavior with DALi.

@tizen_only

Change-Id: I7a3eb090914e99efe90ffcf30e1c9e0a9fe5ed96

2 years agoecore_wl2: add a new window type - ECORE_WL2_WINDOW_TYPE_DESKTOP 19/278719/2 accepted/tizen/unified/20220728.044751 submit/tizen/20220725.072716 submit/tizen/20220727.010221
Doyoun Kang [Mon, 25 Jul 2022 09:17:26 +0000 (18:17 +0900)]
ecore_wl2: add a new window type - ECORE_WL2_WINDOW_TYPE_DESKTOP

@tizen_only

Change-Id: I1f0b62bc2a432cc95916523aafd401b205e516e5

2 years agoecore_wl2_window: send ECORE_WL2_EVENT_WINDOW_ROTATE event in _ecore_wl_window_cb_ang... 08/278508/1 accepted/tizen/unified/20220722.031016 submit/tizen/20220721.100327
Doyoun Kang [Thu, 21 Jul 2022 09:28:57 +0000 (18:28 +0900)]
ecore_wl2_window: send ECORE_WL2_EVENT_WINDOW_ROTATE event in _ecore_wl_window_cb_angle_change_with_resize

We add code to send a ECORE_WL2_EVENT_WINDOW_ROTATE event in the tizen_rotation's
angle_change_with_resize listener function (_ecore_wl_window_cb_angle_change_with_resize).

For this, a module can do what it wants when the window is rotated.

@tizen_only

Change-Id: I876e3bb877b65f55f5086c8b3fb73cc533c65581

2 years agoecore_wl2_window: fix condition for calling visibility change event 59/278259/1 accepted/tizen/unified/20220721.135054 submit/tizen/20220719.054534
Hosang Kim [Mon, 18 Jul 2022 07:21:50 +0000 (16:21 +0900)]
ecore_wl2_window: fix condition for calling visibility change event
callback.

Change-Id: Ia7fe752855c66455d4c19cfaa77d1a6aabe707dc

2 years agoefl_ui_win: set NULL when parent window is deleted 01/277401/2 accepted/tizen/unified/20220712.133056 submit/tizen/20220711.043600
Hosang Kim [Wed, 6 Jul 2022 08:15:42 +0000 (17:15 +0900)]
efl_ui_win: set NULL when parent window is deleted

Change-Id: If4822d5fb441628a98ffbf9cb04d3246845bf748

2 years agoevas: fix premultiply bug in webp after applying npatch 96/277296/1
tscholb [Tue, 5 Jul 2022 01:03:35 +0000 (10:03 +0900)]
evas: fix premultiply bug in webp after applying npatch

After applying npatch in webp, some of alpha value has a problem because of premultipy.
so i fix it.

Change-Id: I61425ade10659c3092f22b9854c932deb1fa468e

2 years agoecore_evas: set ecore_evas height 0 when frame is enabled. 32/274632/3
Hosang Kim [Mon, 2 May 2022 08:01:00 +0000 (17:01 +0900)]
ecore_evas: set ecore_evas height 0 when frame is enabled.

Change-Id: I3b2ec17c4f41bd81ed69b14a179de39a1eb60cbb

2 years agoelm_config: fix getting environment variable for win_no_border config. 97/274297/2 accepted/tizen/unified/20220624.143411 submit/tizen/20220623.015128 submit/tizen/20220623.083528
Hosang Kim [Tue, 26 Apr 2022 03:34:38 +0000 (12:34 +0900)]
elm_config: fix getting environment variable for win_no_border config.

It is always set to EINA_TRUE regardless of the environment variable
value.

Change-Id: Id93104027b5f199a837fc4ff855325e06d46404b

2 years agoecore_wl2_window: add visibility callback set 16/276616/2
Hosang Kim [Wed, 22 Jun 2022 02:43:27 +0000 (11:43 +0900)]
ecore_wl2_window: add visibility callback set

When the main thread is busy, WINDOW_VISIBILITY_CHANGE event is not
delivered on time. So add bypass callback for enhancing perpomance

Change-Id: I1ce27edf73f8753e8715e3e699ddf5f9b5f5cd07

2 years agoecore_wl2: prevent wrong use of wtz_exported_shell_set_destination 61/275461/3
Shinwoo Kim [Wed, 25 May 2022 06:51:26 +0000 (15:51 +0900)]
ecore_wl2: prevent wrong use of wtz_exported_shell_set_destination

It is an error if you are using wtz_exported_shell_set_destination
with negative or zero values.

Please refer to following description.

[wtz_foreign.xml]
  <interface name="wtz_exported_shell" version="1">
    <description summary="an exported shell handle">
    ...
    </description>
    <enum name="error">
      <entry name="bad_value" value="0"
         summary="negative or zero values in width or height"/>

Change-Id: Iea52527c9bd2c51b2f260464443af1437837ef17

2 years agospec: disable line coverage test 19/276219/1 accepted/tizen/unified/20220616.141909 submit/tizen/20220614.035254 submit/tizen/20220615.014424
Taehyub Kim [Mon, 13 Jun 2022 05:29:30 +0000 (14:29 +0900)]
spec: disable line coverage test

- except efl test because of maintain policy

Change-Id: If1b6233e2c188444d6a9c426f18fbb52c6dc40a2

2 years agoecore_wl2_display: remove checking TMP_WM_READY. 42/275742/1
Hosang Kim [Tue, 31 May 2022 07:56:07 +0000 (16:56 +0900)]
ecore_wl2_display: remove checking TMP_WM_READY.

Change-Id: Ibb60d6a5e757c527abbc7c16c813dd813284b370

2 years agoeo_base_class: fixed possible null dereference 22/275622/2
Michal Szczecinski [Fri, 27 May 2022 08:30:00 +0000 (10:30 +0200)]
eo_base_class: fixed possible null dereference

Change-Id: I399b323d23610daf51becd878bac24ae0b38847d

2 years agoevas: proper image scaling 91/268691/3 accepted/tizen/unified/20220526.143700 submit/tizen/20220525.023233
mgrudzinska [Wed, 29 Dec 2021 23:59:30 +0000 (00:59 +0100)]
evas: proper image scaling

In the case an image is cached, the scaling should depend
on the SVG's preserveAspectRatio attribute. If the tvg loader
is used, this value is known only inside TVG, so the transformation
matrix established in EFL can not be applied and the scaling has to
be done in TVG.

Change-Id: I620fcb29d262bad278274815bd8a22dea1d587c8

2 years agogenlist: Fix for null check. 06/275206/1
jykeon [Wed, 18 May 2022 07:16:28 +0000 (16:16 +0900)]
genlist: Fix for null check.

Change-Id: I64e7afd3e3deead4a0d76880b565e17ddae9544d
Signed-off-by: jykeon <jykeon@samsung.com>
2 years agoevas: Add for missing return value. 01/275201/2
jykeon [Wed, 18 May 2022 05:57:34 +0000 (14:57 +0900)]
evas: Add for missing return value.

Change-Id: I1f202f67d768e19da73ebfd0efe6776f3dc7b56f
Signed-off-by: jykeon <jykeon@samsung.com>
2 years agogenlist: Fix for null check 59/275159/2
jykeon [Tue, 17 May 2022 10:37:51 +0000 (19:37 +0900)]
genlist: Fix for null check

Change-Id: Ic907d3a3c22f5fc9446b4fc0c65f395696ea95f4
Signed-off-by: jykeon <jykeon@samsung.com>
2 years agoEnable AT-SPI by default for suppressed screen-reader 62/275162/1
Shinwoo Kim [Tue, 17 May 2022 11:06:16 +0000 (20:06 +0900)]
Enable AT-SPI by default for suppressed screen-reader

The ELM_SUPPRESSED_SCREEN_READER is enabled if the application wants to
speak directly without going through the screen-reader.

In an environment where the ELM_SUPPRESSED_SCREEN_READER is enabled,
the screen-reader does not use "IsEnabled" property but only
"ScreenReaderEnabled" property.

The "IsEnabled" is enabled by another AT-client such as the Aurum.

So this patch makes the AT-SPI bridge be enabled only if the "IsEnabled"
property is enabled, and ignore the changes of "ScreenReaderEnabled".

Change-Id: I9a006b559083ed19eb6985d7faa75ffac6edc3e5

2 years agoRevert "efl: remove unnecessary packed files" 37/275037/2
Shinwoo Kim [Fri, 13 May 2022 12:16:09 +0000 (21:16 +0900)]
Revert "efl: remove unnecessary packed files"

This reverts commit e0cdd9f65d99ce93c84395cb1be2a80b6efa1115.

Reason:

The rpm macro %{_libdir} is /usr/lib64 on the 64-bit build.
whereas %{_libdir} is /usr/lib on the 32-bit build.

But
the prefix of following files is /usr/lib on the 64-bit build.
No the prefix is not /usr/lib64 on the 64-bit build.

/usr/lib/debug/.build-id
/usr/lib/debug/.build-id/00
/usr/lib/debug/.build-id/00/6352bb9b60c759f3a3fbe71636aa1af486cbaf
/usr/lib/debug/.build-id/00/6352bb9b60c759f3a3fbe71636aa1af486cbaf.debug

For more details, I could get following information from 64-bit build.

rpmbuild/BUILDROOT$ ls -alt efl-1.25.1-0.aarch64/usr/lib/debug/.build-id/a1

df87ab6a793ab172fab8d72d500a1537f4170.debug -> ../../usr/lib64/libefl.so.1.25.1.debug
df87ab6a793ab172fab8d72d500a1537f4170 -> ../../../../lib64/libefl.so.1.25.1

I have no idea how the commit e0cdd9f removed the unexpected files above
We need to check if the same problem the commit e0cdd9f tried to solve happens again.

This patch is solving a rpm 64-bit build error on the TV product.
The build error is:

[  591s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/efl-1.25.1-0.aarch64
[  591s] error: Installed (but unpackaged) file(s) found:
[  591s]    /usr/lib/debug/.build-id/03/6e8ba7777cd243f78b8d0000b50f2479126c08
[  591s]    /usr/lib/debug/.build-id/03/6e8ba7777cd243f78b8d0000b50f2479126c08.debug
[  591s]    /usr/lib/debug/.build-id/1a/9a4c7f66ae4caea8a537f3af0ab7c77d65013b
[  591s]    /usr/lib/debug/.build-id/1a/9a4c7f66ae4caea8a537f3af0ab7c77d65013b.debug
[  591s]    /usr/lib/debug/.build-id/1e/a8bda77f406def3d779347c5e7c7ac619c75c2
[  591s]    /usr/lib/debug/.build-id/1e/a8bda77f406def3d779347c5e7c7ac619c75c2.debug

Yes, again, the prefix is /usr/lib, not /usr/lib64.

Change-Id: Ia8cd3f3b7543492bf579a4cfaf2c5543c08244ae

2 years agoevas: support npatch image in webp 85/274885/7 submit/tizen/20220513.082339
tscholb [Wed, 11 May 2022 10:48:50 +0000 (19:48 +0900)]
evas: support npatch image in webp

npatch image is only support in png
so i added some code to support it in webp

Change-Id: I2c553d72ae8d470219c5ec1b98c0d98d4ed26e05

2 years agoecore_wl2_display: waiting for window server is ready. 90/273190/4
Hosang Kim [Wed, 30 Mar 2022 10:27:16 +0000 (19:27 +0900)]
ecore_wl2_display: waiting for window server is ready.

Change-Id: I1c7a99615ff50869e78107a34fe5e0f71d6c86fa

2 years agogenlist: Fix build error. 16/274916/1
jykeon [Thu, 12 May 2022 04:44:43 +0000 (13:44 +0900)]
genlist: Fix build error.

Change-Id: I9f3588b3b7e683728a9812155d21043c93f495f8
Signed-off-by: jykeon <jykeon@samsung.com>
2 years agogenlist: unset FOCUSABLE, HIGHLIGHTABLE for DISPLAY_ONLY item 73/274873/1
Shinwoo Kim [Wed, 11 May 2022 07:40:27 +0000 (16:40 +0900)]
genlist: unset FOCUSABLE, HIGHLIGHTABLE for DISPLAY_ONLY item

Application uses the DISPLAY_ONLY item as a seperator.
This item does not have to get focus or highlight.

Change-Id: Ic49a81ea96f194cf8de44a231cd5c7df683c1249

2 years agoatspi,genlist: Fix parent-children incosistencies in atspi tree 10/274610/1
Shinwoo Kim [Tue, 3 May 2022 09:32:15 +0000 (18:32 +0900)]
atspi,genlist: Fix parent-children incosistencies in atspi tree

This patch is lost part of following commit.

commit ab83efe24c1c212cb5b67af0444350e65dd876be
Author: Radoslaw Cybulski <r.cybulski@partner.samsung.com>
Date:   Mon Oct 22 10:57:07 2018 +0200

    Fix parent-children incosistencies in atspi tree

    Fixes incosistencies (where obj A was child of object B, but object B's
    parent was different, than A) in atspi tree. Now atspi parent is
    retrieved by calling efl_access_object_access_parent_set.

    Change-Id: I3e20af88bd7f066f3f9faa5185e4028d0e5e05db

Change-Id: I38b55c5c6bf48a490a667af24e88949ae6f6ab5d

2 years agoecore_wl2_subsurf: make subsurface locate below parent 30/274330/1 accepted/tizen/unified/20220428.162702 submit/tizen/20220427.042343
Shinwoo Kim [Tue, 26 Apr 2022 10:04:52 +0000 (19:04 +0900)]
ecore_wl2_subsurf: make subsurface locate below parent

Application is not able to call.

  - tizen_policy_place_subsurface_below_parent

So ecore_wl2_subsurf is calling this when a subsurface is exported.

Change-Id: I80738fa8ee15a781ca69daeaaf8bccd5301d6335

2 years agoecore_wl2_window: modify configure event's size 27/274127/3
Doyoun Kang [Thu, 21 Apr 2022 23:49:46 +0000 (08:49 +0900)]
ecore_wl2_window: modify configure event's size

There was an ambiguous configure event's size. So we modified the code to determine
the size of the configure event for each case.

@tizen_only

Change-Id: I13001bedf9a1035b5f8023d97a76a39b6d05370e

2 years agoefl_ui_widget: add null check for smart data 72/273672/2 accepted/tizen/unified/20220422.021246 submit/tizen/20220421.004950
Bowon Ryu [Tue, 12 Apr 2022 05:13:41 +0000 (14:13 +0900)]
efl_ui_widget: add null check for smart data

Change-Id: Ic10b5170ea4da28c307367e6e58d06baf16f50e7
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
2 years ago[UI Thread] Fix duplicated initialization of ecore signal handler 28/273928/2 submit/tizen/20220419.070532
Hwankyu Jhun [Mon, 18 Apr 2022 06:49:57 +0000 (15:49 +0900)]
[UI Thread] Fix duplicated initialization of ecore signal handler

To prevent duplicated initialization of the ecore signal handler, this patch add
a new flag to check whether the ecore signal is initialized or not.
Before creating a new child process, the ecore signal handler blocks signals to
stop inheriting signal handlers. After creating a new child process,
the ecore signal handler unblocks signals.

Change-Id: I5f8e2efffec98e9cd3e4387420ceb7126aa01d84
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoecore_wl2_display: modify code for ecore_wl2_display_screen_size_get 73/273573/1 accepted/tizen/unified/20220418.141309 submit/tizen/20220414.061035
Doyoun Kang [Fri, 8 Apr 2022 01:20:52 +0000 (10:20 +0900)]
ecore_wl2_display: modify code for ecore_wl2_display_screen_size_get

We modified code that this API returns only current screen size not all screens size.
If an user wants to get whole screen size, then use below API.
- ecore_wl2_display_all_screens_size_get

@tizen_only

Change-Id: Iea71ea890d5141e4d5e303db5023311c93ec2113

2 years agoecore_wl2_display: add API for getting all screens size 31/273531/2
Doyoun Kang [Thu, 7 Apr 2022 05:40:46 +0000 (14:40 +0900)]
ecore_wl2_display: add API for getting all screens size

we add a new API for getting a size of all connected screens
- ecore_wl2_display_all_screens_size_get

@tizen_only

Change-Id: I11489c1be17c748445ce424ce9fdff0574d4dce1

2 years ago[UI Thread] Fix ecore signal handler 21/272621/7
Hwankyu Jhun [Tue, 22 Mar 2022 02:10:23 +0000 (11:10 +0900)]
[UI Thread] Fix ecore signal handler

To forward the signal to the previous signal handler, the ecore signal
saves previous actions.

Change-Id: I5b5a6088e98df3ae8928014f5d149d9bcff9394f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years ago[UI Thread] Use tizen glib context 75/273175/2
Hwankyu Jhun [Thu, 31 Mar 2022 06:59:16 +0000 (15:59 +0900)]
[UI Thread] Use tizen glib context

After this patch is applied, ecore main loop dispaches tizen glib context.
The application core sets the tizen glib context using setenv() with
"TIZEN_GLIB_CONTEXT".

Change-Id: Ib1405fe6fb8a646a946b8c666b7d0ef74e0bfcc4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoevas_gl: add logs in evgl_tls 60/273160/4
Daekwang Ryu [Thu, 31 Mar 2022 05:45:09 +0000 (14:45 +0900)]
evas_gl: add logs in evgl_tls

To check the reason that _evgl_tls_resource_get() failed, logs are
added.
The issue causes that doesn't destroy eglContext in
evgl_destroy_context().

Change-Id: I97692933144a1902dd80c7d432b34d36b9620a2f

2 years agoecore_wl2_window: added APIs for set min / max size of window 12/272812/4
Junseok Kim [Fri, 25 Mar 2022 02:43:26 +0000 (11:43 +0900)]
ecore_wl2_window: added APIs for set min / max size of window

@tizen_only

Change-Id: Iebd4193320fb55d33a489e46f20dde37d2e64eec
Signed-off-by: Junseok Kim <juns.kim@samsung.com>
2 years agoevas: fix memleak during a picture duplication 10/268910/3
Mira Grudzinska [Tue, 4 Jan 2022 23:55:12 +0000 (00:55 +0100)]
evas: fix memleak during a picture duplication

A tvg picture is created twice - by efl and by tvg.
The object created by efl has to be deleted in order
to prevent memory the leaks.

Change-Id: I74629c8cb8ea47e476e102cefcb45ee571837856

2 years agoelm_entry: do not send clicked signal if disabled 21/272821/1
Prateek Thakur [Fri, 25 Mar 2022 04:54:24 +0000 (10:24 +0530)]
elm_entry: do not send clicked signal if disabled

Clicked signal was sent even when entry was disabled.
Due to this application would receive clicked signal on disabled entry and
can cause issue if they are taking any decision on this signal.

Change-Id: I72ddfbfa1c9cade57cf9936440392b077e4caffb
Signed-off-by: Prateek Thakur <prateek.th@samsung.com>
2 years agoecore_wl2, elm: add resource id to window attribute 15/272715/4 accepted/tizen/unified/20220325.133343 submit/tizen/20220325.025506
Shinwoo Kim [Wed, 23 Mar 2022 05:02:12 +0000 (14:02 +0900)]
ecore_wl2, elm: add resource id to window attribute

The window resource id is unique value in the system.
This value can be used in screen-reader to support multi-window.
The screen-reader will use this to find a window at xy position.

Change-Id: Ibf19a2aaf4b698cb518b677220a100e14cb1be6f

2 years ago[UI Thread] Use thread default context 74/270474/11
Hwankyu Jhun [Thu, 3 Feb 2022 06:43:34 +0000 (15:43 +0900)]
[UI Thread] Use thread default context

If the process sets the thread default context, the ecore main loop uses
it instead of the global default context.

Change-Id: Icf01d6098ad3c3c9e82d5fbf8045c45e85877928
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2 years agoecore_evas_tbm: fix a 'NO_RETURN_VALUE' issue 25/272525/3
duna.oh [Fri, 18 Mar 2022 08:18:45 +0000 (17:18 +0900)]
ecore_evas_tbm: fix a 'NO_RETURN_VALUE' issue

Change-Id: Ied351b15f24a18a813659c11ff52efe9a0f13d7b

2 years agoevas: Fixed Null defect issue. 01/272501/2
jykeon [Fri, 18 Mar 2022 02:58:15 +0000 (11:58 +0900)]
evas: Fixed Null defect issue.

Change-Id: I941a6a3e87b4297f5939028c7590b1f9d1f9d777
Signed-off-by: jykeon <jykeon@samsung.com>
2 years agoecore_evas_tbm: use a longer string's length in strncmp() 89/272489/1
duna.oh [Fri, 18 Mar 2022 00:38:05 +0000 (09:38 +0900)]
ecore_evas_tbm: use a longer string's length in strncmp()

Change-Id: I0c8b323ec4518f79905699cb3e68243a98100ff2

2 years agoecore_evas_tbm: fix a wrong seat device as parent of a evas_device 84/272484/1
duna.oh [Thu, 17 Mar 2022 10:38:30 +0000 (19:38 +0900)]
ecore_evas_tbm: fix a wrong seat device as parent of a evas_device

It was a bug that all of evas_devices in tbm backend have a default seat,
though a device sits in different seat, other than 'Enlightenment seat'.
This is fixed by using seatname in Ecore_Event_Device_Info struct.
A device now has a right seat device as a parent of it.

Change-Id: Ica419b3c56eb18a376fe462346da70b234790466

2 years agoevas: ++safety 13/271913/6
Michal Szczecinski [Thu, 3 Mar 2022 06:23:24 +0000 (07:23 +0100)]
evas: ++safety

Stability tests detected crash in evas_object_pointer_grab_del function.
This commit checks NULL dereference in this API.

Change-Id: I2109755e2c38e44ebbf048b32988dd41f7dc0bb0

2 years agoecore_wl2: do not destroy tizen_position in ecore_wl2_window_hide 72/272372/1
Doyoun Kang [Tue, 15 Mar 2022 09:43:32 +0000 (18:43 +0900)]
ecore_wl2: do not destroy tizen_position in ecore_wl2_window_hide

There was a bug that the window's position was wrong if a window called
ecore_wl2_window_position_set after calling ecore_wl2_window_hide.
In this case, the display server didn't get an information about new position
because the tizen_position was destroyed. When the window was shown again, the
display server sent configure event using old position not new position.
By this, window moved to wrong(old) position.

This patch resolve this problem.

@tizen_only

Change-Id: I28b377ca5fd77106a69f442e4300feb891236d84

2 years agoevas vg json: hide parent layer if invisible mask applied 09/269909/3 accepted/tizen/unified/20220316.182839 submit/tizen/20220307.054027 submit/tizen/20220315.013931
Michal Maciola [Fri, 21 Jan 2022 10:09:36 +0000 (11:09 +0100)]
evas vg json: hide parent layer if invisible mask applied

If a layer has an invisible mask applied, parent layer will be set
invisible too. It will help displaying some json files correctly.

Change-Id: Ibaacb3f9617eace384eba0e5fa38032ed9ba9ebf

2 years agoelm_atspi: use timer to recover bridge init failure 45/271645/3
Shinwoo Kim [Thu, 24 Feb 2022 05:17:59 +0000 (14:17 +0900)]
elm_atspi: use timer to recover bridge init failure

An idler has been used to recover bridge init failure.
The idler callback can be called within 1 ms. By the result,
an application was not able to initialize the ATSPI bridge.

So this patch is using a timer and retry for 1 min.

Change-Id: I7d42ec6985b8fe932eb8020b5ea4cf1785365a0e

2 years agoecore_con: add missing goto for error case. 21/271721/1 submit/tizen/20220304.033428
Hosang Kim [Fri, 25 Feb 2022 09:51:15 +0000 (18:51 +0900)]
ecore_con: add missing goto for error case.

Change-Id: I8dc140ec95c43897db5cfabb4742c9608134a1c4
Signed-off-by: Hosang Kim <hosang12.kim@samsung.com>
2 years agoevas_object_smart: Set child_has_map flag to parent when parent is set 22/271622/1
Jaehyun Cho [Wed, 23 Feb 2022 12:16:35 +0000 (21:16 +0900)]
evas_object_smart: Set child_has_map flag to parent when parent is set

Previously, parent's child_has_map flag was set only when
evas_object_map_enable_set was called for its child.

This causes an issue that mouse touch may not be caught by the parent.
Because the parent's child_has_map is supposed to be true but it is
actually false.
So the bounding_box of the parent may not be updated properly but mouse
touch is checked by the intersection of the bounding_box since
child_has_map flag is false.

Now, parent's child_has_map flag is set when parent is set.
So child_has_map flag is set to parent and mouse touch is caught
correctly.

Change-Id: I2ed8e57e3a929a6d37f65c319e4306d58f4d88e0

2 years agoecore_evas:fix string comparison of device's identifier 39/271339/5
duna.oh [Fri, 18 Feb 2022 04:30:06 +0000 (13:30 +0900)]
ecore_evas:fix string comparison of device's identifier

Change-Id: I0ecfd04e021af8801dc5ae9c77bdc85a79cf0f0e

2 years agoFix:meson build error. 23/271423/2 accepted/tizen/unified/20220221.080255 submit/tizen/20220221.054736
jykeon [Mon, 21 Feb 2022 05:08:01 +0000 (14:08 +0900)]
Fix:meson build error.

Change-Id: I3d69cc97563e226416163563cb7f4fbea28816df
Signed-off-by: jykeon <jykeon@samsung.com>
2 years agoedje_calc: fix check return of _edje_fetch 58/270858/2
Jaehyun Cho [Thu, 10 Feb 2022 07:26:25 +0000 (16:26 +0900)]
edje_calc: fix check return of _edje_fetch

Summary: checks if _edje_fetch returns null before calling _edje_recalc_do.

Reviewers: Hermet, raster, kimcinoo, jsuya

Reviewed By: jsuya

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D12322

Change-Id: Id1c680e79abd348fa5cc888f0e50334fc93571c5

2 years agoUpdate gcove output patch 91/270691/1 accepted/tizen/unified/20220209.131748 submit/tizen/20220208.041216
jykeon [Tue, 8 Feb 2022 02:18:31 +0000 (11:18 +0900)]
Update gcove output patch

Change-Id: I3bc99b139538df6df48d82aa75d9aba401c2d853
Signed-off-by: jykeon <jykeon@samsung.com>
2 years agogen : remove unnecessary focus_manager calls. 73/270173/3
EverLEEst(SangHyeon Lee) [Wed, 26 Jan 2022 07:39:26 +0000 (16:39 +0900)]
gen : remove unnecessary focus_manager calls.

Change-Id: Ic992497fd990cc0e6c3bd37ab5aeb8d41323baf6

2 years agoevas_device: remove pointer data for touch device. 43/269843/1
Hosang Kim [Tue, 23 Feb 2021 12:37:42 +0000 (21:37 +0900)]
evas_device: remove pointer data for touch device.

Pointer data of touch device is always created.
But it can't be removed when device is removed.
Because there is condition for checking mouse or not.

Change-Id: I9132cef203135a605f3aad9684baf79b1766b03e

2 years agoecore_wl2: do not destroy tizen_rotation in ecore_wl2_window_hide 02/269602/1 accepted/tizen/unified/20220125.121829 submit/tizen/20220120.091110
Doyoun Kang [Wed, 19 Jan 2022 04:12:53 +0000 (13:12 +0900)]
ecore_wl2: do not destroy tizen_rotation in ecore_wl2_window_hide

There was a bug that the display server (enlightenment) didn't get rotation done event if
a window called ecore_wl2_window_rotation_change_done_send after calling ecore_wl2_window_hide.

This patch resolve this problem.

@tizen_only

Change-Id: I20cd592e4744f033978d65977d72a1bb9968441b
Signed-off-by: Doyoun Kang <doyoun.kang@samsung.com>
2 years agoevas render: Fixed invalid sanity check 01/267101/2
Michal Szczecinski [Thu, 25 Nov 2021 10:58:31 +0000 (11:58 +0100)]
evas render: Fixed invalid sanity check

Change-Id: I1db4c81ca84a5c81205eeba946cce687a2c9721d

2 years agoevas examples: improved evas-vg-json-multiple.c example 65/267865/2
Michal Maciola [Fri, 10 Dec 2021 15:47:28 +0000 (16:47 +0100)]
evas examples: improved evas-vg-json-multiple.c example

Change-Id: I6ebf64ca1b8609869db97d3a6053cc44ba70da18

2 years agovg json : Don't create empty shape 11/268611/3
jykeon [Tue, 28 Dec 2021 05:20:53 +0000 (14:20 +0900)]
vg json : Don't create empty shape

Change-Id: I0d9dc77f0061b199e71491624ee6df9f080316ec
Signed-off-by: jykeon <jykeon@samsung.com>
2 years agovg_common: Invert LOTNode transformation matrix before translate. 21/268321/2
Michal Szczecinski [Mon, 20 Dec 2021 09:22:32 +0000 (10:22 +0100)]
vg_common: Invert LOTNode transformation matrix before translate.

Columns and rows in the LOTNode->image->data transformation matrix are
inverted. This commit uses valid layout.

Change-Id: Ia7647f13902db9de3045d78a8a32b18b76a48135

2 years agoevas vg json: refactor masks construct 67/267867/3
Michal Maciola [Fri, 10 Dec 2021 15:56:35 +0000 (16:56 +0100)]
evas vg json: refactor masks construct

This patch changes how nodes that have masks are handled.
TVG doesn't implement masking as mask Substract/Intersect/Difference.
If such masks was used, for most cases, the whole node was masked and
incorrectly invisible. After this patch it should be working correctly
(or just better) for most basic cases with a single mask.

Change-Id: I9204255b79bc6adf551a844de156a8d3e3e41665

2 years agoRevert "vg_common_json: No path information, do not create a shape" 63/268563/1 accepted/tizen/unified/20211228.140402 submit/tizen/20211227.054708
Chun [Mon, 27 Dec 2021 02:47:16 +0000 (02:47 +0000)]
Revert "vg_common_json: No path information, do not create a shape"

This reverts commit b688e1d312aa33ac3c71c7aeac783bdbefc0fb78.

Change-Id: I82a45e07b36057bfce1238fa56c80a423ff3f293