platform/upstream/elementary.git
9 years agoelm_icon_external: cleanup ERR msg in error case
Marcel Hollerbach [Wed, 17 Jun 2015 12:53:37 +0000 (14:53 +0200)]
elm_icon_external: cleanup ERR msg in error case

Summary:
Setting the group without checking it exists causes a errormessage, this
is pretty annoying for people which want to set a standart icon. And
give a better errormessage if the standart setting failed.

Reviewers: raster, cedric

Reviewed By: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoatspi_bridge: fix memory leak issue
Hosang Kim [Wed, 17 Jun 2015 12:49:40 +0000 (14:49 +0200)]
atspi_bridge: fix memory leak issue

Summary:
Call eldbus_message_unref to free Eldbus_Message structure.
And delete unused Eldbus_Message variable.
CID-386474
CID-391869
CID-394549

Reviewers: raster, woohyun, CHAN, Hermet, seoz, lukasz.stanislawski, cedric

Reviewed By: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agotest_gengrid: remove EINA_UNUSED for a used argument
Vaibhav Gupta [Wed, 17 Jun 2015 12:46:22 +0000 (14:46 +0200)]
test_gengrid: remove EINA_UNUSED for a used argument

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

Reviewers: raster, Hermet, cedric

Reviewed By: cedric

Subscribers: sachin.dev, singh.amitesh

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoelm_gen_common: fix typo in Struct variable documentation
Anand [Wed, 17 Jun 2015 12:32:03 +0000 (14:32 +0200)]
elm_gen_common: fix typo in Struct variable documentation

Reviewers: Hermet, cedric

Reviewed By: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoedje_externals: add safety check for NULL pointer
Minwoo, Lee [Wed, 17 Jun 2015 12:25:29 +0000 (14:25 +0200)]
edje_externals: add safety check for NULL pointer

Summary: Dereferencing null pointers in external_signal()

Reviewers: bdilly, raster, woohyun, cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoapp_server: add null check for dbus_state_set/elm_app_server_views_eet_new
taehyub [Wed, 17 Jun 2015 12:19:31 +0000 (14:19 +0200)]
app_server: add null check for dbus_state_set/elm_app_server_views_eet_new

Reviewers: Hermet, woohyun, raster, cedric

Reviewed By: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoelm_image: Solve clash on the meaning of "animated"
Vitor Sousa [Wed, 17 Jun 2015 09:17:19 +0000 (10:17 +0100)]
elm_image: Solve clash on the meaning of "animated"

Summary:
Both Elm_Image and its base interface Efl.Image have a property named
"animated".
The meaning for Efl.Image is whether or not the image has animation.
On the other hand, Elm_Image use it to set whether an image, which supports
animation, is to animate itself or not.
Thus Elm_Image have another property (animated_available) to tell whether the
image have animation or not, making it even more confusing.

Renamed the "animated" property of Elm_Image to "animated_enable" to make
the intended meaning clearer.
Also replaced the "animated_available" property with the "animated" property
from the Efl.Image interface, since both refers to the same thing, in order
to reduce the API.

Added implementations of the legacy methods for backward compatibility.

Address the issue:
- Elm image and the image interface clash because of the meaning of "animated".
Specified in the page:
https://phab.enlightenment.org/w/efl_interfaces/

Reviewers: felipealmeida, tasn

Subscribers: raster

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

9 years agoconfig: fix comment
Jaehwan Kim [Wed, 17 Jun 2015 08:51:40 +0000 (17:51 +0900)]
config: fix comment

9 years agoconfig: make a config directory, if it is not.
Jaehwan Kim [Wed, 17 Jun 2015 08:37:01 +0000 (17:37 +0900)]
config: make a config directory, if it is not.

create the config directory to register flush file to eio_monitor.

9 years agofix more elm config file pointer access
Carsten Haitzler (Rasterman) [Wed, 17 Jun 2015 07:54:08 +0000 (16:54 +0900)]
fix more elm config file pointer access

again - follow up from changes to config code to fix seg

9 years agoelm config files - don't write to file if file handle is null
Carsten Haitzler (Rasterman) [Wed, 17 Jun 2015 07:37:56 +0000 (16:37 +0900)]
elm config files - don't write to file if file handle is null

fixes seg with new file only config for elm

9 years agowin: fix bug about engine value.
ChunEon Park [Wed, 17 Jun 2015 04:54:42 +0000 (13:54 +0900)]
win: fix bug about engine value.

When application does not have any value of engine,
this app should be launched with elm_config's value.

Signed-Off-By: Wonsik Jung <sidein@samsung.com>
9 years agowin: do not use deferred ecore evas deletion for FAKE wins
Mike Blumenkrantz [Tue, 16 Jun 2015 21:01:02 +0000 (17:01 -0400)]
win: do not use deferred ecore evas deletion for FAKE wins

these ees will be deleted externally anyway

@fix

9 years agowin: only trigger del trap if win type is not FAKE
Mike Blumenkrantz [Tue, 16 Jun 2015 21:00:44 +0000 (17:00 -0400)]
win: only trigger del trap if win type is not FAKE

@fix

9 years agotheme: migrate all e users of darken_rounded_square to new darken_square image
Mike Blumenkrantz [Tue, 16 Jun 2015 20:28:59 +0000 (16:28 -0400)]
theme: migrate all e users of darken_rounded_square to new darken_square image

nearly everything in e is square except for this, which was a holdover from the
b&w theme. the new image looks more coherent with the rest of the square look

image created by me, licensing to match rest of theme images

@feature

9 years agonotification: set fixed on app icon to eliminate edje calc error
Mike Blumenkrantz [Tue, 16 Jun 2015 20:28:27 +0000 (16:28 -0400)]
notification: set fixed on app icon to eliminate edje calc error

9 years agoentry: emit changed,user signal when text is pasted or dropped
Thiep Ha [Tue, 16 Jun 2015 13:41:55 +0000 (14:41 +0100)]
entry: emit changed,user signal when text is pasted or dropped

Summary:
When text is pasted or dropped into entry, the "changed,user" signal
should be emitted, not "changed" signal.
Currently, the "changed" signal is emitted.
This patch fixes this issue.

@fix

Reviewers: herdsman, tasn

Subscribers: tasn

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

9 years agoelm_config: remove X dependency.
Jaehwan Kim [Tue, 16 Jun 2015 04:52:23 +0000 (13:52 +0900)]
elm_config: remove X dependency.

Summary:
In wayland, elm_config_all_flush doesn't work.
It has X dependency totally.
It uses ecore_file_monitor instead of X property.

Reviewers: Hermet, devilhorns, raster, cedric

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

9 years agocomp effects: add tooltip visibility effect
Mike Blumenkrantz [Mon, 15 Jun 2015 17:49:18 +0000 (13:49 -0400)]
comp effects: add tooltip visibility effect

9 years agocomp effects: increase size of vertical visibility effect to include shadows
Mike Blumenkrantz [Mon, 15 Jun 2015 17:48:48 +0000 (13:48 -0400)]
comp effects: increase size of vertical visibility effect to include shadows

9 years agoelm_flip: small error handle fix
Ji-Youn Park [Mon, 15 Jun 2015 13:38:12 +0000 (22:38 +0900)]
elm_flip: small error handle fix

if we cannot create slice, we had better stop to change slice

9 years agoindex: Add NULL check for malloc memory allocation.
Jaehyun Cho [Mon, 15 Jun 2015 06:51:02 +0000 (15:51 +0900)]
index: Add NULL check for malloc memory allocation.

9 years agolayout: Add NULL check for calloc memory allocation.
Jaehyun Cho [Mon, 15 Jun 2015 06:39:02 +0000 (15:39 +0900)]
layout: Add NULL check for calloc memory allocation.

9 years agolayout: Fix to pass correct argument for edje_object_part_unswallow.
Jaehyun Cho [Mon, 15 Jun 2015 06:35:31 +0000 (15:35 +0900)]
layout: Fix to pass correct argument for edje_object_part_unswallow.

9 years agolayout: Add NULL check for ELM_NEW memory allocation.
Jaehyun Cho [Mon, 15 Jun 2015 05:56:42 +0000 (14:56 +0900)]
layout: Add NULL check for ELM_NEW memory allocation.

9 years agoclock: Add safety check for NULL pointer from localtime() func.
Youngbok Shin [Mon, 15 Jun 2015 05:17:32 +0000 (08:17 +0300)]
clock: Add safety check for NULL pointer from localtime() func.

Summary:
localtime() can return NULL when there is an error.
@fix

Reviewers: raster, woohyun, Hermet, JackDanielZ

Subscribers: JackDanielZ

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

9 years agocnp: Add safety check for NULL pointer from malloc().
Youngbok Shin [Mon, 15 Jun 2015 05:08:34 +0000 (08:08 +0300)]
cnp: Add safety check for NULL pointer from malloc().

Summary:
It could make crash when malloc is failed.
@fix

Reviewers: raster, woohyun, Hermet, JackDanielZ, thiepha

Subscribers: JackDanielZ

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

9 years agocnp: Fix memory leak issue.
Youngbok Shin [Mon, 15 Jun 2015 05:05:02 +0000 (08:05 +0300)]
cnp: Fix memory leak issue.

Summary: Call efreet_uri_free() API to free Efreet_Uri structure.

Test Plan: None.

Reviewers: raster, cedric, woohyun, Hermet, thiepha, JackDanielZ

Subscribers: JackDanielZ

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

9 years agocalendar: + null check.
ChunEon Park [Mon, 15 Jun 2015 04:58:02 +0000 (13:58 +0900)]
calendar: + null check.

9 years agoclendar: + null check
ChunEon Park [Mon, 15 Jun 2015 04:39:14 +0000 (13:39 +0900)]
clendar: + null check

gmtime can return NULL vaule.
if so strftime will cause crash.

this patch just prevent that potential situation.

9 years agoelm_interface_scrollable : Fix logic about setting EVAS_EVENT_FLAG_ON_HOLD
Hosang Kim [Wed, 3 Jun 2015 13:08:38 +0000 (22:08 +0900)]
elm_interface_scrollable : Fix logic about setting EVAS_EVENT_FLAG_ON_HOLD

Summary: Even if scroller is not scrolled, EVAS_EVENT_FLAG_ON_HOLD is set. So clicked event is canceled in Edje.

Test Plan:
On the button in the vertical scroller, click button and move mouse horizontal.
Mouse up on the button, so now button is not clicked

Reviewers: Hermet, CHAN, seoz, jaehwan, woohyun, SanghyeonLee

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

9 years agoDnD: fix memory leak
Daniel Zaoui [Sun, 14 Jun 2015 08:14:02 +0000 (11:14 +0300)]
DnD: fix memory leak

9 years agoDnD/X11: Fix invalid access to memory
Daniel Zaoui [Sun, 14 Jun 2015 08:12:36 +0000 (11:12 +0300)]
DnD/X11: Fix invalid access to memory

It seems X doesn't send the data with the termination.

9 years agoDnD/X11: rename notifiers
Daniel Zaoui [Sun, 14 Jun 2015 06:53:45 +0000 (09:53 +0300)]
DnD/X11: rename notifiers

As the notify functions don't notify anymore, they have to be renamed to
reflect their real job, i.e data preparers before calling user
functions.

9 years agoDnD/X11: refactor the notifiers
Daniel Zaoui [Sat, 13 Jun 2015 17:33:14 +0000 (20:33 +0300)]
DnD/X11: refactor the notifiers

Each data notifier was preparing data and then invoking the user callbacks
for DnD or selection protocols.
Most of the notifiers code was handling the user callbacks invocation
and was the same for all of them.

This patch simplifies the notifiers by moving the user callbacks
invocation into a common place for all the types, i.e into the notify
dispatcher.
The notifiers prototype has been changed to suit the code modifications.

9 years agoDnD/X11: remove unused function
Daniel Zaoui [Sat, 13 Jun 2015 09:22:52 +0000 (12:22 +0300)]
DnD/X11: remove unused function

9 years agofileselector: add NULL check for memory allocation
WooHyun Jung [Sat, 13 Jun 2015 06:45:36 +0000 (15:45 +0900)]
fileselector: add NULL check for memory allocation

9 years agoentry: add dnd image handling
Thiep Ha [Tue, 9 Jun 2015 08:09:47 +0000 (17:09 +0900)]
entry: add dnd image handling

When image is dropped into entry, we should insert image to it.
This patch adds image inserting in dropping.

@fix

9 years agoCnp/X11: correct object parameter in datacb
Thiep Ha [Tue, 9 Jun 2015 08:06:45 +0000 (17:06 +0900)]
Cnp/X11: correct object parameter in datacb

The object parameter in datacb must be the selection request object,
not the selection owner object.
This patch corrects that.

Test case: open two windows with entry, copy text from one entry in
first window, paste to entry in other window.

@fix

9 years agoCnp/X11: move entry-only code in elm_cnp to entry
Thiep Ha [Tue, 9 Jun 2015 08:04:48 +0000 (17:04 +0900)]
Cnp/X11: move entry-only code in elm_cnp to entry

There is code in elm_cnp.c which is used to paste data to entry widget only.
This can cause error if widget is not entry.
This patch removes that code in elm_cnp.c and adds datacb to entry
to insert content to entry.

@fix

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