platform/upstream/enlightenment.git
7 years agoe_util: add function to check whether file is link or not 86/139586/7
Sangjin Lee [Wed, 19 Jul 2017 10:50:46 +0000 (19:50 +0900)]
e_util: add function to check whether file is link or not

According to security code guide, before open the file for write it
should be check the file is symbolic link.

Change-Id: I6273b886fe165e1420e8c3619f2b9cda1c0fe150

7 years agoe_output: update output fps when fb_target commit 03/140003/1
Changyeon Lee [Fri, 21 Jul 2017 08:25:11 +0000 (17:25 +0900)]
e_output: update output fps when fb_target commit

Change-Id: I074e3cf78bdcb8a04b9b41896f1e0fa284c1c3ae

7 years agoerase unused variables 71/139971/3 accepted/tizen/unified/20170724.155137 submit/tizen/20170721.074013
Junkyeong Kim [Fri, 21 Jul 2017 07:11:55 +0000 (16:11 +0900)]
erase unused variables

Change-Id: Ia2b388275dd8c254eb5554bb920a07584968e17f
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 years agoe_policy_visibility: fix wrong value 65/139965/2
Juyeon Lee [Fri, 21 Jul 2017 06:53:17 +0000 (15:53 +0900)]
e_policy_visibility: fix wrong value

Change-Id: I02129eea7e881b7b84c4db25634f729e5d8c4ad6

7 years agoe_comp_wl_video: correct variable type 32/139932/1
Boram Park [Fri, 21 Jul 2017 05:50:07 +0000 (14:50 +0900)]
e_comp_wl_video: correct variable type

Change-Id: I693f354eaca4637586d9efae699018ad80353989

7 years agoe_policy_visibility: show below surface if it doesn't need to wait buffer commit 92/139792/8
Juyeon Lee [Thu, 20 Jul 2017 10:31:12 +0000 (19:31 +0900)]
e_policy_visibility: show below surface if it doesn't need to wait buffer commit

it doesn't need to wait below surface buffer commit if
1. target config->use_buffer_flush is 0 or,
2. deiconify_approve is not necessary for a client surface

Change-Id: I526b2ca138fe4edf0b7f43a508899999039cc7b3

7 years agoe_info: add enlightenment_info dump_screen option 93/139893/7
Junkyeong Kim [Fri, 21 Jul 2017 02:43:35 +0000 (11:43 +0900)]
e_info: add enlightenment_info dump_screen option

Change-Id: Ib955c681cf7292985589698b43df9294b779a487
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 years agoe_comp_wl_screenshooter: make e_comp_wl_screenshooter_dump function 06/139806/4
Junkyeong Kim [Thu, 20 Jul 2017 11:40:56 +0000 (20:40 +0900)]
e_comp_wl_screenshooter: make e_comp_wl_screenshooter_dump function

add _e_tz_screenmirror_video_buffer_convert for source reuse.
change some functions name.
make fake mirror object in e_comp_wl_screenshooter_dump to use _e_tz_screenmirror_video_buffer_convert function.

Change-Id: I267d73ca4f656bcc0c05ab2b7611c711dfab6917
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 years agoe_info: add validation checking code for calloc and enum range 04/139904/3
Junkyeong Kim [Fri, 21 Jul 2017 04:06:41 +0000 (13:06 +0900)]
e_info: add validation checking code for calloc and enum range

Change-Id: I9e972d02233a98ec5559e4b79112d086a3acfebf
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 years agoe_policy_wl: call e_comp_object_content_unset if cursor role is set in _launch_splash_off 07/139807/2
Doyoun Kang [Thu, 20 Jul 2017 11:50:03 +0000 (20:50 +0900)]
e_policy_wl: call e_comp_object_content_unset if cursor role is set in _launch_splash_off

there was a bug that enlightenment could fall in infinite loop
because the cursor window's external_content type is set.

Change-Id: I229127e9a263839cd90d6a16d508a5d942317942

7 years agoremote_surface: send latest buffer of the provider to the consumer 14/139614/2
Gwanglim Lee [Wed, 19 Jul 2017 13:06:11 +0000 (22:06 +0900)]
remote_surface: send latest buffer of the provider to the consumer
while clearing bind which wants new one to draw on its window.

Change-Id: Ie9596e609d0d1ff4fd4726bda7f90523dfa85a8a

7 years agovideo: set video->old_comp_buffer as NULL on video hide. 52/139752/2
Anamika Singh [Thu, 20 Jul 2017 09:01:57 +0000 (14:31 +0530)]
video: set video->old_comp_buffer as NULL on video hide.

In second switch from inline to fullscreen when video is in pause state
video is not rendered because comp_buffer is same as old_comp_buffer.
Hence setting video->old_comp_buffer as NULL on video hide.

Signed-off-by: Anamika Singh <anamika.sd@samsung.com>
Change-Id: I4b2be540eb7e9528d00c47cba01678c85668b2a5

7 years agoe_plane: unset plane without regard to fb_commit if unset_counter is zero 85/139685/6
Changyeon Lee [Thu, 20 Jul 2017 05:31:09 +0000 (14:31 +0900)]
e_plane: unset plane without regard to fb_commit if unset_counter is zero

Change-Id: I72eab3eeb87997a936f2e6e2be3156f5e2b196ff

7 years agoe_plane: checked unset try before checking tsurface 84/139684/3
Changyeon Lee [Thu, 20 Jul 2017 04:44:37 +0000 (13:44 +0900)]
e_plane: checked unset try before checking tsurface

Change-Id: I560ae89dd857d24b8b9cc9ec61a88de73e3a519c

7 years agoe_output: execute zoom_set touch transform only no touch 51/139251/6
Junkyeong Kim [Tue, 18 Jul 2017 06:04:34 +0000 (15:04 +0900)]
e_output: execute zoom_set touch transform only no touch

Change-Id: Idfa2480bfc3587f649af0d07c8e6b1e9d3afde2a
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 years agoe_desk: execute first zoom set for smart_obj_zoom 04/139304/2
Junkyeong Kim [Tue, 18 Jul 2017 09:36:17 +0000 (18:36 +0900)]
e_desk: execute first zoom set for smart_obj_zoom

if use_desk_smart_obj and use_pp_zoom flags are set both,
the first smart obj zoom set will be skiped.
So need another first zoom set function for smart_obj_zoom.

Change-Id: I44869794643fb6aa8d9cb97265e494115dd4b7f4
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 years agoe_desk: add calloc validation check 01/139301/2
Junkyeong Kim [Tue, 18 Jul 2017 09:15:29 +0000 (18:15 +0900)]
e_desk: add calloc validation check

Change-Id: I006dec7ea7849cd72ef7524dfa807fe9c5ff20ec
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 years agoe_policy_conformant: Added part_add/del api 81/138981/20
Juyeon Lee [Fri, 14 Jul 2017 11:45:24 +0000 (20:45 +0900)]
e_policy_conformant: Added part_add/del api

e_modules can register/deregister conformant part by calling below apis
 e_policy_conformant_part_add(E_Client *ec) and
 e_policy_conformant_part_del(E_Client *ec)

Change-Id: I2feb86e90154b3ef8f88b4ccec6e2ef7dbee84d7

7 years agoe_comp: fix condition check for realloc 37/139337/2
Sangjin Lee [Tue, 18 Jul 2017 11:06:57 +0000 (20:06 +0900)]
e_comp: fix condition check for realloc

It should be checked the return value for an error condition.
If it fails, realloc returns NULL. so if you use same value for return and param of realloc,
it is memory leak.

Change-Id: Iabdd913949fa30005cb56be6d824c2b7abb4ed2f

7 years agoe_comp_wl_rsm: remove unreachable code 74/139574/1
Boram Park [Wed, 19 Jul 2017 10:42:07 +0000 (19:42 +0900)]
e_comp_wl_rsm: remove unreachable code

Change-Id: I800cba608cf2f503768505abed0580922f15e94c

7 years agoe_comp_wl_rsm: fix dead code and error handling in image_data_transform. 35/136935/3
Minsu Han [Mon, 3 Jul 2017 22:43:32 +0000 (07:43 +0900)]
e_comp_wl_rsm: fix dead code and error handling in image_data_transform.

Change-Id: Ie73cce6034041d0d5cd552635ff115f84486510a
Signed-off-by: Minsu Han <minsu81.han@samsung.com>
Signed-off-by: Boram Park <boram1288.park@samsung.com>
7 years agoe_comp_wl_video: not using ecore_drm 21/138621/4
Boram Park [Wed, 12 Jul 2017 06:49:07 +0000 (15:49 +0900)]
e_comp_wl_video: not using ecore_drm

Change-Id: I8f087e7d0bbb53a76995b7fb3a184fcf96bcc606

7 years agoe_comp_wl_screenshooter: not using ecore_drm 20/138620/4
Boram Park [Wed, 12 Jul 2017 06:43:29 +0000 (15:43 +0900)]
e_comp_wl_screenshooter: not using ecore_drm

Change-Id: I1271bb28569d856e61e9ea56a8580b4051de643f

7 years agoe_dpms: use e_output function instead of ecore_drm_output function 19/138619/4
Boram Park [Wed, 12 Jul 2017 06:40:54 +0000 (15:40 +0900)]
e_dpms: use e_output function instead of ecore_drm_output function

Change-Id: Ic81aba7c42764f368b6556344c68d055d790c806

7 years agoe_output: add dpms_get and hook function 18/138618/4
Boram Park [Wed, 12 Jul 2017 06:35:43 +0000 (15:35 +0900)]
e_output: add dpms_get and hook function

Change-Id: I3f233a550981adf6005b1445a259e63035dc457b

7 years agoe_policy_visibility: fix bug for handling transient below window 76/139176/4
Doyoun Kang [Mon, 17 Jul 2017 23:46:53 +0000 (08:46 +0900)]
e_policy_visibility: fix bug for handling transient below window

there was a bug that e could fall into infinite loop while handling iconify state
or visibility of transient below window.

Change-Id: Iae090aa8b537b90878b45041bb022623259069eb

7 years agoe_plane_renderer: checked resource of buffer before getting surface flags 56/139056/2
Changyeon Lee [Mon, 17 Jul 2017 05:34:00 +0000 (14:34 +0900)]
e_plane_renderer: checked resource of buffer before getting surface flags

Change-Id: I2a44863c40548c09624e7764af8212db60fdf8a1

7 years agoe_comp_wl_rsm: fix bug detected by static analysis tool 58/139158/1
Doyoun Kang [Mon, 17 Jul 2017 13:56:35 +0000 (22:56 +0900)]
e_comp_wl_rsm: fix bug detected by static analysis tool

Change-Id: Ice149b7953cd72f30145afcaef89a16ea427bc2f

7 years agoquickpanel_service: set mover's layer to quickpanel's layer in _e_qp_srv_mover_new 39/139039/4
Doyoun Kang [Mon, 17 Jul 2017 04:56:27 +0000 (13:56 +0900)]
quickpanel_service: set mover's layer to quickpanel's layer in _e_qp_srv_mover_new

Change-Id: Id6f8fced554365037f16f3f79da2bb9f173bd4bb

7 years agoe_module: fix bug detected by static analysis tool 47/139147/2
Doyoun Kang [Mon, 17 Jul 2017 12:15:48 +0000 (21:15 +0900)]
e_module: fix bug detected by static analysis tool

Change-Id: If0e7ff20cd80d67897d66c14b7d60a7ae8eef4f3

7 years agoe_path: fix bug detected by static analysis tool 46/139146/2
Doyoun Kang [Mon, 17 Jul 2017 12:15:25 +0000 (21:15 +0900)]
e_path: fix bug detected by static analysis tool

Change-Id: I6f7554bbc2adb1b0eaa003a66a3dfa9f341b4b85

7 years agoe_comp_cfdata: fix bug detected by static analysis tool 45/139145/1
Doyoun Kang [Mon, 17 Jul 2017 12:14:48 +0000 (21:14 +0900)]
e_comp_cfdata: fix bug detected by static analysis tool

Change-Id: Ie7957a4fd6e729334714f2c947bb112fc0a0f982

7 years agoe_pixmap: fix bug detected by static analysis tool 44/139144/1
Doyoun Kang [Mon, 17 Jul 2017 12:13:39 +0000 (21:13 +0900)]
e_pixmap: fix bug detected by static analysis tool

Change-Id: Iecbed22b8995aa9c637686149708e837b881ebaa

7 years agoe_place: fix bug detected by static analysis tool 32/139132/1
Doyoun Kang [Mon, 17 Jul 2017 11:32:44 +0000 (20:32 +0900)]
e_place: fix bug detected by static analysis tool

Change-Id: I63361fa5b217abfd9e1cb5a04ab56db0930ed54a

7 years agoe_service_quickpanel: fix bug detected by static analysis tool 28/139128/1
Doyoun Kang [Mon, 17 Jul 2017 11:08:38 +0000 (20:08 +0900)]
e_service_quickpanel: fix bug detected by static analysis tool

Change-Id: I7f2570e8d55dc1316456730381a4fef409e6cbb6

7 years agoe_plane: fix bug detected by static analysis tool 07/139107/1
Doyoun Kang [Mon, 17 Jul 2017 09:38:38 +0000 (18:38 +0900)]
e_plane: fix bug detected by static analysis tool

Change-Id: Iddc225b2d17c2a34ea1b49bf3d7319468593f306

7 years agoe_policy_conformant: fix bug detected by static analysis tool 06/139106/1
Doyoun Kang [Mon, 17 Jul 2017 09:37:54 +0000 (18:37 +0900)]
e_policy_conformant: fix bug detected by static analysis tool

Change-Id: I09f3e7b1e9e8abe9f5cae1ed677e4080b2ede67a

7 years agoe_screensaver: fix bug detected by static analysis tool 05/139105/1
Doyoun Kang [Mon, 17 Jul 2017 09:35:47 +0000 (18:35 +0900)]
e_screensaver: fix bug detected by static analysis tool

Change-Id: I0c30ec16c6a7b2c423c5d6372b1b38d84a97040a

7 years agoe_policy: fix bug detected by static analysis tool 04/139104/1
Doyoun Kang [Mon, 17 Jul 2017 09:35:14 +0000 (18:35 +0900)]
e_policy: fix bug detected by static analysis tool

Change-Id: Ie5e62695db029cf1dbbf1a4fe3ec5e012e1235d3

7 years agoe_msgbus: fix bug detected by static analysis tool 02/139102/1
Doyoun Kang [Mon, 17 Jul 2017 09:34:23 +0000 (18:34 +0900)]
e_msgbus: fix bug detected by static analysis tool

Change-Id: I84280c66a1acc5c07773343228c600afeda53ad5

7 years agoe_dnd: fix bug detected by static analysis tool 01/139101/1
Doyoun Kang [Mon, 17 Jul 2017 09:34:00 +0000 (18:34 +0900)]
e_dnd: fix bug detected by static analysis tool

Change-Id: Iab1be69c2204123e50e852e35d9d7f568f62b6b1

7 years agoe_comp_wl_video: fix bug detected by static analysis tool 00/139100/1
Doyoun Kang [Mon, 17 Jul 2017 09:32:19 +0000 (18:32 +0900)]
e_comp_wl_video: fix bug detected by static analysis tool

Change-Id: I676435a9eb4b9934e0361b0c7974a232efa93b80

7 years agocode refactoring: add comments for configs(e_config, e_comp_cfdata) 16/138916/5
JunSeok, Kim [Fri, 14 Jul 2017 08:04:11 +0000 (17:04 +0900)]
code refactoring: add comments for configs(e_config, e_comp_cfdata)

Change-Id: I0bec811f87b192514d7252e321ce84bf8d7efb28

7 years agoquickpanel_service: disable window effect for quickpanel 33/139033/1
Doyoun Kang [Mon, 17 Jul 2017 04:30:28 +0000 (13:30 +0900)]
quickpanel_service: disable window effect for quickpanel

Change-Id: Ib00d1254d7287f93a612a61028ef4ce136521667

7 years agoe_comp_wl_screenshooter: fix build warning 09/138809/2 accepted/tizen/unified/20170717.170220 submit/tizen/20170714.014927
Boram Park [Fri, 14 Jul 2017 01:22:02 +0000 (10:22 +0900)]
e_comp_wl_screenshooter: fix build warning

Change-Id: I42a00833af40c297864df1add3c23c4caea50b8a

7 years agoe_comp_wl_video_buffer: change the prefix of buf type 08/138808/2
Boram Park [Fri, 14 Jul 2017 01:21:34 +0000 (10:21 +0900)]
e_comp_wl_video_buffer: change the prefix of buf type

Change-Id: I7b9673c89ba35865dbd5a090973c203b7fdc798e

7 years agoremote_surface: added provider checking before sending a release event 12/138812/1
Gwanglim Lee [Fri, 14 Jul 2017 01:29:00 +0000 (10:29 +0900)]
remote_surface: added provider checking before sending a release event

Change-Id: I037f684d92834cac9741bf69741f69911ee5bbb5

7 years agoe_eom: add eom_trace_debug flag for eom log 60/138760/2
Junkyeong Kim [Thu, 13 Jul 2017 11:59:25 +0000 (20:59 +0900)]
e_eom: add eom_trace_debug flag for eom log

change some logs.
fix some indentation error.

Change-Id: I6f2944c09c5678a93ae8e07ae6d7b979d9a773fc
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 years agoe_comp_wl_screenshooter: use e_security_privilege_check for privilege 48/138448/3
Junkyeong Kim [Wed, 12 Jul 2017 07:33:51 +0000 (16:33 +0900)]
e_comp_wl_screenshooter: use e_security_privilege_check for privilege
erase local privilege checking cynara API functions.

Change-Id: I741ed3fa417274a24b20759eae997a70caafca8d
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 years agoe_service_cbhm: fix memory corruption 66/138766/2
Boram Park [Thu, 13 Jul 2017 12:58:54 +0000 (21:58 +0900)]
e_service_cbhm: fix memory corruption

interceptors are e_comp_object's intercept_hooker. So it should be deleted by
e_comp_object_intercept_hook_del.

Change-Id: Id78d1ce0ef904ada366bbe6d879196c267817697

7 years agoe_policy_visibility: fix memory corruption 63/138763/3
Boram Park [Thu, 13 Jul 2017 12:45:10 +0000 (21:45 +0900)]
e_policy_visibility: fix memory corruption

interceptors are e_comp_object's intercept_hooker. So it should be deleted by
e_comp_object_intercept_hook_del.

Change-Id: If4805b64563cceab672ca2836c332633a1cfb3fd

7 years agoe_comp: fix to corrupted double-linked list 91/138691/1
Sangjin Lee [Thu, 13 Jul 2017 08:26:46 +0000 (17:26 +0900)]
e_comp: fix to corrupted double-linked list

Change-Id: If1f5ac39a1a9e03e3cb4a8cbd0ccacab6e6ba88a

7 years agoe_plane_renderer: fix indentation 30/138630/2
Changyeon Lee [Thu, 13 Jul 2017 03:19:47 +0000 (12:19 +0900)]
e_plane_renderer: fix indentation

Change-Id: I37eb2c064e8a66ed2f082aacf37766062343fd9c

7 years agoe_plane_renderer: fixed typos 07/138607/1
Gwanglim Lee [Thu, 13 Jul 2017 02:48:02 +0000 (11:48 +0900)]
e_plane_renderer: fixed typos

Change-Id: Ied2158127e642713d886a72b4896bc2f8c98a902

7 years agoe_output: ignore primary when get default_fb_target 61/138461/1
Changyeon Lee [Wed, 12 Jul 2017 05:00:56 +0000 (14:00 +0900)]
e_output: ignore primary when get default_fb_target

if hwc_ignore_primary is set to true, e_output use plane that has
lowest zpos and support rgb to fb_target

Change-Id: I8c8e6b350c975f0a957a51b2cf255a5dd0709cc4

7 years agoe_comp: added hwc_ignore_primary configuration 60/138460/1
Changyeon Lee [Wed, 12 Jul 2017 04:48:36 +0000 (13:48 +0900)]
e_comp: added hwc_ignore_primary configuration

Change-Id: I1b162277879ba01d83b680758cee62be6a9dc249

7 years agomove dpms, eom, screenshooter, video, viewport to enlightenment 29/137629/4 accepted/tizen/unified/20170712.165234 submit/tizen/20170712.081425
Boram Park [Thu, 29 Jun 2017 08:01:23 +0000 (17:01 +0900)]
move dpms, eom, screenshooter, video, viewport to enlightenment

Change-Id: I0b3fc6229b5c70eaecefe84225926c99fb7ad3fd

7 years agoe_comp_wl: not creating a screenshooter global object 28/137628/2
Boram Park [Thu, 6 Jul 2017 09:19:28 +0000 (18:19 +0900)]
e_comp_wl: not creating a screenshooter global object

Change-Id: Ia52a76599c7660c844bc70b6de8c8813f524339f

7 years agoremote_surface: refactored window type checking code for saving image file 08/138208/1 accepted/tizen/unified/20170712.165102 submit/tizen/20170711.122538
Gwanglim Lee [Tue, 11 Jul 2017 13:09:16 +0000 (22:09 +0900)]
remote_surface: refactored window type checking code for saving image file

Change-Id: I41e5c679cb35d2cdf287ae137355f6af7a58c9dd

7 years agoremote_surface: changed to save the image file of the window even it has never been... 01/138201/4
Gwanglim Lee [Tue, 11 Jul 2017 12:29:10 +0000 (21:29 +0900)]
remote_surface: changed to save the image file of the window even it has never been iconified.

Change-Id: Ie72d030f762caf6c078343794afb4e071d0a3fcf

7 years agoremote_surface: removed transient_for checking code for saving window image. 45/138145/3
Gwanglim Lee [Tue, 11 Jul 2017 08:12:36 +0000 (17:12 +0900)]
remote_surface: removed transient_for checking code for saving window image.

Change-Id: I60d5c2a02c7218e2e3775db8e5a82866c1c764f2

7 years agoe_policy_visibility: remove e_policy_visibility_uniconify_render_disable_set 96/138096/3
Juyeon Lee [Tue, 11 Jul 2017 05:29:08 +0000 (14:29 +0900)]
e_policy_visibility: remove e_policy_visibility_uniconify_render_disable_set

Change-Id: I8b17d99bd99c65c71492fdf2b8315d98264f51db

7 years agodeiconify_approve: change deiconify_approve condition 95/138095/4
Juyeon Lee [Tue, 11 Jul 2017 03:49:56 +0000 (12:49 +0900)]
deiconify_approve: change deiconify_approve condition

add job to wait client's deiconify render commit when it meets below condition
1st: if cfg->use_buffer_flush is 1(to save memory)
2nd: if cfg->deiconify_approve is 1, than add job even use_buffer_flush is 0
3rd: if hint deiconify_update is 1, than add job even above configs are all 0

Change-Id: I6a6c7aca36e5bd164397a13f084c411c0b93b2fb

7 years agoe_plane: override_del and reset resrved video flag when unset video 59/137459/3
Changyeon Lee [Thu, 6 Jul 2017 04:42:06 +0000 (13:42 +0900)]
e_plane: override_del and reset resrved video flag when unset video

Change-Id: I685f0b6ac476f793c6bd0e4c2a1609b79e364c5f

7 years agoe_plane: clear info and unset_try of plane changed to fb_target 58/137458/3
Changyeon Lee [Thu, 6 Jul 2017 04:12:26 +0000 (13:12 +0900)]
e_plane: clear info and unset_try of plane changed to fb_target

Change-Id: I29f010399eb19dd68015acd5eb9670044875052a

7 years agoe_policy_wl: aux hint wm.policy.win.deiconify.update 64/138064/2
Juyeon Lee [Tue, 11 Jul 2017 03:03:06 +0000 (12:03 +0900)]
e_policy_wl: aux hint wm.policy.win.deiconify.update

wm.policy.win.deiconify.approve.disable is replaced with this name,
to extend its functionaly, noly only disabling but also pending job for
deiconify render

Change-Id: I12f897691fcbf0e33c3dd87a4d02149b20520180

7 years agoe_client: add deiconify_update at exp_iconify of E_Client 31/137931/6
Juyeon Lee [Mon, 10 Jul 2017 09:22:53 +0000 (18:22 +0900)]
e_client: add deiconify_update at exp_iconify of E_Client

Display server will wait client render when deiconify_update is set 1

Change-Id: I7d863f7bdc4cca4e623ae1bb9ce261994360e7ad

7 years agoe_info: remove unreachable code 89/138089/2
Sangjin Lee [Tue, 11 Jul 2017 04:47:11 +0000 (13:47 +0900)]
e_info: remove unreachable code

USE_WAYLAND_LOGGER is always true. so remove useless code.

Change-Id: Ie25707f7c9262438f0f69c2322348dfb98562d29

7 years agoe_info: use wl_client_for_each_resource() 29/138029/2
Sangjin Lee [Tue, 11 Jul 2017 01:17:35 +0000 (10:17 +0900)]
e_info: use wl_client_for_each_resource()

wl_client_get_resources() is tizen api,
so use wl_client_for_each_resource() instead of wl_client_get_resources()

Change-Id: Ia8c5d6b94df5a54b5c1374a0ec0bb82b36757e1f

7 years agoe_info: use wl_resource_get_class() 28/138028/2
Sangjin Lee [Tue, 11 Jul 2017 00:50:53 +0000 (09:50 +0900)]
e_info: use wl_resource_get_class()

wl_resource_get_name() is tizen api,
so use wl_resource_get_class() instead of wl_resource_get_name()

Change-Id: I2a9cbe8cf51a696eee9bcb2dc913dbcb1d5e2c24

7 years agoe_plane: add _e_plane_pp_layer_commit to avoid memory leak 17/138017/2
Junkyeong Kim [Tue, 11 Jul 2017 01:02:45 +0000 (10:02 +0900)]
e_plane: add _e_plane_pp_layer_commit to avoid memory leak

Change-Id: I41b7d47991680e27566102f3957a553d98d06bec
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 years agoe_policy_wl: hide launchscreen if cursor role is set 21/137921/3 accepted/tizen/unified/20170711.180802 submit/tizen/20170710.122732
Juyeon Lee [Mon, 10 Jul 2017 08:59:32 +0000 (17:59 +0900)]
e_policy_wl: hide launchscreen if cursor role is set

Change-Id: I1d9658ad0b73b0dbaefec4b8f4ee68497d19135a

7 years agoe_comp_screen : update wl_seat capabilities for keyboard/touch device deletion 77/137877/1
Sung-Jin Park [Mon, 10 Jul 2017 07:24:43 +0000 (16:24 +0900)]
e_comp_screen : update wl_seat capabilities for keyboard/touch device deletion

Change-Id: Ie39a5bd83651401ab0882552e7358251c6885f13
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
7 years agoe_output: initialize the w and h. 06/137806/1
SooChan Lim [Mon, 10 Jul 2017 01:28:33 +0000 (10:28 +0900)]
e_output: initialize the w and h.

Change-Id: Ic6b1a092d851f5b4b9d2c8cf76046bccb1591365

7 years agoe_desk: add pp zoom 82/137482/2
Junkyeong Kim [Thu, 6 Jul 2017 06:07:23 +0000 (15:07 +0900)]
e_desk: add pp zoom

Change-Id: I063227ff678e35723f54e0d7978f583c29da8923
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 years agoe_output: support zoom rotation 80/137480/2
Junkyeong Kim [Thu, 6 Jul 2017 06:04:11 +0000 (15:04 +0900)]
e_output: support zoom rotation

showing similar init coordinate area after rotating.

Change-Id: Ic6d4682f328fbf51574f273b892f0ccf9d09fdf4
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 years agoe_output: add e_output_zoom_set and unset function 77/137477/2
Junkyeong Kim [Thu, 6 Jul 2017 05:59:58 +0000 (14:59 +0900)]
e_output: add e_output_zoom_set and unset function

use e_plane pp_commit for pp_zoom.
use ecore_drm_device_touch_transformation_set to change touch area.

Change-Id: I387a77edab37d2db504f6832c58d8505853f0e6b
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 years agoe_plane: add e_plane_zoom_set and e_plane_zoom_unset function 75/137475/2
Junkyeong Kim [Thu, 6 Jul 2017 05:54:09 +0000 (14:54 +0900)]
e_plane: add e_plane_zoom_set and e_plane_zoom_unset function

Change-Id: I790889a37fefb4d038ea4b6c6d0a74f72489d17b
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 years agoe_plane: add e_plane_pp_commit function 76/137376/3
Junkyeong Kim [Wed, 5 Jul 2017 11:13:30 +0000 (20:13 +0900)]
e_plane: add e_plane_pp_commit function

use additional scanout tbm_surface_queue for pp converting.
working sequence: pp convert -> set buffer, commit
use pp converting pending list and pp commit pending list.

Change-Id: I79ae2b3b4eae9cd8f9e886224887af343020f2f5
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 years agoe_config: add use_pp_zoom flag 67/137367/2
Junkyeong Kim [Wed, 5 Jul 2017 10:37:11 +0000 (19:37 +0900)]
e_config: add use_pp_zoom flag

Change-Id: I644c97ac465f14be2b88fc82758cea60dd275a57
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 years agocode cleanup (EAPI -> E_API) 39/137639/1
Doyoun Kang [Fri, 7 Jul 2017 02:24:51 +0000 (11:24 +0900)]
code cleanup (EAPI -> E_API)

Change-Id: Ib9a0d7fa24d385ff2b0bf24cb9d0b1bec694e8b2

7 years agoe_comp_screen: do not rotate pointer in e_comp 46/137246/3
JengHyun Kang [Wed, 5 Jul 2017 05:28:46 +0000 (14:28 +0900)]
e_comp_screen: do not rotate pointer in e_comp

  - rotates pointer in ecore_evas_drm engine
  - e_pointer calculate only window rotation

Change-Id: I93212b70ddc1fce9ea9aaa5d4e0bda8367198086

7 years agoe_comp_object: fix bug for handling the transient_for below window 52/137552/1
Doyoun Kang [Thu, 6 Jul 2017 09:39:28 +0000 (18:39 +0900)]
e_comp_object: fix bug for handling the transient_for below window

There was a bug that the transient_for below window's stack is invalid after running effect.
So, we added code to check the transient_policy of the window before chaning window stack.

Change-Id: I0c0573e55fd092b9c74c63bcad4517dd42a06c30

7 years agoe_output: use primary plane to default fb target 57/137257/2 accepted/tizen/unified/20170707.154423 submit/tizen/20170705.015808
Changyeon Lee [Wed, 5 Jul 2017 05:02:08 +0000 (14:02 +0900)]
e_output: use primary plane to default fb target

this commit is temporary output should use lowest zpos plane
to default fbtarget

Change-Id: I17bf57a8899531b09cf5e63c9bbdbda5321f349b

7 years agoe_comp_wl: don't send touch event while effect running 31/137231/6
Juyeon Lee [Wed, 5 Jul 2017 03:07:29 +0000 (12:07 +0900)]
e_comp_wl: don't send touch event while effect running

Change-Id: I93793fe111cb27524cff5925ce1cc9f117329ede

7 years agoe_plane: fix indentation 05/137205/1
Gwanglim Lee [Wed, 5 Jul 2017 01:51:59 +0000 (10:51 +0900)]
e_plane: fix indentation

Change-Id: Ib13fd63f91c69447425012ebe486de0bc5c6c712

7 years agoe_output: check if the id is null at e_output_find 31/137131/1 submit/tizen/20170705.010527
SooChan Lim [Tue, 4 Jul 2017 11:52:55 +0000 (20:52 +0900)]
e_output: check if the id is null at e_output_find

Change-Id: I533ee3a49a962787b11ba8aa7e51d099c75e4768

7 years agoe_info: check if the eout is null 30/137130/1
SooChan Lim [Tue, 4 Jul 2017 11:52:22 +0000 (20:52 +0900)]
e_info: check if the eout is null

Change-Id: Ia4891e691c2e9edfea9c7f2dd0de3a721f46e85a

7 years agoe_comp_screen: set the fake output configuration 29/137129/1
SooChan Lim [Tue, 4 Jul 2017 10:02:22 +0000 (19:02 +0900)]
e_comp_screen: set the fake output configuration

When there is no connected output, set the fake output
to initalize the ecore_evas engine.

Change-Id: I50f1b6c22fdd15be4a887a1302502b3f78cea232

7 years agoe_output: set the priority at e_output_update 28/137128/1
SooChan Lim [Tue, 4 Jul 2017 09:05:31 +0000 (18:05 +0900)]
e_output: set the priority at e_output_update

The priority of the output has to be set
even when the output is disconnected.

Change-Id: I915fe7b82a5384ed646969dbfbea6feecccb12d6

7 years agoe_info: add version infomation 98/136498/2
Sangjin Lee [Fri, 30 Jun 2017 03:44:46 +0000 (12:44 +0900)]
e_info: add version infomation

Change-Id: I4ac7481f473962646f6246e75ba901eb753e7729

7 years agoe_plane: added e_plane_video_set 10/135910/5
Changyeon Lee [Tue, 4 Jul 2017 07:42:25 +0000 (16:42 +0900)]
e_plane: added e_plane_video_set

Change-Id: I79e6f1597cd110943b2315d18d3159f4c0c12029

7 years agoe_output: set plane that has lowest zpos and support rgb to fb_target 09/135909/5
Changyeon Lee [Tue, 4 Jul 2017 07:35:01 +0000 (16:35 +0900)]
e_output: set plane that has lowest zpos and support rgb to fb_target

Change-Id: I48d9174079eff3468afc4bc9cd15f99cb11944d9

7 years agoe_plane: added e_plane_available_tbm_formats_get 72/137072/2
Changyeon Lee [Tue, 4 Jul 2017 07:31:12 +0000 (16:31 +0900)]
e_plane: added e_plane_available_tbm_formats_get

Change-Id: I799b3bb1cbb0afeb8a12c1997008257e90a3cb9b

7 years agoe_plane: added e_plane_fb_target_set 71/137071/2
Changyeon Lee [Tue, 4 Jul 2017 05:00:06 +0000 (14:00 +0900)]
e_plane: added e_plane_fb_target_set

Change-Id: I2ea8ea977635642f4e02c7a4423f40d2d6f3fdda

7 years agoe_plane: added e_plane_hook 08/135908/5
Changyeon Lee [Tue, 20 Jun 2017 05:42:27 +0000 (14:42 +0900)]
e_plane: added e_plane_hook

Change-Id: I009920b5631f04aba38e2f0d1a4a443b25ba8935

7 years agopolicy:add policy hook feature and client move hook 21/136721/3
Sungbae Park [Mon, 3 Jul 2017 04:46:21 +0000 (13:46 +0900)]
policy:add policy hook feature and client move hook

Signed-off-by: Sungbae Park <sb34.park@samsung.com>
Change-Id: Icc7394c592e4adabf88bd3e108d7d5c35c335d64

7 years agoe_policy_visibility: fix memory leak 42/136942/1
Doyoun Kang [Tue, 4 Jul 2017 00:35:46 +0000 (09:35 +0900)]
e_policy_visibility: fix memory leak

Change-Id: I9c58f8884f1e1e13896f9a2ff2b1e210307f4c14

7 years agoe_main: added sd_notify for sending start-up notification, 83/136883/3
Gwanglim Lee [Mon, 3 Jul 2017 09:21:21 +0000 (18:21 +0900)]
e_main: added sd_notify for sending start-up notification,
since ecore_main_loop_begin in the efl doesn't call that API any longer.

Change-Id: Ie60648ef0f84472927d36ee81d4ec00a2d88b851

7 years agoe_config: add deiconify_approve 27/136627/4
Juyeon Lee [Fri, 30 Jun 2017 10:38:25 +0000 (19:38 +0900)]
e_config: add deiconify_approve

Change-Id: I95e5d15e37e0be1b81e31bbf12a9915a16f844e0