platform/upstream/enlightenment.git
5 months agoe_desk_area: add/remove client 16/304716/1
SooChan Lim [Thu, 14 Dec 2023 01:15:28 +0000 (10:15 +0900)]
e_desk_area: add/remove client

add listeners to need

Change-Id: Ida7abeff841537c35c14df39df75a24ece94369e

5 months agoe_zone: remove the unused code 15/304715/1
SooChan Lim [Thu, 14 Dec 2023 01:14:46 +0000 (10:14 +0900)]
e_zone: remove the unused code

Change-Id: I063a5f30065f2797123eccfab5f255807af21128

5 months agoe_desk: make a base desk_area 14/304714/1
SooChan Lim [Thu, 14 Dec 2023 01:13:30 +0000 (10:13 +0900)]
e_desk: make a base desk_area

add client to the base desk_area and remove client
from the base desk_area

Change-Id: I98be4869d9262cdbff46976171140a38fbc2ba4a

5 months agoe_comp_object: make internal lisenter apis 13/304713/1
SooChan Lim [Mon, 11 Dec 2023 07:30:02 +0000 (16:30 +0900)]
e_comp_object: make internal lisenter apis

EINTERN void e_comp_object_set_layer_listener_add(Evas_Object *obj, struct wl_listener *listener);
EINTERN void e_comp_object_stack_above_listener_add(Evas_Object *obj, struct wl_listener *listener);
EINTERN void e_comp_object_stack_below_listener_add(Evas_Object *obj, struct wl_listener *listener);

Change-Id: I398e3395ef4ce3c36633121d578de23a87c923a5

5 months agoe_client: make internal lisenter apis 12/304712/1
SooChan Lim [Mon, 11 Dec 2023 07:28:27 +0000 (16:28 +0900)]
e_client: make internal lisenter apis

EINTERN void e_client_get_above_listener_add(E_Client *ec, struct wl_listener *listener);
EINTERN void e_client_get_below_listener_add(E_Client *ec, struct wl_listener *listener);
EINTERN void e_client_subsurface_stack_update_listener_add(E_Client *ec, struct wl_listener *listener);

Change-Id: I1c35f5903521262a73c7ff4a0e7b95dc9148035b

5 months agoe_desk_area: make a smart object for e_desk_area 11/304711/1
SooChan Lim [Mon, 11 Dec 2023 07:25:42 +0000 (16:25 +0900)]
e_desk_area: make a smart object for e_desk_area

The smart object contains the e_clients which belong to
this desk_area.

Change-Id: Idf8501eca19c214db246922dd1edb91155887e1e

5 months agoe: add REFACTOR_DESK_AREA feature 10/304710/1
SooChan Lim [Mon, 11 Dec 2023 05:13:05 +0000 (14:13 +0900)]
e: add REFACTOR_DESK_AREA feature

Change-Id: I5214b9525e5b8a4928ce17fca13dfdd4622c342e

5 months agoe_policy_wl: resize the splash window to screen size if its size is under 1 02/304602/2
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

5 months agoe_input: Remove libinput mutex 01/304601/1
Jihoon Kim [Wed, 17 Jan 2024 09:16:05 +0000 (18:16 +0900)]
e_input: Remove libinput mutex

Change-Id: I98a0b7f032f6d4add88b876d1060d07339223b55
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
5 months agopackaging: Update version to tz9_4.0.1 24/304524/1 accepted/tizen/unified/20240119.154742
Doyoun Kang [Thu, 18 Jan 2024 10:34:29 +0000 (19:34 +0900)]
packaging: Update version to tz9_4.0.1

Change-Id: Iedddb2909604b581fc519cd6828b7dc4e30f1074

5 months agoe_zone: modify code to check ec->iconic and iconify_by_client in calculate visibility 19/304519/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

5 months agoe_comp_wl: Remove legacy code 10/304510/1
Seunghun Lee [Thu, 4 Jan 2024 08:20:54 +0000 (17:20 +0900)]
e_comp_wl: Remove legacy code

This patch removes the duplicate code that handles the mapped state of
E_Client in the commit handler.
It also eliminates the unnecessary
e_client_hide_with_pending_show_cancel() function which has been
superseded by a newer version of e_client_hide().

Change-Id: I03c43af973725e2850c9e08177b86e3e688e3a80

5 months agoe_client: Introduce e_client_{show,hide} 09/304509/1
Seunghun Lee [Tue, 5 Dec 2023 06:19:58 +0000 (15:19 +0900)]
e_client: Introduce e_client_{show,hide}

In this commit, we have added two new APIs - `e_client_show()` and
`e_client_hide()` - to enhance code organization and readability.

Change-Id: I9c614f49d007668ec5961ff5d6064d8fb47d1b23

5 months agoe_client: Add e_client_shell APIs and refactor 08/304508/1
Seunghun Lee [Tue, 5 Dec 2023 02:01:00 +0000 (11:01 +0900)]
e_client: Add e_client_shell APIs and refactor

This commit introduces a new set of APIs under the `e_client_shell`
namespace, which are designed to provide an easier and more intuitive
way to interact with the shell component in the e_client.

These APIs replace the previous approach of directly accessing
`ec->comp_data->shell`, resulting in improved code organization and
maintainability.

Change-Id: Iec4c951b8e0acc51cbccc310fcc8edf40232fd95

5 months agoe_client: deprecate some values of E_Client 47/304447/1
Doyoun Kang [Wed, 17 Jan 2024 09:05:00 +0000 (18:05 +0900)]
e_client: deprecate some values of E_Client

Change-Id: I5855b9b53f14f7c511129bee0c1b0927a465bc35

5 months agoe_client/e_comp_cfdata: deprecate urgent value 46/304446/1
Doyoun Kang [Wed, 17 Jan 2024 07:59:44 +0000 (16:59 +0900)]
e_client/e_comp_cfdata: deprecate urgent value

Change-Id: I1bcd96f020394b019d257c6d819bd300670b9d1b

5 months agoe_client: deprecate some values of icccm in E_Client 45/304445/1
Doyoun Kang [Wed, 17 Jan 2024 07:50:01 +0000 (16:50 +0900)]
e_client: deprecate some values of icccm in E_Client

Change-Id: I9da6dd64bb9384cf937b15a39b0a1717779ebff1

5 months agopackaging: Update version to tz9_4.0.0 95/304395/2 accepted/tizen_unified_riscv accepted/tizen/unified/20240117.163246 accepted/tizen/unified/riscv/20240118.054602
Doyoun Kang [Wed, 17 Jan 2024 00:52:11 +0000 (09:52 +0900)]
packaging: Update version to tz9_4.0.0

Change-Id: Ieaec55e84b6ae877797e8aab6e6a1cf3bdb2c8b9

5 months agoe_client: deprecate some values of netwm in E_Client 92/304392/1
Doyoun Kang [Tue, 16 Jan 2024 10:00:39 +0000 (19:00 +0900)]
e_client: deprecate some values of netwm in E_Client

Change-Id: Id5561c716d908c2951d5be16c26a11c29eab685f

5 months agoe_client: deprecate ignore_first_unmap value using EINA_DEPRECATED 91/304391/1
Doyoun Kang [Tue, 16 Jan 2024 09:33:11 +0000 (18:33 +0900)]
e_client: deprecate ignore_first_unmap value using EINA_DEPRECATED

Change-Id: Ia4967bd7a6177f7266539b583d9f2ca4d5cef840

5 months agodeprecate the pending_resize in E_Client and the E_Client_Pending_Resize 90/304390/1
Doyoun Kang [Tue, 16 Jan 2024 09:30:08 +0000 (18:30 +0900)]
deprecate the pending_resize in E_Client and the E_Client_Pending_Resize

Change-Id: I3ef8ed05901d61b058da701e592f61cb17246ba8

5 months agoFix typo 89/304389/1
review-bot [Tue, 16 Jan 2024 08:23:26 +0000 (17:23 +0900)]
Fix typo

Change-Id: I6b9e135c7b6f4d55267e0c6d10096eb6c3282234

5 months agoe_hwc_window: add E_HWC_WINDOW_RESTRICTION_QUEUE_UNSET_WAITING 49/304349/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

6 months agoe_xdg_shell_v6: fix bug for updating min_max size 11/304311/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

6 months agoe_client: deprecate ignore_first_unmap value in E_Client 85/304285/1
Doyoun Kang [Mon, 15 Jan 2024 07:54:07 +0000 (16:54 +0900)]
e_client: deprecate ignore_first_unmap value in E_Client

Change-Id: I038d612093be846cb1ad6feda93932027fe7c2f0

6 months agopackaging: Update version to tz9_3.0.1 04/304204/1 accepted/tizen/unified/20240112.154619 accepted/tizen/unified/riscv/20240115.113713
Doyoun Kang [Fri, 12 Jan 2024 04:47:19 +0000 (13:47 +0900)]
packaging: Update version to tz9_3.0.1

Change-Id: I007c529299b33667cd16d4a254dfb9b5e94c74b4

6 months agoFix deadlock issue when a keyboard is unbound 90/304190/2
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

6 months agoe_keyrouter: add missing grab key mutex 81/304181/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>
6 months agopackaging: Update version to tz9_3.0.0 63/304163/2 accepted/tizen/unified/20240111.161417
Doyoun Kang [Thu, 11 Jan 2024 05:52:31 +0000 (14:52 +0900)]
packaging: Update version to tz9_3.0.0

Change-Id: I3c4cfc1694be963ce6fea3aa54132af647f56e83

6 months agoremove code related with E_Client's mwm value 61/304161/1
Doyoun Kang [Wed, 10 Jan 2024 10:18:11 +0000 (19:18 +0900)]
remove code related with E_Client's mwm value

Change-Id: I5d99f836d2aacc284f26a6b65436fc381fae4054

6 months agoremove code related with E_Comp_Object's shade/unshade 44/304144/1
Doyoun Kang [Wed, 10 Jan 2024 08:58:22 +0000 (17:58 +0900)]
remove code related with E_Comp_Object's shade/unshade

Change-Id: Ifb1da35839108aeaa56fe54d7509ae46de84bc01

6 months agoremove code related with ec->changes.shading/shaded 43/304143/1
Doyoun Kang [Wed, 10 Jan 2024 08:52:52 +0000 (17:52 +0900)]
remove code related with ec->changes.shading/shaded

Change-Id: Id88875e3cdcf7273505b2e31dee319aee8a82414

6 months agoremove code related with ec->shading 42/304142/1
Doyoun Kang [Wed, 10 Jan 2024 08:39:37 +0000 (17:39 +0900)]
remove code related with ec->shading

Change-Id: I33c0f8d68e69f9609227ae11866dd90dae936613

6 months agoremove code related with ec->shaded 41/304141/1
Doyoun Kang [Wed, 10 Jan 2024 08:26:00 +0000 (17:26 +0900)]
remove code related with ec->shaded

Change-Id: Ie195b353c8be29d414cacfd42506e49c16196fbb

6 months agoremove code related with lock_client_shade 40/304140/1
Doyoun Kang [Wed, 10 Jan 2024 08:04:05 +0000 (17:04 +0900)]
remove code related with lock_client_shade

Change-Id: Ifb0eb91025d9cae1a50c218b038c3ad4793b32b6

6 months agoremove code related with lock_user_shade 39/304139/1
Doyoun Kang [Wed, 10 Jan 2024 08:01:59 +0000 (17:01 +0900)]
remove code related with lock_user_shade

Change-Id: Ice4c3b29922e65837c13ee6be7f268cca2e669b9

6 months agoremove e_client_shade/unshade EINTERN APIs 38/304138/1
Doyoun Kang [Wed, 10 Jan 2024 07:35:01 +0000 (16:35 +0900)]
remove e_client_shade/unshade EINTERN APIs

Change-Id: I8796c45f9b13207783bc41d051f838db99d584ba

6 months agopackaging: Update version to tz9_2.0.0 77/304077/3 accepted/tizen/unified/20240110.154206 accepted/tizen/unified/riscv/20240111.042816
Doyoun Kang [Wed, 10 Jan 2024 00:29:50 +0000 (09:29 +0900)]
packaging: Update version to tz9_2.0.0

Change-Id: If9e131a9e6cfd26129e49b11faf735bfec5a4210

6 months agoe_info_client: Remove dump_video 74/304074/2
Seunghun Lee [Tue, 9 Jan 2024 05:52:35 +0000 (14:52 +0900)]
e_info_client: Remove dump_video

The dump_video function in e_info_client relies on the
capi-media-streamrecorder library which is scheduled for deprecation.
As such, maintaining this function is no longer feasible and it should
be removed.

Change-Id: Ia1f147831f3aac6c413ca4b2d138c8b8cf7b369f

6 months agoIntegrate E_Comp_Wl_Buffer code into e_comp_wl_buffer 26/304026/1
Seunghun Lee [Tue, 26 Dec 2023 01:11:13 +0000 (10:11 +0900)]
Integrate E_Comp_Wl_Buffer code into e_comp_wl_buffer

Previously, the code related to E_Comp_Wl_Buffer was spread across
multiple files.
This patch integrates all relevant code into a single file,
e_comp_wl_buffer.c, for better organization and maintainability.

Change-Id: I67f7803808c81bd967160b0a428b6af23a4b9420

6 months agoe_comp_wl_tbm: add egl_image_buffer_get_with_flags to E_Comp_Wl_Tbm_Funcs 84/303984/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

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

Change-Id: Ic091c27710942ced633611ae75afbdb8f4d8d4ab

6 months agoe_hwc_window: remove dead code 38/303938/1
Changyeon Lee [Mon, 8 Jan 2024 06:51:27 +0000 (15:51 +0900)]
e_hwc_window: remove dead code

Change-Id: I5816ab9e0c41613ef4faed548ce9fc0789d0efc5

6 months agoe_hwc_window: fix the below_transparent_obj geometry when ec is transformed 20/303920/1
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

6 months agoe_hwc_window: do not add the below_transparent_obj to smart member of comp object 19/303919/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

6 months agoe_input_evdev: add timestamp in relative move log 39/303739/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>
6 months agopackaging: Update version to tz9_1.0.1 33/303733/1 accepted/tizen/unified/20240105.013028 accepted/tizen/unified/riscv/20240105.060220
Doyoun Kang [Thu, 4 Jan 2024 03:40:02 +0000 (12:40 +0900)]
packaging: Update version to tz9_1.0.1

Change-Id: Id61585c08d76f2a4409f3ef0c316501fa59e023d

6 months agoe_comp_wl_buffer: Fix null dereference 23/303723/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

6 months agoe_devicemgr: add missing mutex for device_list 46/303646/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>
6 months agoe_input: add missing mutex for keymap 45/303645/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>
6 months agoe_comp_wl_input: add missing mutex for xkb.state variable 44/303644/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>
6 months agoe_hwc_windows: fix missing present feedback callback when queue is cleared 61/303561/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

6 months agopackaging: Update version to tz9_1.0.0 44/303544/1
SooChan Lim [Fri, 29 Dec 2023 04:28:24 +0000 (13:28 +0900)]
packaging: Update version to tz9_1.0.0

Change-Id: I57c7dfde984d2461da795720cb3330a2e6eeede9

6 months agopackaging: Update version to tz8_13.5.0 78/303478/1 accepted/tizen/unified/20240101.155353 accepted/tizen/unified/riscv/20240103.054659
Doyoun Kang [Thu, 28 Dec 2023 07:05:07 +0000 (16:05 +0900)]
packaging: Update version to tz8_13.5.0

Change-Id: I2f996c555ac88d1389daa90230371bfaaa825014

6 months agoe_devicemgr: make device resource inert when device is removed 59/303459/2
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

6 months agoe_devicemgr_inputgen: give more time waiting for a device to become ready 17/303417/2
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

6 months agoe_comp_wl_shell/e_policy: apply transient_for stack when the window is mapped 96/303396/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

6 months agoe_keyrouter: call connection_lock/unlock when sending events in keyrouter 83/303383/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>
6 months agoe_input: generalize boost mutex function and move it to e_input 82/303382/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>
6 months agoe_comp_wl_buffer: Drop usage of deprecated field 29/303329/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

6 months agoe_input: fix memory leak issue detected by static analysis tool 18/303218/2
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>
6 months agoe_devicemgr: fix concurrent data access issue 17/303217/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>
6 months agopackaging: Update version to tz8_13.4.0 03/303203/1 accepted/tizen/unified/20231221.165420 accepted/tizen/unified/riscv/20231226.211815
Doyoun Kang [Thu, 21 Dec 2023 05:51:35 +0000 (14:51 +0900)]
packaging: Update version to tz8_13.4.0

Change-Id: I034cd1edce1e3aefbca5c1d84374c729d8a31971

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

Change-Id: I8aa149f81f19e705a946fdc09f09784924c04751

6 months agoe_comp_wl_buffer: Use ds_buffer_get_size() 89/303189/2
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

6 months agoe_comp_wl_buffer: Deprecate 'debug_info' field 88/303188/2
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

6 months agoe_comp_wl_buffer: Drop outdated comments 87/303187/2
Seunghun Lee [Tue, 14 Nov 2023 06:59:45 +0000 (15:59 +0900)]
e_comp_wl_buffer: Drop outdated comments

Change-Id: I714b0a97cd61584f3e226400daa9eed4f9802c48

6 months agoe_comp_wl_buffer: Deprecate 'native buffer type' 86/303186/2
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

6 months agoe_comp_wl_buffer: Deprecate wayland_tbm_server_increase_buffer_sync_timeline() 85/303185/2
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

6 months agoe_comp_wl_buffer: Refactoring for better code organization 84/303184/2
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

6 months agoe_comp_wl_buffer: Use wl_container_of instead of casting 83/303183/2
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

6 months agoe_comp_wl_buffer: Move add_destroy_listener to appropriate function 82/303182/2
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

6 months agoe_comp_wl_buffer: Simplify if conditions 81/303181/2
Seunghun Lee [Mon, 6 Nov 2023 08:20:26 +0000 (17:20 +0900)]
e_comp_wl_buffer: Simplify if conditions

Change-Id: Id75f22f2cc1552d19a3720a8b8242b28eeb13a47

6 months agoe_comp_wl_buffer: Remove superfluous null check for ec 80/303180/2
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

6 months agoe_dnd: Add some logs to print drag start and end 69/303169/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

6 months agoe_comp_wl_data: End the drag when the wl_data_source destroyed 68/303168/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

6 months agoe_policy_wl: modify code to handle tzsh_service resource 63/303163/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

6 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

6 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

6 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

6 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

6 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>
6 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>
6 months agoe_input: add APIs to set/get main thread id 45/302845/2
Joonbum Ko [Tue, 5 Dec 2023 04:43:14 +0000 (13:43 +0900)]
e_input: add APIs to set/get main thread id

 - In order for the input thread to boost the main thread,
  it needs the main thread ID.
 - When the input thread starts, it obtains the main thread ID
  through getpid() and saves it with e_input_main_thread_id_set().
   After that, input threads can retrieve it via
  e_input_main_thread_id_get().

Change-Id: I1430a0fc355d000a3944c678fb39da40a65d01bb
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
7 months agoe_input: add log for completing to add device 25/302825/1
Jihoon Kim [Thu, 14 Dec 2023 06:07:03 +0000 (15:07 +0900)]
e_input: add log for completing to add device

Change-Id: I4f82f9c571c6bb179da24de68d86b1a813bf4dcf
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
7 months agopackaging: Update version to tz8_13.3.2 68/302668/1 accepted/tizen/8.0/unified/20231221.165533 accepted/tizen/unified/20231212.161255
Doyoun Kang [Tue, 12 Dec 2023 00:29:30 +0000 (09:29 +0900)]
packaging: Update version to tz8_13.3.2

Change-Id: I2a68bf802a3046400105870b51426a54f0c94ce8

7 months agoe_client: get base output resolution during update 67/302667/1
Junseok Kim [Fri, 8 Dec 2023 09:06:30 +0000 (18:06 +0900)]
e_client: get base output resolution during update

Change-Id: I1aa45652f60358b6ad03ceceaa07a2eac6c9e7a7

7 months agoe_comp_object: modify the sequence of deleting evas objects of cw 45/302645/1
duna.oh [Mon, 11 Dec 2023 09:47:26 +0000 (18:47 +0900)]
e_comp_object: modify the sequence of deleting evas objects of cw

cw->obj is swallowed in cw->shobj, which is then swallowed in cw->effect_obj.
When effect_obj is frozen, it prevents obj from being hidden, causing it
to stay visible. This leads to issues with unwanted mouse out/in events.

Change-Id: Ic1b769e4bf5968a8dcaabef2e1a439cdd606ad3f

7 months agoe_input: call libinput function in only input thread 99/302599/1
Jihoon Kim [Wed, 6 Dec 2023 11:46:21 +0000 (20:46 +0900)]
e_input: call libinput function in only input thread

Prevent data race when using libinput library

Change-Id: Ia449371041fab8af857f562a92b304229793cc8b
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
7 months agopackaging: Update version to tz8_13.3.1 09/302509/1 accepted/tizen/unified/20231211.095407
Seunghun Lee [Fri, 8 Dec 2023 02:02:00 +0000 (11:02 +0900)]
packaging: Update version to tz8_13.3.1

Change-Id: I89dc277a78e2d42df3ce5fbd315c4c07e8e444e8

7 months agoRevert "xdg_shell_v6: Do not issue a protocol error" 08/302508/1
Seunghun Lee [Thu, 7 Dec 2023 09:16:02 +0000 (18:16 +0900)]
Revert "xdg_shell_v6: Do not issue a protocol error"

This reverts commit 9d930db4726f393de3da7a34dd01b59a608c829c.

Thanks to the commit[1] in efl, this patch is no longer needed.

[1]: https://review.tizen.org/gerrit/c/platform/upstream/efl/+/302250/

Change-Id: I0ebf9bb298da3a2c04b8bae2f60e2e3bf02efe4f

7 months agopackaging: Update version to tz8_13.3.0 50/302450/1
Doyoun Kang [Thu, 7 Dec 2023 00:27:35 +0000 (09:27 +0900)]
packaging: Update version to tz8_13.3.0

Change-Id: I837704f50fe72f2cec4e31a44ee0f655a418cc24

7 months agoe_keyrouter: add lock/unlock api to protect keygrab list 44/302444/1
Jihoon Kim [Wed, 6 Dec 2023 11:48:36 +0000 (20:48 +0900)]
e_keyrouter: add lock/unlock api to protect keygrab list

Change-Id: I5bb8cabd6cbfa66e01ec35809607bb59ff75a07c
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
7 months agoe_zone: remove the unused function 90/302390/1
SooChan Lim [Wed, 6 Dec 2023 05:24:46 +0000 (14:24 +0900)]
e_zone: remove the unused function

remove the e_zone_xxx_listener_get functions

Change-Id: I8a5e5128b9f14d6f777c9bbc3ac217e63e70df2d

7 months agoe_desk: remove the unused function 89/302389/1
SooChan Lim [Wed, 6 Dec 2023 05:24:23 +0000 (14:24 +0900)]
e_desk: remove the unused function

remove the e_desk_xxx_listener_get functions

Change-Id: I7795cf15f2deeccf4d1e37789983d8695050cc35

7 months agoe_comp_object: remove the unused function 88/302388/1
SooChan Lim [Wed, 6 Dec 2023 05:23:50 +0000 (14:23 +0900)]
e_comp_object: remove the unused function

remove the e_comp_object_xxx_listener_get functions

Change-Id: If9cfd3d8894e6417e71b0842c3c36797d063a56f

7 months agoe_client: remove the unused function 87/302387/1
SooChan Lim [Wed, 6 Dec 2023 05:14:20 +0000 (14:14 +0900)]
e_client: remove the unused function

remove the e_client_xxx_listener_get functions

Change-Id: Icce17274a89a44bffcff1aa5a5f8d78a9b9e730a

7 months agoe_client: do not remove transform of base_output_resolution in _e_client_del 72/302372/2
Changyeon Lee [Fri, 1 Dec 2023 10:07:04 +0000 (19:07 +0900)]
e_client: do not remove transform of base_output_resolution in _e_client_del

Change-Id: Ibf1386fe6c5c27261f46b92224fc23007cd96427

7 months agoe_hwc_windows: fix the hw cursor is invisible when it is rotated 71/302371/1
Changyeon Lee [Thu, 30 Nov 2023 02:49:46 +0000 (11:49 +0900)]
e_hwc_windows: fix the hw cursor is invisible when it is rotated

evas geometry of cursor is different with e_client geometry when
cursor is rotated with evas map.
so we use evas map geomtry of cursor instead e_client geometry
when evas map of cursor is enabled.

Change-Id: I96470341a38432ee80f1dea4ea1f34823ba7fcc8

7 months agoe_screensaver: remove unnecessary log 38/302338/1
Jihoon Kim [Tue, 5 Dec 2023 10:47:53 +0000 (19:47 +0900)]
e_screensaver: remove unnecessary log

Change-Id: I44af88f52fd388bdd2bf76c937732498ade28de5
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>