platform/upstream/elementary.git
8 years agowin : Prohibiting auto-rendering, until elm_win is shown.
Wonsik Jung [Thu, 5 Nov 2015 11:37:11 +0000 (20:37 +0900)]
win : Prohibiting auto-rendering, until elm_win is shown.

Summary:
Although elm_win is only created and evas_object_show with elm_win is not called,
evas_rendering works sometimes.
This rendering is not necessary. Because on one is shown and just back buffer is allocated.
This patch is the prohibiting auto-rendering, if elm_win is shown by calling evas_object_show()
It is effective for power consumption and reducing memory.

@fix

Test Plan:
1. elementary_test : checking all menus's working
2. modifed bg_example_02 : updated elm_bg's color by animator without evas_object_show(elm_win)

Reviewers: jpeg, jypark, raster

Reviewed By: raster

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

8 years agoatspi: add missing SELECTED changed signals
Lukasz Stanislawski [Thu, 5 Nov 2015 09:52:28 +0000 (10:52 +0100)]
atspi: add missing SELECTED changed signals

@fix

8 years agoelm_segment_control: fix invalid parameter
Jean Guyomarc'h [Thu, 5 Nov 2015 07:12:44 +0000 (16:12 +0900)]
elm_segment_control: fix invalid parameter

Summary:
Eo complained about an invalid type 'Edje_Object' passed to
elm_widget_sub_object_add(). It is the segment control itself
that should be the subject of the call to this function.

@fix

Test Plan: elementary_test: no more Eo errors

Reviewers: cedric, stefan_schmidt

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

8 years agogenlist tree test - minor - show all callbacks called so people know
Carsten Haitzler (Rasterman) [Wed, 4 Nov 2015 03:33:46 +0000 (12:33 +0900)]
genlist tree test - minor - show all callbacks called so people know

act as "docs" so people can see what is called when. minor just in elm
test.

8 years agoautoscroll focus: pass the object region position relative to the scroller.
chris [Thu, 5 Nov 2015 00:16:11 +0000 (16:16 -0800)]
autoscroll focus: pass the object region position relative to the scroller.

Summary:
The region position passed to region_show and region_bring_in used to be
relative to the object position, not the scroller.

This fixes T1686.

@fix

Reviewers: seoz

Maniphest Tasks: T1686

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agointerface_scrollable: delete unnecessary smart callback call.
Hosang Kim [Tue, 3 Nov 2015 20:29:05 +0000 (12:29 -0800)]
interface_scrollable: delete unnecessary smart callback call.

Summary:
When _elm_interface_scrollable_page_bring_in is called, page is not changed yet.
So "page,changed" smart callback is unnecessary.

Sometimes "page,changed" smart callback is called twice.
Because "drag,stop" and "anim,stop"is called it.
So I add updating current page code.

Test Plan:
elementary_test -> scroller

1. using wheel.
2. using "prev page" and "next page".
3. draging sceen

Reviewers: Hermet, singh.amitesh, cedric, raster, jaehwan, seoz

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agocolorselector: picker spinner UI not proper issue fix.
Shilpa Singh [Tue, 3 Nov 2015 20:17:03 +0000 (12:17 -0800)]
colorselector: picker spinner UI not proper issue fix.

Summary:
Picker spinner UI not proper, showing blank buttons issue fix.

@fix T2401

Test Plan:
1. Launch elementary_test
2. Select colorselector
3. Tap on picker
4. observe, spinner UI not proper.

Reviewers: cedric, subodh6129

Reviewed By: subodh6129

Maniphest Tasks: T2401

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agonotify: animate on hide
Jean-Philippe Andre [Wed, 21 Oct 2015 08:23:10 +0000 (17:23 +0900)]
notify: animate on hide

There was all the necessary code, except that the default
theme did not implement properly the signal & required data.

There is still a problem though, as the "timeout" smart callback
will be called at the start of the animation, so it's not possible
for an app to hide() or del() at this point (that would get
rid of the animation). But there's no other callback after
the animation ends.

elementary_test -to Notify > "Bottom" illustrates this issue.

8 years agoRevert "elm: Add eglfs backend support."
Cedric BAIL [Mon, 2 Nov 2015 23:54:41 +0000 (15:54 -0800)]
Revert "elm: Add eglfs backend support."

This reverts commit 0d6aedbf44e5c371bddfa2b6b61c9409ed2184e3.

This patch landed a little bit to early.

8 years agoelm: Add eglfs backend support.
Nicolas Aguirre [Mon, 2 Nov 2015 23:13:20 +0000 (00:13 +0100)]
elm: Add eglfs backend support.

8 years agoRemove #include for config.h from C++ public header
Felipe Magno de Almeida [Mon, 2 Nov 2015 21:39:55 +0000 (19:39 -0200)]
Remove #include for config.h from C++ public header

Removed #include for elementary_config.h if HAVE_CONFIG_H is
defined. Which causes errors with external projects. Instead,
defined the necessary macros to use the Eo API.

8 years agoHoversel: Fix dismiss callback
Yeshwanth Reddivari [Mon, 2 Nov 2015 13:59:57 +0000 (19:29 +0530)]
Hoversel: Fix dismiss callback

Summary: Dismiss callback was getting called on hover object instead of hoversel object.

Reviewers: raster, Hermet, alok25, mvsovani, conr2d, singh.amitesh

Reviewed By: singh.amitesh

Subscribers: sachin.dev

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

8 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

8 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>
8 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>
8 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>
8 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>
8 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

8 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

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

8 years agorelease: Update NEWS and bump version for 1.16.0-beta3 release v1.16.0-beta3
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

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

8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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

8 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>
8 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

8 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

8 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

8 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>
8 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

8 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

8 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.

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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.

8 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>
8 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>
8 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>
8 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.

8 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.

8 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.

8 years agorelease: Update NEWS and bump version for 1.16.0-beta2 release v1.16.0-beta2
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

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

8 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

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

8 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

8 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.

8 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

8 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

8 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

8 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

8 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

8 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

8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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.

8 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

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

8 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.

8 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>
8 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>
8 years agorelease: Update NEWS and bump version for 1.16.0-beta1 release v1.16.0-beta1
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

8 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.

8 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

8 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

8 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

8 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.

8 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

8 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.

8 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.

8 years agorelease: Update NEWS and bump version for 1.16.0-alpha1 release v1.16.0-alpha1
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

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

8 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.

8 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>
8 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

8 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

8 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

8 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.