platform/upstream/efl.git
6 months agoRevert "evas_device: remove pointer data when device is removed." 20/301720/1
Hosang Kim [Tue, 21 Nov 2023 06:44:41 +0000 (15:44 +0900)]
Revert "evas_device: remove pointer data when device is removed."

This reverts commit 63bb3f587f5cf705a3674b5a86955a01f731e448.

Change-Id: I7a396210fd76d50d4e14bb5941195805dff9d99e

6 months agoecore_wl2_input: apply cursor change from config if cursor.theme_name is NULL 84/301484/1 accepted/tizen/unified/20231120.023122
duna.oh [Thu, 16 Nov 2023 06:30:43 +0000 (15:30 +0900)]
ecore_wl2_input: apply cursor change from config if cursor.theme_name is NULL

Change-Id: I471c0bd8ebe1ab734d79ecaf542c7f2ff2082e0c

6 months agoecore_wl2_input: do not apply cursor change from config if client unsets cursor 83/301483/1
duna.oh [Thu, 16 Nov 2023 06:25:19 +0000 (15:25 +0900)]
ecore_wl2_input: do not apply cursor change from config if client unsets cursor

Change-Id: I2e0d46ed7d25d6b61f57f7427db5107184a0b2d2

6 months agoecore_wl2: fix unnecessary error log print. 63/301463/1
Hosang Kim [Thu, 16 Nov 2023 07:56:56 +0000 (16:56 +0900)]
ecore_wl2: fix unnecessary error log print.

Change-Id: I7fe8fdd97fe636f6b54165139e01f457fadddb96

7 months agoecore_wl2_window: check maximize/fullscreen state before setting saved geometry 54/301154/1 accepted/tizen/unified/20231114.041259 accepted/tizen/unified/riscv/20231116.045333
Doyoun Kang [Thu, 9 Nov 2023 23:00:20 +0000 (08:00 +0900)]
ecore_wl2_window: check maximize/fullscreen state before setting saved geometry

If the window is already maximized(or fullscreen), then we don't need to update the saved
geometry because it was set when the window was fullscreen(or maximized).

Change-Id: Ic918ae9baf5dffa57707cb3f5eb7b29c928b17ae

7 months agoevas: improved safety of evas_object_pointer_grab_del 03/301103/2 accepted/tizen/unified/20231110.172141
Patryk Kaczmarek [Wed, 8 Nov 2023 12:21:34 +0000 (13:21 +0100)]
evas: improved safety of evas_object_pointer_grab_del

Change-Id: Id587008fd2418b31749100d6ca65061530b45c53

7 months agoecore_evas_tbm/wayland: use a cloned eina_list when calling evas_device_del() 77/301077/1 accepted/tizen/unified/20231109.053307
duna.oh [Wed, 8 Nov 2023 04:46:32 +0000 (13:46 +0900)]
ecore_evas_tbm/wayland: use a cloned eina_list when calling evas_device_del()

Please refer to following two commits

commit 7e239a7e4ba0a2a5937df846aac13bbb5253bf34
Author: duna.oh <duna.oh@samsung.com>
Date:   Mon Feb 20 11:49:37 2023 +0900

    ecore_wl2_input: use a cloned eina_list when calling ecore_device_del()

commit 402abcaefca02973c384d7c37fe543837d566443
Author: Guilherme Iscaro <iscaro@profusion.mobi>
Date:   Tue Nov 1 16:03:52 2016 -0200

    Evas Device: Avoid invalid ptr indirection.
    ...

Change-Id: I2e46ec07caadb8fd79e2df61774be9bf2c44456a

7 months agoevas_object_textblock: Fix removing Devanagari characters 46/300846/2 accepted/tizen/unified/20231103.163815
Hubert Stachowiak [Thu, 2 Nov 2023 13:43:33 +0000 (14:43 +0100)]
evas_object_textblock: Fix removing Devanagari characters

Check for U+0941 and U+0942 vowels which should be treated
as separete characters when deleting.

Change-Id: I18cbc3a1b2d5c79c7dd17450156447a75e7350bc

7 months agoFixed error message handling. 20/300620/1 accepted/tizen/unified/20231031.163518
jykeon [Mon, 30 Oct 2023 05:29:53 +0000 (14:29 +0900)]
Fixed error message handling.

Change-Id: I4674470a84551ea966ebe3f352eb20f11da2cde7
Signed-off-by: jykeon <jykeon@samsung.com>
7 months agoefl_ui_win: modified to ensure enter and leave events 63/300563/2
Taehyub Kim [Fri, 27 Oct 2023 07:03:58 +0000 (16:03 +0900)]
efl_ui_win: modified to ensure enter and leave events

Change-Id: Iaaa0295b2531f95a7927d3be77dce38dbe788730

7 months agoecore_wl1: improved Wayland issues handling 24/300524/2
Michal Szczecinski [Thu, 26 Oct 2023 16:24:22 +0000 (18:24 +0200)]
ecore_wl1: improved Wayland issues handling

Added error message and null check in case of issues with invalid
compositor pointer.

Change-Id: I83603185ae6544d37a621f8c6062c0975fc77e96

7 months agoevas: improved safety of evas_object_pointer_grab_del 47/300247/1 accepted/tizen/unified/20231024.032149
Patryk Kaczmarek [Wed, 18 Oct 2023 00:49:30 +0000 (02:49 +0200)]
evas: improved safety of evas_object_pointer_grab_del

Change-Id: Ia02c217570351f111bf3210026b3e8f86df38a44

7 months agoecore_wl2: fix for each window to be able to lock its pointer 71/299971/2 accepted/tizen/unified/20231014.105741
duna.oh [Fri, 13 Oct 2023 03:57:24 +0000 (12:57 +0900)]
ecore_wl2: fix for each window to be able to lock its pointer

Change-Id: I51b75163249be9ccec966f4dd6161377583f825b

7 months agoefl_ui_widget: add safety check and prevent infinite loop 43/299943/1
Prateek Thakur [Thu, 12 Oct 2023 09:34:37 +0000 (15:04 +0530)]
efl_ui_widget: add safety check and prevent infinite loop

If sdp is null it will be stuck in infite loop as parent object is not
updated. Break from while loop if sdp is null.

ref: DF231003-00328

Change-Id: Ib49a1cef3f1282cab6b692edc737988a1e2e8775
Signed-off-by: Prateek Thakur <prateek.th@samsung.com>
8 months agoecore_main: fix typo 54/299554/2
Hwankyu Jhun [Thu, 5 Oct 2023 01:55:10 +0000 (10:55 +0900)]
ecore_main: fix typo

Change-Id: I05fe2a525db2d4dcccd00a7d6f679ffdeab136b1
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
8 months agoevas_events: fix comparsion for evas_events. 66/299566/2
Hosang Kim [Thu, 5 Oct 2023 05:14:12 +0000 (14:14 +0900)]
evas_events: fix comparsion for evas_events.

Here comparision is logically wrong because it compares
the coordinates(cur, prev) of the different spaces.

@fix

Change-Id: I9368588ba40b8a8cc5875e88a3eab66bebbefff1

8 months agoecore_wl2_dnd: Add window id to Ecore_Wl2_Event_Offer_Data_Ready 70/299170/1 accepted/tizen/8.0/unified/20231005.094813 accepted/tizen/unified/20230925.091523 tizen_8.0_m2_release
Junseok Kim [Thu, 21 Sep 2023 05:52:06 +0000 (14:52 +0900)]
ecore_wl2_dnd: Add window id to Ecore_Wl2_Event_Offer_Data_Ready

@tizen_only

Change-Id: I397219d21784dae9768f7b8705cf94c8ac78787c

8 months agoPrevent copy calls from repeat events of ctrl + c 12/299012/1 accepted/tizen/unified/20230920.072009
Bowon Ryu [Mon, 18 Sep 2023 07:31:32 +0000 (16:31 +0900)]
Prevent copy calls from repeat events of ctrl + c

Change-Id: Ibefb32f8d4547bd60528a953abcc20a83fe2c0ee
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
8 months agoecore_wl2: Fix pipe fd management error 61/298761/1 accepted/tizen/unified/20230918.154735
Junkyeong Kim [Wed, 13 Sep 2023 07:50:43 +0000 (16:50 +0900)]
ecore_wl2: Fix pipe fd management error

Change-Id: I6940a23a0dd5c555a7df1e63ac616cd272ac22fd
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
8 months agoefl_ui_widget: Improved safety of the efl_ui_widget_sub_object_del. 74/298674/1 accepted/tizen/unified/20230913.091622
Michal Szczecinski [Tue, 12 Sep 2023 08:45:03 +0000 (10:45 +0200)]
efl_ui_widget: Improved safety of the efl_ui_widget_sub_object_del.

Set focusable flag only for valid objects in tree.

Change-Id: I869d0e78212c2dcf295b0259e5de977ae8bf3113

8 months agoefl_ui_widget: Add null checks in _efl_ui_widget_focus_steal 69/298269/3 accepted/tizen/unified/20230912.171632
Hubert Stachowiak [Mon, 4 Sep 2023 12:24:10 +0000 (14:24 +0200)]
efl_ui_widget: Add null checks in _efl_ui_widget_focus_steal

Change-Id: I5bd04962eda6f4161012ca70dbaeff73a467aa8a

9 months agoecore_wl2: add events for pointer_constraints 85/298385/2 accepted/tizen/unified/20230907.175326
duna.oh [Wed, 6 Sep 2023 08:32:04 +0000 (17:32 +0900)]
ecore_wl2: add events for pointer_constraints

Change-Id: If87c7d93e700c6f7ffeb3f90fcdb91e0696dd590

9 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

9 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

9 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

9 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

9 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

10 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

10 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

10 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

10 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

10 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

10 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

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

10 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

10 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

10 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

10 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>
10 months agoevas_map: add calibrating coordinates when origin is changed. 65/295765/2 accepted/tizen_unified_dev 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

10 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>
11 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>
11 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

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

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

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

14 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

14 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

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

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