platform/upstream/enlightenment.git
6 years agofloating: allow to move geometry while floating mode set 28/144728/2
Juyeon Lee [Thu, 17 Aug 2017 14:27:11 +0000 (23:27 +0900)]
floating: allow to move geometry while floating mode set

Change-Id: I5294d278affbd58e2b71b6eb21577b2537fa477d

6 years agoe_comp_wl_video: enhance error logs 85/144485/3
Boram Park [Thu, 17 Aug 2017 03:28:07 +0000 (12:28 +0900)]
e_comp_wl_video: enhance error logs

Change-Id: I3fa2d9939e58b8fff041a7c876c8c77e8b6271da

6 years agoremote_surface: do not set null buffer commit while changing the buffer for the H... 04/144504/2
Gwanglim Lee [Thu, 17 Aug 2017 05:11:26 +0000 (14:11 +0900)]
remote_surface: do not set null buffer commit while changing the buffer for the H/W plane

It prevents blinking black screen problem caused by null buffer commit
while unbinding remote surface.

Change-Id: I3623ec07362156d5bdf59332bc1dc496871f3e6e

6 years agovisibility: do not add child window which is obscured by 24bit 01/144501/2
Gwanglim Lee [Thu, 17 Aug 2017 04:58:09 +0000 (13:58 +0900)]
visibility: do not add child window which is obscured by 24bit
parent window to uniconify job list

It prevents uniconify timeout error caused by obscured child
window which doesn't send commit event.

Change-Id: Ic92172fe090ad9f9cee60ad2a295dcef0b8ec001

6 years agoe_comp_screen: add implementation for version 2 of tizen_policy 65/144465/2 accepted/tizen/4.0/unified/20170828.222307 accepted/tizen/unified/20170818.083247 submit/tizen/20170817.045450 submit/tizen_4.0/20170828.100005
JunSeok, Kim [Wed, 16 Aug 2017 07:13:30 +0000 (16:13 +0900)]
e_comp_screen: add implementation for version 2 of tizen_policy

The destructor added to tizen_policy so add the implementation of server
side.

Change-Id: I170a277b4891301aba53ce75747119821c13d34d

6 years agoe_policy_wl: add implementation for version 2 of tizen_display_policy 64/144464/2
JunSeok, Kim [Wed, 16 Aug 2017 07:12:48 +0000 (16:12 +0900)]
e_policy_wl: add implementation for version 2 of tizen_display_policy

The destructor added to tizen_display_policy so add the implementation
of server side.

Change-Id: If4727b13587128cd6b6f22f93a38113acdb1151e

6 years agoe_policy_wl: add implementation for version 2 of tizen_launchscreen 63/144463/2
JunSeok, Kim [Wed, 16 Aug 2017 07:11:39 +0000 (16:11 +0900)]
e_policy_wl: add implementation for version 2 of tizen_launchscreen

The destructor added to tizen_launchscreen so add the implementation of
server side.

Change-Id: I145c9cea46571f0fa65b2462bc3f16d4452df4db

6 years agoe_policy_wl: add implementation for version 2 of tizen_subsurface_watcher 62/144462/2
JunSeok, Kim [Wed, 16 Aug 2017 07:09:48 +0000 (16:09 +0900)]
e_policy_wl: add implementation for version 2 of tizen_subsurface_watcher

The destructor added to tizen_subsurface_watcher so add the
implementation of server side.

Change-Id: I70185096ef5f5a42611fe951267f8e4f3736ac2e

6 years agoe_policy_wl_video: add implementation for version 2 of tizen_video 61/144461/2
JunSeok, Kim [Wed, 16 Aug 2017 05:44:12 +0000 (14:44 +0900)]
e_policy_wl_video: add implementation for version 2 of tizen_video

The destructor added to tizen_video so add the implementation of server
side.

Change-Id: I094f01bf06c04d97a5b42632ed58ed8e1ec1843c

6 years agoe_policy_wl_screenshooter: add implementation for version 2 of tizen_screenshooter 60/144460/2
JunSeok, Kim [Wed, 16 Aug 2017 05:43:22 +0000 (14:43 +0900)]
e_policy_wl_screenshooter: add implementation for version 2 of tizen_screenshooter

The destructor added to tizen_screenshooter so add the implementation of
server side.

Change-Id: I518ae78ff36b3da5443a99b4319c36b150330e83

6 years agoe_policy_wl: add implementation for version 6 of tizen_policy 59/144459/2
JunSeok, Kim [Mon, 14 Aug 2017 02:22:34 +0000 (11:22 +0900)]
e_policy_wl: add implementation for version 6 of tizen_policy

The destructor added to tizen_policy so add the implementation of server side.

Change-Id: I3a18a6ee0a1be371157c3a1b9a7b07d89259e728

6 years agoe_plane: fixed build warning 93/144393/1
Changyeon Lee [Wed, 16 Aug 2017 11:12:35 +0000 (20:12 +0900)]
e_plane: fixed build warning

Change-Id: Id438a76a17e1ee9caf0fb047ca49e064ecd8179b

6 years agoe_plane: do not set ec to plane if plane is trying to unset 04/144304/2 accepted/tizen/unified/20170817.004211 submit/tizen/20170816.102731
Changyeon Lee [Wed, 16 Aug 2017 07:29:47 +0000 (16:29 +0900)]
e_plane: do not set ec to plane if plane is trying to unset

Change-Id: I20a9e225702a00dc1db6fdc760f9fe5728b900e1

6 years agoremove the link of wl_resource destory listener 02/144302/2
Sangjin Lee [Wed, 16 Aug 2017 07:31:11 +0000 (16:31 +0900)]
remove the link of wl_resource destory listener

wl_resource was use the wl_priv_signal for destroy signal from new version of wayland.
unlike the wl_signal, the link of signal should be removed in the destory callback function.
If not, it could the cause of memory crash when instance of link was freed without unlink
in the destroy callback.

Change-Id: Id98e0c6262adbf6c9b3df6f272ab11a199cefb4c

6 years agoe_policy_visibility: add code to handle pol_vis->clients_hast when ec is new_client 06/144306/3
Doyoun Kang [Wed, 16 Aug 2017 07:49:18 +0000 (16:49 +0900)]
e_policy_visibility: add code to handle pol_vis->clients_hast when ec is new_client

there was crashing enlightenment sometimes when it is shutdowned.
it was due to access the freed ec in e_policy_visibility_shutdown().
so, we found the weakness of handling remove ec and fixed it.

Change-Id: If98b1dabce495213660dff94e4d7a92474dc80c5

6 years agoe_policy_conformant: add log for ec's window info 62/144162/2
Doyoun Kang [Tue, 15 Aug 2017 08:46:07 +0000 (17:46 +0900)]
e_policy_conformant: add log for ec's window info

Change-Id: Icdafca676700283683062244492084db7be5de36

6 years agoe_plane: prevent same tbm_surface is set at various layer 38/144038/3 submit/tizen/20170815.115518
Changyeon Lee [Mon, 14 Aug 2017 10:47:30 +0000 (19:47 +0900)]
e_plane: prevent same tbm_surface is set at various layer

Change-Id: I9949483809a22704edc75650dd4e4427d4fcfff2

6 years agoe_plane: reset unset counter of planes when fb_target is set hwc 68/143968/6
Changyeon Lee [Mon, 14 Aug 2017 06:12:51 +0000 (15:12 +0900)]
e_plane: reset unset counter of planes when fb_target is set hwc

Change-Id: I745824780850f6997da8a53fa0e5f99b15126bdc

6 years agoe_info_server: remove build warning 61/144161/1
Doyoun Kang [Tue, 15 Aug 2017 08:44:39 +0000 (17:44 +0900)]
e_info_server: remove build warning

Change-Id: Ib00cb0bce73d8ba76f7de056bb6eef9b235cd281

6 years agofix wrong screen rotation information 17/144017/1
Boram Park [Mon, 14 Aug 2017 08:54:19 +0000 (17:54 +0900)]
fix wrong screen rotation information

Change-Id: I8b8f716f4c5988bc384ee8672465206bab311952

6 years agoe_info_server: svace fix, uninitialized variable 'array_of_string' was passed 93/143993/1
Juyeon Lee [Mon, 14 Aug 2017 07:17:37 +0000 (16:17 +0900)]
e_info_server: svace fix, uninitialized variable 'array_of_string' was passed

Change-Id: Ia2385c7b2ba768fd0b9cbf6671e0c59c81049b5c

6 years agoe_pixmap: dummy id starts from 1 36/143936/1
Juyeon Lee [Mon, 14 Aug 2017 05:07:40 +0000 (14:07 +0900)]
e_pixmap: dummy id starts from 1

Change-Id: If46bb1c156b6385abccf23a7281cae07a0ca6386

6 years agoe_info: change the fps from output fps to layer fps 98/143898/3
SooChan Lim [Sun, 13 Aug 2017 03:53:11 +0000 (12:53 +0900)]
e_info: change the fps from output fps to layer fps

The fps has to be updates per layers(planes), not per output.

Change-Id: Ifa412282435374da8342675c2885c2a957298e02

6 years agoe_plane: add e_plane_fps_get 97/143897/1
SooChan Lim [Sun, 13 Aug 2017 03:52:12 +0000 (12:52 +0900)]
e_plane: add e_plane_fps_get

Change-Id: Ic8c56346c611d758b303caa5fbb58068a85bb513

6 years agoe_plane: update the fps per planes. 96/143896/1
SooChan Lim [Sun, 13 Aug 2017 03:50:11 +0000 (12:50 +0900)]
e_plane: update the fps per planes.

E20 update the screen per planes because
it uses the layer commit. Therefore the fps
has to be updated per planes.

Change-Id: I9cf2c522edaf0b8e6a2aeeb370823f1def6773d7

6 years agoe_output: add e_output_capture function 26/143326/6
Junkyeong Kim [Wed, 9 Aug 2017 08:48:48 +0000 (17:48 +0900)]
e_output: add e_output_capture function

use tdm_capture or e_comp_wl_video_buffer_convert for capture image of output.
if support tdm_capture, use tdm_capture. if not support tdm_capture, use pixman(e_comp_wl_video_buffer_convert).

Change-Id: Ic12ff3cb8037b29b5cb2d8fe42d06ab7baa4f5d0
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agoe_eom: add external output checking function 57/143757/2
Junkyeong Kim [Fri, 11 Aug 2017 07:12:02 +0000 (16:12 +0900)]
e_eom: add external output checking function

if there is any external output, do not init eom. return TRUE.

Change-Id: Idda1521e4dd2bd65a0393e1fd8df33af35f5056e
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agoe_client: revert focus when focused window is out of screen 88/143888/3 submit/tizen/20170813.060819
Doyoun Kang [Sun, 13 Aug 2017 04:50:25 +0000 (13:50 +0900)]
e_client: revert focus when focused window is out of screen

Change-Id: I8bc25b8701b5ef5856d81a28fe321f8201676a85

6 years agoe_comp_wl_video: use buffer_show instead frame_buffer_show in cb_evas_show 26/143526/2
Changyeon Lee [Thu, 10 Aug 2017 08:13:46 +0000 (17:13 +0900)]
e_comp_wl_video: use buffer_show instead frame_buffer_show in cb_evas_show

Change-Id: I81044ea0b6e45ba15698fae10677b61c3151fcaa

6 years agoe_comp: add the option for using the type of e_comp_wl_buffer 68/143668/1 accepted/tizen/unified/20170811.071723 submit/tizen/20170811.024541
SooChan Lim [Thu, 10 Aug 2017 23:43:02 +0000 (08:43 +0900)]
e_comp: add the option for using the type of e_comp_wl_buffer

add use_native_type_buffer option
0 : use tbm buffer type of e_comp_wl_buffer
1 : use native buffer type of e_comp_wl_buffer

Change-Id: I0f4548000c4ab57fbf72b9dbecaf0980933251be

6 years agoorg.enlightenment.wm.conf: fix dbus policy only to permit to the process which has... 51/143451/4
Sung-Jin Park [Thu, 10 Aug 2017 02:34:51 +0000 (11:34 +0900)]
org.enlightenment.wm.conf: fix dbus policy only to permit to the process which has privileged UID

Change-Id: Icfbe7712cc0d0344e9f3b61877a1fd5e55c5bb0d
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
6 years agovisibility: set ec's visibility.changed flag after sending pre-visibility event 64/143464/1 accepted/tizen/unified/20170811.021206 submit/tizen/20170810.065416
Doyoun Kang [Thu, 10 Aug 2017 04:45:42 +0000 (13:45 +0900)]
visibility: set ec's visibility.changed flag after sending pre-visibility event

An app window couldn't get a fully-obscured event when the display is turned off immediately after launching it.
(So, the app couldn't enter the pause state.)

Change-Id: Ia7c06e904b97d3e6516290e6d082aebff6155455

6 years agowl_desktop_shell: add impl for version 2 of tizen_surface 13/143313/4
Sangjin Lee [Wed, 9 Aug 2017 08:38:33 +0000 (17:38 +0900)]
wl_desktop_shell: add impl for version 2 of tizen_surface

the destructor added to tizen_surface so add the implementation of server side

Change-Id: I1fa70faf21c65a34cda2c43e4730ca2fd5da5369

6 years agoe_comp_wl_video: do not commit if waiting_vblank or video_set is true 73/143273/2
Changyeon Lee [Wed, 9 Aug 2017 07:18:51 +0000 (16:18 +0900)]
e_comp_wl_video: do not commit if waiting_vblank or video_set is true

Change-Id: I6c9922d0b6309180545cecbb62140046ffb0df88

6 years agoe_info: remove error message on print module option usage 14/143314/2
JunSeok, Kim [Wed, 9 Aug 2017 08:31:45 +0000 (17:31 +0900)]
e_info: remove error message on print module option usage

Change-Id: Ic7595a2d8085b8ca28fd0b7017d1c81a1a07da37

6 years agoe_comp_wl: remove the destroy_listener link of the e_comp_wl_buffer 79/143379/3
SooChan Lim [Wed, 9 Aug 2017 09:00:11 +0000 (18:00 +0900)]
e_comp_wl: remove the destroy_listener link of the e_comp_wl_buffer

if not destroying, memory can be broken at the time of
calling the signal_emit of the destroy_listener in the
libwayland-server library.

Change-Id: I3e9368b060dcedc53697a60650eac09677829d60

6 years agoadd code to reset launching flag while handling map window 11/143411/1
Doyoun Kang [Wed, 9 Aug 2017 22:49:49 +0000 (07:49 +0900)]
add code to reset launching flag while handling map window

there was a bug that the "e,action,launch_real,done" event was sent twice
in handing map window, ending effect.

Change-Id: I68e48fcaf802ff54fb874860d75a91677ababeed

6 years agovisibility: skip uniconify render on E_ZONE_DISPLAY_STATE_OFF state 41/143341/1
Doyoun Kang [Wed, 9 Aug 2017 09:53:25 +0000 (18:53 +0900)]
visibility: skip uniconify render on E_ZONE_DISPLAY_STATE_OFF state

Change-Id: Ida7e379bcbfa84d7ed75da63132ddd565ab22856

6 years agoadd a configuration to control the priority of application process 35/142935/4
Doyoun Kang [Tue, 8 Aug 2017 02:23:29 +0000 (11:23 +0900)]
add a configuration to control the priority of application process

Change-Id: I6a6a20f7676e7513b85d7396d8b0ed1374f94685

6 years agoe_comp_wl: add E_COMP_WL_HOOK_CLIENT_REUSE hook 64/143264/1
Doyoun Kang [Wed, 9 Aug 2017 07:45:16 +0000 (16:45 +0900)]
e_comp_wl: add E_COMP_WL_HOOK_CLIENT_REUSE hook

Change-Id: Ie64e1b9b326f6e9de7818d30c2c07b313391f733

6 years agoe_info: change file permission 52/143152/2
JunSeok, Kim [Wed, 9 Aug 2017 01:38:50 +0000 (10:38 +0900)]
e_info: change file permission

Change-Id: I4b387bb2a9da2ac7826d704c25bc333ae3a4587b

6 years agoe_info: add 'shutdown' option 34/142934/2
JunSeok, Kim [Tue, 8 Aug 2017 02:09:28 +0000 (11:09 +0900)]
e_info: add 'shutdown' option

-shutdown option kill the enlightenment

usage : enlightenment_info -shutdown

Change-Id: I4c6e4196541506b9344b72a10a39947b9a08a5f4

6 years agoe_info: add 'module' option 69/142869/5
JunSeok, Kim [Thu, 3 Aug 2017 03:49:33 +0000 (12:49 +0900)]
e_info: add 'module' option

-module option can control enlightenment modules

usage : enlightenment_info (list | load | unload)

Commands:
  list : Print the current modules list loaded
  load <module_name> : Load module with the given name
  unload <module_name> : Unload module with the given name

Example:
  enlighenment_info -module load e-mod-tizen-effect
  enlighenment_info -module unload e-mod-tizen-effect

Change-Id: I8bbc7f4259a1887bbd88b938a64490571d7021ea

6 years agoe_plane_renderer: add null checking 56/142656/1
Junkyeong Kim [Mon, 7 Aug 2017 02:58:17 +0000 (11:58 +0900)]
e_plane_renderer: add null checking

Change-Id: Iad88ac969dd68add15eae5722b93f3c81ccb5c9f
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agoe_plane: add null checking 54/142654/1
Junkyeong Kim [Mon, 7 Aug 2017 02:57:51 +0000 (11:57 +0900)]
e_plane: add null checking

Change-Id: I8918bd1a3c85ec3f1a5d67dae072f9d9afbf66f7
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agoadd code to check stopping flag 15/142115/7 accepted/tizen/unified/20170807.150635 submit/tizen/20170804.073252
Doyoun Kang [Wed, 2 Aug 2017 14:08:34 +0000 (23:08 +0900)]
add code to check stopping flag

Change-Id: Ie4b878dc4d79246daebc9223a8cee9b77e322263

6 years agoe_plane_renderer: correct wrong info message 71/142471/2
Hoyub Lee [Fri, 4 Aug 2017 05:03:13 +0000 (14:03 +0900)]
e_plane_renderer: correct wrong info message

Change-Id: Ie249549307ce9621749b9c4a810efbd776518e6e
Signed-off-by: Hoyub Lee <hoyub.lee@samsung.com>
6 years agoe_policy_wl: disalbe window effect for TIZEN_POLICY_WIN_TYPE_NOTIFICATION type 49/142449/1
Juyeon Lee [Fri, 4 Aug 2017 03:13:54 +0000 (12:13 +0900)]
e_policy_wl: disalbe window effect for TIZEN_POLICY_WIN_TYPE_NOTIFICATION type

ELM_WIN_NOTIFICATION type window has no effect

Change-Id: I53efd557df36ac8a7157a4bdbc5927bb98fe9c13

6 years agoe_comp_wl_rms: set latest buffer of the provider to bind_ec 38/142438/2
Changyeon Lee [Fri, 4 Aug 2017 02:42:35 +0000 (11:42 +0900)]
e_comp_wl_rms: set latest buffer of the provider to bind_ec

Change-Id: I166a121bfc1bd99a4fff2674b4a34ee0a9e36ee4

6 years agoe_eom: remove unused variables 97/142397/1
SooChan Lim [Fri, 4 Aug 2017 01:10:02 +0000 (10:10 +0900)]
e_eom: remove unused variables

Change-Id: I3f45f5f420c3c2bc78431dde7d14272eed506260

6 years agoe_eom: disable mirror mode rotate converting temporary 93/142293/1
Junkyeong Kim [Thu, 3 Aug 2017 08:50:28 +0000 (17:50 +0900)]
e_eom: disable mirror mode rotate converting temporary

h/w restriction. cannot rotate converting over 2047x2047 size(exynos).

Change-Id: I39406488513bce0bacfd40cbc2079e720356d678
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agoe_comp_wl_video: do not show external window video from e_comp_wl_video 15/142215/3
Junkyeong Kim [Thu, 3 Aug 2017 05:39:27 +0000 (14:39 +0900)]
e_comp_wl_video: do not show external window video from e_comp_wl_video

external window video will be shown from eom.
after rework of eom this code will be removed.

Change-Id: I4bcdd99308a6499f4aaa6a7a31ccd010ef8deae1
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agoe_output: change name eout -> output 17/142217/2
Junkyeong Kim [Thu, 3 Aug 2017 05:45:23 +0000 (14:45 +0900)]
e_output: change name eout -> output

Change-Id: I1ec7f71f07b0517274ca4c7aa0e57cfa885c1f11
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agoe_plane: remove log when buffer is null 35/142235/1
Changyeon Lee [Thu, 3 Aug 2017 06:24:59 +0000 (15:24 +0900)]
e_plane: remove log when buffer is null

Change-Id: I5ded6a90f759e45a78f34aaeb336d92da3679b97

6 years agoe_eom: support different size buffer commit than external output resolution(presentat... 87/141987/6
Junkyeong Kim [Wed, 2 Aug 2017 07:00:07 +0000 (16:00 +0900)]
e_eom: support different size buffer commit than external output resolution(presentation mode)

make E_EomPpData struct for pp converting.
support showing external ec's subsurface.(video)

Change-Id: I373e825a5ce1e52eeb3b1c91da4ae9a3fa21a4b9
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agoe_eom: add struct _E_Eom_Output_Pp for pp data. 90/141190/4
Junkyeong Kim [Fri, 28 Jul 2017 11:23:24 +0000 (20:23 +0900)]
e_eom: add struct _E_Eom_Output_Pp for pp data.
make _e_eom_output_connected_setup function for code reuse.

Change-Id: Icead0d9a8f0b9f87bceb529f66c98da6f06de2c6
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agoe_eom: use pp_done handler instead of tdm_buffer_release handler for pp converting 60/141160/2
Junkyeong Kim [Fri, 28 Jul 2017 09:26:56 +0000 (18:26 +0900)]
e_eom: use pp_done handler instead of tdm_buffer_release handler for pp converting

Change-Id: I31c162165cbb2dbc814ad0c13e3d3ef914eda6aa
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agoe_comp_screen: fixed corrupted list dereference when deleting E_Output 19/142119/2
Changyeon Lee [Wed, 2 Aug 2017 14:15:54 +0000 (23:15 +0900)]
e_comp_screen: fixed corrupted list dereference when deleting E_Output

Change-Id: I977cf2c543d7a76e79a346047a26c5acb1433a95

6 years agoe_comp: add the null check of eout 18/142118/2
Changyeon Lee [Wed, 2 Aug 2017 14:06:44 +0000 (23:06 +0900)]
e_comp: add the null check of eout

Change-Id: Ide2c26cfc779bad330d9d2d6e19b250bc80022a2

6 years agoe_pixmap: Fix memory corruption in _e_pixmap_tzsurf_shm_cb_flusher_get() 61/141661/3 accepted/tizen/4.0/unified/20170816.011421 accepted/tizen/4.0/unified/20170816.015600 accepted/tizen/unified/20170803.075349 submit/tizen/20170802.073414 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170814.115522 submit/tizen_4.0_unified/20170814.115522
Minsu Han [Tue, 1 Aug 2017 08:31:28 +0000 (17:31 +0900)]
e_pixmap: Fix memory corruption in _e_pixmap_tzsurf_shm_cb_flusher_get()

If ec->pixmap already has ec->pixmap->shm_flusher,
then we should unset user_data.

Change-Id: I42b02542e3140eb3b2abfe98455e1c95096a793b
Signed-off-by: Minsu Han <minsu81.han@samsung.com>
6 years agoe_output: do offscreen commit when dpms of output is off 54/141654/1
Changyeon Lee [Tue, 1 Aug 2017 07:57:05 +0000 (16:57 +0900)]
e_output: do offscreen commit when dpms of output is off

Change-Id: Ife5a3216e19fea612af8b9fe851d68e941d8c5fc

6 years agoe_plane: added e_plane_offscreen_commit 53/141653/1
Changyeon Lee [Tue, 1 Aug 2017 07:56:31 +0000 (16:56 +0900)]
e_plane: added e_plane_offscreen_commit

Change-Id: I17dac6cfaec3b1528eed9128c1acbf14c9e89f92

6 years agoe_desk: fix bug detected by static analysis tool 36/141636/2
Doyoun Kang [Tue, 1 Aug 2017 07:42:08 +0000 (16:42 +0900)]
e_desk: fix bug detected by static analysis tool

Uninitialized data is read from local variable 'ev_ecore_event'.

Change-Id: I464a525b3016844f5172542496f706abacf42c3c

6 years agoe_plane_renderer: used detach protocol when hwc mode change 19/141319/2
Changyeon Lee [Wed, 19 Jul 2017 07:12:28 +0000 (16:12 +0900)]
e_plane_renderer: used detach protocol when hwc mode change

if hwc_use_detach is set to 1, e_plane_renderer use detach protocol
when hwc mode change in reserved memory plane.
Exported buffer doens't be released to queue untill renderer receive
detach request.

Change-Id: I52a1a40da98811ed08f70ad0a9352f54296fefce

6 years agoe_comp: added hwc_use_detach configuration 18/141318/2
Changyeon Lee [Wed, 19 Jul 2017 05:58:58 +0000 (14:58 +0900)]
e_comp: added hwc_use_detach configuration

Change-Id: I45088945c740bbe57fecc822e8285c9ad872f6e0

6 years agoe_plane: add null checking 56/141556/3
Junkyeong Kim [Tue, 1 Aug 2017 04:37:18 +0000 (13:37 +0900)]
e_plane: add null checking

Change-Id: I4581a11280bcb86268120e5fe6caeaef1820c602
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agoe_info_protocol: fix bug detected by static analysis tool 65/141565/1
Doyoun Kang [Tue, 1 Aug 2017 05:02:10 +0000 (14:02 +0900)]
e_info_protocol: fix bug detected by static analysis tool

Change-Id: I17d038c7dc14098d9b2b20de79e43063bc5d9071

6 years agoe_comp_wl: fix bug detected by static analysis tool 51/141551/1
Doyoun Kang [Tue, 1 Aug 2017 04:25:55 +0000 (13:25 +0900)]
e_comp_wl: fix bug detected by static analysis tool

Change-Id: Ic99b533aa6e6705ac71ade566a81db2d2445af82

6 years agoe_comp_screen: fix bug detected by static analysis tool 41/141541/3
Doyoun Kang [Tue, 1 Aug 2017 04:06:16 +0000 (13:06 +0900)]
e_comp_screen: fix bug detected by static analysis tool

Change-Id: I11b49ef26511814bdff9fc0dd25ad23b203da85d

6 years agoe_comp_object: fix bug detected by static analysis tool 40/141540/2
Doyoun Kang [Tue, 1 Aug 2017 04:05:56 +0000 (13:05 +0900)]
e_comp_object: fix bug detected by static analysis tool

Change-Id: I9f2e1ad374424e0c0f71a9d8ae4714b1a579719e

6 years agoe_bindings: fix bug detected by static analysis tool 39/141539/1
Doyoun Kang [Tue, 1 Aug 2017 04:05:04 +0000 (13:05 +0900)]
e_bindings: fix bug detected by static analysis tool

Change-Id: Iecf9ef9592667b2175d3e16f816c4e8abaf865e4

6 years agoadd window's information for debugging log 34/141434/1 submit/tizen/20170731.114126
Doyoun Kang [Mon, 31 Jul 2017 10:47:47 +0000 (19:47 +0900)]
add window's information for debugging log

We added window's information (pid, title, name) for debugging log
when the window is mapped or sent visibility event.

Change-Id: I7cb36ab42af6f96251b59eb56014693bced3c258

6 years agoe_client: fix bug detected by static analysis tool 46/141346/2
Doyoun Kang [Mon, 31 Jul 2017 05:44:37 +0000 (14:44 +0900)]
e_client: fix bug detected by static analysis tool

Change-Id: Ic1382ee6945291fb30efd6813934d1684c555f94

6 years agoe_policy_softkey: fix bug detected by static analysis tool 44/141344/2
Doyoun Kang [Mon, 31 Jul 2017 05:44:11 +0000 (14:44 +0900)]
e_policy_softkey: fix bug detected by static analysis tool

Change-Id: I27ef096b74cdbb6b833023f4e70b1a1fcc9858f6

6 years agoe_bg: fix bug detected by static analysis tool 40/141340/2
Doyoun Kang [Mon, 31 Jul 2017 05:31:18 +0000 (14:31 +0900)]
e_bg: fix bug detected by static analysis tool

Change-Id: I84b295cf208ce5e8f29cacae4a0a0936d68d77f3

6 years agoe_zone: fix bug detected by static analysis tool 36/141336/2
Doyoun Kang [Mon, 31 Jul 2017 05:19:13 +0000 (14:19 +0900)]
e_zone: fix bug detected by static analysis tool

Change-Id: I6e0bd37a6340def0e4d9771f275d79f85e5508ff

6 years agoe_eom: use e_comp_hwc_multi_plane_set instead of e_comp_override function 40/141040/2
Junkyeong Kim [Fri, 28 Jul 2017 02:17:43 +0000 (11:17 +0900)]
e_eom: use e_comp_hwc_multi_plane_set instead of e_comp_override function

Change-Id: I558167102e522d7295ce1396ce5aa2488d403054
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agopolicy: check the use_splash flag while finding visible child window 05/141005/1
Doyoun Kang [Thu, 27 Jul 2017 11:47:37 +0000 (20:47 +0900)]
policy: check the use_splash flag while finding visible child window

there was a bug that the child window was shown twice sometimes when it is using splash image.

Change-Id: If1022a981394cb7104b20f6c4e573f218ff450be

6 years agoe_policy_conformant: add e_policy_conformant_part_update API 51/140851/1 accepted/tizen/unified/20170727.191316 submit/tizen/20170727.044342
Doyoun Kang [Thu, 27 Jul 2017 01:31:32 +0000 (10:31 +0900)]
e_policy_conformant: add e_policy_conformant_part_update API

Change-Id: I32dd50dab63673a78c1bd0ddef5b785d9e6720bd

6 years agoe_dpms: add code to change zone's display state in _e_dpms_set_cb 50/140850/1
Doyoun Kang [Thu, 27 Jul 2017 01:10:51 +0000 (10:10 +0900)]
e_dpms: add code to change zone's display state in _e_dpms_set_cb

Change-Id: Ie5e9c444bbfda40e71489ab04895a909ce752e02

6 years agoe_info: add safety check before memset 94/140194/2
Sangjin Lee [Mon, 24 Jul 2017 05:08:57 +0000 (14:08 +0900)]
e_info: add safety check before memset

Change-Id: I2636b60008fb0ff295fff7a1c1a7ebe0d1b81740

6 years agoRevert "e_comp_wl: don't send touch event while effect running" 59/140759/2
Sung-Jin Park [Wed, 26 Jul 2017 08:27:45 +0000 (17:27 +0900)]
Revert "e_comp_wl: don't send touch event while effect running"

This reverts commit 9a8440d3f448ff4d72d833e144d8b165a7b2cbd8.

Change-Id: I0b64339387837efd10a325a87c95a792af482c46

6 years agopackaging: install winfo as a symbolic link to enlightenment_info 75/140375/3
Sung-Jin Park [Tue, 25 Jul 2017 02:02:00 +0000 (11:02 +0900)]
packaging: install winfo as a symbolic link to enlightenment_info

Change-Id: Id441ad2ae59caebc88182d3e7e82038fa9e0b27c
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
6 years agopackaging: remove write permission from enlightenment binary 57/140357/1
Sung-Jin Park [Tue, 25 Jul 2017 00:45:41 +0000 (09:45 +0900)]
packaging: remove write permission from enlightenment binary

Change-Id: I916c99b733abddcff7bf34a531c38dfef231493f
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
6 years agoe_confg: added explanation about configuration values 86/139886/3
Gwanglim Lee [Fri, 21 Jul 2017 02:34:31 +0000 (11:34 +0900)]
e_confg: added explanation about configuration values

Change-Id: I9a93891d3f286e8c07ec8e813f898a0f1e1766f7

6 years agoe_comp_wl_rsm: change file mode to 644 94/140094/1
Boram Park [Mon, 24 Jul 2017 01:06:20 +0000 (10:06 +0900)]
e_comp_wl_rsm: change file mode to 644

Change-Id: If22866b42ed9130cb60d9218000ff525ec03bf0b

6 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

6 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

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

6 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

6 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

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

6 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

6 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

6 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

6 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