platform/upstream/efl.git
6 years agoefl_ui_focus_manager_calc: only call next when the node is unexpected
Marcel Hollerbach [Thu, 12 Apr 2018 12:27:22 +0000 (14:27 +0200)]
efl_ui_focus_manager_calc: only call next when the node is unexpected

ref T6793

6 years agomigration: turn off tizen only elementary
Wonki Kim [Mon, 28 May 2018 09:59:56 +0000 (18:59 +0900)]
migration: turn off tizen only elementary

Change-Id: Id507d157482d2446b2b01c4b7d9f5100c659c892
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
6 years agoModify initial visibility of a extn_socket
Wonki Kim [Wed, 16 May 2018 01:42:37 +0000 (10:42 +0900)]
Modify initial visibility of a extn_socket

Summary:
extn socket should be rendered even if it is not visible to answer client's requests

extn_socket was rendered even if it's not visible for the first render.
however, it's not rendered as expected because there has been changes for ecore evas idle enterer.
so that this patch changes visibility of extn_socket to answer client's requests immediately.

ref D6054

Reviewers: zmike

Subscribers: cedric

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D6167

Change-Id: I723546ff4e7899f6056f9dd21e1f05662ae20a3d
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
6 years agoecore_evas_extn: Remove aka latch logic on fn_prepare function
Wonki Kim [Tue, 15 May 2018 15:29:54 +0000 (00:29 +0900)]
ecore_evas_extn: Remove aka latch logic on fn_prepare function

Summary:
current extn_socket_prepare function logic could run into dead-end
because extnbuf_lock return null on failure of taking a lock.

this patch removes aka latch logic that guide the function to dead-end.

Reviewers: cedric, raster, zmike

Subscribers: zmike

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D6054

Change-Id: I55b7292455293f18e215a79387d6d605d8203565
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
6 years agoecore_evas_extn: Modify not to send a message if there is nothing to draw
Wonki Kim [Wed, 9 May 2018 14:46:00 +0000 (23:46 +0900)]
ecore_evas_extn: Modify not to send a message if there is nothing to draw

Summary:
Seding ipc messages on ews_update_image(which is invoked as a callback of EVAS_RENDER_POST)
can makes ecore main loop awake, because sending ipc messages makes message_queue not empty.

so that this patch prevent seding ipc logic if there is nothing to draw.

Reviewers: cedric, raster

Reviewed By: raster

Subscribers: zmike

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D6055

Change-Id: Ibd11e40c5d1edaf2e94a8a00ae309d05c61c4ea1

6 years agoecore_event: fix backword compatibility bug for ecore event 47/178447/2
Hosang Kim [Tue, 8 May 2018 11:42:47 +0000 (20:42 +0900)]
ecore_event: fix backword compatibility bug for ecore event

Before ECORE_EVENT_NONE is 0 and it is not used event type.
https://phab.enlightenment.org/D5940

Change-Id: Ida409e865e52176ff523df707ed0ce1feec33e7d
(cherry picked from commit 8492b1c7801c2fba99c9cc90ecdd3320d00ec1f9)

6 years agoevas_object_box: fix compatibility bug for calculating box items 68/178568/1
Hosang Kim [Thu, 10 May 2018 11:51:29 +0000 (20:51 +0900)]
evas_object_box: fix compatibility bug for calculating box items

previous commit: 0f08ee686ecf91d7815f35ddc8481fd7d2936988
evas box - fix longstanding bug where min size is miscalculated

@tizen_fix

Change-Id: Id36d72e22d6da818f077662501ebbb78d3094962
Signed-off-by: Hosang Kim <hosang12.kim@samsung.com>
6 years agoefreet: disable unnecessary parts. 24/177324/3
Hosang Kim [Fri, 27 Apr 2018 06:04:51 +0000 (15:04 +0900)]
efreet: disable unnecessary parts.

Tizen doesn't use efreet mime and freedesktop icon.

@Tizen

Change-Id: I0872ccb453ca88978bd88f38d8a38290f13de2e2

6 years agogenlist: prevent memory leak in item class update 74/178174/1
SangHyeon Lee [Tue, 8 May 2018 11:37:23 +0000 (20:37 +0900)]
genlist: prevent memory leak in item class update

Change-Id: I22c823961f9f187c559c1816788b85348554bf28

6 years agogenlist : fix ABI break in gen common 59/178159/1
SangHyeon Lee [Tue, 8 May 2018 10:17:00 +0000 (19:17 +0900)]
genlist : fix ABI break in gen common

Change-Id: I469974e5885844e9da7cad5c33cfcf540904bedf
(cherry picked from commit c5183bc2e956e278d27c9e56c02385a576b543aa)

6 years agocursor: fix ABI break in widget item cursor APIs 47/178147/2
SangHyeon Lee [Thu, 3 May 2018 10:40:45 +0000 (19:40 +0900)]
cursor: fix ABI break in widget item cursor APIs

fix ABI break in widget item cursor APIs
by efl_ui_cursor interface implementing.

item's view were not elementary widget mostly,
reimplementing efl_ui_cursor on efl_ui_widget
cannot resolve item's cursor API.

Change-Id: Ie5cf051d5d22e10f4c11ef8747d9bd9a3fccae1a
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
(cherry picked from commit 0190020675ab40f7db6882f42ce4ecf46e5b53c5)

6 years agogen : fix ABI break on Elm_Gen_Item_Class 46/178146/1
SangHyeon Lee [Thu, 3 May 2018 03:33:00 +0000 (12:33 +0900)]
gen : fix ABI break on Elm_Gen_Item_Class

boolean value homogeous was been placed between middle of
delete_me and item_style in Tizen_4.0
so we have to maintain same position about the values On
the public structure to prevent ABI break.

Change-Id: I50e5899c0c0e2e889f2c0de0452646b6c6c57464
(cherry picked from commit 404f34981f7ac75f63524adf838777abb2131089)

6 years agoelm_object : Support to translatable_part_text of legacy widget 39/177939/3
JunsuChoi [Fri, 4 May 2018 11:07:18 +0000 (20:07 +0900)]
elm_object : Support to translatable_part_text of legacy widget

Summary:
this commit supports aliasing of legacy widget
about translatable_part_text_set/get.

Test Plan:
elm_object_domain_translatable_part_text_set(btn, "default", NULL, "sample_text");
const char* text = elm_object_translatable_part_text_get(btn, "default");

Reviewers: cedric, herb, id213sin, woohyun

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D6056

Change-Id: I0295a74eea971ea5b0cb6de7fa63dd70afac374f

6 years agoecore_con,ecore_evas,evas_main: Fix the static analysis issues 53/177853/1
Myoungwoon Roy, Kim [Fri, 4 May 2018 04:32:03 +0000 (13:32 +0900)]
ecore_con,ecore_evas,evas_main: Fix the static analysis issues

ecore_evas_buffer: fix an warnning for the unchecked return value
ecore_con: fix an warning for the uninitialized scalar variable(UNINT)
evas_main: fix structurally dead code

Change-Id: I28eaa41b8f14518c07898401c9c056b700b8fb59

6 years agoecore_ipc: Restores ability for checking negative port 58/177458/7
Myoungwoon Roy, Kim [Mon, 30 Apr 2018 07:28:19 +0000 (16:28 +0900)]
ecore_ipc: Restores ability for checking negative port

Restores ability for checking negative port on local/remote ipc connection

Change-Id: I973aeaf4e8e4b775a088efb3cebaaa2000dc8afc

6 years agoevas_out: resolve possible memory leak
Jongmin Lee [Fri, 27 Apr 2018 00:24:18 +0000 (09:24 +0900)]
evas_out: resolve possible memory leak

Change-Id: Ia9664526a5b8126dcea302b382f45328d9cbd089

6 years agoefl_selection_manager: resolve possible memory leak
Jongmin Lee [Fri, 27 Apr 2018 00:51:41 +0000 (09:51 +0900)]
efl_selection_manager: resolve possible memory leak

Change-Id: I91a728c349659ec40b852ff1e6b67c7110da8a63

6 years agoedje_util: Fix object isolate issue.
Woochan Lee [Thu, 26 Apr 2018 06:30:56 +0000 (15:30 +0900)]
edje_util: Fix object isolate issue.

@tizen_fix
Change-Id: I608727277a098e0a0a824675cb2bbc64194f382e

6 years agoevas textblock: prevent invalid read from a free'd cursor
Youngbok Shin [Wed, 25 Apr 2018 07:26:05 +0000 (16:26 +0900)]
evas textblock: prevent invalid read from a free'd cursor

After calling destructor of an object, render_pre function can be called for that object.
In this case, we need to handle pointer carefully.

@tizen_fix

Change-Id: I6ab50e88402892568b53a25622be621328c67823

6 years agoelm: resolve possible integer overflow
Jongmin Lee [Fri, 20 Apr 2018 08:24:39 +0000 (17:24 +0900)]
elm: resolve possible integer overflow

Change-Id: I811cb7ef2bfda7016e1c41c06442aeffbd2be558

6 years agoelementary bg: fix legacy bg scale policy
Youngbok Shin [Tue, 24 Apr 2018 09:54:16 +0000 (18:54 +0900)]
elementary bg: fix legacy bg scale policy

It has to reverted when D5763 is merged.
@tizen_fix

Change-Id: Id140579bb09d02ddd67a3b9e513ffa962f2e4597

6 years agomodify code to handle window position
Doyoun Kang [Tue, 24 Apr 2018 07:00:36 +0000 (16:00 +0900)]
modify code to handle window position

Change-Id: I8284f3b31f7ec3b4b14c6f0a6dd77a71a1ae666c

6 years agocbhm_helper: fix the memory leak
Taehyub Kim [Mon, 23 Apr 2018 11:57:17 +0000 (20:57 +0900)]
cbhm_helper: fix the memory leak

Change-Id: Icee9bcaf1b443371e0ba1dfa0bd7633b8ae587b2

6 years agoelementary bg: allow NULL pointers in legacy usage
Youngbok Shin [Mon, 23 Apr 2018 11:20:17 +0000 (20:20 +0900)]
elementary bg: allow NULL pointers in legacy usage

Summary:
It should not cause crash with NULL parameters.
@fix

Reviewers: woohyun, raster, cedric

Differential Revision: https://phab.enlightenment.org/D5979

Change-Id: I8b7fb6bdbe7dd6f491a5edefe6529acb755a0591

6 years agoelementary: bg - keep file path and key string for legacy bg widget
Youngbok Shin [Wed, 7 Mar 2018 01:56:56 +0000 (17:56 -0800)]
elementary: bg - keep file path and key string for legacy bg widget

Summary:
If a file path and key string was passed to elm_bg, we could get
the same file path and key string. Even if it failed to load the image file.
And the file path also remained its original form.
ex) Setting file path "~/image.png" => Getting file path "~/image.png"
                                       (Not "/home/user_name/image.png")

@fix

Test Plan: Included in elementary test suite.

Reviewers: jpeg, cedric, raster

Reviewed By: cedric

Subscribers: woohyun

Differential Revision: https://phab.enlightenment.org/D5823

Change-Id: Iadc615664d27832b5e232a150f0cd82f197defd2
Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
6 years agoRevert "popup: disable line wrap set to elm_label"
Wonki Kim [Fri, 27 Apr 2018 07:08:07 +0000 (16:08 +0900)]
Revert "popup: disable line wrap set to elm_label"

This reverts commit 22b439213a0edf841abb6b23eea4332a02927343.

6 years agoUi layout: fix latest attempt to fix markup retreival
Daniel Hirt [Thu, 1 Feb 2018 10:57:43 +0000 (12:57 +0200)]
Ui layout: fix latest attempt to fix markup retreival

Commits c07a40c745c5df1b1f6f0bbf666b233d8d072ca7 and
429e19563d15a02d3417ff8fffca994ce6685249 tried to fix markup retrieval by
creating a different code path for the setter and getter. However, legacy code
paths needs to be taken into consideration.
This commit fixes legacy widgets (like guide text that did not show any text
        in the entry at the top of 'elementary_test').

ref T6642

6 years agoevas_main: Add null exception handling 92/176992/5
Myoungwoon Roy, Kim [Tue, 24 Apr 2018 10:45:56 +0000 (19:45 +0900)]
evas_main: Add null exception handling

Need to check whether Evas_Public_Data data is null or not before dereferencing it.

Change-Id: I57aeab8114cf41591a47cf70a388ed634680d2d5

6 years agowidget: stop creating unused class. 47/177247/1
Hosang Kim [Thu, 26 Apr 2018 11:00:38 +0000 (20:00 +0900)]
widget: stop creating unused class.

The combobox class is unnecessary class.

Change-Id: I848e3aae2e029076cec252e8b2de7392a196d3fb

6 years agoscrl_iface: free adjust job when interface is freed 82/177182/1
SangHyeon Lee [Thu, 26 Apr 2018 06:30:15 +0000 (15:30 +0900)]
scrl_iface: free adjust job when interface is freed

Change-Id: I1613ef191dbf505517d8278758bc1aabe1be0b48
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
6 years agotizen audio: cherry-pick missing code from tizen branch 15/177115/4
Wonki Kim [Wed, 25 Apr 2018 11:05:57 +0000 (20:05 +0900)]
tizen audio: cherry-pick missing code from tizen branch

Change-Id: Id1fae479b6b0e36bb49d9a32c72ebe5842150fed

6 years agoFix a error cased by rebasing a patch f1ac23d
Wonki Kim [Wed, 25 Apr 2018 04:24:12 +0000 (13:24 +0900)]
Fix a error cased by rebasing a patch f1ac23d

sd->subs is needed to be replaced by null while freeing it.

Change-Id: Ie45200f0858c7e2280557955452bcb53d26e2543
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
6 years agoRevert "ecore_wl2: Fix ecore_wl2_window_output_find"
Wonki Kim [Tue, 24 Apr 2018 13:19:18 +0000 (22:19 +0900)]
Revert "ecore_wl2: Fix ecore_wl2_window_output_find"

This reverts commit 2f474a3e7d13b99fdfa6b058ba1bbd2b73a8732f.

6 years agoefl_ui_win: Modified to use efl_config->win_no_border in _elm_win_finalize_internal
Jeonghyun Yun [Mon, 16 Apr 2018 08:14:51 +0000 (17:14 +0900)]
efl_ui_win: Modified to use efl_config->win_no_border in _elm_win_finalize_internal

@tizen_fix

Change-Id: Ia42a1fefc7fbfe4cebc91398c66c4b2c73fb61d0
Signed-off-by: Jeonghyun Yun <jh0506.yun@samsung.com>
6 years agoRevert "efl_ui_win: move setting borderless code."
Wonki Kim [Tue, 24 Apr 2018 06:32:16 +0000 (15:32 +0900)]
Revert "efl_ui_win: move setting borderless code."

This reverts commit 36a493b7a50908f1abe84bdfca272d7cbdf51e54.

6 years agoFix a bug about the value of map point colors 07/176907/1
Myoungwoon Roy, Kim [Tue, 24 Apr 2018 06:47:30 +0000 (15:47 +0900)]
Fix a bug about the value of map point colors

evas_map_point_color_get returns wrong RGBA values always because of error label.

Change-Id: I1583d4a01039d69775729ac5cc5930a3be5e69e1

6 years agoatspi : fix memory leak
JunsuChoi [Mon, 23 Apr 2018 10:17:07 +0000 (19:17 +0900)]
atspi : fix memory leak

   If return at check iter_entry and iter_dict,
   it occured memory leak form ret

Change-Id: Ia0cb9aeeab8bdd792257d8257c27d56de1c62ec6

6 years agoRevert "ecore_wl2: ignore first configure cb after client change the window size...
Jiyoun Park [Mon, 23 Apr 2018 06:51:24 +0000 (15:51 +0900)]
Revert "ecore_wl2: ignore first configure cb after client change the window size explictly"

This reverts commit 4c66dd5f9239f8c5324ffeed93f4ffc89af3a010.

Change-Id: Ic62469932395fd36ac3df5741aeee2c677a1702e
Signed-off-by: Jiyoun Park <jy0703.park@samsung.com>
6 years agoelementary: bg - keep file path and key string for legacy bg widget
Youngbok Shin [Wed, 7 Mar 2018 01:56:56 +0000 (17:56 -0800)]
elementary: bg - keep file path and key string for legacy bg widget

Summary:
If a file path and key string was passed to elm_bg, we could get
the same file path and key string. Even if it failed to load the image file.
And the file path also remained its original form.
ex) Setting file path "~/image.png" => Getting file path "~/image.png"
                                       (Not "/home/user_name/image.png")

@fix

Test Plan: Included in elementary test suite.

Reviewers: jpeg, cedric, raster

Reviewed By: cedric

Subscribers: woohyun

Differential Revision: https://phab.enlightenment.org/D5823

Change-Id: Iadc615664d27832b5e232a150f0cd82f197defd2
Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
6 years agoelementary layout: just return false when the given pos is negative
Youngbok Shin [Sat, 21 Apr 2018 09:15:27 +0000 (18:15 +0900)]
elementary layout: just return false when the given pos is negative

The function for this feature in Edje starts supporting negative pos.
The negative pos will be used for inserting the given object at backward position.

But, in Tizen 4.0, the document for this function described pos has to be positive or zero.
Actually, it failed when pos was negative.
So, for backward compatibility, it must return FALSE in this case.

@tizen_fix

Change-Id: I004af7839976a94b5e4e68a64c795689f0a25ca3

6 years agoelementary: add additional class names for legacy API calls
Youngbok Shin [Mon, 23 Apr 2018 04:55:18 +0000 (13:55 +0900)]
elementary: add additional class names for legacy API calls

It is a temporary patch before updating code according to the latest upstream code.

@tizen_fix

Change-Id: Ie44327234d2d52418251a5b1603e74e837c1d2bb

6 years agoecore_wl2: ignore first configure cb after client change the window size explictly
Jiyoun Park [Sat, 21 Apr 2018 18:18:20 +0000 (03:18 +0900)]
ecore_wl2: ignore first configure cb after client change the window size explictly

aux_hint: wm.policy.win.user.geometry 1
if client used this hint, client can resize window size even thought basic window.
But client can get 1X1 configure size after set this hint.

we need to analyze the whole size negotiation process between client and server.

problem case:
ecore_evas_new: 1X1 (client->server)
ecore_evas_resize: 1920X1080 (client->server)
configure 1X1 (server->client)
client change the size 1X1 even thought they already request 1920X1080

this is hot fix because it only can ignore first configure after client size set.
we maybe need to use the serial value of ecore_wl2_win.

Change-Id: I1961a41a31e94e76f89d8db9fdb7793bd83d4ba1

6 years agoprogressbar: progress pulse policy is diffrent with spin.
Hosang Kim [Sat, 21 Apr 2018 09:39:07 +0000 (18:39 +0900)]
progressbar: progress pulse policy is diffrent with spin.

Change-Id: I4049a67a91e018df1cbe320420b98ed579e8dd7e

6 years agoelementary button: Do requested job even if a part name is improper for that job.
Youngbok Shin [Sat, 21 Apr 2018 05:57:47 +0000 (14:57 +0900)]
elementary button: Do requested job even if a part name is improper for that job.

When a text set is called for "elm.swallow.content", it will fail because of its part name.
It has to allow text set calls even the given part name is improper.

@tizen_fix

Change-Id: Ice95503363e7a5b1eb02fd1abae0996a7c1b8973

6 years agoelementary: Do text/content set when new theme is applied
Youngbok Shin [Fri, 20 Apr 2018 10:13:39 +0000 (19:13 +0900)]
elementary: Do text/content set when new theme is applied

The feature which restores text/content when an Edje's theme is changed
is moved to Edje. But, it is not perfect.
It couldn't restore text/content of inside of its "group" part.
Before fixing issue about "group" part from Edje,
the feature has to be in efl_ui_layout.

@tizen_fix

Change-Id: I9895e424c27d6e0d96598ee82015f5e2048bb7e2

6 years agoslider: apply tizen_vector
Bowon Ryu [Mon, 23 Apr 2018 10:27:22 +0000 (19:27 +0900)]
slider: apply tizen_vector

@tizen_fix

Change-Id: I145d937d64824eda222968cfe5cebd973be4a36f
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
6 years agoefl_ui_win_socket: Prevent application crash. 57/176757/1
Woochan Lee [Mon, 23 Apr 2018 07:55:34 +0000 (16:55 +0900)]
efl_ui_win_socket: Prevent application crash.

When creation a window in indicator app,
The spcify ecore_evas as the prarent in efl_ui_win_finalize_internal(),
However calling efl_parent_get() in the evas constructor will calling the implemented below logic.
It returns null and make a crash.

Change-Id: Icd3d0b7652959ffe505ba5d728119179ed7c52b5

6 years agobutton : Apply tizen_vector for support to vector_ux 42/176742/1
JunsuChoi [Mon, 23 Apr 2018 06:24:53 +0000 (15:24 +0900)]
button : Apply tizen_vector for support to vector_ux

Change-Id: I9005ad0c4d019430748693353bd431ec1238ed6b

6 years agoReplace removed function to another
Wonki Kim [Mon, 23 Apr 2018 03:34:04 +0000 (12:34 +0900)]
Replace removed function to another

elm_wdg_item_del has been removed so that this patch replace it with alternative one.

Change-Id: I35af3d4b1e9c63a3c0ff341facc8823be93132a0
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
6 years agofix a incremental support patch
Wonki Kim [Fri, 20 Apr 2018 11:58:50 +0000 (20:58 +0900)]
fix a incremental support patch

Change-Id: If3f7ecbdc8dedb46ec9e63704d686cebfece900f
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
6 years agoevas_engine: remove logically dead code
Bowon Ryu [Fri, 20 Apr 2018 10:14:25 +0000 (19:14 +0900)]
evas_engine: remove logically dead code

Summary:
"plane" exception value is already filtered at line 1791.
execution cannot reach this statement.

Reviewers: cedric, Jaehyun_Cho

Reviewed By: Jaehyun_Cho

Differential Revision: https://phab.enlightenment.org/D5973

Change-Id: I087597502dedd64bf48670904533e61e76b0d530
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
6 years agoedje: fix backward compatibility issue caused by legacy cursor funcs
Youngbok Shin [Fri, 20 Apr 2018 06:04:29 +0000 (15:04 +0900)]
edje: fix backward compatibility issue caused by legacy cursor funcs

Summary:
edje_object_part_text_cursor_prev/next/up/down has return value.
It has to return EINA_TRUE when only it successed.
But, when these funcs moved to legacy, it changed to return EINA_TRUE
whenever it fails or success. It must return EINA_FALSE when it fails.
@fix

Test Plan:
- Run test suite
  make check

Reviewers: herdsman, raster, cedric, woohyun

Differential Revision: https://phab.enlightenment.org/D5972

Change-Id: I4290a3a4725bdfdc39f8dcceda559bc484fcf36d

6 years agoefl_ui_progressbar: add null check
Bowon Ryu [Fri, 20 Apr 2018 09:44:07 +0000 (18:44 +0900)]
efl_ui_progressbar: add null check

Summary: a segmentation fault occurs once the argument is not valid.

Test Plan: N/A

Reviewers: cedric, Jaehyun_Cho

Reviewed By: Jaehyun_Cho

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D5974

Change-Id: I0936de4e70d45e0c7997aa640a73371664a743b1
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
6 years agoecore_con: remove unused code
Bowon Ryu [Fri, 20 Apr 2018 09:28:23 +0000 (18:28 +0900)]
ecore_con: remove unused code

Test Plan: N/A

Reviewers: cedric, Jaehyun_Cho

Reviewed By: Jaehyun_Cho

Differential Revision: https://phab.enlightenment.org/D5975

Change-Id: I385f259fec80eca5764c94fa74578cf612657ae5
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
6 years agoefl_net_control_access_point-connman: Fix build warning
Jaehyun Cho [Fri, 20 Apr 2018 08:34:00 +0000 (17:34 +0900)]
efl_net_control_access_point-connman: Fix build warning

Change-Id: I2fad4b1e3cb439fbb1d2b8b0871d91232e99fa7c

6 years agoelm: resolve possible memory leak
Jongmin Lee [Fri, 20 Apr 2018 02:01:17 +0000 (11:01 +0900)]
elm: resolve possible memory leak

Change-Id: Ic2210ee1209ba6b4d5e803f4e6e7b7b9c1f590d5

6 years agoector cairo: fix a memory leak.
Hermet Park [Fri, 20 Apr 2018 06:47:40 +0000 (15:47 +0900)]
ector cairo: fix a memory leak.

Here don't need to use heap memory.

@fix

Change-Id: I96eedad3f816f6bef29bf665f4ba262e11e3066a

6 years agoefl_net_control_access_point-connman: Remove unused code
Jaehyun Cho [Fri, 20 Apr 2018 05:25:10 +0000 (14:25 +0900)]
efl_net_control_access_point-connman: Remove unused code

if the method is EFL_NET_CONTROL_ACCESS_POINT_PROXY_METHOD_UNSET, then
the function is returned before.

Change-Id: Ia558b6f13757fd2aa6af554603a6822983b5a7fc

6 years agoelm: resolve possible memory leak
Jongmin Lee [Fri, 20 Apr 2018 01:11:24 +0000 (10:11 +0900)]
elm: resolve possible memory leak

Change-Id: I044d2cf83d61cdfb400ed582a315f2cdcf4b3f6c

6 years agoeio: resolve possible memory leak
Jongmin Lee [Fri, 20 Apr 2018 00:24:41 +0000 (09:24 +0900)]
eio: resolve possible memory leak

Change-Id: I7a240ca7289236c1067e10e379bfcf8e496af904

6 years agoelm: resolve possible memory leak
Jongmin Lee [Fri, 20 Apr 2018 00:57:39 +0000 (09:57 +0900)]
elm: resolve possible memory leak

Change-Id: I4e5cb2d3ad78a8982bb7ebddae49806f742112de

6 years agoelm: resolve possible memory leak
Jongmin Lee [Fri, 20 Apr 2018 00:36:42 +0000 (09:36 +0900)]
elm: resolve possible memory leak

Change-Id: Iaa67e1207ad9d394993d1fca6be4b46e94ab2f98

6 years agoecore_wl_dnd: correct wrong variable assignment
Jongmin Lee [Thu, 19 Apr 2018 23:50:18 +0000 (08:50 +0900)]
ecore_wl_dnd: correct wrong variable assignment

Change-Id: I86110206ec3abaacf8b001333be8f7f8e0e33200

6 years agoelm: resolve possible null dereference
Jongmin Lee [Fri, 20 Apr 2018 05:37:52 +0000 (14:37 +0900)]
elm: resolve possible null dereference

Change-Id: I418d0fc2474edcb94e0ea5e5ca1cfc4875562108

6 years agoedje: Don't access a garbage pointer.
Hermet Park [Fri, 20 Apr 2018 02:44:43 +0000 (11:44 +0900)]
edje: Don't access a garbage pointer.

set null to avoid multiple access.
At 221 line, it tries to free tmp again.

Change-Id: Ia995bc5fb69ad5a7aab1adf93eeba6ad9bf2617c

6 years agoedje edje_cc: fix memory leak.
Hermet Park [Fri, 20 Apr 2018 04:10:58 +0000 (13:10 +0900)]
edje edje_cc: fix memory leak.

This token has temporary alloc'd memory.
We should free it before loosing its ptr address.

@fix

Change-Id: I1e88b4fb9dbab570a0bb3199f807eace9da2a94d

6 years agoelementary: Remove unreachable code lines
Wonki Kim [Mon, 16 Apr 2018 18:21:17 +0000 (11:21 -0700)]
elementary: Remove unreachable code lines

Summary: This patch removes unreacahble code lines

Reviewers: cedric, woohyun, eagleeye

Differential Revision: https://phab.enlightenment.org/D5923

Change-Id: Ibb2ef323ed815147dcb2a34983bbd20488bec571
Reviewed-by: Cedric BAIL <cedric@osg.samsung.com>
6 years agoFix a shutdown logic to be reachable in some case
Wonki Kim [Mon, 16 Apr 2018 18:18:27 +0000 (11:18 -0700)]
Fix a shutdown logic to be reachable in some case

Summary:
move evas_async_events_shutdown: to out of EVAS_CSERVE2 ifdef block
to make it reachable.

Reviewers: cedric, woohyun

Differential Revision: https://phab.enlightenment.org/D5926

Change-Id: I89d9d65e27891fe1127543480be4322c84de2689
Reviewed-by: Cedric BAIL <cedric@osg.samsung.com>
6 years ago[EvasTBMengine] fix the overwritten im2
Wonsik Jung [Fri, 20 Apr 2018 04:05:37 +0000 (13:05 +0900)]
[EvasTBMengine] fix the overwritten im2

Fix the overwritten im2 in eng_image_native_set

Change-Id: If771597e0eaafe8139ea5ab8a97980b2202dd0eb

6 years agoelementary: Fix misused comma operation
Wonki Kim [Thu, 12 Apr 2018 01:43:46 +0000 (10:43 +0900)]
elementary: Fix misused comma operation

a statement 'sid->pan_obj,' has nothing to do with logic
so that this patch removes it.

Change-Id: Ib7c543ff09d06f6cb1b56500051af3ceeefcc977
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
6 years agoelementary/scroll_manager: Remove unreachable code block
Wonki Kim [Wed, 11 Apr 2018 12:16:19 +0000 (21:16 +0900)]
elementary/scroll_manager: Remove unreachable code block

this patch removes unreachable code block

Change-Id: I5a115841fa9c92a145cc07d971a3a6a43d406c13
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
6 years agoedje: add missing fade image and fix position managing for marquee objects
Youngbok Shin [Fri, 20 Apr 2018 05:08:05 +0000 (14:08 +0900)]
edje: add missing fade image and fix position managing for marquee objects

@tizen_fix

Change-Id: Iceb96e7200f5b8132c5cf1949a3df76b1b9d77ab

6 years agoevas : fixed coverity issue for resource leak
Joogab Yun [Fri, 20 Apr 2018 01:56:16 +0000 (10:56 +0900)]
evas : fixed coverity issue for resource leak
       (CID 83275)

Change-Id: I74a27a823dc98c10b63b04f0ae824afc84cc9edf

6 years agoeo : Add null check
JunsuChoi [Tue, 10 Apr 2018 04:38:21 +0000 (13:38 +0900)]
eo : Add null check

Summary:
This commit add null check on __efl_auto_unref_set.
In EO_OBJ_POINTER, if obj_id is null, obj can also be null.

Test Plan: N/A

Reviewers: woohyun, kimcinoo, cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D5869

Change-Id: Ieb043953811655494fdcf0138465d3b273924e5a

6 years agoelementary: Fix a potensional overflowing
Wonki Kim [Thu, 12 Apr 2018 02:07:53 +0000 (11:07 +0900)]
elementary: Fix a potensional overflowing

both tv_sec and 100000000 are evaluated using 32bit arithmetic
this patch cast tv_sec to 64bit integer to avoid the overflowing

Change-Id: I93d96c94c4ed20d24c197a94b370eea28bd79791
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
6 years agoedje: Fix backward compat issue caused by color_class
Youngbok Shin [Fri, 20 Apr 2018 01:59:46 +0000 (10:59 +0900)]
edje: Fix backward compat issue caused by color_class

It is being discussed in the following task.
https://phab.enlightenment.org/T6885

@tizen_fix

Change-Id: I1e0a3158c95f56621966d8e3749bd14507546cec

6 years agoAdd omitted changes for tizen/elm_genlist
Wonki Kim [Fri, 20 Apr 2018 07:20:35 +0000 (16:20 +0900)]
Add omitted changes for tizen/elm_genlist

while rebasing, some changes from upstream/elm_genlist are omitted
to rebase onto sandbox/upgrade/efl120

this patch add the changes

Change-Id: Ieb847850a87809faab6454ae55aa77bd6df44c3e

6 years agoAdd related files for incremental build
Wonki Kim [Fri, 20 Apr 2018 05:38:37 +0000 (14:38 +0900)]
Add related files for incremental build

Change-Id: I035b4ecf29085c5b06c0bf4aafc4babd1aee7e40
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
6 years agoelementary: fix bug for setting/unsetting alpha win
Doyoun Kang [Fri, 20 Apr 2018 00:30:19 +0000 (09:30 +0900)]
elementary: fix bug for setting/unsetting alpha win

there was a bug for unsetting alpha window using elm_win_alpha_set(win, EINA_FALSE).
if an app called elm_win_alpha_set(win, EINA_FALSE), the opaque geometry always set to (0,0,0,0).
this patch fixes this bug.

Change-Id: I1a773e677a48596e267bc82d9e95a866b52c590d

6 years agoecore_wl2: fix bug for getting window's active angle
Doyoun Kang [Fri, 20 Apr 2018 00:07:28 +0000 (09:07 +0900)]
ecore_wl2: fix bug for getting window's active angle

Change-Id: I40fe5b819eaaa9f416af13469b61a58459b066a4

6 years agoecore_wl2: check window's property is null in ecore_wl2_window_active_angle_get
Doyoun Kang [Thu, 19 Apr 2018 23:12:42 +0000 (08:12 +0900)]
ecore_wl2: check window's property is null in ecore_wl2_window_active_angle_get

Change-Id: I9fecf63ef1b4848e4b0389c129be851ab00d9519

6 years agoecore_buffer: Fix warning that returned value at void function.
Seunghun Lee [Thu, 19 Apr 2018 12:51:25 +0000 (21:51 +0900)]
ecore_buffer: Fix warning that returned value at void function.

Change-Id: I1f4b4c3fb962d6cdf0c50f8cbbea6c90e2253238

6 years agoecore_evas: check evas_device's description value is null
JengHyun Kang [Thu, 19 Apr 2018 13:15:23 +0000 (22:15 +0900)]
ecore_evas: check evas_device's description value is null

Change-Id: If6197c8c6dd1270c6db80a4fe3b32b37f35b96c1

6 years agoefl_ui_layout: Fix not to use background/shadow part interface in legacy
Jaehyun Cho [Wed, 18 Apr 2018 05:33:44 +0000 (14:33 +0900)]
efl_ui_layout: Fix not to use background/shadow part interface in legacy

"background" and "shadow" part interface was designed to be used in efl
ui interface only.
Therefore, "background" and "shadow" part interface is not used in
legacy.

Change-Id: If01a121df68d3365860f169df68c1f001f4d74e1

6 years agoRevert "efl_part: support background part name for elm legacy obj"
Jiyoun Park [Wed, 18 Apr 2018 10:38:19 +0000 (19:38 +0900)]
Revert "efl_part: support background part name for elm legacy obj"

This reverts commit 88faa367ff5022b0ea78b6bd8fbe0c385bba1f97.

Change-Id: Ie8a57a82f2bff670a2d197c259f762cc79519a22
Signed-off-by: Jiyoun Park <jy0703.park@samsung.com>
6 years agoecore_wl2_window: check keyboard device when ecore_wl2_window_input_get request
Jiyoun Park [Tue, 17 Apr 2018 01:47:46 +0000 (10:47 +0900)]
ecore_wl2_window: check keyboard device when ecore_wl2_window_input_get request

we need to discuss to adding ecore_wl2_window_keyborad_get API.
currently, multi seat situation, app has possibility to get another window's input device.
so we also need to set up policy related with multi seat

Change-Id: I36ec697309922990cbe6e8f366094cc66743ebcb

6 years agoefl_part: support background part name for elm legacy obj
Taehyub Kim [Tue, 17 Apr 2018 02:45:40 +0000 (11:45 +0900)]
efl_part: support background part name for elm legacy obj

Change-Id: Iaeadc8adb356cda97f482370fa38c58912d1b495

6 years agoefl_ui_win: move setting borderless code.
Hosang Kim [Mon, 16 Apr 2018 04:07:22 +0000 (13:07 +0900)]
efl_ui_win: move setting borderless code.

Change-Id: I5a5827001a7437e9c3766c1492d5634f7dda62e7

6 years agoecore_wl2: remove checking zxdg_toplevel value in ecore_wl2_window_lower
Doyoun Kang [Mon, 16 Apr 2018 04:01:05 +0000 (13:01 +0900)]
ecore_wl2: remove checking zxdg_toplevel value in ecore_wl2_window_lower

There was a different operation for lowering window between ecore_wl_window and ecore_wl2_window.
So, we fixed this issue.

Change-Id: I818d89cca609538046673d7351b349cde523530a

6 years agoefl_ui_win: add "focused" and "unfocused" signals emission 14/176614/2
YeongJong Lee [Mon, 16 Apr 2018 08:19:11 +0000 (17:19 +0900)]
efl_ui_win: add "focused" and "unfocused" signals emission

Summary:
Win is root of focus manager. it means Win is logical node and "focused" and
"unfocused" signals in Win aren't handled by focus manager.
Win needs to emit the signals itself.

Reported by eagleeye, jsuya

Test Plan:
1. elementary_test -to 'window states'
2. Check that "WIN FOCUS: focused" and "WIN FOCUS: unfocused" printed.

Reviewers: bu5hm4n

Reviewed By: bu5hm4n

Subscribers: jsuya, cedric, eagleeye

Differential Revision: https://phab.enlightenment.org/D5931

Change-Id: I8dfbd5eaa6f467623bebec6dc2bf51d1f611c314

6 years agoedje_cc_handlers: fix parsing min/max value. 05/176605/2
Hosang Kim [Wed, 18 Apr 2018 09:46:58 +0000 (18:46 +0900)]
edje_cc_handlers: fix parsing min/max value.

@tizen_fix

Change-Id: I8d14841da826b4a5c7fb76a0d93069d48bb193ab
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
6 years agoelm_toolbar: lookup_order implements
Bowon Ryu [Thu, 12 Apr 2018 14:02:33 +0000 (23:02 +0900)]
elm_toolbar: lookup_order implements

@tizen_fix

Change-Id: I4e8f461f65d0e222d375275816f89e6d208e8d28
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
6 years agoelm_icon: lookup_order implements
Bowon Ryu [Thu, 12 Apr 2018 10:16:32 +0000 (19:16 +0900)]
elm_icon: lookup_order implements

@tizen_fix

Change-Id: I65dbdd39c8b12ec258737a6f987919fd3dadc3be
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
6 years agoecore_win32: can change the app icon at runtime in Windows.
Bowon Ryu [Fri, 13 Apr 2018 07:01:22 +0000 (16:01 +0900)]
ecore_win32: can change the app icon at runtime in Windows.

this patch for windows hosting.

@tizen_fix

Change-Id: Ice63a911ff906eb4cd51239a1b1ad9c0879d91c9
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
6 years agoevas_gl: remove unreachable code
Daekwang Ryu [Wed, 11 Apr 2018 04:19:45 +0000 (13:19 +0900)]
evas_gl: remove unreachable code

Change-Id: I03d1c940b616a9fa499c592ad274c6247f52353a

6 years ago elm_win: Pend the rotation until app set the rotation.
Jiyoun Park [Fri, 13 Apr 2018 06:27:18 +0000 (15:27 +0900)]
   elm_win: Pend the rotation until app set the rotation.

   Currently, camera use the elm_win_rotation_with_resize_set.
   it rotate the canvas, and chage the win size also.
   The reason why they use this api is to use the object rotation effect during the rotation.

   If window server send rotation event during the rotation, or efl client deal with the rotation
   during the app's rotation effect, it cause flickering.

   Before, X backend , landscape rotation
   1. set the available rotation set only 0
   2. window server didn't send rotation effect
   3. apps listen the devicd rotation callback
   4. apps set elm_win_rotation_with_resize_set 90 or 270
   5. efl client set the X property related with rotation
   6. window server deals with the rotation by app side.

   But now window server don't want to support this api , becuase client rotation causes the whole of rotation policy.
   Opensource side, server need to support this situation, but we need to time to discuss.
   to support compatibility, add this code until we find the final solution.

   this concept is
   1. app set pending rotation using aux_hint (it means app will deal with the rotation)
   2. efl client doesn't deal with server's rotation
   3. do the rotation job by app just like the server's rotation.

   Change-Id: Ic1edecbdc729f9202be0977215bb770275f9cb74

Change-Id: I23d411e5856971985767be358fff56b81489b5b2

6 years agoEfl_promise: fix missing va_end after va_start used
SangHyeon Lee [Fri, 13 Apr 2018 04:10:37 +0000 (13:10 +0900)]
Efl_promise: fix missing va_end after va_start used

Change-Id: Ie5c219bec42059c3898cf3885238aa1f23dc4974
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
6 years agoecore_wl2: support a tizen_keyrouter event_surface event
JengHyun Kang [Wed, 4 Apr 2018 07:47:01 +0000 (16:47 +0900)]
ecore_wl2: support a tizen_keyrouter event_surface event

Change-Id: Ia4fca9e1650fd0f3f90b2b26b7e3b8fe343f0b9b

6 years agoecore_wl2: check window's alpha or transparent value in ecore_wl2_window_opaque_regio...
Doyoun Kang [Thu, 12 Apr 2018 06:42:50 +0000 (15:42 +0900)]
ecore_wl2: check window's alpha or transparent value in ecore_wl2_window_opaque_region_set

Change-Id: I5b86811a574d0e0f5b3af033a925c345af78e38d

6 years agoecore_wl2_input: delete unnecessary code.
Hosang Kim [Wed, 11 Apr 2018 09:08:41 +0000 (18:08 +0900)]
ecore_wl2_input: delete unnecessary code.

Change-Id: Id516c3ee947e34c050041dcefac2a527859526b4