platform/upstream/efl.git
9 years agotest_explode: use evas_object_clipees_has instead
Amitesh Singh [Mon, 2 Nov 2015 03:27:51 +0000 (08:57 +0530)]
test_explode: use evas_object_clipees_has instead

fixes memory leak and better performance

9 years agowidget: update child_can_focus flag on focusability change
Lukasz Stanislawski [Fri, 30 Oct 2015 06:22:05 +0000 (07:22 +0100)]
widget: update child_can_focus flag on focusability change

Summary:
Previously child_can_focus flag could be only updated when
child is deleted from object's subobject list. This patch
additionally updates child_can_focus flag when focusability
is changed with elm_widget_focus_can_set function.

Patch solves child_can_focus issue in similar situations:

elm_icon_add(layout);
elm_object_content_set(layout, icon);
elm_widget_child_can_focus_get(layout); // returns EINA_TRUE

icon = elm_icon_add(win);
elm_object_content_set(layout, icon);
elm_widget_child_can_focus_get(layout); // returns EINA_FALSE

@fix

Reviewers: cedric, stefan_schmidt

Subscribers: seoz

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agomultibuttonentry: fix internal entry be an orphan when editable set API called.
woochan lee [Fri, 30 Oct 2015 05:52:00 +0000 (06:52 +0100)]
multibuttonentry: fix internal entry be an orphan when editable set API called.

Summary:
When user called "elm_multibuttonetnry_editable_set()" API as false.
the internal entry will be unpacked from box.

Then called that API as true again.
the internal entry just show without box packed.

Also, editable set API should not work in MBE shrink mode.

Test Plan:
Alternately Call elm_multibuttonentry_ediable_set API as true, false.
Then check the internal entry state.

Reviewers: Hermet, cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agomultibuttonentry: when item is clicked/selected, select function not called issue...
Shilpa Singh [Fri, 30 Oct 2015 05:26:31 +0000 (06:26 +0100)]
multibuttonentry: when item is clicked/selected, select function not called issue fix.

Summary:
The select function set in item_append does not get called on item selection issue fix.
As per documentation, the function has to get called.

@fix

Test Plan: elementary_test is updated with the demo

Reviewers: navnbeet, Hermet, CHAN, cedric

Reviewed By: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agohoversel: remove scrollable_set/get() API
Jee-Yong Um [Fri, 30 Oct 2015 03:09:28 +0000 (04:09 +0100)]
hoversel: remove scrollable_set/get() API

Summary:
Hoversel scrollability can be considered as default behavior of hoversel.
These APIs are not necessary any more.

Reviewers: cedric, DaveMDS

Subscribers: DaveMDS, cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agotest_gesture_layer: use bigger font size for entry
Amitesh Singh [Fri, 30 Oct 2015 04:47:01 +0000 (10:17 +0530)]
test_gesture_layer: use bigger font size for entry

9 years agowin: reemit atspi "focused" event on bridge connection
Lukasz Stanislawski [Wed, 28 Oct 2015 16:02:01 +0000 (17:02 +0100)]
win: reemit atspi "focused" event on bridge connection

At-spi clients assume that object:state-changed:focused event is emitted
on application start. By the time atspi_bridge will establish
connection on at-spi bus all focused events are already emitted.
To fix this we reemit "focused" event in bridge connection callback.

This fixes a bug when Orca screen reader do not read first element after
application launch.

@fix

9 years agoelm: Fix typos fun!
Daniel Juyung Seo [Wed, 28 Oct 2015 17:06:29 +0000 (02:06 +0900)]
elm: Fix typos fun!

9 years agorelease: Update NEWS and bump version for 1.16.0-beta3 release
Stefan Schmidt [Mon, 26 Oct 2015 02:59:15 +0000 (03:59 +0100)]
release: Update NEWS and bump version for 1.16.0-beta3 release

9 years agopo: update po files
Stefan Schmidt [Mon, 26 Oct 2015 02:48:00 +0000 (03:48 +0100)]
po: update po files

9 years agohoversel: expands scrollable hoversel as large as it can
Jee-Yong Um [Mon, 26 Oct 2015 00:27:02 +0000 (01:27 +0100)]
hoversel: expands scrollable hoversel as large as it can

Summary:
In D2063, "max_size" data item is added to limit the number of items
to show at a time when hoversel is expanded.
However, it limits the number of items too few, so makes scrollable
function useless.
This patch removes limitation of hoversel size with pixels,
but if it needs, developers can set the limitation yet.
(By theme customization)

Test Plan:
elementary_test "hoversel"
click the second hoversel

Reviewers: DaveMDS, cedric

Reviewed By: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agomultibuttonentry: fix label packed many times in internal box.
woochan lee [Mon, 26 Oct 2015 00:20:53 +0000 (01:20 +0100)]
multibuttonentry: fix label packed many times in internal box.

Summary:
The Internal box can has a lot of label for child when user set text many times.
Fix this wrong implement. It has to get only one label for child.

@fix

Test Plan:
Call elm_object_text_set() many times for MBE.
Check the label got a wrong geometry.

Reviewers: Hermet, cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agogesture_layer: fix long tap gesture has wrong timestamp.
woochan lee [Thu, 8 Oct 2015 10:35:07 +0000 (12:35 +0200)]
gesture_layer: fix long tap gesture has wrong timestamp.

Summary:
The timestamp has 0 value when n_long_tap_start callback called.
Then timestamp is same on each n_long_tap_move callback functions.

For fix this bug, update timestamp before called state_set function.
Also update timestamp in every timeout.

Test Plan:
Run test_gesture_layer2.c
Print timestamp in every n_long_tap_XXX callback.

Reviewers: tasn, cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoelm_colorselector: fix color selection with spinners
Andrii Kroitor [Thu, 8 Oct 2015 10:29:39 +0000 (12:29 +0200)]
elm_colorselector: fix color selection with spinners

Reviewers: cedric, Hermet, raster, reutskiy.v.v

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoelm_hoversel: remove unused internal functions
Jee-Yong Um [Thu, 8 Oct 2015 10:10:07 +0000 (12:10 +0200)]
elm_hoversel: remove unused internal functions

Summary:
remove unused internal functions
(that added for scrollability, but not used any more)

T2765

Reviewers: Hermet, cedric

Maniphest Tasks: T2765

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoRevert "elementary: Comment out (#if 0) unused functions"
Cedric BAIL [Thu, 8 Oct 2015 10:09:32 +0000 (12:09 +0200)]
Revert "elementary: Comment out (#if 0) unused functions"

This reverts commit 74a7661119d122ec52844ad58c0901db739949f1.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoelm_hoversel: change API name (label_auto_changed -> auto_update)
Jee-Yong Um [Thu, 8 Oct 2015 10:05:31 +0000 (12:05 +0200)]
elm_hoversel: change API name (label_auto_changed -> auto_update)

Summary: elm_hoversel_label_auto_changed_set/get() API names are not clear.

Reviewers: Hermet, cedric

Reviewed By: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoelm_hoversel: change Elm_Hoversel_Data member name from scroll_enabled to scrollable
Jee-Yong Um [Thu, 8 Oct 2015 10:03:37 +0000 (12:03 +0200)]
elm_hoversel: change Elm_Hoversel_Data member name from scroll_enabled to scrollable

Summary:
elm_hoversel_scroll_enabled_set/get() API were changed to
elm_hoversel_scrollable_set/get().
However, the name of member of Elm_Hovsersel_Data related to those API
are not changed.
It can confuse developers later, so change it same to the name defined
in elm_hoversel.eo file.

Reviewers: Hermet, cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoelm_index: Fix memory leak issue in realloc failure
Vivek Ellur [Thu, 22 Oct 2015 19:38:28 +0000 (12:38 -0700)]
elm_index: Fix memory leak issue in realloc failure

Summary:
@Fix

Signed-off-by: Vivek Ellur <vivek.ellur@samsung.com>
Reviewers: cedric

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

9 years agodayselector: fix warning related to argument type
Vivek Ellur [Thu, 22 Oct 2015 19:37:44 +0000 (12:37 -0700)]
dayselector: fix warning related to argument type

Summary:
@fix

Signed-off-by: Vivek Ellur <vivek.ellur@samsung.com>
Reviewers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoFix typo in docs
Dave Andreoli [Thu, 22 Oct 2015 17:35:51 +0000 (19:35 +0200)]
Fix typo in docs

not "a castrated ram (a male sheep)"  :D

9 years agoflip: use eo_isa for checking object types
Amitesh Singh [Thu, 22 Oct 2015 17:06:01 +0000 (22:36 +0530)]
flip: use eo_isa for checking object types

9 years agoimage: use eo_isa for checking object types instead of string comparison
Amitesh Singh [Thu, 22 Oct 2015 16:44:40 +0000 (22:14 +0530)]
image: use eo_isa for checking object types instead of string comparison

9 years agoelm_cnp: DnD/X11: correct drag window position in rotation
Shilpa Singh [Wed, 21 Oct 2015 21:39:05 +0000 (14:39 -0700)]
elm_cnp: DnD/X11: correct drag window position in rotation

Summary:
For various angles 90, 180, 270,  the calculation of dnd window position
is not proper causing window to be placed wrongly while dragging.
Signed-Off By: Kumar Navneet <k.navneet@samsung.com>

@fix

Test Plan:
Longpress and drag and drop in entry by placing device at various angles
90, 180 and 270.

Reviewers: woohyun, cedric, thiepha

Reviewed By: thiepha

Subscribers: navnbeet

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agobuild: simplify SUBDIR usage in examples
Stefan Schmidt [Wed, 21 Oct 2015 08:57:17 +0000 (10:57 +0200)]
build: simplify SUBDIR usage in examples

9 years agoexamples/sphere_hunter: fix another instance of floating point incorrectness
Stefan Schmidt [Wed, 21 Oct 2015 08:26:00 +0000 (10:26 +0200)]
examples/sphere_hunter: fix another instance of floating point incorrectness

I missed this one yesterday. Also change it to use floating point values
instead of casting which does not make much sense for hard-coded values.

CID: 1327343

9 years agoexamples/sphere_hunter: remove unused function
Stefan Schmidt [Tue, 20 Oct 2015 15:23:19 +0000 (17:23 +0200)]
examples/sphere_hunter: remove unused function

After fixing the Coverity issue clang told me that this function is actually
not used at all.

9 years agoelm_widget_prefs: no need to redefine a typedef we already have
Stefan Schmidt [Tue, 20 Oct 2015 15:10:12 +0000 (17:10 +0200)]
elm_widget_prefs: no need to redefine a typedef we already have

Spotted by clang. This was already typedef'ed in elm_prefs_data.h

9 years agoexamples/sphere_hunter: initialize struct in all cases
Stefan Schmidt [Tue, 20 Oct 2015 14:53:53 +0000 (16:53 +0200)]
examples/sphere_hunter: initialize struct in all cases

If l == 0 we would never initialize vec3 struct members.

CID: 1327345

9 years agoexamples/sphere_hunter: make sure we do not loose fractional part of double.
Stefan Schmidt [Tue, 20 Oct 2015 14:39:42 +0000 (16:39 +0200)]
examples/sphere_hunter: make sure we do not loose fractional part of double.

When dividing with an int we would loose the fractional part. Better cast to
a double to make clear we want double precision here.

CID: 1327343, 1327344

9 years agoexamples/sphere_hunter: use coorect logic for if condition.
Stefan Schmidt [Tue, 20 Oct 2015 14:27:10 +0000 (16:27 +0200)]
examples/sphere_hunter: use coorect logic for if condition.

We want a value here which is between 0 and 10. We need a logical AND here. If
we use OR this condition could never be false.

CID: 1327357

9 years agoexamples/camera_light: free resources if we fail to allocate all and leave
Stefan Schmidt [Tue, 20 Oct 2015 14:16:31 +0000 (16:16 +0200)]
examples/camera_light: free resources if we fail to allocate all and leave

We return here leaving maybe some other allocations around and leaking.

CID: 1327348, 1327349, 1327350

9 years agoatspi: fix invalid shift operation.
Lukasz Stanislawski [Tue, 20 Oct 2015 09:56:55 +0000 (11:56 +0200)]
atspi: fix invalid shift operation.

Add additional check in case when Elm_Atspi_Role_Type enum will enlarge.

CID: 1325724

9 years agoelm test - make automated test betetr by auto-exiting after 50 bounces
Carsten Haitzler (Rasterman) [Tue, 20 Oct 2015 05:05:05 +0000 (14:05 +0900)]
elm test - make automated test betetr by auto-exiting after 50 bounces

9 years agoelm test - genlist test - add bounce option test for testing performance
Carsten Haitzler (Rasterman) [Tue, 20 Oct 2015 03:18:59 +0000 (12:18 +0900)]
elm test - genlist test - add bounce option test for testing performance

for release we need to test performance - esp of evas and eo in real life usage
and scroling is just such one. this adds a simple automated scrolling
test to genlist test (hit the button or ELM_TEST_AUTOBOUNCE=1
elementary_test -to genlist) so you can get consistent input and benchmark info

9 years agotoolbar: limit number of min restricted calc to exacly what we need.
Cedric BAIL [Tue, 20 Oct 2015 00:06:38 +0000 (17:06 -0700)]
toolbar: limit number of min restricted calc to exacly what we need.

This change is the simplest I could do, but I think it would be better
to move _item_theme_hook inside _item_new. This is a further attempt
to fix T2777.

9 years agoelm_win: fix wrong comment.
Nak-Gyeong Kim [Mon, 19 Oct 2015 18:44:50 +0000 (11:44 -0700)]
elm_win: fix wrong comment.

Summary:
static const char SIG_FOCUS_OUT[] = "focus,out"; // deprecated. use "unfocused" instead.
static const char SIG_FOCUS_IN[] = "focus,in"; // deprecated. use "focused" instead.

@fix

Test Plan: N/A

Reviewers: seoz, cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoelc_file_selector_button: free allocated path name
Sung-Taek Hong [Mon, 19 Oct 2015 18:43:13 +0000 (11:43 -0700)]
elc_file_selector_button: free allocated path name

Summary:
Currently path is strdup() when getting real path, but it is not freed
in some cases.

@fix

Reviewers: seoz, Hermet, woohyun, cedric

Reviewed By: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoelm_map: block longpressed event when scrolled, zoomed, or rotated
Sung-Taek Hong [Mon, 19 Oct 2015 18:42:35 +0000 (11:42 -0700)]
elm_map: block longpressed event when scrolled, zoomed, or rotated

Summary:
Currently, longpressed event can be called when map is
scrolled, zoomed or rotated. This might cause unintentional
result, because mouse need to be down at lease once to
execute scroll, zoom, or rotate, and longpressed event will start
when those events takes long enough time.

Reviewers: seoz, Hermet, woohyun, cedric

Reviewed By: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agohoversel: rename label_auto_changed -> auto_update
Cedric BAIL [Mon, 19 Oct 2015 18:41:14 +0000 (11:41 -0700)]
hoversel: rename label_auto_changed -> auto_update

Thanks to Davide Andreoli for his review and suggestion.

9 years agoatspi: clean-up children-changed event emission.
Lukasz Stanislawski [Thu, 8 Oct 2015 10:23:15 +0000 (12:23 +0200)]
atspi: clean-up children-changed event emission.

Patch fixes bugs caused by difference between elm widget
and atspi objects hierarchy.

9 years agoatspi: always update cache
Lukasz Stanislawski [Fri, 9 Oct 2015 14:17:52 +0000 (16:17 +0200)]
atspi: always update cache

libatspi implementation allows to call methods on objects which
are not added to client cache with "AddAccessible" at-spi signal.
Bridge should allow to perform such calls by updating its internal
cache as soons as it returns a reference to the dbus object to client.

9 years agorelease: Update NEWS and bump version for 1.16.0-beta2 release
Stefan Schmidt [Mon, 19 Oct 2015 11:55:40 +0000 (13:55 +0200)]
release: Update NEWS and bump version for 1.16.0-beta2 release

9 years agoatspi: fix typo
Lukasz Stanislawski [Mon, 19 Oct 2015 11:39:56 +0000 (13:39 +0200)]
atspi: fix typo

9 years agotest_genlist: set focus on popup's button
Amitesh Singh [Fri, 16 Oct 2015 19:20:17 +0000 (00:50 +0530)]
test_genlist: set focus on popup's button

9 years agotoolbar: shutup compiler warning.
Cedric BAIL [Fri, 16 Oct 2015 00:23:21 +0000 (17:23 -0700)]
toolbar: shutup compiler warning.

9 years agotoolbar: delay evaluation of the toolbar size until it stabilize.
Cedric BAIL [Thu, 15 Oct 2015 23:33:15 +0000 (16:33 -0700)]
toolbar: delay evaluation of the toolbar size until it stabilize.

Elementary is not using much the calculate callback from Evas. This
create all sort of problem where it transform O(n) algorithm. Like
sizing a toolbar for next frame to O(n^n) by actually sizing the
toolbar every time an object is inserted.

T2777

9 years agotoolbar: remove useless call to _sizing_eval.
Cedric BAIL [Thu, 15 Oct 2015 23:31:00 +0000 (16:31 -0700)]
toolbar: remove useless call to _sizing_eval.

_sizing_eval is very costly on toolbar as it recalc all edje part and sends
signal to all of them. _item_theme_hook was already calling _sizing_eval
doubling the cost of adding new item.

9 years agoborder: bring sparklebear theme up-to-date with current efl rendering
Mike Blumenkrantz [Thu, 15 Oct 2015 20:35:46 +0000 (16:35 -0400)]
border: bring sparklebear theme up-to-date with current efl rendering

various fixes have occurred over the years to improve proxy rendering.
as a result, this theme, which is apparently the only other user of proxy
edje parts besides deskmirror, was broken.

@fix

9 years agodeskmirror: unset proxy.source_clip for urgency effects
Mike Blumenkrantz [Thu, 15 Oct 2015 20:09:39 +0000 (16:09 -0400)]
deskmirror: unset proxy.source_clip for urgency effects

cfedba598c23844946c5af2e038870c7ca6befdc in efl fixed source clipping
for proxy objects, breaking badly-clipped edje proxy objects everywhere

@fix

9 years agoexample: genlist - intialize buffer array to 0
Amitesh Singh [Wed, 14 Oct 2015 15:17:46 +0000 (20:47 +0530)]
example: genlist - intialize buffer array to 0

CID: 1327347

9 years agoexample: genlist - intialize buffer array to 0
Amitesh Singh [Wed, 14 Oct 2015 15:12:39 +0000 (20:42 +0530)]
example: genlist - intialize buffer array to 0

CID: 1327346

9 years agoexample: glview - use delete to deallocate memory
Amitesh Singh [Wed, 14 Oct 2015 15:02:51 +0000 (20:32 +0530)]
example: glview - use delete to deallocate memory

CID: 1327362

9 years agoexample: glview - use delete to deallocate memory
Amitesh Singh [Wed, 14 Oct 2015 14:57:57 +0000 (20:27 +0530)]
example: glview - use delete to deallocate memory

CID: 1327363

9 years agoelementary: Fix genlist example to not free data until After it has
Chris Michael [Wed, 14 Oct 2015 14:52:03 +0000 (10:52 -0400)]
elementary: Fix genlist example to not free data until After it has
been removed from the list

@fix CID1327342

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoelementary: Remove unused static variable
Chris Michael [Wed, 14 Oct 2015 14:04:03 +0000 (10:04 -0400)]
elementary: Remove unused static variable

Summary: clang reports _list_focus_objects as being an unused static
variable, so remove

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoelementary: Remove unused static variable
Chris Michael [Wed, 14 Oct 2015 14:03:03 +0000 (10:03 -0400)]
elementary: Remove unused static variable

Summary: clang reports SIG_THEME_CHANGED as being an unused static
variable, so remove

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoelementary: Remove unused variables
Chris Michael [Wed, 14 Oct 2015 14:01:58 +0000 (10:01 -0400)]
elementary: Remove unused variables

Summary: clang reports SIG_BLOCK_CLICKED and SIG_TIMEOUT as being
unused variables, so remove

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoelementary: Remove unused function
Chris Michael [Wed, 14 Oct 2015 14:01:15 +0000 (10:01 -0400)]
elementary: Remove unused function

Summary: clang reports _icon_size_min_get as being an unused function,
so remove

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoelementary: Remove unused static varible
Chris Michael [Wed, 14 Oct 2015 14:00:28 +0000 (10:00 -0400)]
elementary: Remove unused static varible

Summary: clang reports _smart_callbacks as being an unused static
variable, so remove

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoelementary: Remove unused variable
Chris Michael [Wed, 14 Oct 2015 13:59:30 +0000 (09:59 -0400)]
elementary: Remove unused variable

Summary: clang reports SIG_LANG_CHANGED as being unused here, so remove

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoelementary: Fix passing wrong parameter
Chris Michael [Wed, 14 Oct 2015 13:58:20 +0000 (09:58 -0400)]
elementary: Fix passing wrong parameter

Summary: clang reports passing EINA_FALSE here is being treated as an
Eo object, so pass NULL instead

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoelementary: Fix passing wrong parameter
Chris Michael [Wed, 14 Oct 2015 13:57:14 +0000 (09:57 -0400)]
elementary: Fix passing wrong parameter

Summary: clang reports passing EINA_FALSE here is being treated as an
Eo object, so pass NULL instead

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoelementary: Remove unused static variable
Chris Michael [Wed, 14 Oct 2015 13:52:14 +0000 (09:52 -0400)]
elementary: Remove unused static variable

Summary: clang reports ELM_APP_SERVER_VIEW_PROPS_ENTRY as being an
unused variable, so remove.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoelementary: Remove unused static variable
Chris Michael [Wed, 14 Oct 2015 13:51:09 +0000 (09:51 -0400)]
elementary: Remove unused static variable

Summary: clang reports SIG_CLICKED as being unused so remove the
variable

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoelm_test: Fix bug in GLView test
Jean-Philippe Andre [Wed, 14 Oct 2015 09:00:24 +0000 (18:00 +0900)]
elm_test: Fix bug in GLView test

Scenario:
  const char * accel = accel_get();
  accel_set("gl:depth");

Now accel may not be valid anymore since the original
Eina_Stringshare might have been destroyed. So there was
no point in saving the const char * pointer. It was not valid
after the call to set(). This is a bit confusing here. Returning
char* would be clear: the caller would own the data.

9 years agotoolbar: do not change align for "noicon" toolbar items
Mike Blumenkrantz [Tue, 13 Oct 2015 19:22:45 +0000 (15:22 -0400)]
toolbar: do not change align for "noicon" toolbar items

too many rels and complexity to track this to a more coherent
message

probably broken since 1.0 since there are zero "noicon" toolbar
tests

@fix

fix T2782

9 years agoimage: remove unused variables
Amitesh Singh [Tue, 13 Oct 2015 03:38:01 +0000 (09:08 +0530)]
image: remove unused variables

9 years agoelm_image: let's not trigger confusing update add.
Cedric BAIL [Mon, 12 Oct 2015 23:00:04 +0000 (16:00 -0700)]
elm_image: let's not trigger confusing update add.

Elm_Image rely on Evas_Image ability to rotate content. There is no
pixels manipulation involved that require an update_add here. In fact
this cause a bug where the content would disapear due to evas trying
to get some pixels data that are not where it think they are.

9 years agoelm_hoversel: fix to show dismiss animation
Jee-Yong Um [Mon, 12 Oct 2015 20:22:26 +0000 (13:22 -0700)]
elm_hoversel: fix to show dismiss animation

Summary:
In hover.edc, hoversel dismiss animations are defined,
but it doesn't work at all. (Hover is removed before animation)
This patch makes hoversel remove its hover after dismiss animation.

@fix

Test Plan: elementary_test hoversel

Reviewers: Hermet, cedric

Reviewed By: cedric

Subscribers: woohyun

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoelementary: Fix calling ecore_evas_wayland_move with improper values
Chris Michael [Mon, 12 Oct 2015 15:02:50 +0000 (11:02 -0400)]
elementary: Fix calling ecore_evas_wayland_move with improper values

Summary: As ecore_evas_wayland_move ends up updating the location of
the ecore_wl_window, we should be calling move with the proper
geometry as this ends up updating the internal ecore_wl_window
geometry (which in turn sends to xdg_surface_set_window_geometry).
This is part of a fix where xdg_surface_set_window_geometry was
getting sent inproper values.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agorelease: Update NEWS and bump version for 1.16.0-beta1 release
Stefan Schmidt [Mon, 12 Oct 2015 10:09:55 +0000 (12:09 +0200)]
release: Update NEWS and bump version for 1.16.0-beta1 release

9 years agoRevert "gengrid : add all_contents_unset API in gengrid for reusing contents."
SangHyeon Lee [Mon, 12 Oct 2015 09:17:47 +0000 (18:17 +0900)]
Revert "gengrid : add all_contents_unset API in gengrid for reusing contents."

This reverts commit 1094fb77a0ee23cbe1e8b15783e406a8d93b7fd4.

Feature is freezed for new released version.
This patch must updated after release finished.

9 years agotoolbar: Fix crash on more_item when shrink mode is set with no item.
Jaehyun Cho [Mon, 12 Oct 2015 07:46:36 +0000 (16:46 +0900)]
toolbar: Fix crash on more_item when shrink mode is set with no item.

Toolbar creates a more_item when shrink mode is
ELM_TOOLBAR_SHRINK_EXPAND.
If select mode is ELM_OBJECT_SELECT_MODE_ALWAYS and there is no item
appended, then toolbar sets a selection on a newly created item.
In this case, sd->more_item is referenced before the new more_item is
assigned to sd->more_item.

@fix

9 years agogengrid : add all_contents_unset API in gengrid for reusing contents.
SangHyeon Lee [Mon, 12 Oct 2015 05:41:44 +0000 (14:41 +0900)]
gengrid : add all_contents_unset API in gengrid for reusing contents.

Summary:
Add elm_gengrid_item_all_contents_unset API for reusing contents in application side.
User can unset all contents or re-use their contents for increase scrolling performance.
genlist already support this API.

@feature

Test Plan: Need to add test in elementary_test.

Reviewers: raster, singh.amitesh, cedric

Subscribers: woohyun, Hermet, seoz

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

9 years agoelm cursor - fix hotspot tracking to actually work right
Carsten Haitzler (Rasterman) [Sat, 10 Oct 2015 04:39:40 +0000 (13:39 +0900)]
elm cursor - fix hotspot tracking to actually work right

hotspot tracking was broken. this fixes it.

@fix

9 years agoelm cusro config - move elm to by default look for cursors in theme
Carsten Haitzler (Rasterman) [Sat, 10 Oct 2015 04:21:58 +0000 (13:21 +0900)]
elm cusro config - move elm to by default look for cursors in theme

previous config ignored elm theme if ithas cursors. this was just
wrong, so switch default back to using theme and update configs
accordingly etc. this is houw it should have worked.

9 years agoelm cursors - if min size is too small then force it to be sane
Carsten Haitzler (Rasterman) [Sat, 10 Oct 2015 04:08:37 +0000 (13:08 +0900)]
elm cursors - if min size is too small then force it to be sane

cursor if less than 8x8 then make it 8x8. avoidx 0 sized pointers.

@fix

9 years agotests: add new tests for AT-SPI beta API.
Lukasz Stanislawski [Tue, 6 Oct 2015 13:38:09 +0000 (15:38 +0200)]
tests: add new tests for AT-SPI beta API.

9 years agolist: set atspi parent despite atspi mode.
Lukasz Stanislawski [Tue, 6 Oct 2015 09:18:52 +0000 (11:18 +0200)]
list: set atspi parent despite atspi mode.

Path fixes failing test case when atspi mode was off.

9 years agorelease: Update NEWS and bump version for 1.16.0-alpha1 release
Stefan Schmidt [Mon, 5 Oct 2015 14:43:21 +0000 (16:43 +0200)]
release: Update NEWS and bump version for 1.16.0-alpha1 release

9 years agopo: update po files
Stefan Schmidt [Mon, 5 Oct 2015 13:48:10 +0000 (15:48 +0200)]
po: update po files

9 years agotests: disable new atspi parent test for me as it breaks
Stefan Schmidt [Mon, 5 Oct 2015 13:46:24 +0000 (15:46 +0200)]
tests: disable new atspi parent test for me as it breaks

Breaking distcheck for me and delaying the alpha1 tarballs. The API is still
marked as unstable but we might want to look into it during the beta's.

9 years agoelementary: Comment out (#if 0) unused functions
Chris Michael [Mon, 5 Oct 2015 13:11:25 +0000 (09:11 -0400)]
elementary: Comment out (#if 0) unused functions

Summary: Unsure whether these are left-over, or are going to be
implemented in the near future...but for now, #if 0 out these 2
functions as they are currently unused.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoelm run - be explicit about elm run not nesting in docs
Carsten Haitzler (Rasterman) [Mon, 5 Oct 2015 07:05:24 +0000 (16:05 +0900)]
elm run - be explicit about elm run not nesting in docs

@feature

9 years agoatspi: add new relationship append/remove/clear API
Lukasz Stanislawski [Sun, 4 Oct 2015 20:30:31 +0000 (22:30 +0200)]
atspi: add new relationship append/remove/clear API

Allow to add some extra contextul information about accessibility objects
which can be used by Assistive Technology to provide better user experience.

API is still marked as beta.

@feature

9 years agoatspi: support org.a11y.atspi.Collection interface
Lukasz Stanislawski [Wed, 5 Aug 2015 01:23:47 +0000 (03:23 +0200)]
atspi: support org.a11y.atspi.Collection interface

org.a11y.atspi.Collection interface allows to perform fast search
queries on accessibility objects tree.
Due to lack of specification of collection interface this implementation
base on gnome project implementation from https://git.gnome.org/browse/at-spi2-atk/.

@feature

9 years agoRevert "Genlist: only get item data if needed."
Tom Hacohen [Sun, 4 Oct 2015 16:51:29 +0000 (17:51 +0100)]
Revert "Genlist: only get item data if needed."

This actually doesn't work for coverity, I guess we just need to mark it
as false-positive, as it will never be null.

This reverts commit 178e7e6ac9419742d1bbe583fd252fc6536e5649.

9 years agodoc: make sure we actually run the command to get the example screenshots
Stefan Schmidt [Sun, 4 Oct 2015 16:27:09 +0000 (18:27 +0200)]
doc: make sure we actually run the command to get the example screenshots

These screenshots are used in the documentation but we never made sure that we
have them actually. This resulted in our docs missing image links.

Thanks to Jean Rene Dawin for reporting it at the Enlightenment Developer Day.

9 years agoGenlist: only get item data if needed.
Tom Hacohen [Sun, 4 Oct 2015 14:09:40 +0000 (15:09 +0100)]
Genlist: only get item data if needed.

Moved the data fetching to be after the tests. This doesn't really
matter and is mostly there to silence coverity. Coverity was complaining
about "it" being dereferenced before the null check (implicit in
EO_OBJ), so reordering it will fix it.

CID 1040000

9 years agoconfig: fix NULL access on invalid config loading
Cedric BAIL [Sun, 4 Oct 2015 14:00:54 +0000 (16:00 +0200)]
config: fix NULL access on invalid config loading

CID 1308381

9 years agoelm_hover: delay hover dismiss while handling edje signal
Jee-Yong Um [Sun, 4 Oct 2015 13:38:52 +0000 (15:38 +0200)]
elm_hover: delay hover dismiss while handling edje signal

Summary:
elm_hover_dismiss() doesn't hide hover directly, but sends signal only.
It can be translated that "dismiss" do not hide hover only, but handles
some works. (EDC program, callbacks etc.)
However, "dismiss" sends signals after hide hover itself, so following
edje signals are ignored. (Hover cannot be seen already!)
This patch makes hover dismiss delayed while handling edje signal.

@fix

Test Plan: elementary_test hover2

Reviewers: Hermet, cedric

Reviewed By: cedric

Subscribers: woohyun

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoelc_naviframe: fix crash in strcmp, if text_set is NULL issue
Shilpa Singh [Sun, 4 Oct 2015 13:26:08 +0000 (15:26 +0200)]
elc_naviframe: fix crash in strcmp, if text_set is NULL issue

Summary:
Issue: If text set is NULL to naviframe, crash happens in strcmp
Soln: Check for text if NULL,  before passing to strcmp

@fix

Test Plan:
//Pass the text as NULL
elm_object_part_text_set(nf, "title", NULL);

Reviewers: Hermet, cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoelm_hoversel: add elm_hoversel_label_auto_changed_set/get() API
Jee-Yong Um [Sun, 4 Oct 2015 13:09:22 +0000 (15:09 +0200)]
elm_hoversel: add elm_hoversel_label_auto_changed_set/get() API

Summary:
Hoversel can be used like dropdown or pulldown menu.
In that case, changing hoversel label into selected item lable can be
considered as common usage of hoversel.
This API automatizes changing label.

Reviewers: SanghyeonLee, Hermet, cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoelm_hoversel: refine hoversel scrollability function
Jee-Yong Um [Sun, 4 Oct 2015 12:55:21 +0000 (14:55 +0200)]
elm_hoversel: refine hoversel scrollability function

Summary:
Some modifications for hoversel scrollability are applied.
For example,
The logic for generating scroller is changed. (newly added during activation)
If hoversel's contents are larger than hover,they will be resized to fit hover.
If hoversel is moved (by window rotation etc.), scroller will be resized.
Reduandant code are removed from popup for scrollability.

Test Plan:
You can see the sample for scrollable hoversel in second one
of "elementary_test hoversel".

Reviewers: Hermet, SanghyeonLee, cedric

Reviewed By: cedric

Subscribers: godlytalias, Hermet

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoelm_video: port eo_event callbacks to use eo_event arrays
Vivek Ellur [Sun, 4 Oct 2015 10:05:51 +0000 (12:05 +0200)]
elm_video: port eo_event callbacks to use eo_event arrays

Summary:
Changed eo_event_callback_add to use eo_event_callback_array_add
in elm_video.c

Signed-off-by: Vivek Ellur <vivek.ellur@samsung.com>
Reviewers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoatspi: add translation domain for name and description.
Lukasz Stanislawski [Fri, 2 Oct 2015 15:04:38 +0000 (17:04 +0200)]
atspi: add translation domain for name and description.

@feature

9 years agoatspi: properly set parent.
Lukasz Stanislawski [Fri, 2 Oct 2015 14:44:19 +0000 (16:44 +0200)]
atspi: properly set parent.

Set proper atspi parents in cases when AT-SPI object tree structure
should be different then elementary tree (mostly in cases of elm_widget_items)

Add regression tests for those cases.

9 years agowidget_item: emit atspi children-changed only for non-destroyed parent.
Lukasz Stanislawski [Fri, 2 Oct 2015 09:35:27 +0000 (11:35 +0200)]
widget_item: emit atspi children-changed only for non-destroyed parent.

9 years agoatspi: fix state macros after extending Elm_Atspi_State_Type.
Lukasz Stanislawski [Fri, 2 Oct 2015 09:33:46 +0000 (11:33 +0200)]
atspi: fix state macros after extending Elm_Atspi_State_Type.