platform/upstream/enlightenment.git
5 years agoe_client: defer_focus unset if activated ec has transient_for child 05/232105/2 submit/tizen_5.5/20200428.091513
Junseok, Kim [Tue, 28 Apr 2020 08:07:23 +0000 (17:07 +0900)]
e_client: defer_focus unset if activated ec has transient_for child

The focus of child EC by parent activates can be lost during the deferred focus calculation.
This patch prevents this bug as defer_focus unset of parent EC.

Change-Id: I49fd5149a89b7743dd96376a7c2fe49531be6004
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
5 years agoe_service_launcher: fix code to send e,action,launch_real,done signal to target window 64/232064/4
Doyoun Kang [Tue, 28 Apr 2020 05:00:04 +0000 (14:00 +0900)]
e_service_launcher: fix code to send e,action,launch_real,done signal to target window

There was a bug that the launching done signal was sent to the launcher service window.
We modified code to send lannching done signal to the target(launched) window not
launcher window.

Change-Id: Ib1bf3b495e723cbdda206d3c5452cb57d3655b40

5 years agoe_client: Check evas_object_visible if ec's visibliety is UNKNOWN while focusable... 60/231660/3 accepted/tizen/5.5/unified/20200424.141616 submit/tizen_5.5/20200424.051823
Junseok, Kim [Thu, 23 Apr 2020 09:07:33 +0000 (18:07 +0900)]
e_client: Check evas_object_visible if ec's visibliety is UNKNOWN while focusable check

There is a bug that the focus of a new window that had never calculated "visibility" loses focus easily.
It fixes this bug.

Change-Id: Iee7cea360aef99faeb2eea878af4a802dfac106d
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
5 years agoe_policy_wl: broadcast to all tzsh service and client when new service is added 32/231732/1
Doyoun Kang [Fri, 24 Apr 2020 03:48:01 +0000 (12:48 +0900)]
e_policy_wl: broadcast to all tzsh service and client when new service is added

There was a bug that the new service was added, then tzsh_service didn't notice it.
We fixes this issue.

Change-Id: Id6da4ec946a3c1daee3c08845b3c786b448fa16a

5 years agoe_comp_wl_rsm: fix dereference null 25/231725/2
Changyeon Lee [Fri, 24 Apr 2020 03:09:09 +0000 (12:09 +0900)]
e_comp_wl_rsm: fix dereference null

Change-Id: Ifaacc271f54626a2ff869943f36335ee1a97e327

5 years agoe_service_launcher: flush queue of target ec after launch done 99/231699/2
Changyeon Lee [Thu, 23 Apr 2020 12:25:01 +0000 (21:25 +0900)]
e_service_launcher: flush queue of target ec after launch done

Change-Id: If76c085ea07f89f3a3196db5ed495f3880091c2b

5 years agoe_service_launcher: added null check 02/231702/1 accepted/tizen/5.5/unified/20200423.232632 submit/tizen_5.5/20200423.133854
Gwanglim Lee [Thu, 23 Apr 2020 13:22:55 +0000 (22:22 +0900)]
e_service_launcher: added null check

Change-Id: Ic8988f477f505e07f4f907f3305c721f4e976545

5 years agoe_service_launcher: fixed wrong operation for the backward direction 96/231696/1
Gwanglim Lee [Thu, 23 Apr 2020 12:35:06 +0000 (21:35 +0900)]
e_service_launcher: fixed wrong operation for the backward direction

activity: callee ec
given ec: callee ec (transient_for child)  <-- destroying by back key
          caller ec (transient_for parent) <-- will be shown

In this case, the given ec is a callee ec and is transient_for with caller ec (lc) by
group launching. Also, because of transient_for, caller ec is not iconified.
Since the given ec is destroyed by the back key, we can't find out caller ec(lc) with activity and given ec.
We have to use transient_for to find caller ec(lc).

Change-Id: I82e1fa23000c78739866b4ead570d740c088815d

5 years agoe_service_launcher: send "e,action,launch_real,done" signal in launch_done callback 93/231593/2 accepted/tizen/5.5/unified/20200423.150413 submit/tizen_5.5/20200423.012028
Doyoun Kang [Thu, 23 Apr 2020 00:54:05 +0000 (09:54 +0900)]
e_service_launcher: send "e,action,launch_real,done" signal in launch_done callback

Change-Id: Iae7bd2bc4d84ce57b4c047d9cebc9db5b0825e06

5 years agoe_client: add some logs for defer_focus set/unset 88/231488/3 accepted/tizen/5.5/unified/20200422.234542 submit/tizen_5.5/20200422.103812
Junseok, Kim [Wed, 22 Apr 2020 06:19:41 +0000 (15:19 +0900)]
e_client: add some logs for defer_focus set/unset

added logs when client defer_focus set/unset
and call e_client_focus_defer_unset instead of direct use of eina_list_remove

Change-Id: I3517ae6a2b0ddf396f837f638b4b60e700c2b923
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
5 years agoe_comp_wl_rsm: get E_Comp_Wl_Buffer from E_Comp_Wl_Client_Data 74/231474/1
Changyeon Lee [Wed, 22 Apr 2020 05:11:34 +0000 (14:11 +0900)]
e_comp_wl_rsm: get E_Comp_Wl_Buffer from E_Comp_Wl_Client_Data

resource of e_pixmap is set even if buffer flush is done.
if remote surface use resouce of pixmap,
remote_surface send buffer before uniconify render done.

Change-Id: I924d3f3904448aedb4a94adbc5932d170eae2c96

5 years agoe_output: free all allocated memory for mask when it's deleted. 72/231272/2
Seunghun Lee [Tue, 7 Apr 2020 02:23:41 +0000 (11:23 +0900)]
e_output: free all allocated memory for mask when it's deleted.

fix possible memory leak at a time of deletion of e_output.

Change-Id: I56d99171dd221be53e2c6c13004bf664c43bedee

5 years agovideo: remove tdm commit/vblank handlers at deletion of instance. 73/231273/2
Seunghun Lee [Tue, 21 Apr 2020 01:13:44 +0000 (10:13 +0900)]
video: remove tdm commit/vblank handlers at deletion of instance.

this patch will fix a crash caused on handling vblank after deletion of
instance.

Change-Id: I762f2cd0d0edaa75e93a652ecb02a5222cd92c89

5 years agoe_hwc_window: execute ec render only redirected flag set to true 80/230980/1 accepted/tizen/5.5/unified/20200421.150444 submit/tizen_5.5/20200421.013800
Junkyeong Kim [Thu, 16 Apr 2020 09:20:25 +0000 (18:20 +0900)]
e_hwc_window: execute ec render only redirected flag set to true

Change-Id: If8fc511f47c097f5699349d0f1780e0026e0b677
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_info_server: print object information of edj object members 15/230915/4 accepted/tizen/5.5/unified/20200417.152853 submit/tizen_5.5/20200416.101704
Changyeon Lee [Thu, 16 Apr 2020 04:03:30 +0000 (13:03 +0900)]
e_info_server: print object information of edj object members

edj object can have members even if it doesn't have smart

Change-Id: Ic9db23907fd9f2258c8d1cf3123eb58617cd8a71

5 years agoe_hwc_windows: set client type if client is obscured by target 14/230914/3
Changyeon Lee [Tue, 14 Apr 2020 08:11:22 +0000 (17:11 +0900)]
e_hwc_windows: set client type if client is obscured by target

Change-Id: I6c8db1221a43acf52f4860b993ad5fd0cb11a103

5 years agoe_client: change arguments for event send APIs 91/230791/1 accepted/tizen/5.5/unified/20200416.164858 submit/tizen_5.5/20200414.073520
jeon [Tue, 14 Apr 2020 07:08:59 +0000 (16:08 +0900)]
e_client: change arguments for event send APIs

  - Evas_Device to Ecore_Device

Change-Id: Ia8d55a4f4b2fa9048ae40d199a725300955e951a

5 years agoe_hwc_windows: set client type to all windows in e_comp_hwc_end 49/230349/3
Changyeon Lee [Fri, 3 Apr 2020 10:31:26 +0000 (19:31 +0900)]
e_hwc_windows: set client type to all windows in e_comp_hwc_end

Change-Id: I51e2e8227b7bb5bc8467337f7a79e65cd0144695

5 years agoe_comp_object: add missing pixels_noti callback set 90/230490/3
Changyeon Lee [Fri, 10 Apr 2020 05:44:48 +0000 (14:44 +0900)]
e_comp_object: add missing pixels_noti callback set

Change-Id: I55932b52462587456f6fdca233f1e18590ea1ebd

5 years agoe_hwc_window: set client type if e_pixmap resource is null 51/230051/3
Changyeon Lee [Tue, 7 Apr 2020 10:44:56 +0000 (19:44 +0900)]
e_hwc_window: set client type if e_pixmap resource is null

in rotation module, e_pixmap resource is set by null for skip frame.
it cause deadlock if client is set HWC and reserved memory is double buffer

Change-Id: I0ce110ece3716103f73dea824aa23fa1c45d7623

5 years agoe_hwc_window: fixed resource leak for new tbm buffer 57/230657/3
Gwanglim Lee [Mon, 13 Apr 2020 02:52:15 +0000 (11:52 +0900)]
e_hwc_window: fixed resource leak for new tbm buffer

Change-Id: I08790b3dae1e487dd83061298b836e3d1a5a666e

5 years agoe_policy: cancel uniconify_render job if visibility changes to off 24/230524/3 accepted/tizen/5.5/unified/20200414.140227 submit/tizen_5.5/20200413.094815
Junseok, Kim [Fri, 10 Apr 2020 08:27:00 +0000 (17:27 +0900)]
e_policy: cancel uniconify_render job if visibility changes to off

Change-Id: I588b6e6d2c7d84a2e4eab9077685ddafdbc9e99c
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
5 years agoe_policy_visibility: add function for uniconify_render job cancel 23/230523/3
Junseok, Kim [Fri, 10 Apr 2020 08:26:23 +0000 (17:26 +0900)]
e_policy_visibility: add function for uniconify_render job cancel

Change-Id: I848393c5803c51b53ea0429a1a8ce6bfb7c92b4e
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
5 years agoe_client: don't set focus if ec is already focused 86/230586/3
Junseok, Kim [Mon, 6 Apr 2020 02:20:35 +0000 (11:20 +0900)]
e_client: don't set focus if ec is already focused

Change-Id: I9bf51b6db7be09a53e697f7d099c28bedd4d1249
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
5 years agoe_policy_wl: provides tizen_launch_appinfo interface as default 08/230208/1 accepted/tizen/5.5/unified/20200409.124127 submit/tizen_5.5/20200408.100256
MinJeong Kim [Mon, 25 Nov 2019 23:27:33 +0000 (08:27 +0900)]
e_policy_wl: provides tizen_launch_appinfo interface as default

Change-Id: I0086476e293520ee891d6b375758f761b91e9116
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
5 years agoe_appinfo : renamed e_policy_appinfo 07/230207/1
MinJeong Kim [Wed, 30 Oct 2019 06:49:51 +0000 (15:49 +0900)]
e_appinfo : renamed e_policy_appinfo

e_policy_appinfo is renamed as e_appinfo.

And we added USE_E_APPINFO macro for supporting outdated API of e_policy_appinfo
to prevent build break.

Change-Id: I8548f28a7a0001cd2f6818385bdfaa075c435c93
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
5 years agoe_policy_wl/e_service_launcher: use e_policy_appinfo 06/230206/1
MinJeong Kim [Mon, 28 Oct 2019 00:37:05 +0000 (09:37 +0900)]
e_policy_wl/e_service_launcher: use e_policy_appinfo

Change-Id: I2f389abf9fe71d5e7bca6eb2e00beaeb4d2a04e3
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
5 years agoe_policy_appinfo: manage appinfo by appid 05/230205/1
MinJeong Kim [Mon, 28 Oct 2019 00:36:47 +0000 (09:36 +0900)]
e_policy_appinfo: manage appinfo by appid

Change-Id: I173bb0f8d42ce85cfd0e7d65fd95a232f99daae4
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
5 years agoe_comp_wl: check touches are pressed before send touch cancel 25/229925/1 accepted/tizen/5.5/unified/20200408.131549 submit/tizen_5.5/20200407.055907 submit/tizen_5.5/20200408.130314
jeon [Mon, 6 Apr 2020 11:46:57 +0000 (20:46 +0900)]
e_comp_wl: check touches are pressed before send touch cancel

  - currently we only check need_send_released before send touch cancel,
    but that variable is only triggered single touch.
  - so we cannot check multi touch status, so change condition

Change-Id: I303447c09f9f88871868498aef38783a77f13db1

5 years agoe_hwc_window: recover hwc_window even if client is deleted 87/229787/1
Changyeon Lee [Fri, 3 Apr 2020 08:38:13 +0000 (17:38 +0900)]
e_hwc_window: recover hwc_window even if client is deleted

client can be visible even if it is deleted because hide effect

Change-Id: Ie0af7aa0151a4d3b69df9c4f5a43f08589b5b510

5 years agoe_policy_visibility: get below activity clients with eina_tiler 02/229002/2
Junseok, Kim [Mon, 30 Mar 2020 07:36:38 +0000 (16:36 +0900)]
e_policy_visibility: get below activity clients with eina_tiler

Change-Id: I1e8d2c068f73dd0ade25afe57a673377af00f1bd

5 years agoe_policy_visibility: check partial window with boolean when running uniconify_render 56/228056/3
Junseok, Kim [Wed, 18 Mar 2020 12:28:56 +0000 (21:28 +0900)]
e_policy_visibility: check partial window with boolean when running uniconify_render

Change-Id: Idfb8f509fd4f7adb4e02035d6073ebe110383147

5 years agoe_output: do not deactivate hwc by applying mask object for stream capture. 81/228981/1 accepted/tizen/5.5/unified/20200401.132659 submit/tizen_5.5/20200401.043003
Seunghun Lee [Tue, 24 Mar 2020 10:12:21 +0000 (19:12 +0900)]
e_output: do not deactivate hwc by applying mask object for stream capture.

Image mask functionality is actually for -dump_video option of
enlightenment_info.
Since the usage of -dump_video option is for debugging, if deactivate
hwc then it can hide a defect about hwc issue.

Change-Id: Ic0eef39a71c241059ae16ff5615b643acb033e12

5 years agoe_output: Add APIs for stream capture to mask canvas with image object. 80/228980/1
Seunghun Lee [Sun, 22 Mar 2020 03:00:27 +0000 (12:00 +0900)]
e_output: Add APIs for stream capture to mask canvas with image object.

This patch introduces APIs for masking canvas with image object during
stream capture. Namely, these methods are:

Eina_Bool e_output_stream_capture_mask_image_file_set(file)
Eina_Bool e_output_stream_capture_mask_image_geometry_set(x, y, w, h)

Once the image file is given, image object will be created on top of
canvas whenever starting stream capture and will be destroyed whenever
finishing stream capture.
It can be canceled by setting null as file name.

Image object will be re-loadeded if the file name changes during stream
capture, and will be destroyed if null is given as file name.

Change-Id: Id12895e894588c3700aeca52dab1213f57fdc44e

5 years agoe_client: check argb changes in transform core 12/228812/3 accepted/tizen/5.5/unified/20200326.232412 submit/tizen_5.5/20200326.070148
Junseok, Kim [Thu, 26 Mar 2020 01:23:22 +0000 (10:23 +0900)]
e_client: check argb changes in transform core

Change-Id: I5a7c5d1d0086d9f3411aa75c5fd0e1e9f1c1c734

5 years agoe_client: didn't focus client that child couldn't get focus without focus_skip_set 58/228358/2
Junseok, Kim [Fri, 20 Mar 2020 10:34:08 +0000 (19:34 +0900)]
e_client: didn't focus client that child couldn't get focus without focus_skip_set

Change-Id: I22bcbe942e328f1364efcd9583e052e12a5f11b3
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
5 years agoe_policy_wl: prevent double free of tzsh_reg->destroy_listener.link 29/228729/1 accepted/tizen/5.5/unified/20200325.144818 submit/tizen_5.5/20200325.071729
Junseok, Kim [Wed, 25 Mar 2020 06:08:35 +0000 (15:08 +0900)]
e_policy_wl: prevent double free of tzsh_reg->destroy_listener.link

Change-Id: If3a57713a5128553d8c09a3e8b6fa693be0ec576

5 years agoe_devicemgr_input: change detent value 2 to 1 61/228561/1 accepted/tizen/5.5/unified/20200324.134457 submit/tizen_5.5/20200323.012542
jeon [Tue, 17 Dec 2019 11:49:21 +0000 (20:49 +0900)]
e_devicemgr_input: change detent value 2 to 1

Change-Id: If74b4ffa4a293006ea5df35be9bd71c9f7de139f

5 years agoe_comp_object: add log for intercept hide 85/228485/3
Juyeon Lee [Mon, 23 Mar 2020 18:30:38 +0000 (03:30 +0900)]
e_comp_object: add log for intercept hide

Change-Id: I411a1e19597c7fd0ade87b5f4c45c47fef5f9053

5 years agoe_policy_visibility: cancel lower job before client activate 32/228332/3 accepted/tizen/5.5/unified/20200321.004502 submit/tizen_5.5/20200320.090210
Junseok, Kim [Thu, 19 Mar 2020 07:58:31 +0000 (16:58 +0900)]
e_policy_visibility: cancel lower job before client activate

Change-Id: Iec4c8aaab2c10c6642b2e1eb3e669036eb471e7a

5 years agoe_hwc_window: don't change buffer of ec when recover buffer 13/227713/1
Changyeon Lee [Thu, 12 Mar 2020 11:00:42 +0000 (20:00 +0900)]
e_hwc_window: don't change buffer of ec when recover buffer

if buffer of ec is null, null buffer attach to ec after recover buffer

Change-Id: I4c7e5a56bb0679eafd18356905d33475fcb238b2

5 years agoe_policy_wl: check ec's validation before sending aux_message 36/227636/1 accepted/tizen/5.5/unified/20200316.155206 submit/tizen_5.5/20200313.111256
Doyoun Kang [Fri, 13 Mar 2020 11:07:07 +0000 (20:07 +0900)]
e_policy_wl: check ec's validation before sending aux_message

Change-Id: Id86bd688448aa242bfeb84f74a6fe92d33e33863

5 years agoe_hwc_windows: use comp buffer for pp zoom if nocomp_override is set 33/227533/1 accepted/tizen/5.5/unified/20200313.052847 submit/tizen_5.5/20200313.013809
Junkyeong Kim [Thu, 12 Mar 2020 11:00:33 +0000 (20:00 +0900)]
e_hwc_windows: use comp buffer for pp zoom if nocomp_override is set

Change-Id: I3903a674f7f8174efb78946cc192fd7d84f891b9
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_policy_wl: send configured output resolution when failed to read base_output_resolution 48/227148/2
Junseok, Kim [Tue, 10 Mar 2020 04:57:57 +0000 (13:57 +0900)]
e_policy_wl: send configured output resolution when failed to read base_output_resolution

Change-Id: I1f580f3bb7324c2a8d68b88a7986021353cd41d3

5 years agoe_hwc_window_queue: change state of queue even if norender is pushed 04/226704/3
Changyeon Lee [Wed, 4 Mar 2020 11:18:41 +0000 (20:18 +0900)]
e_hwc_window_queue: change state of queue even if norender is pushed

change state of queue when accpeted state of target window is changed,
because if noreder is pushed, hwc doesn't accept hwc.

Change-Id: I9be3dc667b9c72615c8b69b683afb7d7dc31b1aa

5 years agoe_service_gesture: remove execution mode from file 73/227173/2
Sung-Jin Park [Tue, 10 Mar 2020 06:39:22 +0000 (15:39 +0900)]
e_service_gesture: remove execution mode from file

Change-Id: Ie53e7de6d84371af32c85d2b88eb3ec389e86848
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
5 years agoe_service_gesture: delete timer when free 61/227161/1
Juyeon Lee [Tue, 10 Mar 2020 14:43:14 +0000 (23:43 +0900)]
e_service_gesture: delete timer when free

Change-Id: If6197821d088244f9e0f7091a5dac8b2632bcff8

5 years agoe_keyrouter: remove canceled keys in press list 56/227056/2 accepted/tizen/5.5/unified/20200310.151153 submit/tizen_5.5/20200310.053518
jeon [Mon, 9 Mar 2020 08:27:56 +0000 (17:27 +0900)]
e_keyrouter: remove canceled keys in press list

Change-Id: I477e6c490e57733bb4e9941314c3c78a037725a6

5 years agoe_client: invert merging order of defer_focus_stack 87/226787/4 accepted/tizen/5.5/unified/20200306.015421 accepted/tizen/5.5/unified/20200306.124909 submit/tizen_5.5/20200305.120229 submit/tizen_5.5/20200305.120617
Junseok, Kim [Thu, 5 Mar 2020 06:31:54 +0000 (15:31 +0900)]
e_client: invert merging order of defer_focus_stack

For maintain defer_focus_stack's order, invert E_Client traversal order in _e_client_merge_focus_stack_with_defer_focus()

Change-Id: Ie3b3511df27bb3549e88405474328fff2e277a28

5 years agoe_policy_visibility: remove unused variables 05/226605/1
Junseok, Kim [Wed, 4 Mar 2020 06:10:59 +0000 (15:10 +0900)]
e_policy_visibility: remove unused variables

Change-Id: I297542259bb1bb87c4bd384308e64964277ab36f

5 years agoe_hwc_window_queue: consider output transform in queue_set 06/226006/5 accepted/tizen/5.5/unified/20200303.170545 submit/tizen_5.5/20200303.033122
Changyeon Lee [Wed, 26 Feb 2020 06:26:47 +0000 (15:26 +0900)]
e_hwc_window_queue: consider output transform in queue_set

Change-Id: I3a131d96899e83e867c2a5113f68c56052b1284b

5 years agoe_hwc_windows: check transition of client to none when display state is changed 01/226401/1
Changyeon Lee [Mon, 2 Mar 2020 07:58:10 +0000 (16:58 +0900)]
e_hwc_windows: check transition of client to none when display state is changed

consider the case below for prevent flickering
1. 1st window is displayed by HW Plane
   2nd window is displayed by gl compositing
2. gl compositor call rendering of 2nd window but buffer is not enqueued
3. 3rd window is launched and 1st window is hidden
   2st window should be hided
4. buffer of 2 step is enqueued
5. 1nd window is unset by HW Plane because buffer of 2 step doesn't render 1st window
6. 2nd window is shown without 3rd window

Change-Id: I8307901fd70f181c009a548fc96fb34e7b17576f

5 years agoe_comp_wl: end hwc if buffer transform is changed only when mode of hwc is planes 00/226400/1
Changyeon Lee [Mon, 24 Feb 2020 08:51:07 +0000 (17:51 +0900)]
e_comp_wl: end hwc if buffer transform is changed only when mode of hwc is planes

because hwc windows check buffer transform before commit, hwc of ec is ended
if buffer transform of ec can't be display by hwc.

Change-Id: I8f80820d0643f3ccbc11b14f71e086908c2c42fc

5 years agoe_hwc_window_queue: set backup buffer if user of queue is mismatched in buffer_change 15/225615/2
Changyeon Lee [Wed, 19 Feb 2020 11:17:39 +0000 (20:17 +0900)]
e_hwc_window_queue: set backup buffer if user of queue is mismatched in buffer_change

it is possible that hwc_window has queue and queue buffer but queue of user is null.

hwc_window set queue and queue state is set ->
hwc_window unset queue and queue state is unset waiting ->
hwc_window set same queue and commit queue buffer ->
not set backup buffer

in this case, set backup buffer and should not be migrate HWC

Change-Id: I33b4324733733932db32be71179d5d7c069feac8

5 years agoe_client: client which obscured by child can take focus 97/225997/4 accepted/tizen/5.5/unified/20200302.125527 submit/tizen_5.5/20200301.232412
Junseok, Kim [Wed, 26 Feb 2020 05:47:40 +0000 (14:47 +0900)]
e_client: client which obscured by child can take focus

Change-Id: I657aa16274c13839bd7f3e1e17861c39d56d51e7

5 years agoe_policy_visibility: check partial window when running uniconify_render 65/226165/2
Junseok, Kim [Thu, 27 Feb 2020 06:10:17 +0000 (15:10 +0900)]
e_policy_visibility: check partial window when running uniconify_render

Change-Id: Iebb00642ae5ddd0dd43e65337f5b111e5207878c

5 years agoquickpanel: add code for quickpanel's scrollable_state_set request 96/226196/2 accepted/tizen/5.5/unified/20200228.124151 submit/tizen_5.5/20200227.113625
Junseok, Kim [Thu, 27 Feb 2020 11:14:43 +0000 (20:14 +0900)]
quickpanel: add code for quickpanel's scrollable_state_set request

New tzsh_quickpanel's request (scrollable_state_set) and state (SCROLLABLE_RETAIN) are added.
We add code to handle these changes.

Change-Id: I214a02ece9d56060b86b4db293d954326576774a

5 years agoe_client: support a event delivered function for key cancel 87/226187/1
jeon [Thu, 27 Feb 2020 08:22:28 +0000 (17:22 +0900)]
e_client: support a event delivered function for key cancel

Change-Id: I424e3b8aa1107413fa7d3389bc63079d75edef04
(cherry picked from commit 8d8d959a1701918ce97f37f823695899221fc6c8)

5 years agoe_hwc_window: execute null buffer commit if window state is CLIENT when pp set 94/225794/1 accepted/tizen/5.5/unified/20200226.124427 submit/tizen_5.5/20200225.112054
Junkyeong Kim [Mon, 24 Feb 2020 10:49:16 +0000 (19:49 +0900)]
e_hwc_window: execute null buffer commit if window state is CLIENT when pp set

to notify buffer release to client, execute null buffer commit.

Change-Id: I2c598a8fe352c0744093f19ee6882c953f3c72db
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_client: remove VIS_ICONIFY_STATE_UNKNOWN condition from focusable state 82/225782/1 accepted/tizen/5.5/unified/20200225.060738 submit/tizen_5.5/20200224.105811
Junseok, Kim [Mon, 24 Feb 2020 10:07:47 +0000 (19:07 +0900)]
e_client: remove VIS_ICONIFY_STATE_UNKNOWN condition from focusable state

Change-Id: Ided11d7562eece32ce26f9fdb97c3595dfaf4235

5 years agoe_video_hwc: enhance pp restriction 03/225503/3
Junkyeong Kim [Thu, 20 Feb 2020 09:08:11 +0000 (18:08 +0900)]
e_video_hwc: enhance pp restriction

check pp minw, minh values also.
check pp preferred vertical align if it is supported.(not supported case this value is -1)

Change-Id: If17b0298e7e536dda6105c45dc3b48b91a68995a
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_info_client_screen_recorder: change default file path to '/tmp'. 73/225473/2
Seunghun Lee [Wed, 19 Feb 2020 08:37:06 +0000 (17:37 +0900)]
e_info_client_screen_recorder: change default file path to '/tmp'.

Change-Id: Ifc9c870e73de53fe939194cd23268a72081fc4da

5 years agovideo:hwc_planes: wait next vblank until commit callback handler is called. 72/225472/2
Seunghun Lee [Wed, 19 Feb 2020 01:06:34 +0000 (10:06 +0900)]
video:hwc_planes: wait next vblank until commit callback handler is called.

e_video_hwc_wait_buffer_commit() which is called by vblank would be
failed without updating current fb which is done by commit handler.

Change-Id: I9941188572ed801df356495ec0a9a20d52bf9199

5 years agovideo:hwc_planes: add a pending buffer for use when plane is not ready. 71/225471/2
Seunghun Lee [Wed, 19 Feb 2020 00:47:28 +0000 (09:47 +0900)]
video:hwc_planes: add a pending buffer for use when plane is not ready.

Change-Id: Ia9b628141e15ae61dc5b8ac61146416bd10f3bf2

5 years agoe_info_client_screen_recorder: fix warning format-truncation 70/225470/2
Seunghun Lee [Tue, 4 Feb 2020 10:53:48 +0000 (19:53 +0900)]
e_info_client_screen_recorder: fix warning format-truncation

Change-Id: I92a814b25c23f3dce3dbc2ddb3b874c452757e57

5 years agoe_policy_visibility: add code to check comp_skip property in _e_vis_ec_above_visible_type 74/225474/1
Doyoun Kang [Thu, 20 Feb 2020 06:48:58 +0000 (15:48 +0900)]
e_policy_visibility: add code to check comp_skip property in _e_vis_ec_above_visible_type

Change-Id: Ica0c7a8acd49cb991e45b592e66260831458e392

5 years agoe_service_launcher: pass correct launchscreen path 94/225094/1
MinJeong Kim [Mon, 17 Feb 2020 08:53:41 +0000 (17:53 +0900)]
e_service_launcher: pass correct launchscreen path

Change-Id: I9fc95965fe9f451d2b6215c41a8a38872e7be425
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
5 years agoe_keyrouter: fix memory leaks 57/224957/3
jeon [Fri, 14 Feb 2020 08:09:04 +0000 (17:09 +0900)]
e_keyrouter: fix memory leaks

  - fix coverity issues

Change-Id: I0c9078f11dc6dbc44232b5d1c63fb726ff018530

5 years agoe_hwc_windows: not accept vaildation if norender is set 84/224784/3
Changyeon Lee [Wed, 12 Feb 2020 08:40:22 +0000 (17:40 +0900)]
e_hwc_windows: not accept vaildation if norender is set

if not accept validation, tdm_hwc_commit also isn't called.

Change-Id: I45b345e47395866d22e23d404bb86c2d1a6f0c9f

5 years agocapture: add code to capture window before unmap 07/224907/1 accepted/tizen/5.5/unified/20200214.120149 submit/tizen_5.5/20200214.062339
Doyoun Kang [Fri, 14 Feb 2020 05:19:11 +0000 (14:19 +0900)]
capture: add code to capture window before unmap

There was a bug that the window was not captured when it was unmapped.
This fixes it.

Change-Id: I93976058115d74ff7cfcf56a60bc432b87100311

5 years agoe_keyrouter: fix a memory leak in _e_keyrouter_long_timer() 00/224900/2
Sung-Jin Park [Fri, 14 Feb 2020 04:09:39 +0000 (13:09 +0900)]
e_keyrouter: fix a memory leak in _e_keyrouter_long_timer()

Change-Id: I5e0c6998bb5a62b4e57a6a7a77370a5b91c4e90f
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
5 years agoe_comp_wl_rsm: update the base_output_resolution at binding/unbinding the remote_surface 07/224807/2
SooChan Lim [Mon, 10 Feb 2020 08:45:02 +0000 (17:45 +0900)]
e_comp_wl_rsm: update the base_output_resolution at binding/unbinding the remote_surface

Change-Id: If2280be64425218c011ea6e0d06fe65215a2f1a1
(cherry picked from commit 82fb03ced0033931bae72a572aa68287548f27df)

5 years agoe_client: add e_client_base_output_resolution_rsm_update function 04/224804/2
SooChan Lim [Mon, 10 Feb 2020 08:05:40 +0000 (17:05 +0900)]
e_client: add e_client_base_output_resolution_rsm_update function

This function changes the base_output_resolution of the bind_ec
by checking the base_output_resolution of provider_ec's appinfo.

Change-Id: I2efcca59c4a878c3f36e06e0f09ef30ccd59b628
(cherry picked from commit 6816b863b151b6112dc4218624b96a9248284478)

5 years agoe_client: initialize output_resolution_useful_geom_get's geometry 89/224789/1
Junseok, Kim [Mon, 23 Dec 2019 00:48:04 +0000 (09:48 +0900)]
e_client: initialize output_resolution_useful_geom_get's geometry

Change-Id: I3c5e4817e4cf729ebccc7ed4d7ae39aa4b51609c
(cherry picked from commit a09b963375b97ef6a4b149b2f7fab606e16972bd)

5 years agoe_policy_appinfo: add getting appid API 36/224536/1 accepted/tizen/5.5/unified/20200212.125507 submit/tizen_5.5/20200211.100427
Doyoun Kang [Tue, 11 Feb 2020 09:01:32 +0000 (18:01 +0900)]
e_policy_appinfo: add getting appid API

- e_policy_appinfo_appid_get
- usage:
  E_Policy_Appinfo *appinfo;
  appinfo = e_policy_appinfo_find_with_pid(ec->netwm.pid);

  Eina_Stringshare *appid = e_policy_appinfo_appid_get(appinfo);
  if (!appid) return;

  // use appid (const char*)

  eina_stringshare_del(appid);

Change-Id: I8d837667846ab0be61ce5f2a8f4c180c96f84e95

5 years agoe_hwc_windows: release commit data if pp commit failed 74/224374/1
Junkyeong Kim [Mon, 10 Feb 2020 06:28:47 +0000 (15:28 +0900)]
e_hwc_windows: release commit data if pp commit failed

Change-Id: I9071b300028a077a79874d1d45e54fa21dda634e
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_hwc_windows: update only pp hwc window when pp zoom set 63/224363/1
Junkyeong Kim [Mon, 10 Feb 2020 06:19:40 +0000 (15:19 +0900)]
e_hwc_windows: update only pp hwc window when pp zoom set

Change-Id: I526a41975d628a4fe6b7b64fb0b989b78f4fef78
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_input_evdev: fix a svace issue 89/224289/1 accepted/tizen/5.5/unified/20200210.131628 submit/tizen_5.5/20200207.110937
jeon [Fri, 7 Feb 2020 11:08:23 +0000 (20:08 +0900)]
e_input_evdev: fix a svace issue

Change-Id: I1125aa201e1230adcb253a9a7c0af024cc932e17

5 years agoe_input: add touch axis and mouse wheel event logs tizen_5.5_bkup_20200207
jeon [Fri, 7 Feb 2020 10:31:47 +0000 (19:31 +0900)]
e_input: add touch axis and mouse wheel event logs

Change-Id: I3d88302928877cab0f31391b7ada48844141ff2e

5 years agoe_hwc_windows: set wait commit flag to FALSE if pp zoom unsetted
Junkyeong Kim [Fri, 7 Feb 2020 10:12:40 +0000 (19:12 +0900)]
e_hwc_windows: set wait commit flag to FALSE if pp zoom unsetted

Change-Id: I09f537b82abd83cf47eee7e55561b88d17356651
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_hwc_window: delete frame in render update if hwc_window don't set recover buffer 80/223880/4
Changyeon Lee [Tue, 4 Feb 2020 12:11:25 +0000 (21:11 +0900)]
e_hwc_window: delete frame in render update if hwc_window don't set recover buffer

hwc_window don't set recover buffer means client doesn't need compositing.
if add frame in render update, buffer is referenced and naitve surface is set.
so delete frame in render update if hwc_window don't set recover buffer

Change-Id: I2bd03f00c17112a5bad6b76f0508ea9a98fb3b93

5 years agoe_hwc_windows: erase skip commit code for zoom_unset after pp done 67/224267/1
Junkyeong Kim [Fri, 7 Feb 2020 08:54:50 +0000 (17:54 +0900)]
e_hwc_windows: erase skip commit code for zoom_unset after pp done

Change-Id: I4037e6b7ff148897a95633718925a6aaa36591ce
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_keyrouter: add longpress and composition key functions 55/224255/1
jeon [Mon, 3 Feb 2020 12:32:47 +0000 (21:32 +0900)]
e_keyrouter: add longpress and composition key functions

Change-Id: I9f104c5e45cbee9fc752ea0329708d60fdb18c47

5 years agoe_output: fix value type error 35/224235/1 submit/tizen_5.5/20200207.063909
Junkyeong Kim [Fri, 7 Feb 2020 06:37:57 +0000 (15:37 +0900)]
e_output: fix value type error

Change-Id: I662d5298c3862f8f4b1871eae5808d8a28cfa0ae
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_desk: add E_APIs to set/unset skip zoom 27/224227/1
Doyoun Kang [Fri, 7 Feb 2020 06:07:49 +0000 (15:07 +0900)]
e_desk: add E_APIs to set/unset skip zoom

- e_desk_client_zoom_skip_set
- e_desk_client_zoom_skip_unset

Change-Id: I88f42a824c61d1ef2f2573ecd8b9bacbd1628f12

5 years agoe_comp_wl: add evas mouse callback's input logs 12/223912/1 accepted/tizen/5.5/unified/20200206.060355 submit/tizen_5.5/20200205.094653
jeon [Tue, 4 Feb 2020 10:49:46 +0000 (19:49 +0900)]
e_comp_wl: add evas mouse callback's input logs

Change-Id: Ifde52c2ac3e70dc5b7032c4fb41d14b02121d8bf

5 years agoe_info_client: Implement Screen Recorder (Argument name: -dump_video) 04/223604/5
Seunghun Lee [Tue, 12 Nov 2019 01:43:16 +0000 (10:43 +0900)]
e_info_client: Implement Screen Recorder (Argument name: -dump_video)

Recording the screen using streamrecorder library.

usage: winfo -dump_video [--help] [--rate=<framerate>]
   [--resolution=<width>x<height>] <output file>

        --help                          this help text
        --rate=<framerate>              replay frame rate
        --resolution=<width>x<height>   resuoltion size

Change-Id: Ife2769751c485efcb509d6f0b2e6607277b98e27

5 years agoe_info_client: fix wrong result of string comparison. 03/223603/1
Seunghun Lee [Fri, 31 Jan 2020 06:15:59 +0000 (15:15 +0900)]
e_info_client: fix wrong result of string comparison.

Change-Id: I9653d150fb98780e6be02be5f78ca092e6cb7451

5 years agoe_hwc_window: don't set device state if transform isn't matched with output 53/223253/3 accepted/tizen/5.5/unified/20200131.115155 submit/tizen_5.5/20200131.030817
Changyeon Lee [Tue, 28 Jan 2020 04:14:09 +0000 (13:14 +0900)]
e_hwc_window: don't set device state if transform isn't matched with output

if transform ins't matched with output, hwc_window can't be display by hwc
because hwc_windows doesn't change ignore_output_transform.

Change-Id: I2a767457b92443e81b072c52ee632bb06fef1646

5 years agoe_hwc_window_queue: release to next queue even if queue buffer isn't find 23/223423/3 accepted/tizen/5.5/unified/20200130.113822 submit/tizen_5.5/20200130.040422
Changyeon Lee [Wed, 29 Jan 2020 12:45:21 +0000 (21:45 +0900)]
e_hwc_window_queue: release to next queue even if queue buffer isn't find

Change-Id: I475e672665e203ca8001c20c5198c763517a463b

5 years agovideo: Remove listener's link after checking that comp_data is valid. 52/223452/2
Seunghun Lee [Thu, 30 Jan 2020 01:39:39 +0000 (10:39 +0900)]
video: Remove listener's link after checking that comp_data is valid.

Otherwise, it can make memory corrupted.

Change-Id: Iabb5044cd384482db1168def09b5f669700835e4

5 years agoe_policy: change e_policy_stack_transient_for_set to E_API from EINTERN. 24/223424/2
amarnath123 [Wed, 29 Jan 2020 13:11:17 +0000 (18:41 +0530)]
e_policy: change e_policy_stack_transient_for_set to E_API from EINTERN.

E's module need to use this function.

Change-Id: I70cc8eaf91f3e2702cf7ca4b3c4b7f0de53588eb
Signed-off-by: amarnath123 <a.amarnath@samsung.com>
5 years agoe_hwc_window_queue: release tbm_surface of unknown queue in buffer_change cb 00/223300/3
Changyeon Lee [Thu, 23 Jan 2020 07:12:36 +0000 (16:12 +0900)]
e_hwc_window_queue: release tbm_surface of unknown queue in buffer_change cb

in case hwc_window attached queue buffer and had not queue,
checked all queue and released queue_buffer to queue.

Change-Id: I98cb8890b596eda671706b9cecb063a2ed473596

5 years agoe_hwc_windows: don't create backup buffer if buffer_flush is done 99/223299/1
Changyeon Lee [Wed, 22 Jan 2020 08:24:59 +0000 (17:24 +0900)]
e_hwc_windows: don't create backup buffer if buffer_flush is done

if client is iconic and buffer_flush is done, backup buffer isn't
needed. because client isn't shown untill new buffer is attached

Change-Id: I92e5a4847dff462310eddddad3ebdb209fc05b75

5 years agoe_hwc_windows_queue: unset queue if target need to use it 98/223298/1
Changyeon Lee [Wed, 11 Dec 2019 05:39:05 +0000 (14:39 +0900)]
e_hwc_windows_queue: unset queue if target need to use it

if queue state is waiting_buffer and user of queue has
queue buffer, queue of target must be used by target

Change-Id: I67d1eafd7b70afa715a5ecfa734895b13600b597

5 years agoe_dpms: execute request_count append before e_dpms_set executing 07/222707/1 submit/tizen_5.5/20200129.054354
Junkyeong Kim [Fri, 17 Jan 2020 08:33:10 +0000 (17:33 +0900)]
e_dpms: execute request_count append before e_dpms_set executing

Change-Id: I56a0367ba1fc02a5c8640dfae30c6df811c86ae8
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_hwc_windows: if fake_config set, execute offscreen_commit and return 89/222489/1 accepted/tizen/5.5/unified/20200117.120915 submit/tizen_5.5/20200117.040404
Junkyeong Kim [Wed, 15 Jan 2020 10:24:46 +0000 (19:24 +0900)]
e_hwc_windows: if fake_config set, execute offscreen_commit and return

do not execute _e_hwc_windows_evaluate function if output disconnected.
it makes error to tdm.(tdm_hwc_validate)

Change-Id: Icb79c52e643d4a0a9c3e13fef1cfc71a609afe6b
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoe_policy_visibility: fix derefer after vc free 76/222376/2 accepted/tizen/5.5/unified/20200116.120655 submit/tizen_5.5/20200114.095217
Juyeon Lee [Tue, 14 Jan 2020 05:29:17 +0000 (14:29 +0900)]
e_policy_visibility: fix derefer after vc free

Change-Id: I8cb06610bfde8ba7ec3d06c9d76323d366716bf8

5 years agoe_hwc_windows: don't release commit_data of target window in list 28/222328/3
Changyeon Lee [Mon, 13 Jan 2020 11:57:41 +0000 (20:57 +0900)]
e_hwc_windows: don't release commit_data of target window in list

it is possible that other hwc_window is freed in
_e_hwc_windows_rendered_windows_free.
we must don't call commit_data_release of target_window in list.

Change-Id: I0916dd36db9e37657deb9b502292040285e1f97e

5 years agoe_hwc_windows: unset buffer of target_window before accept 92/222292/3
Changyeon Lee [Mon, 13 Jan 2020 04:42:24 +0000 (13:42 +0900)]
e_hwc_windows: unset buffer of target_window before accept

Change-Id: Ic0c731c402814c7c9d47881928999a345f5738f0