platform/upstream/enlightenment.git
3 months agoPackaging: Update version up to tz9_21.1.0 17/314117/1
Jihoon Kim [Fri, 5 Jul 2024 08:35:00 +0000 (17:35 +0900)]
Packaging: Update version up to tz9_21.1.0

Change-Id: Id4a2917aa5817e3a9deb16bd9b50cf59fe3fdf68
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
3 months agoe_keyrouter: process keygrab_list_set/unset in input thread 10/314110/1
Jihoon Kim [Mon, 27 May 2024 02:08:34 +0000 (11:08 +0900)]
e_keyrouter: process keygrab_list_set/unset in input thread

Change-Id: Ic7bde4b1727c7b93a51b54ef3a94ed286b583b16
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
3 months agoRevert "e_keyrouter: fix cynara crash issue" 09/314109/1
Jihoon Kim [Thu, 23 May 2024 06:39:40 +0000 (15:39 +0900)]
Revert "e_keyrouter: fix cynara crash issue"

This reverts commit 1a4abd91a97adf1fdc754974395ca88c5374ce60.

Change-Id: Ia81ce60f729f2710dd41b62439955f0ad91fd21e

3 months agoPackaging: Update version up to tz9_21.0.1 92/314092/1 accepted/tizen/unified/20240705.163308 accepted/tizen/unified/dev/20240708.053956 accepted/tizen/unified/x/20240708.014848
Jihoon Kim [Fri, 5 Jul 2024 05:20:43 +0000 (14:20 +0900)]
Packaging: Update version up to tz9_21.0.1

Change-Id: I6fd44ac1491d2c2591652f21317a2093ad4d9fe8
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
3 months agoe_main: set wm_ready before main loop begin when disable input thread 85/314085/3
Junseok Kim [Fri, 5 Jul 2024 03:33:38 +0000 (12:33 +0900)]
e_main: set wm_ready before main loop begin when disable input thread

There was a bug that app didn't start when booting.
It caused by there're no wm_ready even if the enlightenment main loop begin.
for fix this issue, mark wm_ready before ecore main loop begin when no using input thread.

Refer patch: 66438c8e4a7ab7a5260e7bce67e54baf28c7ab27

Change-Id: I616180aa2937a946e443601c7b4c536665760c0f

3 months agovideo_shell: Extract method
Seunghun Lee [Wed, 3 Jul 2024 06:15:58 +0000 (15:15 +0900)]
video_shell: Extract method

Change-Id: I3efd4a270f01a6bdeb2ef0cdf9f73ca15ab04220

3 months agovideo_shell: Fix segfault on accessing null
Seunghun Lee [Wed, 3 Jul 2024 01:36:54 +0000 (10:36 +0900)]
video_shell: Fix segfault on accessing null

Source->subsurface can be null if it is created without a viewport.

Change-Id: I32d12daa15635a1594da58bf09c2cbbfdab3f197

3 months agoFix typo
review-bot [Tue, 2 Jul 2024 23:04:42 +0000 (08:04 +0900)]
Fix typo

Change-Id: I3053ef4b19a1073d3ee669f5fe0150aa6f517bf5

3 months agoe_comp_wl_tizen_hwc: fix sending discard event before surface is committed 79/314079/1
Changyeon Lee [Tue, 14 May 2024 06:14:02 +0000 (15:14 +0900)]
e_comp_wl_tizen_hwc: fix sending discard event before surface is committed

commit_feedback should be checked because surface contents are
double-buffered state.

Change-Id: Ic64a7340c2f8bd5771fbaa62bcbe3ef334e3bb60

3 months agoe_input_backend: support non input thread mode 78/314078/1
Jihoon Kim [Thu, 4 Jul 2024 11:26:35 +0000 (20:26 +0900)]
e_input_backend: support non input thread mode

Change-Id: I5aa489c875cea3958d9806fa40d7022e873a7bbf
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
3 months agoe_tizen_surface_shm: Add missing free 58/313958/1
Junkyeong Kim [Wed, 3 Jul 2024 04:46:51 +0000 (13:46 +0900)]
e_tizen_surface_shm: Add missing free

Change-Id: I9e0d36ac3f0b63175e2c84b710d09278adb35334

3 months agoPackaging: Update version up to tz9_21.0.0 81/313881/1 accepted/tizen/unified/20240703.154731 accepted/tizen/unified/dev/20240704.065639 accepted/tizen/unified/x/20240704.022958
jinbong.lee [Wed, 3 Jul 2024 05:15:09 +0000 (05:15 +0000)]
Packaging: Update version up to tz9_21.0.0

Change-Id: If8c9fbc02f0002065364ae01ae88ec676f12a415

3 months agofix the typo
SooChan Lim [Thu, 13 Jun 2024 02:39:34 +0000 (11:39 +0900)]
fix the typo

Change-Id: I623a7c28e850b7d0191cdb371b4b452de7c0a1cd

3 months agoe_display: use e_display
SooChan Lim [Thu, 13 Jun 2024 02:30:32 +0000 (11:30 +0900)]
e_display: use e_display

Use e_display instead of the initialization of display in e_comp_screen.
Tdm display implementation should be resided in displaymgr directory.

Change-Id: I82883391c6b001027ab8b7de959e9d79965216a0

3 months agoe_display: add e_display
SooChan Lim [Thu, 13 Jun 2024 02:27:56 +0000 (11:27 +0900)]
e_display: add e_display

e_display initialize the Display and the Outputs in Enlightenemnt.
It initialize the tdm display and tdm output at start of the Enlightenment.

Change-Id: I8146130cdcd8b3670089b80787229292a300eaec

3 months agoe_video_hwc_planes: move CHECKING_PRIMARY_ZPOS to e_intern.h
SooChan Lim [Thu, 13 Jun 2024 02:26:34 +0000 (11:26 +0900)]
e_video_hwc_planes: move CHECKING_PRIMARY_ZPOS to e_intern.h

Change-Id: I6f55bfd5fe6356a77f2283baebd33f3123c856e4

3 months agoe_hwc_window: remove including e_hwc_window_intern.h
SooChan Lim [Thu, 13 Jun 2024 02:15:35 +0000 (11:15 +0900)]
e_hwc_window: remove including e_hwc_window_intern.h

for refactoring

Change-Id: I5490dc6cccd63d8fc45556fabc49db86f1086fb6

3 months agoRemoving unused API of e_zone_over_get 77/313877/1
jinbong.lee [Tue, 2 Jul 2024 11:16:54 +0000 (11:16 +0000)]
Removing unused API of e_zone_over_get

 - Accessing this variable(zoen->over) is removed in E20's module(e_mod_tizen-wm-policy).
 - It was only one where that variable is used.

Change-Id: I2965583cd77e13259a58dc2c766e36377664af90

4 months agoe_comp_wl: Add missing call to wl_display_destroy 14/313714/1
Seunghun Lee [Wed, 26 Jun 2024 10:02:18 +0000 (19:02 +0900)]
e_comp_wl: Add missing call to wl_display_destroy

Change-Id: Iae2bb384e46b5d38bee10168f3bf0a92bd5e12d3

4 months agoPackaging: Update version up to tz9_20.0.0 90/313690/1 accepted/tizen/unified/20240701.191828 accepted/tizen/unified/dev/20240702.054055 accepted/tizen/unified/x/20240702.031229
duna.oh [Mon, 1 Jul 2024 02:23:28 +0000 (11:23 +0900)]
Packaging: Update version up to tz9_20.0.0

Change-Id: Icf2d00e1585fb9106e29217ff9dc1c0be8a1dadd

4 months agoe_client: fix data type of rot_angle_reserved_set/get 77/313677/1
Doyoun Kang [Mon, 1 Jul 2024 02:47:11 +0000 (11:47 +0900)]
e_client: fix data type of rot_angle_reserved_set/get

Change-Id: Ib6c467a8bf53cadbe18ef4b58c2dc9754aded222

4 months agoe_input: add a config 'touch_block_on_palm' and apply it on palm 40/313640/1
duna.oh [Fri, 28 Jun 2024 06:52:51 +0000 (15:52 +0900)]
e_input: add a config 'touch_block_on_palm' and apply it on palm

Change-Id: I9c36de81e91ebf30151a2baf7b5f7efba7c0201a

4 months agoe_sever: add the missing break 38/313638/1
SooChan Lim [Fri, 28 Jun 2024 00:53:45 +0000 (09:53 +0900)]
e_sever: add the missing break

Change-Id: Ife2281962f222085e1c0e7b7aa9c43ca74657c21

4 months agoPackaging: Update version up to tz9_19.0.0 01/313501/1 accepted/tizen/unified/20240628.172810 accepted/tizen/unified/dev/20240701.073051
Inhong Han [Thu, 27 Jun 2024 01:11:43 +0000 (10:11 +0900)]
Packaging: Update version up to tz9_19.0.0

Change-Id: I28ed106498aacc27a8c8c2dac6ae58ce47a663be

4 months agoRevert "e_devicemgr: Do not send device_remove event if no object found by id in... 99/313499/1
duna.oh [Thu, 27 Jun 2024 01:22:45 +0000 (10:22 +0900)]
Revert "e_devicemgr: Do not send device_remove event if no object found by id in client's map"

It is better not to use wl_client_get_object() APIs for thread safety.

This reverts commit 6272d7a57e836a8d47809d464f6654fb7b8da0a3.

Change-Id: I2b492d33b260129452031b79b9ce9329d9ebd9ea

4 months agoe_client: add new enum - E_Client_Rotation_Angle 62/313462/1
Doyoun Kang [Wed, 26 Jun 2024 07:05:02 +0000 (16:05 +0900)]
e_client: add new enum - E_Client_Rotation_Angle

Change-Id: I4de26b0e270d40a992c6e01ec3bbb8a85b3e8dc4

4 months agoe_input_event: Prevent the input event APIs from running in the main thread 60/313460/1
Inhong Han [Wed, 26 Jun 2024 03:33:27 +0000 (12:33 +0900)]
e_input_event: Prevent the input event APIs from running in the main thread

Change-Id: I8422b27c118cd7fe0d692b9198aa8249cbae8085

4 months agovideo_shell: Add missing early return 49/313449/2
Seunghun Lee [Wed, 26 Jun 2024 01:25:13 +0000 (10:25 +0900)]
video_shell: Add missing early return

Change-Id: I4fd11af7fb5b000f9913ee9efd348ce95e05b106

4 months agoe_client: add new APIs to access the internal value of E_Client 52/313452/1
Doyoun Kang [Tue, 25 Jun 2024 04:53:24 +0000 (13:53 +0900)]
e_client: add new APIs to access the internal value of E_Client

Change-Id: Ie59aa404e5d29ee6b055eb461586ceeb40d6c086

4 months agoUpdate version up to tz9_18.1.0 40/313440/1 accepted/tizen/unified/20240626.155314 accepted/tizen/unified/x/20240627.011914
Seunghun Lee [Tue, 25 Jun 2024 23:29:26 +0000 (08:29 +0900)]
Update version up to tz9_18.1.0

Change-Id: Ic8d385e58b23650e08eb055dfc5e3ea1ff097fa3

4 months agoserver: Add wtz-video-shell implementation 39/313439/1
Seunghun Lee [Tue, 21 May 2024 09:42:15 +0000 (18:42 +0900)]
server: Add wtz-video-shell implementation

The Video Shell is a tizen extension to the wayland protocol. It is
designed to ensure synchronization between updates to the toplevel
surface content and the viewport of a video surface traditionally
rendered by an extenal process responsible for rendering video content.

The protocol mainly introduces the wtz_video_exported_viewport and
wtz_video_viewport_source.

The wtz_video_exported_viewport is intended to be created within the
application process and provides configuration options such as
destination size and transformation settings.  By extending
wtz_video_exported_viewport from wl_subsurface, applications can
leverage the synchronization capabilities of wl_subsurface to align
updates between the main surface content and video output.

The wtz_video_viewport_source, on the other hand, is meant to be
created by the process handling video content creation. Its output will
be adjusted (scaled up or down) based on the destination size and
transformations specified through wtz_video_exported_viewport.

This design approach is largely inspired by the wtz-foreign-shell
protocol.

Change-Id: I47c11150a9b4d120aa8bd9ead9791d53c26475e2

4 months agocompositor: Handle unset viewport 38/313438/1
Seunghun Lee [Mon, 24 Jun 2024 04:06:56 +0000 (13:06 +0900)]
compositor: Handle unset viewport

Change-Id: I1776c29f6a41fe293e659ee63ebf2c5b87a8acd2

4 months agocompositor: Add e_subsurface_surface_get() 37/313437/1
Seunghun Lee [Fri, 21 Jun 2024 05:11:41 +0000 (14:11 +0900)]
compositor: Add e_subsurface_surface_get()

Change-Id: I72604fbf81f4573b816c04418f48b4cd25c19bc7

4 months agoxdg_shell_v6: Remove setting mapped state of ds_xdg_toplevel 36/313436/1
Seunghun Lee [Mon, 17 Jun 2024 10:02:54 +0000 (19:02 +0900)]
xdg_shell_v6: Remove setting mapped state of ds_xdg_toplevel

It's actually a workaround for setting map state of ds_xdg_toplevel_v6
properly. Now that ds_surface_{map,unmap} has been added, it's no longer
necessary to do it here.

Change-Id: Ic350947192ded18f28674962f7b237534d54dc90

4 months agocompositor: Add e_surface_{map,unmap} 35/313435/1
Seunghun Lee [Tue, 18 Jun 2024 04:02:31 +0000 (13:02 +0900)]
compositor: Add e_surface_{map,unmap}

Any implementation for wl_surface extension protocol should use
e_surface_{map,unmap} properly when they're ready to map wl_surface.

Change-Id: Icd1e4b844100b236f37087bbce569d124a586c5c

4 months agocompositor: Add e_surface_{map,unmap}_listener_add 34/313434/1
Seunghun Lee [Mon, 17 Jun 2024 03:13:45 +0000 (12:13 +0900)]
compositor: Add e_surface_{map,unmap}_listener_add

Change-Id: Ib2c725e77b2b4128dd15eb8f08b29b2dc0b5c886

4 months agoReplace e_comp_wl_subsurface APIs with e_subsurface 33/313433/1
Seunghun Lee [Thu, 30 May 2024 01:50:54 +0000 (10:50 +0900)]
Replace e_comp_wl_subsurface APIs with e_subsurface

Change-Id: Id8c77c5282f29ff99ff3130201d3e92aedf3f08b

4 months agocompositor: Add {sync,desync}_precommit 32/313432/1
Seunghun Lee [Wed, 22 May 2024 06:38:42 +0000 (15:38 +0900)]
compositor: Add {sync,desync}_precommit

Change-Id: I26e3a066b0e9b6a4a997041d6da40918502b2c6b

4 months agoe_comp_wl: Remove duplicated call 31/313431/1
Seunghun Lee [Wed, 22 May 2024 01:43:25 +0000 (10:43 +0900)]
e_comp_wl: Remove duplicated call

e_comp_wl_remote_surface_commit() is already called on _e_surface_cb_commit().

Change-Id: I975a34641a8bb6ad8455cf21034b84459cc56cf9

4 months agoe_compositor: Add e_subsurface_cached_listener_add 30/313430/1
Seunghun Lee [Tue, 21 May 2024 06:00:25 +0000 (15:00 +0900)]
e_compositor: Add e_subsurface_cached_listener_add

Change-Id: If08767a2435d3d892477e2dfc61bb78cece199f3

4 months agoe_compositor: Add e_surface_role_set 29/313429/1
Seunghun Lee [Tue, 21 May 2024 05:22:15 +0000 (14:22 +0900)]
e_compositor: Add e_surface_role_set

Change-Id: I6ec401a91031df7993a4b314f236b1017b05c519

4 months agoe_compositor: Add e_subsurface_destroy_listener_add() 28/313428/1
Seunghun Lee [Tue, 21 May 2024 05:06:03 +0000 (14:06 +0900)]
e_compositor: Add e_subsurface_destroy_listener_add()

Change-Id: I0084d271ba6ef303f06ccdb4754fde1357ecca0a

4 months agoe_compositor: Add e_subsurface_from_resource() 27/313427/1
Seunghun Lee [Tue, 21 May 2024 05:05:37 +0000 (14:05 +0900)]
e_compositor: Add e_subsurface_from_resource()

Change-Id: I0e7ec5819ca7258185097b1bf44b35bf5a45bb8e

4 months agoe_devicemgr: Do not send device_remove event if no object found by id in client's map 80/313380/1
duna.oh [Mon, 24 Jun 2024 12:56:58 +0000 (21:56 +0900)]
e_devicemgr: Do not send device_remove event if no object found by id in client's map

Change-Id: I23d6679f88d760290a26e97af95ddf81619ea185

4 months agoe_comp_wl_input: ignore Waydroid's cursor change while dragging 53/313353/3
duna.oh [Wed, 19 Jun 2024 07:55:38 +0000 (16:55 +0900)]
e_comp_wl_input: ignore Waydroid's cursor change while dragging

Change-Id: Ie637fe9ef0a1a9fce35bc74a2814632e3f9af576

4 months agoe_client: Makes not consider the input region when dragging on AOT Launcher 48/313348/2
Junseok Kim [Thu, 20 Jun 2024 09:36:02 +0000 (18:36 +0900)]
e_client: Makes not consider the input region when dragging on AOT Launcher

Change-Id: I36b34cb984a47fe00bbab8c27d23eacf3eb788f2

4 months agoUpdate version up to tz9_18.0.5 50/313350/1 accepted/tizen/unified/20240625.163153 accepted/tizen/unified/x/20240626.052202
jinbong.lee [Mon, 24 Jun 2024 10:02:15 +0000 (10:02 +0000)]
Update version up to tz9_18.0.5

Change-Id: Ib1d3fb35b92a1f2b16248e293e0296266318b50e

4 months agoAdd Data structure encapsulation for e_plane 77/313277/1 accepted/tizen/unified/20240621.153417 accepted/tizen/unified/toolchain/20240624.121721 accepted/tizen/unified/x/20240624.032109 accepted/tizen/unified/x/asan/20240625.092959
jinbong.lee [Thu, 20 Jun 2024 06:30:47 +0000 (06:30 +0000)]
Add Data structure encapsulation for e_plane

  - add some variable getting interfaces for E_Plane structure

Change-Id: I62234f60bb147a1f3594757d6ba5413bdf4f3405

4 months agoAdd Data structure encapsulation for e_comp_wl 76/313276/1
jinbong.lee [Thu, 20 Jun 2024 06:26:52 +0000 (06:26 +0000)]
Add Data structure encapsulation for e_comp_wl

 - add some get / set interfaces for variable of E_Comp_Wl_Data structure
 - add some lock / unlock interfaces for mutex variable of E_Comp_Wl_Data structure

Change-Id: I5a4cae70a5e168a7879f532d9363e15ee309af12

4 months agoAdd Data structure encapsulation for e_hwc 75/313275/1
jinbong.lee [Thu, 20 Jun 2024 06:24:37 +0000 (06:24 +0000)]
Add Data structure encapsulation for e_hwc

 - add e_hwc_mode_set interface for mode of E_Hwc

Change-Id: Ieba7759fcbc2369197db6b1a601b92c1cc3d4e7d

4 months agoAdd Data structure encapsulation for e_zone 74/313274/1
jinbong.lee [Thu, 20 Jun 2024 05:21:39 +0000 (05:21 +0000)]
Add Data structure encapsulation for e_zone

 - add some get / set interfaces for variable of E_Zone structure
 - e_zone_display_state_get is changed from EINTERN to E_API

Change-Id: I1146b6d998c318b0b055d85bad14d0d8800fcd05

4 months agoAdd Data structure encapsulation for e_desk 73/313273/1
jinbong.lee [Thu, 20 Jun 2024 05:18:53 +0000 (05:18 +0000)]
Add Data structure encapsulation for e_desk

  - add some get / set interfaces for variableq of E_Desk structure

Change-Id: Iecd54fefe288e4934416bdb3766b32abea9c72a7

4 months agoAdd Data structure encapsulation for e_comp 72/313272/1
jinbong.lee [Thu, 20 Jun 2024 05:09:34 +0000 (05:09 +0000)]
Add Data structure encapsulation for e_comp

  - add some get / set interfaces for variable of E_Comp structure
  - add some lock / unlock interfaces for mutex variable of E_Comp structure

Change-Id: Ia466ef8fa3ec555148d997b466a8d79df9fce595

4 months agoe_service_kvm: Add implements for tws_service_kvm_perform_drop_target 06/313206/1
Junseok Kim [Tue, 4 Jun 2024 10:38:08 +0000 (19:38 +0900)]
e_service_kvm: Add implements for tws_service_kvm_perform_drop_target

Change-Id: I4973e3a45bf587665765eb26bb368c83ed4cae81

4 months agoe_client/e_policy_wl: add code to handle a new role for aot window 90/313190/1
Doyoun Kang [Thu, 20 Jun 2024 00:49:16 +0000 (09:49 +0900)]
e_client/e_policy_wl: add code to handle a new role for aot window

Change-Id: Iefad3b381411b3383408875f36da4c8e5d9b3594

4 months agoe_dnd: fix typo 56/313156/1
Junseok Kim [Tue, 18 Jun 2024 07:40:35 +0000 (16:40 +0900)]
e_dnd: fix typo

Change-Id: Iaca0164d09a55e36bb654655e6f705cf02aaa04d

4 months agoPackaging: Update version up to tz9_18.0.4 41/313041/1 accepted/tizen/unified/20240619.151914 accepted/tizen/unified/x/20240620.061602
Jihoon Kim [Tue, 18 Jun 2024 10:02:07 +0000 (19:02 +0900)]
Packaging: Update version up to tz9_18.0.4

Change-Id: Ifaaf0b3b4fd9fa827d730fc3b56b4f31e078ec3e
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
4 months agoRevert "e_keyrouter_wl: check if keygrab_set is available" 39/313039/1
Jihoon Kim [Tue, 18 Jun 2024 08:38:39 +0000 (17:38 +0900)]
Revert "e_keyrouter_wl: check if keygrab_set is available"

This reverts commit 73b95967b6d9a5f985b8e28ce9baacce6ace90e8.

Change-Id: I84cc8c99576ca336cb3be6cdefadb8d659c2282b

4 months agoRevert "e_keyrouter_wl: check if keygrab_key is available" 38/313038/1
Jihoon Kim [Tue, 18 Jun 2024 08:38:33 +0000 (17:38 +0900)]
Revert "e_keyrouter_wl: check if keygrab_key is available"

This reverts commit 170eb2abc9b6d2b1609817c8bbdf8045eaa33513.

Change-Id: Ie3373d30ed41797750d416acac68f0a29d8d907a

4 months agoRevert "e_keyrouter_wl: refactor code" 37/313037/1
Jihoon Kim [Tue, 18 Jun 2024 08:38:16 +0000 (17:38 +0900)]
Revert "e_keyrouter_wl: refactor code"

This reverts commit 1fa067656360c80bd89523962a8461ec050422fc.

Change-Id: Ice77e283c1d71232592f219369ddb0d568fea135

4 months agoRevert "e_keyrouter_wl: check if the privilege is available" 36/313036/1
Jihoon Kim [Tue, 18 Jun 2024 08:38:06 +0000 (17:38 +0900)]
Revert "e_keyrouter_wl: check if the privilege is available"

This reverts commit e425e1320761b637219f0ec5a5e22416bdd01395.

Change-Id: I717d630d3bba85282bc1e7bb636b5d72d47cfff9

4 months agoRevert "e_keyrouter_list: add two api for removing key_node_data" 35/313035/1
Jihoon Kim [Tue, 18 Jun 2024 08:37:59 +0000 (17:37 +0900)]
Revert "e_keyrouter_list: add two api for removing key_node_data"

This reverts commit b8be681b466dbb7b9e5c819b20e2775b0d454e15.

Change-Id: Ia061b16699baeadee6669a3f33c09e254c7ededa

4 months agoRevert "e_keyrouter_list: add two api for keygrab_unset" 34/313034/1
Jihoon Kim [Tue, 18 Jun 2024 08:37:46 +0000 (17:37 +0900)]
Revert "e_keyrouter_list: add two api for keygrab_unset"

This reverts commit ff72bcefdb797fea8c7cb053f842c4cb4fb2a92c.

Change-Id: I43dbbeffbcb4b8243160aa8526251ae8e274fbf9

4 months agoRevert "e_keyrouter_wl: use the new keygrap_unset apis" 33/313033/1
Jihoon Kim [Tue, 18 Jun 2024 08:37:36 +0000 (17:37 +0900)]
Revert "e_keyrouter_wl: use the new keygrap_unset apis"

This reverts commit 2df8ec04ed6f0d34451495ee6577ec971d3f76f6.

Change-Id: I07208a24749f605247d901594b79440e546a3a74

4 months agoRevert "e_keyrouter_list: remove the unused functions" 32/313032/1
Jihoon Kim [Tue, 18 Jun 2024 08:37:30 +0000 (17:37 +0900)]
Revert "e_keyrouter_list: remove the unused functions"

This reverts commit aebf50e18f236ced1475ddce1f9acbec4fe77612.

Change-Id: I30b43874f6b7fe4e50aa526c24c1d778f8535b35

4 months agoRevert "e_keyrouter_wl: initialize the local variable" 31/313031/1
Jihoon Kim [Tue, 18 Jun 2024 08:37:24 +0000 (17:37 +0900)]
Revert "e_keyrouter_wl: initialize the local variable"

This reverts commit 9630968e03445605159cb7e69ad648aa2d6472f5.

Change-Id: Id5638d7f77097c22a3be474360e70b9950e39d60

4 months agoRevert "e_keyrouter_wl: fix the typo" 30/313030/1
Jihoon Kim [Tue, 18 Jun 2024 08:37:22 +0000 (17:37 +0900)]
Revert "e_keyrouter_wl: fix the typo"

This reverts commit 80c81a9ba082d03ddf2e6053241b05e20a891eae.

Change-Id: I0ea7e7ea40a932fcd8bef48d8ec1045e2bde57bf

4 months agoRevert "e_keyrouter_wl: add two api for sending keycancl." 29/313029/1
Jihoon Kim [Tue, 18 Jun 2024 08:37:19 +0000 (17:37 +0900)]
Revert "e_keyrouter_wl: add two api for sending keycancl."

This reverts commit cc8ea549be8f03d486c706e9e02a2dcf1ae4270e.

Change-Id: I15b336fef2a1701873a4262ce73dd3d4c7b26591

4 months agoRevert "e_keyrouter_wl: use the new keycancel apis" 28/313028/1
Jihoon Kim [Tue, 18 Jun 2024 08:37:16 +0000 (17:37 +0900)]
Revert "e_keyrouter_wl: use the new keycancel apis"

This reverts commit 7300e2611adb6d20f511ae07efdbc14f04aba9b1.

Change-Id: I9c616acae45e6cacbb1baf01b2bb3fc389fe70ce

4 months agoRevert "e_keyrouter_wl: remove the unused function" 27/313027/1
Jihoon Kim [Tue, 18 Jun 2024 08:37:13 +0000 (17:37 +0900)]
Revert "e_keyrouter_wl: remove the unused function"

This reverts commit ad650143734981c0892cbc4fb0d0fe5e0348d1e9.

Change-Id: I712152ff677d946f6c26afc1d05a96fe5d04d405

4 months agoe_test_helper: send window geometry from e_client_geometry_get 99/312999/1
Junseok Kim [Fri, 14 Jun 2024 09:04:07 +0000 (18:04 +0900)]
e_test_helper: send window geometry from e_client_geometry_get

Change-Id: Ia09f290f19bb630bf54bbd9dbae6e9e626f60162

4 months agoe_test_helper: Support method to set base, configured output resolution 98/312998/1
Junseok Kim [Thu, 13 Jun 2024 07:08:57 +0000 (16:08 +0900)]
e_test_helper: Support method to set base, configured output resolution

Change-Id: I7ea7b3e0ecc06c3e89337daebd3b2bd9a4381b4f

4 months agoe_comp_wl: fix the typo 07/312907/1
duna.oh [Sun, 16 Jun 2024 14:46:39 +0000 (23:46 +0900)]
e_comp_wl: fix the typo

refer to the following commit
:b39e6a953dff655aa894cc816f378bfb30991f3b

Change-Id: Ib5d71d80c06b59131edf9c37823ff8c20f60feb6

4 months agoe_comp_wl: use transformed position when checking inside constraint region 76/312776/3
duna.oh [Wed, 12 Jun 2024 05:51:11 +0000 (14:51 +0900)]
e_comp_wl: use transformed position when checking inside constraint region

Change-Id: I3eb33cf13e0c55d16e7b6f06474c07629777d175

4 months agoe_dnd: ungrab input without feeding mouse out/in when pointer is constrainted 17/312817/1
duna.oh [Fri, 14 Jun 2024 07:21:36 +0000 (16:21 +0900)]
e_dnd: ungrab input without feeding mouse out/in when pointer is constrainted

If drag is cancelled by KVM service and pointer is already constrainted
(locked in Edge window), additional mouse out/in event onto the Edge results in
being unlocked and locked again.

Drag and drop sequence goes as follows:

1. Drag starts with a touch down event on Evas 1.
2. Dragging onto Evas 2 involves several steps:
Mouse OUT event on Evas 1 (Browser).
Mouse IN event on Evas 2 (Edge). --> locked
Mouse move event on Evas 2.
3. The drag ends with a touch up event on Evas 2:
Mouse OUT event on Evas 2. --> unlocked --> issue
Mouse IN event on Evas 2. --> locked --> issue

Change-Id: Ib5550ef087358a0e262fc59d97b0b7214d784870

4 months agoPackaging: Update version up to tz9_18.0.3 98/312798/1 accepted/tizen/unified/20240614.161601 accepted/tizen/unified/dev/20240620.010652 accepted/tizen/unified/x/20240617.031621
Seunghun Lee [Fri, 14 Jun 2024 07:32:28 +0000 (16:32 +0900)]
Packaging: Update version up to tz9_18.0.3

Change-Id: I6969296a82fd2dbbe5cec437fb0369b48a5747d3

4 months agopolicy: Fix use after free 94/312794/1
Seunghun Lee [Fri, 14 Jun 2024 07:13:12 +0000 (16:13 +0900)]
policy: Fix use after free

The instance of E_Policy_Client has to be freed even though the member
variable `zone` is null.

The zone of E_Policy_Client instance may be NULL until it receives ecore
event, E_EVENT_CLIENT_ZONE_SET. If the callback of E_CLIENT_HOOK_DEL is
called before E_EVENT_CLIENT_ZONE_SET, the callback would return doing
nothing and the `pc` would be remained in hash table, and this will
cause use-after-free.

Change-Id: I14cde4159a2e0bf108d5dacd9897744459a129f7

4 months agocompositor: Add destroy signal of E_Surface 89/312789/1
Seunghun Lee [Thu, 13 Jun 2024 03:30:12 +0000 (12:30 +0900)]
compositor: Add destroy signal of E_Surface

As a thin wrapper of ds_surface, E_Surface is bound to ds_surface.
That is, E_Surface become inert if ds_surface is destroyed.

E_Surface should be separated from the life cycle of E_Client, but it's
hard to do it for now because E_Surface is tightly coupled with
E_Client - It provides many functionalities related to comp_data member
variable of E_Client.

So, let the destroy signal of E_Surface emit when the destroy signal of
ds_surface is emitted.

Change-Id: Ie5cf65a20c9765e78b8d1caecfd20883b464357f

4 months agoPackaging: Update version up to tz9_18.0.2 30/312730/2
Jihoon Kim [Thu, 13 Jun 2024 09:46:20 +0000 (18:46 +0900)]
Packaging: Update version up to tz9_18.0.2

Change-Id: Id466e9ccceffbfb76e4d8d893c53ac796142975b
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
4 months agoe_input: intialze e_comp_input at e_input_init 28/312728/2
SooChan Lim [Thu, 13 Jun 2024 09:12:55 +0000 (18:12 +0900)]
e_input: intialze e_comp_input at e_input_init

move it from e_comp_wl_input to e_input_init.

Change-Id: I6df068ce9ccff7a45498c6298559777b40569fde

4 months agocompositor: Release ds_surface_viewport when ds_surface is destroyed 80/312680/2
Seunghun Lee [Thu, 13 Jun 2024 01:19:34 +0000 (10:19 +0900)]
compositor: Release ds_surface_viewport when ds_surface is destroyed

This is to fix abort by calling ds_surface_viewport_release() after
ds_surface has been destroyed.

The listeners added using e_surface_destroy_listener_add() have been
called in a hook handler E_CLIENT_HOOK_DEL, which is emitted when
e_object_del() is called for the associated E_Client. However, if
e_object_delay_del_ref() is called for the E_Client, the listeners for
E_CLIENT_HOOK_DEL would not be called immediately. Instead, it is
called when delay_del_ref count is dropped to zero by calling
e_object_delay_del_unref().

This means that listeners of e_surface_destroy_listener_add() can be
called after ds_surface is already freed, and the call to
ds_surface_viewport_release() in this case causes undefined behavior.

Change-Id: Ie8f316b2aef841c89386a41f19a4f5066d98d9bc

4 months agoe_comp_object: set the pass events on the image object of the comp_object 16/312716/1
Changyeon Lee [Thu, 13 Jun 2024 07:11:49 +0000 (16:11 +0900)]
e_comp_object: set the pass events on the image object of the comp_object

The image object should not receive the event because the default input object
should receive the input event.
Otherwise, when the image object and the default input object are different,
the image object may receive the input event.

Change-Id: I431fe7ea7f461528e9bc86bfac6a8edfb2f5f63b

4 months agoe_input_evdev: fix crash in pointer warp 10/312710/1
Jihoon Kim [Thu, 13 Jun 2024 08:02:24 +0000 (17:02 +0900)]
e_input_evdev: fix crash in pointer warp

Change-Id: I5dab730e03c3928384f4fe421be3f4bac24e6b42
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
4 months agoe_input: refactor to use a variable 'edv->caps' instead of recurring libinput APIs 91/312691/1
duna.oh [Wed, 12 Jun 2024 10:19:00 +0000 (19:19 +0900)]
e_input: refactor to use a variable 'edv->caps' instead of recurring libinput APIs

Change-Id: Ib24b130ed5273cc9982c47c7084c1e4746560423

4 months agoe_input: add name variable to Evdev device struct and assign value from libinput 90/312690/1
duna.oh [Wed, 12 Jun 2024 09:40:58 +0000 (18:40 +0900)]
e_input: add name variable to Evdev device struct and assign value from libinput

This patch impedes E20 from invoking libinput APIs subsequently.

Change-Id: If0730eec77feb3fb28e57b92cc1deee6504a43e5

4 months agoFix crash issue in pointer warp 89/312589/1 accepted/tizen/unified/20240612.160718 accepted/tizen/unified/x/20240614.011725
Jihoon Kim [Wed, 12 Jun 2024 02:40:40 +0000 (11:40 +0900)]
Fix crash issue in pointer warp

Change-Id: Id5a8d7bf1334af4fc17114000093aa1a57daa99b
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
4 months agoPackaging: Update version up to tz9_18.0.1 64/312564/1
SooChan Lim [Tue, 11 Jun 2024 11:24:28 +0000 (20:24 +0900)]
Packaging: Update version up to tz9_18.0.1

Change-Id: I362f000540731b7563ac7482db09a9590cccb765

4 months agoe_input_event: initialize variables in event source structure 62/312562/1
Jihoon Kim [Tue, 11 Jun 2024 11:00:49 +0000 (20:00 +0900)]
e_input_event: initialize variables in event source structure

Change-Id: I402283f94d30e5f98b77a6e7c66fa734fe7a2639
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
4 months agoe_keyrouter_wl: remove the unused function 61/312561/1
SooChan Lim [Tue, 11 Jun 2024 10:08:45 +0000 (19:08 +0900)]
e_keyrouter_wl: remove the unused function

Change-Id: I5b4bfbeb96ab9e73035647c8eb5b0ae2d58a7240

4 months agoe_keyrouter_wl: use the new keycancel apis 60/312560/1
SooChan Lim [Tue, 11 Jun 2024 10:03:44 +0000 (19:03 +0900)]
e_keyrouter_wl: use the new keycancel apis

Change-Id: I6c596cd2538f9fab02123cca6626fda7abbf5a95

4 months agoe_keyrouter_wl: add two api for sending keycancl. 59/312559/1
SooChan Lim [Tue, 11 Jun 2024 10:02:46 +0000 (19:02 +0900)]
e_keyrouter_wl: add two api for sending keycancl.

EINTERN void      e_keyrouter_surface_keycancel_send(struct wl_resource *surface, unsigned int key);
EINTERN void      e_keyrouter_client_keycancel_send(struct wl_client *client, unsigned int key);

Change-Id: Ibc0e5631f138f20cb609cd81912ed164f182f045

4 months agoe_keyrouter_wl: fix the typo 58/312558/1
SooChan Lim [Tue, 11 Jun 2024 07:41:52 +0000 (16:41 +0900)]
e_keyrouter_wl: fix the typo

Change-Id: I795d52288760a625e79a3a123d90eaadc5c17dcc

4 months agoe_keyrouter_wl: initialize the local variable 57/312557/1
SooChan Lim [Tue, 11 Jun 2024 06:47:38 +0000 (15:47 +0900)]
e_keyrouter_wl: initialize the local variable

with TIZEN_KEYROUTER_ERROR_NONE

Change-Id: Iec1e0059a70b6dcb45cb74c3e2295983d27668c7

4 months agoe_keyrouter_list: remove the unused functions 56/312556/1
SooChan Lim [Tue, 11 Jun 2024 02:26:36 +0000 (11:26 +0900)]
e_keyrouter_list: remove the unused functions

Change-Id: I0161c5c6a1088c4b83c076eb5155253ceb7b264d

4 months agoe_keyrouter_wl: use the new keygrap_unset apis 55/312555/1
SooChan Lim [Tue, 11 Jun 2024 02:25:24 +0000 (11:25 +0900)]
e_keyrouter_wl: use the new keygrap_unset apis

Change-Id: I57d25c9ebf1c1d4255e92b207f5d97664ca77703

4 months agoe_keyrouter_list: add two api for keygrab_unset 54/312554/1
SooChan Lim [Tue, 11 Jun 2024 02:23:57 +0000 (11:23 +0900)]
e_keyrouter_list: add two api for keygrab_unset

+EINTERN void e_keyrouter_client_keygrab_unset(struct wl_client *client, int key);
+EINTERN void e_keyrouter_surface_keygrab_unset(struct wl_resource *surface, int key);

Change-Id: Ib3998487b547916560a24dd52a4a0839bd6fb4c3

4 months agoe_keyrouter_list: add two api for removing key_node_data 53/312553/1
SooChan Lim [Tue, 11 Jun 2024 02:22:39 +0000 (11:22 +0900)]
e_keyrouter_list: add two api for removing key_node_data

EINTERN void e_keyrouter_grabbed_key_client_node_data_remove(struct wl_client *wc, uint32_t key, uint32_t mode);
EINTERN void e_keyrouter_grabbed_key_surface_node_data_remove(struct wl_resource *surface, uint32_t key, uint32_t mode);

Change-Id: I0cf833aa31414819aee793f71e20d9d31eea683a

4 months agoe_keyrouter_wl: check if the privilege is available 52/312552/1
SooChan Lim [Tue, 11 Jun 2024 02:09:44 +0000 (11:09 +0900)]
e_keyrouter_wl: check if the privilege is available

Checking privilege is done at e_keyrouter_wl.

Change-Id: I9d10b314c878be578e6a0ef185fbbb1491e1bb99

4 months agoe_keyrouter_wl: refactor code 51/312551/1
SooChan Lim [Mon, 10 Jun 2024 23:47:07 +0000 (08:47 +0900)]
e_keyrouter_wl: refactor code

make a code clear to read and add missing code

Change-Id: Id1261625f9f341aa48071fb440be6741251ae1e8

4 months agoe_keyrouter_wl: check if keygrab_key is available 50/312550/1
SooChan Lim [Mon, 10 Jun 2024 23:45:26 +0000 (08:45 +0900)]
e_keyrouter_wl: check if keygrab_key is available

Check if key is available before keygrab and keyungrab

Change-Id: If8fbbef2cad7952620f9a4a08c98f65264bc5436