platform/upstream/enlightenment.git
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>
11 months agoe_input_evdev: change the mutex range for key map 60/295260/1
Jihoon Kim [Tue, 4 Jul 2023 02:11:54 +0000 (11:11 +0900)]
e_input_evdev: change the mutex range for key map

Change-Id: I7b9ada41ff0ce29260cdaf35ef17aa34309cae51
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
11 months agoe_comp_wl: Add missing surface mutex 59/295259/1
Jihoon Kim [Tue, 4 Jul 2023 01:53:33 +0000 (10:53 +0900)]
e_comp_wl: Add missing surface mutex

Change-Id: I2a4b1a0c6254834f198924641ace4ad78e2e1c92
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
11 months agoRemove unused code 94/295194/2
Jihoon Kim [Mon, 19 Jun 2023 05:13:22 +0000 (14:13 +0900)]
Remove unused code

Change-Id: I9fc24914b65bb87778a584165a8fe3416fa962b0
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
11 months agoAdd mutex for keyboard repeat delay and rate 93/295193/2
Jihoon Kim [Tue, 13 Jun 2023 05:43:41 +0000 (14:43 +0900)]
Add mutex for keyboard repeat delay and rate

Change-Id: I8c09587e899fb88a9b47b4803b4f9bdcf96b7d74
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
11 months agoAdd mutex for input_key_grabs list 92/295192/2
Jihoon Kim [Mon, 5 Jun 2023 07:28:04 +0000 (16:28 +0900)]
Add mutex for input_key_grabs list

Change-Id: I0815d8d882adfbe301b334403d2b39f915f2dc58
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
11 months agoAdd mutex for key list 91/295191/2
Jihoon Kim [Mon, 5 Jun 2023 07:20:57 +0000 (16:20 +0900)]
Add mutex for key list

Change-Id: I3d415f36c919a4f5b24b9e90850e202c31550142
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
11 months agoAdd mutex for xkb_state variable 90/295190/2
Jihoon Kim [Mon, 5 Jun 2023 05:56:06 +0000 (14:56 +0900)]
Add mutex for xkb_state variable

Change-Id: Ia60f3a39401ce7faba5a288a8d3d9144615fa1f7
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
11 months agoAdd keymap mutex in e_comp_wl 89/295189/2
Jihoon Kim [Mon, 5 Jun 2023 05:29:46 +0000 (14:29 +0900)]
Add keymap mutex in e_comp_wl

Change-Id: If60d054b7a7d3717a5ae6ffd1636ba6162bdb556
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
11 months agoAdd mutex for kbd focused list 88/295188/2
Jihoon Kim [Fri, 2 Jun 2023 11:20:49 +0000 (20:20 +0900)]
Add mutex for kbd focused list

Change-Id: I01f2dd85529398638a2fa391c44f8158a591bf1b
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
11 months agoAdd mutex for keyboard resources 87/295187/2
Jihoon Kim [Fri, 2 Jun 2023 09:29:07 +0000 (18:29 +0900)]
Add mutex for keyboard resources

Change-Id: I4d5249d4ee232533d69c6cab3d2ac28a0ad69dd5
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
11 months agoAdd mutex lock for surface of comp_data 86/295186/2
Jihoon Kim [Fri, 2 Jun 2023 02:01:51 +0000 (11:01 +0900)]
Add mutex lock for surface of comp_data

Change-Id: I1390eda4baa9faad61e456c4eabe9eabe175e996
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
11 months agoAdd mutex for keyboard mod mask 85/295185/2
Jihoon Kim [Tue, 23 May 2023 10:50:25 +0000 (19:50 +0900)]
Add mutex for keyboard mod mask

Change-Id: Ieaf84659d7fb488e1c5665c3b4dcb8f9c2f1b9bb
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
11 months agoAdd surface mutex 84/295184/2
Jihoon Kim [Tue, 23 May 2023 07:40:38 +0000 (16:40 +0900)]
Add surface mutex

Change-Id: I3f9bb241ec19b36feb4f1f51a647124a3914ee21
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
11 months agoAdd mutex for last device keyboard variable 83/295183/2
Jihoon Kim [Mon, 22 May 2023 12:01:45 +0000 (21:01 +0900)]
Add mutex for last device keyboard variable

Change-Id: I8a48a1fc0902a86c4f52f84ef49618ba03a5f62a
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
11 months agoAdd mutex for device list in device manager 82/295182/2
Jihoon Kim [Mon, 22 May 2023 11:19:47 +0000 (20:19 +0900)]
Add mutex for device list in device manager

Change-Id: I12be5d405b0734f3d282dd3cf8914789147d343f
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
11 months agoe_client: protect focused e_client data against shared access 81/295181/2
Jihoon Kim [Thu, 11 May 2023 07:29:11 +0000 (16:29 +0900)]
e_client: protect focused e_client data against shared access

Change-Id: Ic42f1fc63c38d966e04270c96ab4d72efe9e4600
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
11 months agoFix issue not to register key event handler in E_INPUT_USE_THREAD_INIT env 80/295180/2
Jihoon Kim [Tue, 9 May 2023 05:04:32 +0000 (14:04 +0900)]
Fix issue not to register key event handler in E_INPUT_USE_THREAD_INIT env

Change-Id: I799ec17324011687bd8cb51df938ad7066e4792d
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
11 months agoSupport to switch input thread mode 79/295179/2
Jihoon Kim [Thu, 4 May 2023 11:20:42 +0000 (20:20 +0900)]
Support to switch input thread mode

Change-Id: Ibdfb94419f75c40d820c88335ac38d06ebacb033
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
11 months agoSeparate input thread 78/295178/2
Jihoon Kim [Fri, 31 Mar 2023 07:40:43 +0000 (16:40 +0900)]
Separate input thread

Change-Id: I55b0cbcf3b68d97616bdab40dab8bf81b56fb536
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
11 months agoe_comp_wl_video: remove the use of ec->zone 49/295249/1
SooChan Lim [Fri, 30 Jun 2023 03:52:32 +0000 (12:52 +0900)]
e_comp_wl_video: remove the use of ec->zone

E_Client does not have the zone information anymore, so the use of ec->zone
is removed.

Change-Id: I8ca518917cec17bc469fdc71dde7d7e9361b3d24

11 months agoe_comp: add e_comp_zone_find_by_ec function 48/295248/1
SooChan Lim [Fri, 30 Jun 2023 01:56:34 +0000 (10:56 +0900)]
e_comp: add e_comp_zone_find_by_ec function

This function find a E_Zone to which the given ec belongs.

Change-Id: I7ef26da8b5d81a8e9c92a0c1d1bc02b61dcfc115

11 months agoe_zone: add the private data when ec is added at a zone. 47/295247/1
SooChan Lim [Fri, 30 Jun 2023 00:29:45 +0000 (09:29 +0900)]
e_zone: add the private data when ec is added at a zone.

In order to know the zone with ec which the zone has, the zone sets the data to the ec->frame
when the ec is added to the zone.

Change-Id: Id37b973e4577fd0c7ac9adbe53fedf56013e08a1

11 months agoe_client: move the zone activities to the zone.c with e_zone_client_add() 46/295246/1
SooChan Lim [Wed, 28 Jun 2023 08:07:49 +0000 (17:07 +0900)]
e_client: move the zone activities to the zone.c with e_zone_client_add()

Change-Id: I7c70885665027e1017de2592c3f5761ed83ba0d1

11 months agoe_client: set a client to a desk after creating ec->frame 45/295245/1
SooChan Lim [Mon, 3 Jul 2023 07:57:55 +0000 (16:57 +0900)]
e_client: set a client to a desk after creating ec->frame

e_zone is going to use the evas_object data of ec->frame when the ec
is added to the e_zone. Therefore, ec->frame has to be created before
setting it to the zone.

Change-Id: I46703e13d644c1bc3c50caf15fb65957f74c778b

11 months agoe_zone: add e_zone_client_add function 44/295244/1
SooChan Lim [Wed, 28 Jun 2023 07:51:59 +0000 (16:51 +0900)]
e_zone: add e_zone_client_add function

Change-Id: Ic3f6e663e151fda55fa4d1aa21ba67040cbf0785

11 months agoe_input: change return type of hook_cb function, Eina_Bool to void 68/295168/1 accepted/tizen/unified/20230705.063740
duna.oh [Mon, 3 Jul 2023 08:14:11 +0000 (17:14 +0900)]
e_input: change return type of hook_cb function, Eina_Bool to void

E_Input does not need return values from hook_cb functions.

Change-Id: I11442fa74cc332c5d0b2d948fe9ce84d505a10d5

12 months agoe_hwc_window_queue: handle failure of the buffer allocation 21/295021/2 accepted/tizen/unified/20230630.124053
Changyeon Lee [Wed, 21 Jun 2023 10:28:28 +0000 (19:28 +0900)]
e_hwc_window_queue: handle failure of the buffer allocation

if the buffer allocation is failed, queue size and get size
are different.
it causes a problem of client does not have idle buffer after
client receives activate event of queue.

Change-Id: Ia37ad6308c9cf5be42286b3c24c54c1d7c6ef8e7

12 months agoe_explicit_sync: fix use after free 20/295020/1
Changyeon Lee [Thu, 29 Jun 2023 10:05:16 +0000 (19:05 +0900)]
e_explicit_sync: fix use after free

if e_explicit_sync_surface is destroyed before e_client is deleted,
e_explicit_sync_surface is used after it is freed
in _e_explicit_sync_surface_cb_before_surface_commit because
hook is not deleted.

Change-Id: I0a2d8336365dbe85b37bc46e9d8de0e8fe33f12e

12 months agoe_hwc_window: declare acquire_fence_fd var at the beginning of function. 92/294992/1
SooChan Lim [Mon, 26 Jun 2023 01:42:05 +0000 (10:42 +0900)]
e_hwc_window: declare acquire_fence_fd var at the beginning of function.

Change-Id: I4e5fb4e1c9b5347d421761eab9153587c9d087c8

12 months agoe_explicit_sync: add delete function for before_surface_commit_hook 91/294991/1
SooChan Lim [Mon, 26 Jun 2023 01:40:02 +0000 (10:40 +0900)]
e_explicit_sync: add delete function for before_surface_commit_hook

Change-Id: I7a2a3ae58d71489a4cbc264c71547ed5cac059b9

12 months agoe_explicit_sync: fix the indentation 90/294990/1
SooChan Lim [Mon, 26 Jun 2023 01:04:06 +0000 (10:04 +0900)]
e_explicit_sync: fix the indentation

Change-Id: I9a3099143d9e7085adc9f8a896774cc5731e4ca3