platform/upstream/enlightenment.git
11 months agoe_client: remove the just_do_it argument 18/296818/1
SooChan Lim [Fri, 4 Aug 2023 09:02:18 +0000 (18:02 +0900)]
e_client: remove the just_do_it argument

The just_do_it is always 1 or True, so It is useless.

Change-Id: Ib7a66f2c00d600c9a7e775c15c221542859bb820

11 months agoe_zone: move e_client_visibility_zone_calculation to e_zoen_visibility_calculation 65/296765/2
SooChan Lim [Mon, 24 Jul 2023 04:34:57 +0000 (13:34 +0900)]
e_zone: move e_client_visibility_zone_calculation to e_zoen_visibility_calculation

The main role of this fucntion calcuates the visibility of the given zone. This is not
for a client, for a zone. Therefore, the function is decalared at the zone.c file and
remove the e_client_visibility_zone function at client.c file.

Change-Id: I2bd894f0acc85da529b9254fa958892522a8fd79

11 months agoe_client: make a _e_client_visibility_end_notify function 64/296764/2
SooChan Lim [Mon, 24 Jul 2023 02:19:56 +0000 (11:19 +0900)]
e_client: make a _e_client_visibility_end_notify function

Change-Id: Ibd44539f6717df4fce135178cab45e3ed3de9aa3

11 months agoe_client: remove the E_CLIENT_HOOK_CAL_VISIBILITY_DISPLAY_OFF 63/296763/2
SooChan Lim [Mon, 24 Jul 2023 00:48:02 +0000 (09:48 +0900)]
e_client: remove the E_CLIENT_HOOK_CAL_VISIBILITY_DISPLAY_OFF

This hook is deprecated. There is no use for it.

Change-Id: I1fd544eb1831365de5ed6ef07a904ca00757ebed

11 months agoe_client: make a e_client_visibility_change_notify function 62/296762/2
SooChan Lim [Fri, 21 Jul 2023 08:13:13 +0000 (17:13 +0900)]
e_client: make a e_client_visibility_change_notify function

This function sends the visibiilty_change event and
calls the visibiilty_change hook.

Change-Id: Ie0d4d0d72ce038c9b99195200d1fec663bf64697

11 months agoe_client: use e_zone_is_displaying() function 61/296761/2
SooChan Lim [Fri, 21 Jul 2023 05:46:52 +0000 (14:46 +0900)]
e_client: use e_zone_is_displaying() function

intead of is_display_off variable.

Change-Id: I5c1d227b9601fb25c227f2a3350ae220317600a9

11 months agoe_client: remove the usage of ec->zone at e_client_visibility_zone_calcualte 60/296760/2
SooChan Lim [Fri, 21 Jul 2023 01:47:56 +0000 (10:47 +0900)]
e_client: remove the usage of ec->zone at e_client_visibility_zone_calcualte

The zone variable at e_client will be deprecated.

Change-Id: I3d9500b76bcbb2a6d14112991315c1ee22483b13

11 months agoe_client: remove two e_client_pointer_warp_to_center apis 56/296756/2
SooChan Lim [Thu, 3 Aug 2023 00:12:58 +0000 (09:12 +0900)]
e_client: remove two e_client_pointer_warp_to_center apis

These functions is not used.

EINTERN int e_client_pointer_warp_to_center_now(E_Client *ec);
EINTERN int e_client_pointer_warp_to_center(E_Client *ec);

Change-Id: I2c05b29d37ade78d6f7b1357c7fcf7f393242482

11 months agoe_comp_wl_data: Add null check of drag_icon_ec 42/296742/1
Junseok Kim [Thu, 3 Aug 2023 08:52:39 +0000 (17:52 +0900)]
e_comp_wl_data: Add null check of drag_icon_ec

Change-Id: I278d780beea68cca779f2934d0651038ecfeaa3b

11 months agoe_client: refactor e_client_revert_focus function 39/296739/2
Junseok Kim [Thu, 3 Aug 2023 11:26:50 +0000 (20:26 +0900)]
e_client: refactor e_client_revert_focus function

Change-Id: I3f2f35e37cf96c2486e4d4a4c47cd5cf8ce220a4

11 months agoe_client: refactor e_client_focus_calculate function 38/296738/2
Junseok Kim [Wed, 2 Aug 2023 09:21:16 +0000 (18:21 +0900)]
e_client: refactor e_client_focus_calculate function

Change-Id: I5c04b0c0c8418eab7b0b409fd5d268437479b32d

11 months agoe_client: refactor focus_can_take function 37/296737/2
Junseok Kim [Wed, 2 Aug 2023 09:20:56 +0000 (18:20 +0900)]
e_client: refactor focus_can_take function

Change-Id: Ic7af3d36865265b8614df726fb22a927ed3bad39

11 months agoe_client: refactor check_obscured_by_children_group 36/296736/2
Junseok Kim [Tue, 1 Aug 2023 06:54:51 +0000 (15:54 +0900)]
e_client: refactor check_obscured_by_children_group

Change-Id: Icb5edb65d5b2bea73b392f198fcd3bc5cc2b06a7

11 months agoe_client: refactor transient_for_group_make 35/296735/2
Junseok Kim [Tue, 1 Aug 2023 06:49:46 +0000 (15:49 +0900)]
e_client: refactor transient_for_group_make

Change-Id: Iab4ee57372279156222741b2e5a6e45363fa5f56

11 months agoe_service_kvm: Implement kvm secondary selection 12/296712/2
Junkyeong Kim [Wed, 2 Aug 2023 07:10:51 +0000 (16:10 +0900)]
e_service_kvm: Implement kvm secondary selection

If kvm_service secondary_selection set,
e20 send wl_selection_data to secondary_selection like cbhm.

Change-Id: Ie7fe9f86eed41fb61c43a401d63dd127e5866fb2

11 months agoe_comp_object: fix the comp object is shown even if ec is iconic 85/296685/2
Changyeon Lee [Thu, 6 Jul 2023 09:38:32 +0000 (18:38 +0900)]
e_comp_object: fix the comp object is shown even if ec is iconic

There is a bug that the comp object is shown when
client is set by iconic during showing animation.

1. client A is showing and begin animating of comp object
2. cw->animating is increased
3. e_client_iconify and _e_comp_intercept_hide is called
4. defer_hide is set
5. _e_comp_object_done_defer is called with "e,action,show,done"
6. the comp object is never hidden

for fixing this bug, call evas_object_hide when
_e_comp_object_done_defer is called with "e,action,show,done"
and defer_hide is set.

Change-Id: I7fdee04e208288ef06b4aaacb445a41ffd6e4d79

11 months agoe_policy_wl: Do nothing with a subsurface for fake 02/296702/2 accepted/tizen/unified/20230803.174836
Seunghun Lee [Thu, 3 Aug 2023 07:18:43 +0000 (16:18 +0900)]
e_policy_wl: Do nothing with a subsurface for fake

This fixes abort() in ds_subsurface_from_resource().

Change-Id: I779ec93fa92ebce1352437992663da154559c103

11 months agoe_client: Remove unnecessary check 90/296690/1
Seunghun Lee [Thu, 3 Aug 2023 00:53:48 +0000 (09:53 +0900)]
e_client: Remove unnecessary check

There's no point in checking whether given E_Client is deleted during
the e_client_surface_tree_foreach().
This should be checked by a caller if it's needed.

Change-Id: Id54140b1a915938526375c6b3f150e0c1ab08699

11 months agoExport APIs for use by E modeuls 58/296658/1
Seunghun Lee [Wed, 2 Aug 2023 05:02:59 +0000 (14:02 +0900)]
Export APIs for use by E modeuls

This patch exports following APIs for use by E modules.

* Eina_Bool e_client_is_video(E_Client *ec);
* void e_client_surface_tree_foreach(E_Client *ec, E_Client_Surface_Tree_Foreach func, void *data);

As a side note, with the combination of these APIs, E modules can
traverse a surface tree and count the number of E_Client which is for
video contents.

Change-Id: I1e1114387204a25dd50369587f7ff34d61923fd7

11 months agoe_input: Modified not to create duplicate E_Device information 01/296601/1 accepted/tizen/unified/20230803.034113
Inhong Han [Tue, 1 Aug 2023 10:53:58 +0000 (19:53 +0900)]
e_input: Modified not to create duplicate E_Device information

Change-Id: I4d35538fb20186553f5820147c1aeedede7920df

11 months agoe_comp_wl_capture: fix transform buffer format when source buffer is shm 77/296577/2
Changyeon Lee [Tue, 1 Aug 2023 07:29:38 +0000 (16:29 +0900)]
e_comp_wl_capture: fix transform buffer format when source buffer is shm

if source buffer is shm, tbm_surface of td is null.

Change-Id: I149146e62e3ee784486108cc1d0966fa8968ceb0

11 months agoe_comp_wl_capture: fix crash of accessing invalid tbm_surface 76/296576/2
Changyeon Lee [Tue, 1 Aug 2023 05:56:22 +0000 (14:56 +0900)]
e_comp_wl_capture: fix crash of accessing invalid tbm_surface

Change-Id: Ib2ff1f3d7fe39e33c90ac8f59813eac340c6fea1

11 months agoRevert "e_input: Modified not to create duplicate E_Device information" 88/296588/1
Inhong Han [Tue, 1 Aug 2023 10:57:49 +0000 (19:57 +0900)]
Revert "e_input: Modified not to create duplicate E_Device information"

This reverts commit 725b8cc54ae6d404dccd2cb57dd946bcc44ea5cf.

Change-Id: I75987166ce9e4e6a6309a9d8536f258905ba8cde

11 months agoe_input: Modified not to create duplicate E_Device information
Inhong Han [Tue, 1 Aug 2023 10:53:58 +0000 (19:53 +0900)]
e_input: Modified not to create duplicate E_Device information

Change-Id: I4d35538fb20186553f5820147c1aeedede7920df

11 months agoe_input: process input event asynchronously 49/296549/1
Jihoon Kim [Mon, 31 Jul 2023 08:40:33 +0000 (17:40 +0900)]
e_input: process input event asynchronously

Change-Id: I2a0c3864bb4158a35d3993e523b16e3694adc535
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
11 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

11 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>
11 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

11 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

11 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

12 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>
12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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>
12 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

12 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

12 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>
12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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