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

8 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

8 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

8 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

8 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

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

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

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

8 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

8 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

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