platform/upstream/efl.git
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 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 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 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 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 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 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

6 years agoelm: quick fix to solve build break 99/168599/2
Shinwoo Kim [Mon, 29 Jan 2018 13:08:40 +0000 (22:08 +0900)]
elm: quick fix to solve build break

There is a build break on application side if the application does not define
EFL_EO_API_SUPPORT.

Change-Id: If39a0ea152c922362cc8c766889dbc2748a15af5

6 years agoUse efl_text_markup_set/get for elm_layout_text_set/get 99/168499/2
Shinwoo Kim [Mon, 29 Jan 2018 05:56:02 +0000 (14:56 +0900)]
Use efl_text_markup_set/get for elm_layout_text_set/get

This patch set has following upstream commit.

(1) commit 429e19563d15a02d3417ff8fffca994ce6685249

    elm: make elm_layout_text_set use efl_text_markup_set

    The elm_layout_text_get is using efl_text_markup_get by following commit.

        commit c07a40c745c5df1b1f6f0bbf666b233d8d072ca7
        elm: make elm_object_text_get return markup info as well.

        This commit solves following issue

        https://phab.enlightenment.org/T6642

        If I set object text as below
        elm_object_text_set(btn, "Some<br>text");
        then elm_object_text_get(btn) returns "Some text" not "Some<br>text".

    So using efl_text_markup_set makes sense.

(2) commit c07a40c745c5df1b1f6f0bbf666b233d8d072ca7

    elm: make elm_object_text_get return markup info as well.

    This commit solves following issue

    https://phab.enlightenment.org/T6642

    If I set object text as below
    elm_object_text_set(btn, "Some<br>text");
    then elm_object_text_get(btn) returns "Some text" not "Some<br>text".

Change-Id: I84ee20c6e30a201c0fbf22d7779ffb9187d1d07e

6 years agoelm: remove incorrect information from doc 98/168498/2
Shinwoo Kim [Mon, 29 Jan 2018 05:53:12 +0000 (14:53 +0900)]
elm: remove incorrect information from doc

Some public APIs have '@internal' keyword.

Change-Id: Id823bcbbbbf0bfbb5c3953e07a154103efdf4bc2

6 years agopopup: disable line wrap set to elm_label 76/168576/1
JinYong Park [Mon, 29 Jan 2018 09:54:31 +0000 (18:54 +0900)]
popup: disable line wrap set to elm_label

line wrap of label in popup is controlled by edc.
So it is not useful, but it cause size calc problem

@tizen_fix

Change-Id: I1e4f0d1af4c268ff77ceedd881fd436a36a3e67b
Signed-off-by: JinYong Park <j4939.park@samsung.com>
6 years agoatspi : Remove focus_region_show in access_highlight_grab 42/168542/2
JunsuChoi [Mon, 29 Jan 2018 07:40:00 +0000 (16:40 +0900)]
atspi : Remove focus_region_show in access_highlight_grab

   dont need focus_region_show when object is highlighted by highlight_grab
   region_show function is replaced by _accessible_highlight_region_show()

Change-Id: I6a0fee6a182ddf7db9eafb9d07ae30ac9a022ef0

6 years agoatspi : Do not send signal, if current object and highlight object are same 29/168529/2
JunsuChoi [Mon, 29 Jan 2018 07:26:16 +0000 (16:26 +0900)]
atspi : Do not send signal, if current object and highlight object are same

Change-Id: I227549edca84400faa5ec23c71886625643635f9

6 years agoedje/elementary: add missing APIs for color_class
Youngbok Shin [Mon, 29 Jan 2018 08:36:21 +0000 (17:36 +0900)]
edje/elementary: add missing APIs for color_class

@tizen_fix

Change-Id: I683e253d8710e8f98188cf213f0ba4585b2478b4

6 years agoelm: add undefined internal symbol 29/168429/3
Shinwoo Kim [Fri, 26 Jan 2018 12:15:09 +0000 (21:15 +0900)]
elm: add undefined internal symbol

And fix typo in efl_access_relation_set_relation_append

Change-Id: Ia4b7385a6d628e778fea28acf37df655577501c9

6 years ago[atspi] change accessible name to const char* - it is same with accessible description 25/168425/1
JunsuChoi [Fri, 26 Jan 2018 11:05:54 +0000 (20:05 +0900)]
[atspi] change accessible name to const char* - it is same with accessible description

   Please refer to following review

   https://phab.enlightenment.org/D4378

Change-Id: I1509fa566358688b668b246b9fd3f0046864db53

6 years agoelm: fix improper atspi_relationship related usage 34/168234/3
Shinwoo Kim [Thu, 25 Jan 2018 06:16:12 +0000 (15:16 +0900)]
elm: fix improper atspi_relationship related usage

This is a migration issue.

Change-Id: Id5e36b65d71e4e6d09c6c404d64015bd0db650cd

6 years agoelementary layout: add missing legacy internal APIs for handling valign
Youngbok Shin [Fri, 26 Jan 2018 04:21:55 +0000 (13:21 +0900)]
elementary layout: add missing legacy internal APIs for handling valign

It was made for C#.

@tizen_fix

Change-Id: Ic43165513cbba71fb02fb68cb72d8ccab993be92

6 years agoecore_con: Check for the valid port number 92/168192/4
Myoungwoon Roy, Kim [Thu, 25 Jan 2018 02:04:25 +0000 (11:04 +0900)]
ecore_con: Check for the valid port number

This patch checks whether the port number is valid or not.
The valid port number is an unsigned 16-bit integer, so 1-65535.
0 is reserved already.

  https://phab.enlightenment.org/D5761

Change-Id: I84c4a6786a45d04f479aa94bc5b3ce0d3162fd2d

6 years agoedje: apply proper textblock style which is created for "per object" color_class...
Youngbok Shin [Thu, 25 Jan 2018 11:30:57 +0000 (20:30 +0900)]
edje: apply proper textblock style which is created for "per object" color_class feature.

@tizen_fix

Change-Id: I9aad6e52d4a4bfabeae585d5420cbca4c25f6e7c

6 years agoeolian_gen: remove reference to elm_entry because it is not installed 07/168207/3
Sungtaek Hong [Wed, 24 Jan 2018 09:51:25 +0000 (18:51 +0900)]
eolian_gen: remove reference to elm_entry because it is not installed

Summary:
elm_entry.eo is not installed to system directory like
         "/usr/local/share/eolian/include/elementary-1", and
         eolian_gen tries to refer elm_entry.eo which results in failure.

Test Plan:
Create any eo class file which inherits Efl.Ui.Layout.
           eolian_gen eo_file.eo
           observe eolian_gen finishes

Reviewers: jpeg, herdsman, woohyun, Jaehyun_Cho, cedric

Subscribers: conr2d, id213sin, JongminLee

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

Change-Id: I00e2e6b082f97e30a3063beba67dc7357a1b1ce4

6 years agoelemenatry: fix crash issue when it failed to parse klass name for color_class
Youngbok Shin [Thu, 25 Jan 2018 11:26:13 +0000 (20:26 +0900)]
elemenatry: fix crash issue when it failed to parse klass name for color_class

It changed to parse new klass names and legacy klass names properly.
For example, Efl.Ui.Button and Elm_Button will be button as its klass prefix for color_class.

@tizen_fix

Change-Id: I92833e2e616900bcc02b4c499ba8e59651292d0d

6 years agoefl_ui_win: Fix to notify wayland once indicator mode changed
Wonki Kim [Thu, 25 Jan 2018 11:20:25 +0000 (20:20 +0900)]
efl_ui_win: Fix to notify wayland once indicator mode changed

this code block has not been merged from tizen branch.

Change-Id: I12eeafd09ce0d4a4a90e03cb0f5eec31a82bcdc9
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
6 years agoecore-buffer: Add ecore_buffer tbm module and merge with the latest ecore-buffer... 40/168240/2
Gwanglim Lee [Thu, 25 Jan 2018 06:42:50 +0000 (15:42 +0900)]
ecore-buffer: Add ecore_buffer tbm module and merge with the latest ecore-buffer codes on the tizen 5.0

Change-Id: I5f068af45867f56ddb4e842d9b1cc3e94b5b21a8

6 years agoecore_con + extn: request E compositor to create socket 36/168236/1
Thiep Ha [Thu, 25 Jan 2018 06:27:44 +0000 (15:27 +0900)]
ecore_con + extn: request E compositor to create socket

In Tizen, the security does not allow 1 application to create
socket and other applications to connect to that socket.
All sockets should be created by system daemon or service.
Therefore, we request the E compositor to create sockets for us.
Besides, this patches also change the location of sockets to
avoid smack errors.

ref 4d81d8f1ef043853f05494005ab4c46ffe2a4599 and
    c173e3d4e4dcea93f7589b9360ea99d448e08301
@tizen_feature

Change-Id: I584c51632053e8e9f576ec69b8c4026f930c2be6

6 years agoelm: fix reculsive infinite call problem 97/168197/3
Shinwoo Kim [Thu, 25 Jan 2018 02:50:41 +0000 (11:50 +0900)]
elm: fix reculsive infinite call problem

Change-Id: I2f028e2787529a6056d099c77e63b3edf2075ff4

6 years agoefl_ui_win: fix a api break of elm_win_window_id_get against tizen branch 99/168199/2
Wonki Kim [Thu, 25 Jan 2018 02:52:37 +0000 (11:52 +0900)]
efl_ui_win: fix a api break of elm_win_window_id_get against tizen branch

elm_win_window_id_get returns a result of ecore_wl_window_surface_id_get in tizen branch
however, the api returns a result of ecore_wl2_window_id_get in upstream code.

the window manager team has been working on fixing related packages
to match up with new api, so that this patch will be revert soon.

Change-Id: Ibf25f7fb9670be84a5058a1747a0fbe1da010013
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
6 years agoelm_genlist: add updating content logic when language is changed. 11/167711/3
SangHyeon Lee [Fri, 19 Jan 2018 08:34:21 +0000 (17:34 +0900)]
elm_genlist: add updating content logic when language is changed.

when language is changed, genlist content's text is not translated.
So I added elm_genlist_item_fields_update with
ELM_GENLIST_ITEM_FIELD_CONTENT.

@tizen_fix

Change-Id: Ie68de2a242e7b02eb4a877b19804846df9b345da
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
6 years agogenlist: fix unlimited circular function calls on content viewport geometry get and... 77/168077/2
SangHyeon Lee [Wed, 24 Jan 2018 05:05:42 +0000 (14:05 +0900)]
genlist: fix unlimited circular function calls on content viewport geometry get and group calc

Change-Id: Ie60d83b2920e97aefe7395a5a7ec7913ea6a77fe
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
6 years agoelm_priv: change wearable profile variable type char to int 76/168076/2
SangHyeon Lee [Wed, 24 Jan 2018 05:00:14 +0000 (14:00 +0900)]
elm_priv: change wearable profile variable type char to int

To identify unsigned value of wearable profile,
change variable type to int.

Change-Id: I00806d1dbe70c2bb8bd5b0e435dd816cad0bf80f
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
6 years agoelm: remove duplicated smart callback description 07/168107/2
Shinwoo Kim [Wed, 24 Jan 2018 07:04:57 +0000 (16:04 +0900)]
elm: remove duplicated smart callback description

Change-Id: I74d61d35d20d2a0e08026db4cd31c4645a9c2a4d

6 years agoecore_wl2: fix build warnings 20/167920/3
JengHyun Kang [Tue, 23 Jan 2018 04:36:26 +0000 (13:36 +0900)]
ecore_wl2: fix build warnings

Change-Id: I9930a3b53e8b028e68846ccc072e6d3e03e8392d

6 years agoRevert "elementary: remove elementary-theme package" 63/168063/1
Wonki Kim [Wed, 24 Jan 2018 03:59:06 +0000 (12:59 +0900)]
Revert "elementary: remove elementary-theme package"

this package has been excluded from a binary image.

This reverts commit 699e11e600953585d6f2798449cd6c75b159ce89.

Change-Id: Icdad5652d31a9b49185f0085a5088564b33338df

6 years agoelm_widget_item: add at-spi name setter 33/167733/14
JunsuChoi [Fri, 19 Jan 2018 10:43:07 +0000 (19:43 +0900)]
elm_widget_item: add at-spi name setter

   @tizen_feature
   +
   -------------------------------------------
   atspi: add i18n support for name and description

      Add new API to set atspi translation domain for name and description properties.
      If translation domain is not set name and a description strings
      will be used in its literal form.

      @tizen_feature
   -------------------------------------------

Change-Id: Ib668a8236cd49c2e4c354bfd535222ab9f64a99d

6 years agoecore-wl2: add wl_compositor_get from Ecore_Wl2_Display 36/168036/2
Wonsik, Jung [Tue, 23 Jan 2018 15:26:14 +0000 (00:26 +0900)]
ecore-wl2: add wl_compositor_get from Ecore_Wl2_Display

Add wl_compositor_get from Ecore_Wl2_Display to create wl_compositor_surface.
It is used for external cursor.

Change-Id: I2262f21d687283471e5cd715f6bcc9a35681d1d7