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

7 years ago[elementary] Fix warnings.
SubodhKumar [Mon, 7 Nov 2016 14:30:20 +0000 (20:00 +0530)]
[elementary] Fix warnings.

Change-Id: Ic38275955e88e7b368adbf47479bf703c2246686
Signed-off-by: SubodhKumar <s7158.kumar@samsung.com>
7 years ago[elm_gl_view] fix memory leak in elm_gl_view
sunghyun kim [Thu, 10 Nov 2016 13:23:18 +0000 (22:23 +0900)]
[elm_gl_view] fix memory leak in elm_gl_view

Delete evas_gl_make_current() in elm_gl_view because of memoryleak.

Change-Id: I44557c5beb3394ed976a2b3a10bc37bb82247c1a

7 years agogenlist : forcely set NULL on focused_item if item is deleted
SangHyeon Lee [Thu, 10 Nov 2016 10:01:46 +0000 (19:01 +0900)]
genlist : forcely set NULL on focused_item if item is deleted

Change-Id: I3b9d161152b464d72b4998aba6dec630e8e7c188
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
7 years agoelm_config: fix build break on windows.
Bowon Ryu [Thu, 10 Nov 2016 04:43:27 +0000 (13:43 +0900)]
elm_config: fix build break on windows.

getenv("HOME") causes the build break on windows.
This is caused by 860995081934e9496ca2eeb6b1567edd9730e4b5

Change-Id: I7a7583c524d24910d70764bae88a1a067df4ad86
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
7 years agopopup: support scrollable content
JinYong Park [Mon, 7 Nov 2016 03:41:14 +0000 (12:41 +0900)]
popup: support scrollable content

@tizen_fix (tizen 2.4 feature)

spin gerrit : I84cee87c36bf2a2facc5fb6ced9f9e4eac1380c5

Change-Id: Ibbfcc68760c81a7ea9ff65bebb81e5f30e4a8f65
Signed-off-by: Jinyong Park <j4939.park@samsung.com>
7 years agoelm_entry: scroller in entry now updates cursor position when unfocused
WooHyun Jung [Wed, 9 Nov 2016 01:45:31 +0000 (10:45 +0900)]
elm_entry: scroller in entry now updates cursor position when unfocused

@tizen_fix

Change-Id: Ief83e5856d53e451707772b044b843477ad5df3d

7 years agoatspi: add elm_atspi_ewk_wrapper class
Lukasz Stanislawski [Sun, 16 Oct 2016 16:19:10 +0000 (18:19 +0200)]
atspi: add elm_atspi_ewk_wrapper class

Create wrapper widget around Ewk_View Evas_Object in order
to integrate a11y frameworks from elementary and Chromium.
Such wrapper should be created on Chromium EFL port side, however
currently will be added on elementary side with hope to move it
into chromium library.

Change-Id: I02b15376cf387b9c88f416c7c96a9ec41e89ec79

7 years agoAccessibility : synchronized highlight of atspi and item align feature for wearable...
JunsuChoi [Fri, 4 Nov 2016 08:07:07 +0000 (17:07 +0900)]
Accessibility : synchronized highlight of atspi and item align feature for wearable profile

   In the genlist, it corrected so that highlight could move according to item align feature.
   This feature operates when screen-reader of wearable was enable.

   @TIZEN_ONLY

Change-Id: I0f838264266ff84be8909f35c00c99c7ca6f17fe

7 years agoDefault theme: remove wrong targets from program.
Mykyta Biliavskyi [Tue, 8 Nov 2016 14:36:21 +0000 (16:36 +0200)]
Default theme: remove wrong targets from program.

Some of styles contain STATE_SET programs, that try to switch part into
non existents description. For desctop application, such as Enventor and
Eflete this make launch and work slow.
This commit fix this situation by removing wrong targets or add missed
states into target parts.

Change-Id: Ia9f51afaa096cadff363d7ea28d40059b5be04a2
Signed-off-by: Mykyta Biliavskyi <m.biliavskyi@samsung.com>
7 years ago[ATSPI]: Highlight not visible in MBE[widgets which implement their own highlight UI]
Shilpa Singh [Tue, 8 Nov 2016 06:38:04 +0000 (12:08 +0530)]
[ATSPI]: Highlight not visible in MBE[widgets which implement their own highlight UI]
issue fix.

Change-Id: Ibbde93b3f78e5523b04848ca2505f718fcd80766

7 years ago[ATSPI]: On Highlight_grab read should happen, spinner role updated.
Shilpa Singh [Tue, 8 Nov 2016 05:39:11 +0000 (11:09 +0530)]
[ATSPI]: On Highlight_grab read should happen, spinner role updated.

Change-Id: I5764516e56aefadd6b336b62295026ff2dbc9863

7 years agoHighlighted obj is eo obj, so make it again view obj before checking its class and...
Prasoon Singh [Fri, 4 Nov 2016 15:15:25 +0000 (20:45 +0530)]
Highlighted obj is eo obj, so make it again view obj before checking its class and parent.

Change-Id: I30fb58e86e20dca6c1361c58b2ace8dedd3c9591

7 years agoHighlight not changing on swipe issue fix.
Shilpa Singh [Fri, 4 Nov 2016 13:59:10 +0000 (19:29 +0530)]
Highlight not changing on swipe issue fix.

Change-Id: I7749f7d6b73f73f50d9d7817fd9bf51e555885dd

7 years agoWhen flicked left/right, scroll and show content.
Shilpa Singh [Fri, 4 Nov 2016 08:57:19 +0000 (14:27 +0530)]
When flicked left/right, scroll and show content.

Change-Id: I14a0458c149d04a015e527a3d0e21426a0360966

7 years agoChanged highlighted object to eo_obj.
Prasoon Singh [Fri, 4 Nov 2016 10:37:44 +0000 (16:07 +0530)]
Changed highlighted object to eo_obj.

Change-Id: I829adbf191cd44062040f61c86043a71fde63583

7 years agoelm_popup: before getting focus, all sub objs should be shown
WooHyun Jung [Fri, 4 Nov 2016 04:26:32 +0000 (13:26 +0900)]
elm_popup: before getting focus, all sub objs should be shown

Change-Id: I1132795056035dc5dd1ffe76336af1f3e01afc6d

7 years agofix - socket proxy should be created before bridge is connected
Shinwoo Kim [Wed, 2 Nov 2016 11:50:57 +0000 (20:50 +0900)]
fix - socket proxy should be created before bridge is connected

Change-Id: I4bef45e97205eab1d125ab70fc037b2b067a2520

7 years agogenlist : fix crash in genlist selected_set in TC 03/95903/2
SangHyeon Lee [Mon, 7 Nov 2016 05:18:24 +0000 (14:18 +0900)]
genlist : fix crash in genlist selected_set in TC

Change-Id: Ifdbc09b795d176ea78651882cf39b6f632b0594b
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
7 years agoAuthor: Hermet Park <hermet@hermet.pe.kr> 66/95866/1
Hermet Park [Mon, 7 Nov 2016 04:01:42 +0000 (13:01 +0900)]
Author: Hermet Park <hermet@hermet.pe.kr>
Date:   Fri Nov 4 20:19:14 2016 +0900

    elementary transit: support image fill area in zoom effect.

    Transit zoom effect didn't care image fill area in case of manual filling.
    This additional logic computes map uvs with regards to the current image fill area.

    @fix

Change-Id: I38cd1be536333d6cf984ccea08c524498efceb90

7 years agoelm_layout: add mmap support
Andrii Kroitor [Fri, 4 Nov 2016 11:42:41 +0000 (13:42 +0200)]
elm_layout: add mmap support

Reviewers: cedric, Hermet, NikaWhite, raster

Subscribers: jpeg, reutskiy.v.v

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

Change-Id: I4eae5fb8bb7bedc6a44fe2b396719d3360aa9e16
Signed-off-by: Mykyta Biliavskyi <m.biliavskyi@samsung.com>
7 years agotoolbar: fix item resize issue. 91/95591/2
Bowon Ryu [Fri, 4 Nov 2016 02:43:17 +0000 (11:43 +0900)]
toolbar: fix item resize issue.

Change-Id: I62f2bc80cd5e33aea1111cb741bad5bc13b9ca13
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>