platform/upstream/efl.git
11 months agoevas: fixed region issue in png file 90/294290/1
Michal Szczecinski [Thu, 15 Jun 2023 15:41:57 +0000 (17:41 +0200)]
evas: fixed region issue in png file

Change-Id: I5ee32dba41887e09ec741bb1dd572af163e3d622

11 months agoevas/elementary: add set/get frame input area API for clicking border 72/294272/2 accepted/tizen/unified/20230621.023216
Hosang Kim [Thu, 15 Jun 2023 07:51:15 +0000 (16:51 +0900)]
evas/elementary: add set/get frame input area API for clicking border
area.

Change-Id: I66e3ed7f87c16acafab7f826564d771d1ca5d974

11 months agoecore_wl2_input: use touch device instead of mouse device when DISABLE_HOVERING is... 66/294266/1
Hosang Kim [Thu, 15 Jun 2023 07:12:02 +0000 (16:12 +0900)]
ecore_wl2_input: use touch device instead of mouse device when DISABLE_HOVERING is enabled.

Change-Id: I3deb3152efdfb6488d74417bc772859e9e266130

11 months agoModify and Added comments. 10/294110/1
jykeon [Tue, 13 Jun 2023 07:57:04 +0000 (16:57 +0900)]
Modify and Added comments.

Change-Id: I6c19d88c1c8eccc428bc32e927834a8a4a82b017
Signed-off-by: jykeon <jykeon@samsung.com>
11 months agoecore_wl2_input: add DISABLE_HOVERING env for testing touch UX with 43/293743/3
Hosang Kim [Fri, 2 Jun 2023 08:24:44 +0000 (17:24 +0900)]
ecore_wl2_input: add DISABLE_HOVERING env for testing touch UX with
mouse.

Change-Id: Ib59138f4abbfd4ede89390272f67ae825050c633

11 months agoAdd for internal API comments. 19/293919/2 accepted/tizen/unified/20230609.163745
jykeon [Thu, 8 Jun 2023 06:12:00 +0000 (15:12 +0900)]
Add for internal API comments.

Change-Id: I0598f5fe79d7c32f0d5cb9492b661af05d901373
Signed-off-by: jykeon <jykeon@samsung.com>
11 months agoModify and add comments. 18/293918/2
jykeon [Thu, 8 Jun 2023 05:56:45 +0000 (14:56 +0900)]
Modify and add comments.

Change-Id: Idaf73477d976225a8cb1b34ca7014e6a7427b1d0
Signed-off-by: jykeon <jykeon@samsung.com>
11 months agoevas script table: Fixed issue with 0x300 sign 01/293801/2
Michal Szczecinski [Mon, 5 Jun 2023 08:29:35 +0000 (10:29 +0200)]
evas script table: Fixed issue with 0x300 sign

Change-Id: I56aff9148de8123439e76d1ce626f495050547df

11 months agoAdd for internal API comments. 09/293909/2
jykeon [Thu, 8 Jun 2023 04:36:05 +0000 (13:36 +0900)]
Add for internal API comments.

Change-Id: I270252ed7cd7d2b6d49542fb3c3b100b322eea3b
Signed-off-by: jykeon <jykeon@samsung.com>
11 months agoworkaround the runtime exception of edje_cc in tizen build environment 00/293600/3
wchang kim [Thu, 1 Jun 2023 00:38:15 +0000 (09:38 +0900)]
workaround the runtime exception of edje_cc in tizen build environment

Change-Id: I0b6ec9f1f24362b2da79b958a323393548a41ded

12 months agoecore_timer: set timer with current time when main loop is slow. 16/293416/1 accepted/tizen/unified/20230608.164346
Hosang Kim [Fri, 26 May 2023 07:07:49 +0000 (16:07 +0900)]
ecore_timer: set timer with current time when main loop is slow.

Change-Id: I8eb1777b381489b903a5a774857a4dc7cd36e0f6

12 months agoecore_wl2_input: support client that requests to unset cursor 57/290657/4
duna.oh [Thu, 30 Mar 2023 07:55:28 +0000 (16:55 +0900)]
ecore_wl2_input: support client that requests to unset cursor

fix to support clients to hide its cursor by calling
ecore_wl2_window/input_pointer_set(,surface=null,,)

@tizen_only

Change-Id: I42dab9d565dba04e5bb98ca80fcf084272de145d

13 months agoecore_wl2_display: improved safety of ecore_wl2_display_sync. 98/292198/1
Michal Szczecinski [Fri, 28 Apr 2023 16:32:51 +0000 (18:32 +0200)]
ecore_wl2_display: improved safety of ecore_wl2_display_sync.

The "wl_display_sync" may return null value. In this case
wl_callback_add_listener behaviour is undefined.

Change-Id: Iad08537cb1dad7fc545579248f13dcdc7f063fa2

13 months agoevas_map: update geometry of map object correctly when move sync is enabled. 96/292096/1
Hosang Kim [Thu, 27 Apr 2023 07:19:42 +0000 (16:19 +0900)]
evas_map: update geometry of map object correctly when move sync is enabled.

When map object is hidden by scrolling, geometry of map object is not
updated.

Change-Id: I0db91ad6a8deb192927bd9d3f7c8ea86e80f4acb

13 months agoeina: Add check for pthread_attr_setaffinity_np 71/291971/1 accepted/tizen/unified/20230427.155821
Hubert Stachowiak [Tue, 25 Apr 2023 10:14:04 +0000 (12:14 +0200)]
eina: Add check for pthread_attr_setaffinity_np

Change-Id: I126557c34efa4ec1bd25a4a53b39f1aba038f9e7

13 months agoFixed: compile error. 22/291622/2 accepted/tizen/unified/20230421.103336
jykeon [Wed, 19 Apr 2023 08:27:07 +0000 (17:27 +0900)]
Fixed: compile error.

Change-Id: I87dbce96bf8398979e432dd43c84e1a12fad78c5
Signed-off-by: jykeon <jykeon@samsung.com>
13 months agoecore/evas: add flag for repeat key event 32/291232/3
Hosang Kim [Wed, 12 Apr 2023 07:48:47 +0000 (16:48 +0900)]
ecore/evas: add flag for repeat key event

Change-Id: I58ecb628dcbc5872c44c4609f421ba86bfabd445

13 months agoevas_events: do not clip geometry when object is mapped 51/291451/3
Hosang Kim [Mon, 17 Apr 2023 05:52:24 +0000 (14:52 +0900)]
evas_events: do not clip geometry when object is mapped

Change-Id: I993ae5aad2487658f2f813f27a291b84605c1c2d

13 months agoefl_access_object: Support org.a11y.atspi.Value.Text property 12/291412/4
Lukasz Oleksak [Fri, 14 Apr 2023 10:14:38 +0000 (12:14 +0200)]
efl_access_object: Support org.a11y.atspi.Value.Text property

The application may set the "value_format" attribute to one of the
following values in order to customize what is read by the Screen Reader:

    1. "percent" (the default) - current value normalized as a percentage
       of the range [minimum value, maximum value],
    2. "number" - current value verbatim
    3. "text" - customized textual representation is used instead of current value

Option "text" must be acompanied by registration of a callback that would provide
relevant textual representation of current value:

    efl_access_object_value_text_cb_set(slider, value_text_cb, NULL);
    efl_access_object_attribute_append(slider, "value_format", "text");

    static char *value_text_cb(void *data, Evas_Object *obj)
    {
        return strdup("This information is set by value text callback");
    }

@tizen_only

Change-Id: Ic0d544dc163dff20551dddbcfe92ffcbd1876541

13 months agoelm_atspi_bridge: Support org.a11y.atspi.Value.Text property 75/291275/3
Artur Świgoń [Wed, 12 Apr 2023 12:29:34 +0000 (14:29 +0200)]
elm_atspi_bridge: Support org.a11y.atspi.Value.Text property

Change-Id: I33b7a93bc515e369fc6a96fdcca531cef053ffb5

13 months agoedje_data: Adding null check to mem_alloc function 77/291077/4
b.chrescionk [Wed, 29 Mar 2023 08:18:49 +0000 (10:18 +0200)]
edje_data: Adding null check to mem_alloc function

@tizen_only

Change-Id: If4893ad47dbbb00c4cd819790e1a022d4df8b86f

13 months agoevas_events: fix condition for creating list of clickable objects. 93/290693/2
Hosang Kim [Fri, 31 Mar 2023 01:21:58 +0000 (10:21 +0900)]
evas_events: fix condition for creating list of clickable objects.

When object is mapped, it can be clicked even if it is outside the
screen.

Change-Id: I3391b6a018638ec2bb8fa3c926659f8f49c924da

13 months agoecore_wl2_display: Correct pointer arithmetic 52/291052/2 accepted/tizen/unified/20230411.161301
Junseok Kim [Fri, 7 Apr 2023 04:21:40 +0000 (13:21 +0900)]
ecore_wl2_display: Correct pointer arithmetic

There're was a misuse of pointer arithmetic that access to integer array and correct it.
and correct indentation.

Change-Id: Ica5b70c3225518365ded39cc2d1e9cf7dd8e1ffa

13 months agoecore_wl2_display: remove log and creating ecore_wl2_screen on wl_registry global... 81/290881/1
Junseok Kim [Tue, 4 Apr 2023 10:56:24 +0000 (19:56 +0900)]
ecore_wl2_display: remove log and creating ecore_wl2_screen on wl_registry global callback

@tizen_only

Change-Id: I48e3ae984b1dce78817035fd01693d114ff77ef3

14 months agoecore_wl2_window: intercept aux hint that setting splitscreen 98/289998/10
Junseok Kim [Fri, 17 Mar 2023 02:08:04 +0000 (11:08 +0900)]
ecore_wl2_window: intercept aux hint that setting splitscreen

@tizen_only

Change-Id: I371bb4463d3a0a9f0032cf7108c7b02e94800cac

14 months agoecore_wl2: Support new wtz-screen protocol 97/289997/9
Junseok Kim [Thu, 23 Mar 2023 08:46:07 +0000 (17:46 +0900)]
ecore_wl2: Support new wtz-screen protocol

@tizen_only

Change-Id: I40d839e0b789b4159f1fcb3f7c494e11d9652659

14 months agoefl_ui_win: add layout set API. 91/290491/2 accepted/tizen/unified/20230407.140019
Hosang Kim [Mon, 27 Mar 2023 11:28:55 +0000 (20:28 +0900)]
efl_ui_win: add layout set API.

The window layout method provides a convenient way for users to quickly arrange and resize windows to specific positions on their screen.

Usage example:
elm_win_layout_set(win, ELM_WIN_LAYOUT_TYPE_LEFT_HALF);
or
elm_win_layout_set(win, 2, 1, 0, 0, 1, 1);

Change-Id: I09d38ff0e6f00a6b822630cedc00fc04623bbd90

14 months agoecore_wl2_input: fix issue to deliver same timestamp 00/290300/2 accepted/tizen/unified/20230329.013238
Jihoon Kim [Thu, 23 Mar 2023 02:54:26 +0000 (11:54 +0900)]
ecore_wl2_input: fix issue to deliver same timestamp

Change-Id: Ib32c7e8c7f3b072e7e87a8413941f96225775179
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
14 months agoecore_wl2: add ecore_wl2_window_layout_set function 75/290275/2
Doyoun Kang [Wed, 22 Mar 2023 08:05:07 +0000 (17:05 +0900)]
ecore_wl2: add ecore_wl2_window_layout_set function

@tizen_only

Change-Id: Ie601b795d696220c0454e2614c3994d464c03600

14 months agoecore_wl2_input: do not change a cursor theme if the same one is already set 88/290188/1
duna.oh [Tue, 21 Mar 2023 07:50:03 +0000 (16:50 +0900)]
ecore_wl2_input: do not change a cursor theme if the same one is already set

This commit fixed the issue that sometimes cursor is set to null buffer
when destroying and loading cursor theme repeatably.

Change-Id: I80d96920dbe0be5c198bdceb0c8219dca8706956

14 months agoelm_atspi_bridge: Use narrower index types 36/290036/1 accepted/tizen/unified/20230321.123225
Artur Świgoń [Fri, 17 Mar 2023 11:39:16 +0000 (12:39 +0100)]
elm_atspi_bridge: Use narrower index types

This patch changes `long` to `int` for indices. They either come from other
`int`-typed variables or from the literal value zero, and are further passed
to functions which expect an `int` parameter (possibly unsigned, but values
nearing 2^31 are purely theoretical, so it should never be a problem).

Change-Id: I5b110f308cd63b692b3f616f2d999e5e6b56cb09

14 months agoefl ui collection: Fixed possible memory leak. 77/289977/1
Michal Szczecinski [Thu, 16 Mar 2023 10:46:31 +0000 (11:46 +0100)]
efl ui collection: Fixed possible memory leak.

In case of request creation, newly created request was not added to
requests lits.

Change-Id: I73004e8360c86ac2b377528f0d9d294265f9dc02

14 months agoeina_tiler: add TIZEN_ONLY comment 86/289686/2
Junkyeong Kim [Mon, 13 Mar 2023 10:29:04 +0000 (19:29 +0900)]
eina_tiler: add TIZEN_ONLY comment

Change-Id: I7295ebdcfbb66af012d687ceb21a9e5e50703ded
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
14 months agoeina_tiler: Fix rounding flag default set error 83/289683/1
Junkyeong Kim [Mon, 13 Mar 2023 09:46:53 +0000 (18:46 +0900)]
eina_tiler: Fix rounding flag default set error

if intersected tilers are not rounding, set rounding to false to temp tiler.

Change-Id: Iec678cd6de4654a910b630652cb56af7b54835ff
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
14 months ago[Tizen][ATSPI] Introduce SetListenPostRender interface 19/288619/8 accepted/tizen/unified/20230310.062701
Woochan Lee [Mon, 20 Feb 2023 12:02:37 +0000 (21:02 +0900)]
[Tizen][ATSPI] Introduce SetListenPostRender interface

Change-Id: I1b9d8223bb2a72e5f4f16dee195fc734460cddc9

14 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

14 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>
14 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

15 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

15 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

15 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

15 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

16 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

17 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

17 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

17 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

17 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

17 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

17 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