platform/upstream/enlightenment.git
7 years agoe_comp_canvas: manual_render_set in norender_push/pop func if conf->hwc is 0 60/92460/7
Juyeon Lee [Mon, 17 Oct 2016 05:52:05 +0000 (14:52 +0900)]
e_comp_canvas: manual_render_set in norender_push/pop func if conf->hwc is 0

e_plane_render is not working when e_comp->hwc is 0, so
do manually render in this case

Change-Id: I19547ccad516e9ac529335f8bb14a5df534b6773
Signed-off-by: Juyeon Lee <juyeonne.lee@samsung.com>
7 years agoe_slot: find top most client on slot 25/92425/4
Juyeon Lee [Mon, 17 Oct 2016 03:48:23 +0000 (12:48 +0900)]
e_slot: find top most client on slot

Change-Id: I8fb813edca34b959a66cd64aada21fab3ef1f30b
Signed-off-by: Juyeon Lee <juyeonne.lee@samsung.com>
7 years agoe_comp : 1. ERR log added for e_comp_socket_init. 2. delete existing symlink before... 65/92465/3
Junghwan Choi [Mon, 17 Oct 2016 06:07:53 +0000 (15:07 +0900)]
e_comp : 1. ERR log added for e_comp_socket_init. 2. delete existing symlink before creating the symlink

Change-Id: If69fca63c33550a9c0d24a440bd514ce5edd07fb
Signed-off-by: Junghwan Choi <jhhh.choi@samsung.com>
7 years agovisibility: should return true if at least one client is needed to render for deiconi... 58/92558/1
Seunghun Lee [Mon, 17 Oct 2016 06:57:46 +0000 (15:57 +0900)]
visibility: should return true if at least one client is needed to render for deiconifying.

Change-Id: Ia2f465f54150c9eabc78ce9e3d81c60632c64146

7 years agovisibility: add missing 'static' for internal function 57/92557/1
Seunghun Lee [Fri, 14 Oct 2016 09:06:11 +0000 (18:06 +0900)]
visibility: add missing 'static' for internal function

Change-Id: Ie7e5283028c47cfb8f1fcbd0e69f134395fdcb84

7 years agoe_client: fixed a bug for buffer overflow 22/92422/2 accepted/tizen/ivi/20161017.080322 accepted/tizen/mobile/20161017.080230 accepted/tizen/tv/20161017.080246 accepted/tizen/wearable/20161017.080303 submit/tizen/20161017.025753
Doyoun Kang [Mon, 17 Oct 2016 02:44:29 +0000 (11:44 +0900)]
e_client: fixed a bug for buffer overflow

Change-Id: I92a60dc015b734eb12741b4d096ead076941bf21

7 years agoe_client: no visibility calc during norender 49/92149/2
Juyeon Lee [Thu, 13 Oct 2016 11:42:28 +0000 (20:42 +0900)]
e_client: no visibility calc during norender

Change-Id: I9e09eaef5efad98d39e4f1d49613a519fa099cf9

7 years agoe_client: keyboard doesn't change geom when transient parent move 42/92142/2 accepted/tizen/common/20161013.161011 accepted/tizen/ivi/20161014.074518 accepted/tizen/mobile/20161014.074403 accepted/tizen/tv/20161014.074423 accepted/tizen/wearable/20161014.074451 submit/tizen/20161013.120455
Juyeon Lee [Thu, 13 Oct 2016 10:34:26 +0000 (19:34 +0900)]
e_client: keyboard doesn't change geom when transient parent move

Change-Id: I478325facdb000eb38ae25d565882a9cca8006ce

7 years agoe_client: added intercept hook function. 71/92071/1
Doyoun Kang [Thu, 13 Oct 2016 06:35:18 +0000 (15:35 +0900)]
e_client: added intercept hook function.

currently, E_CLIENT_INTERCEPT_HOOK_FOCUS_REVERT hook is provided.

Change-Id: I1e85ad7245dcf04b4f414c8d8f3c02586144068e

7 years agofocus policy: changed the focus policy. 35/92035/1
Doyoun Kang [Thu, 13 Oct 2016 02:52:52 +0000 (11:52 +0900)]
focus policy: changed the focus policy.

previous focus policy was that the top window got the focus always.
we've changed this policy considering latest focus.

Change-Id: I49cb6b62869d844ee8b54ae302e8bac755cca5e3

7 years agoe_comp: remove code that nocomp_use_timer is always 0 47/91947/2 accepted/tizen/common/20161012.154856 accepted/tizen/ivi/20161013.012449 accepted/tizen/mobile/20161013.012406 accepted/tizen/tv/20161013.012420 accepted/tizen/wearable/20161013.012435 submit/tizen/20161012.110306
Juyeon Lee [Wed, 12 Oct 2016 08:46:07 +0000 (17:46 +0900)]
e_comp: remove code that nocomp_use_timer is always 0

Change-Id: If18ddcdd73ed273b76639ea98c0fe67d331f14f1

7 years agohwc: if multi plane mode is disabled, core cancels hwc only about fb target 41/91941/3
Juyeon Lee [Wed, 12 Oct 2016 08:27:59 +0000 (17:27 +0900)]
hwc: if multi plane mode is disabled, core cancels hwc only about fb target

Change-Id: I92a01bd530afe4f7e1a9ff744f4b676c721f6c81

7 years agoe_comp: hwc_mode is enumerated into no, hybird, fully hwc 35/91935/3
Juyeon Lee [Wed, 12 Oct 2016 08:14:44 +0000 (17:14 +0900)]
e_comp: hwc_mode is enumerated into no, hybird, fully hwc

enum added as
 E_HWC_MODE_NO = 0  // no hwc
 E_HWC_MODE_HYBRID, // compositor composites some sufraces on fb plane
 E_HWC_MODE_FULL    // client surfaces are fully assigned on plane, no composite

 hwc_mode will be one of state, and if it is not E_HWC_MODE_FULL,
 refresh cw surface to be composited

Change-Id: I33cc0613a6d457c85f9fb7d18a6c666ec64411dc

7 years agoremove double quotation in ttrace tag 91/91591/2
Changyeon Lee [Mon, 10 Oct 2016 08:54:52 +0000 (17:54 +0900)]
remove double quotation in ttrace tag

browser can't do parsing double quotation.

Change-Id: Ib2476d8539cddd08e9de0e31a2ae2cc061a3af93

7 years agoe_comp_wl: Remove focused list if the surface is destroyed 36/91736/3 accepted/tizen/common/20161011.154405 accepted/tizen/ivi/20161011.234321 accepted/tizen/mobile/20161011.234334 accepted/tizen/tv/20161011.234220 accepted/tizen/wearable/20161011.234236 submit/tizen/20161011.071721
JengHyun Kang [Tue, 11 Oct 2016 06:15:47 +0000 (15:15 +0900)]
e_comp_wl: Remove focused list if the surface is destroyed

Change-Id: Ib01d83eff2ab81b7e15674950399e5c3bc54275f

7 years agoe_comp: Modify arguments name about e_client_mouse_wheel_send() 09/91509/2
JengHyun Kang [Mon, 10 Oct 2016 02:26:12 +0000 (11:26 +0900)]
e_comp: Modify arguments name about e_client_mouse_wheel_send()

Change-Id: I6c2520a7e5609961d98ed4f2cd28f43a1a0f6dc3

7 years agoe_comp_wl: Skip touch move events that be generated before touch down events 96/90696/6
JengHyun Kang [Tue, 4 Oct 2016 01:48:28 +0000 (10:48 +0900)]
e_comp_wl: Skip touch move events that be generated before touch down events

This reverts commit 2f15d823fa6bd90a6f3906ffdc9a4f0778c38699.

Change-Id: Ia9a4a091574c718e3f94def3310b28f78b3691f5

7 years agovisibility: fix a checking code for opaque type. 36/91536/3 accepted/tizen/common/20161010.150005 submit/tizen/20161010.105954
Seunghun Lee [Mon, 10 Oct 2016 06:08:23 +0000 (15:08 +0900)]
visibility: fix a checking code for opaque type.

there was a problem that alpha and non-opaque window was selected as a activity,
because only considered that 0 meant a non-opaque, but -1 also means non-opaque.

Change-Id: Ic64df32f503ca2d29f57bb19843ccd1e291afa2c

7 years agoe_client: add blank API (e_client_cursor_map_apply) to prevent build break in e-mod... 22/91522/2
Duna Oh [Mon, 10 Oct 2016 05:00:04 +0000 (14:00 +0900)]
e_client: add blank API (e_client_cursor_map_apply) to prevent build break in e-mod-tizen-wm-policy

Change-Id: I7ae96d5b2f64cbcae5de6da991abab9c62c4b827
Signed-off-by: Duna Oh <duna.oh@samsung.com>
7 years agoe_info: Modify a protocol trace's time log. real time to monotonic time 17/91517/2
JengHyun Kang [Mon, 10 Oct 2016 04:13:27 +0000 (13:13 +0900)]
e_info: Modify a protocol trace's time log. real time to monotonic time

Change-Id: I8b9cd2b67d1fc52db29b56656ac5c6495602fc24

7 years agoe_plane: correct the layer size information 14/90914/5
Boram Park [Wed, 5 Oct 2016 02:38:33 +0000 (11:38 +0900)]
e_plane: correct the layer size information

Change-Id: I57868132c0747d86a3b7509af17ecd82e8ef7960

7 years agotizen-remote-surface: updated offscreen set and input transfer 94/91394/2
MinJeong Kim [Fri, 7 Oct 2016 07:02:34 +0000 (16:02 +0900)]
tizen-remote-surface: updated offscreen set and input transfer

- support offscreen set/unset
- support bind update
- some renaming for device class
- implement transfer touch cancel/mouse wheel

Change-Id: I7c4764e62cb3f1f933c2355297a855620d6ec939
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
7 years agoe_comp_wl: when canvas is rotated, change uv of cursor image and calls ecore_drm_devi... 68/89368/8
Duna Oh [Fri, 23 Sep 2016 07:56:42 +0000 (16:56 +0900)]
e_comp_wl: when canvas is rotated, change uv of cursor image and calls ecore_drm_device_pointer_rotation_set()

Signed-off-by: Duna Oh <duna.oh@samsung.com>
Change-Id: I809b9ba1d4c688e0d5fab4276935d324d8780b52

7 years agoe_comp_object_effect_part_swallow api add 32/91132/2
Sungbae Park [Thu, 6 Oct 2016 04:30:25 +0000 (13:30 +0900)]
e_comp_object_effect_part_swallow api add

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

7 years agopolicy: send stack changed aux msg after handling activate below request. 79/91379/2 accepted/tizen/common/20161007.173233 accepted/tizen/ivi/20161007.104016 accepted/tizen/mobile/20161007.104101 accepted/tizen/tv/20161007.104032 accepted/tizen/wearable/20161007.104046 submit/tizen/20161007.081241
Doyoun Kang [Fri, 7 Oct 2016 07:50:06 +0000 (16:50 +0900)]
policy: send stack changed aux msg after handling activate below request.

Change-Id: I431b2b0a833c41ef354d8b0571dfae591927cbac

7 years agovisibility: Remove some duplicated code, and rename function more appropriately. 82/91282/2
Seunghun Lee [Thu, 6 Oct 2016 11:27:59 +0000 (20:27 +0900)]
visibility: Remove some duplicated code, and rename function more appropriately.

Change-Id: I379fb8400192154e36d75a84f2d73363742de6d0

7 years agovisibility: Create client data for visibility by a hook, 'E_CLIENT_HOOK_NEW_CLIENT_PO... 81/91281/2
Seunghun Lee [Thu, 6 Oct 2016 12:31:16 +0000 (21:31 +0900)]
visibility: Create client data for visibility by a hook, 'E_CLIENT_HOOK_NEW_CLIENT_POST' instead of 'E_EVENT_CLIENT_ADD'.

There is a problem that if we use 'E_EVENT_CLIENT_ADD', then we cannot fetch
a aux hint into E_Vis_Client. Becase ecore event can be happend later than fetching
aux hint which is called by dispatching wayland protocol.
Thus, we need to create a data, E_Vis_Client by 'E_CLIENT_HOOK_NEW_CLIENT_POST',
so that we can prepare a data before fetching aux hint.

Change-Id: I9792880dbc9d3705f3cdcf2b4d13b9c365278d4f

7 years agovisibility: Added API in order to disable deiconify rendering and make it settable... 80/91280/2
Seunghun Lee [Thu, 6 Oct 2016 11:22:07 +0000 (20:22 +0900)]
visibility: Added API in order to disable deiconify rendering and make it settable by aux hint.

Added New API
e_policy_visibility_deiconify_render_disable_set(E_Client *ec, Eina_Bool disable)

Change-Id: I496e2a5ec4843cdeb4c69113faf2cac81edc5cf1

7 years agoe_comp_canvas: don't manual_render_set in norender_push/pop func 99/91299/1 accepted/tizen/3.0/ivi/20161011.044044 accepted/tizen/3.0/mobile/20161015.033111 accepted/tizen/3.0/tv/20161016.004539 accepted/tizen/3.0/wearable/20161015.082734 accepted/tizen/common/20161006.153843 accepted/tizen/ivi/20161006.235443 accepted/tizen/mobile/20161006.235400 accepted/tizen/tv/20161006.235412 accepted/tizen/wearable/20161006.235426 submit/tizen/20161006.085324 submit/tizen_3.0_ivi/20161010.000002 submit/tizen_3.0_mobile/20161015.000002 submit/tizen_3.0_tv/20161015.000002 submit/tizen_3.0_wearable/20161015.000002
Changyeon Lee [Thu, 6 Oct 2016 14:24:04 +0000 (23:24 +0900)]
e_comp_canvas: don't manual_render_set in norender_push/pop func

e_plane set true manual_render and want don't set false,
because e_plane want control rendering of by manual_render.
if maual_render set false, e20 enter deadlock problem (waiting buffer)

Change-Id: If34594ba4424989f227a33768e1e5316a294d44a

7 years agoe_plane_renderer: remove event lock and always check can acquire 58/91258/9
Sangjin Lee [Thu, 6 Oct 2016 11:37:59 +0000 (20:37 +0900)]
e_plane_renderer: remove event lock and always check can acquire
in nocomp mode if client doesn't update buffer.

we want share only event fd in queue acquirable cb and event acquirable event cb

Change-Id: I36b20ad9a65affd9ce64b45d645dd8c573be2256

7 years agoe_policy: force render for uniconified client having unused shm buffer 46/91246/3
MinJeong Kim [Thu, 6 Oct 2016 10:49:27 +0000 (19:49 +0900)]
e_policy: force render for uniconified client having unused shm buffer

 If there are clients not supporting iconify state change events, those
clients can request wl_surface@commit anytime after being iconfied. but
wl_surface@commit for iconified clients having shm buffer doesn't affect to
its comp object rendering because the comp object is invisible.
 And even if the client is uniconified, it can be never composited if the client
doesn't send new wl_surface@attach.
 So, wl_callback@done is never sent to client as well, and it's possible to
cause block of client-side rendering.

 To resolve the problem, we need to do force render for uniconified client
having unused shm buffer.

Change-Id: I9d227c3a27b5cdaa1b773a174e772f01ed338886
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
7 years agofix savce: use strerror_r instead of strerror 49/90849/2
Juyeon Lee [Tue, 4 Oct 2016 11:23:59 +0000 (20:23 +0900)]
fix savce: use strerror_r instead of strerror

Change-Id: I41006ff266f93d8500c0682320e4c8d0ce802c89

7 years agofix savce: use getpwnam_r, getgrnam_r instead of getpwnam and getgrnam 37/90837/2
Juyeon Lee [Tue, 4 Oct 2016 10:10:54 +0000 (19:10 +0900)]
fix savce: use getpwnam_r, getgrnam_r instead of getpwnam and getgrnam

Change-Id: I3bdaa1d4951b8992a233999e88f08ad9726c59e5

7 years agoe_process: added function - e_process_state_get 81/91181/1
Doyoun Kang [Thu, 6 Oct 2016 06:53:45 +0000 (15:53 +0900)]
e_process: added function - e_process_state_get

Change-Id: I39458543262f7974d8172d3f73904b93f3d044f7

7 years agoe_process: changed E_Process_State enumeration 10/91110/3
Doyoun Kang [Thu, 6 Oct 2016 01:46:21 +0000 (10:46 +0900)]
e_process: changed E_Process_State enumeration

Change-Id: I63b0ec613b66b750073558bd7be2adbc1926d3d8

7 years agodon't null set ec of plane in reserved set 53/90953/1 accepted/tizen/common/20161005.165709 accepted/tizen/ivi/20161005.120109 accepted/tizen/mobile/20161005.120001 accepted/tizen/tv/20161005.120029 accepted/tizen/wearable/20161005.120052 submit/tizen/20161004.080631 submit/tizen_common/20161005.072458
Changyeon Lee [Wed, 5 Oct 2016 06:43:39 +0000 (15:43 +0900)]
don't null set ec of plane in reserved set

Change-Id: I8af7fd5ee951452ebbdb56d957f1b5f2c29a9d77

7 years agoe_plane: fixed build warning (unused variable) 00/90900/2
Doyoun Kang [Wed, 5 Oct 2016 01:58:42 +0000 (10:58 +0900)]
e_plane: fixed build warning (unused variable)

Change-Id: I418ba9f0505e002fa68a27e7026ecc72231cd505

7 years agoe_policy_visibility : check above alpha opaque bug fixed 36/90736/3
Junghwan Choi [Tue, 4 Oct 2016 06:16:36 +0000 (15:16 +0900)]
e_policy_visibility : check above alpha opaque bug fixed

Change-Id: I92a5adb774a4b5d3d64c40da8c0e13f109be86d5
Signed-off-by: Junghwan Choi <jhhh.choi@samsung.com>
7 years agoe_client: Add a API to send a mouse wheel event 64/90464/2
JengHyun Kang [Fri, 30 Sep 2016 07:30:06 +0000 (16:30 +0900)]
e_client: Add a API to send a mouse wheel event

Change-Id: Ibcc234976560df4bc11f665c6c807b54154933d1

7 years agoe_output: separate compositor rendering and output commit 41/90641/2 accepted/tizen/common/20161004.194319
Changyeon Lee [Fri, 30 Sep 2016 07:33:07 +0000 (16:33 +0900)]
e_output: separate compositor rendering and output commit

e_output try to render and commit in idle callback.
e_plane_renderer use eventfd and if compositor enqueue surface,
event fd is writed for calling idle callback in acquirable cb

Change-Id: I5723cd0af8406dfb176ed4157823e5b6082b9dfe

7 years agoset a subsurface buffer to ec even if parent is invisible. 04/90704/2
Boram Park [Fri, 30 Sep 2016 01:37:15 +0000 (10:37 +0900)]
set a subsurface buffer to ec even if parent is invisible.

We want to show a newly-attached subsurface buffer when parent becomes
visble. However, if we keep a subsurface buffer to cache when parent is
invisible, it makes the issue that old buffer can be shown on screen when
parent becomes visible. So we have to set a subsurface buffer to e_pixmap
even if parent is invisble. Instead, we just hide ec->frame until parent's
frame is visible.

Change-Id: I1ae07dba21125b5544ac4ef55ba36e9d85ef1bab

7 years agoe_desk: Make E_Desk has geometry, and clients can be membered to E_Desk's smart object. 68/90468/3
Seunghun Lee [Thu, 29 Sep 2016 02:47:21 +0000 (11:47 +0900)]
e_desk: Make E_Desk has geometry, and clients can be membered to E_Desk's smart object.

By this patch, we can change the geometry of E_Desk, and the geometry of clients
can be also changed by the E_Desk, not E_Zone.

Added New APIs :
E_API void e_desk_client_add(E_Desk *desk, E_Client *ec);
E_API void e_desk_client_del(E_Desk *desk, E_Client *ec);
E_API void e_desk_geometry_set(E_Desk *desk, int x, int y, int w, int h);

Usage in console :
$ enlightenment_info -desktop_geometry_set [X] [Y] [W] [H]

Change-Id: Id728a8d9187e6e513e4f69737f7d2e08a5eadaf5

7 years agoe_pointer: changed order of e_pointer initialization prior to e_comp_init. 45/90345/2
Gwanglim Lee [Thu, 29 Sep 2016 12:01:18 +0000 (21:01 +0900)]
e_pointer: changed order of e_pointer initialization prior to e_comp_init.

Change-Id: I5683b49642aabd4f158bb34d46d2dd69640654f6

7 years agoRevert "Apply the temporal replacement of memcpy to get a performance improvement" 74/90274/3 accepted/tizen/common/20160929.163603 accepted/tizen/ivi/20160929.234009 accepted/tizen/mobile/20160929.233951 accepted/tizen/tv/20160929.233959 accepted/tizen/wearable/20160929.233941 submit/tizen/20160929.085344
MinJeong Kim [Thu, 29 Sep 2016 08:23:18 +0000 (17:23 +0900)]
Revert "Apply the temporal replacement of memcpy to get a performance improvement"

This reverts commit e701b9302ae954a4cfea2fde16ec7dcc849e695a.

Change-Id: I3c94e1cdaf6c30b5c31385c3da67325984ab05bc

7 years agoe_comp: fixed a warning. 39/90039/2
Gwanglim Lee [Wed, 28 Sep 2016 06:08:53 +0000 (15:08 +0900)]
e_comp: fixed a warning.

Inclusion of xattr.h is also moved to e_comp from e_comp_wl for socket init.

Change-Id: I1dda5334ecc2042aae6f3440b066ca480ea2fa8b

7 years agoe_policy_wl: fixed bug for crashing enlightenment 59/89959/1 accepted/tizen/common/20160928.163543 accepted/tizen/ivi/20160928.050618 accepted/tizen/mobile/20160928.050527 accepted/tizen/tv/20160928.050544 accepted/tizen/wearable/20160928.050602 submit/tizen/20160927.231501
Doyoun Kang [Wed, 28 Sep 2016 02:12:10 +0000 (11:12 +0900)]
e_policy_wl: fixed bug for crashing enlightenment

Change-Id: Ica483c542f0d61e29d40672dd72da3f41017dd48

7 years agofixed build break 46/89946/2
Doyoun Kang [Tue, 27 Sep 2016 23:03:58 +0000 (08:03 +0900)]
fixed build break

Change-Id: If8d3df5611db56034c683c2d0b44b49c5ce4ce43

7 years agocreate a bg rectangle only if topmost is valid and doesn't have it 75/89875/1
Boram Park [Tue, 27 Sep 2016 09:01:06 +0000 (18:01 +0900)]
create a bg rectangle only if topmost is valid and doesn't have it

Change-Id: I969648508c55793d4827cedc262932379e3cde4b

7 years agoe_process: added code to check ec->visible while checking freezing condition 60/89860/1 submit/tizen/20160927.093519
Doyoun Kang [Tue, 27 Sep 2016 08:13:30 +0000 (17:13 +0900)]
e_process: added code to check ec->visible while checking freezing condition

Change-Id: I07e6656e1a62b950333137b6733fcddec66fe399

7 years agoe_plane_renderer: check the error condition at the surface creation 99/89799/2
SooChan Lim [Tue, 27 Sep 2016 05:16:20 +0000 (14:16 +0900)]
e_plane_renderer: check the error condition at the surface creation

Change-Id: I28792cac38bc444570e40e8c898f64d5ff05fe33

7 years agoe_policy: added code to send stack change event 70/89770/1
Doyoun Kang [Tue, 27 Sep 2016 02:44:35 +0000 (11:44 +0900)]
e_policy: added code to send stack change event

Change-Id: Iba8810530120200d5329ee7ceb8b74e75aa012fb

7 years agoe_slot: raise slot clients, top most 1st and than raise others below the stack 02/89702/1
Juyeon Lee [Mon, 26 Sep 2016 11:30:05 +0000 (20:30 +0900)]
e_slot: raise slot clients, top most 1st and than raise others below the stack

Change-Id: I1ea722d00b2cf661ac715cfc8409c974f9114498

7 years agoe_comp_wl: create a below-bg-rectangle if topmost has normal subsurfaces 80/88980/4 accepted/tizen/common/20160926.154353 accepted/tizen/ivi/20160927.081046 accepted/tizen/mobile/20160927.082720 accepted/tizen/tv/20160927.083532 accepted/tizen/wearable/20160927.081851 submit/tizen/20160926.083253
Boram Park [Wed, 21 Sep 2016 08:58:33 +0000 (17:58 +0900)]
e_comp_wl: create a below-bg-rectangle if topmost has normal subsurfaces

if topmost has a normal(has UI) subsurface, we have to need to create a
below-bg-rectangle always and a mask object for a e-comp-object to punch it.
And also, we better check if topmost has a normal subsurface than a video
subsurface for HWC.

Change-Id: I580a378cd9bfc58aae8d814b28165dda96de1b48

7 years agoe_comp_wl_input: when gets set_cursor, should calls e_pointer_object_set() 49/88649/4
Duna Oh [Tue, 20 Sep 2016 06:05:08 +0000 (15:05 +0900)]
e_comp_wl_input: when gets set_cursor, should calls e_pointer_object_set()

should set ec->visible as true and etc. only when e_pixmap is usable
update evas_object geometry when mapped.

Signed-off-by: Duna Oh <duna.oh@samsung.com>
Change-Id: I43b98e389669dedcbaeb11e3e313c37c42b2bcfd

7 years agoe_client: removed commented out code for client_grab 15/88915/2
Gwanglim Lee [Wed, 21 Sep 2016 06:05:53 +0000 (15:05 +0900)]
e_client: removed commented out code for client_grab

Change-Id: I05c74305e77300c9d3b52a4db661ee703be0742c

7 years agocleaned up remaining uses of ecore_x 12/88912/2
Gwanglim Lee [Wed, 21 Sep 2016 06:01:52 +0000 (15:01 +0900)]
cleaned up remaining uses of ecore_x

Change-Id: I2e8317a15ddc878373ba42b1d42ad2f8c3fc195a

7 years agoe_remeber: get rid of e_remeber that is unnecessary for the tizen. 01/88901/3
Gwanglim Lee [Wed, 21 Sep 2016 05:50:33 +0000 (14:50 +0900)]
e_remeber: get rid of e_remeber that is unnecessary for the tizen.

Change-Id: I5b9e711a6382628564acae92e20883e025c14e1d

7 years agoe_comp: socket permission init added (change permission and symlink creation) 44/87544/6
Junghwan Choi [Thu, 8 Sep 2016 12:16:44 +0000 (21:16 +0900)]
e_comp: socket permission init added (change permission and symlink creation)

Change-Id: I306f98f5b3f6ad26fc2c6de75633937dbc3f423e
Signed-off-by: Junghwan Choi <jhhh.choi@samsung.com>
7 years agoe_policy_wl/e_service_cbhm : removed tws_cbhm and handle tizen_clipboard interface 03/89403/4
MinJeong Kim [Fri, 23 Sep 2016 09:47:17 +0000 (18:47 +0900)]
e_policy_wl/e_service_cbhm : removed tws_cbhm and handle tizen_clipboard interface

Change-Id: Ic6141f890e8b4b65256f025e2a1b59bc7f136dc5
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
7 years agoadd ASYNC and MARK TTRACE MACRO 15/89315/1
Changyeon Lee [Mon, 5 Sep 2016 12:30:00 +0000 (21:30 +0900)]
add ASYNC and MARK TTRACE MACRO

Change-Id: Id11970eedb45c5189807396c41b1a0dc4540db3b

7 years agoquickpanel: don't clear a variable for stacking client in idle enterer. 08/89308/2
Seunghun Lee [Fri, 23 Sep 2016 05:05:44 +0000 (14:05 +0900)]
quickpanel: don't clear a variable for stacking client in idle enterer.

We need to clear variables of stacking and below clients when the client that is
indicated by these variables is deleted.

Change-Id: If6f46bcaa80f6e90ff9241afdb267d31e989bc7e

7 years agoquickpanel: check a state of indicator out when gesture is happend on indicator object. 07/89307/2
Seunghun Lee [Fri, 23 Sep 2016 02:19:15 +0000 (11:19 +0900)]
quickpanel: check a state of indicator out when gesture is happend on indicator object.

Change-Id: I83469dfd57f183d4d3698150cdc17e22f34a5817

7 years agovisibility: Free a hash for client when module is closed. 06/89306/2
Seunghun Lee [Tue, 20 Sep 2016 23:30:52 +0000 (08:30 +0900)]
visibility: Free a hash for client when module is closed.

Change-Id: I70dd05bcaeeec6c05416cafee7f8d7e0610576c5

7 years agovisibility: do not uniconify window by visibility when the display is turned off 63/89263/3 accepted/tizen/common/20160923.160621 accepted/tizen/ivi/20160925.234217 accepted/tizen/mobile/20160925.234254 accepted/tizen/tv/20160925.234245 accepted/tizen/wearable/20160925.234234 submit/tizen/20160923.025640
Doyoun Kang [Fri, 23 Sep 2016 02:00:43 +0000 (11:00 +0900)]
visibility: do not uniconify window by visibility when the display is turned off

Change-Id: I2ad3bf2e38b6474c6d3186a8464feb4dd54a4492

7 years agoe_focus: raise window if its mode is floating in e_focus_event_mouse_down() 49/88949/1
Doyoun Kang [Wed, 21 Sep 2016 07:26:36 +0000 (16:26 +0900)]
e_focus: raise window if its mode is floating in e_focus_event_mouse_down()

Change-Id: I5601fb58b789e8734863400a8f3f1ff5b5946ffc

7 years agoFixed NULL pointer dereferences 42/88742/2 accepted/tizen/common/20160920.131935 accepted/tizen/ivi/20160920.231744 accepted/tizen/mobile/20160920.231636 accepted/tizen/tv/20160920.231655 accepted/tizen/wearable/20160920.231718 submit/tizen/20160920.023021
MinJeong Kim [Tue, 20 Sep 2016 11:07:41 +0000 (20:07 +0900)]
Fixed NULL pointer dereferences

Change-Id: I616b62ab828604a902b7845e5d77966998c4d84f

7 years agoe_dnd: cleaned up remaining uses of x11 25/88525/1
Gwanglim Lee [Mon, 19 Sep 2016 12:01:04 +0000 (21:01 +0900)]
e_dnd: cleaned up remaining uses of x11

Change-Id: I4e5464caebea520f0d45be61c7cdd68e431c7307

7 years agoe_service_quickpanel: added reference count for a quickpanel client 98/88498/1
Doyoun Kang [Mon, 19 Sep 2016 10:26:15 +0000 (19:26 +0900)]
e_service_quickpanel: added reference count for a quickpanel client

Change-Id: Ie25888c2967fe9c73aa06ceaba3465f78d1df82a

7 years agoe_policy_wl: send a quickpanel_state_change event to tzsh_client resources 94/88494/2
Doyoun Kang [Mon, 19 Sep 2016 10:12:36 +0000 (19:12 +0900)]
e_policy_wl: send a quickpanel_state_change event to tzsh_client resources

We sent a quickpanel_state_change event to only one tzsh_client.
So, another tzsh_client didn't get a quickpanel_state_change event.

Change-Id: I90a626bcf9ab1e648ec3d96bd60d4cd4ef923c95

7 years agowl_desktop_shell: unreference e_object of e_client when shell surface is destroyed.. 34/88434/1
Seunghun Lee [Mon, 19 Sep 2016 05:04:58 +0000 (14:04 +0900)]
wl_desktop_shell: unreference e_object of e_client when shell surface is destroyed..

Change-Id: I98282489ab98ad1429669f8168feee4502edc281

7 years agoe_comp_wl: cursor_timer calls e_pointer_object_set(, NULL,) for unsetting the cursor 60/88060/1
Duna Oh [Tue, 13 Sep 2016 05:47:06 +0000 (14:47 +0900)]
e_comp_wl: cursor_timer calls e_pointer_object_set(, NULL,) for unsetting the cursor

It caused cursor timer couldn't hide cursor.

Signed-off-by: Duna Oh <duna.oh@samsung.com>
Change-Id: Ifa69199551035fe2083673183e66e1a44e2a91db

7 years agoSupport tizen_remote_surface protocol 25/88025/1 accepted/tizen/common/20160912.181911 accepted/tizen/ivi/20160913.041953 accepted/tizen/mobile/20160913.041902 accepted/tizen/tv/20160913.041918 accepted/tizen/wearable/20160913.041938 submit/tizen/20160912.142117
MinJeong Kim [Mon, 12 Sep 2016 14:06:11 +0000 (23:06 +0900)]
Support tizen_remote_surface protocol

Change-Id: I95ce40da43b7a4ca097a92e606f66e4e9e9c3adb
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
7 years agoe_comp_wl_tbm: added remote buffer get API 92/87892/4
MinJeong Kim [Mon, 12 Sep 2016 05:06:09 +0000 (14:06 +0900)]
e_comp_wl_tbm: added remote buffer get API

Change-Id: I618bb54bd83d9c4dc9673021de6229b1f45fc723
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
7 years agoRevert "e_comp_wl: Skip touch move events that be generated before touch down events" 18/88018/1
Gwanglim Lee [Mon, 12 Sep 2016 12:46:00 +0000 (21:46 +0900)]
Revert "e_comp_wl: Skip touch move events that be generated before touch down events"

This reverts commit e0bef963d704f1e2e131e46981cd33b7ef417a0d.

Change-Id: If4b00ce8bb73a9f41c5d51f9ec5d7cd3936f6ca2
Signed-off-by: Gwanglim Lee <gl77.lee@samsung.com>
7 years agoe_comp_wl: Do not send h/w key release in focus out 59/87259/3
JengHyun Kang [Wed, 7 Sep 2016 07:18:26 +0000 (16:18 +0900)]
e_comp_wl: Do not send h/w key release in focus out
 - Normal keys are controlled by key press / release and focus changed.
   But H/W keys (controlled by key router) can make focus changed and window stack changed. So if we send H/W keys release events when focus is out, it makes confuse to user.
   So H/W key events are only send at real key press / release time.

Change-Id: I3b0e545ac43c0798eb8af591664a2854f9f0747d

7 years agoe_info: add subsurface option to get subsurface information 02/87402/4
Boram Park [Wed, 7 Sep 2016 04:46:18 +0000 (13:46 +0900)]
e_info: add subsurface option to get subsurface information

Change-Id: Iffc3effea16cf437a4f3727448dbe9f9b4c511f1

7 years agoe_comp_wl: make sure setting alpha and creating a bg rect for subsurface 03/87403/4
Boram Park [Thu, 8 Sep 2016 01:17:01 +0000 (10:17 +0900)]
e_comp_wl: make sure setting alpha and creating a bg rect for subsurface

Sometimes, the parent's commit never happens after the subsurface's commit.
In this case, the setting alpha and creating a bg rect could be skipped.

Change-Id: I6be1a8e554f4ed44d040e92e245af9afbf5761b7

7 years agoe_comp_wl: Skip touch move events that be generated before touch down events 31/87631/2
JengHyun Kang [Fri, 9 Sep 2016 02:23:00 +0000 (11:23 +0900)]
e_comp_wl: Skip touch move events that be generated before touch down events

Change-Id: I4b641372ab81fd072230a5c5a9fb2afcc0b0b55a

7 years agoe_plane: use width and height of surface when layer set info. 79/87779/3
Changyeon Lee [Fri, 9 Sep 2016 10:19:58 +0000 (19:19 +0900)]
e_plane: use width and height of surface when layer set info.

ec dosen't have width and height of real buffer.
layer info need to set real buffer width and height.

Change-Id: I2be6b6f3a980b233319ad837f626b67173ae9b8d

7 years agoe_comp: client don't use hwc if buffer use sync time line 78/87478/4
Changyeon Lee [Wed, 7 Sep 2016 12:05:18 +0000 (21:05 +0900)]
e_comp: client don't use hwc if buffer use sync time line

if app use sync time line and hwc at the same time, app has deadlock problem
this is temporary patch. if problem will be fixed, patch will be reverted

Change-Id: Ie64a316ce627c6c0ae490e7a80174c4cec6a5a25

7 years agoe_policy_visibility: fix the bug that returns false in intercept_hide. 48/87748/2
Seunghun Lee [Fri, 9 Sep 2016 08:44:29 +0000 (17:44 +0900)]
e_policy_visibility: fix the bug that returns false in intercept_hide.

it caused cursor couldn't be hidden.

Change-Id: I6a9b6748fbdabb4895ec8a973f78ec8b875be5eb

7 years agoe_comp_wl: make subsurfaces execute commit if top-parent ec is set redirected to... 20/87720/2
Junkyeong Kim [Fri, 9 Sep 2016 07:46:48 +0000 (16:46 +0900)]
e_comp_wl: make subsurfaces execute commit if top-parent ec is set redirected to false.

Change-Id: Ie7624ad8d1a97bfcff13662cdc67d8124d8177a5
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 years agoe_service_quickpanel: move code for cancelation of touch events to quickpanel from... 80/87480/2
Seunghun Lee [Thu, 8 Sep 2016 07:34:20 +0000 (16:34 +0900)]
e_service_quickpanel: move code for cancelation of touch events to quickpanel from gesture module.

I think we have not to raise the event of cancelation of touch in case
indicator state is off or unknown.

Change-Id: Id6a37049057eec29a5ae57c65183283e8c388714

7 years agoe_client: Add a API to send a touch cancel event 92/86992/3
JengHyun Kang [Tue, 6 Sep 2016 01:54:09 +0000 (10:54 +0900)]
e_client: Add a API to send a touch cancel event

Change-Id: Ia7a4034f36ee965e40900e23090676b5f25af998

7 years agoe_pixmap: send flush buffer event to client before clear a comp object. 41/87141/1
Seunghun Lee [Tue, 6 Sep 2016 12:46:14 +0000 (21:46 +0900)]
e_pixmap: send flush buffer event to client before clear a comp object.

to clear comp object made cp->buffer to null.
finally, the code to send flush event didn't work.

Change-Id: Ia18e9214c989fc3c4ed2e567354eb997b3cfa791

7 years agowl_desktop_shell: fix the bug that couldn't hide a not deleted client when xdg_shell... 24/87124/2 accepted/tizen/common/20160906.131411 accepted/tizen/ivi/20160907.060402 accepted/tizen/mobile/20160907.060245 accepted/tizen/tv/20160907.060313 accepted/tizen/wearable/20160907.060340 submit/tizen/20160906.071027
Seunghun Lee [Tue, 6 Sep 2016 10:53:18 +0000 (19:53 +0900)]
wl_desktop_shell: fix the bug that couldn't hide a not deleted client when xdg_shell is destroyed.

Change-Id: Ieec65c5dbbefeba878ab32afeaee6d75763fbb40

7 years agoe_info_server: fix log regarding hwc 22/87122/1
Juyeon Lee [Tue, 6 Sep 2016 11:06:45 +0000 (20:06 +0900)]
e_info_server: fix log regarding hwc

Change-Id: I824415122f0b39760bf84394a0fa9256834013f8

7 years agoenlightenment_info: added e_slot command 23/86923/5
Juyeon Lee [Mon, 5 Sep 2016 12:20:10 +0000 (21:20 +0900)]
enlightenment_info: added e_slot command

Change-Id: I1da721523244ff0f59c612d78c5fcaa0aa51a250

7 years agoe_pointer: check whether e_client is deleted cleaning previous pointer object. 59/87059/2
Seunghun Lee [Tue, 6 Sep 2016 06:36:46 +0000 (15:36 +0900)]
e_pointer: check whether e_client is deleted cleaning previous pointer object.

Change-Id: I80314d41f5cc8df33d542cfddd87facb87dd9ab8

7 years agoe_comp_wl: added comp_data null check instead of e_object_is_del. 28/87028/1
Gwanglim Lee [Tue, 6 Sep 2016 05:14:15 +0000 (14:14 +0900)]
e_comp_wl: added comp_data null check instead of e_object_is_del.

wl_callback resource leak could occur if we use e_object_is_del.

Change-Id: I0ff8cd4c509b6223836ceae04ba8e80d7cdc3209

7 years agoe_comp_wl: fixed a crash when destroying an wl_client. 21/87021/1
Gwanglim Lee [Tue, 6 Sep 2016 04:49:44 +0000 (13:49 +0900)]
e_comp_wl: fixed a crash when destroying an wl_client.

The crash occurs when trying to destroy wl_client which is disconnected.

In this case, E_Client was already deleted but wl_callback resource is not
destroyed because it is in ec->comp_data->pending.frames list and E_Client
didn't clean up its pending.frames list when freeing.

Change-Id: I7371dfaad38cfe757d0477674baa10e981bf4591

7 years agoe_slot: fix bug when ec is replaced on another slot 22/86922/1 submit/tizen/20160905.105032
Juyeon Lee [Mon, 5 Sep 2016 12:18:26 +0000 (21:18 +0900)]
e_slot: fix bug when ec is replaced on another slot

Change-Id: I5a2716ff8a8a6bf6cb86ab391732cfc216003f0a

7 years agoe_client: Add a time argument in input events send functions 26/86826/4
JengHyun Kang [Mon, 5 Sep 2016 06:01:10 +0000 (15:01 +0900)]
e_client: Add a time argument in input events send functions

Change-Id: I15d43dc6f810204a9e16cf4e4b56b89737570e64

7 years agoe_policy_visibility: Add deiconifying process for client which is iconified. 05/86105/4
Seunghun Lee [Thu, 18 Aug 2016 02:08:22 +0000 (11:08 +0900)]
e_policy_visibility: Add deiconifying process for client which is iconified.

According to current policy, iconified client won't be rendering.
Thus the server should give a time to update canvas of client before
showing their surface, and should not hide the client placed above iconified
client until iconified client becomes uniconied and updated once.

Change-Id: Ide9ac07c75a7d503af295b3614ad025f5cdf19c2

7 years agoGive a control of destruction to each objects real uses buffer. 03/82403/8
Seunghun Lee [Sun, 31 Jul 2016 23:12:51 +0000 (08:12 +0900)]
Give a control of destruction to each objects real uses buffer.

Change-Id: I211ffe3957d551f17a938c545eac00c8db332d49

7 years agoe_comp_object: set null to native surface when the resource of native buffer is destr... 19/84919/5
Seunghun Lee [Wed, 27 Jul 2016 05:32:58 +0000 (14:32 +0900)]
e_comp_object: set null to native surface when the resource of native buffer is destroyed.

Change-Id: I016bcd975fd0cb9df6864e25077f5896eee2209c

7 years agoAdvance the edje init timing 01/86401/2
Seungjin Park [Thu, 1 Sep 2016 04:30:39 +0000 (13:30 +0900)]
Advance the edje init timing

Signed-off-by: Seungjin Park <sj8808.park@samsung.com>
Change-Id: Ibd0f56d92df24016982c47f7d94506a9c1c404c3

7 years agoe_test_helper: fixed a build error. 51/86851/1
Gwanglim Lee [Mon, 5 Sep 2016 07:41:11 +0000 (16:41 +0900)]
e_test_helper: fixed a build error.

Change-Id: I0a32712ad96a37dc94e9a59160ee52b5ed63ceff

7 years agoe_process: fix the problem that turn into a infinite loop while freeing inlist. 16/86816/2
Seunghun Lee [Mon, 5 Sep 2016 05:04:34 +0000 (14:04 +0900)]
e_process: fix the problem that turn into a infinite loop while freeing inlist.

According to note of EINA_INLIST_FREE(),
NOTE: it is the duty of the body loop to properly remove the item from the
inlist and free it. This function will turn into a infinite loop if you
don't remove all items from the list.

Change-Id: Iaa5ee885d754d493f5a74feb2364045993f5fef9

7 years agoe_plane: added an E_Event_Plane_Win_Change event. 87/86587/5
Gwanglim Lee [Fri, 2 Sep 2016 04:12:01 +0000 (13:12 +0900)]
e_plane: added an E_Event_Plane_Win_Change event.

This event happens when e_plane has changed its buffer.

Change-Id: I0ac4edf79d21d5ac58f7895a09294aa668ec5149