platform/upstream/enlightenment.git
5 years agoe_service_launcher/swl: fixed getting wrong ec and cleaning callee improperly 43/216143/1
MinJeong Kim [Mon, 21 Oct 2019 09:08:01 +0000 (18:08 +0900)]
e_service_launcher/swl: fixed getting wrong ec and cleaning callee improperly

Change-Id: I58cd0e6def54e4b3b26349e63f13d6422563489b
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
5 years agoe_policy_wl: remove privilege checking of tws_shared_widget_launch interface 42/216142/1
MinJeong Kim [Mon, 21 Oct 2019 09:03:31 +0000 (18:03 +0900)]
e_policy_wl: remove privilege checking of tws_shared_widget_launch interface

Change-Id: I18450fffe253fc367b3f2a9132cf3189bdfe29ab
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
5 years agoe_hwc: add E_EVENT_HWC_ACTIVE/DEACTIVE event 04/216004/2 accepted/tizen/unified/20191021.220221 submit/tizen/20191021.062138
Changyeon Lee [Fri, 18 Oct 2019 05:50:01 +0000 (14:50 +0900)]
e_hwc: add E_EVENT_HWC_ACTIVE/DEACTIVE event

Change-Id: I93d7c35abf68453008f23800c869b1b239c83bd6

5 years agoe_devicemgr: call a intercept hook before send a detent event 69/215969/1
jeon [Fri, 18 Oct 2019 04:09:32 +0000 (13:09 +0900)]
e_devicemgr: call a intercept hook before send a detent event

Change-Id: Icf2f14038690150fed8bb7c369b5e6b2d2665ec7

5 years agoe_client: modify E_Event_Client_Rotation_Geometry_Set structure 95/215895/1
Doyoun Kang [Thu, 17 Oct 2019 08:21:24 +0000 (17:21 +0900)]
e_client: modify E_Event_Client_Rotation_Geometry_Set structure

Change-Id: I22a30e851a305fa73c57b1d176c3d58d6087f2c2

5 years agoe_client: add a E_EVENT_CLIENT_ROTATION_GEOMETRY_SET event type 75/215875/1
Doyoun Kang [Thu, 17 Oct 2019 05:27:53 +0000 (14:27 +0900)]
e_client: add a E_EVENT_CLIENT_ROTATION_GEOMETRY_SET event type

Change-Id: I517850466d5ee48bf74cd105a3566788ce0496df

5 years agoe_info_client: fix build warning 55/215855/1
Doyoun Kang [Thu, 17 Oct 2019 02:19:15 +0000 (11:19 +0900)]
e_info_client: fix build warning

Change-Id: Ie1c59c924c0f9b9dff0014335aa374286646f3e6

5 years agoe_policy_wl: fix build warning 16/215816/2 accepted/tizen/unified/20191017.011756 submit/tizen/20191016.064859
Doyoun Kang [Wed, 16 Oct 2019 07:45:20 +0000 (16:45 +0900)]
e_policy_wl: fix build warning

Change-Id: I555af65fefc5b403cf4f654a75dc86410c3a5ccf

5 years agoe_info_client: check return values of eldbus message 14/215814/2
jeon [Wed, 16 Oct 2019 07:21:50 +0000 (16:21 +0900)]
e_info_client: check return values of eldbus message

Change-Id: I355c319028cf236a5ea8f3d68a7f1107ab95b2ce

5 years agopolicy: add code to rearrange stack of transient children 91/215791/2
Doyoun Kang [Wed, 16 Oct 2019 02:06:24 +0000 (11:06 +0900)]
policy: add code to rearrange stack of transient children

When a transient child raise or lower by user request, then its parent rearranges
the stack of transient children.

Change-Id: I41193e8c52b534920acfb71b7af0bdb0afa54219

5 years agoe_input_device: fix a invalid argument
jeon [Tue, 15 Oct 2019 04:21:45 +0000 (13:21 +0900)]
e_input_device: fix a invalid argument

Change-Id: Ie182f57f9ff93baa2435434d1c0582eebcd17bfe

5 years agovideo: Don't convert odd number to even for width/height. 39/215739/1
Seunghun Lee [Mon, 7 Oct 2019 11:57:03 +0000 (20:57 +0900)]
video: Don't convert odd number to even for width/height.

This patch is to see what happen after remove it. Even if it turns out
to be necessary, it should be done in reasonable place, for instance
hardware driver in case it is for hardware constraints.

Change-Id: If78295cff8f5e2260cfe85bc0bbe7367fe34d147

5 years agovideo: Support video rotation by evas map. 38/215738/1
Seunghun Lee [Wed, 18 Sep 2019 10:25:50 +0000 (19:25 +0900)]
video: Support video rotation by evas map.

Read four coordinates from evas map, and then applied it for video rotation.

Change-Id: I43ef24effdb720dd22328d4d9d735c7d65498702

5 years agoe_policy_stack: fix bug for stacking transient children 04/215704/2
Doyoun Kang [Mon, 14 Oct 2019 09:51:40 +0000 (18:51 +0900)]
e_policy_stack: fix bug for stacking transient children

When there existed the 1st transient child and its child,
the 2nd transient child is placed above the 1st transient child not the child of the 1st transient child.

According to our policy,
the 2nd transient child should be placed above the 1st transient child and its children.
So, we fix this.

Change-Id: I2ae2eba5d499318d5869258e9fe0590fe4adb29d

5 years agoe_hwc: add e_client_hwc_on_plane function 45/215645/3
SooChan Lim [Fri, 11 Oct 2019 04:40:03 +0000 (13:40 +0900)]
e_hwc: add e_client_hwc_on_plane function

This function return if the e_client is on the plane or not.

Change-Id: I462a4ac476ba152da20023070330f444612c7d5f

5 years agoe_info_server: correct focus_skip info in focus_history option 77/215577/1
Junseok, Kim [Fri, 11 Oct 2019 05:45:27 +0000 (14:45 +0900)]
e_info_server: correct focus_skip info in focus_history option

Change-Id: Icb05ee6a178f2700522717ac46b5cec59b305a09

5 years agoadd e_client_raise/e_client_lower functions 23/215423/2
Doyoun Kang [Tue, 8 Oct 2019 04:39:21 +0000 (13:39 +0900)]
add e_client_raise/e_client_lower functions

we added e_client_raise and e_client_lower functions.
and we replaced code to e_client_raise/lower from evas_object_raise/lower.

Change-Id: Ia649e4528f0e7b9a91242f97cd7ade8acc4ca909

5 years agoe_client: skip base output resolution set when screen size is same with configured... 73/215373/1 accepted/tizen/unified/20191015.013221 submit/tizen/20191007.101823
Junseok, Kim [Mon, 7 Oct 2019 11:37:24 +0000 (20:37 +0900)]
e_client: skip base output resolution set when screen size is same with configured size

Change-Id: Ide9d9ad02ef2c064640fa01e1e105be65deeec4b

5 years agoe_policy_wl/e_service_launcher: support tizen_policy_set_appid 50/215150/2 submit/tizen/20191014.064156
MinJeong Kim [Wed, 2 Oct 2019 04:31:23 +0000 (13:31 +0900)]
e_policy_wl/e_service_launcher: support tizen_policy_set_appid

Change-Id: I961bf49fa03ce58e9e27f570c482795301bf64da
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
5 years agoe_service_launcher: identify callee window by appid 46/215046/3
MinJeong Kim [Tue, 1 Oct 2019 06:54:13 +0000 (15:54 +0900)]
e_service_launcher: identify callee window by appid

Change-Id: I84139e7b90c16cb149a3f23050bebbde5dfd4407
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
5 years agolaunchscreen: support launch_v2 requests 45/215045/3
MinJeong Kim [Tue, 1 Oct 2019 06:52:33 +0000 (15:52 +0900)]
launchscreen: support launch_v2 requests

Change-Id: Ied8077330e13194f07c5996683433321d633af37
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
5 years agoe_service_launcher: add new arg serial of launch requests 49/214649/4
MinJeong Kim [Wed, 25 Sep 2019 03:10:07 +0000 (12:10 +0900)]
e_service_launcher: add new arg serial of launch requests

Change-Id: I77dd5b8d90baa64935d766d82204eac264cd4c3d
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
5 years agovideo: Removed code lines reducing size for input/output in case it's bigger than... 87/215187/2 accepted/tizen/unified/20191008.101637 submit/tizen/20191002.100931
Seunghun Lee [Wed, 2 Oct 2019 08:23:19 +0000 (17:23 +0900)]
video: Removed code lines reducing size for input/output in case it's bigger than screen size.

There was a bug that a geometry for input couldn't be recalculated
even though geometry for output had gotten smaller than screen size.

Removed this logic because no reason to do this, and it only hides the problem.

Change-Id: I2b76698c29824fb08be20a631f834bdd99c54e9b

5 years agoe_dpms: add prefix log 'DPMS' 39/215139/1
Junkyeong Kim [Wed, 2 Oct 2019 04:07:08 +0000 (13:07 +0900)]
e_dpms: add prefix log 'DPMS'

Change-Id: Ibaa0f7ed8fadc21fdd7bc553d0556cab5f82b891
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_config: add use_thread_max_cpu 56/215056/1 accepted/tizen/unified/20191004.003513 submit/tizen/20191001.045504
Changyeon Lee [Tue, 1 Oct 2019 07:34:49 +0000 (16:34 +0900)]
e_config: add use_thread_max_cpu

capture use too many thread if many client is iconified at the same time
if use_thread_max_cpu is set, we limit ecore thread max by cpu counts

Change-Id: I1456424304aeece518cea7da13489462774c86b2

5 years agoe_config: added global_object_not_provide 05/211805/3 submit/tizen/20190930.063737
Juyeon Lee [Fri, 9 Aug 2019 07:47:17 +0000 (16:47 +0900)]
e_config: added global_object_not_provide

depends on profile, there are demands to on or off specific protocol service.
by adding config on this structure, server don't create global objects
so client cannot bind such interface.

Change-Id: Ifd2926f2647cdbfeef612a2993e6150e86e2d74d

5 years agoe_policy: add e_client_is_watch_viewer function 41/214941/2
Doyoun Kang [Mon, 30 Sep 2019 05:44:02 +0000 (14:44 +0900)]
e_policy: add e_client_is_watch_viewer function

Change-Id: I3f75c937264532abc858de441a670ea11f97bc1b

5 years agoe_info_server: fix build warning 40/214940/1
Doyoun Kang [Mon, 30 Sep 2019 05:39:23 +0000 (14:39 +0900)]
e_info_server: fix build warning

Change-Id: If0146fa2b993db4fa4daffd2189e6b47dce8061a

5 years agoe_client, e_info_server: keep focus history when focus_policy is TOP_STACK 58/214758/3
Junseok, Kim [Thu, 26 Sep 2019 06:13:19 +0000 (15:13 +0900)]
e_client, e_info_server: keep focus history when focus_policy is TOP_STACK

Change-Id: I47c2e029fae7ad785f2821d3b1a5f3b31fe95aeb

5 years agoe_input: add logs to get input event info from kernel 85/214785/4
jeon [Thu, 26 Sep 2019 08:34:38 +0000 (17:34 +0900)]
e_input: add logs to get input event info from kernel

Change-Id: I3fe249827d2e254a5e30bc264a999da194ffe5b0

5 years agoe_input: generate only one mouse move event from pointer warp request 08/214508/7
jeon [Mon, 23 Sep 2019 11:10:50 +0000 (20:10 +0900)]
e_input: generate only one mouse move event from pointer warp request

Change-Id: Iad1053cd9fb6eecc81358d3481a596627e5075ba

5 years agoe_hwc_window_queue: set buffer transform to backup buffer 66/214866/1 accepted/tizen/unified/20190930.003703 submit/tizen/20190927.104956
Changyeon Lee [Fri, 27 Sep 2019 07:20:51 +0000 (16:20 +0900)]
e_hwc_window_queue: set buffer transform to backup buffer

Change-Id: I80ad03400a95471d97b1a22ebb33b699bd02cc70

5 years agoe_hwc_windows: evaluate hwc if property of is changed 17/214717/2
Changyeon Lee [Wed, 25 Sep 2019 12:33:56 +0000 (21:33 +0900)]
e_hwc_windows: evaluate hwc if property of is changed

Change-Id: Id532e9ebc0abb45b687d2b8445e803951a442469

5 years agoe_hwc_window: set tdm transform to cursor hwc_window 69/214469/3
Changyeon Lee [Mon, 23 Sep 2019 04:32:00 +0000 (13:32 +0900)]
e_hwc_window: set tdm transform to cursor hwc_window

Change-Id: Ia8dca39b7f9c4bbf41f7a72d6293c04c7fb61dd5

5 years agoe_client, e_focus: fix indent as coding rule 35/214735/4 accepted/tizen/unified/20190927.013307 submit/tizen/20190926.073108
Junseok, Kim [Thu, 26 Sep 2019 02:17:10 +0000 (11:17 +0900)]
e_client, e_focus: fix indent as coding rule

Change-Id: I6ad930b6d16048c814d06f8a9c649a2b7306f719

5 years agoe_actions: move focus_set into brace 34/214734/2
Junseok, Kim [Thu, 26 Sep 2019 02:14:12 +0000 (11:14 +0900)]
e_actions: move focus_set into brace

Change-Id: I28f522138e1ec631d0a1d909138003f8bcf6e8e6

5 years agoe_xdg_shell: skip checking configure_ack event of specified ec while handling configu... 73/214673/2 submit/tizen/20190925.093401
Doyoun Kang [Wed, 25 Sep 2019 06:34:44 +0000 (15:34 +0900)]
e_xdg_shell: skip checking configure_ack event of specified ec while handling configure event

The ec which is bound with remote surface provider makes the buffer only
and it does not send configure acknowledge event and commit event.
(For this, the error log is printed whenever handling configure event.)

So, we add code to set the flag which checks receiving a configure_ack event or not
if the ec is bound a remote surface provider.

Change-Id: I0133fabe87a9ec83005a45c867667e5a575364fc

5 years agoe_hwc_windows: hwc window always has to set the buffer to the tdm hwc. 40/214640/1 accepted/tizen/unified/20190925.220423 submit/tizen/20190925.040059
SooChan Lim [Wed, 25 Sep 2019 01:52:19 +0000 (10:52 +0900)]
e_hwc_windows: hwc window always has to set the buffer to the tdm hwc.

The tdm_hwc has to know the buffer change of the tdm_hwc_window all the time.

Change-Id: I559fca229d2e06d3a8c3ab5e92318fb5d1a247f9

5 years agoe_hwc_windows: set the buffer to the tdm when it is the pp_set 39/214639/1
SooChan Lim [Wed, 25 Sep 2019 01:48:09 +0000 (10:48 +0900)]
e_hwc_windows: set the buffer to the tdm when it is the pp_set

Change-Id: I979b22578760289cccbf8e4c219aa83764f3f0ed

5 years agoe_hwc_windows: hwc has to check the redirect even if it is the pp_set. 38/214638/1
SooChan Lim [Wed, 25 Sep 2019 01:47:01 +0000 (10:47 +0900)]
e_hwc_windows: hwc has to check the redirect even if it is the pp_set.

Change-Id: Ide89433d8a47446c75decfcccc5b3c07c59fe640

5 years agoe_hwc_windows: use the target window when there is not pp_window 37/214637/1
SooChan Lim [Wed, 25 Sep 2019 01:38:13 +0000 (10:38 +0900)]
e_hwc_windows: use the target window when there is not pp_window

The target window is the src buffer for the zoom pp when
there is not pp_window.

Change-Id: I1e7950857a166267e24573aef69b24dc0ee23f31

5 years agoe_service_launcher: disable old launcher resource if new launcher is connected 06/214506/1
MinJeong Kim [Mon, 23 Sep 2019 10:38:40 +0000 (19:38 +0900)]
e_service_launcher: disable old launcher resource if new launcher is connected

Change-Id: Ib753c6e25e819365685f3af24842bfe33be66138
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
5 years agoe_client: add null check 85/214485/1 accepted/tizen/unified/20190924.062055 submit/tizen/20190923.083626 submit/tizen/20190923.092701
Junseok, Kim [Mon, 23 Sep 2019 08:26:50 +0000 (17:26 +0900)]
e_client: add null check

Change-Id: Ib9dbb58c1b3c19139df685d788974619d9f0105c

5 years agoe_client: check buffer_flush during revert_focus 29/214329/2 accepted/tizen/unified/20190921.125429 submit/tizen/20190920.082324
Junseok, Kim [Fri, 20 Sep 2019 08:20:22 +0000 (17:20 +0900)]
e_client: check buffer_flush during revert_focus

there is bug that didn't send iconic_state_changed event to client.
if the client has buffer_flush off, that the client can uniconify
without send iconic_state_changed event in e_comp_intercept_focus.
this patch fix it with check buffer_flush before doing revert_focus.

Change-Id: I0f4932364f0444d544c67c12cd46ece5d32fd994

5 years agoe_main: turn off buffering at the beginning of main 33/214233/3 accepted/tizen/unified/20190920.065338 submit/tizen/20190920.015513
Juyeon Lee [Tue, 17 Sep 2019 07:09:11 +0000 (16:09 +0900)]
e_main: turn off buffering at the beginning of main

move the line to the beginning of main func.
make sure immediate log out in case of stdout and stderr redirection
(e.g. it could redirect to /dev/kmsg for helping of E20 readiness in cold-boot)

Change-Id: I30d6331c46a1fe5c9d0984fb8791a441af693cdc
(cherry picked from commit 50e4899cb841585f5f7c5d071221997fd5b1b9cb)

5 years agoe_hwc_window: check notify when remove destroy listener 21/214221/5 submit/tizen/20190919.071917
Changyeon Lee [Thu, 19 Sep 2019 05:35:21 +0000 (14:35 +0900)]
e_hwc_window: check notify when remove destroy listener

Change-Id: I85d0aef0a7e69a5bf381b4d401e8a766adc64a1a

5 years agoe_comp_wl: set initial scaler values for new client 04/214104/1
MinJeong Kim [Wed, 18 Sep 2019 05:53:07 +0000 (14:53 +0900)]
e_comp_wl: set initial scaler values for new client

Change-Id: Ia7fef27f3e63e972a485643ff7500607a6176b82
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
5 years agoe_comp_wl_capture: delete capture client properly if capture failed 37/213937/2
MinJeong Kim [Tue, 17 Sep 2019 01:30:39 +0000 (10:30 +0900)]
e_comp_wl_capture: delete capture client properly if capture failed

Change-Id: I30a5e52e9d8151e608bffa280f9560b59332df79
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
5 years agovideo: Keep the size of composite object for video to 1 x 1. 22/214022/1 accepted/tizen/unified/20190917.110551 submit/tizen/20190917.080824
Seunghun Lee [Tue, 17 Sep 2019 07:43:26 +0000 (16:43 +0900)]
video: Keep the size of composite object for video to 1 x 1.

In order to prevent wasting of memory usage, keep the size of composite
object to 1 x 1.
Actually, composite object is virtually unneccessary in case the contents
of video is displayed on overlay plane.

Change-Id: I680db217421225398425bbbf904ba559d9377418

5 years agovideo: 'wl_surface.frame' has to be issued even though client attached the same ... 42/213942/2
Seunghun Lee [Tue, 17 Sep 2019 01:36:23 +0000 (10:36 +0900)]
video: 'wl_surface.frame' has to be issued even though client attached the same 'wl_buffer' as before.

Change-Id: I97b2b09eeb8446f1f17a52e1946e56f8076465cf

5 years agoe_hwc_window: remove destroy listener before resource is unset 10/213910/3
Changyeon Lee [Mon, 16 Sep 2019 09:49:40 +0000 (18:49 +0900)]
e_hwc_window: remove destroy listener before resource is unset

Change-Id: Ia84bc72e3872db2f3c0d0392851db3fc87058209

5 years agoe_hwc_window: compare cursor buffer instead image pointer 09/213909/3
Changyeon Lee [Mon, 16 Sep 2019 09:25:40 +0000 (18:25 +0900)]
e_hwc_window: compare cursor buffer instead image pointer

Change-Id: I862e3422443d646db0a2fc94d0124b5725ec9b2e

5 years agoe_hwc_window: consider transition in is_on_hw_overlay 75/213875/3
Changyeon Lee [Mon, 16 Sep 2019 04:51:17 +0000 (13:51 +0900)]
e_hwc_window: consider transition in is_on_hw_overlay

Change-Id: I25c9df3e9ab9e95ff45aa6a3c6ae35b3d81a961a

5 years agoe_comp: check hwc policy in hwc_end 74/213874/3
Changyeon Lee [Wed, 11 Sep 2019 02:58:12 +0000 (11:58 +0900)]
e_comp: check hwc policy in hwc_end

Change-Id: I21f4010225bb5940463d05cb22d1050cb076698d

5 years agoe_hwc_windows: don't call evas_norender if wait commit is set 41/213741/4
Changyeon Lee [Wed, 11 Sep 2019 02:30:40 +0000 (11:30 +0900)]
e_hwc_windows: don't call evas_norender if wait commit is set

if wait commit is set, hwc mode ins't changed.
call evas_norender after hwc mode is determined

Change-Id: I511b6684f948f211254329202c4781d9ddc01057

5 years agoe_service_launcher: wait callee buffer after asking to prepare show 33/213733/3 accepted/tizen/unified/20190917.110557 submit/tizen/20190917.053802
MinJeong Kim [Wed, 11 Sep 2019 01:14:45 +0000 (10:14 +0900)]
e_service_launcher: wait callee buffer after asking to prepare show

 Post job of forward shared widget launch are started by "prepare_done"
callback from Callee client. But Callee buffers that enlightenment is
holding, might not be "prepared" at this moments. So we need to
some additional process to ensure that at least one buffer of Callee is attached
after enlightenment sent "prepare" message.
 With this patch, Enlightenment will do post forward job of shared widget launch
only after new buffer of callee is attached.

Change-Id: Iaaf0a566348d6c55fb252246fbba6114c86bd958
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
5 years agoe_info: Added method for set focus_policy_ext at runtime 98/213898/2 accepted/tizen/unified/20190917.034050 submit/tizen/20190916.115805
Junseok, Kim [Mon, 16 Sep 2019 08:53:02 +0000 (17:53 +0900)]
e_info: Added method for set focus_policy_ext at runtime

Change-Id: I85f433715a7cfb752ef3f59004e52e33d6183574

5 years agoe_info: Added method for get current focus history. 97/213897/2
Junseok, Kim [Mon, 16 Sep 2019 08:51:58 +0000 (17:51 +0900)]
e_info: Added method for get current focus history.

Change-Id: Ic9a72652bde12169b0885993bd0099a6ff8875a6

5 years agoe_client: Make log displayed correctly 94/213894/2
Junseok, Kim [Mon, 16 Sep 2019 08:25:49 +0000 (17:25 +0900)]
e_client: Make log displayed correctly

Change-Id: I5496bbd0822750f32cd5d86140b058380cd23d01

5 years agoe_output: fix return value error 79/213779/2
Junkyeong Kim [Wed, 11 Sep 2019 07:07:57 +0000 (16:07 +0900)]
e_output: fix return value error

Change-Id: I523654ce71ea26b9b510e7401a9560a096cf5438
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_output: erase unnecessary condition 78/213778/2
Junkyeong Kim [Wed, 11 Sep 2019 07:06:41 +0000 (16:06 +0900)]
e_output: erase unnecessary condition

Change-Id: I819c398807e5088e96939106d3f5199daa24cfb4
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agouse e_client_layer_set api for client stack change 96/212596/7 accepted/tizen/unified/20190916.043422 submit/tizen/20190916.002643
Juyeon Lee [Fri, 23 Aug 2019 08:03:43 +0000 (17:03 +0900)]
use e_client_layer_set api for client stack change

if it has only purpose for changing the evas obj layer(such as ibar
   effect animation temporarily, or quickpanel mover generation)
use evas_object_layer_set, but if it is about the client layer policy change
use e_client_layer_set api. because it handles the exception of
layer_pending and layer_block.

Change-Id: I5d25b4ec15d9f3ba4ce10ad467d60ee74733f1c2

5 years agoe_client: add e_client_layer_set() for the change of client layer 64/212564/10
Juyeon Lee [Fri, 23 Aug 2019 05:07:30 +0000 (14:07 +0900)]
e_client: add e_client_layer_set() for the change of client layer

evas_object_layer_set is used for change client layer or effect
to distinguish the usage and reduce inappropriate use, added
NEW API: e_client_layer_set

allowed layer set from E_LAYER_CLIENT_DESKTOP to E_LAYER_CLIENT_CURSOR
this api saves layer to ec->layer when in pending or block state
so the layer can be set after pending or block is free.

Change-Id: Iafdf9d99281cf206dab96f2a52d5920d23120e2e

5 years agofocus: renew topmost focus policy 17/213617/4 accepted/tizen/unified/20190911.111523 submit/tizen/20190911.042318
Junseok, Kim [Mon, 9 Sep 2019 06:48:54 +0000 (15:48 +0900)]
focus: renew topmost focus policy

From now on, device can choice external focus policy via changing focus_policy_ext value in e_config
If focus_policy_ext set to E_FOCUS_EXT_TOP_STACK, then focus alwayls set to topmost visible & focusable window even user click window.
default value of focus_policy_ext is E_FOCUS_EXT_HISTORY

Change-Id: I9f156104cf5931d7ad389b20f84c70b683a625fc

5 years agoe_plane: fix build warning 89/213689/1
Doyoun Kang [Tue, 10 Sep 2019 07:19:39 +0000 (16:19 +0900)]
e_plane: fix build warning

Change-Id: I4f2e43b194402a3ad7cf8c192026ced88085279a

5 years agoe_plane: match ref/unref of ec 31/213631/2 accepted/tizen/unified/20190911.111600 submit/tizen/20190910.052341
MinJeong Kim [Mon, 9 Sep 2019 09:04:14 +0000 (18:04 +0900)]
e_plane: match ref/unref of ec

Change-Id: Iddd747c44044f54c57ff04d66583bc00ccbf9ee1
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
5 years agoe_desk: add E_EVENT_DESK_ZOOM_SET/UNSET event 67/213667/1
Doyoun Kang [Tue, 10 Sep 2019 05:11:45 +0000 (14:11 +0900)]
e_desk: add E_EVENT_DESK_ZOOM_SET/UNSET event

Change-Id: Ic20c5de6011a4377af57d37e8bd6aadb550b4fce

5 years agoe_desk: modify code to use simple event structure 65/213665/1
Doyoun Kang [Tue, 10 Sep 2019 05:00:48 +0000 (14:00 +0900)]
e_desk: modify code to use simple event structure

Change-Id: Ie85ad13425dd8dc583d2f7aea7cd5a5795a9bccc

5 years agoe_hwc_windows: update info of target_hwc_window 22/213522/2
Changyeon Lee [Thu, 5 Sep 2019 05:31:03 +0000 (14:31 +0900)]
e_hwc_windows: update info of target_hwc_window

Change-Id: I3e7dae90050c85b094ef3bcf24404ae034212a7c

5 years agoe_hwc_planes: support external output commit 42/213442/5
Junkyeong Kim [Thu, 5 Sep 2019 08:30:50 +0000 (17:30 +0900)]
e_hwc_planes: support external output commit

Change-Id: I1fc16a4087c5f63932925a5c5e1a22e8cea09d7e
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_comp_object: fix infinite loop of client inlist 68/212568/3 accepted/tizen/unified/20190905.112930 submit/tizen/20190905.063118
Juyeon Lee [Fri, 23 Aug 2019 05:37:41 +0000 (14:37 +0900)]
e_comp_object: fix infinite loop of client inlist

due to layer change while layer_pending
it causes cw-layer dismatch with ec->layer and its evas object layer

Change-Id: Iee8fca8e70f83236e45c7a3373e6c1e295b47354

5 years agoe_comp_object: add e_comp_object_effect_hiding_set 33/213333/3 accepted/tizen/unified/20190905.060608 submit/tizen/20190905.021322
Juyeon Lee [Wed, 4 Sep 2019 08:18:46 +0000 (17:18 +0900)]
e_comp_object: add e_comp_object_effect_hiding_set

ec->frame never hide when it is animating(bg running, restack showing)
if evas object changes its visibility state, comp_obj emit the signal
   show: state,hidden/action,iconify
   hide: state,visible/action,uniconify
if evas stack has changed than, E-mod effect emit the signal
   show: restack,show
   hide: restack,hide
window transition animation(aka effect) is calculated by the e_mod_effect mod.
refering to signals. therefore it is hard to know in e20 side what is animating
By effect mod set hiding state using this api, intercept hide can process
'hide' unless it is not hiding animation.

Change-Id: Ia580f36270463314f16455dd16f6a6bdf4b94b12

5 years agoe_client/e_comp_wl: use e_client_size_set 16/213316/2
Doyoun Kang [Wed, 4 Sep 2019 07:27:41 +0000 (16:27 +0900)]
e_client/e_comp_wl: use e_client_size_set

we changed code to use e_client_size_set when ec->w and ec->h was changed.

Change-Id: Ia1c7de218d67fb68be98305a8e6db6c4ad38c69e

5 years agoe_comp_screen: send ignore output transform false if hwc policy is windows 63/213263/1
Changyeon Lee [Tue, 3 Sep 2019 06:50:51 +0000 (15:50 +0900)]
e_comp_screen: send ignore output transform false if hwc policy is windows

Change-Id: Ic2bad942e45a88c5c57aed60ebad49f8d4672555

5 years agoe_hwc_windows: fix checking client/none to device/cursor transition 63/213163/4
Changyeon Lee [Mon, 2 Sep 2019 07:13:25 +0000 (16:13 +0900)]
e_hwc_windows: fix checking client/none to device/cursor transition

sholud check hwc_windows of rendering tsurface
when check client/none to device/cursor transition.

Change-Id: I312d106601092c9f1d34521b79f9acb5c4c50b28

5 years agoe_hwc_window: add E_Hwc_Window_Restriction 28/213128/4
Changyeon Lee [Tue, 13 Aug 2019 11:03:00 +0000 (20:03 +0900)]
e_hwc_window: add E_Hwc_Window_Restriction

set restriction of hwc_window if device_state_available is false

Change-Id: I617faaf239e76e10c3fe1e3ad12eb8562c7ef3db

5 years agoe_hwc_windows: check 0 of dst_pos's width and height 76/213176/3 accepted/tizen/unified/20190903.110956 submit/tizen/20190903.042917
Junkyeong Kim [Mon, 2 Sep 2019 08:29:40 +0000 (17:29 +0900)]
e_hwc_windows: check 0 of dst_pos's width and height

Change-Id: If6b82bfac537c942897b0f5496cbbea1ce9a697b
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_hwc_windows: support external commit with pp converting 66/213166/3
Junkyeong Kim [Mon, 2 Sep 2019 07:29:47 +0000 (16:29 +0900)]
e_hwc_windows: support external commit with pp converting

Change-Id: I8fcf2f88b616489c6b71ea342f96018b76d3ab85
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_comp_wl_subsurface: fixed wrong access to deleted parent ec of subsurface 81/213181/1 submit/tizen/20190903.012850
jeon [Mon, 2 Sep 2019 09:06:08 +0000 (18:06 +0900)]
e_comp_wl_subsurface: fixed wrong access to deleted parent ec of subsurface

Change-Id: If40846a42c5afff04f5be2b937bba8a9932263b7

5 years agoadd a new hook - E_COMP_WL_HOOK_BUFFER_SIZE_CHANGE 09/213009/2 accepted/tizen/unified/20190902.111139 submit/tizen/20190902.063923
Doyoun Kang [Thu, 29 Aug 2019 07:58:51 +0000 (16:58 +0900)]
add a new hook - E_COMP_WL_HOOK_BUFFER_SIZE_CHANGE

We add a hook function to notify changing buffer size.
This hook is called if a buffer size is changed.

Change-Id: I8494f45a6521243dcdc4ab313b8e2046e840d79e

5 years agoe_hwc_window_queue: add info log when backup buffer is created 16/213016/3
Changyeon Lee [Thu, 29 Aug 2019 08:15:39 +0000 (17:15 +0900)]
e_hwc_window_queue: add info log when backup buffer is created

Change-Id: If204afa0d1fd74e68100cc3931dd43b36a79bb2f

5 years agoe_comp_screen: add trace log when Init E_Comp_Screen 07/213007/2
Changyeon Lee [Thu, 29 Aug 2019 07:50:50 +0000 (16:50 +0900)]
e_comp_screen: add trace log when Init E_Comp_Screen

Change-Id: Ife13f10aad25713a4ff17448abca4a4a6f4480fc

5 years agoe_hwc_window_queue: fix memory leak 23/213023/2 accepted/tizen/unified/20190830.040758 submit/tizen/20190829.062859 submit/tizen/20190829.102125
Changyeon Lee [Thu, 29 Aug 2019 09:06:18 +0000 (18:06 +0900)]
e_hwc_window_queue: fix memory leak

Change-Id: I7c431d50023e48bb74f1f5bfa0455f8c8cc0a602

5 years agoe_hwc_window_queue: remove unnecessary null check 24/213024/2
Changyeon Lee [Thu, 29 Aug 2019 09:12:11 +0000 (18:12 +0900)]
e_hwc_window_queue: remove unnecessary null check

Change-Id: I8f65babb647ef622d8d4df076b00d235fbcf8ce9

5 years agoe_util_transform: check if input size is under 0 09/212909/3
Junseok, Kim [Wed, 28 Aug 2019 05:53:19 +0000 (14:53 +0900)]
e_util_transform: check if input size is under 0

Change-Id: I0f6527fbdd9e3444f8364382671a7d6990da2d3f

5 years agoe_hwc_windows: dst buffer clear before sw copy 97/212797/2
Junkyeong Kim [Tue, 27 Aug 2019 02:24:30 +0000 (11:24 +0900)]
e_hwc_windows: dst buffer clear before sw copy

if RGB type, use opaque alpha value.

Change-Id: If9ca50a8c0b57b995321e43b359ff325a6c45c04
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agolog: modify code to use ELOGF not ELOG 33/212833/1
Doyoun Kang [Tue, 27 Aug 2019 06:48:54 +0000 (15:48 +0900)]
log: modify code to use ELOGF not ELOG

Change-Id: Ied20e84aa790a3564568e67674710e3a5b0129be

5 years agoe_info_server: modify infomation for transform property 79/212779/1
Doyoun Kang [Wed, 24 Jul 2019 05:11:15 +0000 (14:11 +0900)]
e_info_server: modify infomation for transform property

Change-Id: I11a4f06faf534725148ba5d3e43427ff52594496

5 years agoe_policy_wl: fixed remaining invalid user data in tzsh client resource 52/212752/2 accepted/tizen/unified/20190827.043506 submit/tizen/20190826.115917
MinJeong Kim [Mon, 26 Aug 2019 11:16:18 +0000 (20:16 +0900)]
e_policy_wl: fixed remaining invalid user data in tzsh client resource

 There were chance to access invalid user data of tzsh client resource(quickpanel,
shared widget launch, etc.) even after tzsh_client object was freed by
unbinding of tzsh.
 This patch unset user data of tzsh client wl_resource when tzsh_client object
is freed before tzsh client resource destroies.

Change-Id: I17dfd8bc1745f23965b49428bc02d707e7ca59ed
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
5 years agoe_service_launcher: handle disconnection of tzsh_swl 24/212724/2
MinJeong Kim [Mon, 26 Aug 2019 09:04:27 +0000 (18:04 +0900)]
e_service_launcher: handle disconnection of tzsh_swl

We are not able to progress backward effect of shared widget launch,
if callee client was already disconnected.
Because enlightenment can't receive prepare_done ever.
This patch prevents to wait for prepared done from disconnected callee.
Backward effect will be skipped if calle client is gone before sending prepare_done.

Change-Id: I12f323924a087f84f036c09ba94869fd3a9d6cd2
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
5 years agoe_eom: unset the mirror mode when the eom set the presentation 36/212736/1
SooChan Lim [Mon, 26 Aug 2019 10:03:22 +0000 (19:03 +0900)]
e_eom: unset the mirror mode when the eom set the presentation

Change-Id: If0b1364548e485f786380d67561aab99ee62d925

5 years agoe_hwc_windows: change pixman copy scale calculation 08/212608/3
Junkyeong Kim [Fri, 23 Aug 2019 09:19:34 +0000 (18:19 +0900)]
e_hwc_windows: change pixman copy scale calculation

Change-Id: Iad7fd2726f28de412ba894f6c7730723798d2034
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_policy_wl: apply a background state to all windows in same PID 48/212648/2 accepted/tizen/unified/20190826.113241 submit/tizen/20190826.002654
Doyoun Kang [Mon, 26 Aug 2019 00:15:28 +0000 (09:15 +0900)]
e_policy_wl: apply a background state to all windows in same PID

When an application request to set background state to specified PID,
then e changes a background state of all windows belong to specified PID.

Change-Id: Ib18a60152e97a1280c3fe8e8e0f5a9a326c6adc9

5 years agoe_client: check argb and force_obscured while check fully_contain_by_above 38/212438/3 accepted/tizen/unified/20190822.045426 submit/tizen/20190822.002858
Junseok, Kim [Wed, 21 Aug 2019 11:12:56 +0000 (20:12 +0900)]
e_client: check argb and force_obscured while check fully_contain_by_above

Change-Id: If6c439db818f9c3226cdc508d34576f969885990

5 years agoe_output: remove the e_output_external_commit. 41/212441/1
SooChan Lim [Wed, 21 Aug 2019 11:16:26 +0000 (20:16 +0900)]
e_output: remove the e_output_external_commit.

The e_output uses only one e_output_commit in the case of
both primary output and external output.

Change-Id: Ie52e3b311d9f86d34e9e656fc685d93655e0591a

5 years agoeom: e_eom control presentation wait not e_output 52/212352/4
Junkyeong Kim [Tue, 20 Aug 2019 12:05:45 +0000 (21:05 +0900)]
eom: e_eom control presentation wait not e_output

Change-Id: I338203e3e4a9964f04188e9397e50218888247d9
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_hwc_window: check if the ec is null. 28/212428/1
SooChan Lim [Wed, 21 Aug 2019 07:39:41 +0000 (16:39 +0900)]
e_hwc_window: check if the ec is null.

Change-Id: I1cbfe52828330312daf1e97b66082b7c181c61dd

5 years agoe_xdg_shell_v6: add api to get ec from zxdg_surface_v6 resource 63/212263/2
Junkyeong Kim [Mon, 19 Aug 2019 11:08:13 +0000 (20:08 +0900)]
e_xdg_shell_v6: add api to get ec from zxdg_surface_v6 resource

the user data of zxdg_surface which is get from ecore_wl2_window_shell_surface_get is not ec.
so need api to get ec from zxdg_surface.

Change-Id: I01297bd630a6dd5ae36cfb7bebfd434b573c221b
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_comp_wl_rsm: fixed wrong access to deleted parent ec of subsurface 64/212264/3 accepted/tizen/unified/20190820.114940 submit/tizen/20190820.065053
MinJeong Kim [Mon, 19 Aug 2019 11:12:22 +0000 (20:12 +0900)]
e_comp_wl_rsm: fixed wrong access to deleted parent ec of subsurface

Change-Id: Ie648aac34868ea591c049659f311ccea992fa638
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
5 years agoe_client: make do not check focus_skip while check fully_contain_by_above 23/212123/1
Junseok, Kim [Wed, 14 Aug 2019 10:46:25 +0000 (19:46 +0900)]
e_client: make do not check focus_skip while check fully_contain_by_above

At below of the 24-bit color full size and focus skipped window,
if the client doing show and activate immediately can cause client takes a focus for a moment.
For fix this issue, we makes do not check focus_skip in fully_contained_by_above.

Change-Id: I49aa6724dd851b7c2ad51bd6efbacca94fb88bd6