platform/upstream/elementary.git
9 years agoDnd/X11: add dnd support for image, uri types
Thiep Ha [Tue, 9 Jun 2015 07:51:13 +0000 (16:51 +0900)]
Dnd/X11: add dnd support for image, uri types

There is no dnd callbacks for image, uri types.
This patch adds dnd callbacks for those types.

@fix

9 years agocnp: Add safety check for NULL pointer from strdup().
Youngbok Shin [Fri, 12 Jun 2015 08:02:05 +0000 (11:02 +0300)]
cnp: Add safety check for NULL pointer from strdup().

Summary:
It could make crash when strdup() is failed.
CID - 329115
@fix

Reviewers: raster, thiepha, woohyun, Hermet

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

9 years agocnp: Add safety check for NULL pointer from calloc() for anim_icon.
Youngbok Shin [Fri, 12 Jun 2015 08:01:55 +0000 (11:01 +0300)]
cnp: Add safety check for NULL pointer from calloc() for anim_icon.

Summary:
It could be failed to allocate memory for Anim_Icon.
CID - 337351
@fix

Reviewers: raster, thiepha, woohyun, Hermet

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

9 years agocnp: Add safety check for NULL pointer from _elm_util_text_to_mkup().
Youngbok Shin [Fri, 12 Jun 2015 07:56:22 +0000 (10:56 +0300)]
cnp: Add safety check for NULL pointer from _elm_util_text_to_mkup().

Summary:
_elm_util_text_to_mkup() func could return NULL when malloc is failed internally.
CID - 398441
@fix

Reviewers: raster, thiepha, woohyun, Hermet

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

9 years agoelm_win: fix keygrab bug to use wrong keygrab mode
Ji-Youn Park [Fri, 12 Jun 2015 02:16:25 +0000 (11:16 +0900)]
elm_win: fix keygrab bug to use wrong keygrab mode

The code set worng ecore_x_keygrab mode according keygrab mode.
and changed some codes for readablity.

9 years agoeo: migrate all event docs to new syntax
Daniel Kolesa [Thu, 11 Jun 2015 16:13:46 +0000 (17:13 +0100)]
eo: migrate all event docs to new syntax

9 years agocomp effects: add vertical visibility effect
Mike Blumenkrantz [Thu, 11 Jun 2015 15:39:26 +0000 (11:39 -0400)]
comp effects: add vertical visibility effect

9 years agoeo: migrate enum docs to new format
Daniel Kolesa [Thu, 11 Jun 2015 15:39:33 +0000 (16:39 +0100)]
eo: migrate enum docs to new format

9 years agowidget: Add null check
Thiep Ha [Thu, 11 Jun 2015 10:05:52 +0000 (12:05 +0200)]
widget: Add null check

Summary: Adding NULL checking when allocate memory.

Reviewers: Hermet, seoz, cedric

Reviewed By: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agotransit: add NULL check for memory allocation.
Thiep Ha [Thu, 11 Jun 2015 10:05:10 +0000 (12:05 +0200)]
transit: add NULL check for memory allocation.

Summary: Adding Null checking when allocate memory.

Reviewers: Hermet, seoz

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoUpdating italian translation
maxerba [Thu, 11 Jun 2015 12:20:06 +0000 (14:20 +0200)]
Updating italian translation

9 years agolist: add atspi SELECTABLE state to elm_list items.
Lukasz Stanislawski [Thu, 11 Jun 2015 08:57:23 +0000 (10:57 +0200)]
list: add atspi SELECTABLE state to elm_list items.

9 years ago[layout] support mirrored set for layout which is using elm_layout_file_set()
Shinwoo Kim [Tue, 9 Jun 2015 13:05:58 +0000 (14:05 +0100)]
[layout] support mirrored set for layout which is using elm_layout_file_set()

Summary: mirroed mode does not work, if layout uses elm_layout_file_set().

Test Plan:
the following is test code.
[test.edc]
collections {

   group {
      name: "layout/test";

      parts {

         part {
            name: "bg";
            type: RECT;
               description {
               state: "default" 0.0;
               color: 255 255 0 100;
            }
         }

         part {
            name: "test.rect";
            type: RECT;
               description {
               state: "default" 0.0;
               color: 255 0 0 255;
               rel1.to: bg;
               rel1.relative: 0.2 0.1;
               rel2.to: bg;
               rel2.relative: 0.5 0.2;
            }
         }

      } /* parts */
   } /* group */
} /* collections */

[test.c]
//Compile with:
//gcc -g test.c -o test `pkg-config --cflags --libs elementary`

#include <Elementary.h>
#include <Ecore_X.h>

static void
_bt_click(void *data, Evas_Object *obj, void *event_info)
{
   Eina_Bool mirrored;
   Evas_Object *layout;

   layout = data;

   mirrored = elm_config_mirrored_get();
   mirrored = !mirrored;
   printf("mirred: %d\n", mirrored);
   elm_config_mirrored_set(mirrored);
}

EAPI_MAIN int
elm_main(int argc, char **argv)
{
   Evas_Object *win, *box, *layout, *bt, *check;
   char buf[PATH_MAX];

   elm_app_info_set(elm_main, "elementary", "./test.edj");
   elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED);

   win = elm_win_add(NULL, "Layout", ELM_WIN_BASIC);
   elm_win_autodel_set(win, EINA_TRUE);

   box = elm_box_add(win);
   evas_object_size_hint_weight_set(box, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
   elm_win_resize_object_add(win, box);
   evas_object_show(box);

   // Adding layout and filling it with widgets
   layout = elm_layout_add(win);
   evas_object_size_hint_weight_set(layout, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
   evas_object_size_hint_align_set(layout, EVAS_HINT_FILL, EVAS_HINT_FILL);
   snprintf(buf, sizeof(buf), "./test.edj");
   elm_layout_file_set(layout, buf, "layout/test");
   elm_box_pack_end(box, layout);
   evas_object_show(layout);

   bt = elm_button_add(win);
   elm_object_text_set(bt, "mirrored");
   evas_object_size_hint_weight_set(bt, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
   evas_object_size_hint_align_set(bt, EVAS_HINT_FILL, EVAS_HINT_FILL);
   evas_object_smart_callback_add(bt, "clicked", _bt_click, layout);
   elm_box_pack_end(box, bt);
   evas_object_show(bt);

   check = elm_check_add(win);
   elm_object_text_set(check, "test");
   evas_object_size_hint_weight_set(check, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
   evas_object_size_hint_align_set(check, EVAS_HINT_FILL, EVAS_HINT_FILL);
   elm_box_pack_end(box, check);
   evas_object_show(check);

   evas_object_resize(win, 500, 500);
   evas_object_show(win);

   elm_run();
   elm_shutdown();

   return 0;
}
ELM_MAIN()

Reviewers: seoz, raster, tasn, Hermet

Subscribers: seoz, cedric

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

9 years agofix list item mode change on elm list
Carsten Haitzler (Rasterman) [Tue, 9 Jun 2015 07:43:38 +0000 (16:43 +0900)]
fix list item mode change on elm list

@fix

9 years agoelm list - theme - make compress moder work again
Carsten Haitzler (Rasterman) [Tue, 9 Jun 2015 07:25:24 +0000 (16:25 +0900)]
elm list - theme - make compress moder work again

someone.. somewhere along the way.. likely a long time ago.. broke
compress mode. likely the addition of the ellipsis value as an
ellipsis position or something related to that broke compatibility,
as this used to work. be that as it may... finding out just where is
virtually impossible, so fix it the simpler way - add elipsis values

9 years agopager16: add signals for toggling content visibility
Mike Blumenkrantz [Mon, 8 Jun 2015 18:29:04 +0000 (14:29 -0400)]
pager16: add signals for toggling content visibility

9 years agoshelf: use spacer for content sizing, toggle content visibility
Mike Blumenkrantz [Mon, 8 Jun 2015 18:26:15 +0000 (14:26 -0400)]
shelf: use spacer for content sizing, toggle content visibility

9 years agoshelf: use constant rects for eventing
Mike Blumenkrantz [Mon, 8 Jun 2015 16:35:54 +0000 (12:35 -0400)]
shelf: use constant rects for eventing

9 years agotest_win_keygrab: Better use strncpy when copying into fixed size buffer.
Stefan Schmidt [Mon, 8 Jun 2015 15:20:45 +0000 (17:20 +0200)]
test_win_keygrab: Better use strncpy when copying into fixed size buffer.

We should never copy more than PATH_MAX.

CID: 1298016

9 years agoelm theme - toolbar - adjust padding for the toolbar to not look so bad
Carsten Haitzler (Rasterman) [Sun, 7 Jun 2015 02:22:31 +0000 (11:22 +0900)]
elm theme - toolbar - adjust padding for the toolbar to not look so bad

therw was always a small 2 pixel padding inside the toolbar. it just
looks bad for toolbar so expand out to boundary of toolbar

9 years agoatspi: fix popup role and signal emission
Lukasz Stanislawski [Fri, 5 Jun 2015 13:59:46 +0000 (15:59 +0200)]
atspi: fix popup role and signal emission

9 years agotooltip: fix tooltip multi line text issue
Amitesh Singh [Thu, 4 Jun 2015 09:25:25 +0000 (10:25 +0100)]
tooltip: fix tooltip multi line text issue

Summary:
This is fixed by removing wrap=word from tooltip style.

Resolves: T2034

@fix

Test Plan:
1. elementary_test -> tooltip
2. click "unlock tooltip visibility"
3. check tooltip text. full text is not visible.

Reviewers: seoz, raster, Hermet, cedric, tasn

Reviewed By: tasn

Subscribers: seoz

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

9 years agoentry: improve at-spi2 accessibility support
Lukasz Stanislawski [Wed, 3 Jun 2015 15:36:42 +0000 (17:36 +0200)]
entry: improve at-spi2 accessibility support

* return guide text instead of content
* mask passwords
* set proper at-spi roles when entry enables password mode.

9 years agoatspi: fix signal name
Lukasz Stanislawski [Wed, 3 Jun 2015 14:58:23 +0000 (16:58 +0200)]
atspi: fix signal name

9 years agointerface scrollerable: modify the loop_v condition in _elm_scroll_momentum_animator...
taehyub [Wed, 3 Jun 2015 12:30:49 +0000 (21:30 +0900)]
interface scrollerable: modify the loop_v condition in _elm_scroll_momentum_animator() function

Summary:
change the 'sid->loop_v' condition to '!sid->loop_v' to delete momentum animator
when the vertical scroller reached the end of the content

@fix

Reviewers: raster, Hermet, woohyun

Subscribers: CHAN

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

9 years agoGengrid: Fix typo in API Documentation.
Vaibhav Gupta [Wed, 3 Jun 2015 12:19:32 +0000 (21:19 +0900)]
Gengrid: Fix typo in API Documentation.

Summary: Signed-off-by: Vaibhav Gupta <g.vaibhav1@samsung.com>

Reviewers: raster, Hermet

Reviewed By: Hermet

Subscribers: sachin.dev, singh.amitesh

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

9 years agoGenlist: Fix typo in API Documentation
Vaibhav Gupta [Wed, 3 Jun 2015 12:17:49 +0000 (21:17 +0900)]
Genlist: Fix typo in API Documentation

Summary: Signed-off-by: Vaibhav Gupta <g.vaibhav1@samsung.com>

Reviewers: raster, Hermet

Reviewed By: Hermet

Subscribers: sachin.dev, singh.amitesh

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

9 years agoElm: Add context,open signal in elm_entry.
shilpa.singh [Wed, 3 Jun 2015 09:41:13 +0000 (10:41 +0100)]
Elm: Add context,open signal in elm_entry.

Summary:
When context,open signal is sent from elm_entry before showing context
menu, dynamic addition of context menu items to entry becomes easier.

@feature

Test Plan:
Run elementary_test
Launch Entry Scrolled test
Right Click on Multiline Markup entry

Reviewers: tasn

Reviewed By: tasn

Subscribers: subodh6129, poornima.srinivasan

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

9 years agoexamples: Replace setenv() with elm_config_accel_preference_set().
Jaehyun Cho [Tue, 2 Jun 2015 10:25:39 +0000 (19:25 +0900)]
examples: Replace setenv() with elm_config_accel_preference_set().

Replace environment value set with elm_config_accel_preference_set.

9 years agoexamples: Replace preferred engine "opengl_x11" with accel preference "3d".
Jaehyun Cho [Tue, 2 Jun 2015 07:43:20 +0000 (16:43 +0900)]
examples: Replace preferred engine "opengl_x11" with accel preference "3d".

Replace preferred engine "opengl_x11" with accel preference "3d".

9 years agoFocus: add and fix comments
Daniel Zaoui [Tue, 2 Jun 2015 05:46:55 +0000 (08:46 +0300)]
Focus: add and fix comments

9 years agomissed from prvious commit
WooHyun Jung [Tue, 2 Jun 2015 04:48:09 +0000 (13:48 +0900)]
missed from prvious commit

9 years agoelm_focus: added new focus move policy and elm_object_focus_move_policy_set/get
WooHyun Jung [Tue, 2 Jun 2015 04:42:00 +0000 (13:42 +0900)]
elm_focus: added new focus move policy and elm_object_focus_move_policy_set/get

New focus move policy, ELM_FOCUS_MOVE_POLICY_KEY_ONLY, is added.
If you set this policy as base focus move policy, objects cannot steal
focus by using mouse click or mouse in. Only keyboard input (such as Left,
Right, Up, Down, ...) can make focus be moved.
Additaionally, an object can have its own focus move policy by using
elm_object_focus_move_policy_set API.

@feature

9 years agoElm widget: Fix some Eolian warnings.
Tom Hacohen [Mon, 1 Jun 2015 14:01:57 +0000 (15:01 +0100)]
Elm widget: Fix some Eolian warnings.

9 years agoRevert "Spinner: Add changed callback call when spinner value set."
ChunEon Park [Fri, 29 May 2015 03:32:02 +0000 (12:32 +0900)]
Revert "Spinner: Add changed callback call when spinner value set."

This reverts commit 8278dff6a742c391f7c04c3de1033574d818dbb6.

This is not good for scenarios and will break the compatibility.

Thanks to David for reporting.

9 years agotooltip: fix positioning when tooltip is affixed to a window object
Mike Blumenkrantz [Fri, 29 May 2015 01:34:25 +0000 (21:34 -0400)]
tooltip: fix positioning when tooltip is affixed to a window object

@fix

9 years agoglview: preserved changed state when altering render mode
Mike Blumenkrantz [Thu, 28 May 2015 19:35:35 +0000 (15:35 -0400)]
glview: preserved changed state when altering render mode

fixes the case where glview is marked changed and then the render policy
is modified prior to the render callback executing

@fix

9 years agoAdjust according to Eo changes.
Tom Hacohen [Thu, 28 May 2015 16:47:49 +0000 (17:47 +0100)]
Adjust according to Eo changes.

9 years agogengrid/genlist: decrement item counter before triggering item del callback
Mike Blumenkrantz [Thu, 28 May 2015 15:58:46 +0000 (11:58 -0400)]
gengrid/genlist: decrement item counter before triggering item del callback

@fix

9 years agoGengrid: fix mirroring bug in gengrid widget.
SangHyeon Lee [Thu, 28 May 2015 14:07:27 +0000 (23:07 +0900)]
Gengrid: fix mirroring bug in gengrid widget.

Summary:
Below bugs are exist in gengrid widget when use horizontal mode and mirrored set.

1. Gengrid item is placed wrong position when mirrored set.
   Current calulation for mirroring in _item_place only consider pan object positions.
   if widget is mirrored, item should be placed opposited position so object x position must be
   consider in mirroring calculation also.

2. Gengrid scroll(pan) minimum size is returned wrong value when mirroed set.
   As the result of 1's calculation present oposite position of items, so align also reversed when mirrored.
   but current gengrid didn't change align x so minimum size is return wrong value
   and scroller expanded wrong direction.

@fix

Test Plan:
1. run elementary_test and set mirroring On
2. run Gengrid2 in elementary_test
3. see how items are placed by push append button repeatly.
4. see scroller shows correct position and items.
5. change usr/bin/test_gengrid.c to set another align value on gengrid and test again.

Reviewers: raster, seoz, Hermet, jaehwan

Subscribers: Jaehyun, anand.km, eagleeye, singh.amitesh

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

9 years agoSpinner: Add changed callback call when spinner value set.
woochan lee [Thu, 28 May 2015 11:39:32 +0000 (20:39 +0900)]
Spinner: Add changed callback call when spinner value set.

Summary:
There is a code to compare value is changed.
1256: if (sd->val == val) return;

Even value changed the value changed callback didn't called before.

Reviewers: woohyun, shilpasingh, Hermet

Reviewed By: shilpasingh, Hermet

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

9 years agogenlist: do a proper clean up in clear().
Amitesh Singh [Thu, 28 May 2015 10:59:22 +0000 (19:59 +0900)]
genlist: do a proper clean up in clear().

Summary: Signed-off-by: Amitesh Singh <amitesh.sh@samsung.com>

Reviewers: raster, Hermet

Subscribers: seoz, sachin.dev

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

9 years agoclipper: removed.
ChunEon Park [Thu, 28 May 2015 08:41:49 +0000 (17:41 +0900)]
clipper: removed.

we've discussed and concluded it's unncessary.

9 years agoelm - fix profile handling if ELM_PROFILE is set - dont listen to x msg
Carsten Haitzler (Rasterman) [Thu, 28 May 2015 05:58:47 +0000 (14:58 +0900)]
elm - fix profile handling if ELM_PROFILE is set - dont listen to x msg

@fix

don't listen to x profile set msg if ELM_PROFILE env var is used -
this overrides.

9 years agoelm = fix window norender handling
Carsten Haitzler (Rasterman) [Thu, 28 May 2015 03:27:59 +0000 (12:27 +0900)]
elm = fix window norender handling

this delays norender and throttle handling to allow for quick
show/hide etc. changes an app may make so to not jump state so often.
this also fixes an issue wqhere config may change leaving all windows
in norender mode.

9 years agopo/ko: Updated Korean translation.
Daniel Juyung Seo [Wed, 27 May 2015 17:05:14 +0000 (02:05 +0900)]
po/ko: Updated Korean translation.

9 years agoexamples/evas3d: Use correct variable type for a return value.
Daniel Juyung Seo [Wed, 27 May 2015 16:49:29 +0000 (01:49 +0900)]
examples/evas3d: Use correct variable type for a return value.

9 years agoelm theme - remove commented out efm icon lines so as not to confus people
Carsten Haitzler (Rasterman) [Wed, 27 May 2015 11:21:30 +0000 (20:21 +0900)]
elm theme - remove commented out efm icon lines so as not to confus people

9 years agogengrid: implement Atspi_Selection interface
Lukasz Stanislawski [Wed, 27 May 2015 06:23:17 +0000 (08:23 +0200)]
gengrid: implement Atspi_Selection interface

Allow to select and deselect gengrid items by Assistive Technology
Clients through org.a11y.atspi.Selection dbus interface.

9 years agotest_glview: remove warning while compiling the elementary package
Anand [Tue, 26 May 2015 16:43:09 +0000 (18:43 +0200)]
test_glview: remove warning while compiling the elementary package

Summary:
test_glview.c: In function â€˜_print_gl_log’:
test_glview.c:347:10: warning: declaration of â€˜log’ shadows a global declaration [-Wshadow]

Reviewers: JackDanielZ

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agotoolbar: implement Atspi_Selection interface
Lukasz Stanislawski [Tue, 26 May 2015 14:28:35 +0000 (16:28 +0200)]
toolbar: implement Atspi_Selection interface

Allow to select and deselect toolbar items by Assistive Technology
Clients through org.a11y.atspi.Selection dbus interface.

9 years agogenlist: implement Atspi_Selection interface
Lukasz Stanislawski [Tue, 26 May 2015 13:34:52 +0000 (15:34 +0200)]
genlist: implement Atspi_Selection interface

Allow to select and deselect genlist items by Assistive Technology
Clients through org.a11y.atspi.Selection dbus interface.

9 years agotheme - efm - redo folder to stand out more amongst all the file icons
Carsten Haitzler (Rasterman) [Tue, 26 May 2015 03:14:55 +0000 (12:14 +0900)]
theme - efm - redo folder to stand out more amongst all the file icons

the paper with earmarked corner and dir in it just doesn't stand out.
too plain and so you can't tell dirs from other files easily at all.
replace with a more normal foler icon that now stands out.

9 years agoupdate po's
Carsten Haitzler (Rasterman) [Mon, 25 May 2015 02:51:55 +0000 (11:51 +0900)]
update po's

9 years agotheme - add more efm basic file type icons
Carsten Haitzler (Rasterman) [Mon, 25 May 2015 02:50:53 +0000 (11:50 +0900)]
theme - add more efm basic file type icons

Icons by ApB - see T1582 - fixes T1582

not really a bug ... just more icons. :)

9 years agoGenlist: support of ELM_OBJECT_SELECT_MODE_DISPLAY_ONLY mode of genlist item for...
Umesh Tanwar [Fri, 22 May 2015 05:33:10 +0000 (14:33 +0900)]
Genlist: support of ELM_OBJECT_SELECT_MODE_DISPLAY_ONLY mode of genlist item for ELM_ITEM_SELECT_ON_FOCUS_DISABLE config variable.

Summary:
When environment variable ELM_ITEM_SELECT_ON_FOCUS_DISABLE is set
_item_focused_next() function doesn't support for ELM_OBJECT_SELECT_MODE_DISPLAY_ONLY mode.

Signed-off-by: Umesh Tanwar <umesh.tanwar@samsung.com>
@fix

Reviewers: raster, Hermet

Subscribers: singh.amitesh, sachin.dev

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

9 years agoelm config - init wl if env vars indicate we should
Carsten Haitzler (Rasterman) [Fri, 22 May 2015 03:12:36 +0000 (12:12 +0900)]
elm config - init wl if env vars indicate we should

this ensures event id's are initted and more if we are in wl mode like
in x11 mode

@fix

9 years agotest_genlist: Fix warnings while running "Genlist Textblock".
Amitesh Singh [Thu, 21 May 2015 18:42:24 +0000 (03:42 +0900)]
test_genlist: Fix warnings while running "Genlist Textblock".

Summary:
'Genlist Textblock' uses message style which does not have elm.swallow.icon
part.

Signed-off-by: Amitesh Singh <amitesh.sh@samsung.com>
Test Plan: elementary_test -to "Genlist Textblock"

Reviewers: raster, Hermet, JackDanielZ

Subscribers: seoz, sachin.dev

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

9 years agofileselector button: correct window parent finding
Thiep Ha [Thu, 21 May 2015 18:35:47 +0000 (03:35 +0900)]
fileselector button: correct window parent finding

Summary:
Fileselector button fails to run in inwin mode.
It is caused by incorrect window parent finding.
This patch corrects the window parent finding.

@fix

Test Plan:
run FileSelector Button, toggle Inwin mode option to on,
eo gives error and nothing is shown.

Reviewers: Hermet, seoz

Reviewed By: seoz

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

9 years agoGengrid: Updated gengrid to select the last item.
Vaibhav Gupta [Thu, 21 May 2015 09:02:00 +0000 (18:02 +0900)]
Gengrid: Updated gengrid to select the last item.

Summary:
Updated gengrid to move item selection in 'vertical' mode to the last
item, when currently selected item is not in the last row. As per the
original behaviour, on moving down from such an item, it takes the
focus out of the gengrid widget. Now it is updated to go to the last
item (in last row), and then on further pressing down, focus comes
out of gengrid.

This is something similar to what happens in other UI systems like in
Ubuntu and Windows, when pressing down on (n-1)th row, the last item
in the nth row gets focused.

Signed-off-by: Vaibhav Gupta <g.vaibhav1@samsung.com>
Reviewers: Hermet, SanghyeonLee, raster

Reviewed By: raster

Subscribers: sachin.dev, singh.amitesh

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

9 years agoFix make clean
Daniel Zaoui [Thu, 21 May 2015 07:00:11 +0000 (10:00 +0300)]
Fix make clean

The problem was that eo files were deleted during make clean.

9 years agoelm_genlist: fix implementation of genlist tooltip functions
Aleksey Karmanov [Thu, 21 May 2015 01:22:23 +0000 (10:22 +0900)]
elm_genlist: fix implementation of genlist tooltip functions

Summary:
elm_genlist_item_tooltip_style_get
elm_genlist_item_tooltip_window_mode_get
@fix

Reviewers: artem.popov, myoungwoon, Hermet

Reviewed By: Hermet

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

9 years agoImmediatly change the cursor if changed from inside the widget
Dave Andreoli [Wed, 20 May 2015 19:31:53 +0000 (21:31 +0200)]
Immediatly change the cursor if changed from inside the widget

@fix elm_object_cursor_set() to work also when used with the mouse pointer
yet inside the widget, otherwise you need to mouseout/mousein to actually see
the new setted cursor.

Please give a short review on this one, maybe there is a simpler way to check
if the pointer is inside the widget...

Also added a button in the cursor test for this use case

9 years agoeo: remove occurences of @const_get/@const_set
Daniel Kolesa [Wed, 20 May 2015 16:54:54 +0000 (17:54 +0100)]
eo: remove occurences of @const_get/@const_set

9 years agoFix usage of the now removed eo_error_set().
Tom Hacohen [Wed, 20 May 2015 15:31:04 +0000 (16:31 +0100)]
Fix usage of the now removed eo_error_set().

This API has been removed from Eo.

9 years agoAdapt Eo classes to use new Eolian types
Daniel Zaoui [Wed, 20 May 2015 11:15:49 +0000 (14:15 +0300)]
Adapt Eo classes to use new Eolian types

9 years agoMove elm_general types to Eolian format
Daniel Zaoui [Wed, 20 May 2015 11:15:23 +0000 (14:15 +0300)]
Move elm_general types to Eolian format

9 years agoEolian: support of eot file
Daniel Zaoui [Mon, 18 May 2015 06:44:27 +0000 (09:44 +0300)]
Eolian: support of eot file

9 years agoAdjust usage of eo_constructor() according to recent changes.
Tom Hacohen [Tue, 19 May 2015 12:34:07 +0000 (13:34 +0100)]
Adjust usage of eo_constructor() according to recent changes.

9 years agoatspi: improve way of setting ATSPI SHOWING state
Lukasz Stanislawski [Tue, 19 May 2015 11:33:19 +0000 (13:33 +0200)]
atspi: improve way of setting ATSPI SHOWING state

After this patch calculation of the atspi SHOWING state takes into
account also viewport of any parent implementing ELM_INTERFACE_SCROLLABLE.

9 years agotest/scroller: apply coding style.
Daniel Zaoui [Wed, 20 May 2015 06:09:46 +0000 (09:09 +0300)]
test/scroller: apply coding style.

9 years agoscroller: add example for resizing scroll's content area.
ChunEon Park [Tue, 19 May 2015 13:00:18 +0000 (22:00 +0900)]
scroller: add example for resizing scroll's content area.

Summary:
When content is resized, scrollbar's position is not updated.
Add bar position update after bar size is changed.

This is sample for resizing issue.

Test Plan: elementary_test -> scroller3

Reviewers: jaehwan, woohyun, seoz, raster, Hermet

Reviewed By: Hermet

Subscribers: raster

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

9 years agoelm_win: Set initial withdrawn state from win's ecore_evas property.
Jaehyun Cho [Tue, 19 May 2015 12:32:10 +0000 (21:32 +0900)]
elm_win: Set initial withdrawn state from win's ecore_evas property.

Summary:
For instance, ecore_evas sets initial withdrawn state EINA_FALSE if elm_engine is "buffer".
Therefore, the initial withdrawn state is derived from ecore_evas property.
@fix

Reviewers: raster, Hermet

Reviewed By: Hermet

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

9 years agohoversel: Added item_focus_set/item_focus_get.
Amitesh Singh [Tue, 19 May 2015 12:24:35 +0000 (21:24 +0900)]
hoversel: Added item_focus_set/item_focus_get.

Summary: @feature

Reviewers: seoz, Hermet, raster

Subscribers: seoz, sachin.dev

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

Conflicts:

src/lib/elm_hoversel_item.eo

9 years agoctxpopup: Added item_focus_set/item_focus_get.
Amitesh Singh [Tue, 19 May 2015 12:21:06 +0000 (21:21 +0900)]
ctxpopup: Added item_focus_set/item_focus_get.

Summary: @feature

Reviewers: raster, Hermet

Reviewed By: Hermet

Subscribers: seoz, sachin.dev

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

Conflicts:

src/lib/elm_ctxpopup_item.eo

9 years agoentry: update selection handlers when entry is resized
Thiep Ha [Tue, 19 May 2015 12:13:55 +0000 (21:13 +0900)]
entry: update selection handlers when entry is resized

Summary:
When entry is resized, selection handlers are not updated,
it causes selection handlers to be placed in wrong position.
This patch fixes it.

@fix

Reviewers: woohyun, seoz, herdsman, Hermet

Reviewed By: Hermet

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

9 years agoPatch to fix accessibility issue in coloselector item.
kumar navneet [Tue, 19 May 2015 12:09:38 +0000 (21:09 +0900)]
Patch to fix accessibility issue in coloselector item.

Summary:
Issue: accessibility not working in colorselector item
Soln: Fixed accessibility issue
Signed-off By: Kumar Navneet <k.navneet@samsung.com>
Signed-off By: Shilpa Singh <shilpa.singh@samsung.com>

Test Plan: export ELM_ACCESS_MODE=1, run elementary test and test color selector palette item.

Reviewers: cedric, Hermet, shilpasingh, raster

Reviewed By: shilpasingh

Subscribers: govi, poornima.srinivasan

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

9 years agotest_hover.c: remove "transparent" hover style set.
Amitesh Singh [Tue, 19 May 2015 12:06:21 +0000 (21:06 +0900)]
test_hover.c: remove "transparent" hover style set.

Summary: This hover style does not exist anymore in default theme.

Reviewers: seoz, raster, Hermet

Subscribers: seoz, sachin.dev

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

9 years agoslider: use theme of object for popup.
Amitesh Singh [Tue, 19 May 2015 12:02:55 +0000 (21:02 +0900)]
slider: use theme of object for popup.

Summary:
@fix

Signed-off-by: Amitesh Singh <amitesh.sh@samsung.com>
Reviewers: raster, Hermet, JackDanielZ

Subscribers: sachin.dev, seoz

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

9 years ago[Elm_ColorSelector]: Unnecessary widget creations, code execution avoided.
shilpa.singh [Tue, 19 May 2015 11:56:48 +0000 (20:56 +0900)]
[Elm_ColorSelector]: Unnecessary widget creations, code execution avoided.

Summary:
Issue: Too many widgets get created during smart add itself, even if
not necessary, adding to the launch time.
Solution:
Create widgets based on mode, check for modes in generic functions
like smart theme, focus etc:-

Test Plan: elementary_test can be used to test colorselector demo.

Reviewers: cedric, raster, Hermet

Subscribers: rajeshps, govi, poornima.srinivasan

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

9 years agomultibuttonentry: Delete unused data in edc.
Woochan Lee [Tue, 19 May 2015 11:27:19 +0000 (20:27 +0900)]
multibuttonentry: Delete unused data in edc.

Summary: The "closed_height" is not using in code.

Reviewers: raster, Hermet

Reviewed By: Hermet

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

9 years agotooltip: set the correct style of label.
Amitesh Singh [Tue, 19 May 2015 09:09:50 +0000 (18:09 +0900)]
tooltip: set the correct style of label.

Summary:
check theme of tooltip label by
$clouseau elementary_test -to "tooltip"
tooltipi label theme was elm/label/base/default but we want theme
"elm/label/base/tooltip/default" to be set instead.

@fix

Test Plan: $clouseau elementary_test -to "tooltip"

Reviewers: raster, Hermet

Subscribers: seoz, sachin.dev

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

9 years agoeo: Eina_Bool -> bool
Daniel Kolesa [Mon, 18 May 2015 15:27:18 +0000 (16:27 +0100)]
eo: Eina_Bool -> bool

9 years agoeo: sync with eolian syntax changes
Daniel Kolesa [Mon, 18 May 2015 15:16:08 +0000 (16:16 +0100)]
eo: sync with eolian syntax changes

This change is being done as part of the changes started by
EFL revision 058a9c9d88b4532ff859f3d7a82e15ea64a94be3.

9 years agogenlist: track viewport size changes and re-eval items when it resizes
Amitesh Singh [Mon, 18 May 2015 11:29:37 +0000 (20:29 +0900)]
genlist: track viewport size changes and re-eval items when it resizes

Summary:
This uses new Evas Callback type EVAS_CALLBACK_CANVAS_VIEWPORT_RESIZE
to listen to view port size changes.

Reviewers: Hermet, cedric, raster

Reviewed By: raster

Subscribers: SanghyeonLee, seoz

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

9 years agoentry: No need to free ptr returned by _elm_util_mkup_to_text
Amitesh Singh [Mon, 18 May 2015 10:31:27 +0000 (13:31 +0300)]
entry: No need to free ptr returned by _elm_util_mkup_to_text

Summary:
This is revision over D2459

Signed-off-by: Amitesh Singh <amitesh.sh@samsung.com>
Reviewers: raster, Hermet, JackDanielZ

Subscribers: seoz, sachin.dev

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

9 years agowidget: more fix wrt item data.
ChunEon Park [Mon, 18 May 2015 08:15:09 +0000 (17:15 +0900)]
widget: more fix wrt item data.

widget item data is no more used.
use eo item data instead.

@fix.

9 years agoelm_object_item: fix the issue that del_cb doens't get item data as its parameter
Jee-Yong Um [Mon, 18 May 2015 08:09:19 +0000 (17:09 +0900)]
elm_object_item: fix the issue that del_cb doens't get item data as its parameter

Summary:
elm_object_item_del_cb_set() can set delete callback that is called on item deletion.
Del_cb, Evas_Smart_Cb, has void pointer for item data as its first parameter.
However, getting item data is broken.

@fix

Reviewers: Hermet

Reviewed By: Hermet

Subscribers: Hermet

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

9 years agoSlideShow: Fix double invocation of ItemClass delete function
Daniel Zaoui [Sun, 17 May 2015 11:59:06 +0000 (14:59 +0300)]
SlideShow: Fix double invocation of ItemClass delete function

When closing the application, the delete function given by the user in
the Item Class was called twice. During the clear process, the function
was called for every built item and then during the item destruction.

This patch fixes this behaviour by calling the user function only during
the item destruction.

Another fix has been added. It zero'es the built list pointer inside the
item. Without this fix, the item points to a list node that is already
freed and can lead during widget deletion to an invalid access inside
the list.

@fix T2394

9 years agolabel: Fix memory leak.
Amitesh Singh [Mon, 18 May 2015 05:25:12 +0000 (08:25 +0300)]
label: Fix memory leak.

Summary:
Fix memory leak when txt is NULL.

@fix

Reviewers: raster, seoz, Hermet, JackDanielZ

Reviewed By: JackDanielZ

Subscribers: JackDanielZ, seoz, sachin.dev

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

9 years agoclipper: hide the region_set()/get() APIs.
ChunEon Park [Mon, 18 May 2015 04:56:09 +0000 (13:56 +0900)]
clipper: hide the region_set()/get() APIs.

Provide the simple api as possible.

9 years agofix makedist break.
ChunEon Park [Mon, 18 May 2015 04:30:43 +0000 (13:30 +0900)]
fix makedist break.

clipper.eo was missed in include list.

9 years agoelm_toolbar: fixing Eolian comment markup
Yakov Goldberg [Sun, 17 May 2015 15:47:10 +0000 (18:47 +0300)]
elm_toolbar: fixing Eolian comment markup

9 years agoelm_toolbar: Move enums to elm_toolbar.eo
Yakov Goldberg [Sun, 17 May 2015 12:02:03 +0000 (15:02 +0300)]
elm_toolbar: Move enums to elm_toolbar.eo

Move enums from elm_toolbar_common.h to elm_tollbar.eo in order to make
them more accessible for bindings.

9 years agoelm_flip: Move enums to elm_flip.eo
Yakov Goldberg [Sun, 17 May 2015 10:33:36 +0000 (13:33 +0300)]
elm_flip: Move enums to elm_flip.eo

Move enums from elm_flip_common.h to elm_flip.eo in order to make them
more accessible for bindings. Delete elm_flip_common.h.

9 years agoelm_scroller: Move enums to elm_scroller.eo
Yakov Goldberg [Wed, 13 May 2015 16:26:12 +0000 (19:26 +0300)]
elm_scroller: Move enums to elm_scroller.eo

Move enums from elm_scroller_common.h to elm_scroller.eo in order to make them
more accessible for bindings. Delete elm_scroller_common.h.

Moved the include for elm_scroller.eo.legacy.h to the top of elm_scroller_legacy.h
to allow the use of the generated types in the function declarations.

9 years agoelm_panel: Move enums to elm_panel.eo
Yakov Goldberg [Wed, 13 May 2015 14:27:04 +0000 (17:27 +0300)]
elm_panel: Move enums to elm_panel.eo

Move enums from elm_panel_common.h to elm_panel.eo in order to make them
more accessible for bindings.

9 years agoelm.win.eo: fixed typo
Yakov Goldberg [Sun, 17 May 2015 12:31:02 +0000 (15:31 +0300)]
elm.win.eo: fixed typo

Change param type name according to eo file: Elm.Win.Keygrab_Mode

9 years agoclipper: improve doc.
ChunEon Park [Fri, 15 May 2015 14:31:07 +0000 (23:31 +0900)]
clipper: improve doc.

9 years agoelementary: Create new widget for image masking
jiin.moon [Fri, 15 May 2015 14:09:41 +0000 (23:09 +0900)]
elementary: Create new widget for image masking

Summary:
For now, if apply image mask to smart obejct, masking does not work except to implement in edc file.
@feature

Reviewers: Jaehyun_Cho, Jaehyun, jpeg, raster, cedric, Hermet

Subscribers: raster, jpeg, cedric

Projects: #elementary

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