platform/upstream/enlightenment.git
6 months agopackaging: Update version to tz8_15.5.1 40/307040/1 accepted/tizen/8.0/unified/20240304.171948
Changyeon Lee [Mon, 4 Mar 2024 06:47:24 +0000 (15:47 +0900)]
packaging: Update version to tz8_15.5.1

Change-Id: I2cee53fd9cc7d91aaca355d2838179dde3e9e987

6 months agoe_client: do not update the transform core of client if the render update lock is set 22/307022/2
Changyeon Lee [Mon, 4 Mar 2024 03:45:45 +0000 (12:45 +0900)]
e_client: do not update the transform core of client if the render update lock is set

Change-Id: I6ce8ac0ad46ae4e8b86ca1f1e4175d5ae4f5da61

6 months agoe_comp_object: do not set direct render to Evas_Map of the effect object 66/306966/1
Doyoun Kang [Fri, 1 Mar 2024 00:52:53 +0000 (09:52 +0900)]
e_comp_object: do not set direct render to Evas_Map of the effect object

There was a bug that the keyboard effect didn't run.
This was because the effect object set the evas_map with direct render set.
So, we changed code not to set direct render to the Evas_Map of the effect object.

FYI,
if the direct render is set, Evas_Map is applied only to the image object among smart member objects.
So, only the image objects are rendered and another objects are not rendered.

Change-Id: I675f37f3ff9da036eaf3288e056a34fc385a5999

6 months agoe_comp: set e_hwc_windows_comp_override when nocomp_override is set 40/306940/1
Changyeon Lee [Thu, 29 Feb 2024 02:17:02 +0000 (11:17 +0900)]
e_comp: set e_hwc_windows_comp_override when nocomp_override is set

Change-Id: If6b32a6d2e79bda548a2f8dafb34c793fdc209ad

6 months agopackaging: Update version to tz8_15.5.0 81/306881/1 accepted/tizen/8.0/unified/20240301.174504
duna.oh [Wed, 28 Feb 2024 22:57:45 +0000 (07:57 +0900)]
packaging: Update version to tz8_15.5.0

Change-Id: I4b6ae834122bcd30c8f1893674752ba0de7432cd

6 months agoe_input: Add E_API e_input_device_is_virtual(dev, device_path, clas) 67/306667/2
duna.oh [Thu, 8 Feb 2024 07:13:33 +0000 (16:13 +0900)]
e_input: Add E_API e_input_device_is_virtual(dev, device_path, clas)

E_API for checking if a device is physically connected or virtual

Change-Id: Ib7ff83e9ce2290bdb613091c2d2e9d7ff2b4b4e9

6 months agoe_input: Set device's subclass to virtual using udev property 66/306666/2
duna.oh [Thu, 8 Feb 2024 07:08:02 +0000 (16:08 +0900)]
e_input: Set device's subclass to virtual using udev property

Change-Id: Id765eac76334698d28715cd940abf1b0ab147f33

6 months agopackaging: Update version to tz8_15.4.0 18/306818/1
SooChan Lim [Wed, 28 Feb 2024 02:29:42 +0000 (11:29 +0900)]
packaging: Update version to tz8_15.4.0

Change-Id: I7f24a04330937601c53c33a9961ff1ea07473e08

6 months agoe_main: add hook for idle enter/exit of main loop 17/306817/1
SooChan Lim [Tue, 27 Feb 2024 06:47:54 +0000 (15:47 +0900)]
e_main: add hook for idle enter/exit of main loop

e_main provides two hooks below. each hooks let them
know when ecore_main_loop enters idle state and
exits idle state.
   E_MAIN_HOOK_LOOP_BEFORE_IDLE_ENTER
   E_MAIN_HOOK_LOOP_AFTER_IDLE_EXIT

Change-Id: I21d4c26fc4dc50edb48415b588efe326e562922e

7 months agopackaging: Update version to tz8_15.3.2 65/306665/1 accepted/tizen/8.0/unified/20240227.172311
Changyeon Lee [Mon, 26 Feb 2024 01:45:56 +0000 (10:45 +0900)]
packaging: Update version to tz8_15.3.2

Change-Id: Ie9beaf62895aec457892c8f8eb07978f566cb4d2

7 months agoRevert "e_client: do not enable the transform core if the render update lock is set" 64/306664/1
Changyeon Lee [Thu, 22 Feb 2024 07:54:06 +0000 (16:54 +0900)]
Revert "e_client: do not enable the transform core if the render update lock is set"

This reverts commit 3d160e6d4f86e0e514dffc87c2130e90fe4890ec.

Change-Id: Ia2ee1995c1d2b035da96ad6c1eb78c4821a39762

7 months agopackaging: Update version to tz8_15.3.1 76/306376/1 accepted/tizen/8.0/unified/20240222.093826
Changyeon Lee [Wed, 21 Feb 2024 02:01:45 +0000 (11:01 +0900)]
packaging: Update version to tz8_15.3.1

Change-Id: I0c52125a27f01783e174b833aab75f06f89639c0

7 months agoe_client: do not enable the transform core if the render update lock is set 72/306372/1
Changyeon Lee [Wed, 7 Feb 2024 09:39:23 +0000 (18:39 +0900)]
e_client: do not enable the transform core if the render update lock is set

Change-Id: I404df3bb2da56260c7df9eb150b1b47649180634

7 months agopackaging: Update version to tz8_15.3.0 42/306242/1 accepted/tizen/8.0/unified/20240219.160553
Changyeon Lee [Mon, 19 Feb 2024 06:10:22 +0000 (15:10 +0900)]
packaging: Update version to tz8_15.3.0

Change-Id: I0eb5af376c522a609b2d975d0d40889619fa8a36

7 months agoe_hwc_windows: refactor updating the changes of hwc and hwc_window 14/306014/4
Changyeon Lee [Tue, 23 Jan 2024 05:36:52 +0000 (14:36 +0900)]
e_hwc_windows: refactor updating the changes of hwc and hwc_window

Previously, the changes hwc and hwc_window was updated in every idle time
if wait_commit is false.
For reducing usage of cpu, this patch makes the changes of hwc and hwc_window
is updated when property, restriction, buffer, visible, geometry are changed.

Change-Id: I0833d3838e70b5a980e572e6bc63df7c024e08a6

7 months agoe_hwc_windows: add the restriction of hwc 13/306013/4
Changyeon Lee [Tue, 23 Jan 2024 04:58:29 +0000 (13:58 +0900)]
e_hwc_windows: add the restriction of hwc

Previously, the device_state_available of hwc_window was updated in every idle time
if wait_commit is false.
For reducing usage of cpu, this patch makes the device_state_available is removed and
the restriction of hwc is added and updated when condition of the restriction is
changed.

Change-Id: Ieab8e2e70c7b93be4e6d02092a4a801234ceb947

7 months agoe_hwc_window: refactor updating the restriction of hwc_window 12/306012/4
Changyeon Lee [Tue, 23 Jan 2024 04:22:10 +0000 (13:22 +0900)]
e_hwc_window: refactor updating the restriction of hwc_window

Previously, the restriction of hwc_window was updated in every idle time
if wait_commit is false.
For reducing usage of cpu, this patch makes the restriction of hwc_window
is updated when condition of the restriction is changed.

Change-Id: I4498ebeb81ff8bcf5e0074c560b0ef5336a78beb

7 months agoe_hwc_window: add e_hwc_window_visible_skip_set 11/306011/3
Changyeon Lee [Thu, 25 Jan 2024 11:19:52 +0000 (20:19 +0900)]
e_hwc_window: add e_hwc_window_visible_skip_set

Change-Id: Iced2d56da81fcfa889593ddf5797ea9b5acdeb51

7 months agoe_comp_object: add e_comp_object_color_visible_set_listener_add 10/306010/3
Changyeon Lee [Thu, 25 Jan 2024 08:28:36 +0000 (17:28 +0900)]
e_comp_object: add e_comp_object_color_visible_set_listener_add

Change-Id: Ic3c291697bf59dd964b5520be66210a01880b9ef

7 months agoe_pixmap: add E_PIXMAP_HOOK_BUFFER_CLEAR_DONE 09/306009/3
Changyeon Lee [Wed, 24 Jan 2024 03:37:26 +0000 (12:37 +0900)]
e_pixmap: add E_PIXMAP_HOOK_BUFFER_CLEAR_DONE

Change-Id: I5dd06d5bad91a3e5b5884bc7fe13e5e516363300

7 months agoe_hwc_windows: add missing initialization of vis_skip 08/306008/3
Changyeon Lee [Wed, 24 Jan 2024 02:25:20 +0000 (11:25 +0900)]
e_hwc_windows: add missing initialization of vis_skip

Change-Id: I485c3bad91196f589ef5349d5f177f5bf2825cac

7 months agoe_comp_object: add E_COMP_OBJECT_HOOK_RENDER_UPDATE_LOCK_UNSET 07/306007/3
Changyeon Lee [Wed, 17 Jan 2024 02:56:40 +0000 (11:56 +0900)]
e_comp_object: add E_COMP_OBJECT_HOOK_RENDER_UPDATE_LOCK_UNSET

Change-Id: I6d56f44a2ba4e8469beabbe5ecc4a768cc3ade55

7 months agoe_comp_object: add e_comp_object_color_set_listener_add 06/306006/3
Changyeon Lee [Mon, 22 Jan 2024 09:30:22 +0000 (18:30 +0900)]
e_comp_object: add e_comp_object_color_set_listener_add

Change-Id: If7d96290a1034b1d2dcc4586fe6a58af2cb7aa3c

7 months agoe_comp_object: add e_comp_object_content_type_set_listener_add 05/306005/3
Changyeon Lee [Mon, 22 Jan 2024 09:25:09 +0000 (18:25 +0900)]
e_comp_object: add e_comp_object_content_type_set_listener_add

Change-Id: I4b25cca0193023cb48e97b8bf72546f8eb0a71e2

7 months agoe_comp_object: add e_comp_object_render_op_set_listener_add 04/306004/3
Changyeon Lee [Mon, 22 Jan 2024 09:21:00 +0000 (18:21 +0900)]
e_comp_object: add e_comp_object_render_op_set_listener_add

Change-Id: I4462fb88a124c2406b211550438b13120f6f2809

7 months agoe_comp_object: add e_comp_object_image_filter_set_listener_add 03/306003/3
Changyeon Lee [Mon, 22 Jan 2024 09:17:19 +0000 (18:17 +0900)]
e_comp_object: add e_comp_object_image_filter_set_listener_add

Change-Id: I9a5d61e43b1a0511d527e932868ac0e0613d4807

7 months agoe_hwc_windows: add e_hwc_windows_comp_override_set 02/306002/3
Changyeon Lee [Mon, 22 Jan 2024 08:46:24 +0000 (17:46 +0900)]
e_hwc_windows: add e_hwc_windows_comp_override_set

Change-Id: I1ed35d2d184a2e0889b471369406e78771b5b3ac

7 months agoe_hwc: get output available size in hwc_new 01/306001/3
Changyeon Lee [Thu, 18 Jan 2024 04:43:53 +0000 (13:43 +0900)]
e_hwc: get output available size in hwc_new

Change-Id: I21232629094eea0f2d1ccc661bda6d1a20afac63

7 months agoe_hwc_window: add e_hwc_window_never_hwc_set 00/306000/3
Changyeon Lee [Thu, 18 Jan 2024 03:18:28 +0000 (12:18 +0900)]
e_hwc_window: add e_hwc_window_never_hwc_set

Change-Id: Idbcd02832c470fe9dcfd0513293e95876f08a1a0

7 months agoe_hwc_window: add e_hwc_window_comp_override_set 99/305999/3
Changyeon Lee [Thu, 18 Jan 2024 03:10:53 +0000 (12:10 +0900)]
e_hwc_window: add e_hwc_window_comp_override_set

Change-Id: Ib68ab414ac1e2ba80d4f39b443d85fc5d41cadf5

7 months agoe_hwc_windows: remove rendered_windows in the E_Hwc_Windows_Comp_Info 98/305998/3
Changyeon Lee [Wed, 10 Jan 2024 11:24:55 +0000 (20:24 +0900)]
e_hwc_windows: remove rendered_windows in the E_Hwc_Windows_Comp_Info

use e_hwc_windows_present_sync for sychronizing gl and hwc compositing

Change-Id: Iecd09fa3be23aa00fa23aca05bef5edf2de20c21

7 months agopackaging: Update version to tz8_15.2.2 24/306224/1
Inhong Han [Mon, 19 Feb 2024 04:32:47 +0000 (13:32 +0900)]
packaging: Update version to tz8_15.2.2

Change-Id: Ide363649ccf19a776922a80023d87f38000ec890

7 months agoe_pointer: add damage when hiding cursor object 22/306222/1
duna.oh [Mon, 19 Feb 2024 03:19:10 +0000 (12:19 +0900)]
e_pointer: add damage when hiding cursor object

Change-Id: I4a85d51cadbfe9dd00d2878ecabed146e607962c
(cherry picked from commit 7b2eed891bccfeec081cde817d0d8806aef193af)

7 months agopackaging: Update version to tz8_15.2.1 87/305987/1 accepted/tizen/8.0/unified/20240215.155622
Jihoon Kim [Wed, 14 Feb 2024 11:39:42 +0000 (20:39 +0900)]
packaging: Update version to tz8_15.2.1

Change-Id: Ic3bac2c8264545c44b34bebdbd785fb1b68fdcf1
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
7 months agoe_devicemgr_input: fix issue tizen_input_device_manager object is not found 85/305985/1
Jihoon Kim [Wed, 14 Feb 2024 10:46:45 +0000 (19:46 +0900)]
e_devicemgr_input: fix issue tizen_input_device_manager object is not found

errno 22 (invalid argument) occurs because the tizen_input_device_manager object is not found after receiving the device_remove event of the tizen_input_device_manager interface from the wayland client.

Change-Id: I372267cd2080bec95c341f97cb1cd6631e766d55
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
7 months agopackaging: Update version to tz8_15.2.0 92/305792/1 accepted/tizen/8.0/unified/20240208.163224
duna.oh [Thu, 8 Feb 2024 01:33:45 +0000 (10:33 +0900)]
packaging: Update version to tz8_15.2.0

Change-Id: I055951515a3c6e7d2644f65af596786a1b7b39ff

7 months agoe_input: add E_API e_input_device_keyboard_has_key(dev, device_path, code) 90/305790/2
duna.oh [Tue, 6 Feb 2024 09:41:20 +0000 (18:41 +0900)]
e_input: add E_API e_input_device_keyboard_has_key(dev, device_path, code)

E_API for checking if a keyboard key is present on a given input device

Change-Id: I752453b81b8fe0216fdd8f0039cdcefd69d0d49d

7 months agopackaging: Update version to tz8_15.1.3 18/305618/1 accepted/tizen/8.0/unified/20240206.160245
Doyoun Kang [Mon, 5 Feb 2024 10:26:48 +0000 (19:26 +0900)]
packaging: Update version to tz8_15.1.3

Change-Id: I2fc63e1a362e2eadee85e22381a6e33e1d3ad524

7 months agoe_log: refactor log format 11/305611/1
Doyoun Kang [Mon, 5 Feb 2024 09:49:54 +0000 (18:49 +0900)]
e_log: refactor log format

We reduce the log length as below.
1. remove log level in domain info. (ex. INF<e> -> <e>)
2. print just file name w/o directory and reduce file name length to 18 from 30
3. reduce log tag length to 8 from 10

@log_refactoring

Change-Id: Ib08515cabf033f1f72cc674a76d850d5bea4ce06

7 months agoe_client: check visibility of the activated window when focus set to the window 92/305492/1 tizen_7.0_mc
Junseok Kim [Fri, 2 Feb 2024 07:56:54 +0000 (16:56 +0900)]
e_client: check visibility of the activated window when focus set to the window

There was a bug that focus unset by focus calculate after focus set by activate.
(e.g. visible window but out of zone geometry)
This problem occures because the visibility of the activated window is not checked.
For fix this issue, check visibility of the activated window when focus set.

Change-Id: I00cec403b51b11593dfef2c86cf7cfb50858a7af

7 months agopackaging: Update version to tz8_15.1.2 76/305476/1 accepted/tizen/8.0/unified/20240202.165937
Junseok Kim [Fri, 2 Feb 2024 05:19:01 +0000 (14:19 +0900)]
packaging: Update version to tz8_15.1.2

Change-Id: Ia0e14ba8d9cd2dc022105dfa5aed5373896bda7c

7 months agoe_comp_wl: Change ecore_event_mouse_move handler to prepend 75/305475/1
Junseok Kim [Thu, 1 Feb 2024 11:29:05 +0000 (20:29 +0900)]
e_comp_wl: Change ecore_event_mouse_move handler to prepend

There was a bug that KVM Service app receive pointer lock event before drag enter event.
It caused by the EVAS_CALLBACK process faster then ECORE_EVENT callback
For fix this issue, change from append to prepend when add ecore_event_mouse_move handler

Change-Id: I2df4e0a8e302604a299440363edc215afaa419b8

7 months agopackaging: Update version to tz8_15.1.1 71/305371/1
Junkyeong Kim [Thu, 1 Feb 2024 02:47:49 +0000 (11:47 +0900)]
packaging: Update version to tz8_15.1.1

Change-Id: I5dc80be5c053e5f4c3703779554d901109be71dd
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 months agoe_info_protocol: Avoid overflow 70/305370/1
Junkyeong Kim [Fri, 26 Jan 2024 08:03:08 +0000 (17:03 +0900)]
e_info_protocol: Avoid overflow

Change-Id: I7baf6c4b5ffeb37d4e4aaf055973fad3c97f56f2

7 months agopackaging: Update version to tz8_15.1.0 01/305201/2 accepted/tizen/8.0/unified/20240131.175821
Junseok Kim [Tue, 30 Jan 2024 04:08:09 +0000 (13:08 +0900)]
packaging: Update version to tz8_15.1.0

Change-Id: I9024f7fa367c678944e09fabe6af935af06af6d0

7 months agoe_service_kvm: send source mimetype to kvm service 82/305182/1
Junseok Kim [Fri, 26 Jan 2024 06:24:55 +0000 (15:24 +0900)]
e_service_kvm: send source mimetype to kvm service

Change-Id: If76fad160d784b0263713d85ed6cb5ab414a5ad6

8 months agopackaging: Update version to tz8_15.0.2 79/304879/1
duna.oh [Thu, 25 Jan 2024 06:07:57 +0000 (15:07 +0900)]
packaging: Update version to tz8_15.0.2

Change-Id: Ia288ce77ef4aec7da44b9d5fe541fb9f33e5afc1

8 months agoe_comp_wl_input: ungrab input before warping a pointer to cursor position hint 78/304878/1
duna.oh [Tue, 9 Jan 2024 01:50:28 +0000 (10:50 +0900)]
e_comp_wl_input: ungrab input before warping a pointer to cursor position hint

Change-Id: I3637b526d37f3a72477fe3896c8fac6d4a942cd1

8 months agoe_policy_wl: resize the splash window to screen size if its size is under 1 81/304581/1
Doyoun Kang [Fri, 19 Jan 2024 10:25:35 +0000 (19:25 +0900)]
e_policy_wl: resize the splash window to screen size if its size is under 1

Change-Id: Ic1493311817e733ef0a3251df390fd14a92bdcc5

8 months agopackaging: Update version to tz8_15.0.1 22/304522/1 accepted/tizen/8.0/unified/20240119.154123
Doyoun Kang [Thu, 18 Jan 2024 09:41:27 +0000 (18:41 +0900)]
packaging: Update version to tz8_15.0.1

Change-Id: Ic48e26ebc964bea6085587bfda5382b8369be357

8 months agoe_zone: modify code to check ec->iconic and iconify_by_client in calculate visibility 21/304521/1
Doyoun Kang [Thu, 18 Jan 2024 06:56:27 +0000 (15:56 +0900)]
e_zone: modify code to check ec->iconic and iconify_by_client in calculate visibility

There was a bug that the visibility was calculated before changing iconic state.
So, we add code to check both ec->iconic and iconify_by_client values.

Change-Id: Ie2a36d23e0ba2041086b7abb10a1d0b7401e6529

8 months agopackaging: Update version to tz8_15.0.0 88/304388/1 accepted/tizen/8.0/unified/20240117.162931
Doyoun Kang [Tue, 16 Jan 2024 23:31:28 +0000 (08:31 +0900)]
packaging: Update version to tz8_15.0.0

Change-Id: I3ac4bff3ffb426395b82dd301af503806644ec1c

8 months agoe_xdg_shell_v6: fix bug for updating min_max size 59/304359/1
Doyoun Kang [Tue, 16 Jan 2024 00:25:12 +0000 (09:25 +0900)]
e_xdg_shell_v6: fix bug for updating min_max size

Change-Id: I85e8265a27391f975306ebb0a1997c6bf938273b

8 months agoe_hwc_window: add E_HWC_WINDOW_RESTRICTION_QUEUE_UNSET_WAITING 50/304350/1
Changyeon Lee [Tue, 16 Jan 2024 06:10:41 +0000 (15:10 +0900)]
e_hwc_window: add E_HWC_WINDOW_RESTRICTION_QUEUE_UNSET_WAITING

after hwc use thread for copying backup buffer, hwc_window can
have queue buffer even if it unset queue.
it occurs flickering in below case.

1. hwc set DV state to window
2. tdm backend set CL state to window
3. evas compositor render with window at buffer 1
3. window 1 has queue buffer even if queue is unset
4. tdm backend set DV state to window because window 1 has queue buffer
5. evas compositor render without window at buffer 2
6. copy thread update buffer of window and tdm backend set CL state
7. hwc set CL state to window and commit buffer 1 at target window
8. hwc commit buffer 2 and window has flickering because it is not
   rendered in buffer 2

so hwc restrict device state if hwc window is queue unset wait state.

Change-Id: I80c79d8e9276a2a0c8d296e53c16aaadd02633db

8 months agopackaging: Update version to tz8_14.0.1 05/304205/1 accepted/tizen/8.0/unified/20240112.155127
Doyoun Kang [Fri, 12 Jan 2024 04:58:02 +0000 (13:58 +0900)]
packaging: Update version to tz8_14.0.1

Change-Id: Ib001e38b4481aff9fc3c4f25e4802715f49162a8

8 months agoe_keyrouter: add missing grab key mutex 94/304194/1
Jihoon Kim [Thu, 11 Jan 2024 10:37:18 +0000 (19:37 +0900)]
e_keyrouter: add missing grab key mutex

Change-Id: If85f3a39224c54615b9d8fb381227458c4c22123
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
8 months agoFix deadlock issue when a keyboard is unbound 91/304191/1
Inhong Han [Thu, 11 Jan 2024 06:51:57 +0000 (15:51 +0900)]
Fix deadlock issue when a keyboard is unbound

When the main thread flushes events, it destroys a client and unbinds a
keyboard. When the keyboard is unbound, the main thread locks a keyboard
resource/focused mutex, which can cause a deadlock if the input thread
also locks the same mutex and requests main thread boosting.
Therefore, the main thread should not be boosted while the input thread
has locked the keyboard resource/focused mutex.

Change-Id: I3466b9c05617f21a5223afba01be35fe769273d5

8 months agopackaging: Update version to tz8_14.0.0 81/304081/1 accepted/tizen/8.0/unified/20240110.155110
Doyoun Kang [Wed, 10 Jan 2024 01:28:41 +0000 (10:28 +0900)]
packaging: Update version to tz8_14.0.0

Change-Id: If4461b4251012b33f95c47781d7d000618f3e99b

8 months agoe_comp_wl_tbm: add egl_image_buffer_get_with_flags to E_Comp_Wl_Tbm_Funcs 85/303985/1
Changyeon Lee [Thu, 4 Jan 2024 09:43:28 +0000 (18:43 +0900)]
e_comp_wl_tbm: add egl_image_buffer_get_with_flags to E_Comp_Wl_Tbm_Funcs

Change-Id: I3cfe6edd34e3ca4e318e0affad41ad20cc3b668a

8 months agoFix issue detected by static analysis tool 82/303982/1
Inhong Han [Mon, 8 Jan 2024 04:55:53 +0000 (13:55 +0900)]
Fix issue detected by static analysis tool

Change-Id: Ic091c27710942ced633611ae75afbdb8f4d8d4ab
(cherry picked from commit ceda310410097a671f5e77b5950d7489e6f71055)

8 months agoe_hwc_window: remove dead code 39/303939/2
Changyeon Lee [Mon, 8 Jan 2024 06:51:27 +0000 (15:51 +0900)]
e_hwc_window: remove dead code

Change-Id: I5816ab9e0c41613ef4faed548ce9fc0789d0efc5

8 months agoe_hwc_window: fix the below_transparent_obj geometry when ec is transformed 23/303923/2
Changyeon Lee [Fri, 5 Jan 2024 02:58:08 +0000 (11:58 +0900)]
e_hwc_window: fix the below_transparent_obj geometry when ec is transformed

fix mismatch geometry of ec and the below_transparent_obj

Change-Id: Ifb53f1c1e7f71e0e5a272587a97e6bbe3ec9e115

8 months agoe_hwc_window: do not add the below_transparent_obj to smart member of comp object 22/303922/1
Changyeon Lee [Thu, 4 Jan 2024 08:12:38 +0000 (17:12 +0900)]
e_hwc_window: do not add the below_transparent_obj to smart member of comp object

if color of comp object is set transparent when it is redirected,
the below_transparent_obj is not rendered in evas.

Change-Id: I8498e50effbdc788382a3dea5dd247e45bdab1a3

8 months agoe_input_evdev: add timestamp in relative move log 49/303749/1
Jihoon Kim [Thu, 4 Jan 2024 04:14:39 +0000 (13:14 +0900)]
e_input_evdev: add timestamp in relative move log

Change-Id: Iee76385c14d3377a1b7046b2913058de4e23375e
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
8 months agopackaging: Update version to tz8_13.5.1 30/303730/2 accepted/tizen/8.0/unified/20240105.070019
Seunghun Lee [Thu, 4 Jan 2024 03:51:44 +0000 (12:51 +0900)]
packaging: Update version to tz8_13.5.1

Change-Id: Ic1d3179ed50c7e7109c17d9a3efb24347383595c

8 months agoe_comp_wl_buffer: Fix null dereference 29/303729/1
Seunghun Lee [Wed, 3 Jan 2024 05:38:30 +0000 (14:38 +0900)]
e_comp_wl_buffer: Fix null dereference

The return value of ds_buffer_get_resource() can be null if the
wl_resource of wl_buffer has been destroyed.
This patch addresses this issue by properly checking for a null return
value and handling it accordingly.

Change-Id: I3c4afe568d2c44f051db8bc5762f10207f558f84
(cherry picked from commit 1fe594806d3fdd2a3ce8979f3ea70bd5d6910d3d)

8 months agoe_devicemgr: add missing mutex for device_list 53/303653/1
Jihoon Kim [Tue, 2 Jan 2024 02:48:20 +0000 (11:48 +0900)]
e_devicemgr: add missing mutex for device_list

missing_lock: Accessing e_devicemgr->device_list without holding lock _E_Devicemgr.device_list_mutex.
Elsewhere, _E_Devicemgr.device_list is written to with _E_Devicemgr.device_list_mutex held 2 out of 4 times
(2 of these accesses strongly imply that it is necessary).

Change-Id: I27bd2c6d7f1dd40cb18291164b87d9d75746c407
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
8 months agoe_input: add missing mutex for keymap 52/303652/1
Jihoon Kim [Tue, 2 Jan 2024 02:54:14 +0000 (11:54 +0900)]
e_input: add missing mutex for keymap

missing_lock: Accessing e_comp_wl->xkb.keymap without holding lock _E_Comp_Wl_Data.xkb.keymap_mutex.
Elsewhere, _E_Comp_Wl_Data.xkb.keymap is written to with _E_Comp_Wl_Data.xkb.keymap_mutex held 3 out of 4 times (1 of these accesses strongly imply that it is necessary).

Change-Id: I9e682d9b3a8862b92e789ddac9eb9eb82177527d
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
8 months agoe_comp_wl_input: add missing mutex for xkb.state variable 51/303651/1
Jihoon Kim [Tue, 2 Jan 2024 03:01:35 +0000 (12:01 +0900)]
e_comp_wl_input: add missing mutex for xkb.state variable

missing_lock: Accessing e_comp_wl->xkb.state without holding lock _E_Comp_Wl_Data.xkb.state_mutex.
Elsewhere, _E_Comp_Wl_Data.xkb.state is written to with _E_Comp_Wl_Data.xkb.state_mutex held 5 out of 5 times.

Change-Id: Id85216287e5644f276fbeb80e615bd5df7816e1f
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
8 months agoe_hwc_windows: fix missing present feedback callback when queue is cleared 63/303563/1
Changyeon Lee [Tue, 2 Jan 2024 03:22:27 +0000 (12:22 +0900)]
e_hwc_windows: fix missing present feedback callback when queue is cleared

if queue is cleared when state of target window is none, present feedback
callback of queue buffer is missed until queue buffer is resued.
this patch move present feedback callback to target window when
queue is cleared.

Change-Id: Idfcddad5b01478a3439ad790a1c8dc8af4f93c90

9 months agopackaging: Update version to tz8_13.5.0 88/303488/1 accepted/tizen/8.0/unified/20240101.155026
Doyoun Kang [Thu, 28 Dec 2023 07:05:07 +0000 (16:05 +0900)]
packaging: Update version to tz8_13.5.0

Change-Id: I2f996c555ac88d1389daa90230371bfaaa825014

9 months agoe_devicemgr: make device resource inert when device is removed 87/303487/1
duna.oh [Wed, 27 Dec 2023 03:10:05 +0000 (12:10 +0900)]
e_devicemgr: make device resource inert when device is removed

Change-Id: I5dc879503734f934180c7427036e121ca46470f3

9 months agoe_devicemgr_inputgen: give more time waiting for a device to become ready 86/303486/1
duna.oh [Wed, 27 Dec 2023 09:34:15 +0000 (18:34 +0900)]
e_devicemgr_inputgen: give more time waiting for a device to become ready

Change-Id: I4ad17d67addf58132780f038bd31b97cc34b2cb0

9 months agoe_comp_wl_shell/e_policy: apply transient_for stack when the window is mapped 85/303485/1
Doyoun Kang [Wed, 27 Dec 2023 01:12:51 +0000 (10:12 +0900)]
e_comp_wl_shell/e_policy: apply transient_for stack when the window is mapped

Change-Id: Ie17b5d7d09ff7cb5a885c14bd0c07469d132d26c

9 months agoe_keyrouter: call connection_lock/unlock when sending events in keyrouter 84/303484/1
Joonbum Ko [Tue, 19 Dec 2023 04:33:09 +0000 (13:33 +0900)]
e_keyrouter: call connection_lock/unlock when sending events in keyrouter

 - When callsing some protocol that causes wl_resource_post_event,
  if the main thread locks the connection_mutex and becomes runnable status
  due to CPU contention, the input thread waits at the mutex lock
  inside wayland.
 - e_comp_wl_connection_mutex_lock() will call boostig API
  for main thread when its trylock has been failed.

Change-Id: I320d910f1307d6a895943fc89f369f607c9ca850
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
9 months agoe_input: generalize boost mutex function and move it to e_input 83/303483/1
Joonbum Ko [Tue, 19 Dec 2023 04:20:09 +0000 (13:20 +0900)]
e_input: generalize boost mutex function and move it to e_input

 - Moved the implementation of e_comp_wl_connection_lock/unlcok to e_input
 - It was modified to receive GMutex* as a parameter so that boosting
  can be called for other mutexes.
 - If the input thread ID set, save the thread_id using pthread_setspecific.
 - If the return value of pthread_getspecific is NULL,
  it is determined that it is not input thread, and it will not call
  boosting for main thread when trylock failed.

Change-Id: I19151d9248ec31723d45ebd422eb8dc9dc67e9fa
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
9 months agoe_comp_wl_buffer: Drop usage of deprecated field 82/303482/1
Seunghun Lee [Tue, 26 Dec 2023 01:14:46 +0000 (10:14 +0900)]
e_comp_wl_buffer: Drop usage of deprecated field

The 'debug_info' field is no longer used.

Change-Id: Ib38062146d46d7c2dbf8253604413e615654b292

9 months agoe_input: fix memory leak issue detected by static analysis tool 16/303316/1
Jihoon Kim [Thu, 21 Dec 2023 10:15:45 +0000 (19:15 +0900)]
e_input: fix memory leak issue detected by static analysis tool

Change-Id: I866aef6cded6ed0afcbbd7ee6424004769c76e08
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
9 months agoe_devicemgr: fix concurrent data access issue 15/303315/1
Jihoon Kim [Thu, 21 Dec 2023 09:26:07 +0000 (18:26 +0900)]
e_devicemgr: fix concurrent data access issue

Unlocking &e_devicemgr->device_list_mutex.
dev might now be unreliable because other threads can now change the data that it depends on.

Change-Id: I53de501197737d4f37768cf8cef2e06282ce7224
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
9 months agopackaging: Update version to tz8_13.4.0 14/303314/1 accepted/tizen/8.0/unified/20231226.175926
Doyoun Kang [Thu, 21 Dec 2023 05:51:35 +0000 (14:51 +0900)]
packaging: Update version to tz8_13.4.0

Change-Id: I034cd1edce1e3aefbca5c1d84374c729d8a31971

9 months agoFix build error in 64bit architecture 13/303313/1
Inhong Han [Thu, 21 Dec 2023 04:47:43 +0000 (13:47 +0900)]
Fix build error in 64bit architecture

Change-Id: I8aa149f81f19e705a946fdc09f09784924c04751

9 months agoe_comp_wl_buffer: Use ds_buffer_get_size() 12/303312/1
Seunghun Lee [Wed, 20 Dec 2023 01:22:21 +0000 (10:22 +0900)]
e_comp_wl_buffer: Use ds_buffer_get_size()

Previously, the size of E_Comp_Wl_Buffer was set manually.
This patch uses ds_buffer_get_size() to obtain the size of the buffer
instead.

Change-Id: I592122a13a0551dd7f15b9752639fd7de2129958

9 months agoe_comp_wl_buffer: Deprecate 'debug_info' field 11/303311/1
Seunghun Lee [Tue, 19 Dec 2023 09:12:03 +0000 (18:12 +0900)]
e_comp_wl_buffer: Deprecate 'debug_info' field

The 'debug_info' field in E_Comp_Wl_Buffer is no longer used nor useful.
This patch deprecates it, and its actual removal will be carried out in
the future along with other deprecated fields.

Change-Id: Ia90103ee783053d69d06f9c24d44610fda9a6c0d

9 months agoe_comp_wl_buffer: Drop outdated comments 10/303310/1
Seunghun Lee [Tue, 14 Nov 2023 06:59:45 +0000 (15:59 +0900)]
e_comp_wl_buffer: Drop outdated comments

Change-Id: I714b0a97cd61584f3e226400daa9eed4f9802c48

9 months agoe_comp_wl_buffer: Deprecate 'native buffer type' 09/303309/1
Seunghun Lee [Tue, 14 Nov 2023 04:01:40 +0000 (13:01 +0900)]
e_comp_wl_buffer: Deprecate 'native buffer type'

The 'native buffer type' has become obsolete and is no longer needed.
This commit removes support for this buffer type.

We can reimplement this feature if it becomes necessary again in the
future, and we would have to implement this feature in libds library as
a backend of ds_buffer.

Change-Id: Ib953ced94a9d7d1f1c0e7e3f42cc3bbaed14687d

9 months agoe_comp_wl_buffer: Deprecate wayland_tbm_server_increase_buffer_sync_timeline() 08/303308/1
Seunghun Lee [Tue, 14 Nov 2023 03:53:36 +0000 (12:53 +0900)]
e_comp_wl_buffer: Deprecate wayland_tbm_server_increase_buffer_sync_timeline()

The `buffer_sync_timeline` feature appears to have been deprecated and
is no longer required. This commit removes the call to
wayland_tbm_server_increase_buffer_sync_timeline() to simplify the code.
If this feature becomes necessary again in the future, we can revisit
its implementation at that time.

Change-Id: Ia83ecad4c45a7dd8f7ebbe9ea15a1bbe667914e3

9 months agoe_comp_wl_buffer: Refactoring for better code organization 07/303307/1
Seunghun Lee [Tue, 7 Nov 2023 07:11:53 +0000 (16:11 +0900)]
e_comp_wl_buffer: Refactoring for better code organization

* Extracted common functionality into separate functions for readability
* Removed an unnecessary call to wl_buffer_send_release()[1]
* Made other minor changes for readability

[1]: Since `E_Comp_Wl_Buffer` has been created with ds_buffer, using
wl_buffer_send_release to send a release message is no longer necessary.
The backend implementation of ds_buffer will handle this automatically.

Change-Id: Ica32684c2a74be6d6e7aa1046ba446d8b1f29d56

9 months agoe_comp_wl_buffer: Use wl_container_of instead of casting 06/303306/1
Seunghun Lee [Tue, 7 Nov 2023 07:03:15 +0000 (16:03 +0900)]
e_comp_wl_buffer: Use wl_container_of instead of casting

Change-Id: I4c8e7cd7ac12a9d88bb4f6db044edd30f431a54c

9 months agoe_comp_wl_buffer: Move add_destroy_listener to appropriate function 05/303305/1
Seunghun Lee [Mon, 6 Nov 2023 08:25:30 +0000 (17:25 +0900)]
e_comp_wl_buffer: Move add_destroy_listener to appropriate function

Change-Id: I380f3218bace659008c9afdb4342635af27b3a48

9 months agoe_comp_wl_buffer: Simplify if conditions 04/303304/1
Seunghun Lee [Mon, 6 Nov 2023 08:20:26 +0000 (17:20 +0900)]
e_comp_wl_buffer: Simplify if conditions

Change-Id: Id75f22f2cc1552d19a3720a8b8242b28eeb13a47

9 months agoe_comp_wl_buffer: Remove superfluous null check for ec 03/303303/1
Seunghun Lee [Mon, 6 Nov 2023 07:52:31 +0000 (16:52 +0900)]
e_comp_wl_buffer: Remove superfluous null check for ec

No need to check to see if `ec` is null, because if (!ec), we would've
caught the if (!base || !ds_buffer || !ec) early-return case.

Change-Id: Ie1d8a88d0dcf661717fa73b445fea0172f7518fe

9 months agoe_dnd: Add some logs to print drag start and end 02/303302/1
Junseok Kim [Tue, 19 Dec 2023 07:23:29 +0000 (16:23 +0900)]
e_dnd: Add some logs to print drag start and end

Change-Id: I3841c08b684e17c54e2b967f544b8f618e733014

9 months agoe_comp_wl_data: End the drag when the wl_data_source destroyed 01/303301/1
Junseok Kim [Tue, 19 Dec 2023 07:22:55 +0000 (16:22 +0900)]
e_comp_wl_data: End the drag when the wl_data_source destroyed

End the drag when the wl_data_source destroyed.
And Use e_comp_wl->drag to check the drag already doing.

Change-Id: Ic5f155549fd26a5c103662c855d3be305f225772

9 months agoe_policy_wl: modify code to handle tzsh_service resource 00/303300/1
Doyoun Kang [Wed, 20 Dec 2023 11:17:33 +0000 (20:17 +0900)]
e_policy_wl: modify code to handle tzsh_service resource

There was a bug that the enlightenment was crashed below case.
1. Create tzsh resource.
2. Create multi tzsh_service resource with same tzsh resource
3. Destroy tzsh resource.
4. Destroy multi tzsh_service resource

This patch fixes above issue.

Change-Id: I16d49ce1e8eee57e702fb5ae0ab50bc602a274ba

9 months agoe_policy: add E_POLICY_HOOK_CLIENT_TYPE_SET hook type 15/303015/1
Doyoun Kang [Mon, 18 Dec 2023 06:24:06 +0000 (15:24 +0900)]
e_policy: add E_POLICY_HOOK_CLIENT_TYPE_SET hook type

We add a new hook - E_POLICY_HOOK_CLIENT_TYPE_SET - to notify changing window type.

Change-Id: I01e658fbe496d3ce188ac40aad5b4889d21e95c4

9 months agoe_client: Move e_policy_client_find to e_client 96/302996/1
Junseok Kim [Mon, 18 Dec 2023 10:46:05 +0000 (19:46 +0900)]
e_client: Move e_policy_client_find to e_client

move _e_policy_client_find_above/below to e_client and rename it.

Change-Id: I167e0adbea87214bac6fcb978cf4f8f47c0e84a8

9 months agoAdd trace tags and logs for Input 71/302971/1
Inhong Han [Mon, 18 Dec 2023 06:41:56 +0000 (15:41 +0900)]
Add trace tags and logs for Input

Change-Id: I2313d403c26ed8906cf81ac580ce57dca39510a0

9 months agoe_input: fix build error using uninitialized variable 45/302945/1
duna.oh [Fri, 15 Dec 2023 10:07:27 +0000 (19:07 +0900)]
e_input: fix build error using uninitialized variable

Change-Id: I11f36258a8eb0749a7614412da3e3623b3d13c35

9 months agoe_input: add log for completing to remove device 44/302944/1
Jihoon Kim [Thu, 14 Dec 2023 10:55:53 +0000 (19:55 +0900)]
e_input: add log for completing to remove device

Change-Id: I8ac8b768df6d7b218385abcf4d72594c8c83ce9a
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
9 months agoe_comp_wl: boost main thread when trylock failed in input-thread 46/302846/2
Joonbum Ko [Tue, 5 Dec 2023 07:03:14 +0000 (16:03 +0900)]
e_comp_wl: boost main thread when trylock failed in input-thread

  This patch solves the problem of performance degradation of
 the input-thread due to CPU contention in the main thread.

 AS-IS :
  - If the main thread locks the flush_mutex and becomes runnable status
   due to CPU contention, the input-threads will not be able to successfully
   lock the flush_mutex that the main thread has already locked.
  - The main thread has normal priority so it can stay runnable status
   for quite some time.
  - As long as the main thread remains runnable status, the input-thread
   cannot immediately flush events.

 TO-BE :
  - The input-thread checks for success or failure using g_mutex_trylock
   instead of g_mutex_lock for flush_mutex.
  - There is no difference in behavior when trylock succeeds as before.
  - When trylock fails, the input-thread boosts the main thread so that
   flush_mutex can be unlocked.
  - After the main thread unlocks and the input-thread successfully locks,
   input-thread clears boosting of the main thread immediately.

Change-Id: Iaf814e343afafad34715be1a3fe4f4d09cc02b1a
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>