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

7 years agowidget: Inherit paragraph direction from widget parent
Youngbok Shin [Thu, 17 Nov 2016 05:39:47 +0000 (14:39 +0900)]
widget: Inherit paragraph direction from widget parent

A widget inherited paragraph direction from widget parent
when only the widget was added to widget parent as parent's sub object.
But, even if it is not sub object of parent,
its direcition should be initialized by parent's direction.

@tizen_fix

Change-Id: Id9d11ce3293d63b888c36e537229479c3a08284b

7 years agocalendar: Apply UI Mirroring for Tizen 3.0
Woochan Lee [Wed, 16 Nov 2016 12:17:20 +0000 (21:17 +0900)]
calendar: Apply UI Mirroring for Tizen 3.0

calendar is not including UI Mirroring feature.

Change-Id: I10343dd9bc4445e4fe33ca8efbb6f05f95651b3b

7 years agoelm_entry: show context menu when entry is longpressed without focusing
Taehyub Kim [Tue, 15 Nov 2016 04:06:43 +0000 (13:06 +0900)]
elm_entry: show context menu when entry is longpressed without focusing

@tizen_fix

Change-Id: Ibbe6c270f250542c96aebf3b8bcabea24defa6db

7 years agoefl_ui_image: guarantee user's mouse up event callback is called.
Jaehyun Cho [Wed, 16 Nov 2016 21:22:44 +0000 (13:22 -0800)]
efl_ui_image: guarantee user's mouse up event callback is called.

Summary:
Without propagating event by hit_rect, user's mouse up event
callback may not be called if image file is replaced in user's mouse
down event callback.

Test Plan:
1. Register mouse up event callback for elm_image by calling
evas_object_event_callback_add() with EVAS_CALLBACK_MOUSE_UP.
2. Register mouse down event callback for elm_image by calling
evas_object_event_callback_add() with EVAS_CALLBACK_MOUSE_DOWN.
3. Replace image file of elm_image by calling elm_image_file_set() in
mouse down event callback.
4. Mouse down on elm_image.
5. Mouse up on elm_image.
6. Since image file object is newly created in mouse down event
callback, mouse up event is not triggered for the newly created image
file object. As a result, mouse up event is not propagated to elm_image
and user's mouse up callback for elm_image is not called.

Reviewers: cedric, woohyun, eunue, jpeg

Reviewed By: jpeg

Subscribers: jpeg

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

Change-Id: I2bafe1434feb3351d1937b289b2319f27466ca9c
Signed-off-by: Cedric BAIL <cedric@osg.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 agogengrid : refactoring gengrid index position
SangHyeon Lee [Mon, 14 Nov 2016 04:06:38 +0000 (13:06 +0900)]
gengrid : refactoring gengrid index position

Change-Id: Icb6c996249cfd140f3669ec8749bdba85ca1596c
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
7 years agoGengrid: improve item_region_show code 96/89896/3
SangHyeon Lee [Tue, 27 Sep 2016 10:13:40 +0000 (19:13 +0900)]
Gengrid: improve item_region_show code

This patch is forked by upstream patch
16b16b71282ee6b0115c5db3e714ec934249e771
written by Dave Andreoli

Change-Id: If4a66c71169f711f0f107f8b6985880ca42b2b0c

7 years agogengrid: fix focus issue when prev/next item is disabled 04/89904/2
SangHyeon Lee [Tue, 27 Sep 2016 10:33:02 +0000 (19:33 +0900)]
gengrid: fix focus issue when prev/next item is disabled

This patch is forked by upstream patch
effe9b169658ec10f2edca087e4cfd4d8cea8dcf
written by Jehun Lim

Change-Id: I135bbb52503d7fd7f7ee6187182e300a189003d4
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
7 years agoelm_win: fix precreation window logic.
Hosang Kim [Fri, 11 Nov 2016 08:32:51 +0000 (17:32 +0900)]
elm_win: fix precreation window logic.

If window's type is ELM_WIN_SOCKET_IMAGE or ELM_WIN_INLINED_IMAGE,
window must be created.

Change-Id: I3a78390e99c62842920550c23f65fb151de2dd89

7 years agoRevert "conform: Fixed to get a geometry from *focus_region_get for show_region_job."
Youngbok Shin [Tue, 15 Nov 2016 10:33:33 +0000 (19:33 +0900)]
Revert "conform: Fixed to get a geometry from *focus_region_get for show_region_job."

This reverts commit d93cbb54a48e3f7671dc1f478d28c8c8f2014cee.

Change-Id: Icdcdcdb19486f6fcb082647529e98cd31a8ed937

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 agoelm_win: remove duplicated focused/unfocused event call
Hosang Kim [Tue, 15 Nov 2016 12:34:36 +0000 (21:34 +0900)]
elm_win: remove duplicated focused/unfocused event call

These are already called in elm_widget's on_focus.

@fix

by WooHyun Jung <wh0705.jung@samsung.com>
Signed-off-by: Hosang Kim <hosang12.kim@samsung.com>
Change-Id: Ia2ea8c4faec27dfd7ed2d7818d4549439ef78a5c

7 years ago[atspi][elm_widget] enhance elm_atspi_accessible_can_highlight_set to set can_hihglight
Prasoon Singh [Mon, 7 Nov 2016 09:21:49 +0000 (14:51 +0530)]
[atspi][elm_widget] enhance elm_atspi_accessible_can_highlight_set to set can_hihglight
 property to its children.

Change-Id: I93d1d0f5eb061a8883532e29f9acab74480ecd9f

7 years agoelm: add missing since_tizen tag 17/97517/2
Jee-Yong Um [Mon, 14 Nov 2016 10:35:15 +0000 (19:35 +0900)]
elm: add missing since_tizen tag

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

7 years agogengrid: add elm,state,clicked signal for real select(click) event processing
SangHyeon Lee [Tue, 15 Nov 2016 10:54:38 +0000 (19:54 +0900)]
gengrid: add elm,state,clicked signal for real select(click) event processing

Change-Id: If13b677145179c90eb26b8bbdedb33ffbf0cbde2

7 years agogenlist: fix demote issue when item still in the queue, not working properly 75/90475/4
SangHyeon Lee [Fri, 30 Sep 2016 07:58:41 +0000 (16:58 +0900)]
genlist: fix demote issue when item still in the queue, not working properly

Change-Id: Ia8123ba24cdd0ce739b4adba6f3b95bda392c219
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
7 years agogenlist: add changed size hint when realization mode enabled
SangHyeon Lee [Tue, 15 Nov 2016 04:48:25 +0000 (13:48 +0900)]
genlist: add changed size hint when realization mode enabled

Change-Id: I57883561036d3fad80ec067f7d93c59478fba1f7
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
7 years agospinner: apply UI Mirroring for Tizen 3.0
Jaeun Choi [Tue, 15 Nov 2016 02:31:49 +0000 (11:31 +0900)]
spinner: apply UI Mirroring for Tizen 3.0

spinner's look and behavior are not affected by UI mirroring,
so buttons inside a spinner should not be mirrored either.
this patch makes the buttons not to be affected by elm_config_mirrored_set
and sets the mirror mode manually as EINA_FALSE.

Change-Id: I7228e07e5d4751799bfa7c10d8c88012a7c757f9

7 years agoslider: apply UI Mirroring for Tizen 3.0
Hosang Kim [Tue, 15 Nov 2016 07:32:43 +0000 (16:32 +0900)]
slider: apply UI Mirroring for Tizen 3.0

slider's look and behavior are not affected by UI mirroring

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

7 years ago[atspi][index] index item accessibility highlight implementation
Prasoon Singh [Mon, 14 Nov 2016 15:46:10 +0000 (21:16 +0530)]
[atspi][index] index item accessibility highlight implementation

Indicator will come if highilght is present on index item and will stay untill highlight is not
gone from index item.

Change-Id: I6cd57936057f4fc954f5d21ced8fe3fc042180a8

7 years agogenlist: fix banded bg invisible issue
SangHyeon Lee [Mon, 14 Nov 2016 04:11:52 +0000 (13:11 +0900)]
genlist: fix banded bg invisible issue

Change-Id: Ic9adb9de902faee188f3ae140429c00399489e79
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
7 years agospinner: apply UI Mirroring for Tizen 3.0
Jaeun Choi [Fri, 11 Nov 2016 09:07:35 +0000 (18:07 +0900)]
spinner: apply UI Mirroring for Tizen 3.0

spinner's look and behavior are not affected by UI mirroring

Change-Id: I770c5d79c5479d5f1c1914a8669421e13dde9eec
Signed-off-by: Jaeun Choi <jaeun12.choi@samsung.com>
7 years agoRevert "entry: Adjust entry_edje min width according to cursor's geometry"
Youngbok Shin [Mon, 14 Nov 2016 04:32:16 +0000 (13:32 +0900)]
Revert "entry: Adjust entry_edje min width according to cursor's geometry"

This reverts commit 81b1eaee89ab014223056dd0f65722ab6d8a7b35.

Change-Id: I7226d9edf3dc768a5f27ce6a97de80ce64d94c97

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 agolabel: wrap width will work as min and max width
Youngbok Shin [Wed, 9 Nov 2016 07:12:40 +0000 (16:12 +0900)]
label: wrap width will work as min and max width

The given width from elm_label_wrap_width_set() will work
as min and max width for the given label object.

@tizen_fix

Change-Id: I0d46ce5c7ab501492cff6992bfd3aba8447db14c

7 years ago[atspi] add widget/widget_item accessible_description_set/get
Shinwoo Kim [Fri, 11 Nov 2016 12:12:16 +0000 (21:12 +0900)]
[atspi] add widget/widget_item accessible_description_set/get

Because the translatable domain exits in widget/widget_item data, it does not work with base interface description_set/get.

http://suprem.sec.samsung.net/jira/browse/TSAM-9930

Change-Id: I54258ef6167a9bf0aeb808f1f2751513fed31629

7 years agoelm_scorller: supporting mirrored UI mode
Wonki Kim [Fri, 4 Nov 2016 06:54:05 +0000 (15:54 +0900)]
elm_scorller: supporting mirrored UI mode

if mirrored mode is set, calculate position by flipping x axis internally
current page getter will be horizontally flipped

Change-Id: I28a2ab2a42b63a929f541996f52669bff8e3a7e4
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
7 years agoprogressbar: apply UI Mirroring for Tizen 3.0
Bowon Ryu [Wed, 9 Nov 2016 10:15:52 +0000 (19:15 +0900)]
progressbar: apply UI Mirroring for Tizen 3.0

Change-Id: I4c4b0976a4daf0bb8b14251d56a41a3dca13d9b5
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
7 years agoelm_image: Preserve backward compatibility with Tizen 2.4.
Hosang Kim [Fri, 11 Nov 2016 05:37:39 +0000 (14:37 +0900)]
elm_image: Preserve backward compatibility with Tizen 2.4.

add evas_object_repeat_event_set() to image object.

Change-Id: Ide2bf193bf8ea3c2a301246ef97ac583dc7ecd76

7 years ago[access] remove previous access object before register
Shinwoo Kim [Wed, 9 Nov 2016 12:10:27 +0000 (21:10 +0900)]
[access] remove previous access object before register

Change-Id: I485462d98029befa3fa754d7dcbe428fe330daa5

7 years ago[atspi] change accessible name to const char* - it is same with accessible description
Shinwoo Kim [Fri, 4 Nov 2016 13:04:00 +0000 (22:04 +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: Id32c83a44f8e5830553b1b439cef172e73e2d62a

7 years agoFix SVACE issues - 150820, 150821, 150838
Shinwoo Kim [Fri, 11 Nov 2016 04:40:43 +0000 (13:40 +0900)]
Fix SVACE issues - 150820, 150821, 150838

- Uninitialized data
- Missed return statement

Change-Id: I5f928f8f6f905526eb9295f633888a0457bcc89b