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

Change-Id: Ia40a91f23344d4c913395e572cd7438150a07b21

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

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

Change-Id: Iaff307802e5f2321ad1f44774a1aebd8f189185c

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

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

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

Change-Id: I0546e38513f19bbaf1be65fd2b8f90189c682cdf

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

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

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

Change-Id: Ifb5566fd4c0640ffa191246e757de6e3b83969f3

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

Change-Id: I422fe6c0ea65d358fc9d826f642c8c57e8bb1078

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

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

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

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

Change-Id: Ib646c3cd6d3874ee3bf4f8ff46dc1e02fcdf872a

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

Change-Id: I52af0fdae4c7df9a311177d1a8f66b6f2f76293a

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

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

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

Change-Id: Ic8303c112b58229253c46231b30ffd530f03cd26

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

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

Change-Id: Ib4d0bd69874f216c035ece9bcc3a5cc42d253b10

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

Change-Id: I5b73eb79bb4221c3d0c58e9bf1099d771ddb8c0c

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

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

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

Change-Id: I58381c9293587eccff3904cb6f823a337ef1859f

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

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

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

Change-Id: Ida46a8d61bf22fc748ed1540f0d2c47a57abb23a

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

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

Change-Id: I3fae21d34b50644c88d64f7085e3d17140299865

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

Change-Id: I678939d3f9ce1eea2da13e114195cb069d46c1e6

9 months agoe_focus_policy: use atomic operation instead of mutex 08/301808/2
Jihoon Kim [Wed, 22 Nov 2023 11:22:20 +0000 (20:22 +0900)]
e_focus_policy: use atomic operation instead of mutex

Change-Id: I3416442aa5c5134b0c10a45655e68cb984dee9b8
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
9 months agoPrint log when processing of key event is delayed 89/301789/2
Inhong Han [Fri, 17 Nov 2023 04:29:07 +0000 (13:29 +0900)]
Print log when processing of key event is delayed

Change-Id: Id6387732b085aa93478984caa9b474d32b19bb85

9 months agoe_comp_object: fix bug for intercept_resize if the win use fullscreen with transform 71/301871/1
Doyoun Kang [Sun, 26 Nov 2023 03:37:07 +0000 (12:37 +0900)]
e_comp_object: fix bug for intercept_resize if the win use fullscreen with transform

There was a bug that the window wasn't shown on the screen.
The window set fullscreen and it was enabled the transform by applying the base output resolution,
then the window was not shown on the screen.

E checks the size between the zone's size and requested size in intercept resize callback.
If the size are not same, then e returns because fullscreen should be resize the zone's size.
But, in transform case, the requested size is the applied the base output resolution and it is
not same to zone's size.

So, we add code to check whether the transform is enabled or not while checking size.

Change-Id: Id8593c15b15bac9c29f5bdd220b40f0c23ea3378

10 months agopackaging: Update version to tz8_11.0.0 12/301512/1 accepted/tizen/unified/20231120.023142
SooChan Lim [Fri, 17 Nov 2023 05:24:35 +0000 (14:24 +0900)]
packaging: Update version to tz8_11.0.0

Change-Id: I06ed37b41abc9e001c33d1b835b530e08ae1634b

10 months agoe_comp_wl_input: add E_API Eina_Bool e_comp_wl_input_pointer_constraint_activated_get... 09/301509/1
duna.oh [Thu, 16 Nov 2023 11:34:02 +0000 (20:34 +0900)]
e_comp_wl_input: add E_API Eina_Bool e_comp_wl_input_pointer_constraint_activated_get(void)

Change-Id: If8e1a1705144199951c2a8b2ccc236020a77a28e

10 months agospec: remove the dependency 04/301504/2
SooChan Lim [Fri, 17 Nov 2023 04:39:13 +0000 (13:39 +0900)]
spec: remove the dependency

libds-tizen contains the libds-tizen-tbm-server and libds-tizen-scaler.
Therefore enlightenment does not need to depends on those packages.

Change-Id: I8751a207f54403f73ddac9594a423b9e0e3489bf

10 months agoe_desk: delete a desk_area 03/301503/2
SooChan Lim [Wed, 15 Nov 2023 07:54:53 +0000 (16:54 +0900)]
e_desk: delete a desk_area

e_desk_free function has to delete the base desk_area.

Change-Id: I7c10726b32b7161c4abdaa690b370bfb76c03c1c

10 months agoe_screensaver: add log for debugging 02/301502/2
Jihoon Kim [Thu, 16 Nov 2023 11:24:30 +0000 (20:24 +0900)]
e_screensaver: add log for debugging

Change-Id: I7075ae7534af5bba7b6d57ff8d6143d4348eadfa
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
10 months agoe_input: Use c11 atomic instead of mutex 00/301500/1
Jihoon Kim [Wed, 8 Nov 2023 11:55:28 +0000 (20:55 +0900)]
e_input: Use c11 atomic instead of mutex

Atomic and mutex can be compared in concurrency performance test.
If you use Atomic package, performance is better than using mutex.
Atomic does not have a data race problem even if two threads access at the same time without mutex.

Change-Id: Ide5733f9fbdb84836f25134753a7cb86aa992fa6
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
10 months agoFix issue detected by static analysis tool 54/301454/1
Inhong Han [Thu, 16 Nov 2023 04:06:04 +0000 (13:06 +0900)]
Fix issue detected by static analysis tool

pass_freed_arg: Passing freed pointer edev->e_dev_list as an argument to g_list_find

Change-Id: I3a75956f2ef6f57b691cb909ca18719eca6719a8

10 months agoe_zone: use ds_tizen_screen 82/301382/1
SooChan Lim [Fri, 10 Nov 2023 05:11:09 +0000 (14:11 +0900)]
e_zone: use ds_tizen_screen

Use ds_tizen_screen and ds_tizen_splitscreen instead of using
wtz_screen server interface directly.

Change-Id: Ia345ef30271d0efae47500c3a00930e6f8990492

10 months agoe_desk: fix the typo 67/301367/1
SooChan Lim [Wed, 15 Nov 2023 04:58:11 +0000 (13:58 +0900)]
e_desk: fix the typo

Change-Id: I82e392630feccbaa29a14b5d354e639f3a06c6cf

10 months agopackaging: Update version to tz8_10.3.0 45/301345/1 accepted/tizen/unified/20231115.083804
Doyoun Kang [Tue, 14 Nov 2023 22:56:51 +0000 (07:56 +0900)]
packaging: Update version to tz8_10.3.0

Change-Id: I63295872006e4bccbc66bf8d640ecc8cc7a045ce

10 months agoe_client/e_zone: change code to call e_client_layer_set of fullscreen/unfullscreen 19/301319/1
Doyoun Kang [Tue, 14 Nov 2023 05:05:27 +0000 (14:05 +0900)]
e_client/e_zone: change code to call e_client_layer_set of fullscreen/unfullscreen

There was a bug that the e_client's layer didn't restore while handling unfullscreen.
To resolve this, We moved the code calling e_client_layer_set() from e_zone to e_client.

Change-Id: I7bb0de7e42d1a3331a9b16a657fb7477ea22c789

10 months agoe_comp_wl: when pointer is locked, do not hide cursor by timer 17/301317/2
duna.oh [Mon, 13 Nov 2023 11:26:57 +0000 (20:26 +0900)]
e_comp_wl: when pointer is locked, do not hide cursor by timer

There is a bug that cursor hide timer is added, expired, and cursor gets hidden
even if pointer is locked.

Please refer to the following commit.

commit d31eaf38264b9cca65000c8f503698419cd219c5
Author: duna.oh <duna.oh@samsung.com>
Date:   Mon Nov 6 16:21:58 2023 +0900

    e_comp_wl_input: when pointer is locked, delete cursor hide timer

    When pointer is locked, no need to hide cursor by timer.

Change-Id: I971175c42b5e50f8d8ed2d5354bb55e04ae62283

10 months agoe_desk: Set always use desk smart object 16/301316/1
Junseok Kim [Mon, 13 Nov 2023 07:42:10 +0000 (16:42 +0900)]
e_desk: Set always use desk smart object

Change-Id: Id715bb0f584ea6bc20991b21d53ad5f970a94a16

10 months agoe_policy: remove some lock values to apply the maximize/fullscreen policy 01/301301/1
Doyoun Kang [Mon, 13 Nov 2023 23:57:25 +0000 (08:57 +0900)]
e_policy: remove some lock values to apply the maximize/fullscreen policy

When the normale ec was created, we applied the default maximize policy.
This policy set the lock_values for maximize, fullscreen to 1.
For this, normal ec didn't change its geometry when it requested to change its state to
maximize or fullscreen.

We change code not to set these lock values to apply the maximize or fullscreen policy.

Change-Id: I4e9fd18076bd80211b514162b759d2604f884228

10 months agoe_policy: remove callback for E_CLIENT_HOOK_FULLSCREEN_PRE 00/301300/1
Doyoun Kang [Mon, 13 Nov 2023 23:48:44 +0000 (08:48 +0900)]
e_policy: remove callback for E_CLIENT_HOOK_FULLSCREEN_PRE

In fullscreen_pre callback, we set the ec->skip_fullscreen to 1 if the ec is a normal window.
For this, the normal ec didn't change its geometry to fullscreen size when it requested to
change to the fullscreen state.

So, we remove this code to handle the fullscreen state normally.

Change-Id: I396e0ecdbcde8aaaf7832b0ae53fa0f7291467c5

10 months agoe_desk: remove the flip code 97/301297/1
SooChan Lim [Mon, 13 Nov 2023 08:50:37 +0000 (17:50 +0900)]
e_desk: remove the flip code

The flipping desk and zone does not used anymore.
Those code are deprecated.

Change-Id: If15c3c593fb1a0f5f6c2350a9f87cb9315e0ba45

10 months agopackaging: Update version to tz8_10.2.0 66/301266/1 accepted/tizen/unified/20231114.041335
Doyoun Kang [Mon, 13 Nov 2023 06:57:57 +0000 (15:57 +0900)]
packaging: Update version to tz8_10.2.0

Change-Id: I4dc073b5f5c493ff81985e6bc31f6620c5b90e47

10 months agoe_comp_wl_buffer: Use E_Tbm_Gbm_Server for E_Comp_Wl_Buffer 62/301262/1
Seunghun Lee [Mon, 6 Nov 2023 05:26:28 +0000 (14:26 +0900)]
e_comp_wl_buffer: Use E_Tbm_Gbm_Server for E_Comp_Wl_Buffer

Now that the `E_Tbm_Gbm_Server` implements tbm and gbm backend for
ds_buffer, we can take advantage of it when we create E_Comp_Wl_Buffer
for wl_buffer resources.

Change-Id: I990945cc99cbb4f6cce76d13ff4bd49054f961b0

10 months agoIntroduce E_Tbm_Gbm_Server 61/301261/1
Seunghun Lee [Mon, 16 Oct 2023 08:37:04 +0000 (17:37 +0900)]
Introduce E_Tbm_Gbm_Server

E_Tbm_Gbm_Server is to support both wayland clients using tbm surfaces
and the ones using gbm buffer objects as a wl_buffer.

This creates `ds_tbm_server` to support wl_buffer of tbm_surface and
implements `ds_buffer_interface` to support gbm buffer objects.

Change-Id: I3eea2a8d3b2e6730d37896bbe73dc382321e5c09

10 months agoe_desk_area: make E_Desk_Area be E_Object 51/301251/3
SooChan Lim [Sun, 12 Nov 2023 04:58:04 +0000 (13:58 +0900)]
e_desk_area: make E_Desk_Area be E_Object

E_Desk_Area is E_Object now and it also gets the E_Desk_Area_Private.

Change-Id: I342187198879ed97faa4a4092ce819c021ebc6eb

10 months agoe_client/e_zone: consider fullscreen state while handling maximize/unmaximize
Doyoun Kang [Mon, 13 Nov 2023 04:53:10 +0000 (13:53 +0900)]
e_client/e_zone: consider fullscreen state while handling maximize/unmaximize

Change-Id: I2a49dc2d1b8ceee664a65b58771f63e798b33f4a

10 months agoe_client: reset ec->need_fullscreen in e_client_unfullscreen() 49/301249/1
Doyoun Kang [Mon, 13 Nov 2023 04:37:59 +0000 (13:37 +0900)]
e_client: reset ec->need_fullscreen in e_client_unfullscreen()

Change-Id: Icd98efbdeb070c4e1f5b8f3841131e1a87a31109

10 months agoe_zone: consider maximize state while handling fullscreen/unfullscreen 48/301248/1
Doyoun Kang [Sun, 12 Nov 2023 04:54:58 +0000 (13:54 +0900)]
e_zone: consider maximize state while handling fullscreen/unfullscreen

Change-Id: I2c98ecff4e82ad1560106d07e0b7cad43af4d532

10 months agoe_zone: remove unused code related with E_FULLSCREEN_ZOOM 47/301247/1
Doyoun Kang [Sun, 12 Nov 2023 03:37:21 +0000 (12:37 +0900)]
e_zone: remove unused code related with E_FULLSCREEN_ZOOM

Change-Id: I3e2ab40e897bf6f45e19911f9222e808918172e8

10 months agoe_client/e_zone: refactor code to update ec->fullscreen value 46/301246/1
Doyoun Kang [Fri, 10 Nov 2023 07:02:01 +0000 (16:02 +0900)]
e_client/e_zone: refactor code to update ec->fullscreen value

We changed code to set ec->fullscreen value in e_client not e_zone.

Change-Id: If521e3171c80370de49707114dcbb44f0c5540e6

10 months agopackaging: Update version to tz8_10.1.0 17/301117/1
SooChan Lim [Thu, 9 Nov 2023 02:47:19 +0000 (11:47 +0900)]
packaging: Update version to tz8_10.1.0

Change-Id: I24643584594c21e716e9c3e4a60b62e82a0a94cd

10 months agoe_comp_object: Erase negative input position prevention code 88/301088/1
Junkyeong Kim [Wed, 8 Nov 2023 06:18:49 +0000 (15:18 +0900)]
e_comp_object: Erase negative input position prevention code

Fix input rect set error.
If window resizing is requested after moving the screen up or left position,
the input rect is not set correctly.

     ___ window
    |   |
  -----------  screen
  | |___|   |
  |         |
  |         |
  |         |
  -----------

Change-Id: I74e3ec0c587a672434da75740420426b80c7a965

10 months agoe_screensaver: fix issue screensaver is not terminated 85/301085/1
Jihoon Kim [Wed, 8 Nov 2023 04:56:08 +0000 (13:56 +0900)]
e_screensaver: fix issue screensaver is not terminated

'_saver->ev_update' is written in input thread, so it causes data race issue.
ecore_main_loop_thread_safe_call_async is used to call in main thread.

Change-Id: I1ca21150df67e8dbaa0b2f57b270f36b7b356cc2
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
10 months agoe_input: add input thread start hook 62/301062/1
Jihoon Kim [Mon, 6 Nov 2023 08:39:23 +0000 (17:39 +0900)]
e_input: add input thread start hook

Change-Id: Id5fb47aa785579b5fa188af560a26348976c4c88
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
10 months agoe_hwc_window_queue: set copy buffer to comp object even if client destroys front... 09/301009/1
Changyeon Lee [Mon, 6 Nov 2023 10:58:16 +0000 (19:58 +0900)]
e_hwc_window_queue: set copy buffer to comp object even if client destroys front buffer

this patch fixes problem that reserved memory is used by front buffer and client rendering
at the same time in case of client destroys front buffer before e_hwc_window sent
wl_tbm_queue_send_deactive.

Change-Id: Ic884dda2c4bb2d68749aa05e828d897c9b8b5439

10 months agopackaging: Update version to tz8_10.0.2 99/300999/1 accepted/tizen/unified/20231107.172857
Seunghun Lee [Tue, 7 Nov 2023 01:56:56 +0000 (10:56 +0900)]
packaging: Update version to tz8_10.0.2

Change-Id: I2ea1a9495d6dd60ed026927202caf055d8152a95

10 months agoe_policy_wl: Add missing call to e_client_base_output_resolution_update() 98/300998/1
Seunghun Lee [Tue, 7 Nov 2023 01:45:30 +0000 (10:45 +0900)]
e_policy_wl: Add missing call to e_client_base_output_resolution_update()

The function `e_client_base_output_resolution_update()` was omitted when
the commit cf3f5d2 was applied by mistake. Because of this, base output
resolution feature couldn't work to windows.

This patch also moves this call from `shell` implementations to
`e_policy_wl` in this process.

Change-Id: I7abbb772040bfa598e982684889f49aff703a08c

10 months agoe_comp_wl_input: when pointer is locked, delete cursor hide timer 38/300938/1
duna.oh [Mon, 6 Nov 2023 07:21:58 +0000 (16:21 +0900)]
e_comp_wl_input: when pointer is locked, delete cursor hide timer

When pointer is locked, no need to hide cursor by timer.
After applying this patch, the sequence flow is as follows.

1. mouse moves -> cursor hide timer added
mouse moves -> cursor hide timer updated

2. pointer locked -> delete cursor hide timer
mouse moves -> relative motion
mouse moves -> relative motion

3. pointer unlocked
mouse moves -> cursor hide timer added
mouse moves -> cursor hide timer updated
mouse idles -> cursor hidden by timer

Change-Id: I982db4fb2ed5742ef51c007394cf30ca684c7071

10 months agopackaging: Update version to tz8_10.0.1 07/300907/1 accepted/tizen/unified/20231106.171639
SooChan Lim [Mon, 6 Nov 2023 00:27:18 +0000 (09:27 +0900)]
packaging: Update version to tz8_10.0.1

Change-Id: I2786ca525a20f4a7e078639b4ee9d05b52897a06

10 months agoe_keyrouter: protect key grab list while traversing list 74/300874/1
Jihoon Kim [Thu, 2 Nov 2023 12:35:11 +0000 (21:35 +0900)]
e_keyrouter: protect key grab list while traversing list

Change-Id: I0735dadc932d2b0733ffbaf9985e4bcd4625d0b9
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
10 months agoe_comp_wl: Dispatch idle sources before going to sleep 38/300838/4
Seunghun Lee [Thu, 2 Nov 2023 10:41:49 +0000 (10:41 +0000)]
e_comp_wl: Dispatch idle sources before going to sleep

Now that we take advantage of libds, which adds idle sources to
wl_event_loop for its own purposes as a building block for wayland
compositor, we need to dispatch wl_event_loop's idle sources before
going to sleep.  Otherwise, we have no chance of dispatching idle
sources until the process awake from sleep.

Change-Id: I39e793a980d733dd4ce15e40380b22cdf6947dbf

10 months agoxdg_shell_v6: Use ds_xdg_shell_v6 37/300837/3
Seunghun Lee [Thu, 2 Nov 2023 10:41:38 +0000 (10:41 +0000)]
xdg_shell_v6: Use ds_xdg_shell_v6

Replaces xdg_shell_v6 implementation with ds_xdg_shell_v6.

Change-Id: I1debd70cecae55f9500a2ef99ff262f067c0fafe

10 months agoRevert "xdg_shell_v6: Use ds_xdg_shell_v6"
Seunghun Lee [Thu, 2 Nov 2023 08:50:36 +0000 (08:50 +0000)]
Revert "xdg_shell_v6: Use ds_xdg_shell_v6"

This reverts commit e962b8f0ce3b6281f3dc759d752bf901a5125ee4.

Reason for revert: <INSERT REASONING HERE>

Change-Id: I0b2dd0bb8c58b464ba21085c5fdb5cbed8470081

10 months agoRevert "e_comp_wl: Dispatch idle sources before going to sleep" 22/300822/1
Seunghun Lee [Thu, 2 Nov 2023 08:50:27 +0000 (08:50 +0000)]
Revert "e_comp_wl: Dispatch idle sources before going to sleep"

This reverts commit a7f8978de3b96ea6227e943a8058b807126bdc44.

Reason for revert: <INSERT REASONING HERE>

Change-Id: I163d3f52d7779fc8d10622551081c36a574debd8

10 months agoe_comp_wl: Dispatch idle sources before going to sleep 91/300791/2
Seunghun Lee [Wed, 1 Nov 2023 11:25:42 +0000 (20:25 +0900)]
e_comp_wl: Dispatch idle sources before going to sleep

Now that we take advantage of libds, which adds idle sources to
wl_event_loop for its own purposes as a building block for wayland
compositor, we need to dispatch wl_event_loop's idle sources before
going to sleep.  Otherwise, we have no chance of dispatching idle
sources until the process awake from sleep.

There must not be side effects after applying this patch, because idle
sources never used by E as far as I know.

Change-Id: Id24b7444b68353d1011f1386158e3c78ddec9d66

10 months agoxdg_shell_v6: Use ds_xdg_shell_v6 90/300790/2
Seunghun Lee [Wed, 1 Nov 2023 11:24:08 +0000 (20:24 +0900)]
xdg_shell_v6: Use ds_xdg_shell_v6

Replaces xdg_shell_v6 implementation with ds_xdg_shell_v6.

Change-Id: I1a88cc361d10763c88cff43c032fd397ff541cf4

10 months agoe_comp_wl_data: Fix typecasting error 19/300819/1 accepted/tizen/unified/20231103.094547
Junkyeong Kim [Thu, 2 Nov 2023 08:17:41 +0000 (17:17 +0900)]
e_comp_wl_data: Fix typecasting error

Change-Id: Ia286ec698c6c68348cca04959f12038bba98ced7

10 months agopackaging: Update version to tz8_10.0.0 81/300781/1
Doyoun Kang [Thu, 2 Nov 2023 06:00:37 +0000 (15:00 +0900)]
packaging: Update version to tz8_10.0.0

Change-Id: I26554e90e00878031a622f4ed18aef02bb6df6cd

10 months agoe_client: fix enlightenment crash while handling unfullscreen 72/300772/1
Doyoun Kang [Thu, 2 Nov 2023 02:13:57 +0000 (11:13 +0900)]
e_client: fix enlightenment crash while handling unfullscreen

Change-Id: I7679c0344d3d2e9e8d25d1eaa3accb15133e1fe0

10 months agoe_comp_wl_data: Support 64k over size data transfer 63/300763/1
Junkyeong Kim [Mon, 30 Oct 2023 09:58:12 +0000 (18:58 +0900)]
e_comp_wl_data: Support 64k over size data transfer

Use ecore_thread_run to support pipe capacity(64k) exceed data transferring.

Change-Id: I37bfc681cd77cbf3bd41e6d1a3ee42085bbc2118

10 months agoe_devicemgr_inputgen: add conditional if device is ready to generate events 59/300759/1
duna.oh [Thu, 2 Nov 2023 01:26:26 +0000 (10:26 +0900)]
e_devicemgr_inputgen: add conditional if device is ready to generate events

This fixes a bug that mouse became 'down' state and never got 'up' state.
Therefore, all subsequent events were delivered to wrong client.

1. init device with type=touch
2. generate touch 'pressed' events -> event generated with mouse device

device is now ready

4. generate touch 'released' events -> event generated with touch device
   -> ignored (touch is not 'pressed' state)

Change-Id: I2b0578f37041a7925cbb5ca962e0c9a2ec76f3cc

10 months agopackaging: Update version to tz8_9.0.1 37/300737/1 accepted/tizen/unified/20231102.175749
Seunghun Lee [Wed, 1 Nov 2023 10:34:41 +0000 (19:34 +0900)]
packaging: Update version to tz8_9.0.1

Change-Id: I5bfa1f8835a19254e9108c5cf4279ec9b486f8f2

10 months agoRevert "xdg_shell_v6: Use ds_xdg_shell_v6" 36/300736/1
Seunghun Lee [Wed, 1 Nov 2023 10:33:00 +0000 (19:33 +0900)]
Revert "xdg_shell_v6: Use ds_xdg_shell_v6"

This reverts commit cb0dd558a3ebd67298e8a72607374e180cd6fd25.

Change-Id: Idce5dcac25395d5bd202338cd2d35f87b166ecf9

10 months agoe_keyrouter: reduce the number of flushing key event 99/300699/1
Jihoon Kim [Tue, 31 Oct 2023 08:47:55 +0000 (17:47 +0900)]
e_keyrouter: reduce the number of flushing key event

Change-Id: Iffe82105f30e3005a514c75e1e148b1d968c6f99
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
10 months agopackaging: Update version to tz8_9.0.0 84/300684/1
SooChan Lim [Tue, 31 Oct 2023 10:02:57 +0000 (19:02 +0900)]
packaging: Update version to tz8_9.0.0

Change-Id: Ibbba6d72f6cc6c74e9424e085d0bd24a1c3623bb

10 months agoxdg_shell_v6: Use ds_xdg_shell_v6 65/300665/2
Seunghun Lee [Wed, 18 Oct 2023 01:03:45 +0000 (10:03 +0900)]
xdg_shell_v6: Use ds_xdg_shell_v6

Replaces xdg_shell_v6 implementation with ds_xdg_shell_v6.

Change-Id: Ie664515b043eee379764f91a5646d273e33dd704

10 months agoe_devicemgr: destroy the object struct when the device resource becomes inert 76/300676/2
duna.oh [Tue, 31 Oct 2023 04:00:06 +0000 (13:00 +0900)]
e_devicemgr: destroy the object struct when the device resource becomes inert

Change-Id: I0f23557fc7298d30f1588ace436714d68372d03f

10 months agoe_devicemgr: enhance keyboard_grab by sending device info when sending key event 83/300683/1
duna.oh [Tue, 31 Oct 2023 07:40:18 +0000 (16:40 +0900)]
e_devicemgr: enhance keyboard_grab by sending device info when sending key event

Change-Id: I7a78368fd67d6a1a12fcc039bae90c5d0b116409

10 months agoe_input: Add missing unref of input device 41/300641/1
Inhong Han [Mon, 30 Oct 2023 07:46:01 +0000 (16:46 +0900)]
e_input: Add missing unref of input device

Change-Id: Ic383a5cff3c3e518031289599b3119a313fe1a27

10 months agopackaging: Update version to tz8_8.0.1 66/300566/1 accepted/tizen/unified/20231031.163511
Junseok Kim [Fri, 27 Oct 2023 07:37:16 +0000 (16:37 +0900)]
packaging: Update version to tz8_8.0.1

Change-Id: I97e7c6672a23051f4affa9af386c8ed118964051

10 months agoe_util_transform: modify initial value of center position of zoom 54/300554/1
Junseok Kim [Fri, 27 Oct 2023 03:02:14 +0000 (12:02 +0900)]
e_util_transform: modify initial value of center position of zoom

Change-Id: Ifa150cf42612f68f5b8062a59fd010ccee2278a8

10 months agopackaging: Update version to tz8_8.0.0 44/300544/1 accepted/tizen/unified/20231030.034814
SooChan Lim [Fri, 27 Oct 2023 01:25:15 +0000 (10:25 +0900)]
packaging: Update version to tz8_8.0.0

Change-Id: I249afb884b080136e5aed17bfd624b0fec7edd95

10 months agoe_zone: remove REFACTOR_ZONE_DESK feature 41/300541/1
SooChan Lim [Fri, 27 Oct 2023 00:21:48 +0000 (09:21 +0900)]
e_zone: remove REFACTOR_ZONE_DESK feature

Remove the legacy codes

Change-Id: I443bd81e8c4062f7d812135d75be4d9c3d35972b

10 months agoe_focus: remove REFACTOR_FOCUS_POLICY feature 40/300540/1
SooChan Lim [Thu, 26 Oct 2023 08:54:09 +0000 (17:54 +0900)]
e_focus: remove REFACTOR_FOCUS_POLICY feature

Remove the legacy codes

Change-Id: Ia057c2e0bdf959fb9815ca5b940276004929fedd

10 months agoe_client: remove the unused hooks for e_zone 37/300537/1
SooChan Lim [Thu, 26 Oct 2023 04:48:10 +0000 (13:48 +0900)]
e_client: remove the unused hooks for e_zone

There are the new hooks for e_zone refactoring, but
it is not used anymore because the hooks are replaced by
wl_signals and listeners.

Change-Id: If4aab55671ca6a04db03329efdcf15858fd103cb

10 months agoe_zone: use wl_listeners of e_client 36/300536/1
SooChan Lim [Thu, 26 Oct 2023 04:27:11 +0000 (13:27 +0900)]
e_zone: use wl_listeners of e_client

Instead of E_Client_Hook, e_zone uses the wl_listeners of e_client.

Change-Id: Ic7a4b1c390ab19fbaeb6ebdfcc8275f4f4e32c5c

10 months agoe_client/e_zone: refactor code to maximize window 02/300502/1
Doyoun Kang [Thu, 26 Oct 2023 07:00:00 +0000 (16:00 +0900)]
e_client/e_zone: refactor code to maximize window

1. fix bug for E_MAXIMIZE_FULLSCREEN | MAXIMIZE_RIGHT case.
2. remove unnecessary code

Change-Id: I6139c6fac1dcc583eae1dfe379c1a6a15eba3730

10 months agopackaging: Update version to tz8_7.0.0 62/300462/1
Doyoun Kang [Wed, 25 Oct 2023 09:24:00 +0000 (18:24 +0900)]
packaging: Update version to tz8_7.0.0

Change-Id: If2755f6b7e4d73067a2bceb54d3728c361543501

10 months agoe_input: prevent memory corruption in libinput_device APIs 55/300455/1
Jihoon Kim [Tue, 24 Oct 2023 09:54:57 +0000 (18:54 +0900)]
e_input: prevent memory corruption in libinput_device APIs

Change-Id: I9dfc1de9620673ff99fde354fbcc595118f1f670
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
10 months agoe_client/e_policy/e_zone: change code to use ec->maximize_type instead of e_config... 54/300454/1
Doyoun Kang [Wed, 25 Oct 2023 05:10:38 +0000 (14:10 +0900)]
e_client/e_policy/e_zone: change code to use ec->maximize_type instead of e_config->maximize_policy

Change-Id: I713731fb129336873caba9a0cfe74de1e4e943b9

10 months agoe_comp_wl: fix transformed position that including position transform 42/300442/2
Junseok Kim [Mon, 23 Oct 2023 11:22:58 +0000 (20:22 +0900)]
e_comp_wl: fix transformed position that including position transform

Patch to fix gerrit commit id c18ca707dec2d6676cbe0f485b416901dabbcc4e

There was a bugs that past patch didn't consider the position transform and wl_data_device@enter event.
In particular, when changing the pointer's coordinates to transformed coordinates,
there was a problem that they did not match the client's local coordinate system.

For fix this bugs, consider the transformed position and adjust same logic when send wl_data_device_enter event.

Change-Id: I84eb4f4b0e8a1734e449dcc537b999c0e308d209

10 months agoe_input: use recursive mutex 41/300441/1
Jihoon Kim [Tue, 24 Oct 2023 11:47:32 +0000 (20:47 +0900)]
e_input: use recursive mutex

It is possible to lock a GRecMutex multiple times in the same thread without deadlock

Change-Id: I960b0c2a465255b6ba142a62aa781445f414dc45
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
10 months agoe_input_evdev: Fix crash occured no touch device is attached 40/300440/1
Jihoon Kim [Tue, 24 Oct 2023 11:33:37 +0000 (20:33 +0900)]
e_input_evdev: Fix crash occured no touch device is attached

Change-Id: Ic5ed30e3665a0aaeb06cc8c5d54be18f172fd5a0
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
10 months agopackaging: Update version to tz8_6.0.0 15/300415/1 accepted/tizen/unified/20231025.093302 accepted/tizen/unified/20231025.120155
SooChan Lim [Tue, 24 Oct 2023 01:43:29 +0000 (10:43 +0900)]
packaging: Update version to tz8_6.0.0

Change-Id: Ie7fe4542c4a4560060ceefd76464125dc2363e3a

10 months agoe_focus: remove the unused hooks for e_focus 72/300372/2
SooChan Lim [Wed, 11 Oct 2023 06:51:12 +0000 (15:51 +0900)]
e_focus: remove the unused hooks for e_focus

There are the new hooks for e_focus refactoring, but
it is not used anymore because the hooks are replaced by
wl_signals and listeners.

Change-Id: I72e0042556abed2311ae3587ce3c4b604c9af898

10 months agoe_focus_policy_topmost: Use wl_listener instead of Hooks 71/300371/2
SooChan Lim [Wed, 4 Oct 2023 08:43:56 +0000 (17:43 +0900)]
e_focus_policy_topmost: Use wl_listener instead of Hooks

Change-Id: Ib5157a6c9bae5df6737275f4707d19d334d2f05b

10 months agoe_focus_policy_history: Use wl_listener instead of Hooks 70/300370/2
SooChan Lim [Wed, 4 Oct 2023 08:43:11 +0000 (17:43 +0900)]
e_focus_policy_history: Use wl_listener instead of Hooks

Change-Id: Ic05c869e67fe221d235dfd7f0b1366a3479d498a

10 months agoe_keyrouter: remove duplicated wl event flush 69/300369/1
Jihoon Kim [Mon, 23 Oct 2023 05:54:39 +0000 (14:54 +0900)]
e_keyrouter: remove duplicated wl event flush

Change-Id: I006d9b998e6af5e112741b809137daea19455f21
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
10 months agoe_keyrouter: fix wrong mutex usage in e_keyrouter_keycancel_send() 52/300352/1
Jihoon Kim [Mon, 23 Oct 2023 02:30:16 +0000 (11:30 +0900)]
e_keyrouter: fix wrong mutex usage in e_keyrouter_keycancel_send()

Change-Id: I0f63a80bf0e4e4613d4f3a0394a482a2949e15f5
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
10 months agopackaging: Update version to tz8_5.0.1 35/300235/1 accepted/tizen/unified/20231024.032145
Changyeon Lee [Thu, 19 Oct 2023 06:06:21 +0000 (15:06 +0900)]
packaging: Update version to tz8_5.0.1

Change-Id: Ida543e519d400df2ae71f2dfc4cd064f53e445e6

10 months agoe_client: use e_client_transform_core_enable_get 34/300234/1
Changyeon Lee [Wed, 18 Oct 2023 08:34:55 +0000 (17:34 +0900)]
e_client: use e_client_transform_core_enable_get

instead evas_object_map_enable_get

after below patch, evas_object_map_enable_get can return
false even if transform_core is enabled.

e_client: calculate result of transform even if transform activate is disabled
9663f169e6669eb9404dbc91f84415ba48d9f7a5

Change-Id: I082c01523527a28cf32e4cbae9e250ebed4e4bf8

11 months agopackaging: Update version to tz8_5.0.0 93/300193/1
Doyoun Kang [Wed, 18 Oct 2023 06:43:54 +0000 (15:43 +0900)]
packaging: Update version to tz8_5.0.0

Change-Id: I6ace170690be3c81b29e1ebe1ca6d491e2a60c52

11 months agoe_comp_wl_data: Erase unnecessary checking 92/300192/2
Junkyeong Kim [Wed, 18 Oct 2023 06:53:33 +0000 (15:53 +0900)]
e_comp_wl_data: Erase unnecessary checking

Avoid mutex lock lock error by unnecessary checking.

Change-Id: I0734580de3cc22e67bedc17d7268c206b81d1012

11 months agoe_compositor: Fix crash when accessing null pointer of e_comp_wl->ptr.ec 90/300190/2
duna.oh [Wed, 18 Oct 2023 07:03:00 +0000 (16:03 +0900)]
e_compositor: Fix crash when accessing null pointer of e_comp_wl->ptr.ec

This code snippet is omitted when applying the commit '406e1d'

Change-Id: Iedcf907b2783921e0993f1537b53df984ba1d606