platform/upstream/elementary.git
7 years agoconfig: update config data for processes which are launched before lazy mounting
Youngbok Shin [Thu, 8 Dec 2016 12:42:21 +0000 (21:42 +0900)]
config: update config data for processes which are launched before lazy mounting

@tizen_only

Change-Id: Ib4f256860854a9f6f5e72b15377b3b7b01f39b51

7 years agogengrid: add unhighlight for unselected item
WooHyun Jung [Sat, 10 Dec 2016 07:14:25 +0000 (16:14 +0900)]
gengrid: add unhighlight for unselected item

Change-Id: I43286fa6116de3fa8e43f83e7c90e2135bc39f60

7 years agoelm_spinner: Spinner internal focus logic fixed to following New focused UI concept.
Woochan Lee [Fri, 9 Dec 2016 07:37:33 +0000 (16:37 +0900)]
elm_spinner: Spinner internal focus logic fixed to following New focused UI concept.

https://phab.enlightenment.org/D4475

Change-Id: Iff81c703daaff8176f17b79688b113c01cbb4c2b

7 years agoelm_cnp: disable html type for x protocol
Taehyub Kim [Fri, 9 Dec 2016 07:29:48 +0000 (16:29 +0900)]
elm_cnp: disable html type for x protocol

Change-Id: I807c34994d9a98f2223ca17bb46e7352539af44f

7 years agoRevert "[ctxpopup] check auto hide disable mode when bg clicked"
JinYong Park [Fri, 9 Dec 2016 04:49:34 +0000 (13:49 +0900)]
Revert "[ctxpopup] check auto hide disable mode when bg clicked"

This reverts commit 77bd0fd5089cb9dcafd83ad4078663354f02b04f.

Change-Id: I7596983598eccf1f706fc59775aa2b8671cb7373
Signed-off-by: Jinyong Park <j4939.park@samsung.com>
7 years agoelm_win: supported floating window.
Hosang Kim [Thu, 8 Dec 2016 12:41:06 +0000 (21:41 +0900)]
elm_win: supported floating window.

Signed-off-by: Hosang Kim <hosang12.kim@samsung.com>
Change-Id: I2c4263240e8e88d416a86f6e31055d84207990dc

7 years agoRevert "ctxpopup: disable auto hide when orient is changed."
JinYong Park [Wed, 7 Dec 2016 07:37:06 +0000 (16:37 +0900)]
Revert "ctxpopup: disable auto hide when orient is changed."

This reverts commit bf1f360915789c608007c5d384ee8bc791836b83.

Change-Id: I3f79e673371663ecaf5b5265def123690d08dac0

7 years agoctxpopup: focus set when show animation is finished
JinYong Park [Wed, 7 Dec 2016 13:41:57 +0000 (22:41 +0900)]
ctxpopup: focus set when show animation is finished

Change-Id: Ic7aca1f07f42ab8797815fd2b7380d28a159d5e3
Signed-off-by: Jinyong Park <j4939.park@samsung.com>
7 years ago[atspi][naviframe] add API elm_object_part_access_object_get
Shinwoo Kim [Thu, 8 Dec 2016 14:10:20 +0000 (23:10 +0900)]
[atspi][naviframe] add API elm_object_part_access_object_get

Change-Id: Ib81e905ad685478c0bdb73264a3c371951806eb6

7 years ago[Index] apply mirrored UI
Sungtaek Hong [Thu, 8 Dec 2016 13:08:06 +0000 (22:08 +0900)]
[Index] apply mirrored UI

Change-Id: I89afdd8ee82859a9bf8ebe715cad595d73f2de18
Signed-off-by: Sungtaek Hong <sth253.hong@samsung.com>
7 years ago[atspi][proxy] assign NULL after eina_stringshare_del is called.
Shinwoo Kim [Wed, 7 Dec 2016 11:38:26 +0000 (20:38 +0900)]
[atspi][proxy] assign NULL after eina_stringshare_del is called.

The _pd->path, _pd->bus could be accessed when the proxy is deleted to send signal of ATSPI_OBJECT_CHILD_REMOVED.
See the following backtrace:

0  0xb67b1c04 in raise () from /lib/libc.so.6
1  0xb67b2f98 in abort () from /lib/libc.so.6
2  0xb40bf258 in _dbus_abort () at dbus-sysdeps.c:91
3  0xb40b87be in _dbus_warn_check_failed (
   format=0xb40c5080 "arguments to %s() were incorrect, assertion \"%s\" failed in file %s line %d.\nThis is normally a bug in some application using the D-Bus library.\n") at dbus-internals.c:275
4  0xb40ae8dc in dbus_message_iter_append_basic (iter=<optimized out>,
   type=111, value=0x1, value@entry=0xbee78bc0) at dbus-message.c:2865
5  0xb61d194a in append_basic (type=type@entry=12 '\f', vl=0xbee78bec,
   vl@entry=0xbee78bd4, iter=iter@entry=0xb8728db0)
   at lib/eldbus/eldbus_message.c:449
6  0xb61d323e in eldbus_message_iter_basic_append (
   iter=iter@entry=0xb8728da0, type=111) at lib/eldbus/eldbus_message.c:566
7  0xb6d2792c in _bridge_iter_object_reference_append (
   bridge=bridge@entry=0x8000341b, iter=0xb837de90, obj=obj@entry=0x80100e0c)
   at elm_atspi_bridge.c:3233
8  0xb6d27a32 in _on_object_del (data=0x8000341b, obj=0x80100e0c,
   event=<optimized out>, event_info=<optimized out>)
   at elm_atspi_bridge.c:4480
9  0xb6d26e0c in _bridge_accessible_event_dispatch (data=0x8000341b,
   accessible=0x80100e0c,
   desc=0xb6e7c0f4 <_ELM_INTERFACE_ATSPI_ACCESSIBLE_EVENT_REMOVED>,
--Type <return> to continue, or q <return> to quit---
   event_info=0x0) at elm_atspi_bridge.c:4660
10 0xb6d94778 in _elm_interface_atspi_accessible_event_emit (
   class=<optimized out>, pd=<optimized out>, accessible=0x80100e0c,
   event=0xb6e7c0f4 <_ELM_INTERFACE_ATSPI_ACCESSIBLE_EVENT_REMOVED>,
   event_info=0x0) at elm_interface_atspi_accessible.c:486
11 0xb6d9407c in elm_interface_atspi_accessible_event_emit (
   accessible=accessible@entry=0x80100e0c,
   event=0xb6e7c0f4 <_ELM_INTERFACE_ATSPI_ACCESSIBLE_EVENT_REMOVED>,
   event_info=event_info@entry=0x0) at elm_interface_atspi_accessible.eo.c:124
12 0xb6e0f918 in _elm_widget_eo_base_destructor (obj=0x80100e0c,
   sd=0xb87504b0) at elm_widget.c:6101
13 0xb6716108 in eo_destructor () at lib/eo/eo_base.eo.c:34
14 0xb6d254d6 in _elm_atspi_proxy_eo_base_destructor (obj=0x80100e0c,
    _pd=<optimized out>) at elm_atspi_proxy.c:88

Change-Id: Iad77033d7ba6e85799bcc17bd09efa29d5c85440

7 years agoelm_genlist: unfocused content object when item is unrealized.
Hosang Kim [Wed, 7 Dec 2016 09:15:22 +0000 (18:15 +0900)]
elm_genlist: unfocused content object when item is unrealized.

Signed-off-by: Hosang Kim <hosang12.kim@samsung.com>
Change-Id: I0e2bb313088224c08b38cc5b65ee7994b13a702f

7 years agoelm_cnp: support text/uri-list type for _wl_elm_cnp_selection_get
Taehyub Kim [Thu, 8 Dec 2016 08:39:22 +0000 (17:39 +0900)]
elm_cnp: support text/uri-list type for _wl_elm_cnp_selection_get

Change-Id: If0c0114d9b535e255887cb7d755ba23660b89655

7 years agoscroller: Limit coordination when there is only one page
Wonki Kim [Fri, 25 Nov 2016 10:23:46 +0000 (19:23 +0900)]
scroller: Limit coordination when there is only one page

By applying scroll improvement code, coordination should be limited
with in the page when scroller has just one page

@tizen_fix

Change-Id: I8bc092a73c3a2c68bec5cf59764e1a5bd08b7a06
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
7 years agogenlist: remove all compilation warnings of wearable profile.
Hermet Park [Wed, 7 Dec 2016 09:38:59 +0000 (18:38 +0900)]
genlist: remove all compilation warnings of wearable profile.

Change-Id: Ieb753a820f224326926a6f7da5e1ce45083db277

7 years agonaviframe: Support latest naviframe effect module APIs.
Jaehyun Cho [Wed, 7 Dec 2016 15:11:51 +0000 (00:11 +0900)]
naviframe: Support latest naviframe effect module APIs.

tizen_push_deferred_effect() is added.
tizen_pop_deferred_effect() is added.
tizen_effect_enabled_get() is added.
Now tizen_push_effect() is called with one view.
Now tizen_pop_effect() is called with one view.
Now transition signals are not emitted to theme if the theme supports
naviframe effect module. (i.e. if tizen_zoom is 1)

Change-Id: Iec75fcb216673827ff808d59c588ccb6ce705476

7 years ago[ATSPI][Naviframe] add reading text of back button
JunsuChoi [Wed, 7 Dec 2016 11:02:15 +0000 (20:02 +0900)]
[ATSPI][Naviframe] add reading text of back button

   When prev_btn is set, Accessible name is set if there is no text.

Change-Id: I0ae8e49211aac28e47ec221f1492b5c6062f6a16

7 years agogenlist : fix cannot scroll to item after call elm_genlist_item_update
jinwoo.shin [Wed, 7 Dec 2016 04:57:56 +0000 (13:57 +0900)]
genlist : fix cannot scroll to item after call elm_genlist_item_update

Summary: Fix cannot scroll to item after call elm_genlist_item_update

Test Plan: https://phab.enlightenment.org/T4974

Reviewers: Hermet

Reviewed By: Hermet

Subscribers: SanghyeonLee, minkyu, cedric, jpeg

Tags: #efl

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

Change-Id: I0774e70d412f0c08aa81bc050f139a421a93e425

7 years agoelm_cnp: change the priority for html type
Taehyub Kim [Wed, 7 Dec 2016 10:15:32 +0000 (19:15 +0900)]
elm_cnp: change the priority for html type

Change-Id: I1fba692617dfdcae047e300361ebcc7007fe9354

7 years agoscrollable_interface: fixed last_page_get() API
soohye [Tue, 6 Dec 2016 04:30:43 +0000 (13:30 +0900)]
scrollable_interface: fixed last_page_get() API

Summary: ceiling the vaule of content size divided by page size

Reviewers: cedric, jpeg, Hermet

Reviewed By: Hermet

Subscribers: minkyu, sju27, cedric, jpeg

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

Change-Id: Ic902f69dd7b265bb54c9e1625ec7960ef6ab107e

7 years agoelm_genlist: add item checking locgic, when _item_mouse_up_cb is called.
Hosang Kim [Tue, 6 Dec 2016 10:31:01 +0000 (19:31 +0900)]
elm_genlist: add item checking locgic, when _item_mouse_up_cb is called.

Sometimes _item_focusable_search() API's return value and current item
will be different.

Change-Id: I14a885ce492210edca6a4aa21e5140e982b201fb

7 years agoelm_cnp: support html type for copy&paste
Taehyub Kim [Tue, 6 Dec 2016 11:09:50 +0000 (20:09 +0900)]
elm_cnp: support html type for copy&paste

Change-Id: I2547671a5f8cdc41bd68f396714333759448ee99

7 years agoelm_map: add copyright_cb for osm tile source.
Sungtaek Hong [Tue, 6 Dec 2016 07:54:28 +0000 (16:54 +0900)]
elm_map: add copyright_cb for osm tile source.

    Summary:
     - According to Copyright and license in Openstreetmap
       (https://www.openstreetmap.org/copyright/en)
       credit has to be in the corner of map.
     - Add copyright_cb which returns an object to show copyright.

    Test Plan:
    1. Excecute elementary_test->map
               2. Right click->source->set any tile source
               3. Observe copyright is added.

    Reviewers: cedric, Hermet, jpeg

    Subscribers: conr2d

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

origin: upstream(32635ad7bdc5410cfa2b57b686846fd7fedcbf43)
Change-Id: Ie90041a8ccef3a91273853b4730c713e8c9ac44e
Signed-off-by: Sungtaek Hong <sth253.hong@samsung.com>
7 years agoelm: Fix build break
Jean-Philippe Andre [Tue, 29 Nov 2016 06:41:56 +0000 (15:41 +0900)]
elm: Fix build break

Change-Id: I84cf3e90f7098dbdca96496ba33bc9ca8e5719f6

7 years agomap: separate name, route source logic 02/82702/10
Sungtaek Hong [Fri, 5 Aug 2016 07:22:25 +0000 (16:22 +0900)]
map: separate name, route source logic

  - So far, elm_map only provides Open Street Map
    and lacks ability to expand to other map providers
    since it's xml parse only fits into that of OSM.
  - This patch is to make route and name source same to
    tile source, which supports other map tile providers.
origin: upstream

Change-Id: I1f68234e44fca660c665ed417b99f1b3cad3013b
Signed-off-by: Sungtaek Hong <sth253.hong@samsung.com>
7 years agoelm_win: apply mirroring and paragraph direction for precreated win
Jaeun Choi [Fri, 2 Dec 2016 11:56:20 +0000 (20:56 +0900)]
elm_win: apply mirroring and paragraph direction for precreated win

Change-Id: Ife393396c61cb0e1938322732caf9f39b9292753

7 years agoElm_Win: fix build on not wayland elementary
Vitalii Vorobiov [Tue, 29 Nov 2016 10:08:59 +0000 (12:08 +0200)]
Elm_Win: fix build on not wayland elementary

@tizen_fix

Change-Id: I4a3ce7e752909cb34b600351ef5823523bbfcfd8
Signed-off-by: Vitalii Vorobiov <vi.vorobiov@samsung.com>
7 years agoctxpopup: disable auto hide when orient is changed.
JinYong Park [Mon, 28 Nov 2016 08:49:54 +0000 (17:49 +0900)]
ctxpopup: disable auto hide when orient is changed.

Change-Id: I5b0148ad3c11e06354f60753df2d011de1bcdf03
Signed-off-by: Jinyong Park <j4939.park@samsung.com>
7 years agonotify: block_events restore previous style when style set failed
JinYong Park [Thu, 1 Dec 2016 01:48:15 +0000 (10:48 +0900)]
notify: block_events restore previous style when style set failed

when call style_set to notify object, notify subobject try to elm_widget_theme.
But in that function, block_events try to check theme with previous style.

So, after try to wrong style set,
style set fuction don't return ELM_THEME_APPLY_SUCCESS with normal style
because block_events try to check previous wrong theme.

Change-Id: I262fcce721f59cc34c7fcfdf0ef452191c1cb88b
Signed-off-by: Jinyong Park <j4939.park@samsung.com>
7 years agoelm_panel: change scroller freeze API.
Hosang Kim [Mon, 5 Dec 2016 10:11:42 +0000 (19:11 +0900)]
elm_panel: change scroller freeze API.

Originally elm_interface_scrollable_movement_block_set() API is used,
but there was a mistake when applying eo_do().

Change-Id: I6147dc67d3b50d2de735fd627b37e15377da4e4a

7 years agoelementary: fix copy & paste error, thanks Dave.
Cedric BAIL [Tue, 27 Sep 2016 17:54:09 +0000 (10:54 -0700)]
elementary: fix copy & paste error, thanks Dave.

Change-Id: I5703112c366948c946197f05a087edc14d47aaeb
Signed-off-by: Artem Popov <artem.popov@samsung.com>
7 years agoelm_config: set default year for minimal to 1970
Stefan Schmidt [Tue, 22 Nov 2016 15:09:34 +0000 (16:09 +0100)]
elm_config: set default year for minimal to 1970

This aligns with the docs we have and also makes sense when taking UNIX time
in consideration.

Fixes T4617

Change-Id: I26229364290a42479d7c3c0b1d60fa90fca5efc7
Signed-off-by: Artem Popov <artem.popov@samsung.com>
7 years agoelm: remove dulicate ELM_POPUP_ACTION_BUTTON_MAX definition
Shuhrat Dehkanov [Thu, 22 Sep 2016 13:57:28 +0000 (22:57 +0900)]
elm: remove dulicate ELM_POPUP_ACTION_BUTTON_MAX definition

Summary: ELM_POPUP_ACTION_BUTTON_MAX is already defined in the included header file, elm_widget_popup.h.

Reviewers: cedric, jpeg, minkyu, Hermet

Reviewed By: Hermet

Subscribers: seoz, jehun.lim

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

Change-Id: I42f2f8479aab8954ac95382d60f31504caff2015

7 years agoRevert "popup: fix content width problem with horizontal align fill is set and scale...
JinYong Park [Thu, 1 Dec 2016 01:54:06 +0000 (10:54 +0900)]
Revert "popup: fix content width problem with horizontal align fill is set and scale is changed"

This reverts commit b36ec834b42ae5a3ec1b236cc4a5342e0038c846.

Change-Id: I7b15c3b248be1f1615a36d9c987863b639935866

7 years ago[atspi][widget] enhance getting accessible object at point
Shinwoo Kim [Sat, 3 Dec 2016 03:01:54 +0000 (12:01 +0900)]
[atspi][widget] enhance getting accessible object at point

If the _elm_widget_elm_interface_atspi_component_accessible_at_point_get
finds an object which has ATSPI_ROLE_LIST role, then it does not return itself,
and finds its child item at given point, returns the item.

Change-Id: Ifc8034a6cfa14fa45539c543727466bbe1f76045

7 years agoctx_popup: fix accessibility showing state
Lukasz Stanislawski [Wed, 30 Nov 2016 10:12:44 +0000 (11:12 +0100)]
ctx_popup: fix accessibility showing state

due to invalid geometry returned by evas_object_geometry_get
the ctx_popup items did not evaluete accessibility showing state
correctly.

This patch fixes it by overloading accessibility state_set getter
for ctx_popup items.

Change-Id: I81a3e6333478d7706f1afee64a681f03a763de58

7 years agoatspi: add state_notify api
Lukasz Stanislawski [Tue, 22 Nov 2016 17:19:47 +0000 (18:19 +0100)]
atspi: add state_notify api

The purpose of this api is to provide additional way of synchronization
between elementary application and assistive technology client
(screen reader).

The subject of synchronization is accssibility object state which
is required by screen reader implementation to work properly.

Because of nature of efl, visibility changes of efl object state cannot be
effectively evaluated in a moment they occur due to following obstacles:

1. requires tracking of visibility of parent, parent's parent etc.
2. requires tracking of clipper of parent, parent's parent etc.
3. requires tracking of all clippers movement
4. requires tracking of all clippers alpha
5. requires tracking of stacking order
5. requires tracking of object movement.

Such implementation will have heavy impact on framework.

To cover more cases an additioanl method of synchronization is provided
which can notify assistive technology clients about state of accessible
objects at the moment it is invoked.

This is meant to be elementary internal api.

@tizen_only

Change-Id: Ibca54ef6d2a451295476284e96c48b65970b6560

7 years agogenlist: add on focus handling when item's child has focus.
Hosang Kim [Fri, 25 Nov 2016 06:15:34 +0000 (15:15 +0900)]
genlist: add on focus handling when item's child has focus.

Signed-off-by: Hosang Kim <hosang12.kim@samsung.com>
Change-Id: I6c6735d55ad9cc9dbeec8784b0dacadfacbc29db

7 years agoelm_toolbar: remove wrong focus highlight checking
WooHyun Jung [Fri, 2 Dec 2016 08:43:53 +0000 (17:43 +0900)]
elm_toolbar: remove wrong focus highlight checking

Because of this focus_highlight checking, focus never goes
to the first item when toolbar gets focus at the first time.

@fix

Change-Id: Icee595ef3cb36de9489a17d737e6fb380b214ca6

7 years agoelm_genlist: add null checking logic for on focus.
Hosang Kim [Fri, 2 Dec 2016 08:20:24 +0000 (17:20 +0900)]
elm_genlist: add null checking logic for on focus.

Signed-off-by: Hosang Kim <hosang12.kim@samsung.com>
Change-Id: I23589a1b73378843b1144bfff4d6ac7afe5bbd62

7 years agomultibuttonentry: Fix item size calc logic when box resized.
Woochan Lee [Thu, 24 Nov 2016 04:17:41 +0000 (13:17 +0900)]
multibuttonentry: Fix item size calc logic when box resized.

Support in case that If the expand mode is set to false
and the item is added using the item_append API.

Upstream: D4429

Change-Id: If6c3892ba5bd653f7739033f7237fd332c8a7713

7 years ago[widget][atspi] check if the access info is NULL
Shinwoo Kim [Wed, 30 Nov 2016 13:43:20 +0000 (22:43 +0900)]
[widget][atspi] check if the access info is NULL
The elm_access object is deleted in job callback. the access information is removed before adding the job.
So the access information could be NULL.

Change-Id: I917b057ab5a3972199e6e68d62ee1dd7fe1ff49c

7 years ago[atspi] make atspi proxy work for more than two sockets created in one process
Shinwoo Kim [Mon, 14 Nov 2016 01:19:57 +0000 (10:19 +0900)]
[atspi] make atspi proxy work for more than two sockets created in one process

Conflicts:
src/lib/elm_atspi_bridge.c

Change-Id: I8299a49cb8a98ddc1229ba3e4b87a903c24f4fb3

7 years ago[win][atspi] check parent accessible name first as other widget does
Shinwoo Kim [Wed, 30 Nov 2016 13:26:29 +0000 (22:26 +0900)]
[win][atspi] check parent accessible name first as other widget does

Change-Id: I00fa2eb531e0e0243bd2b9dba4bf11465a393a7a

7 years agonaviframe: Fix to show hidden previous view when pop transition begins.
Jaehyun Cho [Tue, 29 Nov 2016 11:49:04 +0000 (20:49 +0900)]
naviframe: Fix to show hidden previous view when pop transition begins.

Previously, previous view became visible before pop transition begins by
"elm,state,prev,popped" signal.
Now, previous view become visible when pop transition begins by
"elm,state,prev,popped" signal.

Change-Id: Id9d809baac1d2f37d2e192c772c3ec84223c8e33

7 years agolabel: fix to get proper minimum size from legacy label theme
Youngbok Shin [Wed, 30 Nov 2016 12:13:20 +0000 (21:13 +0900)]
label: fix to get proper minimum size from legacy label theme

It needs part_text_min_policy property functions from Edje.

@tizen_fix

Change-Id: I8381119ae5b4ff1e63128f364c1c8b31bfccba75

7 years ago[elm_index] Added selected state for index item
Prasoon Singh [Mon, 28 Nov 2016 11:29:19 +0000 (16:59 +0530)]
[elm_index] Added selected state for index item

Change-Id: Ieb5ddb7b793889695daff48b7c85d4371a4f75bd

7 years ago[atspi][widget] Proper handling: In case of widget is registerd by elm_access_object_...
Shinwoo Kim [Tue, 29 Nov 2016 11:49:24 +0000 (20:49 +0900)]
[atspi][widget] Proper handling: In case of widget is registerd by elm_access_object_register

Change-Id: I40455bcd3c72fcee3bc616b1dd091897f6897d1a

7 years agoelm_spinner: fix wrong focus logic when spinner is unfocused
WooHyun Jung [Tue, 29 Nov 2016 12:12:59 +0000 (21:12 +0900)]
elm_spinner: fix wrong focus logic when spinner is unfocused

When unfocusing spinner, entry's UNFOCUSED callback is called.
In the callback function, entry is hidden and spinner gets focus
from focus_revert logic.
This gave lots of meaningless focused/unfocused state changes.

@fix

Change-Id: I1e526582607f62f1abb674be6f54f859f0bda5ad

7 years agoRemove model-build-feature usage 66/92866/3
MyungJoo Ham [Wed, 19 Oct 2016 07:28:04 +0000 (07:28 +0000)]
Remove model-build-feature usage

- This is for Tizen 4.0 development. If you are too busy for
Tizen 3.0 release and this patch appears to be invasive,
you may delay merging/SR-ing this commit until 3.0 branching out.

- The clause depending on "model_build_feature_formfactor" is
dead; no one uses it:

elementary$ grep -r "TIZEN_PROFILE_WEARABLE_C1" *
packaging/elementary.spec:           export CFLAGS+=" -DTIZEN_PROFILE_WEARABLE_C1"
elementary$

ps. patch reworded to avoid gerrit bug.

Change-Id: I377f3b889239749ce1ce04da19568fb85f59d480
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agogenlist: emit enabled signal to reset cached item view 10/102410/2
Jee-Yong Um [Mon, 5 Dec 2016 14:52:46 +0000 (23:52 +0900)]
genlist: emit enabled signal to reset cached item view

Signed-Off-By: Jee-Yong Um <jc9.um@samsung.com>
Change-Id: I2d36f348afe1399a0ca39e589ed1456cf2386b13

7 years agopopup: check theme compatibility more precise
JinYong Park [Wed, 9 Nov 2016 08:15:22 +0000 (17:15 +0900)]
popup: check theme compatibility more precise

Change-Id: I0d69fef35d85bef53d4818c7fc578adb3a52db58
Signed-off-by: Jinyong Park <j4939.park@samsung.com>
7 years agoelm_photocam: remove unncessary code
Taehyub Kim [Tue, 29 Nov 2016 01:05:59 +0000 (10:05 +0900)]
elm_photocam: remove unncessary code

Change-Id: Ic6541d3facbc1ea54a3bd8f8fbb9b19512e43cee

7 years agogenlist: processing all signals before item min size calculation
Jee-Yong Um [Mon, 28 Nov 2016 04:50:26 +0000 (13:50 +0900)]
genlist: processing all signals before item min size calculation

Signed-Off-By: Jee-Yong Um <jc9.um@samsung.com>
Change-Id: I847aeaf655384ecbfa63df6d52ce10bd9c35db2e

7 years agoelm_object: add @internal to elm_object_scroll_item_valign_set/get API.
Hosang Kim [Mon, 28 Nov 2016 10:11:09 +0000 (19:11 +0900)]
elm_object: add @internal to elm_object_scroll_item_valign_set/get API.

Change-Id: Ic8222bd66ed3a4bb2b1a3082d3a2f5997545379e

7 years agofix for WGID 91964 svace issue
suresh kumar [Fri, 25 Nov 2016 11:17:14 +0000 (16:47 +0530)]
fix for WGID 91964 svace issue

[Model] SM-Z200F
[BinType] NA
[Customer] NA
[Issue#] NA
[Request] NA
[Occurrence Version] NA
[Problem] strcmp behaviour will be undefined if it's pointer argument is NULL
[Cause & Measure] type pointer should be checked before passing it to strcmp
[Checking Method] NA
[Team] EFL/UIFW
[Developer] suresh.ku1
[Solution company] Samsung
[Change Type] Apply change

Change-Id: I5b47b10e370e88018c35193b42860acb0382d798

7 years ago[widget] remove warning message
Shinwoo Kim [Mon, 28 Nov 2016 04:06:26 +0000 (13:06 +0900)]
[widget] remove warning message

Change-Id: I06b15a7cedbb5703b82804b7975eef631e2e3594

7 years agogengrid: fix dereferenced case by checking NULL value.
Myoungwoon Roy, Kim [Fri, 25 Nov 2016 02:21:14 +0000 (11:21 +0900)]
gengrid: fix dereferenced case by checking NULL value.

Change-Id: I6c4352e62da5def43c7d6bfb4f5de584bfea7b26

7 years ago[atspi] try bottom-up search first for getting accessible object at x,y point
Shinwoo Kim [Thu, 17 Nov 2016 12:17:16 +0000 (21:17 +0900)]
[atspi] try bottom-up search first for getting accessible object at x,y point

Change-Id: Iaa77a9c86886cb3771cf66080234d8fcc1cac8fd

7 years ago[atspi] clear highlight of an object, if the can_highlight value of object or its...
Shinwoo Kim [Fri, 25 Nov 2016 13:10:02 +0000 (22:10 +0900)]
[atspi] clear highlight of an object, if the can_highlight value of object or its parent is set to EINA_FLASE

Change-Id: If744b74937972ebc3790a594bfa736055210ff69

7 years ago[atspi] emit highlight signal - screen reader reads at the highlight signal
Shinwoo Kim [Thu, 24 Nov 2016 12:20:56 +0000 (21:20 +0900)]
[atspi] emit highlight signal - screen reader reads at the highlight signal

Change-Id: I13aca12afeff4c3e9d8a59d7f50fbb5748db999e

7 years ago[atspi] using utf-8 text not markup text
Shinwoo Kim [Thu, 24 Nov 2016 12:18:56 +0000 (21:18 +0900)]
[atspi] using utf-8 text not markup text

Change-Id: I536002d75ad952995eeb7d7bd20b51c85ddb02b7

7 years agogenlist : apply item circular zooming feature in align mode 05/85505/7
SangHyeon Lee [Thu, 25 Aug 2016 11:39:46 +0000 (20:39 +0900)]
genlist : apply item circular zooming feature in align mode

Change-Id: Idd8c8a6f537dd0d44052ac949eba0b3a6c84a6e7
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
7 years ago[ATSPI][elm_widget] Fix scroll move when highlight_grab
JunsuChoi [Fri, 25 Nov 2016 12:54:35 +0000 (21:54 +0900)]
[ATSPI][elm_widget] Fix scroll move when highlight_grab

   Fixed to *_focus_region_show because scrollable_*_region_show/bring_in logic
   malfunction when highlight_grab from wearable.

Change-Id: I88a8d278ef62ce4959e7047ef37bdc0ab8a52705

7 years agolabel: Update label calc logic according to edje textblock update
Youngbok Shin [Thu, 17 Nov 2016 09:08:54 +0000 (18:08 +0900)]
label: Update label calc logic according to edje textblock update

@tizen_fix

Change-Id: I483768e805f78e9f7da62d9d6d9fc06142779d71

7 years agopopup: support show animation when call style set after object show
JinYong Park [Fri, 25 Nov 2016 04:47:17 +0000 (13:47 +0900)]
popup: support show animation when call style set after object show

Change-Id: Ide72ff73f8a44c0df2d3b33c5b989300a55d840c
Signed-off-by: Jinyong Park <j4939.park@samsung.com>
7 years agopopup: fix content height problem when vertical align fill
JinYong Park [Thu, 17 Nov 2016 10:10:39 +0000 (19:10 +0900)]
popup: fix content height problem when vertical align fill

Change-Id: I5071328642c718a8e336f518cad61b5676e46738
Signed-off-by: Jinyong Park <j4939.park@samsung.com>
7 years agopopup: fix content width problem with horizontal align fill is set and scale is changed
JinYong Park [Thu, 17 Nov 2016 08:26:02 +0000 (17:26 +0900)]
popup: fix content width problem with horizontal align fill is set and scale is changed

Change-Id: I401d6013ff20d3f68aca4eac516a43a66ba5d628
Signed-off-by: Jinyong Park <j4939.park@samsung.com>
7 years agolayout: add internal theme set function to get fallback state
JinYong Park [Tue, 8 Nov 2016 10:53:00 +0000 (19:53 +0900)]
layout: add internal theme set function to get fallback state

Change-Id: Idcadbda5dc1dbc0606dc261b041f32eeab694b43
Signed-off-by: Jinyong Park <j4939.park@samsung.com>
7 years agoelm_cnp: skip other process's send/receive event
Taehyub Kim [Thu, 24 Nov 2016 06:37:52 +0000 (15:37 +0900)]
elm_cnp: skip other process's send/receive event
when ECORE_WL_EVENT_SELECTION_DATA_READY and ECORE_WL_EVENT_SELECTION_SOURCE_SEND callbacks
are added by other packages, matched event callbacks in elm_cnp can be called in unexpected time.

Change-Id: I6248b697a2e873814a940f51373f72bb40cb1f4b

7 years agoscroller: add key action move option.
Hosang Kim [Fri, 25 Nov 2016 04:14:06 +0000 (13:14 +0900)]
scroller: add key action move option.

Summary:
when scroller page is enabled and key is pressed,
     scroller will move in page by page.

     Test Plan: elementary_test -> scroller

     Reviewers: woohyun, cedric, jaehwan, raster, Hermet

     Subscribers: akanad, jpeg

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

Change-Id: I7446d4fb62944e7107dde790c57bb0fbf02684fd

7 years ago elm_win: add function client can start moving or resizing the window.
Ji-Youn Park [Fri, 25 Nov 2016 02:35:20 +0000 (11:05 +0830)]
    elm_win: add function client can start moving or resizing the window.

        The result of this API can only guarantee that the request has been forwared to the server,
        In fact, there is no guarantee that the request can be processed by the server.

        In order to use this API correctly, avoid the following conditions.
        (The following situations will return a failure)

        1. Calling a function in the absence of a touch(mouse) down event.
        2. Calling the function twice more than once before the touch(mouse) up event.
        3. Calling the function when the elm win already resizing or moving the window.
        4. Calling the function using a combination of unsupported modes.

        Right usage
        1. touch(mouse) down event
        2. efl_ui_win_move_resize_start only once using the supported mode combination.
        3. touch(mouse) up event

        If a touch(mouse) up event occurs after calling the function, it automatically ends the window move and resize operation.

        Since there are some non-exclusive modes, you can use a combination of modes.(ELM_WIN_MOVE_RESIZE_MOVE is exclusive with others)
        However, Some combination of mode is limited for technical reasons.
        At present, only the following nine combinations are allowed.
        For more information, see the Elm.Win.Move_Resize_Mode.

        1. EFL_UI_WIN_MOVE_RESIZE_MOVE
        2. EFL_UI_WIN_MOVE_RESIZE_TOP
        3. EFL_UI_WIN_MOVE_RESIZE_BOTTOM
        4. EFL_UI_WIN_MOVE_RESIZE_LEFT
        5. EFL_UI_WIN_MOVE_RESIZE_RIGHT
        6. EFL_UI_WIN_MOVE_RESIZE_TOP | EFL_UI_WIN_MOVE_RESIZE_LEFT
        7. EFL_UI_WIN_MOVE_RESIZE_TOP | EFL_UI_WIN_MOVE_RESIZE_RIGHT
        8. EFL_UI_WIN_MOVE_RESIZE_BOTTOM | EFL_UI_WIN_MOVE_RESIZE_LEFT
        9. EFL_UI_WIN_MOVE_RESIZE_BOTTOM | EFL_UI_WIN_MOVE_RESIZE_RIGHT

Change-Id: I0a101af333212976f303754b679df8d3be85e1b5

7 years agoentry: fix selection handler move bug
JinYong Park [Mon, 14 Nov 2016 10:51:43 +0000 (19:51 +0900)]
entry: fix selection handler move bug

Using keyboard, make selection on entry from right to left,
CURSOR_BEGIN's position is behind CURSOR_END's position.
So at that time move selection handler with finger,
entry miscalculate position of selection handler.

# required : efl / I8eeee540667033d0495777b299d7951fb341c1e9
- link : https://review.tizen.org/gerrit/94510

Change-Id: I68f728d8620e92281a6fb92f5af84f9a0060a09c
Signed-off-by: Jinyong Park <j4939.park@samsung.com>
7 years agogenlist : clear item cache when current item class need to be freed
SangHyeon Lee [Wed, 23 Nov 2016 12:14:01 +0000 (21:14 +0900)]
genlist : clear item cache when current item class need to be freed

Change-Id: I92b361ae0e21c9ef0eb03f106aaa9fc953fab2e4

7 years agogenlist : refactoring reusable contents
SangHyeon Lee [Tue, 22 Nov 2016 11:43:30 +0000 (20:43 +0900)]
genlist : refactoring reusable contents

1. remove contents when reusable content are not pre-defined.
2. focus intialization when content is cached.

Change-Id: I75d26fb80f9875425164a3b2b8d675b091da032b
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
7 years agocolorselector: Fix palette align issue
SubodhKumar [Thu, 17 Nov 2016 08:30:58 +0000 (14:00 +0530)]
colorselector: Fix palette align issue

Change-Id: I70ce116e8e3c501db36e6db49958a13c42998fd3
Signed-off-by: SubodhKumar <s7158.kumar@samsung.com>
7 years agogenlist : add on focus handling about realized item firstly
SangHyeon Lee [Fri, 18 Nov 2016 08:41:23 +0000 (17:41 +0900)]
genlist : add on focus handling about realized item firstly

Change-Id: I6e7b8b102d010b5133ebc1494b1eb671d2f4b92c
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
7 years agocalendar: Add focus UI feature.
Woochan Lee [Wed, 23 Nov 2016 07:46:23 +0000 (16:46 +0900)]
calendar: Add focus UI feature.

Change-Id: I570d915e599da102c99c8f39154b054b32e502f2

7 years ago[ATSPI][elm_widget]fix to eo_do_super in description_get function
JunsuChoi [Wed, 23 Nov 2016 05:11:50 +0000 (14:11 +0900)]
[ATSPI][elm_widget]fix to eo_do_super in description_get function

   ELM_WIDGET_ITEM_CLASS -> ELM_WIDGET_CLASS

Change-Id: I7244c0761bf795401f2e2cb9e389554c0e1a35d5

7 years agoelementary: gengrid - check the edge correctly
Minkyu Kang [Tue, 25 Oct 2016 21:12:42 +0000 (14:12 -0700)]
elementary: gengrid - check the edge correctly

Summary:
The routine of checking edge of left side, divide position by row.
Since the result of fisrt item of last line is 1, that item was not checked as edge.
This patch is for fixing it.

Test Plan:
elementary_test -to gengrid2
append items (about 6)
horizontal mode on and item loop enable
check item loop is working properly

Reviewers: cedric, jpeg, Hermet, SanghyeonLee

Subscribers: jehun.lim, SanghyeonLee, cedric, jpeg

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

Change-Id: I60331e6ad537a4114000bca0ca59e91aa3ac1c75
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
7 years agoglview: Add data updates when marking the image as dirty
jiin.moon [Tue, 22 Nov 2016 06:54:26 +0000 (15:54 +0900)]
glview: Add data updates when marking the image as dirty

Refs: v1.18.0-rc-1593-g8b9fe4a
Author:     Jean-Philippe Andre <jp.andre@samsung.com>
AuthorDate: Mon Nov 21 17:31:48 2016 +0900
Commit:     Jean-Philippe Andre <jp.andre@samsung.com>
CommitDate: Tue Nov 22 14:32:37 2016 +0900

    glview: Add data updates when marking the image as dirty

    The previous behaviour was not correct, so fix it. This will
    not change anything as evas image has a legacy behaviour
    fallback.

Change-Id: I76fdbbe693f04e15449811e24aa2f30da2565276

7 years ago[atspi bridge] add null check and modify for split
JunsuChoi [Tue, 22 Nov 2016 11:33:01 +0000 (20:33 +0900)]
[atspi bridge] add null check and modify for split

   i added a null check of split variable.

Change-Id: I3be2ebd87899a4f816f6d0250afd4b2ac2901bd5

7 years agogengrid: support for non homogenous items
SangHyeon Lee [Tue, 25 Oct 2016 05:06:31 +0000 (14:06 +0900)]
gengrid: support for non homogenous items

This patch is forked by upstream commit
73095ad7ad7cf67c2c9a66787da6395bfbdd3e4a

Change-Id: I6743c39b95c2d9addde4303ce295e3985e539f27
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
7 years agoRevert "entry: fix scroll region jumping issue"
Youngbok Shin [Tue, 15 Nov 2016 10:32:09 +0000 (19:32 +0900)]
Revert "entry: fix scroll region jumping issue"

This reverts commit 451c2b63e0845b44c8fb17667a4cb757adf0c65d.

Change-Id: I796d7ef36e723de0bc6acfc03076cbfc0381de9b

7 years agoentry: fix scroll region jumping issue
Youngbok Shin [Thu, 10 Nov 2016 08:45:49 +0000 (17:45 +0900)]
entry: fix scroll region jumping issue

When elm_entry takes focus by mouse clicked,
scroll region should be decided by new cursor position.

1. *_on_focus_region
   *_on_focus_region will be called before updating cursor position.
   So, elm_entry need to predict cursor position by mouse down and move.

2. _show_region_hook
   The geometry from elm_widget_show_region_get() is not proper when
   the hook function is called. We need to get cursor's geometry everytime.
   Becasue, the geometry is relative. Whenever scroll region updated,
   the geometry also has to be updated.

* dependancy warrning :
  - efl
  "edje entry: keep cursor position on mouse down and move"
  https://review.tizen.org/gerrit/#/c/96783/

@tizen_fix

Change-Id: I5c74b95de32701088a9031423939ce23909c4956

7 years agoElm_Theme_Apply: change indentation
JinYong Park [Tue, 8 Nov 2016 10:27:17 +0000 (19:27 +0900)]
Elm_Theme_Apply: change indentation

Change-Id: I191ff6e11e6fde9760d84188a838ef5974933731
Signed-off-by: Jinyong Park <j4939.park@samsung.com>
7 years agoelementary entry: fix to call "cursor,changed" callback when only cursor is changed
Youngbok Shin [Mon, 21 Nov 2016 07:29:17 +0000 (16:29 +0900)]
elementary entry: fix to call "cursor,changed" callback when only cursor is changed

Summary:
"cursor,changed" smart callback should be called when only the main cusor's
position is changed. But, It was called when elm_layout_sizing_eval() is called
for elm_entry.

@fix

Test Plan: N/A

Reviewers: raster, cedric, woohyun, herdsman

Subscribers: jpeg

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

Change-Id: I559c4653985be3fced1cc5fb280dbf4b955d15a4

7 years ago[atspi][elm_hoversel] Added hover object in children list
Prasoon Singh [Mon, 21 Nov 2016 12:37:36 +0000 (18:07 +0530)]
[atspi][elm_hoversel] Added hover object in children list

Change-Id: Ie95b915ca4e27affac788c39cbce675bab085ca7

7 years ago[atspi][flipselector] Updated the clipper's part name as it was changed from edc
Prasoon Singh [Thu, 17 Nov 2016 15:44:27 +0000 (21:14 +0530)]
[atspi][flipselector] Updated the clipper's part name as it was changed from edc

Change-Id: If804103aa1925bb09dd020037db9950c8f852fe1

7 years agointerface_scroller: Add null check for page_x_get
Wonki Kim [Fri, 18 Nov 2016 04:39:33 +0000 (13:39 +0900)]
interface_scroller: Add null check for page_x_get

in case of mirrored mode, page_x_get will return reverse value without
null checking. this commit contains null check for it.

Change-Id: If05f199f3a9e70b2e2b0731a56e6828c91139845
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
7 years agoelm_win: sync indicator state with WM explictly
Wonki Kim [Tue, 15 Nov 2016 11:56:31 +0000 (20:56 +0900)]
elm_win: sync indicator state with WM explictly

On wayland, indicator is handled by both elementary and window manager
Because there is no logic to set the initial state of the indicator when it is
constructing, this patch makes indiciator state clear both elementary
and window manager

Change-Id: Id43e8aacb1bfd019864ce3b9bfae36efaffb320e
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
7 years agofocus: onscreen_is should not be checked for keeping compatiblity
WooHyun Jung [Fri, 18 Nov 2016 08:10:19 +0000 (17:10 +0900)]
focus: onscreen_is should not be checked for keeping compatiblity

@tizen_fix

Change-Id: I3cfd585b28819c8e4f78eab1f548ffad9b3f143c

7 years agoentry: set autocapital mode according to the layout
Jihoon Kim [Fri, 18 Nov 2016 08:59:43 +0000 (17:59 +0900)]
entry: set autocapital mode according to the layout

Change-Id: I5a8644be3447d5cfb45a7dadf832a527382dcd9d
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
7 years ago[entry]: Fix to Show cursor handler after selection is gone
SubodhKumar [Fri, 11 Nov 2016 09:44:03 +0000 (15:14 +0530)]
[entry]: Fix to Show cursor handler after selection is gone

@tizen_fix

Change-Id: Ib2a9f975f74efb730197e7cad1cb66f5c68ea367
Signed-off-by: SubodhKumar <s7158.kumar@samsung.com>
7 years ago[elm_entry] Fix selection handler cut issue at edges
SubodhKumar [Mon, 7 Nov 2016 08:41:31 +0000 (14:11 +0530)]
[elm_entry] Fix selection handler cut issue at edges

@tizen_fix

Change-Id: I6e01f69d496beef26364c0d22ad071fa6567dc38
Signed-off-by: SubodhKumar <s7158.kumar@samsung.com>
7 years agogenlist : item deleting focus set fixing properly
SangHyeon Lee [Fri, 18 Nov 2016 10:20:10 +0000 (19:20 +0900)]
genlist : item deleting focus set fixing properly

Change-Id: Icbcf21eef161f4148027fb457e9d15ab31f05878

7 years agoelm_spinner: apply value after pressing enter key
Andrii Kroitor [Thu, 17 Nov 2016 15:01:46 +0000 (17:01 +0200)]
elm_spinner: apply value after pressing enter key

This was broken previously by 4a8130ae551d554eaf29da62d0a19bcf80022423

@fix

upstream commit: ef55640d2ac06ddcb74b582eff32a38bad89e566

Change-Id: I663c17918b12ad573319546ac61604af4fa86506

7 years agogenlist: add new focus move policy when item deleted
SangHyeon Lee [Fri, 18 Nov 2016 02:37:48 +0000 (11:37 +0900)]
genlist: add new focus move policy when item deleted

Change-Id: I2719e47eadd71ab0c215a854793cbd6851b28a10
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
7 years agointerface_scroller, gengrid: Use the specific wanted_region_set func only for gengrid.
SangHyeon Lee [Thu, 17 Nov 2016 06:05:57 +0000 (15:05 +0900)]
interface_scroller, gengrid: Use the specific wanted_region_set func only for gengrid.

This patch is forked by tizen 2.4 patch written by Jaeyong Hwang(j_yong.hwang@samsung.com)

Change-Id: Ic08390bc3e45fda8fac7605a1c8318b10cf92b67
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
7 years agoconfig: add "language_auto_mirrored"
Jaeun Choi [Fri, 18 Nov 2016 07:07:32 +0000 (16:07 +0900)]
config: add "language_auto_mirrored"

when language_auto_mirrored is true, elm_config_mirrored_set() will be
called automatically according to "default:LTR" value in elm_language_set() function.
for initialization, it needs to be done in translation_init() as well,
but according to appcore issue, we do it in elm_win_add() time temporarily.
when it is false, mirroring will be done manually by calling
elm_config_mirrored_set().
this patch will take effect with efl-misc package.

Change-Id: I2584ced52dd7586785d355af53e49a49eff94ffc