Commit Graph

11886 Commits

Author SHA1 Message Date
Jaehwan Kim aee3de2306 focus: add del callback always.
When the window treats focused object, it should always check
that it is deleted.

@fix
2015-08-05 14:48:20 +09:00
Amitesh Singh 7c0246c870 popup: fix resize issue in case of custom part text set
@fix
2015-08-04 21:22:39 +05:30
Cedric BAIL c6c4f23c04 examples: fix attrib name due to change in Evas Canvas3D API. 2015-08-04 16:49:45 +02:00
Shilpa Singh 190c774d04 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>
2015-08-04 16:49:45 +02:00
Sung-Taek Hong 97d3b02a49 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>
2015-08-04 16:49:44 +02:00
j_yong.hwang e6723de0b2 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>
2015-08-04 16:49:44 +02:00
woochan lee c54f765ec9 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>
2015-08-04 16:49:44 +02:00
woochan lee 79242eb4cc 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>
2015-08-04 16:02:29 +02:00
woochan lee e22bf93a67 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>
2015-08-04 15:56:53 +02:00
Jee-Yong Um a249d77d1d 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>
2015-08-04 15:51:39 +02:00
j_yong.hwang e42264e1af 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>
2015-08-04 15:39:39 +02:00
Amitesh Singh deeace9377 genlist: port "changed" evas smart callback to Eo. 2015-08-04 15:21:40 +02:00
SangHyeon Lee d29a12d187 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>
2015-08-04 15:21:40 +02:00
Woochan Lee 8ca5d9c333 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>
2015-08-04 15:21:40 +02:00
Subhransu Mohanty 67844a781c 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>
2015-08-04 15:21:40 +02:00
Subhransu Mohanty 427ffbc1b3 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>
2015-08-04 15:21:40 +02:00
Lukasz Stanislawski 456ea179bb 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>
2015-08-04 15:21:39 +02:00
SangHyeon Lee ddc73095b2 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>
2015-08-04 15:21:39 +02:00
woochan lee fcce7736d8 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>
2015-08-04 15:21:39 +02:00
Stefan Schmidt 5efa4831de configure: Switch to dev mode again. Merge window for 1.16 is open now 2015-08-04 11:46:47 +02:00
Stefan Schmidt cde6d345aa release: Update NEWS and bump version for 1.15.0 release 2015-08-04 11:21:21 +02:00
Amitesh Singh b9e915dbe8 test_popup: add popup with content area only example 2015-08-03 22:55:51 +05:30
Amitesh Singh ee7ffb9fe6 test_cnp: remove explicit type castings.
In C, the explicit typecasting is not required.
2015-08-03 21:34:09 +05:30
Nicolas Aguirre da2ecb5fff Revert "Adds eglfs support"
This reverts commit de52ee0192b5b6d8ad542fb2fd9e4185b39b6518.
2015-08-03 14:39:54 +02:00
Nicolas Aguirre 3ef8e44493 Revert "Removes ELM_CHECK_BACKEND[EGLFS] which searches for an ecore-eglfs"
This reverts commit aff92d581ed052413aa36785a9291e47315eb518.
2015-08-03 14:39:38 +02:00
Florent Revest 2ac6f86eb2 Removes ELM_CHECK_BACKEND[EGLFS] which searches for an ecore-eglfs 2015-08-03 14:20:41 +02:00
Florent Revest 91095b93f3 Adds eglfs support 2015-08-03 14:20:40 +02:00
Amitesh Singh 667ec47586 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
2015-08-03 10:28:55 +01:00
ChunEon Park 69441625b1 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++.
2015-08-03 13:56:01 +09:00
Amitesh Singh ad5d9e23d4 test_disable: rename window name & title according to test name 2015-08-01 23:41:53 +05:30
WooHyun Jung 8da6c9cdda colorselector: fixed up the selected process
When mouse moves out of the color item area,
mouse up should not give selected smart callback.

@fix
2015-08-01 13:15:05 +09:00
Tom Hacohen a9b60ec124 panes: Migrate docs to new Eolian format. 2015-07-31 16:16:13 +01:00
Daniel Kolesa 077339bce1 grid: convert docs 2015-07-31 15:46:21 +01:00
Daniel Kolesa 61a9917a3d menu_item: convert docs 2015-07-31 15:23:56 +01:00
Daniel Kolesa 5bb43d7edf panel, pan: convert docs 2015-07-31 15:17:40 +01:00
Daniel Kolesa a07c213e59 plug: convert docs 2015-07-31 15:14:34 +01:00
Daniel Kolesa 73223214fb photocam: convert docs 2015-07-31 15:12:30 +01:00
Daniel Kolesa c3c4c660fb thumb: convert docs 2015-07-31 15:00:58 +01:00
Daniel Kolesa 3e17ecc315 view_form, view_list: convert docs 2015-07-31 14:50:24 +01:00
WooHyun Jung e20662fb9d diskselector: return when the new item is NULL 2015-07-31 19:03:21 +09:00
Amitesh Singh 7bbfe4b1b3 cnp: use ELM_SAFE_FREE 2015-07-31 11:12:53 +05:30
Amitesh Singh 64901de655 test_hoversel: add example of setting focus to item 2015-07-31 09:18:23 +05:30
Chris Michael fd28ad3824 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>
2015-07-30 15:32:37 -04:00
Chris Michael 8631845083 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>
2015-07-30 15:26:39 -04:00
Amitesh Singh bff68b156a 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
2015-07-30 16:10:47 +05:30
Subodh Kumar 85e55ed89d 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>
2015-07-29 21:18:20 +02:00
Cedric BAIL 9d40fa4cb8 elm_radio: remove implementation of elm_widget_disable as it doesn't do anything else than calling parent virtual function. 2015-07-29 20:23:37 +02:00
Sung-Taek Hong 5dc84fb1c7 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>
2015-07-29 20:20:23 +02:00
Daniel Kolesa 4674aa3a7c label: convert to int first (avoid compiler warning) 2015-07-29 15:33:33 +01:00
Daniel Kolesa df1b9b8455 interface_scrollable: convert to int before using abs first
@fix
2015-07-29 15:29:53 +01:00