platform/upstream/elementary.git
9 years agocheck: convert docs
Daniel Kolesa [Fri, 3 Jul 2015 14:58:59 +0000 (15:58 +0100)]
check: convert docs

9 years agoseparator: convert docs
Daniel Kolesa [Fri, 3 Jul 2015 14:55:11 +0000 (15:55 +0100)]
separator: convert docs

9 years agoroute: convert docs
Daniel Kolesa [Fri, 3 Jul 2015 14:54:14 +0000 (15:54 +0100)]
route: convert docs

9 years agoradio: convert docs
Daniel Kolesa [Fri, 3 Jul 2015 14:52:29 +0000 (15:52 +0100)]
radio: convert docs

9 years agoscroller: convert docs
Daniel Kolesa [Fri, 3 Jul 2015 14:12:48 +0000 (15:12 +0100)]
scroller: convert docs

9 years agosystray: convert docs
Daniel Kolesa [Fri, 3 Jul 2015 14:09:26 +0000 (15:09 +0100)]
systray: convert docs

9 years agoentry: Remove unused variable.
Amitesh Singh [Fri, 3 Jul 2015 10:27:39 +0000 (15:57 +0530)]
entry: Remove unused variable.

9 years agoEntry: Add chunked append in case of _elm_entry_entry_append
Vaibhav Gupta [Fri, 3 Jul 2015 10:08:23 +0000 (11:08 +0100)]
Entry: Add chunked append in case of _elm_entry_entry_append

Summary:
Summary
Fixed FIXME: Add chunked appending here (like in entry_set)

@fix

Signed-off-by: Vaibhav Gupta <g.vaibhav1@samsung.com>
Reviewers: raster, Hermet, herdsman, singh.amitesh, tasn

Subscribers: thiepha, sachin.dev, singh.amitesh

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

9 years agofileselector_button: convert docs
Daniel Kolesa [Thu, 2 Jul 2015 14:16:36 +0000 (15:16 +0100)]
fileselector_button: convert docs

9 years agoactionslider: convert docs
Daniel Kolesa [Thu, 2 Jul 2015 13:54:07 +0000 (14:54 +0100)]
actionslider: convert docs

9 years agonotify: convert docs
Daniel Kolesa [Thu, 2 Jul 2015 13:47:56 +0000 (14:47 +0100)]
notify: convert docs

9 years agophoto: convert docs
Daniel Kolesa [Thu, 2 Jul 2015 13:43:50 +0000 (14:43 +0100)]
photo: convert docs

9 years agovideo: convert docs
Daniel Kolesa [Thu, 2 Jul 2015 13:37:55 +0000 (14:37 +0100)]
video: convert docs

9 years agofileselector: convert docs
Daniel Kolesa [Thu, 2 Jul 2015 13:31:07 +0000 (14:31 +0100)]
fileselector: convert docs

9 years agowin: do not emit atspi children-changed event twice
Lukasz Stanislawski [Thu, 2 Jul 2015 11:53:43 +0000 (13:53 +0200)]
win: do not emit atspi children-changed event twice

9 years agowin: return nice atspi name
Lukasz Stanislawski [Thu, 2 Jul 2015 11:53:02 +0000 (13:53 +0200)]
win: return nice atspi name

9 years agotoolbar: content_set function called when user content set to toolbar item.
woochan lee [Thu, 2 Jul 2015 11:07:48 +0000 (20:07 +0900)]
toolbar: content_set function called when user content set to toolbar item.

Summary:
If User want to content set something to item area. there is no way to except elm customizing.
So i added this feature and make the toolbar item object to layout before.

Now user can content set something on item area only call "elm_object_item_part_content_set" API.

Test Plan:
Make some swallow part on toolbar edc.
and content set some layout to that swallow part to using "elm_object_item_part_content_set"

Reviewers: cedric, Hermet

Subscribers: SanghyeonLee, eagleeye, id213sin

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

9 years agotoolbar: item object change from edje object to layout.
woochan lee [Thu, 2 Jul 2015 11:00:57 +0000 (20:00 +0900)]
toolbar: item object change from edje object to layout.

Summary:
Its for support elm_object_item_XXXX APIs for toolbar item.
Its the pre work for toolbar item content set some layout to toolbar item layout automatically.
(without implement item_content_set with part name.)

I  abandoned for check the other side of this change. but its not has problem so i reclaim this commit
and put on another commit for this. https://phab.enlightenment.org/D2777

Test Plan: To all of the action on elementary toolbar test sample.

Reviewers: cedric, Hermet

Reviewed By: cedric

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

9 years agocnp: remove redundant code
Thiep Ha [Thu, 2 Jul 2015 10:58:15 +0000 (19:58 +0900)]
cnp: remove redundant code

Summary: Remove redundant NULL assign code

Reviewers: cedric, Hermet, JackDanielZ

Reviewed By: JackDanielZ

Subscribers: seoz

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

9 years agoctxpopup: enhance atspi state information and actions.
Lukasz Stanislawski [Thu, 2 Jul 2015 10:36:05 +0000 (12:36 +0200)]
ctxpopup: enhance atspi state information and actions.

9 years agoelm_actionslider, elm_map: porting evas smart callbacks to eo
Avi Levin [Wed, 6 May 2015 12:47:21 +0000 (15:47 +0300)]
elm_actionslider, elm_map: porting evas smart callbacks to eo

9 years agoelm_image, elm_colorselector: porting evas smart callbacks to eo
Avi Levin [Tue, 5 May 2015 15:51:55 +0000 (18:51 +0300)]
elm_image, elm_colorselector: porting evas smart callbacks to eo

9 years agoelm_genlist: porting evas smart callbacks to eo
Avi Levin [Mon, 4 May 2015 13:47:57 +0000 (16:47 +0300)]
elm_genlist: porting evas smart callbacks to eo

9 years agoelm_toolbar: porting evas smart callbacks to eo
Avi Levin [Tue, 9 Jun 2015 13:21:46 +0000 (16:21 +0300)]
elm_toolbar: porting evas smart callbacks to eo

9 years agoelm_clock, elm_flipselector: porting evas smart callbacks to eo
Avi Levin [Tue, 9 Jun 2015 13:20:05 +0000 (16:20 +0300)]
elm_clock, elm_flipselector: porting evas smart callbacks to eo

9 years agoelc_hoversel, elm_interface_scrollable: porting evas smart callbacks to eo
Avi Levin [Sun, 3 May 2015 13:34:53 +0000 (16:34 +0300)]
elc_hoversel, elm_interface_scrollable: porting evas smart callbacks to eo

9 years agoelm_segment_control: porting evas smart callbacks to eo
Avi Levin [Tue, 9 Jun 2015 13:11:10 +0000 (16:11 +0300)]
elm_segment_control: porting evas smart callbacks to eo

9 years agoelm_panel: porting evas smart callbacks to eo
Avi Levin [Tue, 9 Jun 2015 13:09:52 +0000 (16:09 +0300)]
elm_panel: porting evas smart callbacks to eo

9 years agoelm_datetime: porting evas smart callbacks to eo
Avi Levin [Tue, 9 Jun 2015 13:08:07 +0000 (16:08 +0300)]
elm_datetime: porting evas smart callbacks to eo

9 years agoelc_naviframe: porting evas smart callbacks to eo
Avi Levin [Wed, 29 Apr 2015 14:23:54 +0000 (17:23 +0300)]
elc_naviframe: porting evas smart callbacks to eo

9 years agoetc_ctxpopup, elm_gengrid, elm_notify: porting evas smart callbacks to eo
Avi Levin [Sun, 3 May 2015 11:28:16 +0000 (14:28 +0300)]
etc_ctxpopup, elm_gengrid, elm_notify: porting evas smart callbacks to eo

9 years agoelm_entry: use Efl.File in Elm_Entry
Vitor Sousa [Wed, 1 Jul 2015 17:30:23 +0000 (18:30 +0100)]
elm_entry: use Efl.File in Elm_Entry

Summary:
Also using the second optional string parameter of efl_file_set as the
text format specifier.
Added string constants to represent the possible values.

Address the issue:
- Elm entry and the file interface clash on file_set.
Specified in the page:
https://phab.enlightenment.org/w/efl_interfaces/

Reviewers: felipealmeida, tasn

Reviewed By: tasn

Subscribers: thiepha, raster

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

9 years agowin: Add autohide and ELM_POLICY_QUIT_LAST_WINDOW_HIDDEN
Vitor Sousa [Wed, 1 Jul 2015 14:40:57 +0000 (15:40 +0100)]
win: Add autohide and ELM_POLICY_QUIT_LAST_WINDOW_HIDDEN

Summary:
Add the "autohide" property to elm_win. This property, when set to
EINA_TRUE, automatically hides the window upon a "delete,request" signal.

Create ELM_POLICY_QUIT_LAST_WINDOW_HIDDEN, a new quit policy that
automatically exit from the elm_run loop when all windows are hidden.
It is an alternative to autodel to conciliates the memory management
framework of Eo with any other memory management model the program may
be using (e.g. RAII principles of C++).

Create the auxiliary function "_elm_win_policy_quit_triggered" to check
triggering of quit policies.
The check in "smart_hide" is now necessary, since
ELM_POLICY_QUIT_LAST_WINDOW_HIDDEN can be triggered when a window
is hidden.

Create the auxiliary function "_elm_win_flush_cache_and_exit" to avoid
code repetition for exiting the elm_run loop.

Make a small update on documentation in elm_win.h to mention the new
autohide property.

@feature

Reviewers: raster, felipealmeida, cedric, tasn

Reviewed By: felipealmeida

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

9 years agogenlist: broadcast atspi expanded state changes
Lukasz Stanislawski [Wed, 1 Jul 2015 08:42:45 +0000 (10:42 +0200)]
genlist: broadcast atspi expanded state changes

9 years agolayout: Fix eo API error while running "Genlist 7" in elementary_test.
Amitesh Singh [Wed, 1 Jul 2015 04:08:32 +0000 (09:38 +0530)]
layout: Fix eo API error while running "Genlist 7" in elementary_test.

In case of naviframe, resize_obj is not edje.

Steps to reproduce:
1. elementary_test
2. Open "Genlist 7" sample.
3. Switch focus between windows ("elementary_test" <---> "Genlist 7").

Eo Errors:
ERR<8720>:eo lib/eo/eo.c:678 _eo_call_resolve() in lib/edje/edje_object.eo.c:430: func 'edje_obj_message_signal_process' (733) could not be resolved for class 'Elm_Layout'.

@fix
Resolves: T2534

9 years agotest_focus: Focus should to move layout's entry
Anand [Wed, 1 Jul 2015 02:31:26 +0000 (11:31 +0900)]
test_focus: Focus should to move layout's entry

Summary:
While going through the test_focus(focus 2-> give focus to layout "entry") code found
focus should move to layout's entry instead of entry outside the layout.
Just change the entry object in callback ;)

Test Plan: elementry_test-->focus2-->give focus to layout "entry".

Reviewers: cedric, Hermet

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

9 years agoElm_Interface_Scrollable: Improvement in looping behavior
Umesh Tanwar [Wed, 1 Jul 2015 02:14:42 +0000 (11:14 +0900)]
Elm_Interface_Scrollable: Improvement in looping behavior

Summary:
x and y position variable assumes values ranging from min to max.
cw, the content width is larger than max in x axis. Beacause of this
the scroller is not able to loop in rigth/bottom direction. For looping
comparision min and max values should be used instead of content width.

@fix

Signed-off-by: Umesh Tanwar <umesh.tanwar@samsung.com>
Reviewers: raster, seoz, cedric, Hermet

Reviewed By: Hermet

Subscribers: eagleeye, SanghyeonLee, singh.amitesh, sachin.dev

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

9 years agoelm_datetime: Fix datetime ctxpopup resize issue
divyesh purohit [Wed, 1 Jul 2015 02:02:18 +0000 (11:02 +0900)]
elm_datetime: Fix datetime ctxpopup resize issue

Summary:
In elm_datetime, ctxpopup does not resize

@fix

Test Plan:
1) Change the scale value in elementary_config to 2.0 (so that a better size change in the ctxpopup's can be observed)
2) Open elementary_test and then the datetime
3) Click on the first datetime field and observe the ctxpopup's arrow position and then close it
4) Click on the same datetime field again, now observe that the ctxpopup's arrow has concided with the diskselector as it wasn't resized properly.

Reviewers: raster, Hermet, shilpasingh, subodh6129, seoz

Reviewed By: shilpasingh, subodh6129

Subscribers: rajeshps, govi, poornima.srinivasan

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

9 years agomultibuttonentry: Delete item size min set when first box resize time.
woochan lee [Wed, 1 Jul 2015 01:54:46 +0000 (10:54 +0900)]
multibuttonentry: Delete item size min set when first box resize time.

Summary:
The mbe items has to get own min size to calc each items locate, box size etc...
but when first time box resize it will ignored.
It makes item wrong size issue when mbe located at some part of layout in runtime.

Reviewers: Hermet, seoz, woohyun

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

9 years agoatspi: enable atspi also in quicklaunch infrastructure
Lukasz Stanislawski [Tue, 30 Jun 2015 21:24:34 +0000 (23:24 +0200)]
atspi: enable atspi also in quicklaunch infrastructure

9 years agoGenlist: use correct variable during realize
Daniel Zaoui [Tue, 30 Jun 2015 09:07:02 +0000 (12:07 +0300)]
Genlist: use correct variable during realize

VIEW(it) is not set when the function is called. view should be used
instead.

@fix

9 years agoatspi: fix missing Window signals on AT-SPI2 initialization
Lukasz Stanislawski [Mon, 29 Jun 2015 14:30:34 +0000 (16:30 +0200)]
atspi: fix missing Window signals on AT-SPI2 initialization

Patch adds connected/disconnected elm_atspi_bridge events to avoid
races between window getting focus and AT-SPI2 bus initialization.
When  bridge gets connected windows will reemit all "Created",
"Activated" and "Deactivated" events with regard to window focus.

9 years agoSet file permissions back to 644
Daniel Zaoui [Mon, 29 Jun 2015 13:31:50 +0000 (16:31 +0300)]
Set file permissions back to 644

Few files permissions have been modified by mistake in the past patches.

9 years agoatspi: add org.a11y.atspi.Application interface to root object
Lukasz Stanislawski [Mon, 29 Jun 2015 10:55:21 +0000 (12:55 +0200)]
atspi: add org.a11y.atspi.Application interface to root object

9 years agoatspi: add missing header
Lukasz Stanislawski [Mon, 29 Jun 2015 09:39:16 +0000 (11:39 +0200)]
atspi: add missing header

9 years agoatspi: refactor atspi_bridge to eo object
Lukasz Stanislawski [Mon, 8 Jun 2015 13:40:28 +0000 (15:40 +0200)]
atspi: refactor atspi_bridge to eo object

This will allow to reuse eo events infrastructure
in next patches.

9 years agoelm_flip: porting evas smart callbacks to eo
Avi Levin [Thu, 30 Apr 2015 11:18:41 +0000 (14:18 +0300)]
elm_flip: porting evas smart callbacks to eo

9 years agoelm_photo: porting evas smart callbacks to eo
Avi Levin [Wed, 29 Apr 2015 14:45:24 +0000 (17:45 +0300)]
elm_photo: porting evas smart callbacks to eo

9 years agoelm_dayselector: porting evas smart callbacks to eo
Avi Levin [Wed, 29 Apr 2015 11:30:15 +0000 (14:30 +0300)]
elm_dayselector: porting evas smart callbacks to eo

9 years agoelc_player: porting evas smart callbacks to eo
Avi Levin [Tue, 28 Apr 2015 16:37:09 +0000 (19:37 +0300)]
elc_player: porting evas smart callbacks to eo

9 years agoelc_popup: porting evas smart callbacks to eo
Avi Levin [Tue, 28 Apr 2015 13:41:29 +0000 (16:41 +0300)]
elc_popup: porting evas smart callbacks to eo

9 years agoelm_box: porting evas smart callbacks to eo
Avi Levin [Tue, 28 Apr 2015 11:26:17 +0000 (14:26 +0300)]
elm_box: porting evas smart callbacks to eo

Replacing  calls of evas_object_smart_callback_add/del/call
with eo_callback_add/del/call.
This will reduce the use of legacy events and callbacks lists in
smart_object which in turn will improve performance and reduce memory
use.

9 years agoslider: call elm_widget_theme_get instead of elm_object_theme_get.
Amitesh Singh [Mon, 29 Jun 2015 05:45:26 +0000 (11:15 +0530)]
slider: call elm_widget_theme_get instead of elm_object_theme_get.

This reduces one function call and make code more consistent
between widgets.

9 years agoRevert "theme: return false if elm_object_style_set() failed to set requested style."
Amitesh Singh [Mon, 29 Jun 2015 05:27:40 +0000 (10:57 +0530)]
Revert "theme: return false if elm_object_style_set() failed to set requested style."

This reverts commit 76004dfbec84664e253babc5bf576398a5901395.

We need to change other code also to accommodate this change.
_elm_theme_set should return an enum which tells what failed.
enum {
THEME_APPLY_FAILED,
THEME_DEFAULT_SUCCESS.
THEME_APPLY_SUCCESS
};

Based on that, we decide what needs to be done.
The above code will break the layout theme if incorrect theme are passed.
It should be backported to Elm 1.14.

@fix

9 years agoWayland cnp: Fix const qualifier discarding following eolian const fixes.
Tom Hacohen [Fri, 26 Jun 2015 14:44:40 +0000 (15:44 +0100)]
Wayland cnp: Fix const qualifier discarding following eolian const fixes.

9 years agoReplace C names by Eolian namespaced names in .eo files
Vitor Sousa [Fri, 26 Jun 2015 14:36:43 +0000 (15:36 +0100)]
Replace C names by Eolian namespaced names in .eo files

Reviewers: tasn, felipealmeida, raster, cedric

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

9 years agoelm_config: Add feature to control transition scale for edje
jiin.moon [Fri, 26 Jun 2015 04:54:47 +0000 (13:54 +0900)]
elm_config: Add feature to control transition scale for edje

Summary:
If the transition scale flag is enable in edje,
this value affect the transition scale for edje.
@feature

Test Plan: test elementary_config with enventor tool

Reviewers: raster, Hermet

Subscribers: raster

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

9 years agotest_focus_policy: Enhance object focus policy test.
Daniel Juyung Seo [Fri, 19 Jun 2015 05:06:16 +0000 (14:06 +0900)]
test_focus_policy: Enhance object focus policy test.

- Add more descriptions in the test.
- Set the focus to the first button automatically.

9 years agolayout: Add more description for layout's internal smart data members.
Daniel Juyung Seo [Fri, 19 Jun 2015 04:01:46 +0000 (13:01 +0900)]
layout: Add more description for layout's internal smart data members.

9 years agoelm: Add missing const for getters.
Daniel Juyung Seo [Mon, 8 Jun 2015 17:44:29 +0000 (02:44 +0900)]
elm: Add missing const for getters.

9 years agointerface_scrollable: Add more description to animators.
Daniel Juyung Seo [Mon, 8 Jun 2015 16:18:48 +0000 (01:18 +0900)]
interface_scrollable: Add more description to animators.

It is surprising that there is no such a comment on a scrollerable
interface considering the complexity of scroller.

9 years agoelm: Remove shadow variable declarations.
Daniel Juyung Seo [Mon, 8 Jun 2015 15:43:19 +0000 (00:43 +0900)]
elm: Remove shadow variable declarations.

9 years agoedje_externals: Fix wrong free.
Daniel Juyung Seo [Fri, 26 Jun 2015 01:12:25 +0000 (10:12 +0900)]
edje_externals: Fix wrong free.

_signal is used after free. _signal will be freed soon any way.
This was introduced in 3da3082.

This fixes coverity CID 1308263.

9 years agotest_win_keygrab: Fix buffer not null terminated error.
Daniel Juyung Seo [Fri, 26 Jun 2015 01:08:08 +0000 (10:08 +0900)]
test_win_keygrab: Fix buffer not null terminated error.

This fixes coverity CID 1308264.

9 years agoelementary: Add rudimentary support for Elm Wayland apps to set border icon
Chris Michael [Thu, 25 Jun 2015 17:33:57 +0000 (13:33 -0400)]
elementary: Add rudimentary support for Elm Wayland apps to set border icon

Summary: This is a patch to fix T2453 where elm apps in weston/E did
not display the icon on the border. This is just preliminary support
because it only tries to find the efreet desktop file based on
_elm_appname. This support Could be extended to allow efreet to search
based on window title, etc, etc.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoelm_interface_scrollable: fix wrong mirrored calculation
SangHyeon Lee [Thu, 25 Jun 2015 14:44:41 +0000 (16:44 +0200)]
elm_interface_scrollable: fix wrong mirrored calculation

Summary:
This Patch is regarding D2553, but funtionally independent patch.
D2557 is also related with this patch, so to test working fine,
need to install those all three patches.

1. _elm_interface_scrollable_content_region_show store wx
   into scroll_interface_data without coverting mirrored_x.
   fix to store wx to mirror-converted x if is_mirrored.

2. _elm_scroll_x_mirrored_get return mirroed_x after compare zero not minx.
   so current mirrored_x couldn't be less then 0.
   fix to check min not 0 for set return value.

3.  _elm_scroll_x_mirrored_get calculation need to consider start position of scroller.
some scroller(e.g. gengrid) start from non-zero position, so calculation need to change
like below.
ret = (cw - (x + w - min));

@fix

Test Plan: You can test this after merge D2553 patch and D2557 and test gengrid2.

Reviewers: raster, Hermet, seoz, jaehwan, tanwar.umesh07, cedric

Subscribers: tanwar.umesh07, Jaehyun, anand.km, eagleeye, singh.amitesh

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoelm_gengrid: fix an overlap issue of item and group item on focus.
Prince Kr Dubey [Thu, 25 Jun 2015 14:38:28 +0000 (16:38 +0200)]
elm_gengrid: fix an overlap issue of item and group item on focus.

Summary: Issue: Gengrid item comes over group item on click.

Test Plan:
Run elementary test.
Open GenGrid Group. Click on any item which slightly overlap with group item.
Item comes over group item.

Reviewers: raster, cedric

Reviewed By: cedric

Subscribers: rajeshps, govi, poornima.srinivasan, shilpasingh

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoelm_gengrid: fix the bug that gengrid item index(position) is updated wrong value...
SangHyeon Lee [Thu, 25 Jun 2015 14:35:44 +0000 (16:35 +0200)]
elm_gengrid: fix the bug that gengrid item index(position) is updated wrong value in item_update

Summary:
elm_gengrid_item_update perform item_unrealize/item_realize/item_place itself.
But when gengrid items are added and not calculated yet,
caller want to get item's index after execute elm_gengrid_item_update,
return value is wrong because item_place update it's position in not-updated item's x and y.

to prevent this,
if item position is already updated,
do not updates position in item place.

additionally,
I fixed gengrid item prepend wrong posiiton update.
gengrid item position start from 1 not 0, so item_position_update also must be started from 1.

@fix

Test Plan:
To test this scenario,
need to fix src/bin/test_gengrid.c first.

1. add below codes in bottom of _after_bt_clicked(line 703).

```
      Elm_Object_Item *it = elm_gengrid_item_next_get(id->item);
      printf("before update efl item[%p], index [%d]\n",id->item,elm_gengrid_item_index_get(it));
      elm_gengrid_item_update(it);
      printf("after update efl item[%p], index [%d]\n",id->item,elm_gengrid_item_index_get(it));
```

2. execute elementary_test and go to gengrid2 test.

3. add 3 items and select 2nd item then add new item by insert after.

4. you can see index is changed wrong value after item_update executed.

after add fallback code in item_update,
index is returned same value even after item_update execusion.

Reviewers: raster, Hermet, seoz, jaehwan

Subscribers: anand.km, eagleeye, singh.amitesh

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoelm_list & elm_genlist & elm_gengrid: fix the behavior of using the mouse.
Hosang Kim [Thu, 25 Jun 2015 14:33:57 +0000 (16:33 +0200)]
elm_list & elm_genlist & elm_gengrid: fix the behavior of using the mouse.

Summary:
Elementary widgets have different behavior of using the mouse, they need to be unified.
- swipe : without checking on hold, just checking drag state.
- longpress : after longpress, _item_unhighlight(), _item_unselect() are called.
- select : when the mouse pointer leaves item area, _item_unhighlight(), _item_unselect() are called.

First, apply this commit https://phab.enlightenment.org/D2550

Test Plan: elementary_test -> list

Reviewers: seoz, Hermet, CHAN, woohyun, kimcinoo, jaehwan, SanghyeonLee, cedric

Reviewed By: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agogengrid: add unhighlight callback
Hosang Kim [Thu, 25 Jun 2015 14:31:36 +0000 (16:31 +0200)]
gengrid: add unhighlight callback

Summary:
item_unselect check it->select status, so when item highlighted but not selected,
item highlight is remaining even after unselect_cb is called.

And item_select and item_highlight are separated, but item_unselect and item_unhighlight are mixed.
so divide them, too.

This patch will solve upon problem.

Reviewers: seoz, woohyun, Hermet, CHAN, raster, SanghyeonLee, cedric

Reviewed By: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agogengrid: add item cache in gengrid for efficient realize/unrealize operation.
SangHyeon Lee [Thu, 25 Jun 2015 14:28:07 +0000 (16:28 +0200)]
gengrid: add item cache in gengrid for efficient realize/unrealize operation.

Summary:
gengrid realize/unrealize items each smart calculation if their posiiton is updated.
This concept will be occurred useless view object creation and deletion.
So instead of delete items in unrealize function, push item cache into cache list,
and pop item cache from cache list in realize function to reuse item view object
more efficiently.
the cache concept is already implemented in genlist widget and this patch is improved
item cache of genlist cache.
@feature

```
NOTICE: This patch is written under the D2561 Patch which add elm_gengrid_item_fields_update.
        So it must submitted after D2561.
```

Test Plan:
I've tested below three cases,
   1. tested ith this patch in elementary_test and checked all gengrid features are working properly.
   2. tested with changing CACHE_MAX to another value which is set 40 in default
       and checked all gengrid features are working properly.
   3. tested with set it->item->nocache true, and checked cache is never generated
       and checked all gengrid features are working properly.

Reviewers: raster, Hermet, seoz, jaehwan, singh.amitesh

Subscribers: eagleeye, singh.amitesh, Jaehyun

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoelm_spinner: add feature in spinner to change values while dragging relative to the...
godly.talias [Thu, 25 Jun 2015 14:27:09 +0000 (16:27 +0200)]
elm_spinner: add feature in spinner to change values while dragging relative to the speed of dragging

Summary:
Currently the values in spinner change while dragging only based on
the amount of pixels dragged, this patch will enable Spinner to change value
based on the speed of dragging so that it will be more user friendly. This
will help users to alter drag values by big amounts if dragged in a good speed.

Test Plan: test_spinner.c in elementary_test

Reviewers: raster, prince.dubey, shilpasingh, cedric

Reviewed By: cedric

Subscribers: poornima.srinivasan, rajeshps, govi

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agogenlist/list/win: Revert focus highlight animation when looping is enable
Amitesh Singh [Thu, 25 Jun 2015 14:15:06 +0000 (16:15 +0200)]
genlist/list/win: Revert focus highlight animation when looping is enable

Summary:
  -
  Revert "focus: Added internal widget APIs of focus highlight object of elm window."

    This reverts commit 3f98d71830163a154762f2d16301d720c781b7c5.

  - Revert "List: Focus highlight when loop is enable"
This reverts commit 57ad32a900e71f83441bf7246671b8f16a8ec909.

  - Revert "genlist: Focus highlight when loop is enable"

    This reverts commit 91282a22cba66ee5e7799018d3abe8957fb1b1fa.

Reviewers: seoz, raster, jpeg, SanghyeonLee

Subscribers: anand.km, seoz

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agocalendar: show days of prev/next month.
Youngbok Shin [Thu, 25 Jun 2015 14:13:56 +0000 (16:13 +0200)]
calendar: show days of prev/next month.

Summary:
Show days of previous and next month on the blank area of calendar.
@feature

Test Plan: See calendar widget on elementary_test.

Reviewers: raster, seoz, woohyun, cedric

Reviewed By: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoelm_colorselector: pixel-picker accuracy fix
Vitalii Vorobiov [Thu, 25 Jun 2015 14:11:37 +0000 (16:11 +0200)]
elm_colorselector: pixel-picker accuracy fix

Summary:
Looking at the base array of pixels,
the real middle of taken picture
is actually number 8 from array of 17 pixels (which starts from 0).

@fix

Reviewers: reutskiy.v.v, raster, NikaWhite, cedric

Reviewed By: NikaWhite, cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agofocus: fix typo in API Documentation.
Vaibhav Gupta [Thu, 25 Jun 2015 13:54:39 +0000 (15:54 +0200)]
focus: fix typo in API Documentation.

Summary: Signed-off-by: Vaibhav Gupta <g.vaibhav1@samsung.com>

Reviewers: raster, Hermet, cedric

Reviewed By: cedric

Subscribers: sachin.dev, singh.amitesh

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoelm: constify Eolian methods correctly because of recent Eolian changes
Daniel Kolesa [Thu, 25 Jun 2015 11:21:00 +0000 (12:21 +0100)]
elm: constify Eolian methods correctly because of recent Eolian changes

9 years agocnp: remove loss callback when object is deleted
Thiep Ha [Thu, 25 Jun 2015 05:54:36 +0000 (08:54 +0300)]
cnp: remove loss callback when object is deleted

Summary:
SEG_FAULT happens when the object which has selection is deleted,
and new selection is done at another object.
Reason: loss_cb is not removed when the object which has selection is deleted.
When new selection is set for new object, the loss_cb is called for deleted
object. As result, SEG_FAULT happens.

Test Plan:
Run elementary test, open Entry, do selection,
close Entry window, open Entry one more time, do selection.

Reviewers: JackDanielZ

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

9 years agoconfig: read flush.cfg when elm_config_all_flush is called.
Jaehwan Kim [Thu, 25 Jun 2015 05:04:23 +0000 (14:04 +0900)]
config: read flush.cfg when elm_config_all_flush is called.

When elm_config_all_flush is called, another processes should get
the config of current process instead of saved base.cfg.
so current process save the config to flush.cfg and another processes
read it when it is changed.

@fix

9 years agoScroller : Remove white-spaces in header file.
Umesh Tanwar [Thu, 25 Jun 2015 04:47:17 +0000 (13:47 +0900)]
Scroller : Remove white-spaces in header file.

Summary: Signed-off-by: Umesh Tanwar <umesh.tanwar@samsung.com>

Reviewers: cedric, raster, seoz, Hermet

Subscribers: sachin.dev, singh.amitesh

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

9 years agoScroller: Remove white-spaces in scroller.edc file
Umesh Tanwar [Thu, 25 Jun 2015 04:44:46 +0000 (13:44 +0900)]
Scroller: Remove white-spaces in scroller.edc file

Summary: Signed-off-by: Umesh Tanwar <umesh.tanwar@samsung.com>

Reviewers: cedric, raster, seoz

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

9 years agoGenlist: Test case added in Genlist Focus example.
Umesh Tanwar [Thu, 25 Jun 2015 04:24:21 +0000 (13:24 +0900)]
Genlist: Test case added in Genlist Focus example.

Summary:
Added test case to enable/disable mouse wheel. Mouse Wheel is
used to scroll the genlist up/down.

Signed-off-by: Umesh Tanwar <umesh.tanwar@samsung.com>
Test Plan: elementary_test -> Genlist Focus -> Wheel Disabled

Reviewers: raster, Hermet, cedric

Subscribers: sachin.dev, singh.amitesh, SanghyeonLee, eagleeye

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

9 years agoX11/CnP: remove X11 invocations from elm_entry
Daniel Zaoui [Tue, 23 Jun 2015 15:11:05 +0000 (18:11 +0300)]
X11/CnP: remove X11 invocations from elm_entry

Code specific to X11 should not be part of elm_entry and can be easily
replaced with elm_cnp APIs.

@fix T2183

9 years agoCnP: improve loss callback
Daniel Zaoui [Tue, 23 Jun 2015 14:58:48 +0000 (17:58 +0300)]
CnP: improve loss callback

- Reset loss cb after invocation as it is no more needed
- When selection is set, previous owner loss cb is invoked only
if the new owner and the previous one are different.

9 years agoconfig: fix the flush file path.
Jaehwan Kim [Tue, 23 Jun 2015 13:56:17 +0000 (22:56 +0900)]
config: fix the flush file path.

@fix

9 years agoDnD: remove text/uri handling
Daniel Zaoui [Tue, 23 Jun 2015 12:58:45 +0000 (15:58 +0300)]
DnD: remove text/uri handling

This type is not a standard type and can be handled as a text/uri-list
of one uri.

@fix

9 years agoDnD: remove from elm_cnp code specific to elm_entry
Daniel Zaoui [Tue, 23 Jun 2015 12:57:02 +0000 (15:57 +0300)]
DnD: remove from elm_cnp code specific to elm_entry

The tag insertion has to be done only from elm_entry callback. elm_cnp
is not supposed to know what will be done with the data.

9 years agoTests/DnD: fix uri parsing
Daniel Zaoui [Tue, 23 Jun 2015 12:55:28 +0000 (15:55 +0300)]
Tests/DnD: fix uri parsing

When no \n is present at the end of the uris list, the function doesn't
return the uri.

9 years agowidget: Add a case that elm_layout is an item view object.
woochan lee [Mon, 22 Jun 2015 23:30:21 +0000 (08:30 +0900)]
widget: Add a case that elm_layout is an item view object.

Summary:
The internal API "_elm_widget_item_highlight_in_theme()" look like for list item highlight.
but it can use in another widget which has item view as elm_layout.
In that case, ERR log will be printed.

Reviewers: singh.amitesh, Hermet, woohyun

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

9 years agolist: --printf
ChunEon Park [Mon, 22 Jun 2015 12:41:14 +0000 (21:41 +0900)]
list: --printf

9 years agoexamples: fix changes in Evas.Canvas3D namespace.
Cedric BAIL [Mon, 22 Jun 2015 10:30:11 +0000 (12:30 +0200)]
examples: fix changes in Evas.Canvas3D namespace.

9 years agoelm_genlist: code refractoring of _item_process
Amitesh Singh [Mon, 22 Jun 2015 10:02:55 +0000 (12:02 +0200)]
elm_genlist: code refractoring of _item_process

Summary:
When item_process is success, then we want to call _item_process_post.
Old code was confusing before.

Reviewers: raster, Hermet, SanghyeonLee

Subscribers: seoz, sachin.dev

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoelm_genlist: reset timer to NULL on cancel only.
Amitesh Singh [Mon, 22 Jun 2015 09:59:21 +0000 (11:59 +0200)]
elm_genlist: reset timer to NULL on cancel only.

Summary: @fix

Reviewers: raster, seoz, SanghyeonLee

Subscribers: sachin.dev, seoz

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoelm_scroller: add wheel_disable_set API
Umesh Tanwar [Mon, 22 Jun 2015 09:57:51 +0000 (11:57 +0200)]
elm_scroller: add wheel_disable_set API

Summary:
This API can be used by widgets like Genlist/Gengrid, which implements
Elm_Interface_Scrollable interface.Mouse wheel is used to scroll up and
down on widget.

@feature

Test Plan: elementary_test -> Scroller -> Wheel Disable

Reviewers: raster, Hermet, cedric, SanghyeonLee, singh.amitesh

Subscribers: JackDanielZ, herdsman, cedric, sachin.dev

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoelm_colorselector: fix horiz/vertical padding to be affected by base_scale in edc
Sung-Taek Hong [Mon, 22 Jun 2015 09:55:52 +0000 (11:55 +0200)]
elm_colorselector: fix horiz/vertical padding to be affected by base_scale in edc

Summary:
elm_colorselector get its padding size from data in edc.
However, when calculating the padding size, it does not consider
base_scale of the style from where it gets 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, woohyun

Subscribers: woohyun, Hermet

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoelm_genlist: fix highlighted items overlap with group item during scrolling and focus...
Prince Kr Dubey [Mon, 22 Jun 2015 09:54:53 +0000 (11:54 +0200)]
elm_genlist: fix highlighted items overlap with group item during scrolling and focus when intersect.

Summary: Highlighted genlist item overlap with group item during scrolling and focus when itersect.

Test Plan:
Run elementary_test.
   open Genlist Group.
   select one item and try to cross the group item via scrolling.
   Highlighted item comes over group item.

Reviewers: Hermet, raster, cedric

Reviewed By: cedric

Subscribers: rajeshps, govi, poornima.srinivasan, shilpasingh

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agogenlist: fix Issue "In Tree effect feature, items floates when number of item crosses...
Prince Kr Dubey [Mon, 22 Jun 2015 09:51:20 +0000 (11:51 +0200)]
genlist: fix Issue "In Tree effect feature, items floates when number of item crosses item block size".

Summary: "In Tree effect feature, during expansion of tree, when total number of items crosses block count, items start floating".

Test Plan: Run elementary_test, open Genlist Tree, keep expanding items untill it crosses number of count 32 (Block count). Resize the window, floting items can be seen.

Reviewers: raster, cedric

Subscribers: shilpasingh, poornima.srinivasan, govi, rajeshps

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoelm_entry: modify to not allocate Eina_Rectangle
Minwoo, Lee [Mon, 22 Jun 2015 09:47:22 +0000 (11:47 +0200)]
elm_entry: modify to not allocate Eina_Rectangle

Summary: modify to not allocate Eina_Rectangle and use it directly on the stack with EINA_RECTANGLE_SET

Reviewers: raster, woohyun, cedric

Reviewed By: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agogenlist: fix resize of items when added after elm_genlist_clear().
Amitesh Singh [Mon, 22 Jun 2015 10:06:21 +0000 (19:06 +0900)]
genlist: fix resize of items when added after elm_genlist_clear().

Summary:
This fixes following issue.

1. Add genlist items
2. Clear genlist by elm_genlist_clear()
3. Append items.
   Genlist items are shrinked. This patch fixes that issue.

@fix
Partially resolves: T2367

Reviewers: Hermet, raster, cedric, raoulh, SanghyeonLee

Subscribers: sachin.dev, seoz

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

9 years agoupdate po's
Carsten Haitzler (Rasterman) [Mon, 22 Jun 2015 07:49:13 +0000 (16:49 +0900)]
update po's