platform/upstream/efl.git
14 months agoevas_gl_shader: Fix shader lock mechanism 85/297785/3 accepted/tizen/unified/20230907.055343
Hubert Stachowiak [Thu, 24 Aug 2023 08:06:29 +0000 (10:06 +0200)]
evas_gl_shader: Fix shader lock mechanism

Change-Id: Iac54b071364921b58175814adcfde917579750a9

14 months agoecore_wl2_window: add code to check user size in configure_send 55/298355/2
Doyoun Kang [Wed, 6 Sep 2023 06:48:14 +0000 (15:48 +0900)]
ecore_wl2_window: add code to check user size in configure_send

When a window's state is changed to unmaximize or unfullscreen, we check whether the user is
trying to change its size or not.
If user is trying to change its size, then we makes the size of the configure event to user
requested size.
If not, we makes it to saved size.

@tizen_only

Change-Id: Id4a330041e3b08413831625542f9862a66015bb8

14 months agoecore_wl2: add keyboard_grab/ungrab API 19/297719/3 accepted/tizen/unified/20230828.102406
duna.oh [Wed, 23 Aug 2023 08:15:21 +0000 (17:15 +0900)]
ecore_wl2: add keyboard_grab/ungrab API

@tizen_only

Change-Id: Idf6f63a1d2986e3f59dfbd26dd577ed47810c7ef

14 months agoecore_wl2: add cursor_visible set API 07/297507/2 accepted/tizen/unified/20230822.162245
duna.oh [Mon, 21 Aug 2023 06:16:17 +0000 (15:16 +0900)]
ecore_wl2: add cursor_visible set API

@tizen_only

Change-Id: I4f766537beb4c85f44ef7ae9788a37c2e435971d

14 months agoecore_wl2: fix dereference before null check 13/297413/1
duna.oh [Fri, 18 Aug 2023 03:00:29 +0000 (12:00 +0900)]
ecore_wl2: fix dereference before null check

Fixes Coverity CID1705108

Change-Id: I857d29833ec20af031cf8f3796b5a71de5dcf324

15 months agoecore_con_proxy_helper.c: use snprintf to avoid a buffer overflow 70/296270/2 accepted/tizen/unified/20230814.121015
Hubert Stachowiak [Mon, 24 Jul 2023 14:13:34 +0000 (16:13 +0200)]
ecore_con_proxy_helper.c: use snprintf to avoid a buffer overflow

Change-Id: I3842fa3fcf95e9789720ca279f9b35af7850a84c

15 months agoevas_filter_parser.c: use snprintf to avoid a buffer overflow 69/296269/2
Hubert Stachowiak [Mon, 24 Jul 2023 11:05:31 +0000 (13:05 +0200)]
evas_filter_parser.c: use snprintf to avoid a buffer overflow

Change-Id: Id66f489d734379f6793b3c72de6173fb4d11f5bb

15 months agoecore_wl2_cursor: initalize cursor_config when cursor_config is NULL 13/296913/1
Hosang Kim [Mon, 7 Aug 2023 06:47:34 +0000 (15:47 +0900)]
ecore_wl2_cursor: initalize cursor_config when cursor_config is NULL

Change-Id: I6e9a261972d0a701124fa2104999e549247cdde2

15 months agoecore_input: add Ecore_Event_Mouse_Relative_Move struct 20/296620/4 accepted/tizen/unified/20230808.011414
duna.oh [Wed, 2 Aug 2023 08:06:21 +0000 (17:06 +0900)]
ecore_input: add Ecore_Event_Mouse_Relative_Move struct

Change-Id: I0b8ed04af6f05cf3692c8379a193dcae28dfb9be

15 months agoecore_wl2: support zwp_pointer_constraints protocol 19/296619/3
duna.oh [Tue, 1 Aug 2023 10:48:27 +0000 (19:48 +0900)]
ecore_wl2: support zwp_pointer_constraints protocol

Change-Id: I784190c80be321cfaad7fec7c892c4b500c18e2e

15 months agoecore_wl2: support zwp_relative_pointer protocol 18/296618/1
duna.oh [Sat, 29 Jul 2023 02:25:58 +0000 (11:25 +0900)]
ecore_wl2: support zwp_relative_pointer protocol

Change-Id: If9d472ec7c6bea9e980687341d550ca65b5bb26d

15 months agoFixed compile error. 45/296445/2 accepted/tizen/unified/20230728.155805
jykeon [Fri, 28 Jul 2023 01:23:09 +0000 (10:23 +0900)]
Fixed compile error.

Change-Id: Ie2c4b32a346a8f4257b15043c85fcae6ea009c77
Signed-off-by: jykeon <jykeon@samsung.com>
15 months agoecore_wl2_input: add setting horizontal/vertical repeat rate and delay. 15/296415/5
Hosang Kim [Thu, 27 Jul 2023 06:55:17 +0000 (15:55 +0900)]
ecore_wl2_input: add setting horizontal/vertical repeat rate and delay.

Change-Id: I1e24bc34e8faf07ebea654e070d87c1a5679648f

15 months agowindow: resize border window when border window is roated 13/296413/1
Hosang Kim [Thu, 27 Jul 2023 06:37:39 +0000 (15:37 +0900)]
window: resize border window when border window is roated

Change-Id: I97daac09f983effea74610fed078c4d799003eea

15 months agoecore_wl2_dnd: fix memory leak of wl_data_source 87/296287/1
Junseok Kim [Tue, 25 Jul 2023 02:08:43 +0000 (11:08 +0900)]
ecore_wl2_dnd: fix memory leak of wl_data_source

destroy wl_data_source before create new one

@tizen_only

Change-Id: I84cc4ce58e2208025355df93b6491c8c003808dd

15 months agoecore_wl2_dnd: send exist serial if there're no matching wl_data_source 86/296286/1
Junseok Kim [Tue, 25 Jul 2023 02:07:45 +0000 (11:07 +0900)]
ecore_wl2_dnd: send exist serial if there're no matching wl_data_source

Send exist serial number of selection or drag if there're no matching
wl_data_source to prevent failure of multiple selection set.
This is temporary workaround, so we have to decide better way to control
multiple selection set.

@tizen_only

Change-Id: I2a158066af6704be3a66a87de11761fc0122214f

15 months agoelm_entry: allow ELM_SEL_FORMAT_HTML to elm_entry 73/296073/2
Bowon Ryu [Wed, 19 Jul 2023 08:20:37 +0000 (17:20 +0900)]
elm_entry: allow ELM_SEL_FORMAT_HTML to elm_entry

If paste html mime type text in the entry,
it will be pasted in plain text form.

Change-Id: I129bde99d6d138bb827c219725313cadeee0ec88
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
15 months agoevas_map: add calibrating coordinates when origin is changed. 65/295765/2 accepted/tizen/unified/20230719.170100 accepted/tizen/unified/dev/20230726.120038
Hosang Kim [Thu, 13 Jul 2023 09:28:24 +0000 (18:28 +0900)]
evas_map: add calibrating coordinates when origin is changed.

Change-Id: I632aa74b4ccb1fad32159643b865f197b12d9bc2

15 months agoelm_cnp: add condition for TEXT_URI format 30/295930/1
Junkyeong Kim [Mon, 17 Jul 2023 09:53:03 +0000 (18:53 +0900)]
elm_cnp: add condition for TEXT_URI format

Change-Id: Icaf5efbb511e3614c24023dfa00e905a743bbeff
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
16 months agoelementary: Add ELM_SEL_FORMAT_TEXT_URI elm sel format 09/295409/2 accepted/tizen/unified/20230713.143503
Junkyeong Kim [Thu, 6 Jul 2023 11:22:49 +0000 (20:22 +0900)]
elementary: Add ELM_SEL_FORMAT_TEXT_URI elm sel format

add new format to support image uri

Change-Id: I9441ebbb0f3a58e9114172de5383c51fac3aa448
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
16 months agoevas: improve png safety 88/294288/2 accepted/tizen/unified/20230623.160658 accepted/tizen/unified/riscv/20231127.101450
Michal Szczecinski [Thu, 15 Jun 2023 12:06:57 +0000 (14:06 +0200)]
evas: improve png safety

Change-Id: Id7f6a2b40d9e617382df05ed3aade796fdb26497

16 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

16 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

16 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

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

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

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

17 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

17 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

18 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

18 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

18 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

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

18 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

18 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

18 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

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

19 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

19 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

19 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

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

20 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

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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

22 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

22 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)

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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