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

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

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

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.

9 years agoatspi: encapsulate common behaviour in atspi mixin class.
Lukasz Stanislawski [Thu, 1 Oct 2015 15:24:42 +0000 (17:24 +0200)]
atspi: encapsulate common behaviour in atspi mixin class.

This patch moves some duplicated implementation from elm_widget
and elm_widget_item classes into atspi base mixin. It allows to
better share code and reduce maintainability.

Change-Id: I8d264661e7ffade7da72299f29075a536d71eaa3

9 years agoRevert "elm_calendar: weekdays do not get translated when language is ..."
Tom Hacohen [Fri, 2 Oct 2015 08:28:56 +0000 (09:28 +0100)]
Revert "elm_calendar: weekdays do not get translated when language is ..."

As agreed on the ML, eina_tmpstr_strftime() should be removed.

This reverts commit 10b94fb1409487e256a01b3c45ff5a9cd9f678da.

9 years agotest_genlist: remove check for array comparision against NULL
Amitesh Singh [Thu, 1 Oct 2015 18:56:16 +0000 (00:26 +0530)]
test_genlist: remove check for array comparision against NULL

CID: 1324955

9 years agoMerge branch 'devs/stanluk/perf'
Lukasz Stanislawski [Thu, 1 Oct 2015 14:08:35 +0000 (16:08 +0200)]
Merge branch 'devs/stanluk/perf'

Serie of patches reducing overall memory overhead of atspi mode.

The main changes include:
* use recently fixed eldbus_service_register_fallback function instead
  of regular ones.
* use global accessibility events emitter and handler to avoid registering array
  of callbacks on every accessible object.
* do not keep strings with object paths

9 years agoatspi: add global event emitter
Lukasz Stanislawski [Thu, 3 Sep 2015 12:07:23 +0000 (14:07 +0200)]
atspi: add global event emitter

Introduce global event emitter for accessibility events. With such emitter
there is no need to register array of callbacks on every accessibility object.

9 years agoatspi: use eldbus fallback interface
Lukasz Stanislawski [Fri, 7 Aug 2015 16:22:48 +0000 (18:22 +0200)]
atspi: use eldbus fallback interface

Fallback eldbus interface allows to handle dbus method call on
multiple object paths only with single callback. This greatly
reduces a ammount of memory since there is no need
to register eldbus interface for every accessible object.

9 years agoatspi: reduce memory footprint
Lukasz Stanislawski [Fri, 7 Aug 2015 15:07:12 +0000 (17:07 +0200)]
atspi: reduce memory footprint

Use pointer hash instead of string hash to account information
about accessible objects.
Use statically allocated string to return object paths.

9 years agobuild: remove colorclass generated files
Mike Blumenkrantz [Thu, 1 Oct 2015 12:34:01 +0000 (08:34 -0400)]
build: remove colorclass generated files

9 years agoelc_multibuttonentry: add item disable support
Shilpa Singh [Thu, 1 Oct 2015 10:55:02 +0000 (19:55 +0900)]
elc_multibuttonentry: add item disable support

Summary:
Add item disable support in multibuttonentry widget

@feature

Test Plan: elm_object_item_disabled_set on MBE item

Reviewers: CHAN, Hermet

Reviewed By: Hermet

Subscribers: CHAN, Hermet, navnbeet

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

9 years agomultibuttonentry: Fix MBE item box min size calc error.
woochan lee [Thu, 1 Oct 2015 10:50:23 +0000 (19:50 +0900)]
multibuttonentry: Fix MBE item box min size calc error.

Summary:
Before item packed again in mbe box. box calc own min height.
In this case, there is no need to increase line number when  entry is box item.
Actually the min height of box calculated wrong here.

@fix

Test Plan:
Give a color to internal box.
Then items add.
Check the internal box area got a wrong height value.

Reviewers: Hermet, cedric

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

9 years agomultibuttonentry: code refactoring.
ChunEon Park [Thu, 1 Oct 2015 10:41:06 +0000 (19:41 +0900)]
multibuttonentry: code refactoring.

remove duplicated computations.

9 years agomultibuttonentry: Fix padding to be affected by base_scale in edc.
woochan lee [Thu, 1 Oct 2015 10:35:58 +0000 (19:35 +0900)]
multibuttonentry: Fix padding to be affected by base_scale in edc.

Summary:
MBE internal box get its padding size from edc.
Previously, it does not consider when calculating the padding size.
In this commit, the padding size from edc is divided by its base_scale
so that desirable size can be calculated.

@fix

Reviewers: Hermet, cedric

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

9 years agoentry: remove evas_object_propagate_events_set() calls on buttons in test.
ChunEon Park [Thu, 1 Oct 2015 10:21:29 +0000 (19:21 +0900)]
entry: remove evas_object_propagate_events_set() calls on buttons in test.

Seems unnecessary in test code.
It just looks  copied & pasted from wrong code.

9 years agopo: update po files
Stefan Schmidt [Thu, 1 Oct 2015 10:16:04 +0000 (12:16 +0200)]
po: update po files

9 years agotest/entry: add editable set
Thiep Ha [Thu, 1 Oct 2015 10:12:34 +0000 (19:12 +0900)]
test/entry: add editable set

Summary:
There is no good entry test for changing editable mode.
This patch adds a test for changing editable in entry.

Reviewers: Hermet, tasn, herdsman

Subscribers: seoz

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

9 years agoelc_multibuttonentry: Memory leak fix.
Shilpa Singh [Thu, 1 Oct 2015 10:03:29 +0000 (19:03 +0900)]
elc_multibuttonentry: Memory leak fix.

Summary:
If item filters are appended and multibuttonentry is deleted, the
filter list is not freed causing leak
Signed-Off By: Kumar Navneet <k.navneet@samsung.com>
Signed-Off By: Shilpa Singh <shilpa.singh@samsung.com>

Test Plan:
append item filters and when multibuttonentry is deleted leak is
observed, run valgrind in this scenario.

Reviewers: Hermet, cedric, CHAN

Subscribers: navnbeet

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

9 years agocolorclass: fix leaks on editor creation
Mike Blumenkrantz [Wed, 30 Sep 2015 20:14:26 +0000 (16:14 -0400)]
colorclass: fix leaks on editor creation