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

9 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

9 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

9 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

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

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

9 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

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

9 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

9 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

9 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

9 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

9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 years agotest_genlist: fix compilation warnings
Amitesh Singh [Wed, 23 Sep 2015 16:51:39 +0000 (22:21 +0530)]
test_genlist: fix compilation warnings

9 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

9 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

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

9 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()

9 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

9 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

9 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

9 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

9 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

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

9 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

9 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

9 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

9 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

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

9 years agoelm_hoversel: add support elm_object_item_part_text_set()
Jee-Yong Um [Wed, 16 Sep 2015 01:44:45 +0000 (10:44 +0900)]
elm_hoversel: add support elm_object_item_part_text_set()

Summary:
There was override for elm_object_item_part_text_get() only.
This patch implements elm_object_item_part_text_set().

Reviewers: Hermet, cedric

Subscribers: Hermet

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

9 years agoelc_multibuttonentry: Input panel should be controlled only if
Shilpa Singh [Wed, 16 Sep 2015 01:25:18 +0000 (10:25 +0900)]
elc_multibuttonentry: Input panel should be controlled only if
multibuttonentry is editable

Summary:
Input panel should be controlled only if Multibuttonentry is editable, else causes issues in applications controlling keypad by themselves

@fix

Reviewers: CHAN, Hermet

Reviewed By: Hermet

Subscribers: navnbeet

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

9 years agoslider: slider should be focused, when slider is handled with mouse or touch event.
Hosang Kim [Wed, 16 Sep 2015 01:10:32 +0000 (10:10 +0900)]
slider: slider should be focused, when slider is handled with mouse or touch event.

Summary: slider is not focused after slider is dragged.

Test Plan: elementary_test -> slider

Reviewers: woohyun, seoz, smohanty, cedric, raster

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

9 years agobuild: fix header ordering so the library builds
Mike Blumenkrantz [Tue, 15 Sep 2015 18:38:37 +0000 (14:38 -0400)]
build: fix header ordering so the library builds

please compile test before making commits.

ref 286ab4d7cf3ca794d88bd06ec027bb2df6401f50
ref 431492ec497eeaa130f5c2da27ce7a4c7eefe7f9

9 years agoexample/performance: Remove unused variable.
Daniel Juyung Seo [Tue, 15 Sep 2015 16:06:38 +0000 (01:06 +0900)]
example/performance: Remove unused variable.

9 years agofocus: Add elm_focus_item.h to make header include order correctly.
Daniel Juyung Seo [Tue, 15 Sep 2015 16:03:22 +0000 (01:03 +0900)]
focus: Add elm_focus_item.h to make header include order correctly.

This fixes the cpp example compile error which was triggered by the commit 431492e.

9 years agofocus: Fix typo in commit 431492e.
Daniel Juyung Seo [Tue, 15 Sep 2015 16:02:32 +0000 (01:02 +0900)]
focus: Fix typo in commit 431492e.

9 years agofocus: add the APIs to set the focus next about item.
Jaehwan Kim [Tue, 15 Sep 2015 10:41:51 +0000 (19:41 +0900)]
focus: add the APIs to set the focus next about item.

Add elm_object_focus_next_item_set/get,
elm_object_item_focus_next_object_set/get and
elm_object_item_focus_next_item_set/get.

If the item and object is set at the same time,
the item is preference to object when the focus moves.

This feature is implemented about gengrid.
It will be implemented about ohter widgets.

@feature

9 years agoelm_image : call the evas_object_image_load_error_get() before calling the image_prel...
jiin.moon [Tue, 15 Sep 2015 08:25:31 +0000 (10:25 +0200)]
elm_image : call the evas_object_image_load_error_get() before calling the image_preload api

Summary:
If file path is wrong, don't need to call the image preload api.

And the result of evas_object_image_load_error_get api is not correct
after calling the image_preload api.
I will check more about it.

Reviewers: cedric, Hermet, jpeg

Reviewed By: jpeg

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

9 years agofix elm performance example to init elm properly and not do engine stuff
Carsten Haitzler (Rasterman) [Tue, 15 Sep 2015 07:25:20 +0000 (16:25 +0900)]
fix elm performance example to init elm properly and not do engine stuff

cleanup of examples

9 years agomultibuttonentry: Fix box item append rtl when mirror enabled.
Woochan Lee [Mon, 14 Sep 2015 11:53:34 +0000 (20:53 +0900)]
multibuttonentry: Fix box item append rtl when mirror enabled.

Summary:
MBE item append logic changed when mirrored set as true.

The item appended from left side of internal box to right side, even mirrored set as true.

@fix

Test Plan:
Precondition : elm_widget_mirrored_set as true.

Run mbe sample in elementary_test.
Add item.

Reviewers: cedric, Hermet

Reviewed By: Hermet

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

9 years agoelm scroller - improve thumbscroll smoothness even more
Carsten Haitzler (Rasterman) [Mon, 14 Sep 2015 05:45:19 +0000 (14:45 +0900)]
elm scroller - improve thumbscroll smoothness even more

this does even more smoothing of scrolling follow on from
939d8ef4c3c48120046560814db63858175a2d12

9 years agoelm toolbar 0 size items fix if icon not found
Carsten Haitzler (Rasterman) [Sat, 12 Sep 2015 08:16:41 +0000 (17:16 +0900)]
elm toolbar 0 size items fix if icon not found

this fixes a bug with horizontal style toolbar items and toolbar code
itself simply emitting the wrong signals that causes 0 height items.
this fixes T2710

@fix

9 years agoelm config - fix labels in config ui for smooth time window
Carsten Haitzler (Rasterman) [Sat, 12 Sep 2015 03:45:25 +0000 (12:45 +0900)]
elm config - fix labels in config ui for smooth time window

9 years agoelm - thumbscroll finger scrolling - make it far smoother
Carsten Haitzler (Rasterman) [Fri, 11 Sep 2015 14:24:51 +0000 (23:24 +0900)]
elm - thumbscroll finger scrolling - make it far smoother

smooth out scrolling and simplifyconfig as well as expose config apis
to configure it all and elm config ui sliders and checkboxes for
related config values etc. etc. - with this it is much smoother if you
use the default values, though latency is a bit worse. it looks nicer
though.

@feature

9 years agoelm - when focus goes back in to a window dont have scrollers jump
Carsten Haitzler (Rasterman) [Thu, 10 Sep 2015 11:04:23 +0000 (20:04 +0900)]
elm - when focus goes back in to a window dont have scrollers jump

there is an annoyance in elm that when focus goes back toa window it
restores focus to the last focused widget. if that widget happens to
be invisible in a scroller then this is really annoying as the
scrollers reset. this makes restoring optional. only if there is a
hilight object AND it's visible - then restore, otherwise don't and
revert focus to the window itself again.

@fix

9 years agoelm autofocus show - fix cases where focus is inside containers
Carsten Haitzler (Rasterman) [Thu, 10 Sep 2015 09:29:24 +0000 (18:29 +0900)]
elm autofocus show - fix cases where focus is inside containers

i found that the focus doesnt auto-show when focusing things inside
scrollers and so on. i had to add more points to trigger auto show.
this fixes that

@fix

9 years agocalendar: fix signal process timing issue when view update.
woochan lee [Tue, 8 Sep 2015 22:54:56 +0000 (00:54 +0200)]
calendar: fix signal process timing issue when view update.

Summary:
When the calendar view updated(Press next button to activated next month),
a lot of signals process(signal emitted) to calendar edc.

The signals which related with view update, should process in same loop.
If not, the view looks weird.

To ensure signals process same time, i called "edje_object_message_signal_process" after layout sizing eval called.

@fix

Reviewers: Hermet, cedric, woohyun

Subscribers: id213sin

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoelm theme - make sure key sounds are on input channel for muting config
Carsten Haitzler (Rasterman) [Wed, 9 Sep 2015 02:04:49 +0000 (11:04 +0900)]
elm theme - make sure key sounds are on input channel for muting config

@fix

9 years agoindex: rename elm_index_priority_set to elm_index_standard_priority_set
ChunEon Park [Tue, 8 Sep 2015 05:50:53 +0000 (14:50 +0900)]
index: rename elm_index_priority_set to elm_index_standard_priority_set

this change is also for consistency with elm_toolbar_standard_priority_set
conceptually the priority meaning here is same.

9 years agowin: fix FAKE window geometry updating + resize object adding
Mike Blumenkrantz [Mon, 7 Sep 2015 17:05:08 +0000 (13:05 -0400)]
win: fix FAKE window geometry updating + resize object adding

users of this will want the win to automatically match the geometry
of the ee in all cases

fix T2692

9 years agohoversel: rename api scroll_enabled_set to scrollable_set
ChunEon Park [Mon, 7 Sep 2015 11:41:34 +0000 (20:41 +0900)]
hoversel: rename api scroll_enabled_set to scrollable_set

modify api for consistency.
scrollable_set is more closed to other similar apis.

9 years agoupdate mailmap
Boris Faure [Sat, 5 Sep 2015 11:55:22 +0000 (13:55 +0200)]
update mailmap

9 years agobuild: ensure we do not fail clean if check-results.xml does not exist
Stefan Schmidt [Fri, 4 Sep 2015 12:57:50 +0000 (14:57 +0200)]
build: ensure we do not fail clean if check-results.xml does not exist

If we did not run make check this file would not exist and a clean would
fail over it. Using -f ignores this case.

9 years agoelm_test: Add test case for page scroller
Hosang Kim [Wed, 2 Sep 2015 07:16:04 +0000 (16:16 +0900)]
elm_test: Add test case for page scroller

Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
9 years agoelm_image: fix image preload issue
jiin.moon [Fri, 4 Sep 2015 04:39:26 +0000 (13:39 +0900)]
elm_image: fix image preload issue

Summary:
There are two issues about preload
1. elm_image_preload_disabled_set api does not work.
    Always returned before call the evas_object_image_preload()

2. image preload does not work at file_set time.
    If image's show property is not TRUE, do not call evas_object_image_preload() at file_set time.
    But there is no action when image's show property will be TRUE after call the file_set api.

@fix

Reviewers: Hermet, jpeg

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

Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
9 years agoelm_web2: fix build break & warnings after migration to eo callbacks.
Lukasz Stanislawski [Thu, 3 Sep 2015 08:28:40 +0000 (10:28 +0200)]
elm_web2: fix build break & warnings after migration to eo callbacks.

9 years agoLabel test: split Slide and Ellipsis in two separate tests
Dave Andreoli [Wed, 2 Sep 2015 19:51:46 +0000 (21:51 +0200)]
Label test: split Slide and Ellipsis in two separate tests

this reveal the ellipsis + markup bug as explained in T2709

9 years agoLabel: add support for all the fancy tags already provided for entry
Dave Andreoli [Wed, 2 Sep 2015 18:35:22 +0000 (20:35 +0200)]
Label: add support for all the fancy tags already provided for entry

Comes with a simple test

@feature

NOTE FOR THEMERS: you must update your theme to support this!

9 years agoFileSelector Entry: fix behaviour for events
Yakov Goldberg [Wed, 2 Sep 2015 15:41:04 +0000 (18:41 +0300)]
FileSelector Entry: fix behaviour for events

Fix behaviour for changed, activated, press events.
Forwarders must be set on entry's original events,
so they will call corresponding fileselector entry's callbacks.

@fix

9 years agoelm map - fix crash on badly handled zoom timeout callback
Carsten Haitzler (Rasterman) [Wed, 2 Sep 2015 10:34:06 +0000 (19:34 +0900)]
elm map - fix crash on badly handled zoom timeout callback

if sd->obj is null then the a zoom timeout has a null data param and
that means we cant get sd data... so dont set up a zoom timeout unless
sd->obj is valid.

@fix

9 years agoelm map - fix module load craziness loading all elm modules
Carsten Haitzler (Rasterman) [Wed, 2 Sep 2015 10:20:04 +0000 (19:20 +0900)]
elm map - fix module load craziness loading all elm modules

so elm map loads every module it can find in a recursive dir walk of
all elm modules. this si nuts. this can accidentallly load OLD modules
and thats a recipe for disaster. so check module arch dir aagainst
module arch string to load the right version and be quiet if module
doesn thave the right symbols - it's the wrong module type.

@fix

9 years agoGenlist: add homogeneos mode to the tree test
Dave Andreoli [Tue, 1 Sep 2015 18:08:42 +0000 (20:08 +0200)]
Genlist: add homogeneos mode to the tree test

show tree+homogeneous brackage, as explained in T2708

9 years agoGenlist test: cosmetics
Dave Andreoli [Tue, 1 Sep 2015 17:34:43 +0000 (19:34 +0200)]
Genlist test: cosmetics

* add separator comments between different tests
* keep function definitions on 2 lines

9 years agoFileSelector: fix behaviour when the file is chosen
Daniel Zaoui [Tue, 1 Sep 2015 08:16:58 +0000 (11:16 +0300)]
FileSelector: fix behaviour when the file is chosen

The wrong event was sent on the Ok file selector button when the file is
chosen, leading to not update the upper layer.

@fix

9 years agogenlist: fix indentation & remove whitespaces
Amitesh Singh [Tue, 1 Sep 2015 03:15:38 +0000 (08:45 +0530)]
genlist: fix indentation & remove whitespaces

9 years agogengrid: fix crash issue.
Jaehwan Kim [Mon, 31 Aug 2015 07:21:26 +0000 (16:21 +0900)]
gengrid: fix crash issue.

Sometimes the focused_item can be null.

@fix