platform/upstream/efl.git
15 months agoecore_wl2: support pin mode feature 17/289417/2
Doyoun Kang [Tue, 7 Mar 2023 10:02:17 +0000 (19:02 +0900)]
ecore_wl2: support pin mode feature

Change-Id: I90a329829c7b70b2e6016f0a915179ee4eaff1fd

15 months agoFix Build error on elm_win_frontbuffer 58/289458/3 accepted/tizen/unified/20230309.161427
jykeon [Wed, 8 Mar 2023 02:10:19 +0000 (11:10 +0900)]
Fix Build error on elm_win_frontbuffer

Change-Id: I4dcf1a681c7800f6801c333b7ed29ed629e35f4a
Signed-off-by: jykeon <jykeon@samsung.com>
15 months agofix build error on elm_win 16/289416/1
Hosang Kim [Tue, 7 Mar 2023 09:53:57 +0000 (18:53 +0900)]
fix build error on elm_win

Change-Id: I9ee6b9728f0e86ae42c44e65a06e409a4265231a

15 months agoefl_ui_win: Added frontbuffer mode. 08/289208/3
Michal Szczecinski [Thu, 2 Mar 2023 13:24:16 +0000 (14:24 +0100)]
efl_ui_win: Added frontbuffer mode.

Introduced new API:
- elm_win_use_frontbuffer_set(Evas_Object *obj, Eina_Bool
  use_frontbuffer) : setter of internal option.
- Eina_Bool elm_win_use_frontbuffer_get(Evas_Object *obj):
  getter of internal option.
- elm_win_frontbuffer_add()

When use_frontbuffer mode is set wayland engine uses frontbuffer
rendering mode on specified window.

Usage example:

   win = efl_add_ref(EFL_UI_WIN_CLASS, NULL,
                efl_ui_win_name_set(efl_added, "win-example"),
                efl_text_set(efl_added, "Elm_Win Example"),
                elm_win_use_frontbuffer_set(efl_added, EINA_TRUE));

   or:

   win = elm_win_frontbuffer_add(NULL, "win-example", "win-example", ELM_WIN_BASIC);

Change-Id: Ia1b06841f7ced23991d275ac09002bb89efa4fd2

15 months agoelementary: Add NULL check for Elm_Slideshow_Item_Data *item parameter 47/288347/3 accepted/tizen/unified/20230228.052749
Hubert Stachowiak [Wed, 15 Feb 2023 10:19:22 +0000 (11:19 +0100)]
elementary: Add NULL check for Elm_Slideshow_Item_Data *item parameter

Fixes a possible NULL dereference at Evas_Object *obj = WIDGET(item);

Change-Id: I13a6ef8564e26043c4e9e1bd73f45dba205e6a97

15 months agoecore_wl2: Remove second _buffer_manager_destroy() call 60/288360/2 accepted/tizen/unified/20230223.162159
Hubert Stachowiak [Wed, 15 Feb 2023 13:28:52 +0000 (14:28 +0100)]
ecore_wl2: Remove second _buffer_manager_destroy() call

_ecore_wl2_buffer_partial_create function will call _buffer_manager_destroy() when returning NULL. Second _buffer_manager_destoroy() call in _ecore_wl2_buffer_test function is unnecessary.

Change-Id: Id6b13cbdfafd47834b3c1fd4f5914094c1e26727

15 months agoedje: Fix memory leak 64/288364/3
Hubert Stachowiak [Wed, 15 Feb 2023 14:28:57 +0000 (15:28 +0100)]
edje: Fix memory leak

If free_string flag was set to true and string wasn't empty it would never be freed causing a memory leak.

Change-Id: Iab0b52cb1f35f3c3dcce1ba3952fc754daebec85

15 months agoecore_wl2_input: use a cloned eina_list when calling ecore_device_del() 52/288552/3
duna.oh [Mon, 20 Feb 2023 02:49:37 +0000 (11:49 +0900)]
ecore_wl2_input: use a cloned eina_list when calling ecore_device_del()

Change-Id: I14e54a246f3937af88f831813e685df26e09fea1

15 months agoecore_wl2_window: fix bug for ecore_wl2_window_input_rect_set 93/288693/2
Doyoun Kang [Tue, 21 Feb 2023 11:26:10 +0000 (20:26 +0900)]
ecore_wl2_window: fix bug for ecore_wl2_window_input_rect_set

There was a bug that the input rect area was not saved to internal value in
ecore_wl2_window_input_rect_set(). For this, the ecore_wl2_window_input_rect_add
or ecore_wl2_window_input_rect_subtract didn't work as we expected.
This resolve this problem.

@tizen_only

Change-Id: I1bb08f02a766c215c0bcf44ca01e3ad5a6bab33e

15 months agoecore_wl2: unset user request size flag in interactive_resize_done 16/288616/1
Doyoun Kang [Mon, 20 Feb 2023 09:59:34 +0000 (18:59 +0900)]
ecore_wl2: unset user request size flag in interactive_resize_done

Change-Id: I015959a17513ea286675631b7b6f0b8039009e3c

15 months agoecore_wl2_window: add more information in the log for generating configure_event 02/288502/1
Doyoun Kang [Fri, 17 Feb 2023 08:49:43 +0000 (17:49 +0900)]
ecore_wl2_window: add more information in the log for generating configure_event

Change-Id: I0fcfc48d68920cf97eef1673b316099545b9cd5d

15 months agoecore_wl2_tbmsurface: Fix use after free 76/288276/5
Changyeon Lee [Tue, 14 Feb 2023 09:53:22 +0000 (18:53 +0900)]
ecore_wl2_tbmsurface: Fix use after free

This patch fixes the following problem
+-----------------------------------------------------------------------+
|ERROR: AddressSanitizer: heap-use-after-free on address 0x007fa46ce840 |
|       at pc 0x007faaee4c68 bp 0x007fd4c23230 sp 0x007fd4c23248        |
|READ of size 4 at 0x007fa46ce840 thread T0                             |
|#0 0x7faaee4c64 in _tbm_surface_queue_is_valid                         |
|#1 0x7faaeee8a0 in tbm_surface_queue_release                           |
|#2 0x7faded480c in buffer_release                                      |
|#3 0x7faa4d3fd4 in ffi_call_SYSV                                       |
|#4 0x7faa4d2ba0 in ffi_call_int                                        |
|#5 0x7fad00f720 in wl_closure_invoke                                   |
|#6 0x7fad002a58 in dispatch_event                                      |
|                                                                       |
|freed by thread T0 here:                                               |
|#1 0x7faaef1284 in tbm_surface_queue_destroy                           |
|#2 0x7faded5a68 in _evas_tbmbuf_surface_destroy                        |
|||#3 0x7faded3648 in ecore_wl2_surface_destroy                         |
|#4 0x7fa3d395c0 in _evas_outbuf_free                                   |
|#5 0x7fa3d37d90 in evas_render_engine_software_generic_clean           |
|#6 0x7fa3d37d90 in eng_output_free                                     |
+-----------------------------------------------------------------------+

Change-Id: I1feda9e7d8fa0832dc0a0fe83af637d897a3ef8c

15 months agoelm_slider: Reduce the number of atspi events 19/287919/4
Artur Świgoń [Tue, 7 Feb 2023 18:44:20 +0000 (19:44 +0100)]
elm_slider: Reduce the number of atspi events

There was a double emission of the value-changed event on D-Bus when the value
had been changed by the user. In case of a self-rounding slider (which resets
its own value on the 'changed' event) there were three events instead of two.
This patch fixes this.

@tizen_only

Change-Id: Ia4c5096fe6fc95fd314d73aa69b4cc1c3ff16cee

16 months agoeina_list.c: improved safety 88/287488/4
Patryk Kaczmarek [Tue, 31 Jan 2023 00:37:26 +0000 (01:37 +0100)]
eina_list.c: improved safety

Change-Id: I7e79ae4120b1f24165d779884645fcb6b7ac12dc

16 months agoecore_wl2_window: send configure event when window position is changed. 82/287782/2
Hosang Kim [Mon, 6 Feb 2023 05:28:23 +0000 (14:28 +0900)]
ecore_wl2_window: send configure event when window position is changed.

Change-Id: Ibcb61024a3f7d75540f14546269d09ce51e5f7f4

16 months agoevas_event: only frame object is operated in frame area. 44/287744/1
Hosang Kim [Fri, 3 Feb 2023 11:12:40 +0000 (20:12 +0900)]
evas_event: only frame object is operated in frame area.

Change-Id: Ia61ef14e0c68d6203d6fb7034b6de0ab764872d0

16 months agoecore_wl2_window: check current geometry in window_sync_geometry_set function 33/287733/2 accepted/tizen/unified/20230215.100741
Doyoun Kang [Fri, 3 Feb 2023 07:33:03 +0000 (16:33 +0900)]
ecore_wl2_window: check current geometry in window_sync_geometry_set function

There was a bug that the pending.user_resize value was not unset if the new geometry was same
to current geometry in ecore_wl2_window_sync_geometry_set().
This was becuase that the display server didn't send the configure event if the window geometry
was not changed.

So, we changed code that the ecore_wl2_window_sync_geometry_set() function just returns if
the new geometry is same to previous geometry.

@tizen_only

Change-Id: Idff1ba819f45a83cfdd6ff5dbab03d51334379bf

16 months agoFix re-highlighting Elm_List_Item 11/287411/1
Artur Świgoń [Fri, 27 Jan 2023 13:30:35 +0000 (14:30 +0100)]
Fix re-highlighting Elm_List_Item

When an already highlighted list item was tapped, the highlight frame
disappeared. This patch fixes this issue.

Change-Id: Idfcfc708f221da86ac0b9f7dc20b1de63d26b662

16 months agoelm_entry: fix for anchor navigation and activation 77/287377/1
Maria Bialota [Tue, 24 Jan 2023 16:26:32 +0000 (17:26 +0100)]
elm_entry: fix for anchor navigation and activation

Change-Id: I8e495fa156b6d79617b054fac9963abbf4d8de13

16 months agoefl_ui_win: add minimum/maximum sizes set API. 33/287233/3
Hosang Kim [Wed, 25 Jan 2023 06:05:47 +0000 (15:05 +0900)]
efl_ui_win: add minimum/maximum sizes set API.

Change-Id: I4882ccfc49d45b3378dfe9b3150aad6bd0ebdd53

16 months agoefl_ui_win: Disable automatic size_min/max_set. 29/287229/1
Hosang Kim [Wed, 25 Jan 2023 05:55:02 +0000 (14:55 +0900)]
efl_ui_win: Disable automatic size_min/max_set.

Change-Id: I61f762e1e8aa47730233f3d344755b372769654a

16 months agoelc_hoversel: Fix checking at_point coordinates 67/287167/1
Artur Świgoń [Fri, 20 Jan 2023 13:32:13 +0000 (14:32 +0100)]
elc_hoversel: Fix checking at_point coordinates

The conditions were wrong, but thankfully there exists the IS_INSIDE macro.

Change-Id: I6635ec7c459509003d4a73a5d864e6d2deaf12a9

16 months agoelc_hoversel: override accessible_at_point getter 96/287096/5
Lukasz Oleksak [Thu, 19 Jan 2023 14:05:37 +0000 (15:05 +0100)]
elc_hoversel: override accessible_at_point getter

Dedicated implementation is needed because general purpose implementation
provided in efl_ui_widget does not work for widgets having children objects
located ouside the geometry of their parent.

See: _is_inside(), a local function in efl_ui_widget.c

@tizen_only

Change-Id: I52137fd6b3898944481a5b4d6c1fa5fab5403d37

16 months agoelc_hoversel: Handle default label object 63/286763/3
Lukasz Oleksak [Thu, 12 Jan 2023 10:58:42 +0000 (11:58 +0100)]
elc_hoversel: Handle default label object

Activated hoversel should create its own navigation context when
accessibility mode is on.

@tizen_only

Change-Id: I6968195d930343b461d9e80a54b8358f5b75639f

16 months agoelc_hoversel: Remove efl_access_object_access_children_get 80/287080/1
Artur Świgoń [Thu, 19 Jan 2023 09:56:52 +0000 (10:56 +0100)]
elc_hoversel: Remove efl_access_object_access_children_get

@tizen_only

Change-Id: I558acdcf863cecf9c2f4f94f383a5b288104697a

16 months agoevas_device: fix memory leak. 57/286957/1
Hosang Kim [Tue, 17 Jan 2023 10:14:18 +0000 (19:14 +0900)]
evas_device: fix memory leak.

When window is destroyed, evas devices are not deleted.

Change-Id: I2a313c3c90f91a266616f740137728627bdfa408

16 months agoecore_wl2_window: fix memory leak on aux hints 44/286944/3 accepted/tizen/unified/20230120.182028
Hosang Kim [Tue, 17 Jan 2023 07:14:03 +0000 (16:14 +0900)]
ecore_wl2_window: fix memory leak on aux hints

Change-Id: Ib783e0b804600e9a5cf008d573ec49f838d2ad7c

16 months ago elementary: fix double free 32/286932/2
Hosang Kim [Tue, 17 Jan 2023 05:19:13 +0000 (14:19 +0900)]
 elementary: fix double free

use ELM_SAFE_FREE for preventing double free.

Change-Id: Ib37cf930035cd4b7a0cd52a0347cbc3d1d71c953

16 months agoecore_evas: remove resize function when min/max is set. 97/286897/3
Hosang Kim [Mon, 16 Jan 2023 09:57:17 +0000 (18:57 +0900)]
ecore_evas: remove resize function when min/max is set.

Change-Id: Ia2036afd730612f0f94aba2926229687b778b329

16 months agoefl_ui_win: support border style window. 96/286896/2
Hosang Kim [Mon, 16 Jan 2023 09:49:28 +0000 (18:49 +0900)]
efl_ui_win: support border style window.

1. set minimum size of window to border size.
2. fix calcuating maximized window size.

Change-Id: Ie1dfb33515555943c982cc81899d86bee69c575f

16 months agoecore_wl2_private: add touch max count 59/286759/1 accepted/tizen/unified/20230113.091229
Hosang Kim [Thu, 12 Jan 2023 10:17:42 +0000 (19:17 +0900)]
ecore_wl2_private: add touch max count

Change-Id: Iaa3c5f957320d01f352deadac4e945db43f9fe04

16 months agoecore_wl2_input: add touch id slots for distinguishing single touch and multi touch. 53/286653/2
Hosang Kim [Mon, 8 Feb 2021 06:36:46 +0000 (15:36 +0900)]
ecore_wl2_input: add touch id slots for distinguishing single touch and multi touch.

Sometimes touch count is different between window manager and application.
(For example, application window is removed)
So add touch id slots for counting touch event.

Change-Id: Iea15ac3e5d77ea7c108289cc896b8933ff386d8e
(cherry picked from commit a35765c7113513d1bc9eda7775b655c68f3d5fb4)

16 months agoecore_evas/ecore_wl2_window: apply shadow area to border window 36/286236/3
Hosang Kim [Mon, 2 Jan 2023 08:17:52 +0000 (17:17 +0900)]
ecore_evas/ecore_wl2_window: apply shadow area to border window

Revert "ecore_wl2_window: remove tizen only code for sending configure event"

Change-Id: If38baf76119528a7d0e0d7e1fb742d2f145632f0

16 months agoedje: resize original size after calculating formatted size. 23/286623/5
Hosang Kim [Tue, 10 Jan 2023 13:32:58 +0000 (22:32 +0900)]
edje: resize original size after calculating formatted size.

fix issue that case of "text.min: 0 1" only for minimizing side effect.

Change-Id: If1d0cf73df7ee9a7fbb3d91c0fbf1257a02214fa

17 months agoecore_wl2: add user width and height for ignoring unexpected configure event. 73/286473/4 accepted/tizen/unified/20230110.164116
Hosang Kim [Sun, 8 Jan 2023 04:29:54 +0000 (13:29 +0900)]
ecore_wl2: add user width and height for ignoring unexpected configure event.

Change-Id: I42072a9afa14d36dcf032cd1ffecb0a6055302fe

17 months agoecore_wl2: add resize request set for ignoring configure event 06/286106/1
Hosang Kim [Wed, 28 Dec 2022 04:22:14 +0000 (13:22 +0900)]
ecore_wl2: add resize request set for ignoring configure event

Give more priority to app's resize request than server's request.

@tizen_only

Change-Id: Ib1dbe26ada8a654364b356e7f3bf3d49f9774fa5

17 months agoRevert "efl_ui_win: use move_resize instead of resize" 58/285958/2 accepted/tizen/unified/20221227.170638
kim hosang [Fri, 23 Dec 2022 06:32:20 +0000 (06:32 +0000)]
Revert "efl_ui_win: use move_resize instead of resize"

This reverts commit 0095c3004bebbac79a9710e5df82b8f517371e7e.

Change-Id: I32c1658a1bdd88a1f3d79ab702e9c3a78e956955

17 months agoecore_wl2: check xdg_toplevel before requesting set_maximize_direction 45/285945/1
Doyoun Kang [Fri, 23 Dec 2022 01:31:35 +0000 (10:31 +0900)]
ecore_wl2: check xdg_toplevel before requesting set_maximize_direction

There was a bug that the window size was transformed invalid when the xdg_toplevel was not created.
This resolve this problem.

@tizen_only

Change-Id: I8479781d82e273cbcd70b6beee85216c0e024d92

17 months agoecore_wl2_window: modify the size of angle change event 25/285925/4
Hosang Kim [Thu, 22 Dec 2022 09:57:32 +0000 (18:57 +0900)]
ecore_wl2_window: modify the size of angle change event

Sometime def_config geometry value is not updated yet. But it is used to
resize window.

Change-Id: I2bbdfbee8ccc1e6166e4e93182d8ee386c1f10e6

17 months agoecore_evas: change location of setting rotation value 24/285924/2
Hosang Kim [Thu, 22 Dec 2022 09:53:56 +0000 (18:53 +0900)]
ecore_evas: change location of setting rotation value

Change-Id: Id993403db7e9b82739ecc9d0460d8cedf05e8d0a

17 months agoefl_ui_win: use move_resize instead of resize 23/285923/2
Hosang Kim [Wed, 21 Dec 2022 10:48:52 +0000 (19:48 +0900)]
efl_ui_win: use move_resize instead of resize

Use move_resize API to distinguish server's resize request and client's resize request

Change-Id: Idda1dade0c3708d162e1079f16b47926d592fe46

17 months agoecore_wl2_window: remove tizen only code for sending configure event 22/285922/2
Hosang Kim [Wed, 21 Dec 2022 07:53:58 +0000 (16:53 +0900)]
ecore_wl2_window: remove tizen only code for sending configure event

Change-Id: Id205a67d9b7f518de4dc569e9fa0e505fc7f4b00

17 months agoRevert "ecore_wl2: check xdg_toplevel before requesting set_maximize_direction" 16/285916/1
Doyoun Kang [Thu, 22 Dec 2022 08:31:54 +0000 (17:31 +0900)]
Revert "ecore_wl2: check xdg_toplevel before requesting set_maximize_direction"

This reverts commit d9be252a2c85c29ec21364f66a22576a810053a7.

Change-Id: I2575931d8cbbdf39fc4be7589c5afb4c8a20e183

17 months agoecore_wl2: check xdg_toplevel before requesting set_maximize_direction 13/285913/1
Doyoun Kang [Thu, 22 Dec 2022 07:38:23 +0000 (16:38 +0900)]
ecore_wl2: check xdg_toplevel before requesting set_maximize_direction

There was a bug that the window size was transformed invalid when the xdg_toplevel was not created.
This resolve this problem.

@tizen_only

Change-Id: I5d7cb2ca920b8560b0e9cbb5f00369335aa78523

17 months agoRevert "[Tizen] Check window resize issue" 77/285777/1 accepted/tizen/unified/20221226.020934
Wonsik Jung [Tue, 20 Dec 2022 04:41:12 +0000 (13:41 +0900)]
Revert "[Tizen] Check window resize issue"

This reverts commit d6ec98b77787f65bef422093d6497c3653633538.

Change-Id: I727bfbfdd4f38a7d72a549352196608bdceae2ca

17 months ago[AT-SPI] Add child_bus attribute to parents having remote accessibility object child 59/285559/4
Lukasz Oleksak [Wed, 14 Dec 2022 14:36:29 +0000 (15:36 +0100)]
[AT-SPI] Add child_bus attribute to parents having remote accessibility object child

This will allow AT-clients to query in a single dbus call (via collection iface) all busses used for UI embedding.
Result of such query may be used by AT-client to limit its dbus calls to:

a) active window process
b) processes that provide UIs embedded in active window

and avoid dbus calls to processes being in background, which respond very slowly.

Change-Id: Ifb73172cd63d67257ac9c03b9d98c3dbc23fe845

17 months agoecore_wl2: modify the size of configure event 45/285645/1
Doyoun Kang [Fri, 16 Dec 2022 01:43:13 +0000 (10:43 +0900)]
ecore_wl2: modify the size of configure event

We change code to determine the size value of ECORE_WL2_EVENT_WINDOW_CONFIGURE event
by considering the size requested by the user.

There was a bug that the window size was changed continuously because of the difference
of the size value between the user requested size and the configure size sent by server.
This patch resolves this problem.

@tizen_only

Change-Id: Id737a16e58e6fca570196a6f5bb6519c8bb85719

17 months agoecore_wl2: do not generate configure event in tizen_position changed callback 44/285644/1
Doyoun Kang [Fri, 16 Dec 2022 00:34:22 +0000 (09:34 +0900)]
ecore_wl2: do not generate configure event in tizen_position changed callback

We remove code which calls _ecore_wl2_window_configure_send in _tizen_position_cb_changed().

@tizen_only

Change-Id: I0ad2deff619056b74f1a70586fec0b9f6eaf472f

17 months ago[Tizen] Check window resize issue 21/285521/1
Wonsik Jung [Wed, 14 Dec 2022 03:32:06 +0000 (12:32 +0900)]
[Tizen] Check window resize issue

Check window resize issue at multiview issue

Change-Id: I59723cefd2f7d9f7de2c73734d522456ba87d9d9

18 months agoecore_wl2: fix checking configure_event 57/285357/1
Hosang Kim [Fri, 9 Dec 2022 10:40:44 +0000 (19:40 +0900)]
ecore_wl2: fix checking configure_event

Sometimes configure event is received twice.

Change-Id: I994f3f106054dd9808d21396b525c5b85bd16dc3

18 months agoedje_message_queue.c Fix invalid pointer 71/285271/2
Hubert Stachowiak [Thu, 8 Dec 2022 07:56:25 +0000 (08:56 +0100)]
edje_message_queue.c Fix invalid pointer

In _edje_msg_trash_clear freeing Edje_Message pointer could cause invalid pointer error because _edje_msg_trash_pop function would sometimes return the same pointer twice.

Change-Id: I845d576b80924200092fd9647c64aacec70aa866

18 months agoeeze_udev_private.c Add null check 14/285114/3
Hubert Stachowiak [Tue, 6 Dec 2022 10:02:42 +0000 (11:02 +0100)]
eeze_udev_private.c Add null check

Added null check for devname to prevent null dereference

Change-Id: I0a32f8d51bb0c2df86a9644316378089d7e65e6f

18 months agoecore_wl2: support default cursor configuration 38/285338/3
Hosang Kim [Fri, 9 Dec 2022 07:37:47 +0000 (16:37 +0900)]
ecore_wl2: support default cursor configuration

@TIZEN_ONLY

Change-Id: I7b882596917f049f88e384f3ccabd9c8367c0fe0

18 months agoeina_hash.c: assign NULL to freed pointers 25/285025/2 accepted/tizen/unified/20221206.100443
Hubert Stachowiak [Fri, 2 Dec 2022 15:18:46 +0000 (16:18 +0100)]
eina_hash.c: assign NULL to freed pointers

Functions that were freeing pointers will now assign NULL to them.

Change-Id: Idc1c8889fc7df762305809d31470f28a84344a62

18 months agoeina hash: imporved safety 22/285022/2
Patryk Kaczmarek [Fri, 2 Dec 2022 13:11:53 +0000 (14:11 +0100)]
eina hash: imporved safety

Change-Id: I49a9d37974c49e5825534bc863e804b4037a2e53

18 months agoevas font: Improved safety 57/284957/1
Michal Szczecinski [Thu, 1 Dec 2022 19:21:03 +0000 (20:21 +0100)]
evas font: Improved safety

Change-Id: I8531031a30664bffdefb4c385565c1564b8e4755

18 months agoefl_ui_win: Disable window create/destroy event when window show/hide 51/284851/3
Chihun Jeong [Tue, 29 Nov 2022 02:29:49 +0000 (11:29 +0900)]
efl_ui_win: Disable window create/destroy event when window show/hide

Change-Id: I02451e1fd82e6f49b5ecb172cf0a68ba5370b594

18 months agoevas gl: fix missing font texture target. 90/284890/1
joogab.yun [Tue, 29 Nov 2022 07:33:59 +0000 (16:33 +0900)]
evas gl: fix missing font texture target.

Summary:
font context missed setting texture target.

When shader is flushed, it sets invalid texture target with font texture.
That caused broken text rendering, this could be observed temporary
because gl pipe contexts are reusable and missing texture target means,
it could use previous texture target values that mostly have GL_TEXTURE_2D.

Change-Id: Iaa44cd28279da46362aff1dc392bcf2fff4e7138

18 months agoecore_wl2/ecore_evas: add job for processing configure event first. 79/284779/4 accepted/tizen/unified/20221130.171033
Hosang Kim [Fri, 25 Nov 2022 05:48:15 +0000 (14:48 +0900)]
ecore_wl2/ecore_evas: add job for processing configure event first.

Sometimes before window configure event is processed, request of
resizing by application occurs. so I add job for processing configure
event first.

This reverts commit 770a7ba18b87d5176b3f2936dd0283d27b55e94c.

Change-Id: Idc0624a358f30acf948e50ef2408de678a271868

18 months agoecore_evas_wayland: call ecore_wl2_window_maximized_set regardless of revious maximiz... 88/284588/1
Doyoun Kang [Mon, 21 Nov 2022 09:43:25 +0000 (18:43 +0900)]
ecore_evas_wayland: call ecore_wl2_window_maximized_set regardless of revious maximized state

To support maximize direction feature, we don't check the previous maximize state.

@tizen_only

Change-Id: I0ad21dc98bf0e741b927e3f1dab6f70a5650614c

18 months agoecore_wl2_window: set a saved size imediately if maximizing window is pended 87/284587/1
Doyoun Kang [Mon, 21 Nov 2022 08:52:45 +0000 (17:52 +0900)]
ecore_wl2_window: set a saved size imediately if maximizing window is pended

Change-Id: I9ea56d0d0bf02f501acd1e36bcce01f333031def

18 months agoecore_wl2: support maximize direction feature 94/283094/18
Doyoun Kang [Tue, 18 Oct 2022 05:01:40 +0000 (14:01 +0900)]
ecore_wl2: support maximize direction feature

We add a maximize direction feature to support various maximize type.

Change-Id: I56af363384e703779e485402b07964c8d14f5c37

18 months agoevas_object_text: fix text ellipsis issue 67/284467/3
Bowon Ryu [Thu, 17 Nov 2022 11:42:15 +0000 (20:42 +0900)]
evas_object_text: fix text ellipsis issue

When the size of the text item and the ellip frame are same
and if it fails to find the cut, we should find the cut in the next item.

Change-Id: I2e55d51d5dc0c63c1159f52a2e88b2987080ab1d
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
18 months agoecore_evas_wayland_common: add checking pending.geom 65/284465/1
Hosang Kim [Thu, 17 Nov 2022 11:26:00 +0000 (20:26 +0900)]
ecore_evas_wayland_common: add checking pending.geom

Sometimes server's configure notify and client's resize are conflict.
So if client' resize request exists, ignore sever's configure notify.

Change-Id: Ia9b5ad1ad9994c098385d472cf1406bdbfeb3a05

18 months agoelm_atspi: Consider focus in _elm_object_accessibility_should_emit_events() 46/283546/2 accepted/tizen/unified/20221118.164208
Artur Świgoń [Fri, 28 Oct 2022 09:57:59 +0000 (11:57 +0200)]
elm_atspi: Consider focus in _elm_object_accessibility_should_emit_events()

Change-Id: I5411b4975288294f11fcae4df81f4137126d10a1

18 months agoefl_ui_win: Disable automatic size_min/max_set. 32/284232/2
Hosang Kim [Mon, 14 Nov 2022 05:14:46 +0000 (14:14 +0900)]
efl_ui_win: Disable automatic size_min/max_set.

Disable window minimum/maximum size is changed by internal calculation.

@TIZEN_ONLY

Change-Id: I82fccc6aa1e36c4a7591e9f5f8a7956b05c73458

18 months agoelm_plug: application is activated, elm_plug need to be reconnected. 33/283533/4
Hosang Kim [Fri, 28 Oct 2022 06:29:20 +0000 (15:29 +0900)]
elm_plug: application is activated, elm_plug need to be reconnected.

Sometimes application is activated but elm_plug's atspi parent is not
changed.

Change-Id: I6089b27af70752442569db870122d3b08adec17a

19 months agoevas textblock: improved safety. 35/283535/2 accepted/tizen/unified/20221111.164304
Michal Szczecinski [Fri, 28 Oct 2022 07:26:08 +0000 (09:26 +0200)]
evas textblock: improved safety.

Change-Id: I93cd476441dcc2ea68ed36e508eb3271418c311c

19 months agoelm_config: Null-check _elm_atspi_bridge_get() 64/283064/2 accepted/tizen/unified/20221102.020528
Artur Świgoń [Mon, 17 Oct 2022 10:56:08 +0000 (12:56 +0200)]
elm_config: Null-check _elm_atspi_bridge_get()

Usually the return value of _elm_atspi_bridge_get() is immediately
null-checked, including before elm_obj_atspi_bridge_connected_get(),
and so should be the case here in _elm_config_atspi_mode_set().

@tizen_only

Change-Id: Ia6c8a542e4c8115aefc041d03290aeaf4f63c3ee

19 months agoelm_atspi: Add _elm_object_accessibility_should_emit_events() 53/282953/3
Artur Świgoń [Mon, 3 Oct 2022 16:34:32 +0000 (18:34 +0200)]
elm_atspi: Add _elm_object_accessibility_should_emit_events()

An object should emit events if it is highlighted or its controller is
highlighted. The helper function _elm_object_accessibility_should_emit_events()
allows to simplify and unify checking these conditions.

Change-Id: Id78558cd661922f68330e86e1186e31a4f7262a6

19 months agoatspi: send scroll started/finished events 45/282245/3
Hosang Kim [Thu, 29 Sep 2022 04:37:19 +0000 (13:37 +0900)]
atspi: send scroll started/finished events

When scroll is draged or animated,
elementary send 'object:scroll-started' and 'object:scroll-finishend'

Change-Id: I0b782fdcdeb8ac79358a27b5e64bcf6d0ec0c6ce

19 months agoelm_genlist: additional NULL check on genlist data get 02/283302/2
Patryk Kaczmarek [Fri, 21 Oct 2022 15:47:28 +0000 (17:47 +0200)]
elm_genlist: additional NULL check on genlist data get

Change-Id: Ife74c452c5f10afc37ea624d9c6191d8317eb3f2

19 months 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>
19 months 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

19 months 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

19 months 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)

19 months 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

19 months 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

19 months 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

19 months 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

19 months 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

19 months 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

19 months 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

19 months 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

20 months 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

20 months 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

20 months 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

21 months 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

21 months 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

21 months 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

21 months 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

21 months 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

21 months 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

21 months 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

21 months 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

21 months 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

21 months 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

21 months 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

21 months 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

21 months 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