platform/upstream/enlightenment.git
5 years agoe_plane:remove pp_pending data only dpms off 97/186897/1
Junkyeong Kim [Thu, 16 Aug 2018 09:55:04 +0000 (18:55 +0900)]
e_plane:remove pp_pending data only dpms off

Change-Id: I011549447ba9db9fff09e89e35609d6bc6103fa0
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_policy_visibility: add code to check child's uniconify_render state in intercept... 33/186733/2
Doyoun Kang [Tue, 14 Aug 2018 01:09:56 +0000 (10:09 +0900)]
e_policy_visibility: add code to check child's uniconify_render state in intercept show

There was a case that a window was waiting for uniconify_render of child window which
had done uniconify_render in intercept show function.
So, we add an additional checking code not to wait child's uniconify_render.

Change-Id: I0ae12a4dded3bb9db61db8da95d991f6217dba2e

5 years agoe_xdg_shell_v6: fix typo 43/186743/1
Seunghun Lee [Mon, 13 Aug 2018 12:21:04 +0000 (21:21 +0900)]
e_xdg_shell_v6: fix typo

Change-Id: Ia786ffb8a768c23f717f09b55e915cb8a17fad9b

5 years agoe_xdg_shell_v6: set null after destroying shell of e_client, ec will be freed. 42/186742/1
Seunghun Lee [Mon, 13 Aug 2018 11:51:18 +0000 (20:51 +0900)]
e_xdg_shell_v6: set null after destroying shell of e_client, ec will be freed.

fix memory violation, heap-use-after-free

Change-Id: I97b665e317e2e0decd8820e592fdd0e9e9505068

5 years agoe_comp_wl: accepts_focus set true at wl_surface_create instead of xdg_shell_toplevel_set 74/186674/2
JunSeok, Kim [Mon, 13 Aug 2018 07:38:26 +0000 (16:38 +0900)]
e_comp_wl: accepts_focus set true at wl_surface_create instead of xdg_shell_toplevel_set

if accepts_focus set TRUE in xdg_shell_toplevel_set can occure timing issue with focus_skip_set.
in evas_object_show, xdg_shell_toplevel_set is always set the accepts_focus to TRUE
if visibility calculation occurs before processing tizen_policy_set_focus_skip, focus will be in&out quickly.
this patch fix the issue.

Change-Id: I9441770a0c050899da32896833174dd4db709f4b

5 years agoe_input: set correct coords info following correct mt_slot 50/186550/1
JengHyun Kang [Fri, 10 Aug 2018 09:08:23 +0000 (18:08 +0900)]
e_input: set correct coords info following correct mt_slot

Change-Id: I48426afedc3c432c7664d6a71a74a43dffc036d0

5 years agoe_comp_wl: send key events to E_client's wayland client 38/186538/3 accepted/tizen/unified/20180813.061425 submit/tizen/20180810.062205
JengHyun Kang [Fri, 10 Aug 2018 06:40:56 +0000 (15:40 +0900)]
e_comp_wl: send key events to E_client's wayland client

Change-Id: Ieccb7fb8a3bdb69ff99e2a41c35881513d4a0192

5 years agohwc_windows: set hwc_window to queue if preparation type is buffer queue 34/186434/3
Changyeon Lee [Thu, 9 Aug 2018 03:00:47 +0000 (12:00 +0900)]
hwc_windows: set hwc_window to queue if preparation type is buffer queue

Change-Id: Ic756a029adf687d8fa55bbe04fbe003e6482025b

5 years agohwc_windows: support displaying video of hwc_window 33/186433/1
Changyeon Lee [Wed, 8 Aug 2018 09:58:25 +0000 (18:58 +0900)]
hwc_windows: support displaying video of hwc_window

Change-Id: I29f0f95f979c2ca27bc8ee4f6113dbd8d13c530a

5 years agohwc_window_queue: remove unused value 65/186365/2
Changyeon Lee [Thu, 9 Aug 2018 07:11:29 +0000 (16:11 +0900)]
hwc_window_queue: remove unused value

Change-Id: Ie333a85dd8d7ac28d61adda7edeb5e8ad86f4b1d

5 years agohwc_window_queue: fix memory leak 64/186364/2
Changyeon Lee [Thu, 9 Aug 2018 07:05:21 +0000 (16:05 +0900)]
hwc_window_queue: fix memory leak

Change-Id: Iaa4579ab2cb0f04a1075d2cb73615dba94365c68

5 years agoe_test_helper: added null check of ec 69/186369/2
JunSeok, Kim [Thu, 9 Aug 2018 07:29:39 +0000 (16:29 +0900)]
e_test_helper: added null check of ec

Change-Id: I2bdd23ead16815a616a30816d17056bccdf91902

5 years agoe_utils: free dir_path under error condition. 66/186366/2
JunSeok, Kim [Thu, 9 Aug 2018 07:17:10 +0000 (16:17 +0900)]
e_utils: free dir_path under error condition.

Change-Id: I5b62c33ea3452b9628425db0b85b0bbdfb0920da

5 years agoe_info_server: Moved log before destroy client that used in the log 61/186361/2
JunSeok, Kim [Thu, 9 Aug 2018 07:11:52 +0000 (16:11 +0900)]
e_info_server: Moved log before destroy client that used in the log

Change-Id: I1ab517785247eb3ff921bd31cce0235cbb2ed015

5 years agohwc_window_queue: fix dereferencing null pointer 63/186363/1
Changyeon Lee [Thu, 9 Aug 2018 07:02:54 +0000 (16:02 +0900)]
hwc_window_queue: fix dereferencing null pointer

Change-Id: I893fab3dadbad1aa743b5911415cdbe6d15c85f1

5 years agohwc_window_queue: remove unnecessary null checking 62/186362/1
Changyeon Lee [Thu, 9 Aug 2018 06:50:11 +0000 (15:50 +0900)]
hwc_window_queue: remove unnecessary null checking

Change-Id: I3db95bc6b6dea63a3a23cb61e97c7c4160304289

5 years agoe_info_server/client: add an option to destroy a wayland client with the given pid 05/186005/2 accepted/tizen/unified/20180807.061056 submit/tizen/20180807.031351
Sung-Jin Park [Mon, 6 Aug 2018 11:27:39 +0000 (20:27 +0900)]
e_info_server/client: add an option to destroy a wayland client with the given pid

Change-Id: I50243921028643af7d0519f9306899a9cfc398a1
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
5 years agoe_xdg_shell_v6: used 'e_object' for managing instance of E_Xdg_Surface. 02/185602/2
Seunghun Lee [Tue, 31 Jul 2018 08:48:45 +0000 (17:48 +0900)]
e_xdg_shell_v6: used 'e_object' for managing instance of E_Xdg_Surface.

A instance of 'E_Xdg_Surface' is shared for zxdg_surface_v6, zxdg_toplevel_v6
and zxdg_popup_v6. So, managed it by e_object's reference method.

Change-Id: I3d3e19456e7240b6785ae65ef3d9160d730e9002

5 years agoe_xdg_shell_v6: reset E_Client's xdg_shell assignment when xdg_surface is destroyed. 01/185601/2
Seunghun Lee [Tue, 31 Jul 2018 05:35:02 +0000 (14:35 +0900)]
e_xdg_shell_v6: reset E_Client's xdg_shell assignment when xdg_surface is destroyed.

Change-Id: I4b1516b8abca91e7e968428e9a0c3f15464a5b49

5 years agoe_xdg_shell_v6: Freed a memory 'E_Xdg_Surface_Configure' when cleanup the configure_list. 00/185600/2
Seunghun Lee [Mon, 30 Jul 2018 09:46:16 +0000 (18:46 +0900)]
e_xdg_shell_v6: Freed a memory 'E_Xdg_Surface_Configure' when cleanup the configure_list.

fix a memory leak

Change-Id: I7329678c86dbd864d8afae021d6dc4f99c8e3331

5 years agoe_xdg_shell_v6: compare with proper enum type 99/185599/2
Seunghun Lee [Mon, 30 Jul 2018 09:42:53 +0000 (18:42 +0900)]
e_xdg_shell_v6: compare with proper enum type

Change-Id: I7572b5192e98394e5252c7e4b601ed1285d6236f

5 years agohwc_window: redesign hwc_windows to prevent flickering in transition 70/185670/2
Changyeon Lee [Wed, 1 Aug 2018 09:26:15 +0000 (18:26 +0900)]
hwc_window: redesign hwc_windows to prevent flickering in transition

- always update buffer and info are changed
- if buffer of target_window isn't matched with current evaluation, skip buffer
- hwc only evaluate windows when visible_window or buffer or info are changed

Change-Id: I481086e190ca96d58c638abbd892c27949331ad4

5 years agohwc_windows: use tdm_hwc_commit instead tdm_output_commit 69/185669/2
Changyeon Lee [Wed, 1 Aug 2018 09:06:21 +0000 (18:06 +0900)]
hwc_windows: use tdm_hwc_commit instead tdm_output_commit

Change-Id: I24c39020fcceb7761fe615f35ec449537c1a0e55

5 years agohwc_windows: update ec of hwc_window redirect after validate 68/185668/2
Changyeon Lee [Wed, 1 Aug 2018 09:01:30 +0000 (18:01 +0900)]
hwc_windows: update ec of hwc_window redirect after validate

- render_target means hwc_window is rendered on gl_compositor
- render_target is set/unset  when hwc_window is set to DEVICE/CLIENT

Change-Id: I159945670a40eb5164f15feda2eb5ef35f660b47

5 years agohwc_windows: update accepted_state and activate after hwc_accept 67/185667/2
Changyeon Lee [Wed, 1 Aug 2018 08:28:05 +0000 (17:28 +0900)]
hwc_windows: update accepted_state and activate after hwc_accept

Change-Id: Iff381a21d60bbdaa7ae47467346fface3b687d00

5 years agohwc_window: manage rendered tsurfaces as a list 60/185660/2
Changyeon Lee [Wed, 1 Aug 2018 07:34:10 +0000 (16:34 +0900)]
hwc_window: manage rendered tsurfaces as a list

- compositor can have several rendered tsurface
- ref/unref hwc_window when add/remove to render_list
- it is appended that tbm_surface which dequeued in manual_render

Change-Id: I4dffd0c8a71d6d127cc357512c7e565a0e53ca54

5 years agohwc_window: clean up code and log 59/185659/2
Changyeon Lee [Wed, 1 Aug 2018 05:56:08 +0000 (14:56 +0900)]
hwc_window: clean up code and log

- use EHWTRACE, EHWINF log instead ELOGF
- remove unnecessary log
- fix indentation and typo
- remove unused func

Change-Id: I4d14906d89f3a6cb982ba6f2f672f72d942f0433

5 years agohwc_window: wrapped cursor infomation to struct 58/185658/2 58/185658/3
Changyeon Lee [Tue, 31 Jul 2018 11:09:55 +0000 (20:09 +0900)]
hwc_window: wrapped cursor infomation to struct

Change-Id: I4db0835c83bb15fa446c4ef8a878ea80ad689d1f

5 years agohwc: added e_hwc_window_queue 56/185656/2
Changyeon Lee [Tue, 31 Jul 2018 10:44:18 +0000 (19:44 +0900)]
hwc: added e_hwc_window_queue

- E_Hwc_Window_Queue is used by hwc_window
- if hwc_window use queue, set and commit tsurface is acquired from queue
- hwc_window should release tsurface to queue when hwc_window doens't use
  tsurface anymore
- Normally target_window uses a queue, client hwc_window use queue when
  reserved memory target

Change-Id: I1eec6b13a821259679300042f47a00e363daf942

5 years agoe_utils: add support for monitoring file creation in the given directory 50/185650/2
Sung-Jin Park [Wed, 1 Aug 2018 09:39:29 +0000 (18:39 +0900)]
e_utils: add support for monitoring file creation in the given directory

Change-Id: Ie8b73efdb1f5971710ad43cc984d35619b72e498
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
5 years agohwc_window: change hwc_window hook func from EAPI to EINTERN 21/185621/1
Changyeon Lee [Wed, 1 Aug 2018 07:06:55 +0000 (16:06 +0900)]
hwc_window: change hwc_window hook func from EAPI to EINTERN

Change-Id: I69447981d73eda30e93609f36eaa8049ccf28724

5 years agohwc_windows: clean up log 30/185530/5
Changyeon Lee [Tue, 31 Jul 2018 08:46:16 +0000 (17:46 +0900)]
hwc_windows: clean up log

use EHWSTRACE macro and removed unnecessary log

Change-Id: Ifa1831288d8527f8440c0f63ccf3a25b5fe185d3

5 years agohwc_window: added e_hwc_window_name_get 29/185529/2
Changyeon Lee [Tue, 31 Jul 2018 08:22:18 +0000 (17:22 +0900)]
hwc_window: added e_hwc_window_name_get

Change-Id: Id6621dc23deebd2d3a4df6deceeafb0a0344db50

5 years agohwc_window: used list for managing of hook and event handler 28/185528/2
Changyeon Lee [Tue, 31 Jul 2018 07:36:25 +0000 (16:36 +0900)]
hwc_window: used list for managing of hook and event handler

Change-Id: I701d1118a2a61716379b9e5a21a7ba9ae7ce578f

5 years agohwc_window: used e_object when allocating e_hwc_window 27/185527/2
Changyeon Lee [Tue, 31 Jul 2018 07:13:16 +0000 (16:13 +0900)]
hwc_window: used e_object when allocating e_hwc_window

ref/unref of e_hwc_window are needed, so e_hwc_window is allocated
with e_object

Change-Id: If8240d4fe5abcec0d236aa56c9afb8718d4aac3b

5 years agohwc_window: remove unused enum value 26/185526/2
Changyeon Lee [Tue, 31 Jul 2018 06:50:18 +0000 (15:50 +0900)]
hwc_window: remove unused enum value

E_HWC_WINDOW_STATE_DEVICE_CANDIDATE and E_HWC_WINDOW_ACTIVATION_STATE_NONE
isn't needed

Change-Id: Ib36a31af8a2ae81e78cf774a09067098632fa2f9

5 years agohwc_window: added ACCEPTED_STATE_CHANGE hook 25/185525/3
Changyeon Lee [Tue, 31 Jul 2018 06:38:22 +0000 (15:38 +0900)]
hwc_window: added ACCEPTED_STATE_CHANGE hook

Change-Id: I322ac537931bb8e3c5910c2761cf53ded595bcba

5 years agohwc_window: added accepted_state and removed prev_state 24/185524/2
Changyeon Lee [Tue, 31 Jul 2018 05:47:57 +0000 (14:47 +0900)]
hwc_window: added accepted_state and removed prev_state

accepted_state is set after changing of composition state is accepted

Change-Id: Icacd8f0522a2a63f84add5f4daabf903e9bb9a1c

5 years agohwc_window: added macro for log 23/185523/2
Changyeon Lee [Tue, 31 Jul 2018 05:38:29 +0000 (14:38 +0900)]
hwc_window: added macro for log

Change-Id: I3fcb0b48903e8f5998f65455f0a86e809440557f

5 years agohwc: get tdm_hwc before ecore_evas init 22/185522/2 22/185522/3
Changyeon Lee [Tue, 31 Jul 2018 03:13:42 +0000 (12:13 +0900)]
hwc: get tdm_hwc before ecore_evas init

tdm_hwc is needed for getting tbm_surface_queue of target

Change-Id: If34affb73a63da01187b844ab296c32e67a7b76e

5 years agoe_test_helper: Added eldbus callback for SetWindowFocusSkip 77/185477/2
JunSeok, Kim [Tue, 31 Jul 2018 03:46:33 +0000 (12:46 +0900)]
e_test_helper: Added eldbus callback for SetWindowFocusSkip

Change-Id: I2acf8e0a2a4e033bc9dcaa45d96c385768cb55a3

5 years agoe_test_helper: Added eldbus callback for SetWindowNotiLevel 76/185476/2
JunSeok, Kim [Tue, 31 Jul 2018 03:46:21 +0000 (12:46 +0900)]
e_test_helper: Added eldbus callback for SetWindowNotiLevel

Change-Id: I5b50abb660b4902d03d88683d17cf4def21c7594

5 years agoe_test_helper: Added eldbus callback for SetWindowTransientFor 75/185475/2
JunSeok, Kim [Tue, 31 Jul 2018 03:45:40 +0000 (12:45 +0900)]
e_test_helper: Added eldbus callback for SetWindowTransientFor

Change-Id: Id6ca5bc6311874ff95cc76436fb15186671d1cc1

5 years agoe_test_helper: Added eldbus callback for SetWindowIconify 74/185474/2
JunSeok, Kim [Tue, 31 Jul 2018 03:44:47 +0000 (12:44 +0900)]
e_test_helper: Added eldbus callback for SetWindowIconify

Change-Id: If52a189daa95ce69c740c6a57cc7697b859b5d3c

5 years agoe_test_helper: Added eldbus callback for SetWindowActivate 73/185473/2
JunSeok, Kim [Tue, 31 Jul 2018 03:35:15 +0000 (12:35 +0900)]
e_test_helper: Added eldbus callback for SetWindowActivate

Change-Id: I7ebd1ac0952b3e78df3ab548ad9d1d20d282fd62

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

5 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

5 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

5 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

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

5 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

5 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

5 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

5 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

5 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