platform/upstream/enlightenment.git
7 years agoe_info: prevents calling evas_object_image_alpha_get from the non-image type. 63/101563/3
Gwanglim Lee [Thu, 1 Dec 2016 11:53:11 +0000 (20:53 +0900)]
e_info: prevents calling evas_object_image_alpha_get from the non-image type.

Change-Id: I18a7cef07a50afaeadbd62615b440c38324c33ac

7 years agoe_info: added 'simple' option to compobjs command. 59/101359/5
Gwanglim Lee [Thu, 1 Dec 2016 04:13:43 +0000 (13:13 +0900)]
e_info: added 'simple' option to compobjs command.

It will show simple information about composite objects.
e.g., enlightenment_info -compobjs simple

Change-Id: I1f221490cd0ffa6e18b165432b2f939b027e828a

7 years agoe_comp_wl_rsm: do not check visibility for input transfer requests 77/101777/1
MinJeong Kim [Fri, 2 Dec 2016 01:50:39 +0000 (10:50 +0900)]
e_comp_wl_rsm: do not check visibility for input transfer requests

Change-Id: I80983f6ec2e819b4bdfb9c75c048e282d1b36bf0

7 years agoquickpanel: do not set the type to dependent rotation about quickpanel 38/101738/1
Seunghun Lee [Fri, 2 Dec 2016 05:08:39 +0000 (14:08 +0900)]
quickpanel: do not set the type to dependent rotation about quickpanel

it causes the problem that quickpanel couldn't be rotated by follows commit.
We don't need to set dependent rotation because the behavior of dependent
rotation is changed.

e-mod-tizen-wm-policy : caa2f116d92871a775e10e693a841f8d3955a881

Change-Id: I168f7f37b638b91ef5791285c83ae6eddfc08fa5

7 years agohwc: explicit cancel if fb plane failed surface assign 74/101374/4 accepted/tizen/3.0/common/20161203.012536 accepted/tizen/3.0/ivi/20161202.011540 accepted/tizen/3.0/mobile/20161202.011443 accepted/tizen/3.0/tv/20161202.011500 accepted/tizen/3.0/wearable/20161202.011516 accepted/tizen/common/20161201.140036 accepted/tizen/ivi/20161202.010119 accepted/tizen/mobile/20161202.010016 accepted/tizen/tv/20161202.010037 accepted/tizen/wearable/20161202.010103 submit/tizen/20161201.124451 submit/tizen_3.0/20161201.124537
Juyeon Lee [Thu, 1 Dec 2016 04:58:18 +0000 (13:58 +0900)]
hwc: explicit cancel if fb plane failed surface assign

Change-Id: I9d864d647e1799ce96b50f99f7d311a48c43060f

7 years agoRevert "Do not set hidden when surface is destroied" 89/101489/1
MinJeong Kim [Thu, 1 Dec 2016 09:02:46 +0000 (18:02 +0900)]
Revert "Do not set hidden when surface is destroied"

This reverts commit 5d96e80d1606ccd630cd90ad48b292d1ed31b169.

Change-Id: Iba3510ed9fe88d0de14cc468e3e0c55a6f52738a

7 years agoe_policy_wl: removed code checking whether the window is in the screen while handling... 88/101288/1 accepted/tizen/3.0/common/20161201.135301 accepted/tizen/3.0/ivi/20161201.032249 accepted/tizen/3.0/mobile/20161201.032150 accepted/tizen/3.0/tv/20161201.032211 accepted/tizen/3.0/wearable/20161201.032229 accepted/tizen/common/20161201.135806 accepted/tizen/ivi/20161130.233651 accepted/tizen/mobile/20161130.233543 accepted/tizen/tv/20161130.233615 accepted/tizen/wearable/20161130.233636 submit/tizen/20161130.140306 submit/tizen_3.0/20161130.140438
Doyoun Kang [Wed, 30 Nov 2016 13:54:56 +0000 (22:54 +0900)]
e_policy_wl: removed code checking whether the window is in the screen while handling move request.

there was a bug that the window didn't move to out of screen.

Change-Id: Ib8b83e69a549c1bcdfe3f5880e00ce00b3cba98a

7 years agoe_info: fixed wrong traversal for compobjs. 76/101276/3
Gwanglim Lee [Wed, 30 Nov 2016 13:31:41 +0000 (22:31 +0900)]
e_info: fixed wrong traversal for compobjs.

added support for image and edje information.

Change-Id: I55dabbe8f4b55e4f1772dd49225cd394d66051e6

7 years agoaux: added an aux_hint type to support dependent rotation 16/101216/2
Doyoun Kang [Wed, 30 Nov 2016 11:54:08 +0000 (20:54 +0900)]
aux: added an aux_hint type to support dependent rotation

Change-Id: I5a44701a17399bc812787ed8ac4f9c34e01b8337

7 years agosvace fix 64/100964/4
Juyeon Lee [Wed, 30 Nov 2016 04:01:07 +0000 (13:01 +0900)]
svace fix

Change-Id: I8b13dbeab9825cff2b4e8fcbf1b3462d7c1fb2cd

7 years agoe_config : add aux_hint_supported_list to e_config 13/97213/4 accepted/tizen/3.0/common/20161130.065359 accepted/tizen/3.0/ivi/20161130.013149 accepted/tizen/3.0/mobile/20161130.013054 accepted/tizen/3.0/tv/20161130.013113 accepted/tizen/3.0/wearable/20161130.013129 accepted/tizen/common/20161129.173704 accepted/tizen/ivi/20161130.015810 accepted/tizen/mobile/20161130.015717 accepted/tizen/tv/20161130.015735 accepted/tizen/wearable/20161130.015749 submit/tizen/20161129.125210 submit/tizen_3.0/20161129.125357
Junghwan Choi [Fri, 11 Nov 2016 11:48:06 +0000 (20:48 +0900)]
e_config : add aux_hint_supported_list to e_config

Change-Id: I17a487734603f72fecb72e79feaf5670513d8401
Signed-off-by: Junghwan Choi <jhhh.choi@samsung.com>
7 years agoe_comp_wl: hide subsurface instead iconify it 80/100880/2
Boram Park [Tue, 29 Nov 2016 12:16:53 +0000 (21:16 +0900)]
e_comp_wl: hide subsurface instead iconify it

When iconified, attached buffer will be released. And client should
attach a buffer again when uniconified. This seems not proper operation
for subsurfaces.

Change-Id: Ifef9aa656cb8e447ee0c050172fb215a837dd792

7 years agohwc: join cursor surface on hwc policy 87/100787/5
Juyeon Lee [Tue, 29 Nov 2016 06:46:52 +0000 (15:46 +0900)]
hwc: join cursor surface on hwc policy

Change-Id: I33d469fc7edfb097974b4b20519d0965c1764042

7 years agohwc: enable surface to surface change 06/100706/4
Juyeon Lee [Tue, 29 Nov 2016 02:20:19 +0000 (11:20 +0900)]
hwc: enable surface to surface change

Change-Id: I4b1cbba4fd4d315b1e937993d1fdadac48c5605c

7 years agoenlightenment_info: fix topvwins hwc window info 19/100619/4
Juyeon Lee [Mon, 28 Nov 2016 14:52:23 +0000 (23:52 +0900)]
enlightenment_info: fix topvwins hwc window info

Change-Id: If6037e8378cc8ceca8e04dd845f5507a3a269103

7 years agohwc: clean up prepare adding _hwc_available_get and _hwc_prepare_init 94/98494/10
Juyeon Lee [Thu, 17 Nov 2016 10:59:02 +0000 (19:59 +0900)]
hwc: clean up prepare adding _hwc_available_get and _hwc_prepare_init

Change-Id: I387d6854d54cfc91fc7764dcf2d8df661bdb88f8

7 years agoe_output: set available size of cursor 14/99714/4
Changyeon Lee [Thu, 17 Nov 2016 09:49:49 +0000 (18:49 +0900)]
e_output: set available size of cursor

- if size of cursor less then minmum size,
  e_plane_renderer create hwc buffer with minimum size.

Change-Id: Ia40e7af0a3a3511b9ccd78f62e9388d226ed5e05

7 years agoe_pointer: supported hwc for cursor 33/99833/7
Changyeon Lee [Thu, 17 Nov 2016 09:49:18 +0000 (18:49 +0900)]
e_pointer: supported hwc for cursor

- Added e_pointer_hwc_set and e_pointer_get
- If e_pointer sets hwc, it sets hwc_update without moving evas object.
  When e_pointer turns off hwc mode, e_pointer moves and rotate evas obejct.
- Current e_pointer doesn't support rotation with hwc.
  so when e_pointer is set, it forces into compositing mode.

Change-Id: Id47aca4f47e72fd1faed25c05e21ba26684484b4

7 years agoe_plane_renderer: create backup buffer with display surface when buffer is destroyed 70/100270/9
Changyeon Lee [Wed, 2 Nov 2016 02:26:56 +0000 (11:26 +0900)]
e_plane_renderer: create backup buffer with display surface when buffer is destroyed

- if nocomp client destroy attached buffer when e20 change mode to composite,
  e_plane_renderer creates a backup buffer with display surface.
  this is because the effect effect module wants to use native surface.

Change-Id: I1e720829902a36a02a71fc276380e21a0b76781d

7 years agoe_plane: supported hwc for cursor 38/100038/10
Changyeon Lee [Thu, 17 Nov 2016 11:37:08 +0000 (20:37 +0900)]
e_plane: supported hwc for cursor

- if plane is set ec which has cursor policy, plane works cursor plane role.
- when hwc_cursor_buffer_reuse is set, plane reuse buffer of cursor if possible.

Change-Id: Ia1d0a20129679af575af6445e593fba4a354b0c2

7 years agoe_client: Add visibility force_obscured feature 46/97646/9
Seungjin Park [Tue, 15 Nov 2016 02:14:53 +0000 (11:14 +0900)]
e_client: Add visibility force_obscured feature

Change-Id: Ic160f5f96ce6eca6ddae5672481274a4095819ab
Signed-off-by: Seungjin Park <sj8808.park@samsung.com>
7 years agomirror obj's ec client data name change 26/99426/2
Sungbae Park [Wed, 23 Nov 2016 01:19:02 +0000 (10:19 +0900)]
mirror obj's ec client data name change

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

7 years agoe_comp_object: do not clear surface when buffer is destroied 79/100179/2
MinJeong Kim [Wed, 16 Nov 2016 12:06:31 +0000 (21:06 +0900)]
e_comp_object: do not clear surface when buffer is destroied

enlightenment has the right to deal with a buffer even if a client requested
wl_buffer@destroy. So the enlightenment doesn't need to clear surface or
to delete evas object for wl_buffer@destroy when the enlightenment wants to
continue to display the buffer, enlightenment can use the destroied buffer
until there are no task to need the destroied buffer.

Change-Id: I84845bbb4a828ac763142386e65361b4e599598d
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
7 years agoDo not set hidden when surface is destroied 78/100178/2
MinJeong Kim [Wed, 16 Nov 2016 08:00:15 +0000 (17:00 +0900)]
Do not set hidden when surface is destroied

Change-Id: I5d72417bdce637dd061ffcf1bc0d09a9fdeff835

7 years agoe_service_quickpanel: added code checking the current focus window is quickpanel... 26/100526/1 accepted/tizen/3.0/common/20161129.103301 accepted/tizen/3.0/ivi/20161129.002212 accepted/tizen/3.0/mobile/20161129.002128 accepted/tizen/3.0/tv/20161129.002147 accepted/tizen/3.0/wearable/20161129.002200 accepted/tizen/common/20161128.170848 accepted/tizen/ivi/20161129.001644 accepted/tizen/mobile/20161129.001546 accepted/tizen/tv/20161129.001608 accepted/tizen/wearable/20161129.001624 submit/tizen/20161128.121314 submit/tizen_3.0/20161128.121222
Doyoun Kang [Mon, 28 Nov 2016 10:15:49 +0000 (19:15 +0900)]
e_service_quickpanel: added code checking the current focus window is quickpanel or not.

there was a bug that the quickpanel was hidden immediately when it was shown.
(if the quickpanel could get the focus).

Change-Id: I67c27784a5af3797489514f3180d345e3ced74e1

7 years agoe_policy_wl: remove code to handle unused roles 09/100309/1
Doyoun Kang [Sat, 26 Nov 2016 05:30:22 +0000 (14:30 +0900)]
e_policy_wl: remove code to handle unused roles

Change-Id: Id5b7307729ec8581cdf7081420b777fb944cb01b

7 years agoe_policy_conformant: remove unnecessary error logs 08/100308/1
Doyoun Kang [Sat, 26 Nov 2016 05:06:15 +0000 (14:06 +0900)]
e_policy_conformant: remove unnecessary error logs

Change-Id: Ida633cbe3cb910789196103ebc9de880dc0640f3

7 years agoe_comp_object: fixed size update problem for H/W composited cw. 76/100276/2 accepted/tizen/3.0/common/20161128.091608 accepted/tizen/3.0/ivi/20161128.084948 accepted/tizen/3.0/mobile/20161128.084813 accepted/tizen/3.0/tv/20161128.084841 accepted/tizen/3.0/wearable/20161128.084918 accepted/tizen/common/20161128.064140 accepted/tizen/ivi/20161128.001026 accepted/tizen/mobile/20161128.000931 accepted/tizen/tv/20161128.000949 accepted/tizen/wearable/20161128.001009 submit/tizen/20161126.034005 submit/tizen_3.0/20161126.033048
Gwanglim Lee [Fri, 25 Nov 2016 13:14:55 +0000 (22:14 +0900)]
e_comp_object: fixed size update problem for H/W composited cw.

The size of non-compositing window can be changed, so there is a
need to check that cw is H/W composited if cw is not redirected.
And of course we have to change size of evas object of H/W composited cw,
otherwise cw can't receive input events even if it is shown on the screen.

Change-Id: I9a126bdcb7c1ad0be11e9fd3c4e8df3804f4a1fc

7 years agoe_info: added support for the compobjs command. 30/100230/3
Gwanglim Lee [Fri, 25 Nov 2016 10:20:32 +0000 (19:20 +0900)]
e_info: added support for the compobjs command.

It shows detailed information of all composite objects.

Change-Id: Ib303f15c464883a609a9f1bc12e99885fdf73542

7 years agoe_process: changed code to set BG_STATE when all windows are hidden. 86/100086/2
Doyoun Kang [Fri, 25 Nov 2016 06:05:33 +0000 (15:05 +0900)]
e_process: changed code to set BG_STATE when all windows are hidden.

Change-Id: I2c41efe2c8409ac1c8205bc6d72b4f328bb77a4f

7 years agoprocess/conformant: Remove unnecessary error logs 08/100108/1
Seungjin Park [Fri, 25 Nov 2016 06:35:24 +0000 (15:35 +0900)]
process/conformant: Remove unnecessary error logs

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

7 years agoe_service_quickpanel: changed code to consider unfocusable window while finding below... 57/99957/1 accepted/tizen/3.0/common/20161125.101813 accepted/tizen/3.0/ivi/20161125.082031 accepted/tizen/3.0/mobile/20161125.081949 accepted/tizen/3.0/tv/20161125.082001 accepted/tizen/3.0/wearable/20161125.082017 accepted/tizen/common/20161124.170251 accepted/tizen/ivi/20161125.005038 accepted/tizen/mobile/20161125.004940 accepted/tizen/tv/20161125.004958 accepted/tizen/wearable/20161125.005017 submit/tizen/20161124.131658 submit/tizen_3.0/20161124.131628
Doyoun Kang [Thu, 24 Nov 2016 13:03:27 +0000 (22:03 +0900)]
e_service_quickpanel: changed code to consider unfocusable window while finding below window.

there was a bug that the disabling scroll the quickpanel was not working
when the window set the skip_focus.

Change-Id: I10474afddd35ca55a1b234d8a77ee9f24c3b1eeb

7 years agoe_service_quickpanel: added code to hide quickpanel when a focus window is changed 82/99882/3
Doyoun Kang [Thu, 24 Nov 2016 10:27:09 +0000 (19:27 +0900)]
e_service_quickpanel: added code to hide quickpanel when a focus window is changed

Change-Id: I788421bcba89b338020c495e0ecba23bd9f18fd7

7 years agoe_policy_visibility: added code to skip unmapped & iconify by client window while... 84/99584/3 accepted/tizen/3.0/common/20161124.182545 accepted/tizen/3.0/ivi/20161124.083337 accepted/tizen/3.0/mobile/20161124.083238 accepted/tizen/3.0/tv/20161124.083258 accepted/tizen/3.0/wearable/20161124.083315 accepted/tizen/common/20161124.170154 accepted/tizen/ivi/20161125.004536 accepted/tizen/mobile/20161125.004441 accepted/tizen/tv/20161125.004457 accepted/tizen/wearable/20161125.004512 submit/tizen/20161124.054037 submit/tizen_3.0/20161124.054124
Doyoun Kang [Wed, 23 Nov 2016 09:35:45 +0000 (18:35 +0900)]
e_policy_visibility: added code to skip unmapped & iconify by client window while checking ec's activity.

Change-Id: Id3e0667ec922b6004634ab36c121578a6dd542b1

7 years agoe_policy: added code handling toast popup 27/99527/2
Doyoun Kang [Wed, 23 Nov 2016 07:39:14 +0000 (16:39 +0900)]
e_policy: added code handling toast popup

Change-Id: If39714044eb3d671b16204f83a61302c87ca8e18

7 years agoe_policy: modified code to prevent infinite loop 15/99515/1
Doyoun Kang [Wed, 23 Nov 2016 06:50:15 +0000 (15:50 +0900)]
e_policy: modified code to prevent infinite loop

Change-Id: Idd094196de3a5f4f43db80a56d3565bdcedf57f4

7 years agoe_comp_object: fix add/remove client to list of wrong layer 59/99359/1 accepted/tizen/3.0/common/20161124.181524 accepted/tizen/3.0/ivi/20161123.003109 accepted/tizen/3.0/mobile/20161123.003015 accepted/tizen/3.0/tv/20161123.003031 accepted/tizen/3.0/wearable/20161123.003050 accepted/tizen/common/20161122.193121 accepted/tizen/ivi/20161123.000508 accepted/tizen/mobile/20161123.000350 accepted/tizen/tv/20161123.000416 accepted/tizen/wearable/20161123.000443 submit/tizen/20161122.124549 submit/tizen_3.0/20161122.124627
MinJeong Kim [Tue, 22 Nov 2016 12:17:50 +0000 (21:17 +0900)]
e_comp_object: fix add/remove client to list of wrong layer

Change-Id: I19e48747e93f3f7355eb550f0f02c000f7f790dc
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
7 years agoe_object: don't use delay_del_job, it causes the problem that could not find pixmap... 25/93225/2
Seunghun Lee [Fri, 21 Oct 2016 06:23:01 +0000 (15:23 +0900)]
e_object: don't use delay_del_job, it causes the problem that could not find pixmap when tzsh_service is created.

Even if I don't locate exact problem yet why couldn't find pixmap,
Anyway, this is NOT a intended design that uses delay_del_job.

Change-Id: I0d9635fae35e0b6c7325e565a9fc7b132c94c8ae

7 years agoquickpanel: don't add animator if calculated duration is zero. 88/98588/2
Seunghun Lee [Fri, 18 Nov 2016 01:12:20 +0000 (10:12 +0900)]
quickpanel: don't add animator if calculated duration is zero.

Change-Id: Iad5246f964ac5fbb29e0963856196b1033de72e0

7 years agoe_pixmap: Remove 'deleted' hash table, and renamed e_pixmap_del() to e_pixmap_win_id_... 87/98587/2
Seunghun Lee [Wed, 16 Nov 2016 11:01:28 +0000 (20:01 +0900)]
e_pixmap: Remove 'deleted' hash table, and renamed e_pixmap_del() to e_pixmap_win_id_del() more clearly.

fix the problem that could use freed pointer as a key of hash table.

Change-Id: I967ee40e5dad5d29c7e607b25866d2055ef73202

7 years agogesture, quickpanel: the type of gesture can be changed after creation, and each... 86/98586/2
Seunghun Lee [Mon, 14 Nov 2016 09:53:09 +0000 (18:53 +0900)]
gesture, quickpanel: the type of gesture can be changed after creation, and each region for quickpanel uses different gesture type.

Change-Id: Ia930e0693a2ecfe07cd25d7b10b2166b9f06163a

7 years agoe_comp_wl: Do not send multi touch events generated by touch cancel 80/98580/2 accepted/tizen/common/20161121.143448 accepted/tizen/ivi/20161121.235247 accepted/tizen/mobile/20161121.235130 accepted/tizen/tv/20161121.235153 accepted/tizen/wearable/20161121.235229 submit/tizen/20161121.084448 submit/tizen_3.0/20161121.084755
JengHyun Kang [Fri, 18 Nov 2016 00:15:23 +0000 (09:15 +0900)]
e_comp_wl: Do not send multi touch events generated by touch cancel

Change-Id: If6c65985de2f3f98c40b0b9f3ccb109e093961dc

7 years agoe_policy_wl: added resource destructor for indicator and screensaver_manager 03/98903/1
MinJeong Kim [Mon, 21 Nov 2016 06:40:04 +0000 (15:40 +0900)]
e_policy_wl: added resource destructor for indicator and screensaver_manager

Change-Id: I1b5301acacbc031c14cdcbb0fd37716094715c7b
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
7 years agoconformant: postpone sending conformant_area until window animation ends 51/98451/3
MinJeong Kim [Mon, 14 Nov 2016 08:29:26 +0000 (17:29 +0900)]
conformant: postpone sending conformant_area until window animation ends

Change-Id: I9e03a64fd86f85f493d6cff2740821748ff83fc8
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
7 years agoe_comp: corrected the number of layer counts to 26. 37/98837/1
Gwanglim Lee [Mon, 21 Nov 2016 04:22:07 +0000 (13:22 +0900)]
e_comp: corrected the number of layer counts to 26.

Change-Id: Ic577fd4317a8d3e4af92f196c3a7951701ef51d8

7 years agoe_comp: removed commented codes. 10/98310/3
Gwanglim Lee [Thu, 17 Nov 2016 04:39:33 +0000 (13:39 +0900)]
e_comp: removed commented codes.

Change-Id: Ie3d96914dd9ef5a90c7b82c01c6aebb1db4fa96b

7 years agoe_comp_canvas: changed default return value of e_comp_canvas_layer_map to E_LAYER_MAX. 09/98309/3
Gwanglim Lee [Thu, 17 Nov 2016 04:36:19 +0000 (13:36 +0900)]
e_comp_canvas: changed default return value of e_comp_canvas_layer_map to E_LAYER_MAX.

This change prevents to access the e_comp->layers list out of bounds.

Change-Id: I033628a3f5af7e0c24cd95d2c4bafe46ab35bc06

7 years agoe_plane, e_plane_renderer: added null check for the Evas_Engine_Info_Software_Tbm... 91/98291/2
Gwanglim Lee [Thu, 17 Nov 2016 02:55:50 +0000 (11:55 +0900)]
e_plane, e_plane_renderer: added null check for the Evas_Engine_Info_Software_Tbm value returned by evas_engine_info_get.

Change-Id: Ib838864626fe6f0fdcebfa9fd354003265c656cd

7 years agoe_process: added code checking a E_Process while hanlding e's internal events. 02/98802/2
Doyoun Kang [Mon, 21 Nov 2016 02:28:09 +0000 (11:28 +0900)]
e_process: added code checking a E_Process while hanlding e's internal events.

Change-Id: I60e9a738f6e1b94b4ed3ea6dab298a94364bc423

7 years agoe_policy: added code setting ec->changes.pos flag when the window request to set... 28/98628/1 accepted/tizen/3.0/ivi/20161121.074014 accepted/tizen/3.0/mobile/20161121.073910 accepted/tizen/3.0/tv/20161121.073933 accepted/tizen/3.0/wearable/20161121.073954 accepted/tizen/common/20161118.090710 accepted/tizen/ivi/20161121.012210 accepted/tizen/mobile/20161121.012123 accepted/tizen/tv/20161121.012143 accepted/tizen/wearable/20161121.012154 submit/tizen/20161118.063252 submit/tizen_3.0/20161118.063223
Doyoun Kang [Fri, 18 Nov 2016 03:41:21 +0000 (12:41 +0900)]
e_policy: added code setting ec->changes.pos flag when the window request to set the position.

there was a bug that the window didn't move when it just called a evas_object_move().

Change-Id: I367eb9ee060197c88e78a9b8903dfb0b377aa48b

7 years agoremoved build warning 19/98619/1
Doyoun Kang [Fri, 18 Nov 2016 02:39:02 +0000 (11:39 +0900)]
removed build warning

Change-Id: I7f92982e079257f6f9097d9b3b382dedfaffee63

7 years agoe_client: added code considering transient children window while finding focus window... 10/98610/1
Doyoun Kang [Fri, 18 Nov 2016 02:09:19 +0000 (11:09 +0900)]
e_client: added code considering transient children window while finding focus window in e_client_activate.

there was a bug that the tranient child window could not get focus
when its parent window was activated.
The parent window had a focus at that point of time.

Change-Id: I3116bcd6e40d5ed6216512d558fd118c04be9014

7 years agoremove ratiofit workaround code and replace transform bg feature 18/97918/4
Sungbae Park [Tue, 15 Nov 2016 10:07:20 +0000 (19:07 +0900)]
remove ratiofit workaround code and replace transform bg feature

Signed-off-by: Sungbae Park <sb34.park@samsung.com>
Change-Id: Ib677e1a3a73f6518449d3c10195e9ffab471eea1
Signed-off-by: Sungbae Park <sb34.park@samsung.com>
7 years agoe_comp_wl_input: check if wl_client of the cursor is same as that of e_comp_wl->ptr.ec 78/96778/3
Duna Oh [Thu, 10 Nov 2016 06:34:34 +0000 (15:34 +0900)]
e_comp_wl_input: check if wl_client of the cursor is same as that of e_comp_wl->ptr.ec

Should map(show) an cursor only when the owner client of cursor got Evas_Event_Mouse_In.

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

7 years agohwc: set manual render when setup hwc 99/96499/2
Changyeon Lee [Wed, 9 Nov 2016 04:27:37 +0000 (13:27 +0900)]
hwc: set manual render when setup hwc

Change-Id: I12a793c845274e8cd1c04ab18062a370a04c870f

7 years agoe_plane: added role to plane 98/96498/2
Changyeon Lee [Tue, 8 Nov 2016 04:38:58 +0000 (13:38 +0900)]
e_plane: added role to plane

role of e_plane means that current plane is used for what purpose.

Change-Id: I2c1999f509c29c0c236f0364cf795995603ac020

7 years agoe_plane: set type of plane 97/96497/3
Changyeon Lee [Tue, 8 Nov 2016 04:35:12 +0000 (13:35 +0900)]
e_plane: set type of plane

E_PLANE_TYPE_CURSOR: plane can set only ec of cursor.
E_PLANE_TYPE_VIDEO: plane can set only ec of video and ec must have
specific buffer that plane support.
E_PLANE_TYPE_GRAPHIC: plane can set ec that have graphic buffer.
if ec of cursor or video has graphic buffer, ec can be set to plane.

Change-Id: I94853a16b2e2a09f7a216c0843d92444d45e8be6

7 years agoe_process: modified code for handling the E_PROCESS_ACT_NO_VISIBLE_WINDOWS action. 59/98159/1 accepted/tizen/3.0/common/20161117.090639 accepted/tizen/3.0/ivi/20161117.022118 accepted/tizen/3.0/mobile/20161117.022024 accepted/tizen/3.0/tv/20161117.022044 accepted/tizen/3.0/wearable/20161117.022102 accepted/tizen/common/20161116.134546 accepted/tizen/ivi/20161117.010550 accepted/tizen/mobile/20161117.010456 accepted/tizen/tv/20161117.010513 accepted/tizen/wearable/20161117.010529 submit/tizen/20161116.114430 submit/tizen_3.0/20161116.114529
Doyoun Kang [Wed, 16 Nov 2016 09:07:46 +0000 (18:07 +0900)]
e_process: modified code for handling the E_PROCESS_ACT_NO_VISIBLE_WINDOWS action.

we changed code to use E_EVENT_CLIENT_VISIBILITY_CHANGE event for handling this action

Change-Id: I48976de13cb42ed45584d4f8fa1574482a32fe30

7 years agoe_info_server: use wayland protocol logger 41/98041/3
Sangjin Lee [Tue, 15 Nov 2016 23:20:59 +0000 (08:20 +0900)]
e_info_server: use wayland protocol logger

if wayland server version is 1.12.0 then it support api for protocol logger.

Change-Id: Ia725608baddb1f25d9d3cc088084a6c7f3bf9f40

7 years agoe_comp_wl: don't check video buffer format 91/97191/2
Boram Park [Fri, 11 Nov 2016 10:39:33 +0000 (19:39 +0900)]
e_comp_wl: don't check video buffer format

In case of video client, we don't need to check format because video format
can be AR24 and XR24 also.

Change-Id: I491f11030fa37a84207946239a82deaba9bfad82

7 years agoe_log: support E_LOG_FILE_PATH to record enlightenment logs to a file from booting 00/97000/3 accepted/tizen/3.0/common/20161116.143351 accepted/tizen/3.0/ivi/20161116.021610 accepted/tizen/3.0/mobile/20161116.021448 accepted/tizen/3.0/tv/20161116.021516 accepted/tizen/3.0/wearable/20161116.021545 accepted/tizen/common/20161116.134314 accepted/tizen/ivi/20161115.233832 accepted/tizen/mobile/20161115.233702 accepted/tizen/tv/20161115.233746 accepted/tizen/wearable/20161115.233803 submit/tizen/20161115.022149 submit/tizen_3.0/20161115.021406
Boram Park [Mon, 7 Nov 2016 07:58:18 +0000 (16:58 +0900)]
e_log: support E_LOG_FILE_PATH to record enlightenment logs to a file from booting

Sometimes we want to see the enlightenment's log from booting. It's useful becuase
dlog doesn't have all logs. If E_LOG_FILE_PATH is set, enlightenment prints logs
not via dlog but via the file indicated by E_LOG_FILE_PATH.

Change-Id: I79a811b5809d4a06b3b1d8b7c2eb49af8c2ff933

7 years agoe_comp_wl: add null check for ec->comp_data in key_down/up 47/97347/3
Duna Oh [Mon, 14 Nov 2016 02:41:51 +0000 (11:41 +0900)]
e_comp_wl: add null check for ec->comp_data in key_down/up

Change-Id: Idf942edf72ca0fb77f088748f2f0bce1bc63aef9
Signed-off-by: Duna Oh <duna.oh@samsung.com>
7 years agoe_process: added code checking the ec->visible while handling uniconify event. 45/97345/1
Doyoun Kang [Mon, 14 Nov 2016 02:29:51 +0000 (11:29 +0900)]
e_process: added code checking the ec->visible while handling uniconify event.

there was a bug that the status of the process was changed to foreground
when the iconified window is destoryed.

Change-Id: I54939093374a1718a9eb8497ff537908ca27dd38

7 years agoe_comp_wl : add validation codes regarding E_Client pointer and its comp_data pointer 97/97197/2 accepted/tizen/common/20161115.200332 accepted/tizen/ivi/20161114.005806 accepted/tizen/mobile/20161114.005623 accepted/tizen/tv/20161114.005653 accepted/tizen/wearable/20161114.005728 submit/tizen/20161111.082227 submit/tizen_3.0/20161111.082409
Sung-Jin Park [Fri, 11 Nov 2016 11:27:00 +0000 (20:27 +0900)]
e_comp_wl : add validation codes regarding E_Client pointer and its comp_data pointer

Change-Id: I5e5a1348c35246cffca72dc780bf37188fad1528

7 years agoquickpanel_service: changed handler's layer 03/97203/2
Doyoun Kang [Fri, 11 Nov 2016 11:41:59 +0000 (20:41 +0900)]
quickpanel_service: changed handler's layer

Change-Id: Ie3a45771c5482a088ee61bff065f3e5e09dae8be

7 years agoe_policy: changed the layer of service windows 02/97202/1
Doyoun Kang [Fri, 11 Nov 2016 11:41:15 +0000 (20:41 +0900)]
e_policy: changed the layer of service windows

Change-Id: I5ecce9e19ed3cdbaf84563ac9a7bf4c076e244b0

7 years agoe_comp: added a E_LAYER_CLIENT_ALERT_LOW layer 00/97200/1
Doyoun Kang [Fri, 11 Nov 2016 11:38:36 +0000 (20:38 +0900)]
e_comp: added a E_LAYER_CLIENT_ALERT_LOW layer

Change-Id: I2cd33e2bf8bea26f8d38f60acc41946e52987f2d

7 years agoe_plane: send frame::done event 45/97145/1
Sangjin Lee [Fri, 11 Nov 2016 08:34:48 +0000 (17:34 +0900)]
e_plane: send frame::done event

if e_plane_fetch is failed, call e_pixmap_image_clear() for frame::done event.
if not send this event, client(SW backend) is blocked.

Change-Id: Id11e44e178b02d029da149e9fdbd273b6c14ada8

7 years agoe_policy: moved funtion for handling activate_above request. 26/97026/2
Doyoun Kang [Fri, 11 Nov 2016 04:07:08 +0000 (13:07 +0900)]
e_policy: moved funtion for handling activate_above request.

Change-Id: Ib07c69375918f34498295cfba3274be2f808a164

7 years agoquickpanel: Enhance the visual of quickpanel hiding effect during rotation. 80/96280/3
Seunghun Lee [Thu, 3 Nov 2016 10:38:03 +0000 (19:38 +0900)]
quickpanel: Enhance the visual of quickpanel hiding effect during rotation.

Do not hide indicator object and do disable effect during rotation.

Change-Id: I282616e5f3a3af69e70b0bfc757ca227cdb76fc9

7 years agoquickpanel: Implementation for supporting various effect type of quickpanel. 79/96279/3
Seunghun Lee [Mon, 31 Oct 2016 08:20:16 +0000 (17:20 +0900)]
quickpanel: Implementation for supporting various effect type of quickpanel.

1. E_SERVICE_QUICKPANEL_EFFECT_TYPE_NONE
   : No Effect. Just deliver events of gesture information such as position and
     timestamp. (Not implemented yet.)
2. E_SERVICE_QUICKPANEL_EFFECT_TYPE_MOVE
   : Entire surface is moved by tracking mouse position.
3. E_SERVICE_QUICKPANEL_EFFECT_TYPE_SWIPE
   : The effect that surface is exposed come out like peeled.

Change-Id: I499fcb5a9f6d3c966a19b143ef717d508e0dfd24

7 years agoe_service_scrsaver: set layer to alert. 78/97078/1
Gwanglim Lee [Fri, 11 Nov 2016 06:15:59 +0000 (15:15 +0900)]
e_service_scrsaver: set layer to alert.

According to 2.x policy of the window stack, layer of the screen saver window
has been increased to E_LAYER_CLIENT_ALERT from E_LAYER_CLIENT_NOTIFICATION_LOW.

Change-Id: I32aa9aa6ac37e80c2446d38a907d268d8e96f1bb

7 years agoremove executable permission bit of source files 67/97067/1
Gwanglim Lee [Fri, 11 Nov 2016 05:52:00 +0000 (14:52 +0900)]
remove executable permission bit of source files

Change-Id: Ib14edb69728f01102b1d6ff06b25593e8cf03a18

7 years agoe_plane_renderer: Fixed crash when copying image to GEM buffer using openmp. 03/96903/2
Gwanglim Lee [Thu, 10 Nov 2016 13:53:42 +0000 (22:53 +0900)]
e_plane_renderer: Fixed crash when copying image to GEM buffer using openmp.

If destination GEM buffer is not page-aligned (4KB), SIGBUS could occur.

Change-Id: I750498862f6b2a533c48e3daa9d86f2d9ad7b2c7

7 years agowl_desktop_shell: E_Xdg_Shell to support ping-pong for the xdg_shell 96/96896/2
Gwanglim Lee [Thu, 10 Nov 2016 13:18:56 +0000 (22:18 +0900)]
wl_desktop_shell: E_Xdg_Shell to support ping-pong for the xdg_shell

ping-pong protocol of the xdg_shell is working on the wl_client
and not on the wl_surface. However, ping-pong of the enlightenment
is on the wl_surface (E_Client). E_Xdg_Shell is designed for connecting
them. It has a list of E_Client which sent ping event, and if the
client is in responsive, then it sets ping_ok for all E_Clients.

And unnecessary shell_resources and xdg_shell_resources hash are removed.

Change-Id: I0e1e1815377f5488afeb3c1ccff0d8ba441180e1

7 years agoe_client: add a check to prevent the ping-pong for the deleted e_client. 07/96807/2
Gwanglim Lee [Thu, 10 Nov 2016 08:38:41 +0000 (17:38 +0900)]
e_client: add a check to prevent the ping-pong for the deleted e_client.

Change-Id: I9c9ce90d93e7c6f78c8cb8f084cc92b1fd9952a3

7 years agoredo wl (xdg)shell surface ping 59/96059/2
Mike Blumenkrantz [Mon, 18 Apr 2016 19:37:22 +0000 (15:37 -0400)]
redo wl (xdg)shell surface ping

- remove (wrong) global variables which tracked client-specific resources
- start ping upon creating a shell surface
- track client-specific shell resources on a per-client basis

Change-Id: I269fd6653f031be980d1c8bef9ebce431781a71f

7 years agoe_policy_wl: Add EC_CHANGED for update E_Client 93/96493/5
kyoungsik park [Wed, 9 Nov 2016 07:06:34 +0000 (16:06 +0900)]
e_policy_wl: Add EC_CHANGED for update E_Client

Change-Id: I64942e487b269cb84c04a622782145262816c81e
Signed-off-by: kyoungsik park <kstyle.park@samsung.com>
7 years agoAdded layer_pending flag for updating only clients inlist 31/96331/4 accepted/tizen/3.0/common/20161114.082715 accepted/tizen/3.0/ivi/20161110.015452 accepted/tizen/3.0/mobile/20161110.015152 accepted/tizen/3.0/tv/20161110.015229 accepted/tizen/3.0/wearable/20161110.015406 accepted/tizen/common/20161109.140730 accepted/tizen/ivi/20161110.001659 accepted/tizen/mobile/20161110.001503 accepted/tizen/tv/20161110.001604 accepted/tizen/wearable/20161110.001637 submit/tizen/20161109.043305 submit/tizen_3.0/20161108.124320 submit/tizen_3.0_common/20161110.084657
MinJeong Kim [Tue, 8 Nov 2016 09:23:52 +0000 (18:23 +0900)]
Added layer_pending flag for updating only clients inlist

Changes of stack are never applied while a client's layer is blocked.
To assure the changes of stack after end of the block, now we can use
layer_pending flag instead of layer_block flag.

Change-Id: Iff3e7c9f3bf31657e5997a78ff2ca2caafbbfa20
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
7 years agoconformant: set cbhm parent 25/96325/2
MinJeong Kim [Tue, 1 Nov 2016 09:05:59 +0000 (18:05 +0900)]
conformant: set cbhm parent

Change-Id: Ie5a395593519b429e2865edc914dd0dbf776fe23
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
7 years agoFixing memory leak in _hwc_prepare() 79/96479/3
Bhavi Dhingra [Wed, 9 Nov 2016 06:43:10 +0000 (12:13 +0530)]
Fixing memory leak in _hwc_prepare()

Change-Id: I904de1c0085f71a3ae93746befc52d2673de560b
Signed-off-by: Bhavi Dhingra <b.dhingra@samsung.com>
7 years agovisibility: fix a bug that couldn't add a defer job during deiconify rendering. 13/96413/2
Seunghun Lee [Wed, 9 Nov 2016 04:02:10 +0000 (13:02 +0900)]
visibility: fix a bug that couldn't add a defer job during deiconify rendering.

Change-Id: I51817cc33d32f4654ca118bc1d84e1b958152e17

7 years agoDo override nocomp mode when drag icon show 20/96320/1 accepted/tizen/ivi/20161109.003100 accepted/tizen/mobile/20161109.003002 accepted/tizen/tv/20161109.003024 accepted/tizen/wearable/20161109.003043 submit/tizen/20161108.124208
MinJeong Kim [Tue, 8 Nov 2016 12:06:12 +0000 (21:06 +0900)]
Do override nocomp mode when drag icon show

Change-Id: I9602d027a8098c63bb339e3619357b18942c800c
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
7 years agoe_main : add hook for module load done and enlightenment info ready 36/96036/4
Junghwan Choi [Mon, 7 Nov 2016 11:20:10 +0000 (20:20 +0900)]
e_main : add hook for module load done and enlightenment info ready

Change-Id: I7a7e513144af0ca971a8aa85db613b8a47044675
Signed-off-by: Junghwan Choi <jhhh.choi@samsung.com>
7 years agoe_plane: added null check for plane->renderer in _e_plane_surface_from_ecore_evas_acq... 55/96255/1
Gwanglim Lee [Tue, 8 Nov 2016 08:55:03 +0000 (17:55 +0900)]
e_plane: added null check for plane->renderer in _e_plane_surface_from_ecore_evas_acquire()

plane could have null renderer, thus we have to add null check for avoiding crash.

Change-Id: Ief10dacef3002cc374019e86178e13e800309750

7 years agoe_policy_wl: Add some logs related to tizen_policy requests 26/96226/1
Seungjin Park [Tue, 8 Nov 2016 07:43:20 +0000 (16:43 +0900)]
e_policy_wl: Add some logs related to tizen_policy requests

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

7 years agoe_process: added a E_PROCESS_ACT_NO_VISIBLE_WINDOWS in E_Process_Action enumeration 43/96143/3
Doyoun Kang [Tue, 8 Nov 2016 04:26:01 +0000 (13:26 +0900)]
e_process: added a E_PROCESS_ACT_NO_VISIBLE_WINDOWS in E_Process_Action enumeration

There was a requirement that the specified process wants to get an event when process' windows are all unviewable.
So, we added E_PROCESS_ACT_NO_VISIBLE_WINDOWS enumeration and sent it when process' all windows were hidden.

Change-Id: I903ad5cd4923a191e6cd8f891d4f1b8f61e30275

7 years agohwc: changed static function name for consistency 33/96133/3
Juyeon Lee [Tue, 8 Nov 2016 02:42:02 +0000 (11:42 +0900)]
hwc: changed static function name for consistency

_e_comp_hwc_xxx APIs are mapped for hwc control sequence.
_hwc_xxx APIs are utilized for hwc control.
_hwc_plane_xxx especially manipulate a specific plane.

Change-Id: I17a8be2a38999efa757259ec57b13ee575d93220

7 years agohwc: add value for surface changes not canceling hwc 35/95635/9
Juyeon Lee [Fri, 4 Nov 2016 05:26:22 +0000 (14:26 +0900)]
hwc: add value for surface changes not canceling hwc

added static value _plane_support_surf_to_surf for a verification
once e_plane get able to support surface to surface changes without canceling hwc
it will be always 1 or can be removed out with relative codes

Change-Id: Ie8dd3ea84c23390d86beace5ee98e1a18d535c50
Signed-off-by: Juyeon Lee <juyeonne.lee@samsung.com>
7 years agoe_policy: added code to handle the activate_above request. 77/95377/1 accepted/tizen/3.0/ivi/20161104.103620 accepted/tizen/3.0/mobile/20161104.103503 accepted/tizen/3.0/tv/20161104.103529 accepted/tizen/3.0/wearable/20161104.103553 accepted/tizen/common/20161103.160059 accepted/tizen/ivi/20161103.231803 accepted/tizen/mobile/20161103.231636 accepted/tizen/tv/20161103.231700 accepted/tizen/wearable/20161103.231738 submit/tizen/20161103.061853 submit/tizen_3.0/20161103.061123
Doyoun Kang [Thu, 3 Nov 2016 05:20:52 +0000 (14:20 +0900)]
e_policy: added code to handle the activate_above request.

Change-Id: I7a2699fda9d4105ec09025d5d23078f6b1dea30a

7 years agosurface prop add : subsurface, video client info 99/94799/5
Sungbae Park [Tue, 1 Nov 2016 08:29:36 +0000 (17:29 +0900)]
surface prop add : subsurface, video client info

Signed-off-by: Sungbae Park <sb34.park@samsung.com>
Change-Id: Iedce9d995a913007988472f5ec9a2244815730a9
Signed-off-by: Sungbae Park <sb34.park@samsung.com>
7 years agocomp object alphs set flag add 96/94796/3
Sungbae Park [Tue, 1 Nov 2016 08:23:12 +0000 (17:23 +0900)]
comp object alphs set flag add

user_alpha is set by server core source(e_comp_wl.c)
but _e_comp_object_alpha_set function do not consider it.
If you call e_comp_object_alpha_set or not call _e_comp_object_alpha_set function always init alpha setting.
e_comp_object_alpha_set can not be used.
and e_comp_object_alpha_set function used to subsurface relationship in e_comp_wl.c
 - _e_comp_wl_subsurface_check_below_bg_rectangle we had a meeting about 24bit parent and ui child case.
if child position lower then parent, we policy is show parent and child.
 this feature implement is located in _e_comp_wl_subsurface_check_below_bg_rectangle

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

7 years agoe_plane: fix syntax error 47/95147/2
Boram Park [Wed, 2 Nov 2016 10:07:49 +0000 (19:07 +0900)]
e_plane: fix syntax error

Change-Id: I3c947dbda83b796efaf29f7998f3db75193aa1ea

7 years agoFixed build warning 19/95319/1
MinJeong Kim [Thu, 3 Nov 2016 00:43:30 +0000 (09:43 +0900)]
Fixed build warning

Change-Id: Iebba6e4d127641d9531f54fee20d775ba0f82318

7 years agoe_comp_wl: Send device event for key when a client's last key device is changed 43/91143/4 accepted/tizen/common/20161102.121954 accepted/tizen/ivi/20161102.073411 accepted/tizen/mobile/20161102.073313 accepted/tizen/tv/20161102.073331 accepted/tizen/wearable/20161102.073353 submit/tizen/20161102.024749
JengHyun Kang [Thu, 6 Oct 2016 05:32:46 +0000 (14:32 +0900)]
e_comp_wl: Send device event for key when a client's last key device is changed

Change-Id: Id72240656fc77ff4ef53559ae7322909d08c99e5

7 years agohwc: Use tbm_queue in SW Backend 90/94790/3
Sangjin Lee [Mon, 31 Oct 2016 13:11:57 +0000 (22:11 +0900)]
hwc: Use tbm_queue in SW Backend

If evas engine use tbm_surface_queue, then server can hwc
Currently enlightenment set env for ecore_evas,
then ecore_evas create software_tbm evas engine and ecore_evas name is drm_tbm.
So the server can check it.

Change-Id: Ie9d8e069bb12dca2d49e994f955a843586a1634b

7 years agoe_comp: Add event COMPOSITOR_ENABLE when hwc ended 72/93372/4
Juyeon Lee [Mon, 24 Oct 2016 02:30:14 +0000 (11:30 +0900)]
e_comp: Add event COMPOSITOR_ENABLE when hwc ended

Compositor disabled when fb target layer is assigned by a client surface
once fb target is occupied, hwc mode is fully hwc mode.
if hwc mode is ended and need composite again, than assign null on plane with
the E_EVENT_COMPOSITOR_ENABLE

Change-Id: I5d8d941767560b9d497adaa5884ed7ff831c5f1a
Signed-off-by: Juyeon Lee <juyeonne.lee@samsung.com>
7 years agoe_comp_wl: removed unused internal function e_comp_wl_surface_create. 97/93197/2
Gwanglim Lee [Fri, 21 Oct 2016 02:47:46 +0000 (11:47 +0900)]
e_comp_wl: removed unused internal function e_comp_wl_surface_create.

Change-Id: I206f6b44d48b067527c17d4657c92e4533b47be3

7 years agoe_pixmap: checked wl_buffer resouce of e_pixmap when qeury format 35/94335/3
Changyeon Lee [Thu, 20 Oct 2016 11:36:32 +0000 (20:36 +0900)]
e_pixmap: checked wl_buffer resouce of e_pixmap when qeury format

Change-Id: I2e979e6bbc47788d217a1ca8aab7db231f898131

7 years agoe_plane_renderer: send queue_size and need flush when send active event 04/92504/3
Changyeon Lee [Thu, 29 Sep 2016 04:53:05 +0000 (13:53 +0900)]
e_plane_renderer: send queue_size and need flush when send active event

Change-Id: I0dd2f45548dd7f06ca8b12321cb1a007fb113ced