platform/upstream/enlightenment.git
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

5 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>
7 months agopackaging: Update version to tz8_13.2.1 74/302274/1 accepted/tizen/unified/20231205.171428 accepted/tizen/unified/riscv/20231211.234146
Doyoun Kang [Tue, 5 Dec 2023 04:35:17 +0000 (13:35 +0900)]
packaging: Update version to tz8_13.2.1

Change-Id: I4c58d0c9398b16e26237c3eef34b7ce50273c039

7 months agoe_comp_wl_data: Add source null checking condition 73/302273/1
Junkyeong Kim [Tue, 5 Dec 2023 03:59:13 +0000 (12:59 +0900)]
e_comp_wl_data: Add source null checking condition

Change-Id: I163b0fe61f5c39d5236e4798028f55cfebf3dfcb

7 months agopackaging: Update version to tz8_13.2.0 34/302234/1
Seunghun Lee [Mon, 4 Dec 2023 08:56:52 +0000 (17:56 +0900)]
packaging: Update version to tz8_13.2.0

Change-Id: Ia40a91f23344d4c913395e572cd7438150a07b21

7 months agoe_comp_object: remove the unnecessary code 11/302211/2
SooChan Lim [Thu, 30 Nov 2023 08:25:58 +0000 (17:25 +0900)]
e_comp_object: remove the unnecessary code

e_comp->layer[x].obj is the indendent evas_object generated from
calling evas_object_rectangle_add(e_comp->evas) function. It is never
smart object and ec->frame. However, there are so many code to compare
the layer[x].obj with smart_object of e_client and with ec->frame.
Those code are useless and this patch delete them.

Change-Id: Iaff307802e5f2321ad1f44774a1aebd8f189185c

7 months agoxdg_shell_v6: Do not issue a protocol error 25/302225/1
Seunghun Lee [Mon, 4 Dec 2023 01:44:06 +0000 (10:44 +0900)]
xdg_shell_v6: Do not issue a protocol error

The libds will issue a protocol error for any client that attempts to
request wl_surface.commit after the xdg_toplevel_v6 resource has been
destroyed, but xdg_surface_v6 resource still alive.

The purpose of this commit is to prevent it from happening by setting
ds_xdg_surface_v6->role to DS_XDG_SURFACE_V6_ROLE_TOPLEVEL to fool libds
implementation when xdg_toplevel_v6 resource is destroyed.

Change-Id: I0546e38513f19bbaf1be65fd2b8f90189c682cdf

7 months agoe_xdg_shell_v6: Ensure to send configure event 13/302213/1
Seunghun Lee [Fri, 17 Nov 2023 05:48:29 +0000 (14:48 +0900)]
e_xdg_shell_v6: Ensure to send configure event

This removes the hack code that sets the configured flag to true, and
this is to ensure that an initial configure event is sent.

It was actually intended to prevent raising protocol errors when the
server received requests for xdg_toplevel_v6.move and
xdg_toplevel_v6.resize before receiving the configure ack for backward
compatibility. However, it has to be considered a client error.

Change-Id: Ifb5566fd4c0640ffa191246e757de6e3b83969f3

7 months agopackaging: Update version to tz8_13.1.0 06/302206/1
Doyoun Kang [Mon, 4 Dec 2023 05:00:56 +0000 (14:00 +0900)]
packaging: Update version to tz8_13.1.0

Change-Id: I422fe6c0ea65d358fc9d826f642c8c57e8bb1078

7 months agoe_keyrouter: protect key grab list in keygrab print 01/302201/1
Jihoon Kim [Fri, 1 Dec 2023 11:10:04 +0000 (20:10 +0900)]
e_keyrouter: protect key grab list in keygrab print

Change-Id: I4c1d0a30f74abcb9a2a3d5e0748042b831d62b1a
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
7 months agoe_client/comp/policy: do not map the window after getting hide request 97/302197/1
Doyoun Kang [Sun, 3 Dec 2023 05:54:19 +0000 (14:54 +0900)]
e_client/comp/policy: do not map the window after getting hide request

We add the hide_by_request flag in the E_Client_Private.
This flag is set when the enlightenment receives the tizen_policy_hide request and
unset when the tizen_policy_show request is received.

If this flag is set, the enlightenment does not map the window even if a buffer attach occurs.

Change-Id: Ib646c3cd6d3874ee3bf4f8ff46dc1e02fcdf872a

7 months agopackaging: Update version to tz8_13.0.0 59/302159/1 accepted/tizen/unified/20231204.141923
Doyoun Kang [Fri, 1 Dec 2023 07:51:49 +0000 (16:51 +0900)]
packaging: Update version to tz8_13.0.0

Change-Id: I52af0fdae4c7df9a311177d1a8f66b6f2f76293a

7 months agoe_client: postpone destroying ec during traversing ec list 57/302157/2
Jihoon Kim [Thu, 30 Nov 2023 08:19:06 +0000 (17:19 +0900)]
e_client: postpone destroying ec during traversing ec list

Change-Id: I09c098d03addd932b9e7df2ab1c86237261bbcce
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
7 months agoe_client/e_config: add configuration for fullscreen layer 51/302151/1
Doyoun Kang [Fri, 1 Dec 2023 06:28:11 +0000 (15:28 +0900)]
e_client/e_config: add configuration for fullscreen layer

We add a configuration for the fullscreen layer.
For this, we can change the fullscreen layer using configuration each environment.
By default, the fullscreen layer is the normal layer.

Change-Id: Ic8303c112b58229253c46231b30ffd530f03cd26

7 months agoe_comp_wl_data: Check source's fd_handler before delete 43/302143/1
Junkyeong Kim [Thu, 30 Nov 2023 08:27:25 +0000 (17:27 +0900)]
e_comp_wl_data: Check source's fd_handler before delete

Fd_handler delete is called always when source destroy even though fd_handler already expired.
To prevent delete call after handler expired when source destroy, set to NULL the fd_handler after delete.

Change-Id: Ib4d0bd69874f216c035ece9bcc3a5cc42d253b10

7 months agoe_comp_wl: trigger cursor hide timer when the API to enable cursor timer is called 30/302130/2
duna.oh [Thu, 30 Nov 2023 07:49:14 +0000 (16:49 +0900)]
e_comp_wl: trigger cursor hide timer when the API to enable cursor timer is called

Change-Id: I5b73eb79bb4221c3d0c58e9bf1099d771ddb8c0c

7 months agoe_comp: change mutex name for ec list 13/302113/2
Jihoon Kim [Thu, 30 Nov 2023 07:47:53 +0000 (16:47 +0900)]
e_comp: change mutex name for ec list

Change-Id: I9df0b52715f784b8d36b54bc69b707bef719e223
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
7 months agoe_comp: use atomic type for input key grab variable 06/302106/2
Jihoon Kim [Thu, 30 Nov 2023 04:29:58 +0000 (13:29 +0900)]
e_comp: use atomic type for input key grab variable

Change-Id: I8324902a42ce253bda50d7a299651314ca5a6751
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
7 months agoe_client: remove no more used function e_client_input_rect_under_pointer_get 01/302101/1
Junseok Kim [Thu, 30 Nov 2023 03:11:10 +0000 (12:11 +0900)]
e_client: remove no more used function e_client_input_rect_under_pointer_get

Change-Id: I58381c9293587eccff3904cb6f823a337ef1859f

7 months agoe_comp_wl: Use drag pointer position as ecore event instead of seat.ptr 00/302100/1
Junseok Kim [Thu, 30 Nov 2023 02:31:58 +0000 (11:31 +0900)]
e_comp_wl: Use drag pointer position as ecore event instead of seat.ptr

There was a bug that drag_data_enter/leave is abnormal when using input generator.
The input generator generates virtual pointer as Ecore event.
But the drag function uses seat.ptr to get client that under pointer.
For such a reason, mismatch occured between cursor position and data_device_enter/leave.

For fix this issue, use drag pointer position as the Ecore event.

Change-Id: Ida46a8d61bf22fc748ed1540f0d2c47a57abb23a

7 months ago e_comp_wl: update pointer's position from evas event's output coordinate system 54/302054/1
duna.oh [Wed, 29 Nov 2023 07:04:34 +0000 (16:04 +0900)]
 e_comp_wl: update pointer's position from evas event's output coordinate system

This commit resolves an issue where pointer's position becomes incorrect
when evas event has different values in canvas coordinate and output coordinate.

Change-Id: I3fae21d34b50644c88d64f7085e3d17140299865

7 months agopackaging: Update version to tz8_12.0.0 72/301872/2 accepted/tizen/unified/20231130.180923
Doyoun Kang [Sun, 26 Nov 2023 05:18:03 +0000 (14:18 +0900)]
packaging: Update version to tz8_12.0.0

Change-Id: I678939d3f9ce1eea2da13e114195cb069d46c1e6