platform/upstream/enlightenment.git
6 years agoe_plane: set the default value of the cursor position.
SooChan Lim [Tue, 2 Jan 2018 07:04:28 +0000 (16:04 +0900)]
e_plane: set the default value of the cursor position.

Set the default dst positions when the cursor position is out of bound.

Change-Id: I72f87e82b6671388a4eb84867c4a074f14807b81

6 years agoe_policy_visibility: cancel job grab of client when client iconify 37/165437/3 accepted/tizen/unified/20180103.070213 submit/tizen/20180102.065942
JunSeok, Kim [Fri, 29 Dec 2017 02:43:17 +0000 (11:43 +0900)]
e_policy_visibility: cancel job grab of client when client iconify

Change-Id: I5045ed0eda7380889eae4f239b4fbd1bf80bca67

6 years agoe_policy_visibility: cancel job grab of client when client layer lower 36/165436/3
JunSeok, Kim [Fri, 29 Dec 2017 02:42:55 +0000 (11:42 +0900)]
e_policy_visibility: cancel job grab of client when client layer lower

Change-Id: I27a6a022ec044db7bff1f4e0650e445e484fb7d4

6 years agoe_policy_visibility: functionalization of job grab cancel 35/165435/4
JunSeok, Kim [Fri, 29 Dec 2017 02:39:01 +0000 (11:39 +0900)]
e_policy_visibility: functionalization of job grab cancel

Change-Id: Ie1edc186770a3edb1464079bf2d24fd47ff42dcc

6 years agoe_comp_object: Dim mask set/unset logic fixed. 78/165378/3
ritesh.u [Thu, 28 Dec 2017 11:21:24 +0000 (16:51 +0530)]
e_comp_object: Dim mask set/unset logic fixed.

DIM mask logic fixed.
1. Added logs for mask set/unset
2. Correct variable name from dim_enable to enable
3. Ensured mask is set only after dim effect is applied and mask is unset first and then dim effect is removed.
4. dim enable check moved to correct function else mask unset issues existed.

Change-Id: I8890e1630149b87685fff9af66d962e466633204
Signed-off-by: ritesh.u <ritesh.u@samsung.com>
6 years agochange log_tag for visibility (no logic change) 30/165430/2
Doyoun Kang [Fri, 29 Dec 2017 02:44:54 +0000 (11:44 +0900)]
change log_tag for visibility (no logic change)

Change-Id: Ie39708b698a30f70ba9980def24ab7652115a9a3

6 years agoe_policy_visibility: fix pre-visibility bug 22/165422/2
Doyoun Kang [Fri, 29 Dec 2017 02:31:17 +0000 (11:31 +0900)]
e_policy_visibility: fix pre-visibility bug

we add code checking above window of the window when it is under uniconifying.
so, if it is obscured by above window, then we don't send the pre-visibility event.

Change-Id: I093c3775375ae2769d88b5a9fc962b95895a191a

6 years agoe_policy: send pre-unobscured event before sending unobscured event 97/165397/4
Doyoun Kang [Thu, 28 Dec 2017 23:26:55 +0000 (08:26 +0900)]
e_policy: send pre-unobscured event before sending unobscured event

we add code to send pre-unobscured event if it was not sent before sending unobscured event.
this is guarantee for sequence of visibility (pre-unobscured -> unobscured).

Change-Id: I5e9a4c8ef7e651abe287bfebea2c5f089241bece

6 years agoe_input: using a udev backend defaultly 68/165368/3 submit/tizen/20171228.112301
JengHyun Kang [Thu, 28 Dec 2017 11:04:12 +0000 (20:04 +0900)]
e_input: using a udev backend defaultly

Change-Id: Ia799ef477951c1bbab267bb7680766b637aa970f

6 years agoe_comp_wl_tbm: always export rsm_buffer when send buffer_changed 13/165113/2 submit/tizen/20171228.071147
Changyeon Lee [Tue, 26 Dec 2017 06:42:22 +0000 (15:42 +0900)]
e_comp_wl_tbm: always export rsm_buffer when send buffer_changed

Change-Id: I7ae2df492038202adf775edc7170cba2aa69b1e0

6 years agoe_comp_wl_rsm: added checking null of rsm_buffer resource 12/165112/2
Changyeon Lee [Tue, 26 Dec 2017 06:40:53 +0000 (15:40 +0900)]
e_comp_wl_rsm: added checking null of rsm_buffer resource

Change-Id: Ic6f4805831ed619108361cbd0dadb2cfd0768aa7

6 years agoe_plane: remove unset_ec 94/165094/2
Changyeon Lee [Fri, 22 Dec 2017 12:12:44 +0000 (21:12 +0900)]
e_plane: remove unset_ec

Change-Id: I654d5c1145b9772b961da2282d2685a8b8517bfa

6 years agoe_input: remove unnecessary header inclusion 92/165092/2
Sung-Jin Park [Tue, 26 Dec 2017 05:43:45 +0000 (14:43 +0900)]
e_input: remove unnecessary header inclusion

Change-Id: I9403f8a20eb2228f4007735a3c167739aa43bf8e
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
6 years agoe_input: modify to enable libinput path backend threading and udev/path backend combi... 78/164878/5
Sung-Jin Park [Thu, 21 Dec 2017 10:03:03 +0000 (19:03 +0900)]
e_input: modify to enable libinput path backend threading and udev/path backend combination

Change-Id: I79a20aeebbe363f403661dd7cb41ba00c3f544c4
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
6 years agoe_comp_object: Apply mask rect to Dim rect to show video 41/164841/2
Amarnath [Thu, 21 Dec 2017 07:11:39 +0000 (12:41 +0530)]
e_comp_object: Apply mask rect to Dim rect to show video

Change-Id: Icf7e151987fc2bee44b31b26a461dc1787ca84b8
Signed-off-by: Amarnath <a.amarnath@samsung.com>
6 years agoe_service_quickpanel: set ec->changed flag after finishing effect 28/164928/2 accepted/tizen/unified/20171222.062629 submit/tizen/20171222.043002
Doyoun Kang [Fri, 22 Dec 2017 01:45:13 +0000 (10:45 +0900)]
e_service_quickpanel: set ec->changed flag after finishing effect

Change-Id: I32437d36111acf89dcf5a1ce67e5603134f34bc9

6 years agoe_info: add set_force_visible to show/hide each compobj 58/164858/1
Boram Park [Thu, 21 Dec 2017 08:36:43 +0000 (17:36 +0900)]
e_info: add set_force_visible to show/hide each compobj

Change-Id: Id305a3bf19dbd1e8374d3871186b8a71fdec0a5e

6 years agoe_policy_visibility: delete job of client when client lower 77/163777/5
JunSeok, Kim [Wed, 13 Dec 2017 09:49:39 +0000 (18:49 +0900)]
e_policy_visibility: delete job of client when client lower

Change-Id: I87ac5fb4f18d5bab77b4c67d0e847aa91dbf2128

6 years agoe_input: fix not to use getenv() within an ecore thread 79/164479/1
Sung-Jin Park [Tue, 19 Dec 2017 08:25:15 +0000 (17:25 +0900)]
e_input: fix not to use getenv() within an ecore thread

Change-Id: Ia5c969b5ae6a067390208260c12ba002b75bb11f
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
6 years agoe_output: reorganize the code of the zoom set/unset 61/164261/4
SooChan Lim [Mon, 18 Dec 2017 08:38:57 +0000 (17:38 +0900)]
e_output: reorganize the code of the zoom set/unset

Change-Id: I72ffa3833a458ccfde30fdadee2b8deb2a3c974c

6 years agoe_plane_renderer: consider export_num when calculating render_count 45/164245/3
Changyeon Lee [Mon, 18 Dec 2017 06:50:21 +0000 (15:50 +0900)]
e_plane_renderer: consider export_num when calculating render_count

Change-Id: Ie9270eff520351f2bd568fb116c263eda941d0f9

6 years agoe_plane: added check ec is del in e_plane_ec_set 44/164244/2
Changyeon Lee [Mon, 18 Dec 2017 05:26:10 +0000 (14:26 +0900)]
e_plane: added check ec is del in e_plane_ec_set

Change-Id: I61665f0be7f6d6fdc510f24b56bd268b040eaf44

6 years agoAdded check for deleted ec in e_plane_renderer_ec_set 43/164243/2
Bahl [Sat, 16 Dec 2017 08:51:48 +0000 (14:21 +0530)]
Added check for deleted ec in e_plane_renderer_ec_set

Change-Id: Idde53b62db2052ae828b457c047ff527e3f501f5
Signed-off-by: Bahl <prashant.b1@samsung.com>
6 years agoe_client: add log for calculating visibility 49/164249/1
Doyoun Kang [Mon, 18 Dec 2017 08:06:41 +0000 (17:06 +0900)]
e_client: add log for calculating visibility

Change-Id: I6e4c3b9836f477e16a4222097000e7a0f9b95420

6 years agoe_plane: pend unset ec if plane has set_counter 31/164131/3
Changyeon Lee [Thu, 14 Dec 2017 04:30:49 +0000 (13:30 +0900)]
e_plane: pend unset ec if plane has set_counter

if ec of plane is visible and plane has set_counter,
pend unset ec untill set_coutner is zero for preventing flickering

Change-Id: I694a4f40a7b36a67a1dc9a2ed0e58ce3988ff985

6 years agoe_plane: set correct cursor position in the case of rotation 29/164129/2
Changyeon Lee [Wed, 13 Dec 2017 12:00:33 +0000 (21:00 +0900)]
e_plane: set correct cursor position in the case of rotation

Change-Id: Iab50d73a2f0b52ac7d47a7fe2e2f29416713bce6

6 years agoe_output_hwc: remove checking sync_time_line in hwc_ec_check 61/163761/2
Changyeon Lee [Wed, 13 Dec 2017 08:49:37 +0000 (17:49 +0900)]
e_output_hwc: remove checking sync_time_line in hwc_ec_check

Change-Id: I68b714346aeb44c4af08c757d6c4cb0a8ff02b54

6 years agoRevert "e_info: remove the forced log level setting for "e"" 45/164045/2
Boram Park [Fri, 15 Dec 2017 04:04:20 +0000 (13:04 +0900)]
Revert "e_info: remove the forced log level setting for "e""

The default eina log level is ERR. So need to revert.

This reverts commit 849be49095c903130974beef82df9fdf263a8cfc.

Change-Id: Id709702e3a2e6535bd86fe9d80cdcf3a5b1eb573

6 years agoe_input_evdev: check a invalid shifting value 26/163926/1
JengHyun Kang [Thu, 14 Dec 2017 06:26:40 +0000 (15:26 +0900)]
e_input_evdev: check a invalid shifting value

Change-Id: I614d0a389ecc475c2f863b69e8fd668d30c57105

6 years agoe_input_evdev: remove a invalid code 22/163922/1
JengHyun Kang [Thu, 14 Dec 2017 05:43:02 +0000 (14:43 +0900)]
e_input_evdev: remove a invalid code

Change-Id: Ie13dc12f74cb299f6f821d50cc319e2e88a72b11

6 years agoe_input_evdev: added missing free 00/163900/1 accepted/tizen/unified/20171215.060610 submit/tizen/20171214.054052
Gwanglim Lee [Thu, 14 Dec 2017 03:04:59 +0000 (12:04 +0900)]
e_input_evdev: added missing free

Change-Id: Iac19f7ffa53541bc477e12c92ee6f477c15a28d8

6 years agoe_input_device: added missing free 98/163898/2
Gwanglim Lee [Thu, 14 Dec 2017 02:54:14 +0000 (11:54 +0900)]
e_input_device: added missing free

Change-Id: Ib93eb9f3ff998f0fd9bacbcd795d90d66030cce4

6 years agoe_comp: added buffer size check code to avoid buffer overflow when socket init 95/163895/1
Gwanglim Lee [Thu, 14 Dec 2017 02:40:46 +0000 (11:40 +0900)]
e_comp: added buffer size check code to avoid buffer overflow when socket init

Change-Id: I196487ccde9f6615b22494ce9942f6b0d20e6dfd

6 years agoe_user: remove the useless function call 78/163878/1
Sangjin Lee [Thu, 14 Dec 2017 00:56:38 +0000 (09:56 +0900)]
e_user: remove the useless function call

Change-Id: If98d33fa6d8566f61f8cfe1d5b34901b044d5ede

6 years agoe_comp_wl: always send extra touch axis with touch down events 48/163748/2 accepted/tizen/unified/20171214.050316 submit/tizen/20171213.235649
JengHyun Kang [Wed, 13 Dec 2017 08:08:42 +0000 (17:08 +0900)]
e_comp_wl: always send extra touch axis with touch down events

Change-Id: Icb018b5554e01066ea7046a275c86473423b31af

6 years agoe_input: add implementation to initialize libinput udev backend within an ecore thread 39/163739/3
Sung-Jin Park [Wed, 13 Dec 2017 07:28:45 +0000 (16:28 +0900)]
e_input: add implementation to initialize libinput udev backend within an ecore thread

Change-Id: Ib9fcddcfc22f04ca1ac97be0242b4f36002f9856
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
6 years agoe_plane: force render when set_counter,unset_counter are decreased 47/163747/2
Changyeon Lee [Wed, 13 Dec 2017 07:56:48 +0000 (16:56 +0900)]
e_plane: force render when set_counter,unset_counter are decreased

Change-Id: I0f6e9f79be9d1b729ea56d495783c918b530ca39

6 years agoe_plane: prepare_ec resetted when HWC client is freed or deleted. 80/163480/2
Praveen Kumar [Fri, 8 Dec 2017 12:08:13 +0000 (17:38 +0530)]
e_plane: prepare_ec resetted when HWC client is freed or deleted.

Change-Id: I877f44e75af877e5e66140fdbbfed183ba493a9d
Signed-off-by: Praveen Kumar <praveen.pk@samsung.com>
6 years agoe_input: replace getenv() with e_util_env_get() and modify to check only for libinput... 09/163709/1
Sung-Jin Park [Wed, 13 Dec 2017 04:05:55 +0000 (13:05 +0900)]
e_input: replace getenv() with e_util_env_get() and modify to check only for libinput path backend

Change-Id: I7c495cc79ecf169f1804711ea2abe1624a0702a7
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
6 years agoremote_surface: added new EAPIs to get/set the 'skip_save_img' property of E_Client 15/163415/2 accepted/tizen/unified/20171213.153241 submit/tizen/20171213.023423
Gwanglim Lee [Mon, 11 Dec 2017 05:39:27 +0000 (14:39 +0900)]
remote_surface: added new EAPIs to get/set the 'skip_save_img' property of E_Client

It enables sub-modules of the E to specify which windows should be excluded from saving
window image phase.

Change-Id: Ie0d684406b25e836ba9788e75f8f031d81faff65

6 years agobufferqueue: fix double free the event_loop of wl_display 70/163670/1
Sangjin Lee [Wed, 13 Dec 2017 01:31:05 +0000 (10:31 +0900)]
bufferqueue: fix double free the event_loop of wl_display

In bufferqueue, bq->loop was just get from wl_display. and if call the wl_display_destroy function,
dpy->loop would be destoryed. so we need not call the wl_event_loop_destory().

Change-Id: Ia04f2fef7cd323e81df7ddcb95b2b5e534efe448

6 years agoe_comp_wl: Ensure touch event radius storage variables update whenever there is an... 05/162205/3
ritesh.u [Wed, 29 Nov 2017 14:20:15 +0000 (19:50 +0530)]
e_comp_wl: Ensure touch event radius storage variables update whenever there is an update from firmware

Change-Id: I5294c64322f04b7825d8f98ebb51ffc3582d1ec4
Signed-off-by: ritesh.u <ritesh.u@samsung.com>
6 years agoe_info: add code to print some config information 45/163445/1 accepted/tizen/unified/20171212.064747 submit/tizen/20171211.091251
Doyoun Kang [Mon, 11 Dec 2017 07:40:46 +0000 (16:40 +0900)]
e_info: add code to print some config information

we added code to print buffer_flush, deiconify_approve configuration.

Change-Id: I59b7be8f0a361a4ba3dbb9d7c785f3ad084850f7

6 years agoe_input: change value types to Ecore_Window 34/163434/3
JengHyun Kang [Mon, 11 Dec 2017 06:49:14 +0000 (15:49 +0900)]
e_input: change value types to Ecore_Window

Change-Id: I3752cbfbc5fb7b1b0025e526e231da9610caa658

6 years agoe_info: remove the forced log level setting for "e" 36/163436/1
Boram Park [Mon, 11 Dec 2017 07:07:55 +0000 (16:07 +0900)]
e_info: remove the forced log level setting for "e"

The default log level is INFO. So we don't need to set it manually. This
forced setting makes EINA_LOG_LEVELS useless.

Change-Id: Ib7437d1c1807278094c6283ed695067dbe32661e

6 years agofix bug for sending visibility event 04/163304/1
Doyoun Kang [Fri, 8 Dec 2017 08:28:39 +0000 (17:28 +0900)]
fix bug for sending visibility event

There was a bug that the window which was waiting for rendering got the visibility
event sometimes as below.
"pre-unobscured -> fully-obscured -> unobscured"
For this, application's state changed to resume, pause, resume.
So, we fixed code not to send fully-obscured event when it is waiting for rendering.

However, the fully-obscured event is sent when the lcd is turned off.

Change-Id: Ifc400dfc3314407d6fe54b83f64cd40abcfb7eee

6 years agoe_info_client: Do not check the visibility.obscured when it print hwc status 30/163230/1
SooChan Lim [Fri, 8 Dec 2017 05:29:45 +0000 (14:29 +0900)]
e_info_client: Do not check the visibility.obscured when it print hwc status

Change-Id: Id9ce3d44019eb262c87fe6be491e140c11df7be8

6 years agoe_util: replaced getenv by e_util_env_get to avoid copying tainted string 99/163099/3
Gwanglim Lee [Thu, 7 Dec 2017 07:29:32 +0000 (16:29 +0900)]
e_util: replaced getenv by e_util_env_get to avoid copying tainted string

Change-Id: I54b8cd66378594580c44502dda7c8ad50b210342

6 years agoReset global drag source pointer (e_comp_wl->drag_source) if client destroys its... 58/162358/5
Dipen Somani [Thu, 30 Nov 2017 11:43:45 +0000 (17:13 +0530)]
Reset global drag source pointer (e_comp_wl->drag_source) if client destroys its drag source object after starting drag but before dropping it.

Change-Id: Id29e611f8d9fa109d55e9a6423738ca8791326da
Signed-off-by: Dipen Somani <dipen.somani@samsung.com>
6 years agoe_comp_screen: set size 1x1 to fake output config 94/163094/1
Junkyeong Kim [Thu, 7 Dec 2017 07:14:03 +0000 (16:14 +0900)]
e_comp_screen: set size 1x1 to fake output config

Change-Id: I09fe9285b2ee7b982aafa1bc19e8e2018b54283d
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agoe_input_evdev: remove warning - reduce the number of conditional operators 89/163089/2
Sung-Jin Park [Thu, 7 Dec 2017 06:52:55 +0000 (15:52 +0900)]
e_input_evdev: remove warning - reduce the number of conditional operators

Change-Id: I7cee5b833e6800d1c08807287a8d21db6435f3ba
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
6 years agoe_input: recover removed variables and put them into the right place (inside #ifdef... 88/163088/2
Sung-Jin Park [Thu, 7 Dec 2017 06:47:31 +0000 (15:47 +0900)]
e_input: recover removed variables and put them into the right place (inside #ifdef macros)

Change-Id: I3943fad582214a132afca68d8561539c8d24c5d0
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
6 years agoe_input: remove _device_close() not to make unnecessary function call stack 65/163065/1
Sung-Jin Park [Thu, 7 Dec 2017 05:41:40 +0000 (14:41 +0900)]
e_input: remove _device_close() not to make unnecessary function call stack

Change-Id: I79ecaba692479f7ea54ce97b36052e20196fc21e
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
6 years agoe_input_device: removed unused function 25/163025/3 accepted/tizen/unified/20171208.062104 submit/tizen/20171207.025043
Gwanglim Lee [Thu, 7 Dec 2017 02:44:22 +0000 (11:44 +0900)]
e_input_device: removed unused function

Change-Id: Icbc88eb886f7bc8f16b779bfe2513eb3fa7c4adf

6 years agoe_policy_visibility: send pre-unobscured visibility event when the window do not... 15/163015/2
Doyoun Kang [Wed, 6 Dec 2017 12:37:20 +0000 (21:37 +0900)]
e_policy_visibility: send pre-unobscured visibility event when the window do not use buffer_flush

Change-Id: Id13c46a3ae9b6340af649edb8ad428f9de1d462e

6 years agoe_policy_visibility: fix bug for sending pre-unobscured visibility event 14/163014/2
Doyoun Kang [Wed, 6 Dec 2017 12:22:31 +0000 (21:22 +0900)]
e_policy_visibility: fix bug for sending pre-unobscured visibility event

there was a bug that the parent which was obscured by child window got the pre-visibility event.
The parent window must not get the pre-visibility event in this case.

Change-Id: I85fa07cd342816e35743f4b511ba08bc62e58939

6 years agoe_policy_visibility: add code to check window's map state while uniconifying window 13/163013/2
Doyoun Kang [Wed, 6 Dec 2017 11:38:01 +0000 (20:38 +0900)]
e_policy_visibility: add code to check window's map state while uniconifying window

Change-Id: I5422fc940a767d6f0bf0135fdcf1994547c49514

6 years agoe_plane: add checking return value 19/163019/2
Boram Park [Thu, 7 Dec 2017 02:15:32 +0000 (11:15 +0900)]
e_plane: add checking return value

Change-Id: Ide005ae2a3fd36d1948303a8d00f9c5764c2a3cb

6 years agoe_input_evdev: fix warnings 24/163024/1
Gwanglim Lee [Thu, 7 Dec 2017 02:37:17 +0000 (11:37 +0900)]
e_input_evdev: fix warnings

Change-Id: I3638be95f20f413e93018fcdaad842e08d35dc05

6 years agoe_main: removed e_first_frame feature. 62/162962/1
Gwanglim Lee [Wed, 6 Dec 2017 11:30:56 +0000 (20:30 +0900)]
e_main: removed e_first_frame feature.

It was intended for measuring initialization time of the enlightenment.
But it used insecure getenv to enable feature. We will try to change this
feature to use e_config later.

Change-Id: Ieef5ce450e8ec2f0dfa26b7c66c3ad80cf00eb2b

6 years agoe_input: fix not to do unnecessary udev-lookups and loops 17/162917/4
Sung-Jin Park [Wed, 6 Dec 2017 07:34:10 +0000 (16:34 +0900)]
e_input: fix not to do unnecessary udev-lookups and loops

Change-Id: Ibc99b5886327deebc5efa338c7bd6210404106e9
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
6 years agoe_comp: fixed an warning.
Gwanglim Lee [Tue, 5 Dec 2017 11:59:33 +0000 (20:59 +0900)]
e_comp: fixed an warning.

Change-Id: I3f77371d309c70bbcc24eaea7628e3e8e2bd1a1f

6 years agoe_comp: use e_util_env_get instead of getenv to get NULL-terminated string from the...
Gwanglim Lee [Tue, 5 Dec 2017 11:50:00 +0000 (20:50 +0900)]
e_comp: use e_util_env_get instead of getenv to get NULL-terminated string from the environment variable

Change-Id: I0a9c63c182e07e282700a660c7c04f89b75a011c

6 years agoe_utils: added e_util_env_get for sanitizing string of enviroment value
Gwanglim Lee [Tue, 5 Dec 2017 11:41:44 +0000 (20:41 +0900)]
e_utils: added e_util_env_get for sanitizing string of enviroment value

Change-Id: I7aaae930c746a31fe5d004e40211204a7f269511

6 years agoe_comp_object: added missing free for input rect data
Gwanglim Lee [Tue, 5 Dec 2017 07:29:38 +0000 (16:29 +0900)]
e_comp_object: added missing free for input rect data

Change-Id: I4952893d2e91492492b29d2e5061e443bf061ba2

6 years agoe_comp_wl_input: check the return value of remove() and leave a warning log
JengHyun Kang [Tue, 5 Dec 2017 07:29:07 +0000 (16:29 +0900)]
e_comp_wl_input: check the return value of remove() and leave a warning log

Change-Id: I47d7198284c11bd12720528a889a9327d33a45a0

6 years agoe_comp_wl_input: fix svace issue about tainted string
JengHyun Kang [Tue, 5 Dec 2017 06:57:12 +0000 (15:57 +0900)]
e_comp_wl_input: fix svace issue about tainted string

Change-Id: I2f507a678210a0015f4b0891939c834cfe502cbd

6 years agoe_info: added missing unref for the xkb_context if mmap is failed.
Gwanglim Lee [Tue, 5 Dec 2017 04:32:55 +0000 (13:32 +0900)]
e_info: added missing unref for the xkb_context if mmap is failed.

Change-Id: Ic2ee7d49d90faea5cabc5d4a207aa9d0d5c2b9c4

6 years agoe_util_transform: fixed wrong matrix multiplication for rotation in Y axis
Gwanglim Lee [Tue, 5 Dec 2017 02:39:54 +0000 (11:39 +0900)]
e_util_transform: fixed wrong matrix multiplication for rotation in Y axis

Change-Id: I6a404b290281e5a9ee43cfa29d904f59b2e03c3a

6 years agoe_slot: add code to check the return value of evas_object_smart_data_get
Doyoun Kang [Tue, 5 Dec 2017 02:11:51 +0000 (11:11 +0900)]
e_slot: add code to check the return value of evas_object_smart_data_get

Change-Id: I8f60ca829c4fd5f375ab7411d104238dc2a614d6

6 years agoe_policy: remove logically dead code
Doyoun Kang [Tue, 5 Dec 2017 01:56:03 +0000 (10:56 +0900)]
e_policy: remove logically dead code

Change-Id: I4b531fc04e8436241929e224c238ec32210c3c25

6 years agoe_info_client: fixed buffer size warning
Doyoun Kang [Tue, 5 Dec 2017 01:54:30 +0000 (10:54 +0900)]
e_info_client: fixed buffer size warning

Change-Id: I0b656b19f208d672c5c7ca5b142c7383e51cb203

6 years agoe_layout: add code to check the return value of evas_object_smart_data_get
Doyoun Kang [Mon, 4 Dec 2017 09:30:13 +0000 (18:30 +0900)]
e_layout: add code to check the return value of evas_object_smart_data_get

Change-Id: Idc7bf93a367e323c3e6adb2016961d2af5f6e3fc

6 years agoe_util_transform: added initialization to e_util_transform_keep_ratio_apply
Gwanglim Lee [Mon, 4 Dec 2017 11:53:19 +0000 (20:53 +0900)]
e_util_transform: added initialization to e_util_transform_keep_ratio_apply

And this function needs still implementation of function body.

Change-Id: I2d8759438d4fb79ecc681f482992c5cfec678ae7

6 years agoe_splitlayout: add code to check the return value of evas_object_smart_data_get
Doyoun Kang [Mon, 4 Dec 2017 09:09:33 +0000 (18:09 +0900)]
e_splitlayout: add code to check the return value of evas_object_smart_data_get

Change-Id: I978aba461857c80ebce30e6925292f89c44d99a4

6 years agoe_service_quickpanel: added missing null check after smart data get
Gwanglim Lee [Mon, 4 Dec 2017 08:54:47 +0000 (17:54 +0900)]
e_service_quickpanel: added missing null check after smart data get

Change-Id: Ie07c9400b4d8faebcde04106cbc01daf0029b4c5

6 years agoe_service_quickpanel: added missing null check after evas_object_smart_data_get
Gwanglim Lee [Mon, 4 Dec 2017 08:47:01 +0000 (17:47 +0900)]
e_service_quickpanel: added missing null check after evas_object_smart_data_get

Change-Id: Icb534b4108fd69d3a2186232bfb433de2a1099ad

6 years agoe_comp_object: add code to check the return value of evas_object_smart_data_get
Doyoun Kang [Mon, 4 Dec 2017 08:21:23 +0000 (17:21 +0900)]
e_comp_object: add code to check the return value of evas_object_smart_data_get

Change-Id: Ifa8b1899becee58038803eff4e116155634c0fa4

6 years agobufferqueue: added missing wl_display_destroy
Gwanglim Lee [Mon, 4 Dec 2017 08:16:06 +0000 (17:16 +0900)]
bufferqueue: added missing wl_display_destroy

Change-Id: I66853ecf7abbf384dc4a11db29a5f36e567b8b1a

6 years agobufferqueue: added checking of wl_display_add_socket return value
Gwanglim Lee [Mon, 4 Dec 2017 08:13:12 +0000 (17:13 +0900)]
bufferqueue: added checking of wl_display_add_socket return value

Change-Id: Ifc8ba8e0bea80db2797792c9ce5a3919d6f1612d

6 years agoe_output: Export e_output_dpms_set() API 80/162780/2
YoungJun Cho [Tue, 5 Dec 2017 08:04:48 +0000 (17:04 +0900)]
e_output: Export e_output_dpms_set() API

This patch exports e_output_dpms_set() API.

Change-Id: Ia3cb76e9298c5d33e60f5f55b1d54039bb5351bf
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
6 years agoe_input: add ttrace points to enable performance measurement 72/162672/2
Sung-Jin Park [Tue, 5 Dec 2017 01:46:36 +0000 (10:46 +0900)]
e_input: add ttrace points to enable performance measurement

Change-Id: I9a0aa429a3d06a81d1622dd3a0c169bbe251572c
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
6 years agoe_input: define/add environment variables to enable choice between two libinput backe... 57/162657/1
Sung-Jin Park [Tue, 5 Dec 2017 00:32:20 +0000 (09:32 +0900)]
e_input: define/add environment variables to enable choice between two libinput backends (udev/path)

Change-Id: Id6fc157681a4d33f72094b8a48f04efe53a7f527
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
6 years agoe_input: fix not to call ecore_evas_input_event_register_with_multi() : unnecessary 54/162654/1
Sung-Jin Park [Tue, 5 Dec 2017 00:08:04 +0000 (09:08 +0900)]
e_input: fix not to call ecore_evas_input_event_register_with_multi() : unnecessary

Change-Id: I232c5cc8938b030b0b0bea3e5e2a948e02784c30
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
6 years agoe_pointer: set the visibility.obscured at cursor show/hide 16/162116/1
SooChan Lim [Wed, 29 Nov 2017 06:52:24 +0000 (15:52 +0900)]
e_pointer: set the visibility.obscured at cursor show/hide

Change-Id: I30fa48889dca9183bfa1710e147dc41b1c14d684
Signed-off-by: SooChan Lim <sc1.lim@samsung.com>
6 years agoe_plane: enhance memory management for external output pp 87/161987/5
Junkyeong Kim [Tue, 28 Nov 2017 10:47:38 +0000 (19:47 +0900)]
e_plane: enhance memory management for external output pp

add _e_plane_ext_pp_commit_data_release function
erase unsued variable

Change-Id: I8e1ed2576e9c26e63c21e571f4fbb830bbca646b
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agoe_output: erase unused variable for external output 89/161989/1
Junkyeong Kim [Tue, 28 Nov 2017 10:53:14 +0000 (19:53 +0900)]
e_output: erase unused variable for external output

Change-Id: I9f0542caf35b3b8db19e9918ff5858f83a3d2856
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agoe_plane: don't set set_counter if ec is pointer 22/161922/2
Changyeon Lee [Tue, 28 Nov 2017 06:24:52 +0000 (15:24 +0900)]
e_plane: don't set set_counter if ec is pointer

Change-Id: Ic401cb6fc490a326821d8cda738354c7416ad8e8

6 years agoe_plane: reset set_counter if fb_target enter hwc 21/161921/2
Changyeon Lee [Tue, 28 Nov 2017 02:52:16 +0000 (11:52 +0900)]
e_plane: reset set_counter if fb_target enter hwc

Change-Id: I9e2cf10fa4aef69f49ec48452daf513afccea2ba

6 years agoe_output_hwc: align the indentation and reposition of the functions 08/161908/3
SooChan Lim [Tue, 28 Nov 2017 06:42:19 +0000 (15:42 +0900)]
e_output_hwc: align the indentation and reposition of the functions

Change-Id: Ie30e7a1701c0f8a3d3318e0603b6cecc54a4d631

6 years agoadd E_LAYER_DESK_OBJECT layers 48/161848/1
Doyoun Kang [Tue, 28 Nov 2017 01:43:04 +0000 (10:43 +0900)]
add E_LAYER_DESK_OBJECT layers

We added 3 layers - E_LAYER_DESK_OBJECT_BELOW, E_LAYER_DESK_OBJECT, E_LAYER_DESK_OBJECT_ABOVE.
E_LAYER_DESK_OBJECT is used by e_desk object.

Change-Id: I5786761b1593dbdc22dfeb37ab8b177fc0548732

6 years agoe_comp_hwc: cancel hwc below quickpanel windows when open 92/161792/1
SooChan Lim [Mon, 27 Nov 2017 10:15:36 +0000 (19:15 +0900)]
e_comp_hwc: cancel hwc below quickpanel windows when open

if e_config->use_desk_smart_obj is 1,
   e_desk smart obj became a child of canvas.
   and the smart obj has quickpanel as a member of it
   so, quickpanel window couldn't be a child of canvas, but e_desk

Change-Id: I8fde7e9656da9279738906120705c136c7a00cd8

6 years agoe_output_hwc: add the e_output_hwc_planes_ prefix to the function name. 91/161791/1
SooChan Lim [Mon, 27 Nov 2017 09:21:46 +0000 (18:21 +0900)]
e_output_hwc: add the e_output_hwc_planes_ prefix to the function name.

Change-Id: Ie7262b2ca6ee565c76f7f48e9ee86402f5ebe395

6 years agoe_output: change the name of _e_output_commit() 90/161790/1
SooChan Lim [Mon, 27 Nov 2017 09:20:51 +0000 (18:20 +0900)]
e_output: change the name of _e_output_commit()

from _e_output_commit() to _e_output_planes_commit()

Change-Id: I9233848b76c28ca0b63ad8a13d973a12b572f440

6 years agoe_comp_screen: add log to succeed the output_setup 89/161789/1
SooChan Lim [Mon, 27 Nov 2017 08:55:02 +0000 (17:55 +0900)]
e_comp_screen: add log to succeed the output_setup

Change-Id: I82a340c51a107bd1f19d2670bd5b51e25981874c

6 years agoe_output: skip plane_commit if plane is over than fb_plane when zoom set to avoid... 01/161401/3
Junkyeong Kim [Thu, 23 Nov 2017 07:37:06 +0000 (16:37 +0900)]
e_output: skip plane_commit if plane is over than fb_plane when zoom set to avoid flickering

Change-Id: Iced17d08dc44eeff7e373efd8402938f0533352d
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agoe_plane: commit planes in vsync start point when hwc is changed 61/161361/2
Changyeon Lee [Tue, 21 Nov 2017 03:57:25 +0000 (12:57 +0900)]
e_plane: commit planes in vsync start point when hwc is changed

commit is done in vsync start point when fb_target and other plane
should be synchronized if output_doens't use commit_per_vblank

Change-Id: Ifefb338832530ced0046239967aa01eda926be1c

6 years agoe_plane: set sync_count to queue when planes need synchronizing 60/161360/2
Changyeon Lee [Tue, 21 Nov 2017 02:52:23 +0000 (11:52 +0900)]
e_plane: set sync_count to queue when planes need synchronizing

if uset_counter and set_counter is set, surface of fb target
should be complete rendering when it is synchronized with
surface of other planes.

Change-Id: I5b9867b4354d25aa51d22823aefef015315ed39b

6 years agoe_dpms: set proper result for dbus reply 50/161550/2
YoungJun Cho [Fri, 24 Nov 2017 04:57:35 +0000 (13:57 +0900)]
e_dpms: set proper result for dbus reply

This patch sets proper result for dbus reply after dpms set.

Change-Id: Id9eb533ca30263fda155c74a260ef4bf5b097066
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
6 years agoe_comp_wl_video: add the abstract video layer 19/160919/10
Roman Marchenko [Mon, 20 Nov 2017 16:29:49 +0000 (18:29 +0200)]
e_comp_wl_video: add the abstract video layer

struct _E_Video_Layer and the functions were added for reduce dependency of the code from API TDM.

Change-Id: Ia5df931eb0232b8ad2bd35275b662f9ac98cdb89
Signed-off-by: SooChan Lim <sc1.lim@samsung.com>