platform/upstream/efl.git
6 years ago ecore_wl2: add function declaration in Ecore_Wl2.h 18/173118/1
Jiyoun Park [Mon, 19 Mar 2018 23:50:15 +0000 (08:50 +0900)]
   ecore_wl2: add function declaration in Ecore_Wl2.h

Change-Id: If7f9846ec9aa15ff80066a144bc3bd900d86aed5

6 years agoecore_wl2: add keyboard repeat set API 96/172996/2
Hosang Kim [Mon, 19 Mar 2018 06:59:56 +0000 (15:59 +0900)]
ecore_wl2: add keyboard repeat set API

Application want to change keyboard repeat rate and delay time.

@tizen_only

Change-Id: Idb0c490f5d49849123c53b2828d2a50b74627b4a

6 years agoecore-evas-tbm : add tbm_alloc_func, pixel_acquire and release symbol 99/173099/1
Wonsik, Jung [Mon, 19 Mar 2018 12:44:14 +0000 (21:44 +0900)]
ecore-evas-tbm : add tbm_alloc_func, pixel_acquire and release symbol

Change-Id: I7139ff378b61978e9e4d6eead385299626ce0abd

6 years agoevas : rename evas_object_image_pixels_noti_callback_set() 79/173079/1
Joogab Yun [Mon, 19 Mar 2018 11:11:44 +0000 (20:11 +0900)]
evas : rename evas_object_image_pixels_noti_callback_set()

Change-Id: Id87c0bc8c4eb300593655998b026dcea10b2749c

6 years agoMerge branch 'tizen' into efl120 submit/sandbox/upgrade/efl120/20180319.053334
Wonki Kim [Mon, 19 Mar 2018 05:29:38 +0000 (14:29 +0900)]
Merge branch 'tizen' into efl120

This commit merge branch 'tizen' and 'efl120.
However, old changes on 'tizen' branch could be removed by applying this commit
because of the merge strategy(-s ours, not -X ours)

Change-Id: I6390c045ba9957a6343b89169c35247f69564f14

6 years agoconformant: add patchs for supporting backward compatibility. 23/172623/4
Hosang Kim [Thu, 15 Mar 2018 01:50:46 +0000 (10:50 +0900)]
conformant: add patchs for supporting backward compatibility.

1. conformant: Added "virtualkeypad,size,changed" smart callback.
2. elm_win/elm_conformant: add processing properties of window.

Change-Id: I67296f5413ac58c7fc47af9ef903f5c10dc08241

6 years agoelm: do not set input region 37/171537/3
Shinwoo Kim [Mon, 5 Mar 2018 10:29:50 +0000 (19:29 +0900)]
elm: do not set input region

If a window is not a full screen, then the window has used
geometry of "elm.spacer.opaque" part for its input region.

This geometry value is not correct at first launching time,
if window does not have its resize object.

For example the keyboard shows with "0, 0, 63, 0" input region,
and the keyboard could not get touch events from the window manager.

*tizen_only

Change-Id: I1824649f67674befe59514fa119fb5c000013580

6 years agoecore_evas: get evas device from ecore device 40/171840/1
JengHyun Kang [Wed, 7 Mar 2018 13:52:04 +0000 (22:52 +0900)]
ecore_evas: get evas device from ecore device

Change-Id: I9285fbf0ebdb0479f2444e8cd3eb08da60bd915d

6 years agoelementary: Remove useless log print
Wonki Kim [Wed, 7 Mar 2018 08:13:01 +0000 (17:13 +0900)]
elementary: Remove useless log print

There are useless log prints for debug.
This commit removes the lines.

Change-Id: I1da46a2e7905bc77123a8cd0730afad4ac3cf34b
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
6 years agoevas: fix bugs in gif image loader 74/171774/1
Jaeun Choi [Mon, 13 Feb 2017 05:34:38 +0000 (14:34 +0900)]
evas: fix bugs in gif image loader

gif's logical screen size (which is considered the image size)
might be different from the size of each frame.
when decoding a frame, the width and height of the decoded data should be
based on the size of the frame, not on the size of the logical screen size.
if a frame is decoded into a buffer of screen size, this might happen

(frame = 6 X 3, logical screen = 5 X 3)
OOOXXX      OOOXX
OOOXXX  =>  XOOOX
OOOXXX      XXOOO

@fix

This patch is from upstream (95d83e80406ddf48305cdbc91eecd340ecc4c6e1).

Change-Id: I85f6775f2c6aa051838e0222e0d517b4a225cf1e

6 years agoecore_wl: add keyboard repeat info set/get API. 53/171353/2
kim hosang [Mon, 8 Jan 2018 10:57:57 +0000 (19:57 +0900)]
ecore_wl: add keyboard repeat info set/get API.

Application want to change keyboard repeat rate and delay time.

@tizen_only

Change-Id: I53b92d4ae52d36385eb883a5c1c978e51931eac3

6 years agoecore_evas: Add null check logic to ecore_evas_buffer_render
Wonki Kim [Tue, 27 Feb 2018 06:05:43 +0000 (15:05 +0900)]
ecore_evas: Add null check logic to ecore_evas_buffer_render

if argument is null, ecore_evas_buffer_render crash.
this patch fix the problem.

Change-Id: I1bd9ebfca545b508e735d284875657edceb1aa94
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
6 years agoevas: add null check logic on evas_object_smart_attach 65/170765/2
Wonki Kim [Thu, 22 Feb 2018 04:47:04 +0000 (13:47 +0900)]
evas: add null check logic on evas_object_smart_attach

This commit add null check logic on evas_object_smart_attach
because a segmentation fault occurs once the argument is not valid.

Change-Id: I4fca8b914a225d42bec3dbca76ba41171100e4b7
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
6 years agoevas : changed TILESIZE to 16 48/170648/3
Joogab Yun [Wed, 21 Feb 2018 07:03:49 +0000 (16:03 +0900)]
evas : changed TILESIZE to 16

Change-Id: If50a4684cdbf7da69d95028e0bc32f74462601bd

6 years agoelementary: update the top widget variable for all type window. 30/170830/2
subhransu mohanty [Thu, 22 Feb 2018 11:16:14 +0000 (20:16 +0900)]
elementary: update the top widget variable for all type window.

Change-Id: I059715876ce40affff03f34c5dbd324324ed20bd

6 years agoelementary entry: Fix cusor abnormal behavior caused by elm_entry_is_empty()
Youngbok Shin [Thu, 22 Feb 2018 08:12:14 +0000 (17:12 +0900)]
elementary entry: Fix cusor abnormal behavior caused by elm_entry_is_empty()

This is a temporary patch for fixing the entry typing issue.
It will be revised soon.

@tizen_fix

Change-Id: I32ff2013c8bf9a37f0e762eba17a5cc200453eae

6 years agoefl_selection: add type checking for fixing elm_cnp TC 79/170779/2
Taehyub Kim [Thu, 22 Feb 2018 05:31:30 +0000 (14:31 +0900)]
efl_selection: add type checking for fixing elm_cnp TC

Change-Id: I3590f792e0ca1d8d1b7c56159a08f2f14dbb61cd

6 years agoefl_ui_multibuttonentry: Fix wrong defined function type. 88/170788/3
Woochan Lee [Thu, 22 Feb 2018 06:23:02 +0000 (15:23 +0900)]
efl_ui_multibuttonentry: Fix wrong defined function type.

legacy should be maintain.
efl_ui_XXX using efl_format_cb_set().

Tizen only mark will be deleted after upstream work finished.

Change-Id: I414d64585a61ec9f66d7668a46bc3254fb2c7f3a

6 years agoefl_ui_multibuttonentry: Use elm_XXX function temporailiry. 03/170703/2
Woochan Lee [Wed, 21 Feb 2018 15:36:45 +0000 (00:36 +0900)]
efl_ui_multibuttonentry: Use elm_XXX function temporailiry.

efl_ui_text doesn't have theme yet.

Change-Id: I715bbc7b9c6940f4e2cab2b10400a966803715f6

6 years agoevas textblock: fix double free issue from user style push/pop and free
Youngbok Shin [Thu, 22 Feb 2018 05:47:22 +0000 (14:47 +0900)]
evas textblock: fix double free issue from user style push/pop and free

Summary:
The Textblock Style which is created for user style was managed application side.
It is created and free'd from application - outside of Evas Textblock.
Recently, evas_object_textblock_style_user_push/pop start to call efl_canvas_text_style_set()
instead of legacy code. The problem is efl_canvas_text_style_set() is always going to call free()
when a style is going to be deleted.
It makes conflicts(double free issue) with application which is used to call evas_textblock_style_free().
So, the issue will be fixed by this patch.

The patch also revise push/pop/peek code to make clean and avoid meaningless calculation/events.
@fix

Test Plan:
A test case is Included in this patch.
The test case try to trigger double free.

Reviewers: herdsman, raster, cedric

Subscribers: woohyun

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

6 years agoevas font: Don't pick a script font based on COMMON/UNKNOWN script text 63/170663/1
Youngbok Shin [Wed, 21 Feb 2018 05:18:23 +0000 (14:18 +0900)]
evas font: Don't pick a script font based on COMMON/UNKNOWN script text

When there was a COMMON/UNKNOWN script text, Evas picked a script font only for that text.
And when a explicit character was appened to the text, all previous text before new character
would loaded from new script font according to the new character.

Issue Example)
1. [EMOJI] + [SPACE]
   All script is COMMON/UNKNOWN. A script font is selected as "BreezeColorEmoji" font.
   All text will be loaded from "BreezeColorEmoji" font which does not have proper space character.
2. [EMOJI] + [SPACE] + [LATIN "A"]
   A script font is selected as "BreezeSans" font because of LATIN "A" character.
   The emoji characters will be loaded from "BreezeColorEmoji" font.
   But, the space character and LATIN "A" character will be loaded from "BreezeSans" font.

So, this patch fixes to pick a top font as its script font when the given script is not explicit script.

@tizen_fix

Change-Id: I31aeb80f8e8828bb8709d549b7178c83cfcbcd7c

6 years agoevas : Set to MODE_FULL when age is changed for partial rendering. 68/170568/2
Joogab Yun [Wed, 21 Feb 2018 00:39:38 +0000 (09:39 +0900)]
evas : Set to MODE_FULL when age is changed for partial rendering.

Change-Id: Iebe79311967fad5fbbc114a3d56acad9161a9ed3

6 years agoelm_datetime: This wrapper didn't consider wrong param case. 46/170546/3
Woochan Lee [Tue, 20 Feb 2018 12:20:16 +0000 (21:20 +0900)]
elm_datetime: This wrapper didn't consider wrong param case.

Tizen only marking would be deleted.

Change-Id: I6239821b772527c5a37ee0a47e846957b3624c6b

6 years agoeina_vector: hide APIs in doxygen since this API set is not included in the whitelist... 86/170586/1 accepted/tizen/unified/20180221.135646 submit/tizen/20180221.043745
Taehyub Kim [Wed, 25 Oct 2017 01:55:32 +0000 (10:55 +0900)]
eina_vector: hide APIs in doxygen since this API set is not included in the whitelist yet.

Change-Id: Ie1d3cf3c89ffc5601da60d4ae5da32bbf98acd0f

6 years agoEina: Move vector2 to eina_inline_vector.x 85/170585/1
Jean-Philippe Andre [Thu, 7 Jan 2016 09:58:54 +0000 (18:58 +0900)]
Eina: Move vector2 to eina_inline_vector.x

For consistency.

Also, include inside Eina.h
Thanks @vtorri for the remark.

Change-Id: Idbbab69198f2996868b7e1434956d0a99c723208

6 years agoEina Vector2: Move EAPI to static inline 84/170584/1
Jean-Philippe Andre [Thu, 7 Jan 2016 08:57:44 +0000 (17:57 +0900)]
Eina Vector2: Move EAPI to static inline

This removes lots of unnecessary symbols

Change-Id: I41f88adc4cac3313628833ab0f85a0e1a735807f

6 years agoevas: create Eina_Vector2 structure and add functions. 83/170583/1
se.osadchy [Mon, 4 Jan 2016 23:05:58 +0000 (15:05 -0800)]
evas: create Eina_Vector2 structure and add functions.

Summary: Only copy code from evas_3d_utils, rename evas to eina and add documentation.

Reviewers: Hermet, raster, jpeg, cedric

Reviewed By: jpeg, cedric

Subscribers: jpeg

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

Change-Id: I2c08d82231a9eeedc5662311db678cae57a5294a
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
6 years ago ecore_evas: set fullscreen value using the client set 76/170476/1
Jiyoun Park [Tue, 20 Feb 2018 06:59:34 +0000 (15:59 +0900)]
   ecore_evas: set fullscreen value using the client set

   tizen enligthenment didn't suppor fullscreen window type.
   so, client should not expect server send ZXDG_TOPLEVEL_V6_STATE_FULLSCREEN state in
   _zxdg_toplevel_cb_configure function.
   In tizen, we set ecore_evas's fullscreen value using the value set by client

Change-Id: I4b00a78cf3848a63435aae054923ef3c8c964b68

6 years agoUi layout: fix another text retrieval line of code 13/169813/2
Youngbok Shin [Fri, 9 Feb 2018 09:12:39 +0000 (18:12 +0900)]
Ui layout: fix another text retrieval line of code

This is a follow-up to a44ae48df811ff2bd085da86db1688c0f387efc4.Need to
undo the markup_get call, so that the correct code path
(_efl_ui_layout_text_set) is used. Legacy checks are in that code path.

ref T6642

Change-Id: I7f7eb07c9f94ab5ccc11673a2c46c1ecb0bbc696

6 years agoUi layout: fix latest attempt to fix markup retreival 12/169812/2
Youngbok Shin [Fri, 9 Feb 2018 09:11:15 +0000 (18:11 +0900)]
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

Change-Id: I65d0433a75ff9e4e11d45eb46b18163a13aa98bc

6 years agoecore_input: support PS4 joystick 2nd Generation 91/168491/2
sunghyun kim [Mon, 29 Jan 2018 05:19:54 +0000 (14:19 +0900)]
ecore_input: support PS4 joystick 2nd Generation

Change-Id: If93d684966b49a9f3b308acb63351419f6750717

6 years agoReplace ecore_wl_dpi_get with ecore_wl2_output_dpi_get 77/170177/6
Myoungwoon Roy, Kim [Wed, 14 Feb 2018 03:49:00 +0000 (12:49 +0900)]
Replace ecore_wl_dpi_get with ecore_wl2_output_dpi_get

This patch replaces ecore_wl_dpi_get with ecore_wl2_output_dpi_get using Ecore_Wl2_Output

Change-Id: I4e6f0395638274b2ed5565933092c6464025cc6e

6 years agoelementary: modify return value of scroller_movement_block_get
Wonki Kim [Wed, 14 Feb 2018 01:42:17 +0000 (10:42 +0900)]
elementary: modify return value of scroller_movement_block_get

Summary:
A return value of scroller_movement_block_get has been changed by applying the commit(ffa041fe)
The API returned a value which is being exclusively before, but now it returns a composition of states.

This patch modify the api to return "A state" of block mode.

Test Plan:
1. set movement block mode as ELM_SCROLLER_MOVEMENT_BLOCK_VERTICAL for a scroller
2. get movement block mode for the scroller
3. compare the value and ELM_SCROLLER_MOVEMENT_BLOCK_VERTICAL by using == operation, not & operation

Reviewers: jpeg, cedric, woohyun, raster

Subscribers: raster

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

6 years agoefl_ui_nstate: missed to add private.h 57/170157/1
WooHyun Jung [Tue, 13 Feb 2018 14:26:14 +0000 (23:26 +0900)]
efl_ui_nstate: missed to add private.h

Change-Id: I787cff6e54d60493f8e2512a2274b1904722c35b

6 years agoefl_ui_nstate: make "changed" callback is called properly 54/170154/3
WooHyun Jung [Tue, 13 Feb 2018 13:50:14 +0000 (22:50 +0900)]
efl_ui_nstate: make "changed" callback is called properly

- "changed" callback is not called when theme_apply is called
- elm_check_state_set does not call "changed" callback to keep
  backward compatibility

Change-Id: Ida427527146a433201d5408ac9838bdc50b6f2e1

6 years agothemes: remove fdo feature due to license 44/168744/2
Sungtaek Hong [Tue, 30 Jan 2018 11:27:39 +0000 (20:27 +0900)]
themes: remove fdo feature due to license

Change-Id: Ifbfcdb577de1fc2dc6ebe90414319eb62002adc4
Signed-off-by: Sungtaek Hong <sth253.hong@samsung.com>
6 years agoRevert "Efl.Ui.Check: Fix unexpected activation" 53/170153/1
WooHyun Jung [Wed, 14 Feb 2018 00:58:45 +0000 (09:58 +0900)]
Revert "Efl.Ui.Check: Fix unexpected activation"

This reverts commit b382785ce2f18521683eca738efc12e8188ec7e3.

Change-Id: Ia18e35daf3a5d3380866fbb7f0c5a927c00c435d

6 years agoRevert "efl_ui_win: fix a api break of elm_win_window_id_get against tizen branch"
Wonki Kim [Tue, 13 Feb 2018 07:22:29 +0000 (16:22 +0900)]
Revert "efl_ui_win: fix a api break of elm_win_window_id_get against tizen branch"

This reverts commit 0a10f1164927b67e8f1d2bb11fb8838727bd7d5c.

Change-Id: Ie503fbb0abedd0903aca2849cc8c822177fb7e9d
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
6 years agoefl_ui_multibuttonentry: Use elm_entry temporaliry. 09/169809/2
Woochan Lee [Fri, 9 Feb 2018 08:21:15 +0000 (17:21 +0900)]
efl_ui_multibuttonentry: Use elm_entry temporaliry.

Efl_Ui_Text doesn't have ready yet

Change-Id: Id390b3d1b39c984727012619a201f846c8abc79a

6 years agoefl_ui_clock: Fix wrong target to compare with. 91/169991/2
Woochan Lee [Mon, 12 Feb 2018 13:56:01 +0000 (22:56 +0900)]
efl_ui_clock: Fix wrong target to compare with.

Change-Id: Ie20122f3b688006a1f8d0925fc7ad71537998f03

6 years agoecore_wayland: using xdg-shell-unstable-v6 correctly 12/170012/2
Gwanglim Lee [Tue, 13 Feb 2018 00:39:42 +0000 (09:39 +0900)]
ecore_wayland: using xdg-shell-unstable-v6 correctly

Change-Id: Ia68e820be0592fd9ee80eae44c413ead87a5b111

6 years agoprogressbar: remove wrong unit format for Tizen UX. 72/169972/1
Bowon Ryu [Mon, 12 Feb 2018 11:07:12 +0000 (20:07 +0900)]
progressbar: remove wrong unit format for Tizen UX.

default of unit format is NULL in Tizen UX.

@tizen_fix

Change-Id: I63476c2d5272bcfb4881ac8b42b1514f35e13d1e
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
6 years agoprogressbar: apply tizen_vector for process style. 16/169516/4
Bowon Ryu [Wed, 24 Jan 2018 07:00:01 +0000 (16:00 +0900)]
progressbar: apply tizen_vector for process style.

Change-Id: I7bfcddd73ad6f72656bd3cca8234a924b1b08017
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
6 years agoslider: Modify to check null pointer argument. 13/169913/1
Bowon Ryu [Mon, 12 Feb 2018 05:44:06 +0000 (14:44 +0900)]
slider: Modify to check null pointer argument.

Change-Id: I229e0ef25ff6cf36ac6a1ebe125691d4ac86eca5
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
6 years agoprogressbar: Modify to check null pointer argument. 79/169879/1
Bowon Ryu [Fri, 9 Feb 2018 12:00:59 +0000 (21:00 +0900)]
progressbar: Modify to check null pointer argument.

Change-Id: I3b8210163e19b1d13fb07872d6d3d5fbf5bacae9
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
6 years agoEfl.Ui.Check: Fix unexpected activation 48/169548/3
Shinwoo Kim [Wed, 7 Feb 2018 09:13:31 +0000 (18:13 +0900)]
Efl.Ui.Check: Fix unexpected activation

This patch set has following upstream changes

(1) fd8e9f9 Efl.Ui.Nstate: do not call "changed" callback
    Before solving following problem in Efl.Ui.Check

    https://phab.enlightenment.org/T6673

    The changed callback is called with opposite value,
    if application is using Efl.Ui.Check with state pointer.

    The reason is that the changed callback is called in
    efl_ui_nstate_activate, and the value refered by state pointer
    is changed only after the efl_ui_nstate_activate is called.

    static void
    _activate(Evas_Object *obj)
    {
       EFL_UI_CHECK_DATA_GET(obj, sd);

       efl_ui_nstate_activate(obj);

(2) b1ee35e elm: do not call "changed" callback when setting style

Change-Id: I60b4ce5b03cc2e57dcc8120b9aa9ad4dc2fb7bf0

6 years agoevas_polygon: Modify to check null pointer argument
Wonki Kim [Fri, 9 Feb 2018 12:43:48 +0000 (21:43 +0900)]
evas_polygon: Modify to check null pointer argument

Change-Id: I3e8f4e60bee03e4b3c580d4196b83c0ed2fece84
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
6 years agoector: Updated the ector_buffer_pixels_set() api with stride info 36/169536/2
subhransu mohanty [Wed, 7 Feb 2018 08:02:21 +0000 (17:02 +0900)]
ector: Updated the ector_buffer_pixels_set() api with stride info

Subscribers: cedric

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

Change-Id: Ia574f64dd195e6b1d4a4430dc1ee5b12fc5e7815

6 years agoedje: don't calculate textblock twice
Youngbok Shin [Fri, 9 Feb 2018 03:41:04 +0000 (12:41 +0900)]
edje: don't calculate textblock twice

It will trigger additional size calculation only for fit option.
The fit option can be calculated at once. It is a hack.

@tizen_fix

Change-Id: I9b115ebd71bc5cb0f4ebebe96f061052fb2d8293

6 years agoedje: do fit calculation even if given size is 0
Youngbok Shin [Fri, 9 Feb 2018 02:15:05 +0000 (11:15 +0900)]
edje: do fit calculation even if given size is 0

Do calculation based on min size. It will show the fit result
even if given relative area's size is zero.

@tizen_fix

Change-Id: If8196e9f823eb87168b72d7a06ca3903f423f5cb

6 years agoevas_tbmbuf: check that tbm_surface is already released 37/169537/2
Changyeon Lee [Wed, 7 Feb 2018 05:40:26 +0000 (14:40 +0900)]
evas_tbmbuf: check that tbm_surface is already released

Change-Id: I45cb57deb5f5d3de2d9eab73d0b7c10b3b311217

6 years agoecore_event: Fix a break of consistency of return data 21/169521/1
Myoungwoon Roy, Kim [Wed, 7 Feb 2018 04:50:24 +0000 (13:50 +0900)]
ecore_event: Fix a break of consistency of return data

Summary:
This patch fixes a break of consistency of return data from ecore_event_del.
Before EFL 1.20, when calling ecore_event_add(ECORE_EVENT_SIGNAL_USER, event_data, NULL, &data);
The user data(data) is saved at event->data. and when user calls ecore_event_del(event_handler),
ecore_event_del returns event->data. However, current ecore_event_del returns pd->ev.
I think it is ABI break.

Test Plan: Execute test suite

Reviewers: cedric, raster, stefan_schmidt, Jaehyun_Cho

Reviewed By: Jaehyun_Cho

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

Change-Id: Id0ff5dc61cbb18b0ffae378dd7490d4b75e0ed9f

6 years agoecore/evas: add NULL checks to handle argument is NULL. 10/169510/1
Hosang Kim [Tue, 6 Feb 2018 08:58:44 +0000 (17:58 +0900)]
ecore/evas: add NULL checks to handle argument is NULL.

Summary:
ecore_pipe_read_fd/ecore_pipe_write_fd
evas_engine_info_set/get

Reviewers: woohyun, Jaehyun, Jaehyun_Cho, jpeg

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D5790
Change-Id: I14b035f0e1f54f12cbf73a7d67005594a69a8bd8

6 years agoevas : noti callback 03/169503/3
Joogab Yun [Wed, 7 Feb 2018 06:29:57 +0000 (15:29 +0900)]
evas : noti callback

    E20 need to a noti callback for this object.
    so we register the callback temporarily

    This patch can be removed or modified later.

tizen_only

Change-Id: I77ea1270b12ec318956fc5e7cc2ee3eb32fdf029

6 years agoecore_wl2_input: change version of tizen_input_device_manager from 1 to 2. 05/169505/3
JunSeok, Kim [Wed, 7 Feb 2018 06:42:24 +0000 (15:42 +0900)]
ecore_wl2_input: change version of tizen_input_device_manager from 1 to 2.

Change-Id: Ie2835790f9a861e11f3be1cd1248bfbda4f7873d

6 years agoevas/gl_x11: fix compile error 99/169499/2
Daekwang Ryu [Wed, 6 Sep 2017 06:57:27 +0000 (15:57 +0900)]
evas/gl_x11: fix compile error

fix gl_x11 engine for emulator.
caps variable is for FBO. So removed.

Change-Id: I99eea896dea3b381c8f3d347b0af0bbfc073f467

6 years agoedje: Calculate text.fit for multiline Textblock properly 46/168946/2
Youngbok Shin [Thu, 1 Feb 2018 09:43:38 +0000 (18:43 +0900)]
edje: Calculate text.fit for multiline Textblock properly

@tizen_fix

Change-Id: Ic86448da2e5ddf3e2a11030c9cd74ed677474737

6 years agoevas_object_textblock: add null checks for EAPIs 68/169468/2
WooHyun Jung [Wed, 7 Feb 2018 05:19:46 +0000 (14:19 +0900)]
evas_object_textblock: add null checks for EAPIs

Change-Id: I7381778078b7f73f5ed68361e82f123164f73a34

6 years agoecore_evas_wl: add damage only when rendering
Boram Park [Fri, 8 Dec 2017 08:23:16 +0000 (17:23 +0900)]
ecore_evas_wl: add damage only when rendering

Change-Id: I464887cc43a0053b1d3c89f4a0fd6224cd517c35

6 years agoevas textblock: Add missing initialization code for ellipsis
Youngbok Shin [Tue, 6 Feb 2018 10:42:33 +0000 (19:42 +0900)]
evas textblock: Add missing initialization code for ellipsis

The ellipsis variable in main structure was added for internal API.
- evas_object_textblock_ellipsis_set()

@tizen_fix

Change-Id: I3a43280fbc970db52c5802ee705fa662abe667dc

6 years agoecore_wl_input: fix memory leaks 16/169316/1
JengHyun Kang [Tue, 6 Feb 2018 02:48:50 +0000 (11:48 +0900)]
ecore_wl_input: fix memory leaks

Change-Id: Iecac627edf2ccc095e1eea6902c14e71ba513fa1

6 years agoevas: add null checks to handle when e->engine.func is not set yet 93/169293/1
WooHyun Jung [Mon, 5 Feb 2018 13:19:44 +0000 (22:19 +0900)]
evas: add null checks to handle when e->engine.func is not set yet

Change-Id: I7de1c0767079722629dedd4f7476cec60f8ebf0b

6 years agoefl_ui_clock: Disabled ticker feature. 49/169249/2
Woochan Lee [Mon, 5 Feb 2018 07:12:17 +0000 (16:12 +0900)]
efl_ui_clock: Disabled ticker feature.

This is not Tizen datetime feature.

Change-Id: Ib5960b4e8f73a76711c97c3bb9107e922d62672a

6 years agoedje: do fit calculation even if given size is 0 71/169271/2
Youngbok Shin [Mon, 5 Feb 2018 08:07:04 +0000 (17:07 +0900)]
edje: do fit calculation even if given size is 0

Do calculation based on min size. It will show the fit result
even if given relative area's size is zero.

@tizen_fix

Change-Id: I2c1c6a8dc8a2c828954c078453d6f6deb1623c77
(cherry picked from commit ec253335debf9591205e8f4b7de1569eb5d16036)

6 years agoedje: don't calculate textblock twice 72/169272/2
Youngbok Shin [Mon, 5 Feb 2018 08:08:53 +0000 (17:08 +0900)]
edje: don't calculate textblock twice

It will trigger additional size calculation only for fit option.
The fit option can be calculated at once. It is a hack.

@tizen_fix

Change-Id: I1c4ee71766e64c83bd262f207e4671e4846ca4d8
(cherry picked from commit a18ffc18aba1c8998af4e27693e192e5f760b895)

6 years agoedje: remove a warning message from an unused variable 73/169273/1
Youngbok Shin [Mon, 5 Feb 2018 08:16:15 +0000 (17:16 +0900)]
edje: remove a warning message from an unused variable

@tizen_fix

Change-Id: Ib495123b571d431b7b81a0349a2dc9e0b7318d89
(cherry picked from commit 483d7b91b3dda8f5a5d610bc951bf12173c0990b)

6 years ago ecore_evas: disable ecore_evas_render_sync feature until stable state 60/169260/3
Jiyoun Park [Mon, 5 Feb 2018 08:09:29 +0000 (17:09 +0900)]
   ecore_evas: disable ecore_evas_render_sync feature until stable state

   upstream's default value of ecore_evas_render_sync is 1.
   so render sync featur turned on automatically.
   until we reach the stable state, turn off this feature like Tizen 4.0.
   we will trun on this feature after enought test.

Change-Id: Ie10f0c5396cc695a41dc75f18ee16467fe159efc

6 years agoefl_ui_win: added code to set the window title while using precreated_win_obj in... 20/168820/3
jiin.moon [Wed, 31 Jan 2018 07:27:47 +0000 (16:27 +0900)]
efl_ui_win: added code to set the window title while using precreated_win_obj in elm_win_add

original commit : 029c879ec13ec19266e0c0862476ae16931f8820

Change-Id: I1e2cd0f46ce4da3d0acb8060c505fb3f289565a2

6 years ago efl_ui_win: added resize,end signal for mouse up 24/168824/2
jiin.moon [Wed, 31 Jan 2018 07:59:02 +0000 (16:59 +0900)]
 efl_ui_win: added resize,end signal for mouse up

 To notify of end of resize without mouse in/out event, added
 elm,action,resize,end signal handler/emitter

 original commit : 18a31c9fbdff6140aa89b0604bca3c2fe771f793

Change-Id: I3249bac260fef0b9d28131314daa1194d5db89a4

6 years ago evas render: Gurantee the cache validation of source objects. 19/167019/2
jiin.moon [Mon, 15 Jan 2018 05:19:21 +0000 (14:19 +0900)]
 evas render: Gurantee the cache validation of source objects.

  This workaround code forcely make few object's state is up to date.
  In a rare case, some source objects won't be updated properly.
  It seems a rendering context bug or a side effect by a potential context corruption of the smart ob~

  commit from e640383904295e6a1665d7c1ef8a44d2c7a1b223

Change-Id: I0a82a41d1331c98491fb35e9ceb3239bf39f546d

6 years agoecore_file_monitor: replace EINA_LIST_FOREACH to EINA_LIST_FOREACH_SAFE 90/167790/2
WooHyun Jung [Mon, 15 Jan 2018 04:54:01 +0000 (13:54 +0900)]
ecore_file_monitor: replace EINA_LIST_FOREACH to EINA_LIST_FOREACH_SAFE

If ecore_file_monitor_del is called inside the file monitor callback function,
eina_list found from monitor_hash would be freed. (You can check this inside
eina_hash_list_remove.)
Then, EINA_LIST_FOREACH makes one more for loop with invalid eina_list pointer.

EINA_LIST_FOREACH_SAFE can prevent from this problem.

Change-Id: I3562cc310632a24ba9435b6e36f5a5ba8bf2d429

6 years agoelementary: Fix to send a proper window type value to the server 30/168830/3
Wonki Kim [Wed, 31 Jan 2018 07:52:33 +0000 (16:52 +0900)]
elementary: Fix to send a proper window type value to the server

Change-Id: I563b662abd51e76e8887134ccfb7edd36c10b0e9
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
6 years agoecore_wl2: Set default type to keep backward compat
Wonki Kim [Fri, 2 Feb 2018 07:56:29 +0000 (16:56 +0900)]
ecore_wl2: Set default type to keep backward compat

Change-Id: I236067864e6d15184fe69454cc672f5ff3200f8d
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
6 years agoelm: use Dbus securely
Shinwoo Kim [Fri, 2 Feb 2018 10:11:18 +0000 (19:11 +0900)]
elm: use Dbus securely

The Efl.Access.Attribute is using key and value.
The value could be NULL. If the value is NULL, then following error occurs.

*error:
arguments to dbus_message_iter_append_basic() were incorrect,
assertion "_dbus_check_is_valid_utf8 (*string_p)" failed
in file ../../dbus/dbus-message.c line 2712.
This is normally a bug in some application using the D-Bus library.
Array or variant type requires that type string be written, but end_dict_entry
was written.
The overall signature expected here was 'a{ss}' and we are on byte 3 of that
signature.

Change-Id: I474362b3c364e7f97a88515c0c20d35c796c4c50

6 years agoelm: fix typo - do not send role changed signal 47/169047/1
Shinwoo Kim [Fri, 2 Feb 2018 05:03:15 +0000 (14:03 +0900)]
elm: fix typo - do not send role changed signal

Change-Id: Iab7a14a0bebd67d9de48205fe5f7d481a71bf785

6 years ago[Accessibility][elm_toolbar]: In navigation style, selected item not read as selected... 35/169035/3
Shilpa Singh [Fri, 2 Feb 2018 03:15:38 +0000 (12:15 +0900)]
[Accessibility][elm_toolbar]: In navigation style, selected item not read as selected issue fix.

Change-Id: I4112c8ce5433f77d0a840f008a2dd3202e1e47bb

6 years agoFixes endless recursion in accessible attribute api 25/168925/3
Lukasz Wlazly [Thu, 1 Feb 2018 06:54:39 +0000 (15:54 +0900)]
Fixes endless recursion in accessible attribute api

Change-Id: I66c88168c6712b86c65a88fe5d551eccb098e768

6 years agoelm: fix infinite call of description_get 39/169039/2
Shinwoo Kim [Fri, 2 Feb 2018 04:22:51 +0000 (13:22 +0900)]
elm: fix infinite call of description_get

Change-Id: I85c3ae99cc07d800c2e20da0350e0f9a167c2924

6 years agoecore_wl2: add function to set window size by client. 34/168934/3
Hosang Kim [Thu, 1 Feb 2018 08:00:05 +0000 (17:00 +0900)]
ecore_wl2: add function to set window size by client.

Change-Id: I5b69389b97c84d9592f6c64fa799035c923e714f

6 years agoecore_wl2: add a touch device for a touch cancel event 57/168957/4
JengHyun Kang [Thu, 1 Feb 2018 10:57:29 +0000 (19:57 +0900)]
ecore_wl2: add a touch device for a touch cancel event

Change-Id: I87fdaafe4b8c98c36145562cad0d605345fe6c21

6 years agoefl_ui_image_zoomable: add null checking 22/168922/2
Taehyub Kim [Thu, 1 Feb 2018 06:02:43 +0000 (15:02 +0900)]
efl_ui_image_zoomable: add null checking

Change-Id: Iadc973cff684b54dbfff37041fd3600a13aed937

6 years agoecore_event: Check for the valid type 74/168874/3
Myoungwoon Roy, Kim [Wed, 31 Jan 2018 09:53:09 +0000 (18:53 +0900)]
ecore_event: Check for the valid type

Summary:
This patch checks for the valid types.
As mentioned API reference documentation, user must know its type before hand.
The type should be chedked like previous efl version and ecore_event_type_flush_internal()

Test Plan: Execute a ecore test suite.

Reviewers: cedric, raster, jpeg, stefan_schmidt, Jaehyun_Cho

Subscribers: cedric

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

Change-Id: I43ea4c10ad7b332b6a5b959cbb7afe5fa7c3b6fc

6 years agoFix: Remove spaces. 24/168924/1
Myoungwoon Roy, Kim [Thu, 1 Feb 2018 06:32:30 +0000 (15:32 +0900)]
Fix: Remove spaces.

Change-Id: Id7746f252076cf8e97703ff34634b6f4532a8467

6 years agoecore_main: Check for the valid flag 73/168873/2
Myoungwoon Roy, Kim [Wed, 31 Jan 2018 09:04:09 +0000 (18:04 +0900)]
ecore_main: Check for the valid flag

Summary:
This patch checks for the valid Ecore_Fd_Handler_Flags.
The flags should be checked like previous verion because
There are no default handlings in case of out of Ecore_Fd_Handler enum values in other funcs.

Test Plan: Execute a test case

Reviewers: cedric, raster, jpeg, stefan, Jaehyun_Cho

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

Change-Id: I11476f4d6c445fb071de0017fa6f2f9f63acce31

6 years agoUse ERR instead of CRI if *DATA_GET* returns NULL 21/168921/2
Shinwoo Kim [Thu, 1 Feb 2018 05:37:12 +0000 (14:37 +0900)]
Use ERR instead of CRI if *DATA_GET* returns NULL

Change-Id: Ie16a5416e05fbc8a81a0f626c7efb8bb8ec1d650

6 years agoevas_gl : bugfixed - it could not get the symbol. 03/168903/2
Joogab Yun [Thu, 1 Feb 2018 02:27:57 +0000 (11:27 +0900)]
evas_gl : bugfixed - it could not get the symbol.

Change-Id: I43cafc15b71e2a3b2814abd129ea57bee4a07226

6 years ago[atspi][elm_widget] add checking atspi mode in highlight grab/clear function. 33/168833/2
JunsuChoi [Wed, 31 Jan 2018 08:38:28 +0000 (17:38 +0900)]
[atspi][elm_widget] add checking atspi mode in highlight grab/clear function.

   highlight grab/clear use only be available in atspi mode.

Change-Id: Ie8dfedf536f9bb2043bd209b2c6d6e3fc0195a45

6 years agoFix embedding after stoping and restarting at-spi 29/168829/2
Radoslaw Cybulski [Wed, 31 Jan 2018 08:14:08 +0000 (17:14 +0900)]
Fix embedding after stoping and restarting at-spi

   Restarting at-spi doesnt remove __widget_proxy property from
   smart object. As a result, when proxy is queried for children,
   it will return previous at-spi object, which is already
   defuncted. This patch adds checking for defunct flag on object
   and reinitialization, if such object is found in __widget_proxy.

Change-Id: I38babc6ade2c7cfcd35d816bf7589cdf4940732a

6 years agoatspi: Use bottom up approach for PAGE_TAB 06/168806/2
Shinwoo Kim [Wed, 31 Jan 2018 05:46:07 +0000 (14:46 +0900)]
atspi: Use bottom up approach for PAGE_TAB

   The naviframe item is elm_layout, and its atspi role is ELM_ATSPI_ROLE_PAGE_TAB.
   The screen-reader could ask an object at point by using the naviframe item as a
   root object. In this case, elementary did not us bottom up approach.
   For the consistency, and to make it work better, This patch set is using the
   bottom up approach for the naviframe item.

Change-Id: Ic90e60f68af37ff32a455da7616a7c29a4de6b61

6 years agoefl_ui_image: add missing null check 58/168758/2
Jaeun Choi [Tue, 30 Jan 2018 11:07:24 +0000 (20:07 +0900)]
efl_ui_image: add missing null check

Change-Id: I6eccbf26e7008c6fc9c5d7fdb9941b4949b39586

6 years agoefl_ui_panes: Handle NULL object case 57/168757/3
Jaehyun Cho [Tue, 30 Jan 2018 10:28:19 +0000 (19:28 +0900)]
efl_ui_panes: Handle NULL object case

Change-Id: Ib64e194acd6f360d652c334bb99ab55060863c40

6 years agoelm_panes_legacy: Fix description of functions 56/168756/2
Jaehyun Cho [Tue, 30 Jan 2018 09:53:33 +0000 (18:53 +0900)]
elm_panes_legacy: Fix description of functions

Change-Id: I50ee33a95750302e7848860ee1bc5937d693de50

6 years agoecore_timer: Check for the valid callback func 71/168771/1
Myoungwoon Roy, Kim [Tue, 30 Jan 2018 05:43:11 +0000 (14:43 +0900)]
ecore_timer: Check for the valid callback func

Summary:
This patch checks whether the callback function is valid or not.
Callback function must be set up for the class.

Test Plan: Execute test suite

Reviewers: cedric, raster, stefan, Jaehyun_Cho

Subscribers: jpeg

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

Change-Id: I5ee3991cc01b696a47c52ee4ea6ccf22556350c4

6 years agoedje: Calculate text.fit for multiline Textblock properly 15/151215/2 accepted/tizen/unified/20180202.115329 submit/tizen/20180201.104642
Youngbok Shin [Wed, 20 Sep 2017 07:58:22 +0000 (16:58 +0900)]
edje: Calculate text.fit for multiline Textblock properly

This is a temporary patch for fixing abnormal calculation result of the "fit".
It should be revised on upstream with new concept.

@tizen_fix

Change-Id: I11a5cacf4ac0f6cec5a79365b67359b20f0ddbe1

6 years agogenlist : apply focus bg hide when list is scrolled 99/168699/1
SangHyeon Lee [Tue, 30 Jan 2018 07:26:21 +0000 (16:26 +0900)]
genlist : apply focus bg hide when list is scrolled

Change-Id: I88fe404c4de789b50c4ca355674314560996af1f
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
6 years agogenlist: update focus_bg when min size is recalced 95/168695/1
SangHyeon Lee [Tue, 30 Jan 2018 07:17:34 +0000 (16:17 +0900)]
genlist: update focus_bg when min size is recalced

Change-Id: I603d6c7ef8eaa63d85806e410c4a02f8d475f739
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
6 years agoecore: add a ref/unref APIs for ecore_device 87/168587/3
JengHyun Kang [Mon, 29 Jan 2018 10:59:25 +0000 (19:59 +0900)]
ecore: add a ref/unref APIs for ecore_device

Change-Id: Ia1bb16123b8e6afffca6a82fd5eabeadcdfdae5f

6 years agoecore_wl2: generate Ecore_Device_Add/Del events 39/168239/7
JengHyun Kang [Thu, 25 Jan 2018 06:41:31 +0000 (15:41 +0900)]
ecore_wl2: generate Ecore_Device_Add/Del events

Change-Id: I2cd40d865276e8a12891a5419211c7fdc965e952

6 years agoefl_ui_clock: To support clock module. 37/168637/3
Woochan Lee [Tue, 30 Jan 2018 04:19:52 +0000 (13:19 +0900)]
efl_ui_clock: To support clock module.

efl_ui_clock_private.h, elm_datetime.h needs in module.
Disable Upstream only codes.

Change-Id: I93327a2ce09ec0fee7a18bd210d901c1d4106c58

6 years agoecore_wl2_window: zxdg_surface's parent should have zxdg_surface 96/168596/2
Juyeon Lee [Mon, 29 Jan 2018 11:52:11 +0000 (20:52 +0900)]
ecore_wl2_window: zxdg_surface's parent should have zxdg_surface

even child is normal window, it could have parent without zxdg_surface
   (such as ECORE_WL2_WINDOW_TYPE_NONE, ECORE_WL2_WINDOW_TYPE_DND window)

Change-Id: I305405f57fca89d46e14466bb58f2627bddf7a18