platform/upstream/enlightenment.git
6 years agoe_utils: add e_util_file_monitor API to monitor the creation of the given path of... 80/185480/1
Sung-Jin Park [Tue, 31 Jul 2018 04:37:11 +0000 (13:37 +0900)]
e_utils: add e_util_file_monitor API to monitor the creation of the given path of file

Change-Id: I0599a1783256f5b6b0fcf3c644c3f448a580c1d4
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
6 years agoe_input: check and set touch device class to touch aux events 23/185423/2 accepted/tizen/unified/20180731.075036 submit/tizen/20180730.104229
JengHyun Kang [Mon, 30 Jul 2018 10:32:18 +0000 (19:32 +0900)]
e_input: check and set touch device class to touch aux events

Change-Id: I266b60b8a003bf3bfb083108d84fe580838590ff

6 years agoe_input: check device's class before find ecore_device for events 13/185413/2
JengHyun Kang [Mon, 30 Jul 2018 08:55:33 +0000 (17:55 +0900)]
e_input: check device's class before find ecore_device for events

Change-Id: If0d011bdd6d9ede91d8aceff8f85eb4ff1756481

6 years agoinput region: fix bug for setting input_region 08/185408/1
Doyoun Kang [Mon, 30 Jul 2018 08:28:06 +0000 (17:28 +0900)]
input region: fix bug for setting input_region

There was a bug that the input region was not applied if it was set before showing window.

Change-Id: I80424219d3ccd384e440c4a62506769c98878d15

6 years agoe_comp_wl: fix bug for creating region 07/185407/1
Doyoun Kang [Thu, 26 Jul 2018 12:48:04 +0000 (21:48 +0900)]
e_comp_wl: fix bug for creating region

There was a bug that the tiler size was wrong while handling creating region.
So, we add the code to check screen rotation value.

Change-Id: I8b39305aadfe434fe6c1c4f7aad98b5bb1da1e7b

6 years agoviewport: fix croped full calculation error if transform set 90 or 270 15/185215/4 accepted/tizen/unified/20180727.135707 submit/tizen/20180727.051729
Junkyeong Kim [Fri, 27 Jul 2018 04:50:06 +0000 (13:50 +0900)]
viewport: fix croped full calculation error if transform set 90 or 270

Change-Id: Iee795785e7513df4c72766e83b241944e62ec376
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agoe_plane_renderer: reset renderer of ec in deactivate if ec is deleted 72/185172/4
Changyeon Lee [Thu, 26 Jul 2018 11:48:22 +0000 (20:48 +0900)]
e_plane_renderer: reset renderer of ec in deactivate if ec is deleted

if ec of renderer is deleted, e_plane_ec_set and reserved_deactivate is called
in _e_plane_renderer_client_cb_del.
reset renderer of ec in reserved_deactivate to prevent acces to freed ec

Change-Id: Iacbe344dcbdd8f3610915d0a9cf80daafac5b2ee

6 years agoe_comp_wl_shell: reset ec's visibility.last_sent_type value when it is unmapped 13/185213/1
Doyoun Kang [Fri, 27 Jul 2018 04:43:26 +0000 (13:43 +0900)]
e_comp_wl_shell: reset ec's visibility.last_sent_type value when it is unmapped

Change-Id: Id47c30c80dd8f690361c4a3190ee9c12d399890f

6 years agoe_comp_object: check pixmap available when e_comp_object_dirty 07/184907/1
Juyeon Lee [Tue, 24 Jul 2018 07:11:53 +0000 (16:11 +0900)]
e_comp_object: check pixmap available when e_comp_object_dirty

e_pixmap_size_get returns last attached buffer size (from commit f009a9a4 )
eventhough it is destroyed, so check resource

Change-Id: Ie1a38be03ba6564e59a2dc54494f4de0920f49a1

6 years agoe_policy_wl_display: fix bug for handling screen mode 68/184768/1 accepted/tizen/unified/20180723.151443 submit/tizen/20180723.062633
Doyoun Kang [Mon, 23 Jul 2018 04:29:47 +0000 (13:29 +0900)]
e_policy_wl_display: fix bug for handling screen mode

There was a bug that display mode couldnot change to normal when the alpha window
which set a display mode to always_on was destroyed.

Change-Id: I004d4fe5ce4dad864f57d817a7676ecf35e3dba4

6 years agoe_policy_wl_display: change code for logging 67/184767/1
Doyoun Kang [Mon, 23 Jul 2018 04:27:45 +0000 (13:27 +0900)]
e_policy_wl_display: change code for logging

Change-Id: Ia142a9f8ed4f0c2d643b082bd6bfdda616a4b8b5

6 years agoe_client: check window's iconic state while handling focus 18/184718/1 accepted/tizen/unified/20180720.155959 submit/tizen/20180720.105749
Doyoun Kang [Fri, 20 Jul 2018 10:20:01 +0000 (19:20 +0900)]
e_client: check window's iconic state while handling focus

We didn't check the iconic state, so there was a possibility that the iconified window got focus.

Change-Id: I24a1f33edab1c12137f561865832688f01b33e7e

6 years agoe_plane: set unset_counter to 1 when fb_target is unset to hwc 59/183959/2
Changyeon Lee [Thu, 12 Jul 2018 09:46:15 +0000 (18:46 +0900)]
e_plane: set unset_counter to 1 when fb_target is unset to hwc

unset_counter is set to 0 when fb_target used by hwc because
compositor is disabled and then plane doesn't need to sync with fb_target.
but unset_candidate plane should sync with fb_target when fb_target is unset to hwc.
so if plane is unset_candidate and unset_counter is 0, set unset_counter to 1
for sync with compositor

Change-Id: I62bae00c12fd3d0e68c9986b2a8b0d8f3ebec952

6 years agoe_comp_screen: add ttrace log at the initial time 53/184353/2
SooChan Lim [Tue, 17 Jul 2018 09:57:48 +0000 (18:57 +0900)]
e_comp_screen: add ttrace log at the initial time

Change-Id: I5a214ddb3ce31a6925ac63aa8edebb2b1e45a989

6 years agoe_dbus_conn : rename from e_dbus as it has some intersections with edbus stuff 06/184306/1 accepted/tizen/unified/20180717.143334 submit/tizen/20180717.070235
Sung-Jin Park [Tue, 17 Jul 2018 06:23:55 +0000 (15:23 +0900)]
e_dbus_conn : rename from e_dbus as it has some intersections with edbus stuff

Change-Id: I9bc93b26b79fa26b1e2ec1f9e2464faf147d0bae
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
6 years agoe_info: print input_region information using winfo 39/180339/5
JengHyun Kang [Mon, 28 May 2018 11:44:15 +0000 (20:44 +0900)]
e_info: print input_region information using winfo

Change-Id: Id1748ccf69f0aaf454ceca6f9c599bfba39fad64

6 years agoe_info_server : transform info shows up to three decimal points. 39/184139/1
junghwan Choi [Mon, 16 Jul 2018 02:04:17 +0000 (11:04 +0900)]
e_info_server : transform info shows up to three decimal points.

Change-Id: Ifba711ded2d156fce706ad97e5b2a8e630dfca27

6 years agoe_client : remove build warning regarding 'const' qualifier 48/184048/1 accepted/tizen/unified/20180716.185706 submit/tizen/20180715.225415
Sung-Jin Park [Fri, 13 Jul 2018 07:47:10 +0000 (16:47 +0900)]
e_client : remove build warning regarding 'const' qualifier

Change-Id: I958fb8b4fb9b78f26c199ffea537716c4d448607
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
6 years agoe_policy: check uniconify_render_running before sending visibility event
Doyoun Kang [Thu, 12 Jul 2018 10:41:46 +0000 (19:41 +0900)]
e_policy: check uniconify_render_running before sending visibility event

There was a bug that e sent a fully-obscured event to the window which was running uniconify_render.

Change-Id: I728b6718cd56e9f5d7a0cbc2324d36d51c93943a

6 years agoe_client : add condition for waiting view port setting
Lisa kim [Mon, 30 Apr 2018 07:46:54 +0000 (16:46 +0900)]
e_client : add condition for waiting view port setting
display server waits until user set view port.
some of clients only create the viewport and do not using viewport.
in this case, even the subsurface of this window set viewport, display server cannot detect because display server waits until the viewport set of this window.
this patch only adapt viewport wait feature for the leaf node of subsurfaces.

Change-Id: Ibfabe4d520a16f8385b617b22246a8a5a05ccc65
Signed-off-by: Lisa kim <hj0530.kim@samsung.com>
6 years agotransform: Update transform state whenever below bg rectangle is created
Seungjin Park [Fri, 29 Jun 2018 06:16:48 +0000 (15:16 +0900)]
transform: Update transform state whenever below bg rectangle is created

There was an issue that displays full-size punched area because map wasn't applied to below object.

Change-Id: I524f27f8aefb8a0f24d30b43380289df726f18e0
Signed-off-by: Seungjin Park <sj8808.park@samsung.com>
6 years agoe_dbus : add initial version to provide dbus connection initialization 24/183324/15
Sung-Jin Park [Wed, 4 Jul 2018 11:08:44 +0000 (20:08 +0900)]
e_dbus : add initial version to provide dbus connection initialization

Change-Id: Idc4204d2e949449f2be03d0b508b7c44e21fb58d
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
6 years agoconfig: enable extra touch axis, if libinput support extra touch axis 87/183487/2 accepted/tizen/unified/20180710.082827 submit/tizen/20180709.070729
JengHyun Kang [Fri, 6 Jul 2018 04:02:47 +0000 (13:02 +0900)]
config: enable extra touch axis, if libinput support extra touch axis

Change-Id: I8ca786d8b7769590f1e07356ec57b51aea38091f

6 years agoe_comp_wl: transform a cursor pointer following a window transformation 70/183270/3
JengHyun Kang [Wed, 4 Jul 2018 04:34:30 +0000 (13:34 +0900)]
e_comp_wl: transform a cursor pointer following a window transformation

Change-Id: I6b011c1ba1ecea5302ccadabf47daa571c05bfa5

6 years agoe_policy_visibility: check last_sent_type before sending pre-unobscured event 34/183434/1
Doyoun Kang [Thu, 5 Jul 2018 09:42:15 +0000 (18:42 +0900)]
e_policy_visibility: check last_sent_type before sending pre-unobscured event

If a last_sent_type is E_VISIBILITY_PRE_UNOBSCURED or E_VISIBILITY_UNOBSCURED,
then we don't send E_VISIBILITY_PRE_UNOBSCURED event.

Change-Id: I04070661d19dcd970c62160437c5ebc6dd0c3dbb

6 years agoe_comp_object: defer_focus set when ec turn to uniconic state with evas_object_show 08/183308/1 accepted/tizen/unified/20180704.154025 submit/tizen/20180704.090121
JunSeok, Kim [Wed, 4 Jul 2018 08:31:19 +0000 (17:31 +0900)]
e_comp_object: defer_focus set when ec turn to uniconic state with evas_object_show

There was a bug when partial window calls evas_object_show -> raise.
Because of this bug, the window cannot get focus.
This patch is solve this problem to call defer_focus_set when vis_ec turn to uniconic state.

Change-Id: I01f6b85de25641ac33c7433724b7fe8bf5b7a429

6 years agoe_info_server: fix out-of-bounds-write issue 71/183171/1
Doyoun Kang [Tue, 3 Jul 2018 06:57:14 +0000 (15:57 +0900)]
e_info_server: fix out-of-bounds-write issue

Change-Id: I0f973d8107fcb4f5e2558bc8301409eaf51f7414

6 years agomodify check condition before calling e_client_post_raise_lower_set 91/183091/1 accepted/tizen/unified/20180702.151354 submit/tizen/20180702.081014
Doyoun Kang [Mon, 2 Jul 2018 07:00:11 +0000 (16:00 +0900)]
modify check condition before calling e_client_post_raise_lower_set

There was a bug that the lower operation of unmapped window was not work if the window ever mapped.
So, we replaced code to "!ec->comp_data->mapped" from "!ec->first_mapped" before calling
e_client_post_raise_lower_set.

Change-Id: Ib487feb86e3ed4b772f1dfd17dd691e3a61ddf78

6 years agoe_input: add a new API e_input_device_mouse_accel_speed_set() 66/182966/4
JengHyun Kang [Fri, 29 Jun 2018 07:50:50 +0000 (16:50 +0900)]
e_input: add a new API e_input_device_mouse_accel_speed_set()

Change-Id: I4275c39c031142626172d71c02745213e7132d10

6 years agoe_xdg_shell_v6: return if popup_resource is null 44/183044/1
Juyeon Lee [Mon, 2 Jul 2018 04:18:41 +0000 (13:18 +0900)]
e_xdg_shell_v6: return if popup_resource is null

fix coverity

Change-Id: I03390a8c18d847efa8227b77c790429124ac22ce

6 years agoe_policy: fix bug for sending visibility event 89/182989/1 accepted/tizen/unified/20180702.062908 submit/tizen/20180630.071340
Doyoun Kang [Fri, 29 Jun 2018 11:04:21 +0000 (20:04 +0900)]
e_policy: fix bug for sending visibility event

There was a bug that the window didn't get fully-obscured event when it was
iconified by visibility after getting pre-unobscured event.
So, app's state remained to "resume" not "pause".

This patch sends unobscured and fully-obscured event to the iconified window
to change its state correctly.

Change-Id: I43a3b66ab71b204854d2e19f2aa23d3551f3ba10

6 years agoe_comp_wl_video: fix build warning 64/182964/1
Doyoun Kang [Fri, 29 Jun 2018 07:42:10 +0000 (16:42 +0900)]
e_comp_wl_video: fix build warning

Change-Id: I255ae2c222bc87ba4ef6c28ff1ce0f7a0cc600a5

6 years agoe_keyrouter: call hook functions about release events, if press events call hook... 46/182246/6
JengHyun Kang [Thu, 21 Jun 2018 13:54:16 +0000 (22:54 +0900)]
e_keyrouter:  call hook functions about release events, if press events call hook functions

Change-Id: Ie3962a9a1d4666958c5e83655a926ec6a8fa3082

6 years agovideo: Remove waiting_video_set flag and using video_plane_ready_handler for it. 50/182650/2
Seunghun Lee [Tue, 26 Jun 2018 10:37:35 +0000 (19:37 +0900)]
video: Remove waiting_video_set flag and using video_plane_ready_handler for it.

Video_set_hook was renamed video_plane_ready_handler to improve readability.
Plus, video_plane_ready_handler is goning to be deleted after doing its work.
Thus, we can check video_plane_ready_handler instead of waiting_video_set and
remove waiting_video_set flag.

Change-Id: Id6dd54edb288f70c8cbb3f7c6fcef26827f35d53

6 years agovideo: Remove useless code calling find_video_with_surface() in _e_video_layer_get_di... 49/182649/2
Seunghun Lee [Mon, 25 Jun 2018 11:52:08 +0000 (20:52 +0900)]
video: Remove useless code calling find_video_with_surface() in _e_video_layer_get_displaying_buffer().

Change-Id: I889338a4d64b388eb51a403759e2645270d34ad1

6 years agovideo: move a comment proper line 48/182648/2
Seunghun Lee [Mon, 25 Jun 2018 08:50:28 +0000 (17:50 +0900)]
video: move a comment proper line

Change-Id: Ia8fdda18cbb2339b0edc9fd650903f6e424d557a

6 years agovideo: Remove find_topmost_parent_get(), and use e_comp_wl implementation. 47/182647/2
Seunghun Lee [Mon, 25 Jun 2018 07:53:37 +0000 (16:53 +0900)]
video: Remove find_topmost_parent_get(), and use e_comp_wl implementation.

Use e_comp_wl_topmost_parent_get() instead of its video own implementation,
find_topmost_parent_get().

Change-Id: Ia248a7197bfc76ff3d0f96031aba15690c222b08

6 years agovideo: Added a function for duplicated code. 46/182646/2
Seunghun Lee [Mon, 25 Jun 2018 02:38:48 +0000 (11:38 +0900)]
video: Added a function for duplicated code.

Added functions for commiting buffer, _e_video_commit_from_waiting_list() and
_e_video_commit_buffer().

Change-Id: Ib64a77e43a22e4bec943c887637a01835b73b9cf

6 years agovideo: fix formatting. 45/182645/2
Seunghun Lee [Fri, 22 Jun 2018 07:44:32 +0000 (16:44 +0900)]
video: fix formatting.

Change-Id: I8c7d8f50acb63ef4b82ccbe94bcf60a4be19a982

6 years agovideo: use e_comp_screen_pp_support() instead of tdm_display interface directly. 44/182644/2
Seunghun Lee [Fri, 22 Jun 2018 06:49:21 +0000 (15:49 +0900)]
video: use e_comp_screen_pp_support() instead of tdm_display interface directly.

Change-Id: I598e791378e141b8e56e33c30a81b5c33209b539

6 years agovideo: move a comment proper line 43/182643/2
Seunghun Lee [Fri, 22 Jun 2018 04:48:38 +0000 (13:48 +0900)]
video: move a comment proper line

Change-Id: I43d4f0362d639b35b06844c5c78c64cabb67ede8

6 years agovideo: Destroy wl_global for 'tizen_video' when 'e_comp_wl_video_shutdown()'. 42/182642/2
Seunghun Lee [Fri, 22 Jun 2018 04:06:15 +0000 (13:06 +0900)]
video: Destroy wl_global for 'tizen_video' when 'e_comp_wl_video_shutdown()'.

Change-Id: I9f79f16df3c4913d7c0071e6df8ad64b15797844

6 years agovideo: Remove unused function. (e_comp_wl_video_layer_get) 41/182641/2
Seunghun Lee [Thu, 21 Jun 2018 09:01:57 +0000 (18:01 +0900)]
video: Remove unused function. (e_comp_wl_video_layer_get)

Change-Id: I5ec4dfd094ace5cd6268ec28307d232c72c9e514

6 years agovideo: fix formatting. 40/182640/2
Seunghun Lee [Wed, 20 Jun 2018 07:33:45 +0000 (16:33 +0900)]
video: fix formatting.

Change-Id: I8a94a99ee5bd7a71507899d5f3f9809cef180b19

6 years agovideo: Don't pass a null argument to tdm_layer_get_capabilities(). 39/182639/2
Seunghun Lee [Wed, 20 Jun 2018 07:25:22 +0000 (16:25 +0900)]
video: Don't pass a null argument to tdm_layer_get_capabilities().

Change-Id: I3cfdf3800b353c7c9834b5025ad56454bbc99269

6 years agovideo: delete unreachable and wrong check code. 38/182638/2
Seunghun Lee [Wed, 20 Jun 2018 06:14:33 +0000 (15:14 +0900)]
video: delete unreachable and wrong check code.

Change-Id: Ic4ce783ac8197a5b60e885f70a8dd644ae76af52

6 years agovideo: move a code chekcing whther e_client is deleted to entry of creation 37/182637/2
Seunghun Lee [Wed, 20 Jun 2018 04:58:09 +0000 (13:58 +0900)]
video: move a code chekcing whther e_client is deleted to entry of creation

Change-Id: Ibf64d9fb7dfc243fdb42d2ffb65ee8405a36b602

6 years agoe_xdg_shell_v6: Fix illegal access (USE_AFTER_FREE) error. 34/182534/2
Seunghun Lee [Tue, 26 Jun 2018 04:07:45 +0000 (13:07 +0900)]
e_xdg_shell_v6: Fix illegal access (USE_AFTER_FREE) error.

Set user data of wl_resource for toplevel or popup to null, when xdg_surface is
destroyed.

Change-Id: I27cb43c42484c39b4ffc95ba3d4f089c28994a03

6 years agoe_comp_object: fix bug for sending "e,state,visible" signal 90/182490/1 accepted/tizen/unified/20180626.064846 submit/tizen/20180625.112455
Doyoun Kang [Mon, 25 Jun 2018 11:07:42 +0000 (20:07 +0900)]
e_comp_object: fix bug for sending "e,state,visible" signal

There was a bug that e sent "e,state,visible" when ec is iconic state in _e_comp_object_shadow_setup.
The effect module increased reference count and waiting for draw done event while handling "e,state,visible" event.
But if the window set to iconic state, it didn't draw and didn't send draw done event.
So, effect module's reference count couldnot be 0.

Change-Id: Id37d53f3d38b443e9c30aed10ed6448375e2868b

6 years agoe_comp_object: remove useless code. 80/182380/2
Seunghun Lee [Fri, 22 Jun 2018 10:28:22 +0000 (19:28 +0900)]
e_comp_object: remove useless code.

evas_object_layer_set() does not work for smart member object.

Change-Id: I00efa58d39761d7e239e15d98e6e67d5c98ad28e

6 years agoe_comp_object: check iconified by client when evas_object_show in intercept_show 88/181988/2
JunSeok, Kim [Tue, 19 Jun 2018 10:43:27 +0000 (19:43 +0900)]
e_comp_object: check iconified by client when evas_object_show in intercept_show

There was a bug when ec try to map during iconified by client state.
When client set iconify before first evas_object_show, it doesn't setup their comp object.
Next time client turn to uniconic state, client is invisible in screen.
This patch is move the check iconify by client code to intercept_show from mapping logic to fix problem.

Change-Id: I3a92cba6d9d72a48b176dfbdff5814027476cab3

6 years agoe_policy_visibility: add wrapper function of _e_vis_client_is_uniconic 87/181987/4
JunSeok, Kim [Tue, 19 Jun 2018 10:21:36 +0000 (19:21 +0900)]
e_policy_visibility: add wrapper function of _e_vis_client_is_uniconic

Change-Id: I11eceafe7a4fc54f828392f655182c3cfcc09b32

6 years agoe_comp_wl: check unignored state when map 36/182236/1 accepted/tizen/unified/20180622.122642 submit/tizen/20180621.133234
Juyeon Lee [Thu, 21 Jun 2018 13:16:53 +0000 (22:16 +0900)]
e_comp_wl: check unignored state when map

ec->ignored is set 0, when client commit with new_attach

Change-Id: Ia0c9ee295349ee678da8595b7690121f084686e4

6 years agoe_main: remove unused e_precache_end 23/182123/1
Gwanglim Lee [Wed, 20 Jun 2018 12:01:55 +0000 (21:01 +0900)]
e_main: remove unused e_precache_end

Change-Id: I60abb7bbc4389f3c98aa436a49235e7d06f70fdb

6 years agoe_main: remove unused SIGUSR handler 17/182117/1
Gwanglim Lee [Wed, 20 Jun 2018 10:54:41 +0000 (19:54 +0900)]
e_main: remove unused SIGUSR handler

Change-Id: I14bc5fe702d45e77223d940f1ffc2a5524000df9

6 years agoe_main: remove unused arg options 16/182116/1
Gwanglim Lee [Wed, 20 Jun 2018 10:51:00 +0000 (19:51 +0900)]
e_main: remove unused arg options

Change-Id: I2b117f00434a9fc217c89b4fd41240d2f2f32f46

6 years agoe_main: remove ecore_app_args_ codes which are not necessary for now. 00/182100/1
Gwanglim Lee [Wed, 20 Jun 2018 08:45:30 +0000 (17:45 +0900)]
e_main: remove ecore_app_args_ codes which are not necessary for now.

Change-Id: I6e11aece4f34aa2de10b8465d0e967ae2d845d86

6 years agoe_main: remove unused really_know option 98/182098/1
Gwanglim Lee [Wed, 20 Jun 2018 08:42:47 +0000 (17:42 +0900)]
e_main: remove unused really_know option

Change-Id: I5b3798ffb269acb44e094abbd0dfaca62f481663

6 years agoe_main: remove unused codes regarding restart and safe modes 95/182095/1
Gwanglim Lee [Wed, 20 Jun 2018 08:31:28 +0000 (17:31 +0900)]
e_main: remove unused codes regarding restart and safe modes

Change-Id: Ib2763e78a7e767cefb6332d08c4e6da4b7b90a77

6 years agoe_comp_wl: adapt screen rotation condition to find output 50/182050/1
Junkyeong Kim [Wed, 20 Jun 2018 05:39:01 +0000 (14:39 +0900)]
e_comp_wl: adapt screen rotation condition to find output

Change-Id: Ic5a4bac43fdecf7fcf0ed084ae1c153ca6c5bcaa
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agoe_client: check mapped condition when e_client_uniconify accepted/tizen/unified/20180620.131628 submit/tizen/20180620.044252
Juyeon Lee [Wed, 20 Jun 2018 02:04:54 +0000 (11:04 +0900)]
e_client: check mapped condition when e_client_uniconify

Change-Id: I8d70cd417eedbccfc22ddd182833a3fdcc86c0ab

6 years agoe_xdg_shell_v6: allow to get toplv iface when pixmap_usable is TRUE 84/181784/1 accepted/tizen/unified/20180619.141923 submit/tizen/20180618.085127
Juyeon Lee [Mon, 18 Jun 2018 08:36:53 +0000 (17:36 +0900)]
e_xdg_shell_v6: allow to get toplv iface when pixmap_usable is TRUE

client get toplv interface when show.
sometimes, it attached buffer(means rendering) ahead of toplv iface get
- wl_surface has created and rendered in background before show request
- there's wrapping lib. for a client to set titlei(by zxdg_toplevel_v6)
  in this case, there are no grantee that if there is commit buffer already or not.

Change-Id: Id495801d1c92258b85d0c18257a3c5db377e45ad

6 years agoe_xdg_shell_v6: reset toplv and popup resource when destroy 84/181484/2 accepted/tizen/unified/20180614.150832 submit/tizen/20180614.082337
Juyeon Lee [Thu, 14 Jun 2018 06:51:08 +0000 (15:51 +0900)]
e_xdg_shell_v6: reset toplv and popup resource when destroy

Change-Id: I23c82a39b2483d0266c5b3260229c253de8e4a09

6 years agoe_comp_wl: modified log for commit message 53/181453/1
Doyoun Kang [Thu, 14 Jun 2018 05:33:21 +0000 (14:33 +0900)]
e_comp_wl: modified log for commit message

Change-Id: I34f98eccf94574b42f843ca0db599c8c0d2e88a8

6 years agoe_xdg_shell_v6: Reimplement xdg_shell_v6 support 44/179144/5 accepted/tizen/unified/20180612.130759 submit/tizen/20180611.112755
Seunghun Lee [Thu, 10 May 2018 23:18:01 +0000 (08:18 +0900)]
e_xdg_shell_v6: Reimplement xdg_shell_v6 support

Change-Id: I8e90b19ae3acffe2e889405e44361a59c0adb0d6

6 years agoe_info: add memory dump 09/179509/6
Juyeon Lee [Fri, 18 May 2018 08:43:48 +0000 (17:43 +0900)]
e_info: add memory dump

dump a log file under /tmp with allocation stack information
it only works in arch:arm

Change-Id: I2c423e1a668695f35f90f6c6cc6985037650f7b7

6 years agoe_client: fix bug for setting focus_stack list 17/181117/1 accepted/tizen/unified/20180611.015617 submit/tizen/20180608.095310
Doyoun Kang [Fri, 8 Jun 2018 08:01:51 +0000 (17:01 +0900)]
e_client: fix bug for setting focus_stack list

there was a bug that focus_stack was wrong while checking defer_focus_stack.
(below window was prepended to the focus_stack).
so, the focus was set to below window not top window.
this patch fixes it.

Change-Id: I935eb4014dcdf8f29ba8026d8fc4036730c34eab

6 years agoe_util_transform: fix mis-calculation of x/y position for the user-geometry windows 11/181111/1
junghwan Choi [Fri, 8 Jun 2018 07:39:56 +0000 (16:39 +0900)]
e_util_transform: fix mis-calculation of x/y position for the user-geometry windows

Change-Id: I9651705b27573ff904a5a7e4eb06ff4ce6f8be70
Signed-off-by: junghwan Choi <jhhh.choi@samsung.com>
6 years agoe_policy: add e_policy_animatable_lock 88/180888/3 accepted/tizen/unified/20180611.015551 submit/tizen/20180607.120215
Juyeon Lee [Tue, 5 Jun 2018 08:04:38 +0000 (17:04 +0900)]
e_policy: add e_policy_animatable_lock

add policy for ec if it can be animatalbe or not.
1.there are clients never animated
2.client can set aux-hint not to animate by using aux-hint
3.notification windows are not animatalbe,except notification in normal layer

Change-Id: I30d891d192b8740636e4710e6172a6979eb0a578

6 years agoe_policy: fix bug for uniconifying multi windows 62/180662/1
Doyoun Kang [Fri, 1 Jun 2018 01:37:01 +0000 (10:37 +0900)]
e_policy: fix bug for uniconifying multi windows

When the window is hidden, below window should be uniconified. And if the below window
is small size window, then below window's below window should be uniconified also.
But there was a bug that the small size window was uniconified only.

Change-Id: I16c9470096da5ae58554a891676e0d2b21bc92de

6 years agoviewport & video: Changed log level to debug when it comes to frequent printed out... 14/180614/1
Seunghun Lee [Thu, 31 May 2018 07:38:18 +0000 (16:38 +0900)]
viewport & video: Changed log level to debug when it comes to frequent printed out messages.

Change-Id: I286790b0362235c3e3eb34fbc1179d41445191e5

6 years agovideo & viewport: Using common logging method 'ELOGF()' 06/180606/1
Seunghun Lee [Mon, 28 May 2018 00:04:12 +0000 (09:04 +0900)]
video & viewport: Using common logging method 'ELOGF()'

Change-Id: I87bead368d27ecc5f9ad8d9ccb5e19bdd257c553

6 years agoe_comp_wl_video_buffer: Add a comment about buffer format which has multiple handle. 05/180605/1
Seunghun Lee [Thu, 24 May 2018 01:08:53 +0000 (10:08 +0900)]
e_comp_wl_video_buffer: Add a comment about buffer format which has multiple handle.

Change-Id: If626f4723be193289f800fa9b6bbf969d996d4b4

6 years agoe_hwc: fix typo 04/180604/1
Seunghun Lee [Fri, 18 May 2018 02:29:18 +0000 (11:29 +0900)]
e_hwc: fix typo

Change-Id: I858167c2276df524cc3305a5e681d15e41d66a54

6 years agoe_comp_wl_video: Remove unreachable code. 03/180603/1
Seunghun Lee [Fri, 18 May 2018 02:27:40 +0000 (11:27 +0900)]
e_comp_wl_video: Remove unreachable code.

Change-Id: Idd64b99a7d0651a3231f167231b1f8e690e18bb7

6 years agoe_comp_wl_video: fix typo 02/180602/1
Seunghun Lee [Wed, 16 May 2018 08:14:35 +0000 (17:14 +0900)]
e_comp_wl_video: fix typo

Change-Id: I01343865aa5b58227c1787a79885b8197def1682

6 years agoe_comp_wl_video: remove the duplicated code 01/180601/1
Seunghun Lee [Wed, 16 May 2018 08:12:03 +0000 (17:12 +0900)]
e_comp_wl_video: remove the duplicated code

Change-Id: Ic20b52a9e83416ba8b85eb55b67e7fc7d72022ea

6 years agoe_plane_renderer: deactive renderer when client destory exported buffer 95/179695/2
Changyeon Lee [Fri, 18 May 2018 03:58:14 +0000 (12:58 +0900)]
e_plane_renderer: deactive renderer when client destory exported buffer

if client destroy exported buffer before client is hided, client can't be compoisited
and hide effect isn't worked. so create backup buffer by using displaying buffer

Change-Id: I6a3cda6a72af53179c714819c3dcc1c51020b0aa

6 years agoe_plane: do not fetch of fb_target when sync plane has pending commit 17/179017/4
Changyeon Lee [Mon, 14 May 2018 10:27:22 +0000 (19:27 +0900)]
e_plane: do not fetch of fb_target when sync plane has pending commit

Change-Id: I40a06b4dd04d6d3522b8502215d522448a337243

6 years agoe_plane: set 1 to set/unset_counter when fb_target enter hwc 16/179016/4
Changyeon Lee [Mon, 14 May 2018 10:13:51 +0000 (19:13 +0900)]
e_plane: set 1 to set/unset_counter when fb_target enter hwc

plane should be synchronize set/unset th fb_target
even if fb_target enter hwc

Change-Id: I70ec8a92540422ac115a8b2c3f2d3c46c73da49c

6 years agoe_plane: set full damage to surface if first client buffer is set to layer 92/178892/5
Changyeon Lee [Mon, 14 May 2018 10:57:58 +0000 (19:57 +0900)]
e_plane: set full damage to surface if first client buffer is set to layer

Change-Id: I7b026020c0cff69a515cc11a0755f6d32ad584aa

6 years agoe_comp_wl: set damages of buffer to tbm_surface. 50/178550/7
Changyeon Lee [Thu, 10 May 2018 10:14:42 +0000 (19:14 +0900)]
e_comp_wl: set damages of buffer to tbm_surface.

if client do commit without damage of buffer,
full damage is set to surface

Change-Id: I734db42592bb8faa419a2a5a1b63b5c7d9f73708

6 years agoe_policy_visibility: check map state of above window in _e_vis_ec_above_is_non_alpha_... 68/180468/1
Doyoun Kang [Wed, 30 May 2018 00:42:02 +0000 (09:42 +0900)]
e_policy_visibility: check map state of above window in _e_vis_ec_above_is_non_alpha_visible

Change-Id: If7f0496f91eab43920b09a974eaa864be16e2808

6 years agoe_keyrouter: check a focused ec has wl_surface 19/180019/1
JengHyun Kang [Thu, 24 May 2018 06:45:14 +0000 (15:45 +0900)]
e_keyrouter: check a focused ec has wl_surface

Change-Id: Id779e404216188d1f8c4dc87cd5ba967e90eee95

6 years agoe_eom: erase xdg_window interface 98/179298/1 accepted/tizen/unified/20180517.151244 submit/tizen/20180517.044413
Junkyeong Kim [Thu, 17 May 2018 04:30:56 +0000 (13:30 +0900)]
e_eom: erase xdg_window interface

Change-Id: I1fcfc275b55a9e1f35315d807a221d2c4bbb09a4
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agoe_comp_wl_input: add a new API to change key repeat info (delay/rate) 65/179165/2
JengHyun Kang [Wed, 16 May 2018 07:02:12 +0000 (16:02 +0900)]
e_comp_wl_input: add a new API to change key repeat info (delay/rate)
  - e_comp_wl_input_keyboard_repeat_set

Change-Id: I202da17fe481cbc76fae829e693d2fbefb0cb674

6 years agoe_keyrouter: fix invalid boundary check for max_tizen_hwkeys 76/178576/2
JengHyun Kang [Thu, 10 May 2018 08:49:41 +0000 (17:49 +0900)]
e_keyrouter: fix invalid boundary check for max_tizen_hwkeys

Change-Id: Ia00611e15009c708894cb9d5871db0e0e698b83b

6 years agoe_keyrouter: propagate modifier keys to focus client 18/178518/2
JengHyun Kang [Thu, 10 May 2018 08:02:10 +0000 (17:02 +0900)]
e_keyrouter: propagate modifier keys to focus client

Change-Id: I894362f5c1f7cfea47ff41180938229456e04981

6 years agoe_comp_wl_shell: fix to do not evas_object_show during map when iconified by client 29/178429/2 accepted/tizen/unified/20180510.090026 submit/tizen/20180510.064129
JunSeok, Kim [Thu, 10 May 2018 05:10:28 +0000 (14:10 +0900)]
e_comp_wl_shell: fix to do not evas_object_show during map when iconified by client

once client is unmaped and trying to map again to show,
server should check if it is iconified by client at the step of #2
otherwise, focus gets wrong while calculating visibility zone

Client                        Server
1. raise        --------->    ec->frame restack
2. show            --------->    ec map
3. uniconify by client    --------->    ec->frame show

Change-Id: I137719481920d2d0b1e8fae03e23839a6a82b607

6 years agoe_comp_wl_rsm: add w, h value checking condition 60/178060/2 accepted/tizen/unified/20180509.072945 submit/tizen/20180508.102019
Junkyeong Kim [Tue, 8 May 2018 04:38:43 +0000 (13:38 +0900)]
e_comp_wl_rsm: add w, h value checking condition

Change-Id: I825b6da9aa0a85ed560649db784a3d5db09a533c
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agoe_output: change allocated memory appending location to the list 74/178074/1
Junkyeong Kim [Tue, 8 May 2018 04:53:55 +0000 (13:53 +0900)]
e_output: change allocated memory appending location to the list

Change-Id: Ie4efe1e306f1f35ff494a5cc4457f41acc2c767a
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agoe_plane: free pp_data_list when dpms off 49/177649/1
Junkyeong Kim [Wed, 2 May 2018 11:01:52 +0000 (20:01 +0900)]
e_plane: free pp_data_list when dpms off

Change-Id: I861b4ab2eb81dcd7c9e09a6e6314c97686330c51
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agocheck uniconify_render_running before uniconify window while handling focus 35/177535/1 accepted/tizen/unified/20180502.071129 submit/tizen/20180502.010453
Doyoun Kang [Wed, 2 May 2018 00:14:45 +0000 (09:14 +0900)]
check uniconify_render_running before uniconify window while handling focus

there is a bug that the window which is running uniconify_render is uniconified while handling focus.
for this, enlightenment tries to render it continuously

Change-Id: I621047817ab3589480ebe493c2ecd19bcf3fa2a2

6 years agoe_comp_object: fix bug for supporting E_COMP_OBJECT_HOOK_RESTACK hook 87/177487/1
Doyoun Kang [Mon, 30 Apr 2018 11:06:09 +0000 (20:06 +0900)]
e_comp_object: fix bug for supporting E_COMP_OBJECT_HOOK_RESTACK hook

there was no code to define E_COMP_OBJECT_HOOK_RESTACK value in _e_comp_object_hooks

Change-Id: I5913b0cd23584e724c7aa87d90025e443306611b

6 years agoe_policy: fix bug for supporting E_POLICY_INTERCEPT_SEND_PRE_VISIBILITY interceptor 83/177483/2
Doyoun Kang [Mon, 30 Apr 2018 10:52:28 +0000 (19:52 +0900)]
e_policy: fix bug for supporting E_POLICY_INTERCEPT_SEND_PRE_VISIBILITY interceptor

there was no code to define E_POLICY_INTERCEPT_SEND_PRE_VISIBILITY value in E_Policy_Interceptor structure.

Change-Id: I1e07de4d74b1a786a213ce2b9cfa84eab928d318

6 years agoe_comp_wl: add e_comp_wl_send_event_device function definition to header file 53/177453/1
JengHyun Kang [Mon, 30 Apr 2018 06:46:00 +0000 (15:46 +0900)]
e_comp_wl: add e_comp_wl_send_event_device function definition to header file

Change-Id: I91b28d09f5bdbb04bba4aadc2dd2aacc1b56a18a

6 years agoe_policy_visibility: Modified to invoke interceptor before sending pre visibility... 37/177337/3
Seungjin Park [Fri, 27 Apr 2018 07:44:55 +0000 (16:44 +0900)]
e_policy_visibility: Modified to invoke interceptor before sending pre visibility event

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

6 years agoRevert "e_plane: set the default value of the cursor position." 49/177349/1 accepted/tizen/unified/20180430.072123 submit/tizen/20180427.084049
Changyeon Lee [Fri, 27 Apr 2018 08:12:25 +0000 (17:12 +0900)]
Revert "e_plane: set the default value of the cursor position."

This reverts commit ebfc31cbade36966e884c190ffcf49cfd762d822.

Change-Id: I8cd2e9a94c7e95b18c7cd52e965bdbfdd317c1bb

6 years agoe_comp_wl_rsm: do not use wl_shm_buffer when saving img of remote_source 70/176870/3
Changyeon Lee [Fri, 20 Apr 2018 06:28:29 +0000 (15:28 +0900)]
e_comp_wl_rsm: do not use wl_shm_buffer when saving img of remote_source

it is possible that wl_shm_buffer is freed during saving img of remote_source
so save information of wl_shm_buffer in Thread_Data

Change-Id: I897ae71b1c2d68ad12826fe389d1d47395701042

6 years agoe_comp_wl : add an API to send event device via tizen_input_device protocool 39/177239/2 accepted/tizen/unified/20180426.145855 submit/tizen/20180426.094148
Sung-Jin Park [Thu, 26 Apr 2018 09:29:42 +0000 (18:29 +0900)]
e_comp_wl : add an API to send event device via tizen_input_device protocool

Change-Id: I92ebc1dcb2819e43768ffacae817496ad927c43a
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>