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

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

8 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

8 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

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

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

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

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

8 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

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

8 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

8 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

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

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

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

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

8 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

8 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

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

remove duplicated computations.

8 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

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

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

8 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

8 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

8 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

8 years agocolorclass: remove remote editor, make base api public
Mike Blumenkrantz [Wed, 30 Sep 2015 20:01:34 +0000 (16:01 -0400)]
colorclass: remove remote editor, make base api public

the remote editor needs to be rewritten to use x11 client messages
and wayland shell extensions at some point. need to make this stable
now to use in e20 release

8 years agopo: Add Vietnamese translation
Thiep Ha [Wed, 30 Sep 2015 05:10:56 +0000 (14:10 +0900)]
po: Add Vietnamese translation

Summary: Add translation for Vietnamese.

Reviewers: seoz, stefan_schmidt, Hermet

Subscribers: seoz

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

8 years agotest_gengrid: Add test case for elm_gengrid_at_xy_item_get
Amitesh Singh [Tue, 29 Sep 2015 08:32:50 +0000 (14:02 +0530)]
test_gengrid: Add test case for elm_gengrid_at_xy_item_get

8 years agospinner: fix extra callback calls
Andrii Kroitor [Tue, 29 Sep 2015 07:54:34 +0000 (08:54 +0100)]
spinner: fix extra callback calls

After a52a53802aebf03d297aa857f0cb6a9779949a49 callback was called after every
spinner value change even if it was made from code.
This commit fixes unfocus issues without breaking callbacks logic

@fix

Reviewers: CHAN, ajwillia.ms

Subscribers: CHAN, ajwillia.ms

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

Signed-off-by: Andy Williams
8 years agofix typo in elm_map_overlay_group_members_get API doc
Amitesh Singh [Mon, 28 Sep 2015 09:51:07 +0000 (15:21 +0530)]
fix typo in elm_map_overlay_group_members_get API doc

8 years agofix typos in APIs doc
Amitesh Singh [Mon, 28 Sep 2015 09:36:21 +0000 (15:06 +0530)]
fix typos in APIs doc

8 years agogenlist: refractor item focus update code
Amitesh Singh [Mon, 28 Sep 2015 08:04:02 +0000 (13:34 +0530)]
genlist: refractor item focus update code

Add duplicate code into a new local function _elm_genlist_item_focus_update

8 years agoRevert "index: fix index object got a wrong min value."
Woochan Lee [Mon, 21 Sep 2015 23:52:05 +0000 (01:52 +0200)]
Revert "index: fix index object got a wrong min value."

Summary:
I need to think more about item omitted case, horizontal case as well.
Now i'm working on this. It may need to refactoring internal logic.

Please revert this commit it break view when index item omitted.

@fix

This reverts commit 560338c5c31bda8912938074cb736eabdb9f1f31.

Reviewers: Hermet, cedric, woohyun

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoflipselector.edc: array size +1 to prevent loosing last character.
Woochan Lee [Mon, 21 Sep 2015 23:51:08 +0000 (01:51 +0200)]
flipselector.edc: array size +1 to prevent loosing last character.

Summary:
Flipselector lose last character when 50 characters showing case.

This defined value will using in snprintf, fetch_str(_edje_embryo_fn_fetch_str).
As you already know, we have to give the location in array for '\n'.

Test Plan: Give the 50 characters for flipselector text.

Reviewers: Hermet, cedric

Reviewed By: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agomultibuttonentry: fix MBE item clear, item delete logic error.
Woochan Lee [Mon, 21 Sep 2015 23:49:45 +0000 (01:49 +0200)]
multibuttonentry: fix MBE item clear, item delete logic error.

Summary:
elm_multibuttonentry_clear API not worked well.
It deleted only odd items. Because of the sd->items has been modified inside elm_widget_item_del().

Then we don't have to search target item inside of _item_del().

@fix

Test Plan:
Add MBE items.
Call elm_multibuttonentry_clear API.
Check the bug state.

Reviewers: Hermet, cedric

Reviewed By: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoelm_calendar: weekdays do not get translated when language is dynamically changed...
Shilpa Singh [Mon, 21 Sep 2015 23:40:08 +0000 (01:40 +0200)]
elm_calendar: weekdays do not get translated when language is dynamically changed issue fix

Summary:
When calendar widget is already created and if we change language,
weekdays do not get translated because weekday string is statically
stored only during create.
Update the weekdays again when object is changed.

Test Plan:
1. Create and show calendar widget
2. Change the language
Weekdays do not get translated

Reviewers: cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agofocus: change the focus don't stay to scroller.
Jaehwan Kim [Fri, 25 Sep 2015 06:34:34 +0000 (15:34 +0900)]
focus: change the focus don't stay to scroller.

The focus go to scroller only when it needs.
If the focusable object isn't in the current viewport of the scroller,
the scroller should have the focus.
If not, the focus move to the focusable object in the scroller.

@feature.

8 years agofocus: add the focus_direction feature about item.
Jaehwan Kim [Fri, 25 Sep 2015 06:24:53 +0000 (15:24 +0900)]
focus: add the focus_direction feature about item.

When the focus is moved, it uses focus_direction instead of
focus_origin.
It can get the focus by using the geometry of previous focused object or item

@feature

8 years agotoolbar_item: use actual doc refs
Daniel Kolesa [Thu, 24 Sep 2015 13:22:22 +0000 (14:22 +0100)]
toolbar_item: use actual doc refs

8 years agospinner: Fix internal logic about special value show instead of number.
Woochan Lee [Thu, 24 Sep 2015 08:06:17 +0000 (17:06 +0900)]
spinner: Fix internal logic about special value show instead of number.

Summary:
If there is a special value for current spinner value, just jump to apply and show up the special value for entry text.
There is no need to check format.

@fix

Test Plan:
Add special value for each spinner value.
Spinner editable set as true.
Click the button layout for activated spinner entry.
Check the entry text.

Reviewers: cedric, Hermet

Reviewed By: Hermet

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

8 years ago[Genlist] Added correct container_get callback for filter iterator.
Shashank Pandey [Thu, 24 Sep 2015 07:42:37 +0000 (16:42 +0900)]
[Genlist] Added correct container_get callback for filter iterator.

Summary: Warning fixed: Container_get mechanism was wrong. Fixed it.

Test Plan: elementary_test => Genlist => Genlist filter

Reviewers: singh.amitesh, cedric, shilpasingh, SanghyeonLee

Subscribers: shilpasingh

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

8 years agocalendar: weekday update when first day of week changed.
woochan lee [Wed, 23 Sep 2015 22:24:50 +0000 (15:24 -0700)]
calendar: weekday update when first day of week changed.

Summary:
When user call elm_calendar_first_day_of_week_set() to change first day of week.
the marked day has to update.
But, it's not updated, because of internal logic error.
I fixed internal logic for update specific day mark.

@fix

Test Plan:
Called elm_calendar_mark_add()
Then called  elm_calendar_first_day_of_week_set(
Check the mark in not updated.

Reviewers: Hermet, cedric

Reviewed By: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoelc_popup: ported eo_event callbacks to use eo_event arrays
Vivek Ellur [Wed, 23 Sep 2015 22:23:46 +0000 (15:23 -0700)]
elc_popup: ported eo_event callbacks to use eo_event arrays

Summary:
Changed eo_event_callback_add to eo_event_callback_array_add function

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

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoelc_player: ported eo_event callbacks to use eo_event arrays
Vivek Ellur [Wed, 23 Sep 2015 22:23:11 +0000 (15:23 -0700)]
elc_player: ported eo_event callbacks to use eo_event arrays

Summary:
Changed eo_event_callback_add to use eo_event_callback_array_add

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

Reviewed By: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoelc_multibuttonentry: ported eo_event callbacks to use eo_event callback array
Vivek Ellur [Wed, 23 Sep 2015 22:21:46 +0000 (15:21 -0700)]
elc_multibuttonentry: ported eo_event callbacks to use eo_event callback array

Summary:
Changed eo_event_callback_add to use eo_event_callback_array_add

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

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoelm_spinner: ported eo_event_callbacks to use eo_event arrays
Vivek Ellur [Wed, 23 Sep 2015 22:03:48 +0000 (15:03 -0700)]
elm_spinner: ported eo_event_callbacks to use eo_event arrays

Summary:
Ported eo_event_callback_add to use eo_event_callback_array_add

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

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agospinner: delete longpress timer when scroller enabled.
woochan lee [Wed, 23 Sep 2015 22:02:21 +0000 (15:02 -0700)]
spinner: delete longpress timer when scroller enabled.

Summary:
If there is a spinner on scroller.
User can scrolling and spinner button longpress at the same time.

Prevent this weird action, delete longpress timer when scroller enabled.

@feature

Reviewers: Hermet, cedric

Reviewed By: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agotest_genlist: fix compilation warnings
Amitesh Singh [Wed, 23 Sep 2015 16:51:39 +0000 (22:21 +0530)]
test_genlist: fix compilation warnings

8 years agoElm_genlist: Add Item filtering support
Shashank Pandey [Wed, 23 Sep 2015 11:50:05 +0000 (20:50 +0900)]
Elm_genlist: Add Item filtering support

Summary:
Add Filtering support in genlist based on filter function set by application.

@feature

Test Plan: Genlist filter sample added in elementary_test

Reviewers: raster, shilpasingh, cedric, SanghyeonLee

Subscribers: SanghyeonLee, divyesh, rajeshps, govi, prince.dubey, poornima.srinivasan

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

8 years agoelm_toolbar: fix elm_toolbar_select_mode_set API
Hosang Kim [Wed, 23 Sep 2015 07:20:45 +0000 (16:20 +0900)]
elm_toolbar: fix elm_toolbar_select_mode_set API

Summary: Item is unselected when I changed select mode "ELM_OBJECT_SELECT_MODE_DEFAULT" to "ELM_OBJECT_SELECT_MODE_ALWAYS".

Reviewers: Hermet, cedric, raster, seoz, woohyun

Reviewed By: woohyun

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

8 years agogengrid: rename function _elm_gengrid_item_focus_raise to _elm_gengrid_item_focus_update
Amitesh Singh [Wed, 23 Sep 2015 07:15:56 +0000 (12:45 +0530)]
gengrid: rename function _elm_gengrid_item_focus_raise to _elm_gengrid_item_focus_update

In function _elm_gengrid_item_focus_raise, we are doing more than just focus_raise.
Rename it to something more meaningful.

8 years agogengrid: move item focus related code to internal _elm_gengrid_item_focused()
Amitesh Singh [Wed, 23 Sep 2015 07:06:15 +0000 (12:36 +0530)]
gengrid: move item focus related code to internal _elm_gengrid_item_focused()

8 years agogengrid: fix duplicate edje signal (elm,state,focused) to item on focus
Amitesh Singh [Wed, 23 Sep 2015 06:50:05 +0000 (12:20 +0530)]
gengrid: fix duplicate edje signal (elm,state,focused) to item on focus

@fix

8 years agoelm_conformant: display mode set fix
Shilpa Singh [Wed, 23 Sep 2015 00:51:04 +0000 (09:51 +0900)]
elm_conformant: display mode set fix

Summary:
Set the display mode to none only when both clipboard and keypad is
hidden.

Signed-Off By: Shashank Pandey <shashank.p@samsung.com>
Signed-Off By: Shilpa Singh <shilpa.singh@samsung.com>
@fix

Test Plan: Keypad opened, Clipboard opened, close clipboard

Reviewers: woohyun, CHAN, Hermet

Reviewed By: Hermet

Subscribers: CHAN, Jaehyun, shashank0990

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

8 years ago[elm_win] Possible memory leak Fixed.
Prince Kumar Dubey [Wed, 23 Sep 2015 00:40:31 +0000 (09:40 +0900)]
[elm_win] Possible memory leak Fixed.

Summary: Memory assigned to variable "sd->wm_rot.rots" is not freed on window deletion.

Test Plan: Valgrind catch this memory leak.

Reviewers: raster, cedric, Hermet

Reviewed By: Hermet

Subscribers: govi, rajeshps

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

8 years agoelm - fix focus set on focus in on window due to previous focus fix
Carsten Haitzler (Rasterman) [Mon, 21 Sep 2015 07:13:41 +0000 (16:13 +0900)]
elm - fix focus set on focus in on window due to previous focus fix

this fix is a fix due to the fix in
933dfca5bcda4943ecdd81ab09dc34989234f7f3 whihc fixed other issues. now
focus is properly set where it should be. this affected rage

@fix

8 years ago[spinner] Notify when value is edited directly
Andy Williams [Sun, 20 Sep 2015 10:47:23 +0000 (11:47 +0100)]
[spinner] Notify when value is edited directly

Previously an edit would trigger internal save but not notify
until the up/down button was tapped.
Now notify when value applied (unfocus). @fix

8 years agofix typos in APIs doc
Amitesh Singh [Sat, 19 Sep 2015 03:43:09 +0000 (09:13 +0530)]
fix typos in APIs doc

8 years agoEo: move Focus Direction to elm_general.eot
Daniel Zaoui [Fri, 18 Sep 2015 09:38:04 +0000 (12:38 +0300)]
Eo: move Focus Direction to elm_general.eot

8 years agotest_dnd: transfer text without markup when drag label
Thiep Ha [Fri, 18 Sep 2015 08:38:39 +0000 (11:38 +0300)]
test_dnd: transfer text without markup when drag label

Summary:
In Types Dnd test, if we drag from label to entry, the text is inserted
with "<br/>". The reason is that we drag with type ELM_SEL_FORMAT_TEXT
but the transferred data is markup.
This patch fixes it by changing the transferred data to text.

@fix

Reviewers: JackDanielZ

Subscribers: seoz

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

8 years agodnd/x11: correct coordinates in pos callback
Thiep Ha [Fri, 18 Sep 2015 08:30:23 +0000 (11:30 +0300)]
dnd/x11: correct coordinates in pos callback

Summary:
The x, y coordinates in pos callback should be relative to
the top-left of the object.
This patch corrects the x,y coordinates and adds poscb to elementary test
to clearly show the bug case.

Test:
      Run Genlist Dnd Dflt Anim with the change in this patch.
      Drag an item to other genlist and see the printed out item, x, y.

@fix

Reviewers: JackDanielZ

Subscribers: seoz

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

8 years agofocus: remove checking the focus origin in highlight job.
Jaehwan Kim [Fri, 18 Sep 2015 07:49:14 +0000 (16:49 +0900)]
focus: remove checking the focus origin in highlight job.

In some case, it can take misoperation.

@fix

8 years agogengrid: remove EINA_UNUSED
Jaehwan Kim [Wed, 16 Sep 2015 09:46:10 +0000 (18:46 +0900)]
gengrid: remove EINA_UNUSED