platform/upstream/elementary.git
9 years agotests: Correct ATSPI role check for popup.
Stefan Schmidt [Thu, 6 Aug 2015 13:55:02 +0000 (15:55 +0200)]
tests: Correct ATSPI role check for popup.

ctxpopup is using ELM_ATSPI_ROLE_POPUP_MENU while the normal popup uses
ELM_ATSPI_ROLE_NOTIFICATION.

ref T2028

9 years agoelm_module: Load not installed modules from build dir with ELM_RUN_IN_TREE
Stefan Schmidt [Thu, 23 Apr 2015 09:27:06 +0000 (11:27 +0200)]
elm_module: Load not installed modules from build dir with ELM_RUN_IN_TREE

If we want to run from the local build dir without make install before
elm_module would fail to load the modules as it is expecting them in the
final install location.

We can now change this by setting ELM_RUN_IN_TREE to force it load the not
yet installed modules.

ref T2028

9 years agotests/build: Make sure tests are finding the theme file
Stefan Schmidt [Wed, 22 Apr 2015 15:03:18 +0000 (17:03 +0200)]
tests/build: Make sure tests are finding the theme file

Our tests require a theme file. So far they picked this just from the system
where it was installed to in a previous run. We have situations where this would
not work though. Running make check before install on a new system or during
distcheck comes to mind.

With AM_TESTS_ENVIRONMENT we make that the theme is also looked for in the not
yet installed builddir.

Thanks to Lukasz Stanislawski for pointing me to this.

ref T2028

9 years agoEo files docs: replace all @c/@p with $.
Tom Hacohen [Thu, 6 Aug 2015 14:12:27 +0000 (15:12 +0100)]
Eo files docs: replace all @c/@p with $.

This is part of the new syntax.

9 years agoEo files: Replace all occurances of EINA_TRUE/FALSE to true/false.
Tom Hacohen [Thu, 6 Aug 2015 14:11:22 +0000 (15:11 +0100)]
Eo files: Replace all occurances of EINA_TRUE/FALSE to true/false.

9 years agoElm segment control item: migrate docs.
Tom Hacohen [Thu, 6 Aug 2015 14:05:42 +0000 (15:05 +0100)]
Elm segment control item: migrate docs.

9 years agoElm index item: migrate docs.
Tom Hacohen [Thu, 6 Aug 2015 13:59:32 +0000 (14:59 +0100)]
Elm index item: migrate docs.

9 years agoElm slideshow item: migrate docs.
Tom Hacohen [Thu, 6 Aug 2015 13:56:47 +0000 (14:56 +0100)]
Elm slideshow item: migrate docs.

9 years agoAtspi accessible: migrate docs.
Tom Hacohen [Thu, 6 Aug 2015 13:53:50 +0000 (14:53 +0100)]
Atspi accessible: migrate docs.

9 years agoAtspi widget action: migrate docs.
Tom Hacohen [Thu, 6 Aug 2015 13:52:01 +0000 (14:52 +0100)]
Atspi widget action: migrate docs.

9 years agoHoversel item: migrate docs.
Tom Hacohen [Thu, 6 Aug 2015 13:48:25 +0000 (14:48 +0100)]
Hoversel item: migrate docs.

9 years agoHoversel: migrate docs.
Tom Hacohen [Thu, 6 Aug 2015 13:47:09 +0000 (14:47 +0100)]
Hoversel: migrate docs.

9 years agoEo files: Use Elm.Widget_Item instead of Elm_Object_Item.
Tom Hacohen [Thu, 6 Aug 2015 13:30:34 +0000 (14:30 +0100)]
Eo files: Use Elm.Widget_Item instead of Elm_Object_Item.

This is the correct Eolian type. Elm_Object_Item is dead.

9 years agoMultibuttonentry item: Migrate docs to new eolian format.
Tom Hacohen [Thu, 6 Aug 2015 13:25:44 +0000 (14:25 +0100)]
Multibuttonentry item: Migrate docs to new eolian format.

9 years agoelm_config: Add flag to control pushing naviframe prev button automatically.
Jaehyun Cho [Thu, 6 Aug 2015 05:59:06 +0000 (14:59 +0900)]
elm_config: Add flag to control pushing naviframe prev button automatically.

It is decided that the naviframe prev button is automatically pushed or not
by the flag "naviframe_prev_btn_auto_pushed" in config.

@feature

9 years agoentry: Add null safety check in _elm_entry_entry_paste function.
Daniel Hirt [Thu, 6 Aug 2015 06:12:24 +0000 (09:12 +0300)]
entry: Add null safety check in _elm_entry_entry_paste function.

Summary: Add null safety check for the given text.

Reviewers: tasn, woohyun, thiepha, herdsman

Reviewed By: herdsman

Subscribers: thiepha, JackDanielZ

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

9 years agoconfigure: we can actually safely imply -ldl is only needed on linux
Daniel Kolesa [Wed, 5 Aug 2015 11:27:34 +0000 (12:27 +0100)]
configure: we can actually safely imply -ldl is only needed on linux

9 years agoconfigure: the BSDs all supply the dlfcn funcs without -ldl
Daniel Kolesa [Wed, 5 Aug 2015 11:24:40 +0000 (12:24 +0100)]
configure: the BSDs all supply the dlfcn funcs without -ldl

9 years agomapbuf: convert docs
Daniel Kolesa [Wed, 5 Aug 2015 11:01:44 +0000 (12:01 +0100)]
mapbuf: convert docs

9 years agomenu: convert docs
Daniel Kolesa [Wed, 5 Aug 2015 10:49:28 +0000 (11:49 +0100)]
menu: convert docs

9 years agolist_item: convert docs
Daniel Kolesa [Wed, 5 Aug 2015 10:44:39 +0000 (11:44 +0100)]
list_item: convert docs

9 years agonaviframe_item: convert docs
Daniel Kolesa [Wed, 5 Aug 2015 10:38:55 +0000 (11:38 +0100)]
naviframe_item: convert docs

9 years agohover: convert docs
Daniel Kolesa [Wed, 5 Aug 2015 10:31:06 +0000 (11:31 +0100)]
hover: convert docs

9 years agotest_popup: set popup content correctly
Amitesh Singh [Wed, 5 Aug 2015 09:34:30 +0000 (15:04 +0530)]
test_popup: set popup content correctly

internal object content_area was not swallowed into popup
since elm_object_part_content_set() was used.

Steps to reproduce:
1. clouseau elementary_test -to popup
2. open subpopup example.
3. observe orphan content_area object in clouseau widget list.

9 years agoTooltip: reset content delete callback directly after invocation
Daniel Zaoui [Wed, 5 Aug 2015 07:22:02 +0000 (10:22 +0300)]
Tooltip: reset content delete callback directly after invocation

The deletion of the content object can lead to invoke the delete
callback twice.

@fix

9 years agofocus/list/genlist/gengrid: fix focus highlight issues on list widgets when auto...
Youngbok Shin [Wed, 5 Aug 2015 06:57:11 +0000 (12:27 +0530)]
focus/list/genlist/gengrid: fix focus highlight issues on list widgets when auto focus enable is on.

Summary:
elm_list, elm_genlist widgets are handle focus highlight
relying on only elm_widget_focus_highlight_enabled_get() API.
The API is not considered about auto focus highlight feature.
So, we need to check a flag for auto focus from _elm_config.
It resolves T2555.
@fix

Test Plan: elementary_test -> List Focus or Genlist Focus

Reviewers: raster, cedric, SanghyeonLee, singh.amitesh

Reviewed By: SanghyeonLee, singh.amitesh

Maniphest Tasks: T2555

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

9 years agofocus: add del callback always.
Jaehwan Kim [Wed, 5 Aug 2015 05:46:01 +0000 (14:46 +0900)]
focus: add del callback always.

When the window treats focused object, it should always check
that it is deleted.

@fix

9 years agopopup: fix resize issue in case of custom part text set
Amitesh Singh [Tue, 4 Aug 2015 15:51:32 +0000 (21:21 +0530)]
popup: fix resize issue in case of custom part text set

@fix

9 years agoexamples: fix attrib name due to change in Evas Canvas3D API.
Cedric BAIL [Tue, 4 Aug 2015 14:48:34 +0000 (16:48 +0200)]
examples: fix attrib name due to change in Evas Canvas3D API.

9 years agombe: remove unnecessary keypad hide call from multibuttonentry.
Shilpa Singh [Tue, 4 Aug 2015 14:13:33 +0000 (16:13 +0200)]
mbe: remove unnecessary keypad hide call from multibuttonentry.

Summary:
When editable set is set to FALSE, there is no need to specifically
hide the keypad as keypad will automatically hide when entry is hidden.

@fix

Signed-off By: Kumar Navneet <k.navneet@samsung.com>

Reviewers: woohyun, Hermet, CHAN, cedric

Reviewed By: cedric

Subscribers: subodh6129, navnbeet

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoelm_colorselector: modify to select no item when create colorselector
Sung-Taek Hong [Tue, 4 Aug 2015 14:11:01 +0000 (16:11 +0200)]
elm_colorselector: modify to select no item when create colorselector

Summary:
Currently, the first item is marked selected when
the colorselector is added. However, this is not normal behavior
since the first item is not shown selected.
Moreover, always selecting the first item during creation does not
sound natural.

Reviewers: cedric, Hermet, woohyun

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoelm_macros: fix for lack of precision with double due to order of operation.
j_yong.hwang [Tue, 4 Aug 2015 14:08:50 +0000 (16:08 +0200)]
elm_macros: fix for lack of precision with double due to order of operation.

Summary:
The numerical formula below is calculated with the double type.
-> ELM_SCALE_SIZE(x) (int)(((double)(x) / elm_app_base_scale_get()) * elm_config_scale_get())

But if number of significant figure of the return value goes over 15, the epsilon error will happen.
Because of that, it is better to divide to do later.

Reviewers: woohyun, cedric

Reviewed By: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoindex: fix index object got a wrong min value.
woochan lee [Tue, 4 Aug 2015 14:04:44 +0000 (16:04 +0200)]
index: fix index object got a wrong min value.

Summary:
The evas box swallowed in "elm,swallow,index" part.
Then the each index item will be appended into evas_box when elm_index_go called.

If user make the line or dot for that swallow part for resize same as internall box.
edje_size_min_calc always give the '0'value for it.

Box will be swallowed the only on swllow part for desicion index layout size.
So the index min value should follow the box size.

Test Plan:
Run any index sample.
Get the index min size and check the value.
It gets always wrong before.

Reviewers: cedric, Hermet, woohyun

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agomultibuttonentry: item object scale set is not need when theme applied.
woochan lee [Tue, 4 Aug 2015 14:02:25 +0000 (16:02 +0200)]
multibuttonentry: item object scale set is not need when theme applied.

Summary:
An item size calculated with scale value when item appended.
This code is not need.

@fix

Reviewers: Hermet, woohyun, cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoindex: add index item priority APIs for support multilingual
woochan lee [Tue, 4 Aug 2015 13:55:18 +0000 (15:55 +0200)]
index: add index item priority APIs for support multilingual

Summary:
I add the APIs for supporting multi language on index.

"elm_index_item_priority_set()" API can give the priority value for each item.
it will be grouping with each priority items when index start to draw the item.
It can get a 0 or 1 (default : -1) -1 priority item show always even priority changed.

"elm_index_priority_set()" API can changed the current priority in manually.
priority will be up automatically when user send move event into last of priority 1 group item.
otherwise, priority will be down automatically when user send move event into first of priority 0 group item.

"elm_index_priority_get()" API can get a current index priority.
@feature

Test Plan:
I added the test application in test_index with give the name as "test_index3"
(It's for only show how to handle the priority APIs and show the how does it works for multi language
so it doesn't operate with genlist.)
You can check the how it works and how APIs works for it as well.

Reviewers: eunue, seoz, woohyun, Hermet

Subscribers: SanghyeonLee, eagleeye

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoelm_hoversel: add elm_hoversel_scroll_enabled_set/get() API
Jee-Yong Um [Tue, 4 Aug 2015 13:51:36 +0000 (15:51 +0200)]
elm_hoversel: add elm_hoversel_scroll_enabled_set/get() API

Summary:
Currently, hoversel shows all items at the same time, but to limit
the size of contents and make it scrollable is neccesary to some users.
elm_hoversel_scroll_enabled_set/get() API makes the contents of hoversel
scrollable or not.

Test Plan:
The newly added scroll function is enabled for the second hoversel
in "hoversel" sample of elementary_test.

Reviewers: Hermet, raster, herdsman, cedric, tasn

Subscribers: JackDanielZ, cedric, Hermet

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoelm_theme: string function change for the exceptional file name
j_yong.hwang [Tue, 4 Aug 2015 13:39:36 +0000 (15:39 +0200)]
elm_theme: string function change for the exceptional file name

Summary:
If name of theme has ".",example "abc.def.edj", it would fail to check the file name.
So, I changed the strchr functions to strrchr function.

Reviewers: seoz, raster, Hermet, cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agogenlist: port "changed" evas smart callback to Eo.
Amitesh Singh [Fri, 31 Jul 2015 03:58:24 +0000 (09:28 +0530)]
genlist: port "changed" evas smart callback to Eo.

9 years agogenlist: Refactoring genlist item cache logics.
SangHyeon Lee [Wed, 29 Jul 2015 21:22:28 +0000 (23:22 +0200)]
genlist: Refactoring genlist item cache logics.

Summary:
This patch is code refactoring for genlist item cache logic
as same as gengrid item cache and removing unnecessary
Item_Cache properties.
{selected, disabled, expanded} exist in Item_Cache,
but _item_cache_find ignore those flagged properties,
so _elm_genlist_item_status_update will not working with
itc properties(all itc properties are EINA_FALSE).

Test Plan: Need to check elementary_test genlist sample working properly.

Reviewers: raster, Hermet, seoz, jaehwan, cedric

Reviewed By: cedric

Subscribers: cedric, singh.amitesh, eagleeye

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agomultibuttonentry: add horizontal, vertical padding between items.
Woochan Lee [Wed, 29 Jul 2015 21:18:17 +0000 (23:18 +0200)]
multibuttonentry: add horizontal, vertical padding between items.

Summary:
There is no way to give padding between each items, previously.
So i added horizontal, vertical padding here.

I will add APIs for set, get padding size set, get.

@feature

Test Plan:
Change the horizontal, vertical paddidng value in multibuttonentry.edc
Run elementary_test
Execute multibuttonentry sample.
Add items.
Check the padding between items.

Reviewers: woohyun, seoz, Hermet, raster

Reviewed By: Hermet, raster

Subscribers: raster

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoradio: add "elm,activate,radio,on" and "elm,activate,radio,off" signal to support...
Subhransu Mohanty [Wed, 29 Jul 2015 21:14:30 +0000 (23:14 +0200)]
radio: add "elm,activate,radio,on" and "elm,activate,radio,off" signal to support value change animation.

Summary:
Currently when user clicks on the radio, and when api value_set() called by
the developer we emit "elm,state,radio,*" signal. To support value change animation when
user interacts with radio. There is no way to distinguish the action in EDC.
This "elm,activate,radio,*" is a way which edc can make use to distinguish the state change signal
by the user action or due to api call.

Reviewers: Hermet, raster, cedric

Reviewed By: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agocheck: add "elm,activate,check,on" and "elm,activate,check,off" signal to support...
Subhransu Mohanty [Wed, 29 Jul 2015 21:10:49 +0000 (23:10 +0200)]
check: add "elm,activate,check,on" and "elm,activate,check,off" signal to support state change animation.

Summary:
Currently when user clicks on the checkbox, and when api state_check() called by
the developer we emit "elm,state,check,*" signal. To support state change animation when
user interacts with check box. There is no way to distinguish the action in EDC.
This "elm,activate,check,*" is a way which edc can make use to distinguish the stae change signal
by the user action or due to api call.

Reviewers: woohyun, raster, cedric, Hermet

Reviewed By: Hermet

Subscribers: id213sin

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agohoversel: add key binding for widget activation
Lukasz Stanislawski [Wed, 29 Jul 2015 20:23:00 +0000 (22:23 +0200)]
hoversel: add key binding for widget activation

Test Plan:
1. Install previous version of elementary
2. Remove config from homedir
3. Build new config with elemetnary_config app
4. Install patched version of elementary
5. run elementary_test Hoversel test
6. Space end Enter should open hovesel

Reviewers: seoz, jaehwan, singh.amitesh, cedric

Reviewed By: cedric

Subscribers: seoz

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agogenlist: add SIG_CHANGED("changed") smart callback in genlist.
SangHyeon Lee [Wed, 29 Jul 2015 20:20:40 +0000 (22:20 +0200)]
genlist: add SIG_CHANGED("changed") smart callback in genlist.

Summary:
SIG_CAHANGED notify user to
genlist is now changed their items and properties and all
calculation is finished, so user can get correct values in
that callback.

This SIG_CHANGED smart callback already supported in gengrid.

Test Plan:
N/A
This patch is addition of new smart callback.

Reviewers: raster, seoz, singh.amitesh

Subscribers: Hermet, cedric, eagleeye

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agospinner: entry text makes to registered special value instead of number.
woochan lee [Wed, 29 Jul 2015 20:17:34 +0000 (22:17 +0200)]
spinner: entry text makes to registered special value instead of number.

Summary:
Entry has only number text when activated and value changed, Even user registered special value to each spinner value.
If the user registered special value, we should check then showing the special value instead of number text.
Its will more helpful to expect the result when user set a spinner value using spinner entry.

@fix

Test Plan:
There is a spinner sample in elementary_test.
Changing editable value as TRUE for the last spinner object.
Click the spinner to activated entry and check the result.

Reviewers: Hermet, Jaehyun, cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoconfigure: Switch to dev mode again. Merge window for 1.16 is open now
Stefan Schmidt [Tue, 4 Aug 2015 09:46:47 +0000 (11:46 +0200)]
configure: Switch to dev mode again. Merge window for 1.16 is open now

9 years agorelease: Update NEWS and bump version for 1.15.0 release v1.15.0
Stefan Schmidt [Tue, 4 Aug 2015 09:21:21 +0000 (11:21 +0200)]
release: Update NEWS and bump version for 1.15.0 release

9 years agotest_popup: add popup with content area only example
Amitesh Singh [Mon, 3 Aug 2015 17:25:51 +0000 (22:55 +0530)]
test_popup: add popup with content area only example

9 years agotest_cnp: remove explicit type castings.
Amitesh Singh [Mon, 3 Aug 2015 16:04:09 +0000 (21:34 +0530)]
test_cnp: remove explicit type castings.

In C, the explicit typecasting is not required.

9 years agoRevert "Adds eglfs support"
Nicolas Aguirre [Mon, 3 Aug 2015 12:39:54 +0000 (14:39 +0200)]
Revert "Adds eglfs support"

This reverts commit de52ee0192b5b6d8ad542fb2fd9e4185b39b6518.

9 years agoRevert "Removes ELM_CHECK_BACKEND[EGLFS] which searches for an ecore-eglfs"
Nicolas Aguirre [Mon, 3 Aug 2015 12:39:38 +0000 (14:39 +0200)]
Revert "Removes ELM_CHECK_BACKEND[EGLFS] which searches for an ecore-eglfs"

This reverts commit aff92d581ed052413aa36785a9291e47315eb518.

9 years agoRemoves ELM_CHECK_BACKEND[EGLFS] which searches for an ecore-eglfs
Florent Revest [Thu, 30 Jul 2015 16:23:25 +0000 (18:23 +0200)]
Removes ELM_CHECK_BACKEND[EGLFS] which searches for an ecore-eglfs

9 years agoAdds eglfs support
Florent Revest [Tue, 21 Jul 2015 13:41:35 +0000 (15:41 +0200)]
Adds eglfs support

9 years agopopup: fix resize issue when action area and title area is absent.
Amitesh Singh [Mon, 3 Aug 2015 09:28:55 +0000 (10:28 +0100)]
popup: fix resize issue when action area and title area is absent.

Summary:
set scroller size in content_set.

Resolves: T2623
@fix

Test Plan:
1. run ecrire
2. Add some text in newfile
3. Close ecrire
4. a almost zero size popup.

Reviewers: tasn, herdsman, raster, SanghyeonLee, stefan_schmidt

Reviewed By: stefan_schmidt

Subscribers: stefan_schmidt, herb, seoz

Maniphest Tasks: T2623

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

9 years agoprefs: add empty field to avoid build warning.
ChunEon Park [Mon, 3 Aug 2015 04:56:01 +0000 (13:56 +0900)]
prefs: add empty field to avoid build warning.

this addition is a trick to avoid g/gcc compile warning.
warning: empty struct has size 0 in C, size 1 in C++.

9 years agotest_disable: rename window name & title according to test name
Amitesh Singh [Sat, 1 Aug 2015 18:10:19 +0000 (23:40 +0530)]
test_disable: rename window name & title according to test name

9 years agocolorselector: fixed up the selected process
WooHyun Jung [Sat, 1 Aug 2015 04:15:05 +0000 (13:15 +0900)]
colorselector: fixed up the selected process

When mouse moves out of the color item area,
mouse up should not give selected smart callback.

@fix

9 years agopanes: Migrate docs to new Eolian format.
Tom Hacohen [Fri, 31 Jul 2015 15:16:13 +0000 (16:16 +0100)]
panes: Migrate docs to new Eolian format.

9 years agogrid: convert docs
Daniel Kolesa [Fri, 31 Jul 2015 14:46:21 +0000 (15:46 +0100)]
grid: convert docs

9 years agomenu_item: convert docs
Daniel Kolesa [Fri, 31 Jul 2015 14:23:56 +0000 (15:23 +0100)]
menu_item: convert docs

9 years agopanel, pan: convert docs
Daniel Kolesa [Fri, 31 Jul 2015 14:17:40 +0000 (15:17 +0100)]
panel, pan: convert docs

9 years agoplug: convert docs
Daniel Kolesa [Fri, 31 Jul 2015 14:14:34 +0000 (15:14 +0100)]
plug: convert docs

9 years agophotocam: convert docs
Daniel Kolesa [Fri, 31 Jul 2015 14:12:30 +0000 (15:12 +0100)]
photocam: convert docs

9 years agothumb: convert docs
Daniel Kolesa [Fri, 31 Jul 2015 14:00:58 +0000 (15:00 +0100)]
thumb: convert docs

9 years agoview_form, view_list: convert docs
Daniel Kolesa [Fri, 31 Jul 2015 13:50:24 +0000 (14:50 +0100)]
view_form, view_list: convert docs

9 years agodiskselector: return when the new item is NULL
WooHyun Jung [Fri, 31 Jul 2015 10:03:21 +0000 (19:03 +0900)]
diskselector: return when the new item is NULL

9 years agocnp: use ELM_SAFE_FREE
Amitesh Singh [Fri, 31 Jul 2015 05:42:53 +0000 (11:12 +0530)]
cnp: use ELM_SAFE_FREE

9 years agotest_hoversel: add example of setting focus to item
Amitesh Singh [Fri, 31 Jul 2015 03:48:23 +0000 (09:18 +0530)]
test_hoversel: add example of setting focus to item

9 years agoelementary: Fix calls to ecore_wl_window_update_location
Chris Michael [Thu, 30 Jul 2015 19:32:37 +0000 (15:32 -0400)]
elementary: Fix calls to ecore_wl_window_update_location

Summary: This fixes a build break from previous commit

NB: Note to self: COMPILE FIRST !!

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoelementary: Call ecore_wl_window_update_location function when opaque region gets...
Chris Michael [Thu, 30 Jul 2015 19:26:39 +0000 (15:26 -0400)]
elementary: Call ecore_wl_window_update_location function when opaque region gets updated

Summary: This fixes T2624 where ecore_wl_window_update_location was
being called inside the Ecore_Evas too often. It is now only called
from the Elementary window whenever we update the opaque region. This
should help to fix the resize issue that we are seeing in wl.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agohoversel: use elm_object_focus_set to set focus on subobjects.
Amitesh Singh [Thu, 30 Jul 2015 10:40:47 +0000 (16:10 +0530)]
hoversel: use elm_object_focus_set to set focus on subobjects.

We should steal the focus while setting focus to subobjects from parent.
This issue is reproducable in case of setting focus on one of items of hoversel
on expanded cb of hoversel.

@fix

9 years agoelm: simulate the clicked event over the object only.
Subodh Kumar [Wed, 29 Jul 2015 19:18:17 +0000 (21:18 +0200)]
elm: simulate the clicked event over the object only.

Summary:
Two different behaviour are observed with clicked event.
1. When scroller is not present:
   a. Mouse down over object,
   b. mouse move outside the object
   c. mouse up, clicked happens
2. When scroller is  present:
   a. Mouse down over object,
   b. mouse move outside the object
   c. mouse up, clicked NOT happens

So clicked callback should happen over the object only i.e when mouse move out of the objcet clicked should be ignored, and behaviour will be consistent

@fix

Test Plan: NA

Reviewers: shilpasingh, cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoelm_radio: remove implementation of elm_widget_disable as it doesn't do anything...
Cedric BAIL [Wed, 29 Jul 2015 18:23:37 +0000 (20:23 +0200)]
elm_radio: remove implementation of elm_widget_disable as it doesn't do anything else than calling parent virtual function.

9 years agoelm_radio: enable state change when radio is disabled
Sung-Taek Hong [Wed, 29 Jul 2015 18:20:20 +0000 (20:20 +0200)]
elm_radio: enable state change when radio is disabled

Summary:
Currently, radio is set EINA_FALSE when radio is disabled.
This causes unexpected behavior when the radio is selected and
get disabled. Using elm_radio_value_get() API will return
the value of disabled radio. This is not consistent with setting
EINA_FALSE when radio is disabled. Thus, disabled radio should
also have selected and unselected states.

Reviewers: woohyun, smohanty, Hermet, cedric

Reviewed By: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agolabel: convert to int first (avoid compiler warning)
Daniel Kolesa [Wed, 29 Jul 2015 14:33:33 +0000 (15:33 +0100)]
label: convert to int first (avoid compiler warning)

9 years agointerface_scrollable: convert to int before using abs first
Daniel Kolesa [Wed, 29 Jul 2015 14:29:53 +0000 (15:29 +0100)]
interface_scrollable: convert to int before using abs first

@fix

9 years agointerface_scrollable: don't use integer abs on floating point
Daniel Kolesa [Wed, 29 Jul 2015 14:28:08 +0000 (15:28 +0100)]
interface_scrollable: don't use integer abs on floating point

@fix

9 years agocnp, entry: misc warning fixes
Daniel Kolesa [Wed, 29 Jul 2015 14:26:14 +0000 (15:26 +0100)]
cnp, entry: misc warning fixes

9 years agoelm_atspi_bridge: fix warnings
Daniel Kolesa [Wed, 29 Jul 2015 14:21:17 +0000 (15:21 +0100)]
elm_atspi_bridge: fix warnings

9 years agoelm_frame: Changed eo docs of elm_frame to new format
Vivek Ellur [Wed, 29 Jul 2015 13:44:12 +0000 (14:44 +0100)]
elm_frame: Changed eo docs of elm_frame to new format

Summary:
Changed docsw of elm_frame.eo according to the new format

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

Reviewed By: q66

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

9 years agoelm_flipselector: convert docs of elm_flipselector.eo to new format
Vivek Ellur [Wed, 29 Jul 2015 13:44:07 +0000 (14:44 +0100)]
elm_flipselector: convert docs of elm_flipselector.eo to new format

Summary:
Changed docs of elm_flipselector.eo and elm_flipselector_item.eo to new format

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

Reviewed By: q66

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

9 years agoelm_fileselector: Converted eo docs of fileselector_entry to new format
Vivek Ellur [Wed, 29 Jul 2015 13:44:00 +0000 (14:44 +0100)]
elm_fileselector: Converted eo docs of fileselector_entry to new format

Summary:
Converted docs of elm_fileselector_entry.eo to the new format

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

Reviewed By: q66

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

9 years agoelm_external: shutdown elm after del callback
Jean-Philippe Andre [Wed, 29 Jul 2015 13:13:07 +0000 (22:13 +0900)]
elm_external: shutdown elm after del callback

This fixes a crash in edje_inspector as:
- delete callback is called on the object
 --> this unloaded elm
- destructor is called on the object
 --> this did some elm stuff, in particular read the config
     from _elm_config (now NULL).

Instead, shutdown elm after del, during free.

Also reset hash pointer to NULL after free.

9 years agocolor_class: Fix ERR due to uninitialized eldbus
Jean-Philippe Andre [Wed, 29 Jul 2015 13:01:05 +0000 (22:01 +0900)]
color_class: Fix ERR due to uninitialized eldbus

This happens in edje_inspector for instance, which did not
initialize eldbus, even though it's trying to use it.

9 years agomultibuttonentry: internal label object status, box pack, unpack logic clean up.
woochan lee [Tue, 28 Jul 2015 21:34:40 +0000 (23:34 +0200)]
multibuttonentry: internal label object status, box pack, unpack logic clean up.

Summary:
Even user sets empty string here for text, label still packed in box with min size(finger size).
label_set internal logic is not clear before.
ex: object min set, resize check the string length then sending signal, min set again.
so i deleted the signal emit code here, we can handle label show, hide status in code and it's more clear.
Besides "sd->label" is always true all of the case. we need to check whether it's packed or not.

The label will be added to parent's sub object when it's packed into box.
label_set as empty string in adding time also meaningless.

@fix

Test Plan:
Run multibuttonentry sample.
Set a text somthing for it then set an empty string here.

Reviewers: Hermet, woohyun

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agocolorselector: remove EINA_UNUSED that where clearly used !
Cedric BAIL [Tue, 28 Jul 2015 21:30:18 +0000 (23:30 +0200)]
colorselector: remove EINA_UNUSED that where clearly used !

9 years agoColorselector: fix wrong object for callback call function
Vitalii Vorobiov [Tue, 28 Jul 2015 21:20:19 +0000 (23:20 +0200)]
Colorselector: fix wrong object for callback call function

Summary:
When spinner change it's value it should call callbacks for
colorselector but not for spinner.

@fix

Reviewers: raster, reutskiy.v.v, cedric

Reviewed By: reutskiy.v.v, cedric

Subscribers: NikaWhite

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agomultibuttonentry: update end text(item count) even mbe shrinked.
woochan lee [Tue, 28 Jul 2015 21:02:27 +0000 (23:02 +0200)]
multibuttonentry: update end text(item count) even mbe shrinked.

Summary:
In some MBE use case, Application can append item using only item_append API.
in that case, the end text(item count) doesn't update properly.
So, i add a code for fix it.

@fix

Test Plan:
1. Add a button for call "elm_multibuttonentry_item_append()" in test_multibbutonentry.c
2. Make MBE shrink mode.
3. Click button to append item to shrinked MBE.
4. Check the MBE end text state.

Reviewers: Hermet, woohyun

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agomultibuttonentry: fix bug with uneditable MBE use case.
woochan lee [Tue, 28 Jul 2015 20:54:21 +0000 (22:54 +0200)]
multibuttonentry: fix bug with uneditable MBE use case.

Summary:
If there is a uneditable MBE, the MBE doesn't have to get a entry inside of the box.
It breaks MBE box layout, resize logic.

And check the box focus, entry visible is not enough to cover MBE is uneditable case.
If MBE is uneditable, box_resize callback called when item added. in this case,
we need to check what view type user want. if its not shrink view here, do not make
MBE to shrink mode.

@fix

Test Plan: Run elementary_test -> execute multibuttonentry  sample with editable set as false.

Reviewers: Hermet, seoz, woohyun, cedric

Reviewed By: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoentry: few times the hit_rect is not clipped properly during genlist scrolling, with...
Prince Kumar Dubey [Tue, 28 Jul 2015 19:00:58 +0000 (21:00 +0200)]
entry: few times the hit_rect is not clipped properly during genlist scrolling, with entry as content.

Summary: It has been observed that while scrolling of genlist with entry, clipping is not happening and "hit_rect" comes over navi item title. e.g. During theme change such scenario comes.

@fix

Test Plan: Scenario not in elementary test. Entry as content of genlist item. Same genlist should be the content of naviframe item. In this scenario genlist height must be grater than viewport sie so scrolling possible.

Reviewers: cedric, raster, Hermet, woohyun

Subscribers: rajeshps, govi

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoelm_colorselector: change operation order to limit float operation imprecision.
j_yong.hwang [Tue, 28 Jul 2015 18:54:37 +0000 (20:54 +0200)]
elm_colorselector: change operation order to limit float operation imprecision.

Summary:
The numerical formula below is calculated with the double type.
-> h_pad / edje_object_base_scale_get(wd->resize_obj) * elm_widget_scale_get(obj) * elm_config_scale_get()

But if number of significant figure of the return value goes over 15, the epsilon error will happen.
Because of that, it is better to divide to do later.

Reviewers: woohyun, raster, cedric

Reviewed By: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agomultibuttonentry: delete clicked signal preventing code when mbe shrinked.
woochan lee [Tue, 28 Jul 2015 18:42:48 +0000 (20:42 +0200)]
multibuttonentry: delete clicked signal preventing code when mbe shrinked.

Summary:
We don't have event block area in mbe.
Item clicked callback is not called when user clicked the item in mbe shrinked state.
However, item press effect will be shown.

@fix

Test Plan:
Delete the line always calling expanded set API in MBE clicked callback.
Execute MBE sample in elementary_test.
Check the item got a click event but not call the clicked callback.

Reviewers: Hermet, woohyun

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoelm_flipselector: remove redundant header file
Jee-Yong Um [Tue, 28 Jul 2015 18:37:26 +0000 (20:37 +0200)]
elm_flipselector: remove redundant header file

Summary:
After applying eo to elm_flipselector_item,
APIs in elm_flipselector_common.h are generated by eolian.
elm_flipselector_common.h is no more necessary.

Reviewers: Hermet, cedric

Reviewed By: cedric

Subscribers: Hermet

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoelm_calendar: remove duplicated referece
Jee-Yong Um [Tue, 28 Jul 2015 18:34:22 +0000 (20:34 +0200)]
elm_calendar: remove duplicated referece

Summary:
elm_calendar_weekdays_names_set() API is generated by eolian,
but its prototype is defined in both elm_calendar_common.h and
elm_calendar.eo.legacy.h.
Remove duplicated reference from elm_calendar_common.h

Reviewers: Hermet

Subscribers: Hermet

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agowin: correct setting of wayland opaque region
Derek Foreman [Tue, 28 Jul 2015 19:39:46 +0000 (15:39 -0400)]
win: correct setting of wayland opaque region

Summary: Opaque region calculation was incorrect.

Reviewers: zmike, devilhorns

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

9 years agocalendar: fix use of strftime.
Cedric BAIL [Tue, 28 Jul 2015 18:10:02 +0000 (20:10 +0200)]
calendar: fix use of strftime.

strftime is quite a bad POSIX API. You won't know the size it needs to put the strings in
until you did give it enough byte and it could also fail without a clear way to detect it.
So this patch work around that and introduce a currently internal helper that will be moved
later to Eina.

This patch has been triggered by the issue reported and the attempt fix from D2877.

9 years agorelease: Update NEWS and bump version for 1.15.0-beta3 release v1.15.0-beta3
Daniel Juyung Seo [Mon, 27 Jul 2015 16:33:31 +0000 (01:33 +0900)]
release: Update NEWS and bump version for 1.15.0-beta3 release

9 years agoelm_diskselector: convert eo docs of diskselector to new format
Vivek Ellur [Mon, 27 Jul 2015 09:18:43 +0000 (10:18 +0100)]
elm_diskselector: convert eo docs of diskselector to new format

Summary:
Converted docs of elm_diskselector.eo and elm_diskselector_item.eo to the new format

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

Reviewed By: q66

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

9 years agoelm_ctxpopup: convert eo docs to new format
Vivek Ellur [Mon, 27 Jul 2015 09:18:37 +0000 (10:18 +0100)]
elm_ctxpopup: convert eo docs to new format

Summary:
Converted docs of elm_ctxpopup.eo and elm_ctxpopup_item.eo to new format

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

Reviewed By: q66

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

9 years agoelm config save - work around compiler bug that loses local var value
Carsten Haitzler (Rasterman) [Fri, 24 Jul 2015 14:57:29 +0000 (23:57 +0900)]
elm config save - work around compiler bug that loses local var value

yes. compiler bug. believe it or not.