platform/upstream/enlightenment.git
10 months agocompositor: Fix crash from uninitialized wl_list(comp_data->pointer_constraints) 19/296519/1
duna.oh [Mon, 31 Jul 2023 05:57:51 +0000 (14:57 +0900)]
compositor: Fix crash from uninitialized wl_list(comp_data->pointer_constraints)

This call of wl_list_init is omitted when applying the commit '406e1d'.

Change-Id: I78cbc86e6b8eebf650717fbd4427bb1b2df33fcd

10 months agoFix issue not to process additional key event 15/296515/2
Jihoon Kim [Fri, 28 Jul 2023 09:59:04 +0000 (18:59 +0900)]
Fix issue not to process additional key event

Change-Id: I225e03a8c54f0f9e83ee22e67226834062640d3c
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
10 months agoe_comp_wl: use e_drag_move to move drag window 14/296514/1
Junseok Kim [Wed, 26 Jul 2023 12:48:18 +0000 (21:48 +0900)]
e_comp_wl: use e_drag_move to move drag window

Change-Id: I391dd70620ef3390b3fe4d220c3349af6b581812

10 months agoe_dnd: use e_map to adjust rotation of the pointer 13/296513/1
Junseok Kim [Wed, 26 Jul 2023 12:47:55 +0000 (21:47 +0900)]
e_dnd: use e_map to adjust rotation of the pointer

Change-Id: I96e1ab351210e5405281d6d7f503bd51c582980e

10 months agoe_dnd: reset e_drag_hooks delete count when hooks clean 54/296454/1 accepted/tizen/unified/20230728.155809
Junseok Kim [Fri, 28 Jul 2023 03:41:23 +0000 (12:41 +0900)]
e_dnd: reset e_drag_hooks delete count when hooks clean

Change-Id: Ib0f163d852f7bc1e0d35fe6ec64ec773dcc2fc33

11 months agoe_policy_wl: Support new tzsh_service_kvm protocol 24/296424/1
Junseok Kim [Mon, 10 Jul 2023 07:36:46 +0000 (16:36 +0900)]
e_policy_wl: Support new tzsh_service_kvm protocol

Change-Id: I5fcd6885d95b14f18e446bdcc48b7ff058021927

11 months agoe_privilege: Add new privilege for tzsh kvm service 23/296423/1
Junseok Kim [Mon, 10 Jul 2023 07:35:40 +0000 (16:35 +0900)]
e_privilege: Add new privilege for tzsh kvm service

Change-Id: I6f5913a88c95c77a79dd6587d6a49c683573cf28

11 months agoe_service_kvm: Add new service for KVM 22/296422/1
Junseok Kim [Mon, 10 Jul 2023 07:34:52 +0000 (16:34 +0900)]
e_service_kvm: Add new service for KVM

Change-Id: I3f574525ca61dbd93f87ebe6c55a031740b2a49e

11 months agoe_dnd: Add hooks for drag start and end 21/296421/1
Junseok Kim [Wed, 12 Jul 2023 10:23:45 +0000 (19:23 +0900)]
e_dnd: Add hooks for drag start and end

Change-Id: I05de28281118c8615739bd4b8a5d5374be9932bd

11 months agoe_dnd: Add e_drag_end to makes drag end 20/296420/1
Junseok Kim [Wed, 12 Jul 2023 05:48:30 +0000 (14:48 +0900)]
e_dnd: Add e_drag_end to makes drag end

Change-Id: Icafb06a596f73ddbda6787be787ee1946705c989

11 months agoe_comp_wl_data: Add function for accept mimetype and action for given offer 19/296419/1
Junseok Kim [Wed, 12 Jul 2023 05:51:26 +0000 (14:51 +0900)]
e_comp_wl_data: Add function for accept mimetype and action for given offer

Change-Id: I45b1e385424ac7ea2463aafbc95f5a3da66398b8

11 months agocompositor: Fix mismatched type warning 80/296380/2 accepted/tizen/unified/20230727.055142
Seunghun Lee [Wed, 26 Jul 2023 10:51:53 +0000 (19:51 +0900)]
compositor: Fix mismatched type warning

Change-Id: I8b8f2c0ea13b4f24b65ed64dcac07bdd0289f29f

11 months agocompositor: Fix crash when accessing uninitilizaed wl_signal 79/296379/1
Seunghun Lee [Wed, 26 Jul 2023 10:42:08 +0000 (19:42 +0900)]
compositor: Fix crash when accessing uninitilizaed wl_signal

This adds a missing wl_signal_init() for state_commit_signal.

Change-Id: If367f1842f5da0678068a1fbf56e7d879d519039

11 months agoe_input: print libinput logs in 'e_input' domain 78/296378/1
duna.oh [Tue, 25 Jul 2023 09:06:22 +0000 (18:06 +0900)]
e_input: print libinput logs in 'e_input' domain

set log levels using winfo
ex) winfo -eina_log_levels e_input:5 --> Debug level
    winfo -eina_log_levels e_input:1 --> Error level

Change-Id: I9bf1dcef79515bf887a773b7bdf3cd3409af7935

11 months agocompositor: Fix crash when accessing null pointer 66/296366/1
Seunghun Lee [Wed, 26 Jul 2023 06:36:04 +0000 (15:36 +0900)]
compositor: Fix crash when accessing null pointer

This patch adds a null check before accessing the return value of
ds_subsurface_from_surface().

The return value of ds_subsurface_from_surface() can be null even though
the ds_surface_is_subsurface() returns true. That's the case when the
subsurface has been destroyed.

Change-Id: I40fd3910cd980d31823e8ba8fe3f4210fc52b515

11 months agoe_blender: add first implementation of wtz-blender protocol 94/296294/1
Changyeon Lee [Wed, 5 Jul 2023 07:02:53 +0000 (16:02 +0900)]
e_blender: add first implementation of wtz-blender protocol

Change-Id: I0da822db416ca4a81c5d5d15ae78dcdf05e2da5a

11 months agoe_comp_wl: add state commit signal 93/296293/1
Changyeon Lee [Thu, 6 Jul 2023 05:56:50 +0000 (14:56 +0900)]
e_comp_wl: add state commit signal

Change-Id: I306a2357f7e4ca394a77c5721269ec264fa35112

11 months agoe_comp_wl_input: Use e_client_from_surface_resource() 75/296275/1
Seunghun Lee [Mon, 24 Jul 2023 08:18:10 +0000 (17:18 +0900)]
e_comp_wl_input: Use e_client_from_surface_resource()

Use e_client_from_surface_resource() to get a E_Client instance from a
surface resource instead of using wl_resource_get_user_data(). The user
data of wl_resource for surface is no longer a E_Client instance.

Change-Id: I37fec784cbfc150aaaebef9860abde3283d346be

11 months agoe_comp: calculate the visibility and the focus at e_comp 69/296169/1 accepted/tizen/unified/20230726.020650
SooChan Lim [Thu, 20 Jul 2023 07:41:32 +0000 (16:41 +0900)]
e_comp: calculate the visibility and the focus at e_comp

The logic for calculating the visibility and the focus moves
from e_client.c to e_comp.c at idler handler.

Change-Id: I408f8733ca342cbe927889163b4ea11e037e45ae

11 months agoe_client: use e_client_focused_get() funtion 68/296168/1
SooChan Lim [Thu, 20 Jul 2023 07:03:25 +0000 (16:03 +0900)]
e_client: use e_client_focused_get() funtion

instead of focused variable itself.

Change-Id: I308f02414166a7a9dd61e0bdc44e4c1a597a40cf

11 months agoe_client: use e_comp_visiblity_calculation_set 67/296167/1
SooChan Lim [Thu, 20 Jul 2023 04:52:08 +0000 (13:52 +0900)]
e_client: use e_comp_visiblity_calculation_set

Instead of e_client_visibilty_calculate() at e20 core code.

Change-Id: I9627f930b023ba2a6c13b17faf5dc88869f8199e

11 months agoe_client: remove _e_calc_visibility variable 66/296166/1
SooChan Lim [Thu, 20 Jul 2023 04:48:29 +0000 (13:48 +0900)]
e_client: remove _e_calc_visibility variable

Instead, use the e_comp_visibility_calculation_set/get function.

Change-Id: I9037aa595569efcc0ad2d56836f46350c0ae38cc

11 months agoe_comp: add e_comp_visibility_calculation_set/get functions 65/296165/1
SooChan Lim [Thu, 20 Jul 2023 04:43:00 +0000 (13:43 +0900)]
e_comp: add e_comp_visibility_calculation_set/get functions

This functions set or get the flag for calculating the visibilility
of the compositor at the idle handler.

Change-Id: I57a80991d11011c5a74bdde6f038d3fc0e269547

11 months agoe_client: make e_visibility_changed be a local variable 64/296164/1
SooChan Lim [Thu, 20 Jul 2023 04:28:44 +0000 (13:28 +0900)]
e_client: make e_visibility_changed be a local variable

Remove _e_visibility_changed varaible which is a static variable
at e_client.c file and the e_visibility_changed value is got from
_e_client_visibiilty_zone_calculate() function as a return value.

Change-Id: If261b9969d12791ea89d5273f19447120b8761f8

11 months agoe_comp: make e_comp_idler_before 63/296163/1
SooChan Lim [Thu, 15 Jun 2023 07:11:15 +0000 (16:11 +0900)]
e_comp: make e_comp_idler_before

and call it at _e_main_cb_idler_before instead of e_client_idler_before

Change-Id: I8ca8b9713f301745357fc0a9592cc579cefb798c

11 months agoe_client: make e_client_clients_hash_exist() 62/296162/1
SooChan Lim [Thu, 15 Jun 2023 07:09:43 +0000 (16:09 +0900)]
e_client: make e_client_clients_hash_exist()

and call it at e_client_idler_before

Change-Id: I6f80a6a19364225db44691c4f877c88d9eb68cf4

11 months agoe_comp_object: remove the dead code 11/296111/2
SooChan Lim [Wed, 19 Jul 2023 01:21:48 +0000 (10:21 +0900)]
e_comp_object: remove the dead code

Change-Id: I8c2072e48628706705bfe4c299bb190493d178a3

11 months agoe_client: check ec->new_client in e_client_desk_set 10/296110/1
Doyoun Kang [Thu, 20 Jul 2023 02:20:27 +0000 (11:20 +0900)]
e_client: check ec->new_client in e_client_desk_set

There was a bug that the external contents (such as splash) didn't set
because evas_object_show was called in e_client_desk_set.

When evas_object_show is called, then e makes the cw->obj using
E_COMP_OBJECT_CONTENT_TYPE_INT_IMAGE in _e_comp_intercept_show function.
So, after calling evas_object_show, e_comp_object_content_set always returns EINA_FALSE
because ec->obj is alread existed.

To resolve this problem, we add code checking ec->new_client.
If ec->new_client is set, then we don't force call evas_object_show in e_client_desk_set.

Change-Id: Ib0514726ba60aa3edd66d932b40463a5d3b91043

11 months agoe_input_inputs: refactoring code for enabling input
Jihoon Kim [Fri, 14 Jul 2023 07:58:52 +0000 (16:58 +0900)]
e_input_inputs: refactoring code for enabling input

Change-Id: I2eff68413c0acc22eaf9614c3d2ecf0f4be06321
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
11 months agosubsurface: Fix subsurface stack order error 84/295984/1
Seunghun Lee [Wed, 31 May 2023 00:22:26 +0000 (09:22 +0900)]
subsurface: Fix subsurface stack order error

Let's say there are two windows. One consists of a main surface and two
sub-surfaces placing above and below of the main surface each. The other
one consists of a main surface and a sub-surface placing above of the
main surface. Let's call these windows A and B in order.

The problem is that if the main surface of A window is restacked above
of the main surface of B window, the A window ended up placing between
the B's sub-surface and the main surface of B. This patch is to fix this
error.

Change-Id: Id06d833b75ca184e4eb55fb024fbf8e9356f8620

11 months agoviewport: Replace wl_scaler with ds_tizen_scaler 83/295983/1
Seunghun Lee [Thu, 11 May 2023 09:34:45 +0000 (18:34 +0900)]
viewport: Replace wl_scaler with ds_tizen_scaler

Change-Id: I5fee031e2ee2e873184deb78cb79ad8f039b87c2

11 months agoUse libds for implementation of wayland core protocols 82/295982/1
Seunghun Lee [Tue, 21 Feb 2023 06:42:37 +0000 (15:42 +0900)]
Use libds for implementation of wayland core protocols

This patch replaces following implementations of wayland protocols with
libds:

  wl_tbm, wl_buffer, wl_compositor, wl_region, wl_surface, wl_subsurface

Change-Id: Idf985dbfe585c75313b06d3ec328f657034c6961

11 months agoe_comp_wl: Remove redundant destroy_listener_usuable 81/295981/1
Seunghun Lee [Mon, 20 Mar 2023 00:46:32 +0000 (09:46 +0900)]
e_comp_wl: Remove redundant destroy_listener_usuable

The flag destroy_listener_usuable isn't necessary if we deal with the
destroy_listener properly.

Change-Id: Id7ce1ab7b6b33008d24688060c0da0a5780bed3e

11 months agoe_comp_wl_buffer: Split out from e_comp_wl 80/295980/1
Seunghun Lee [Wed, 5 Jul 2023 00:45:26 +0000 (09:45 +0900)]
e_comp_wl_buffer: Split out from e_comp_wl

Change-Id: Ibcc25759449243c7d820fd03f48a773912cc3868

11 months agoe_comp_wl: Refactor e_comp_wl_buffer_reference() 79/295979/1
Seunghun Lee [Mon, 20 Mar 2023 00:24:51 +0000 (09:24 +0900)]
e_comp_wl: Refactor e_comp_wl_buffer_reference()

This breaks code out into _e_comp_wl_buffer_{ref/unref}() and adjusts if
statements.

Change-Id: I5bc13dbf95510289cfc4578c1c11364b30b19b4e

11 months agoe_input: fix dead code 01/295801/1
Jihoon Kim [Thu, 13 Jul 2023 10:35:12 +0000 (19:35 +0900)]
e_input: fix dead code

Change-Id: I58358bb72b1a631e1ff219ac6f8cb2afd8641092
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
11 months agoe_input: fix to use non-null variable in pointer_warp() 30/295730/2 accepted/tizen/unified/20230713.143510 accepted/tizen/unified/20230714.164923 accepted/tizen/unified/dev/20230726.115701 accepted/tizen/unified/riscv/20230718.003646
duna.oh [Thu, 13 Jul 2023 04:08:29 +0000 (13:08 +0900)]
e_input: fix to use non-null variable in pointer_warp()

Change-Id: I9ef96594e896c45e8aea02383017201c440f248f

11 months agoe_maximize: seperate NULL check code for readability 28/295728/2
Junseok Kim [Wed, 12 Jul 2023 05:42:03 +0000 (14:42 +0900)]
e_maximize: seperate NULL check code for readability

Change-Id: Ia3a34247aeaa08d28260769a54c82a6fac3b333b

11 months agoe_hwc: prefer initializing with gbm when libgbm is vender library 20/295720/1
Changyeon Lee [Wed, 12 Jul 2023 01:53:28 +0000 (10:53 +0900)]
e_hwc: prefer initializing with gbm when libgbm is vender library

Change-Id: I585c613db1f2b466349eafc9400cded4416a6658

11 months agoe_hwc: add ARGB8888 to fallback format fo gbm_surface 19/295719/1
Changyeon Lee [Mon, 10 Jul 2023 11:59:30 +0000 (20:59 +0900)]
e_hwc: add ARGB8888 to fallback format fo gbm_surface

Change-Id: I97b1ecb604582575ca39d1fae6e17e2dd7592a1d

11 months agoe_comp_wl_tbm: fix leak of fd in case gbm_bo_get_fd returns new fd 18/295718/1
Changyeon Lee [Tue, 11 Jul 2023 07:36:01 +0000 (16:36 +0900)]
e_comp_wl_tbm: fix leak of fd in case gbm_bo_get_fd returns new fd

Change-Id: Ia83ec91584288543ab84406c340b923e6669599e

11 months agoe_policy_visibility: remove the use of ec->zone 83/295683/1
SooChan Lim [Wed, 12 Jul 2023 01:26:46 +0000 (10:26 +0900)]
e_policy_visibility: remove the use of ec->zone

The zone variable at e_client will be deprecated.

Change-Id: Iac9093ae4133bcdfbae17536363b425f267891b1

11 months agoe_policy_wl: remove the use of ec->zone 82/295682/1
SooChan Lim [Wed, 12 Jul 2023 01:23:20 +0000 (10:23 +0900)]
e_policy_wl: remove the use of ec->zone

The zone variable at e_client will be deprecated.

Change-Id: Ia624f9147c5f4b37514dd768ef5bb28b8edbd03a

11 months agoe_policy_wl: add zone varaible at E_Policy_Wl_Tzsh_Client 81/295681/1
SooChan Lim [Fri, 7 Jul 2023 02:24:56 +0000 (11:24 +0900)]
e_policy_wl: add zone varaible at E_Policy_Wl_Tzsh_Client

E_Policy_Wl_Tzsh_Client uses this zone varaible when it needs the zone.

Change-Id: Ib4d2a4894b70b4fd8be5d860a8d3046a9df0c862

11 months agoe_policy_wl: add zone varaible at E_Policy_Wl_Tzsh_Srv 80/295680/1
SooChan Lim [Thu, 6 Jul 2023 11:25:06 +0000 (20:25 +0900)]
e_policy_wl: add zone varaible at E_Policy_Wl_Tzsh_Srv

E_Policy_Wl_Tzsh_Srv uses this zone varaible when it needs the zone.

Change-Id: I54104ba96a713066e3bf75edc5136ad2b72ca0a9

11 months agoe_policy_stack: remove the use of ec->zone 79/295679/1
SooChan Lim [Thu, 6 Jul 2023 10:01:47 +0000 (19:01 +0900)]
e_policy_stack: remove the use of ec->zone

The zone variable at e_client will be removed.

Change-Id: I70b6cc6491f2b1ab05ce954582b9064de112ed84

11 months agoe_policy: add E_EVENT_CLIENT_ZONE_SET callback function 78/295678/1
SooChan Lim [Thu, 6 Jul 2023 05:58:22 +0000 (14:58 +0900)]
e_policy: add E_EVENT_CLIENT_ZONE_SET callback function

In that function, pc->zone can be changed.

Change-Id: Ia046f2dd0c0f718880649a543745fd1024ce8478

11 months agoe_policy: remove the use of ec->zone 77/295677/1
SooChan Lim [Thu, 6 Jul 2023 05:51:57 +0000 (14:51 +0900)]
e_policy: remove the use of ec->zone

the zone variable at e_client will be deprecated.

Change-Id: I1759353946df5cb60695655313ec820c70f86e89

11 months agoe_policy: add e_policy at E_CLIENT_HOOK_NEW_CLIENT_POST instead of E_CLIENT_HOOK_NEW_... 76/295676/1
SooChan Lim [Thu, 6 Jul 2023 05:27:08 +0000 (14:27 +0900)]
e_policy: add e_policy at E_CLIENT_HOOK_NEW_CLIENT_POST instead of E_CLIENT_HOOK_NEW_CLIENT

The callback of E_CLIENT_HOOK_NEW_CLIENT_POST knows the zone to which the e_client belongs.

Change-Id: I0487729512d31986b04797ee6ee6dd4aa4542235

11 months agoe_iput_evdev: fix dead code 49/295649/1
Jihoon Kim [Wed, 12 Jul 2023 05:57:41 +0000 (14:57 +0900)]
e_iput_evdev: fix dead code

dead_error_line (572 line):
Execution cannot reach the expression NULL inside this statement: (glist = (glist ? ((GList *....

Change-Id: I36c1397198be905a61021ee5b744a415a3148252
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
11 months agoe_maximize: Add NULL check to return val of e_comp_zone_find_by_ec 63/295563/2
Junseok Kim [Tue, 11 Jul 2023 02:18:59 +0000 (11:18 +0900)]
e_maximize: Add NULL check to return val of e_comp_zone_find_by_ec

Change-Id: I8c31c7241119e377b84e470c23f80957505dd011

11 months agoe_single_pixel_buffer: add first implementation of single_pixel_buffer protocol 62/295562/1
Changyeon Lee [Fri, 30 Jun 2023 09:04:20 +0000 (18:04 +0900)]
e_single_pixel_buffer: add first implementation of single_pixel_buffer protocol

Change-Id: I1104968068d1d60ecbd6c699a0d8f0e7c9282290

11 months agoe_input_evdev: prevent to access NULL list 57/295557/1 accepted/tizen/unified/20230712.040731
Jihoon Kim [Mon, 10 Jul 2023 10:42:33 +0000 (19:42 +0900)]
e_input_evdev: prevent to access NULL list

Change-Id: I404d9f9cb525df8903e486db8abfb3bcc00d0a55
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
11 months agoe_client_video: null checking on ecv->zone 52/295552/2
SooChan Lim [Mon, 10 Jul 2023 23:52:29 +0000 (08:52 +0900)]
e_client_video: null checking on ecv->zone

Change-Id: Iaca377e5e2011ee658b9b463877e8b6f1f5208f3

11 months agoe_zone: null checking on arguments 51/295551/2
SooChan Lim [Mon, 10 Jul 2023 23:42:56 +0000 (08:42 +0900)]
e_zone: null checking on arguments

Change-Id: Ia41665e159f45bcefee83adedc37d8398450e5be

11 months agoe_client: set the position of frame before setting zone to ec 50/295550/2
SooChan Lim [Mon, 10 Jul 2023 23:37:56 +0000 (08:37 +0900)]
e_client: set the position of frame before setting zone to ec

Set the position of ec->frame before setting ec->zone.

Change-Id: I3997439a8c427cd64b41a49ac4c7359c7af9ee51

11 months agoe_dnd: use given drag object when the drag end 56/295556/1
Junseok Kim [Mon, 10 Jul 2023 07:12:44 +0000 (16:12 +0900)]
e_dnd: use given drag object when the drag end

Change-Id: I60a0503b5d297e9a2a6bb547cb43c37b9fb701b5

11 months agoe_client: remove unused client_drag variable 55/295555/1
Junseok Kim [Mon, 10 Jul 2023 05:11:29 +0000 (14:11 +0900)]
e_client: remove unused client_drag variable

Change-Id: I5f4c641e1822f5fe1b54fe2e88c06620796c803e

11 months agoe_dnd: remove unused codes 54/295554/1
Junseok Kim [Thu, 6 Jul 2023 01:20:53 +0000 (10:20 +0900)]
e_dnd: remove unused codes

Change-Id: I4111df617b86b6774ba14e0723ccc31457e0fa55

11 months agoe_client: remove drag struct 53/295553/1
Junseok Kim [Thu, 6 Jul 2023 08:21:43 +0000 (17:21 +0900)]
e_client: remove drag struct

Change-Id: I848625fc88062576ac8dde222e91e9b19f33b2a2

11 months agoe_zone: fix the bug at e_zone_add 33/295533/1
SooChan Lim [Mon, 10 Jul 2023 10:41:11 +0000 (19:41 +0900)]
e_zone: fix the bug at e_zone_add

The zone_ec is always NULL because the ec has not been set
to the zone before.

Change-Id: I6b55428f16187ad434c63d20035897e8079fba87

11 months agoFix issue detected by static analysis tool 27/295527/1
Inhong Han [Mon, 10 Jul 2023 07:03:15 +0000 (16:03 +0900)]
Fix issue detected by static analysis tool

Passing null pointer comp_surface to wl_resource_get_id, which dereferences it.

Change-Id: Ief36419d5af201d18f1e413b59057881cb491d9d

11 months agoe_zone: remove the stow/unstow at e_zone 14/295514/2
SooChan Lim [Sun, 9 Jul 2023 04:07:22 +0000 (13:07 +0900)]
e_zone: remove the stow/unstow at e_zone

Those are deprecated.

Change-Id: Idf2854a3cab129e7ca6e3d057ee08c3b93506b72

11 months agoe_zone: remove the e_zone_fade_handle 13/295513/2
SooChan Lim [Sun, 9 Jul 2023 04:05:01 +0000 (13:05 +0900)]
e_zone: remove the e_zone_fade_handle

It is deprecated.

Change-Id: If242137407f38acbbd22e47a37bb4f1c179859a0

11 months agoe_zone: remove the edge and corder at e_zone 12/295512/2
SooChan Lim [Sun, 9 Jul 2023 04:00:20 +0000 (13:00 +0900)]
e_zone: remove the edge and corder at e_zone

All code releted to the edge and the corder at e_zone is deleted.
It is deprecated

Change-Id: I58efed668990b02dc1790d7dcb30aa0cba205c23

11 months agoe_zone: remove the flip variable and e_zone_flip_coords_handle 11/295511/2
SooChan Lim [Sun, 9 Jul 2023 03:28:35 +0000 (12:28 +0900)]
e_zone: remove the flip variable and e_zone_flip_coords_handle

The flip at e_zone is not used anymore.

Change-Id: I72ca21b7bb913139c3bba479c8c70ae50438f7fe

11 months agoe_comp_wl_rsm: remove the use of ec->zone 10/295510/2
SooChan Lim [Sun, 9 Jul 2023 00:32:25 +0000 (09:32 +0900)]
e_comp_wl_rsm: remove the use of ec->zone

The zone variable at e_client will be deprecated.

Change-Id: Ifa2b2f8d3bc78ada1bd7118cd2fc72537c3b9b53

11 months agoe_comp: use the e_comp_client_zone_is_displaying function 09/295509/2
SooChan Lim [Fri, 7 Jul 2023 10:25:32 +0000 (19:25 +0900)]
e_comp: use the e_comp_client_zone_is_displaying function

instead of ec->zone->display_state

Change-Id: Ib8bf138a03c1958ef5dbf0d09441215a15e5563d

11 months agoe_zone: use the e_zone_is_displaying function 08/295508/2
SooChan Lim [Fri, 7 Jul 2023 10:22:14 +0000 (19:22 +0900)]
e_zone: use the e_zone_is_displaying function

instead of zone->display_state

Change-Id: I045cc114bfdbc8cc415de87cc0add421eb2767df

11 months agoe_comp: add e_comp_client_zone_is_displaying() function 07/295507/2
SooChan Lim [Fri, 7 Jul 2023 10:16:25 +0000 (19:16 +0900)]
e_comp: add e_comp_client_zone_is_displaying() function

This function states if the zone including ec is displaying or not.

Change-Id: Idc9f17e6293d21c4b67a7c2c70dac2ab949b6028

11 months agoe_zone: add e_zone_is_displaying() function 06/295506/2
SooChan Lim [Fri, 7 Jul 2023 10:15:33 +0000 (19:15 +0900)]
e_zone: add e_zone_is_displaying() function

This function states if the zone is displaying or not.

Change-Id: Icff29c0da8726baf417daa96c5a6dd0802a9004b

11 months agoe_policy_visibility: check the exception conditions at exposed function. 04/295504/2
SooChan Lim [Fri, 7 Jul 2023 08:32:36 +0000 (17:32 +0900)]
e_policy_visibility: check the exception conditions at exposed function.

The exception conditions are checked at the exposed function and internal(static)
functions does not check those conditions.

Change-Id: I1885d08db036bb1c79c75a2bb5670455b8eaea97

11 months agoe_policy_visibility: remove the duplicated conditions for exceptions 03/295503/2
SooChan Lim [Fri, 7 Jul 2023 08:27:34 +0000 (17:27 +0900)]
e_policy_visibility: remove the duplicated conditions for exceptions

Check the exceptions at only e_policy_client_iconify_by_visibility() function

Change-Id: I48fa5fb5f14aa2afa15bd2f7b88e30e0ebfe5904

11 months agoe_service_quickpanel: check if zone is available. 97/295497/3
SooChan Lim [Fri, 7 Jul 2023 08:20:31 +0000 (17:20 +0900)]
e_service_quickpanel: check if zone is available.

The quickpanel ec has to be assigned to zone at e_service_quickpanel_client_add().

Change-Id: I32eb0b373f8296e9a281e3df7c7ff167a39c6d73

11 months agoe_policy_stack: remove the unused arguments at e_policy_stack_check_above_lockscreen 51/295451/4
SooChan Lim [Fri, 7 Jul 2023 03:07:24 +0000 (12:07 +0900)]
e_policy_stack: remove the unused arguments at e_policy_stack_check_above_lockscreen

The new_layer and set_layer ags are not used anywhere, so delete them.

Change-Id: I803873d2708c219911604893e44a28d3c3aa03f5

11 months agoe_policy_stack: check the containts of lockscreen inside function 50/295450/4
SooChan Lim [Fri, 7 Jul 2023 02:40:50 +0000 (11:40 +0900)]
e_policy_stack: check the containts of lockscreen inside function

Move the constraint condition for showing lockscreen into the function because that condition
is always used when the lockscreen wants to be showing.

Change-Id: I81f36c1a0dc7d636f7076c26458ea15c0668bc03

11 months agoe_input_event: fix dereference null return value 82/295482/2
Jihoon Kim [Fri, 7 Jul 2023 10:07:41 +0000 (19:07 +0900)]
e_input_event: fix dereference null return value

Change-Id: Ie75bbe804052461238ae5ece8046d268ad1a0d53
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
11 months agoFix mutex lock/unlock pair issues 81/295481/2
Jihoon Kim [Fri, 7 Jul 2023 09:38:41 +0000 (18:38 +0900)]
Fix mutex lock/unlock pair issues

Change-Id: I3e3938e73acf292b4549ad3267cade0903565e57
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
11 months agoe_input_device: remove unnecessary code 79/295479/1
Jihoon Kim [Wed, 5 Jul 2023 10:40:24 +0000 (19:40 +0900)]
e_input_device: remove unnecessary code

Change-Id: Icd6eb5cadb071b9e6883e467e5c0c79947574e04
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
11 months agoe_input_evdev: refactoring code to print key input log 78/295478/1
Jihoon Kim [Wed, 5 Jul 2023 06:57:25 +0000 (15:57 +0900)]
e_input_evdev: refactoring code to print key input log

Change-Id: Ia67c205edc1408d0736fbbfba024cd0e8ab88555
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
11 months agoe_comp_wl: set reference point when the wl_surface commit of the drag window 37/295437/2 accepted/tizen/unified/20230710.013140
Junseok Kim [Thu, 6 Apr 2023 06:20:57 +0000 (15:20 +0900)]
e_comp_wl: set reference point when the wl_surface commit of the drag window

Change-Id: Id23809217567f1d4c5871b1f47165543601ea84f

11 months agoe_dnd: Add reference point and use the point when drag move 36/295436/2
Junseok Kim [Thu, 6 Apr 2023 06:13:33 +0000 (15:13 +0900)]
e_dnd: Add reference point and use the point when drag move

Change-Id: I95d0b33f9169a9f32ecad988bb7450db5c480679

11 months agoe_policy_visibility: refactor the _e_vis_ec_job_exec() function 35/295435/1
SooChan Lim [Thu, 6 Jul 2023 08:21:09 +0000 (17:21 +0900)]
e_policy_visibility: refactor the _e_vis_ec_job_exec() function

1. Check if pol_vis is valid at _e_vis_ec_job_exec()
2. Check if vc->ec is valid at _e_vis_ec_job_exec()
3. Remove the null checking code for ec and for vc at _e_vis_client_job_exec_by_type()

Change-Id: Ia335af59f9fac6215201fb5c11b31fa26d121d00

11 months agoe_policy_visibility: remove _e_vis_ec_size_is_full() 34/295434/1
SooChan Lim [Thu, 6 Jul 2023 07:26:39 +0000 (16:26 +0900)]
e_policy_visibility: remove _e_vis_ec_size_is_full()

There is no use for this function.

Change-Id: Idfd4a5859722c38e5f68c70d6fb49dfed3aa0357

11 months agoe_service_quickpanel: fix the dereference value 93/295393/1
SooChan Lim [Wed, 5 Jul 2023 23:41:08 +0000 (08:41 +0900)]
e_service_quickpanel: fix the dereference value

Change-Id: Ib9adb84cced92fdd7ab4b42749e3b4964d9eaf5d

11 months agoe_hwc: remove the use of ec->zone 92/295392/1
SooChan Lim [Wed, 5 Jul 2023 07:00:17 +0000 (16:00 +0900)]
e_hwc: remove the use of ec->zone

The zone variable at ec will be deprecated.

Change-Id: Ie7fd61c14839d1111f2d51f92a01f7f3efe0022d

11 months agoe_zone: remove the use of ec->zone 91/295391/1
SooChan Lim [Wed, 5 Jul 2023 04:34:29 +0000 (13:34 +0900)]
e_zone: remove the use of ec->zone

The zone variable at ec will be deprecated.

Change-Id: I2c0d67cee9908c0981348803bd7ae81f270b148a

11 months agoe_comp_object: remove the use of ec->zone 90/295390/1
SooChan Lim [Wed, 5 Jul 2023 04:14:13 +0000 (13:14 +0900)]
e_comp_object: remove the use of ec->zone

The zone variable at e_client will be deprecated.

Change-Id: I5ddf59faeca54537a8c2c1db0abcfa54f62e476a

11 months agoe_comp: remove the use of ec->zone 89/295389/1
SooChan Lim [Wed, 5 Jul 2023 01:50:14 +0000 (10:50 +0900)]
e_comp: remove the use of ec->zone

The zone variable of ec will be deprecated.

Change-Id: I13e745101462ce73d995f9f13866a22bfee64fd7

11 months agoFixed the build error using gcc 13 23/295223/3 accepted/tizen/unified/20230706.152207
wchang kim [Tue, 4 Jul 2023 02:37:30 +0000 (11:37 +0900)]
Fixed the build error using gcc 13

Change-Id: Icc003f9d6f957410d15ea582096be8434eb4c4a5

11 months agoe_comp_wl_data: change E_API into EINTERN 23/295323/2
SooChan Lim [Thu, 1 Jun 2023 02:22:09 +0000 (11:22 +0900)]
e_comp_wl_data: change E_API into EINTERN

Change-Id: Ibaf85f574b017d88f450aab48192db696832cb71

11 months agoFix keymap mutex issue 21/295321/1
Jihoon Kim [Tue, 4 Jul 2023 01:11:08 +0000 (10:11 +0900)]
Fix keymap mutex issue

Change-Id: I2b7de6993678a5923295bda5cb8a32f06e4a8e40
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
11 months agoe_service_taskbar: remove the use of ec->zone 01/295301/1
SooChan Lim [Tue, 4 Jul 2023 07:58:46 +0000 (16:58 +0900)]
e_service_taskbar: remove the use of ec->zone

The zone variable at ec will be deleted.

Change-Id: I2a02ee040225e84334a52edf1d17fec67afc26a2

11 months agoe_service_softkey: remove the use of ec->zone 00/295300/1
SooChan Lim [Tue, 4 Jul 2023 02:38:01 +0000 (11:38 +0900)]
e_service_softkey: remove the use of ec->zone

The zone variable at ec will be deleted.

Change-Id: I65ebc99e6e992faf56ee2e332534850e6b0b6ac5

11 months agoe_service_quickpanel: remove the use of ec->zone 99/295299/1
SooChan Lim [Tue, 4 Jul 2023 02:23:10 +0000 (11:23 +0900)]
e_service_quickpanel: remove the use of ec->zone

The zone variable at ec will be deleted.

Change-Id: Ibea987f49cd3550119d4840630035f5f5afb60fd

11 months agoe_service_cbhm: remove the use of ec->zone 98/295298/1
SooChan Lim [Tue, 4 Jul 2023 02:22:40 +0000 (11:22 +0900)]
e_service_cbhm: remove the use of ec->zone

The zone variable at ec will be deleted.

Change-Id: Ic9cca680e6ae1dcfa5270642e27b377e159f3ea5

11 months agoe_comp_wl_input: add wl_list_init() for safety of constraint's listener 92/295292/1
duna.oh [Mon, 3 Jul 2023 11:00:49 +0000 (20:00 +0900)]
e_comp_wl_input: add wl_list_init() for safety of constraint's listener

There are a chance of E crash when wl_listener is removed
without initializing by calling wl_signal_add() and wl_list_init()

pointer_constraint_create()
-> (not calling pointer_constraint_enable())
-> pointer_constraint_destroy()

Change-Id: I63d77ca25698cc6c5df0a22e53200e3565873ee4

11 months agoFix bug not to get device information of touch event 72/295272/2
Jihoon Kim [Tue, 4 Jul 2023 08:21:33 +0000 (17:21 +0900)]
Fix bug not to get device information of touch event

Change-Id: I71e9e374f0dd765bf2f4c37b4bca4ea2621077c8
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
11 months agoe_client: rename focused ec mutex 62/295262/1
Jihoon Kim [Tue, 4 Jul 2023 07:47:08 +0000 (16:47 +0900)]
e_client: rename focused ec mutex

Change-Id: Ib5fad07d9af1bd8626decefa8a9853a8d38ea9bb
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
11 months agoUse e_comp_wl_client_surface_set/get for thread safety 61/295261/1
Jihoon Kim [Tue, 4 Jul 2023 05:19:01 +0000 (14:19 +0900)]
Use e_comp_wl_client_surface_set/get for thread safety

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