platform/upstream/efl.git
8 years agoelm: Replace EO_EV_ by EO_BASE_EVENT_
Jean-Philippe Andre [Thu, 21 Jan 2016 05:45:05 +0000 (14:45 +0900)]
elm: Replace EO_EV_ by EO_BASE_EVENT_

EO_EV_ stuff is deprecated

8 years agoelm_hoversel: fix calculation to make items fit to dropdown box
Jee-Yong Um [Wed, 20 Jan 2016 12:29:12 +0000 (21:29 +0900)]
elm_hoversel: fix calculation to make items fit to dropdown box

Summary:
While applying scroller on hoversel, several lines for item size
calculation were added, but they failed to have item get proper size.
Now redundant codes are removed and some are fixed, and hoversel will
be shown more well-ordered.

Test Plan: elementary_test hoversel

Reviewers: jpeg, raster, cedric

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

8 years agoelm_widget: use internal function for clearing the focus
Minkyu Kang [Wed, 20 Jan 2016 08:15:45 +0000 (17:15 +0900)]
elm_widget: use internal function for clearing the focus

Summary:
This patch will remove duplicate logic

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Reviewers: seoz, Hermet, cedric

Subscribers: seoz

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

8 years agoupdate author
Hermet Park [Wed, 20 Jan 2016 08:10:16 +0000 (17:10 +0900)]
update author

8 years agoelm_widget: cleanup _elm_widget_on_focus function
Minkyu Kang [Wed, 20 Jan 2016 08:06:22 +0000 (17:06 +0900)]
elm_widget: cleanup _elm_widget_on_focus function

Summary:
This patch will reduce duplicate codes and code depth for readability

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Reviewers: seoz, Hermet, cedric

Subscribers: seoz

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

8 years agoCombobox: rename the "selected" event to "item,selected" as it should be.
Dave Andreoli [Tue, 19 Jan 2016 19:33:47 +0000 (20:33 +0100)]
Combobox: rename the "selected" event to "item,selected" as it should be.

Also updated the test to reflect this change

8 years agoelementary: Fix elm_win_window_id_get function
Chris Michael [Tue, 19 Jan 2016 15:43:28 +0000 (10:43 -0500)]
elementary: Fix elm_win_window_id_get function

When using this function with wayland windows, we should be returning
the matching Ecore_Wl2_Window id, not the surface_id

ref T3058

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoHoversel: add a test for the populate-on-click scenario
Dave Andreoli [Mon, 18 Jan 2016 18:48:31 +0000 (19:48 +0100)]
Hoversel: add a test for the populate-on-click scenario

8 years agorelease: Update NEWS and bump version for 1.17.0-beta2 release
Stefan Schmidt [Mon, 18 Jan 2016 13:10:24 +0000 (14:10 +0100)]
release: Update NEWS and bump version for 1.17.0-beta2 release

8 years agowin32: Fix link of binaries which use functions in Evil
Vincent Torri [Mon, 18 Jan 2016 04:51:51 +0000 (13:51 +0900)]
win32: Fix link of binaries which use functions in Evil

Reviewers: cedric, jpeg

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

8 years agogitignore: Add new example to gitignore list.
Daniel Juyung Seo [Sun, 17 Jan 2016 19:26:28 +0000 (04:26 +0900)]
gitignore: Add new example to gitignore list.

8 years agoexamples/combobox: Remove unused functions.
Daniel Juyung Seo [Sun, 17 Jan 2016 19:24:16 +0000 (04:24 +0900)]
examples/combobox: Remove unused functions.

8 years agoGengrid: improve item_region_show code
Dave Andreoli [Sun, 17 Jan 2016 14:11:29 +0000 (15:11 +0100)]
Gengrid: improve item_region_show code

There is no need to recalc row and col position of the item, they are already stored in the item struct.

The old implementation was calculating wrong values and also was storing this wrong values in it->x and it->y, resulting in wrong results for the elm_gengrid_item_pos_get() function.

so, at the end,  this is a @fix for the pos_get() function.

Also changed a bit the test to let the gengrid fill the window and thus testing behaviour on col/row changes.

I didn't find any regression in all the gengrid tests after this, let me know if it broke something for you.

8 years agoconfig: Correct defaults in upgrade of popup conf
Andy Williams [Fri, 15 Jan 2016 21:52:08 +0000 (21:52 +0000)]
config: Correct defaults in upgrade of popup conf

After bumping version we need to create a new IFCFG block.

@fix

T3008

8 years agoslider: fix segfault in case of obj is deleted before wheel timeout timer expires
Amitesh Singh [Fri, 15 Jan 2016 12:11:27 +0000 (17:41 +0530)]
slider: fix segfault in case of obj is deleted before wheel timeout timer expires

Issue:
1. elementary_test -> slider
2. move mousewheel on slider and popup gets shown.
3. close the slider window very fast or increase the wheel_timeout to 4 seconds
4. observe crash

8 years agoSegmentControl: Fix theme to avoid text move on select
Jean-Philippe Andre [Fri, 15 Jan 2016 09:15:50 +0000 (18:15 +0900)]
SegmentControl: Fix theme to avoid text move on select

GLOW and SHADOW_BOTTOM have different paddings, which changes the
geometry of the object. This compensates that.

8 years agoconfig: try to properly update config for popup new align value.
Cedric BAIL [Thu, 14 Jan 2016 23:49:22 +0000 (15:49 -0800)]
config: try to properly update config for popup new align value.

This idea has been suggested by Andrew Williams and I hope it does work
just fine. Please report any problem.

@fix

T3008

8 years agoelm_config: close file before moving it
Stefan Schmidt [Thu, 14 Jan 2016 15:36:00 +0000 (16:36 +0100)]
elm_config: close file before moving it

8 years agoelm_config: print an eror message if we fail to save the derived config profile
Stefan Schmidt [Thu, 14 Jan 2016 14:53:53 +0000 (15:53 +0100)]
elm_config: print an eror message if we fail to save the derived config profile

8 years agoelm_config: handle eet_data_write possible error return
Stefan Schmidt [Thu, 14 Jan 2016 13:22:23 +0000 (14:22 +0100)]
elm_config: handle eet_data_write possible error return

CID: 1347399

8 years agoexamples: fix compilation from command line (file models)
Jean-Philippe Andre [Thu, 14 Jan 2016 05:53:51 +0000 (14:53 +0900)]
examples: fix compilation from command line (file models)

8 years agobox: enforce size recalc during unpack_all()
Mike Blumenkrantz [Wed, 13 Jan 2016 20:43:49 +0000 (15:43 -0500)]
box: enforce size recalc during unpack_all()

deleting subobjects here was occurring and triggering sizing eval
prior to removing the objects from the evas box, resulting in a failure
to accurately calculate and set size hints

also set delete_me to block sizing evals during subobj deletion loop
in order to avoid object thrashing during the time when nothing is happening

@fix

8 years agobox: improve aspected layout for non-1:1 ratio aspects
Mike Blumenkrantz [Wed, 13 Jan 2016 20:37:50 +0000 (15:37 -0500)]
box: improve aspected layout for non-1:1 ratio aspects

the aspect calc function requires unaliased size params, so don't pass
aliased params

also clamp min axis size to min aspected item size as intended

8 years ago[Hover] Fixed the delaying of hover dismiss on continuous mouse clicks
godly.talias [Wed, 13 Jan 2016 06:59:15 +0000 (15:59 +0900)]
[Hover] Fixed the delaying of hover dismiss on continuous mouse clicks

Summary:
When continous mouse clicks happen hover emits the hide signals continously
to edje. As the embryo program for hiding requires some time to finish the
animation, if within that time another mouse click comes the program gets
invoked again and thus the hiding will get delayed till the mouse clicks ends.
This patch fix that issue by adding a flag for emitting signals.

@fix T3006

Signed-off-by: godly.talias <godly.talias@samsung.com>
Test Plan: elementary_test

Reviewers: cedric, conr2d, prince.dubey, shilpasingh, Princekrdubey

Reviewed By: shilpasingh, Princekrdubey

Subscribers: Princekrdubey, divyesh, govi, rajeshps

Maniphest Tasks: T3006

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

8 years agoels_cursor: mark internal struct static
Stefan Schmidt [Mon, 11 Jan 2016 20:52:34 +0000 (21:52 +0100)]
els_cursor: mark internal struct static

8 years agoelmn_config: mark some internal variables and functions static
Stefan Schmidt [Mon, 11 Jan 2016 20:42:05 +0000 (21:42 +0100)]
elmn_config: mark some internal variables and functions static

8 years agoatspi: mark some internal structs static
Stefan Schmidt [Mon, 11 Jan 2016 20:35:27 +0000 (21:35 +0100)]
atspi: mark some internal structs static

8 years agoexamples/combobox: include string.h for strcasestr()
Stefan Schmidt [Mon, 11 Jan 2016 20:10:43 +0000 (21:10 +0100)]
examples/combobox: include string.h for strcasestr()

8 years agoWidgets: remove duplicate declaration of language,changed signal.
Tom Hacohen [Mon, 11 Jan 2016 13:43:15 +0000 (13:43 +0000)]
Widgets: remove duplicate declaration of language,changed signal.

They are already defined in Elm.Widget, and they inherit from it.

Fixes T3208.

8 years agoWidgets: remove duplicate declaration of access,changed signal.
Tom Hacohen [Mon, 11 Jan 2016 13:42:31 +0000 (13:42 +0000)]
Widgets: remove duplicate declaration of access,changed signal.

They are already defined in Elm.Widget, and they inherit from it.

Fixes T3208.

8 years agorelease: Update NEWS and bump version for 1.17.0-beta1 release
Stefan Schmidt [Mon, 11 Jan 2016 11:58:46 +0000 (12:58 +0100)]
release: Update NEWS and bump version for 1.17.0-beta1 release

8 years agomodules/prefs/elm_entry: Add safety check for NULL pointer and fix memory leak
Minwoo, Lee [Mon, 11 Jan 2016 07:49:29 +0000 (16:49 +0900)]
modules/prefs/elm_entry: Add safety check for NULL pointer and fix memory leak

Summary: Add safety check for NULL pointer and fix memory leak

Reviewers: cedric, woohyun, Hermet, stefan_schmidt, raster

Reviewed By: stefan_schmidt, raster

Subscribers: Hermet

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

8 years agoelm entry: check for null return from eina_rectangle_new
Carsten Haitzler (Rasterman) [Mon, 11 Jan 2016 07:42:05 +0000 (16:42 +0900)]
elm entry: check for null return from eina_rectangle_new

this will handle if eina_rectangle_new can't allocate a rect
(basically never will happen...)

@fix

8 years agojs: fix examples functions
Larry [Fri, 8 Jan 2016 23:31:26 +0000 (00:31 +0100)]
js: fix examples functions

Summary: update functions in examples @fix

Reviewers: cedric, felipealmeida

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agocombobox: fix recalc and hover's best_location error
divyesh purohit [Fri, 8 Jan 2016 23:27:09 +0000 (00:27 +0100)]
combobox: fix recalc and hover's best_location error

Summary:
1) Recalc error occurs if combobox_hover_begin() was called by the app, it can be reproduced by keeping elm_combobox_hover_begin() in the test_combobox.c
2) Content_set in hover always considered "bottom" as it's best_location as it done during the constructor.
@fix
Signed-off-by: divyesh purohit <div.purohit@samsung.com>
Test Plan:
It can be reproduced by keeping elm_combobox_hover_begin() in the test_combobox.c.
Also the changing the position of combobox in the window would give top/bottom as it's best location.

Reviewers: cedric, shilpasingh

Reviewed By: shilpasingh

Subscribers: rajeshps, govi

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agobox: update evas box geometry during layout after smart extents calc
Mike Blumenkrantz [Fri, 8 Jan 2016 20:03:38 +0000 (15:03 -0500)]
box: update evas box geometry during layout after smart extents calc

smart extents may trigger a recalc during size hint setting, resulting
in the box being moved/resized during layout

8 years agohoversel: don't activate if the items were none.
Hermet Park [Fri, 8 Jan 2016 11:50:01 +0000 (20:50 +0900)]
hoversel: don't activate if the items were none.

it's wierd to expand hoversel without items.
the behavior made me suprised before i analyzed it.
it looked almost a bug.

if you have any other objections, please ping me.

8 years agohide indicator after mouse wheel activation.
Hermet Park [Fri, 8 Jan 2016 06:58:59 +0000 (15:58 +0900)]
hide indicator after mouse wheel activation.

we need to customize the duration of the indicator from api or theme data.

@fix T2348

8 years agoctxpopup: add geometry,update smart callback.
Hermet Park [Fri, 8 Jan 2016 06:11:11 +0000 (15:11 +0900)]
ctxpopup: add geometry,update smart callback.

conceptually, ctxpopup won't give any geometry information of the container.
this event is a way for returning the information of the container for user scenarios.

@feature.

fix @T2042

8 years agoelementary: Fix potential sizeof mismatch
Chris Michael [Thu, 7 Jan 2016 20:23:45 +0000 (15:23 -0500)]
elementary: Fix potential sizeof mismatch

Coverity CID1347398 reports that this could potentially be a
non-portable assumption resulting in a sizeof mismatch. Fix this by
using the actual structure type in the call to calloc.

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoelementary: Fix warnings of uninitialized variable usage
Chris Michael [Thu, 7 Jan 2016 19:58:23 +0000 (14:58 -0500)]
elementary: Fix warnings of uninitialized variable usage

This patch just fixes a compiler warning about using fw/fh
uninitialized if the conditional is false

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoelementary: Fix calls to ecore_evas_wayland_window_get2
Chris Michael [Thu, 7 Jan 2016 19:56:30 +0000 (14:56 -0500)]
elementary: Fix calls to ecore_evas_wayland_window_get2

As we've renamed the function, the calls to it should be updated to
use the new function name

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agowidget: check next_item existence when focusing before calling widget fns
Mike Blumenkrantz [Wed, 6 Jan 2016 22:05:44 +0000 (17:05 -0500)]
widget: check next_item existence when focusing before calling widget fns

ERR<eo>lib/eo/eo.c:753 Unable to resolve op for api func 0x7ffff7cc17ce

8 years agolayout: do not unset max size hint during sizing eval
Mike Blumenkrantz [Tue, 5 Jan 2016 18:18:03 +0000 (13:18 -0500)]
layout: do not unset max size hint during sizing eval

previously-applied max size hints should not be unset; these are only
able to be set externally from a parent object, so don't overwrite them
internally

@fix

8 years agobox: use elm_box_recalculate() in smart recalc
Mike Blumenkrantz [Tue, 5 Jan 2016 18:17:23 +0000 (13:17 -0500)]
box: use elm_box_recalculate() in smart recalc

ensures that the internal box will calculate and blocks further (recursive)
recalc calls

8 years agoelementary_test: remove wrong usage of EINA_UNUSED.
Umesh Tanwar [Wed, 6 Jan 2016 19:27:10 +0000 (11:27 -0800)]
elementary_test: remove wrong usage of EINA_UNUSED.

Summary:
If argument variable is not used in function, then only
that variable should be declared as EINA_UNUSED.

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

Reviewers: Hermet, singh.amitesh

Subscribers: sachin.dev

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agosegment_control: check item disable
Subodh Kumar [Wed, 6 Jan 2016 19:26:18 +0000 (11:26 -0800)]
segment_control: check item disable

Summary:
Elm segment_control: check item disable

Signed-off by: @adrien

Refer T2883

@fix

Test Plan: NA

Reviewers: cedric

Subscribers: adrien

Projects: #elementary

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agocombobox: add documentation and example
divyesh purohit [Wed, 6 Jan 2016 18:57:29 +0000 (10:57 -0800)]
combobox: add documentation and example

Summary:
Added Documentation for Combobox Widget
Signed-off-by: divyesh purohit <div.purohit@samsung.com>
Test Plan: execute make doc

Reviewers: shilpasingh, cedric

Subscribers: rajeshps, govi

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoelm_sys_notify: add missing since tags for notification server support
Stefan Schmidt [Wed, 6 Jan 2016 18:38:46 +0000 (19:38 +0100)]
elm_sys_notify: add missing since tags for notification server support

8 years agoelm_notify/popup: add missing since tag for new dismiss symbols
Stefan Schmidt [Wed, 6 Jan 2016 17:39:48 +0000 (18:39 +0100)]
elm_notify/popup: add missing since tag for new dismiss symbols

8 years agoelm_combox: add missing since tags for new APIs
Stefan Schmidt [Wed, 6 Jan 2016 16:33:54 +0000 (17:33 +0100)]
elm_combox: add missing since tags for new APIs

8 years agoelm_win: add missing since tag and correct another one
Stefan Schmidt [Wed, 6 Jan 2016 16:23:55 +0000 (17:23 +0100)]
elm_win: add missing since tag and correct another one

8 years agotoolbar: Revert a theme change for shrink mode signals.
Youngbok Shin [Wed, 6 Jan 2016 10:38:05 +0000 (19:38 +0900)]
toolbar: Revert a theme change for shrink mode signals.

Summary:
It was changed for testing shrink mode signals.
But, it was unnecessary change for default theme.

Test Plan: N/A

Reviewers: zmike, jaehwan

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

8 years agoconfig: Remove stray printf.
Stephen okra Houston [Tue, 5 Jan 2016 21:33:35 +0000 (15:33 -0600)]
config: Remove stray printf.

8 years agosys_notify: fix shutdown of elm_sys_notify
Jean Guyomarc'h [Tue, 5 Jan 2016 19:49:47 +0000 (11:49 -0800)]
sys_notify: fix shutdown of elm_sys_notify

Summary:
When elm_sys_notify was not needed, its singleton instance
is NULL. Eo complained about passing a NULL pointer.

Thanks to bu5hm4n (Marcel Hollerbach) for the report.

@fix

Reviewers: stefan_schmidt, cedric

Subscribers: bu5hm4n

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agorelease: Update NEWS and bump version for 1.17.0-alpha1 release
Stefan Schmidt [Tue, 5 Jan 2016 14:24:19 +0000 (15:24 +0100)]
release: Update NEWS and bump version for 1.17.0-alpha1 release

8 years agoelementary: Fix elementary not compiling
Chris Michael [Tue, 5 Jan 2016 13:55:54 +0000 (08:55 -0500)]
elementary: Fix elementary not compiling

With the push of 1056b6ed01475817da2439012057d11865d2c5d8, elementary
compile broke due to undeclared variables. This patch fixes elm to
compile again by declaring the missing vars.

@fix

@raster, Please double check this change as I am unsure if it is what
you Really intended here.

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoelm config - monitor JUST the correct files for profile and cfg change
Carsten Haitzler (Rasterman) [Tue, 5 Jan 2016 13:15:00 +0000 (22:15 +0900)]
elm config - monitor JUST the correct files for profile and cfg change

this fixes the config monitoring to not use flush.cfg but to use the
correct profie.cfg or base.cfg in the profile we are using. this is
necessary to do "special" profiles per screen so apps that switched to
another profile because asked by e, monitor THAT profile for changes
specifically and dont also switch profiles since they have been told
what to use now.

@fix

8 years agoelm wl cnp - fix paste to not crash anymore
Carsten Haitzler (Rasterman) [Mon, 4 Jan 2016 09:44:58 +0000 (18:44 +0900)]
elm wl cnp - fix paste to not crash anymore

this used the wrong widget - it should have used requestwidget. this
fixes that.

@fix

8 years agoelm config - add the ability to have derived configurations from others
Carsten Haitzler (Rasterman) [Mon, 4 Jan 2016 08:58:18 +0000 (17:58 +0900)]
elm config - add the ability to have derived configurations from others

this adds the ability to have one profile automatically be derived
from another with modifications applied. right now it only can do a
very limited modification - multiple scale. over time this will
expand. this is only inteded otbe sued by a DE like enlightenment, so
it's not going to be documented fully at this point.

@feature

8 years agoelm config - add function to check if profile exists
Carsten Haitzler (Rasterman) [Thu, 31 Dec 2015 07:37:25 +0000 (16:37 +0900)]
elm config - add function to check if profile exists

this adds a method to see if a profile exists.
elm_config_profile_exists().

@feature

8 years agoelm config tool - dont need to call save if flush is saving anyway
Carsten Haitzler (Rasterman) [Thu, 31 Dec 2015 06:42:25 +0000 (15:42 +0900)]
elm config tool - dont need to call save if flush is saving anyway

tis would also make behavior more consistent with the tool as before
sometimes it flushed + saved, sometimes just flushed which would lose
settings. now since this works right in elm config in the lib, we dont
need to save if we flush as flush saves too.

8 years agoelm config - allow the ability to save out to another hidden profile
Carsten Haitzler (Rasterman) [Thu, 31 Dec 2015 06:38:20 +0000 (15:38 +0900)]
elm config - allow the ability to save out to another hidden profile

support the ability to have hidden profiles that begin with a dot (.)
char like all hidden files/dirs. to do this we need to also be able to
create profiles with a given name (a hidden name) without switching to
them, so add the ability to save out to a specific profile name
without switching to it. of course this means to list profiles we need
to list them or list ALL includiing hidden profiles.

@feature

8 years agocombobox: add new widget.
divyesh purohit [Mon, 4 Jan 2016 23:22:46 +0000 (15:22 -0800)]
combobox: add new widget.

Summary:
Combobox is a combinational widget of a drop-down list and single line entry.
Based on the text entered in the entry, the list items are filtered accordingly.
Signed-Off By: Cedric Bail <cedric.bail@free.fr>
Signed-Off By: Divyesh Purohit <div.purohit@samsung.com>

Test Plan: test_combobox.c is added to elementary test

Reviewers: raster, shilpasingh, cedric, jpeg, stefan_schmidt

Reviewed By: raster, shilpasingh, cedric

Subscribers: SanghyeonLee, shashank0990, singh.amitesh, tasn, raster, seoz, poornima.srinivasan, rajeshps, govi

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agohover: fix segfault when smart direction is used in content_set in hover
divyesh purohit [Mon, 4 Jan 2016 23:21:44 +0000 (15:21 -0800)]
hover: fix segfault when smart direction is used in content_set in hover

Summary:
when using elm_object_part_content_set(hover, "smart", content); it would cause segfault, this patch would fix T3004

Signed-off-by: divyesh purohit <div.purohit@samsung.com>
Test Plan:
please open the hover3 example in elementary for testing it, the hover
content shouldn't leave the window as "smart" direction is used.

Reviewers: shilpasingh, raster, cedric, Hermet

Subscribers: rajeshps, govi

Maniphest Tasks: T3004

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agohoversel: auto update hoversel after dismiss animation finished.
Jee-Yong Um [Mon, 4 Jan 2016 23:17:23 +0000 (15:17 -0800)]
hoversel: auto update hoversel after dismiss animation finished.

Summary:
If auto_update feature changes hoversel width,
dismiss animation seems awful because hoversel contents move to
changed position in an instant.
This patch makes hoversel update its content with clicked item
after dismiss animation finished.

Test Plan: elementary_test hoversel

Reviewers: raster, cedric, jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agohoversel: fix hover position in hoversel, when it goes out of the viewport
divyesh purohit [Mon, 4 Jan 2016 23:08:49 +0000 (15:08 -0800)]
hoversel: fix hover position in hoversel, when it goes out of the viewport

Summary:
Hoversel Widget is designed in such a way that it accepts top/bottom/left/right directions , internally it uses hover widget which does not take care if its content goes of it's parent (Elm_Win in most cases) . this patch ensures that the drop-down content remains restricted in visible hover_parent. it would fix  T2965
Signed-off-by: divyesh purohit <div.purohit@samsung.com>
Signed-off-by: Jee-Yong Um <conr2d@gmail.com>
Test Plan:
Open entry widget and right click to show a hoversel widget, check if the hoversel or hover content goes out of the window.

this is what hoversel would look like after this patch {F27551}

Screenshots of top-left / top-right/ bottom-left and bottom-right corners in entry after this patch

{F27553}

{F27554}

{F27555}

{F27557}

Reviewers: shilpasingh, conr2d, raster, cedric, Hermet

Subscribers: rajeshps, govi

Projects: #elementary

Maniphest Tasks: T2965

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agobutton: add color classes
Sung-Taek Hong [Mon, 4 Jan 2016 23:06:52 +0000 (15:06 -0800)]
button: add color classes

Summary:
The following color classes are added.
 - "button_bg", "button background color"
 - "button_bg_pressed", "button pressed background color"
 - "button_bg_disabled", "button disabled background color"
 - "button_bg_disabled", "button disabled background color"
 - "button_text_pressed", "button pressed text color"
 - "button_icon", "button icon color"
 - "button_icon_pressed", "button pressed icon color"
 - "button_icon_disabled", "button disabled icon color"

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agomultibuttonentry: add color classes and text classes.
woochan lee [Mon, 4 Jan 2016 22:55:04 +0000 (14:55 -0800)]
multibuttonentry: add color classes and text classes.

Summary:
The following new color classes and text classes
for multibuttonentry widget are added.

"multibuttonentry_bg", "Multibuttonentry Background"
"multibuttonentry_item_bg", "Multibuttonentry Item Background"
"multibuttonentry_item_bg_selected", "Multibuttonentry Item Selected Background"
"multibuttonentry_item_text", "Multibuttonentry Item Text"
"multibuttonentry_item_text_pressed", "Multibuttonentry Item Pressed Text"
"multibuttonentry_item_text_disabled", "Multibuttonentry Item Disabled Text"

@feature

Reviewers: raster, cedric, Hermet, kimcinoo, woohyun

Subscribers: SanghyeonLee, eagleeye, id213sin

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoscroller: add color classes
Hosang Kim [Mon, 4 Jan 2016 22:52:50 +0000 (14:52 -0800)]
scroller: add color classes

Summary:
The following new color classes
for scroller widget are added and changed.

Reviewers: raster, cedric, Hermet, kimcinoo, woohyun

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoctxpopup: add color class
taehyub [Mon, 4 Jan 2016 22:51:28 +0000 (14:51 -0800)]
ctxpopup: add color class

Summary:
Apply ctxpopup color class
 - ctxpopup_bg

Test Plan:
  1. change ctxpopup bg color class in colorclass.edc
  2. run elementary test
  3. check the color of ctxpopup bg

Reviewers: Hermet, kimcinoo, woohyun, raster

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agopopup: apply popup color class
taehyub [Mon, 4 Jan 2016 22:49:11 +0000 (14:49 -0800)]
popup: apply popup color class

Summary:
Apply popup color class
 - popup bg
 - popup title bg
 - popup title text
 - popup text

Test Plan:
  1. change popup color class in colorclass.edc
  2. run elementary test
  3. check the color of popup

Reviewers: Hermet, kimcinoo, woohyun, raster

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agospinner: add color classes and text classes.
woochan lee [Mon, 4 Jan 2016 22:48:26 +0000 (14:48 -0800)]
spinner: add color classes and text classes.

Summary:
The following new color classes and text classes
for spinner widget are added.

"spinner_bg", "Spinner Background"

@feature

Reviewers: raster, cedric, Hermet, kimcinoo, woohyun

Subscribers: SanghyeonLee, eagleeye, id213sin

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoindex: add color classes and text classes.
woochan lee [Mon, 4 Jan 2016 22:39:08 +0000 (14:39 -0800)]
index: add color classes and text classes.

Summary:
The following new color classes and text classes
for index widget are added.

"index_bg", "Index Background"
"index_item_bg", "Index Item Background"
"index_highlight_text," "Index Highlight Text"
"index_item_text," "Index Items Text"
"index_item_text_selected," "Index Selected Items Text"

@feature

Reviewers: raster, cedric, Hermet, kimcinoo, woohyun

Subscribers: SanghyeonLee, eagleeye, id213sin

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoentry: add new text classes and color classes for Entry widget
Youngbok Shin [Mon, 4 Jan 2016 22:37:25 +0000 (14:37 -0800)]
entry: add new text classes and color classes for Entry widget

Summary:
Add new text classes and color classes for Entry widget according to
consistency with other widget's class.
And it removes legacy classes. If we need to support backward
compatibility, the legacy classes have to be maintained in each widget.

Test Plan: N/A

Reviewers: cedric, woohyun, jaehwan, kimcinoo, raster

Subscribers: CHAN

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agodatetime: add color classes and text classes.
woochan lee [Mon, 4 Jan 2016 22:35:09 +0000 (14:35 -0800)]
datetime: add color classes and text classes.

Summary:
The following new color classes and text classes
for datetime widget are added.

"datetime_bg", "Datetime Background"
"datetime_separator_text", "Datetime Separator Text"
"datetime_separator_text_disabled", "Datetime Separator Disabled Text"

@feature

Reviewers: raster, cedric, kimcinoo, Hermet, woohyun

Subscribers: SanghyeonLee, eagleeye, id213sin

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agocalendar: add color classes and text classes.
Youngbok Shin [Mon, 4 Jan 2016 22:34:06 +0000 (14:34 -0800)]
calendar: add color classes and text classes.

Summary:
The following new color classes and text classes
for calendar widget are added.
"calendar_year_text"         - Year Text in Title Area
"calendar_month_text"        - Month Text in Title Area
"calendar_weekday_text"      - Weekday Text
"calendar_day_text"          - Day Text
"calendar_day_text_holiday"  - Holiday Text
"calendar_day_text_today"    - Today Text
"calendar_day_text_disabled" - Disabled Day Text
"calendar_day_selected"      - Selected Day Effect
"calendar_day_highlighted"   - Highlighted Day Effect
"calendar_day_checked"       - Checked Day Effect
@feature

Test Plan: N/A

Reviewers: woohyun, raster, cedric, kimcinoo, jaehwan

Subscribers: CHAN

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoinwin: remove a meaningless line in sizing_eval
Jee-Yong Um [Mon, 4 Jan 2016 22:09:34 +0000 (14:09 -0800)]
inwin: remove a meaningless line in sizing_eval

Summary:
minw and minh are overwritten in the next line at once.
This patch removes a meaningless line.

Reviewers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agogengrid: add scrollto BOTTOM alignment type.
Lukasz Stanislawski [Mon, 4 Jan 2016 22:06:21 +0000 (14:06 -0800)]
gengrid: add scrollto BOTTOM alignment type.

Summary:
Add new scrollto type allowing to align gengrid item to bottom of viewport.
Feature compleates and closes list of all alignment types for gengrid items.

Reviewers: seoz, cedric, SanghyeonLee

Subscribers: seoz

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agogenlist: new SCROLLTO_BOTTOM alignment
Lukasz Stanislawski [Mon, 4 Jan 2016 22:05:29 +0000 (14:05 -0800)]
genlist: new SCROLLTO_BOTTOM alignment

Summary:
Add new scrollto type allowing to align genlist item to bottom of viewport.
Feature compleates and closes list of all alignment types for genlist items.

@feature

Test Plan: elementary_test => Genlist Show/Bring

Reviewers: cedric, seoz, SanghyeonLee

Subscribers: seoz

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agosys_notify: support several notification servers
Jean Guyomarc'h [Mon, 4 Jan 2016 19:49:11 +0000 (11:49 -0800)]
sys_notify: support several notification servers

Summary:
An Eo class Elm.Sys_Notify acts as a manager of notification
servers. A manager registers and unregisters notification servers.

Notification servers implement the Elm.Sys_Notify_Interface
which allows to send and close notifications.

Currently, only the DBus server is implemented (legacy code).

Even though there are many changes in the code, there should
be no API nor ABI breaks.

Reviewers: naguirre, seoz, cedric

Reviewed By: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoindex: accessibilitize index items
Lukasz Stanislawski [Mon, 28 Dec 2015 13:40:34 +0000 (14:40 +0100)]
index: accessibilitize index items

Expose elm_index items as accessiblie buttons. Provide name
and "activate" action.

8 years agogenlist : add size_calc forcely about content when elm_layout.
SangHyeon Lee [Mon, 4 Jan 2016 09:02:11 +0000 (18:02 +0900)]
genlist : add size_calc forcely about content when elm_layout.

Summary:
If the content object of genlist item is 'elm_layout' class,
minimum size cannot get directly becuase layout do the delay calculating.
So to make proper genlist size calc, before the swallowing,
forcely do the size calc about layout class contents in genlist.

@fix

Test Plan: N/A

Reviewers: raster, cedric, singh.amitesh, Hermet

Reviewed By: Hermet

Subscribers: seoz, conr2d, eagleeye

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

8 years agotoolbar: Send a signal when shrink mode is changed.
Youngbok Shin [Mon, 4 Jan 2016 00:31:29 +0000 (09:31 +0900)]
toolbar: Send a signal when shrink mode is changed.

Summary:
It is useful for changing item's state according to shrink mode.
@feature

Test Plan:
It includes a use case for the patch in toolbar default theme.
Run "elementary_test -to toolbar2".

Reviewers: jaehwan, woohyun, cedric, raster

Subscribers: eagleeye

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

8 years agobox: re-set max extents sizes to -1 during recalc
Mike Blumenkrantz [Sat, 2 Jan 2016 16:43:44 +0000 (11:43 -0500)]
box: re-set max extents sizes to -1 during recalc

0 is a "valid" max size, so using it as the default value
results in a box being 0x0 if there are no explicit max size
hints set on any child objects

ref aef9d23550bbcd74829a5d75d5226ba394a9da87

8 years agotooltip : prevent blowing memory up in the middle of function.
Hermet Park [Sat, 2 Jan 2016 12:46:53 +0000 (21:46 +0900)]
tooltip : prevent blowing memory up in the middle of function.

user may remove a tooltip in their callbacks.
this patch is just a sort of the defensive code.

8 years agobox: implement aspected item layout
Mike Blumenkrantz [Thu, 31 Dec 2015 20:47:51 +0000 (15:47 -0500)]
box: implement aspected item layout

tl;dr: if you haven't used aspect hints on objects packed into boxes,
this commit has no effect on anything you've done

in some cases, using weight+align hints are not sufficient in order to
do a simple box packing of objects.
one example of this is when a box's size is not explicitly determined,
such as if it is packed with EXPAND into another container and contains
only objects with no min size hint, such as images. in this case, the box
will determine that its min size is extremely small, resulting in nearly-hidden
contents inside the box.

using aspect hints, this outcome is noticeably different. the expanded/filled
potential size of a box item is used to calculate the aspected size, and this
size, if it fits within min/max constraints, is then used to calculate the min
size of the box.

as a more concrete example:
* create box with maximum size 100x50
* pack 2x image into box
 - set VERTICAL aspect, EXPAND, FILL
have 2x 50x50 images

also I added some docs

@feature

8 years agopopup: add popup dismiss function for hide effect
taehyub [Thu, 31 Dec 2015 04:08:28 +0000 (13:08 +0900)]
popup: add popup dismiss function for hide effect

Summary: add popup dismiss function for hide effect

Test Plan:
 1. applied this patch
 2. launch elementary_test
 3. run "popup" -> "popup-center-title + text + 1 button + hide effect"
 4. click the "close" button and check the hide effect

Reviewers: Hermet, woohyun, kimcinoo, raster

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

@feature

8 years ago elementary spinner: Disable dragging over the decrease and increase buttons in the...
Chidambar Zinnoury [Tue, 29 Dec 2015 17:18:09 +0000 (18:18 +0100)]
 elementary spinner: Disable dragging over the decrease and increase buttons in the default theme.

 Previously, clicking and holding the decrease or increase button would start the drag mode, which made the buttons pretty much unusable on a touchscreen.

 Now, it is only set over the text button as expected.

 For the record, dragging is unusable for a small count of discrete values as the value will change for each and every pixel movement–have a go at the months spinner test.

8 years agoelementary: Fix formatting
Chris Michael [Tue, 29 Dec 2015 15:24:08 +0000 (10:24 -0500)]
elementary: Fix formatting

NB: No functional changes

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoFix compilation after dlfcn integration into Evil
Vincent Torri [Mon, 28 Dec 2015 13:23:50 +0000 (14:23 +0100)]
Fix compilation after dlfcn integration into Evil

8 years agoelm - cursor - fix job handling to not leave rogue jobs
Carsten Haitzler (Rasterman) [Mon, 28 Dec 2015 08:39:50 +0000 (17:39 +0900)]
elm - cursor - fix job handling to not leave rogue jobs

valgrind pointed out an issue in elm cursor handling. this fixes that.
the handle was lost, yet it was still around due to it being
overwritten without deletion.

@fix

8 years agoelementary: Comment out unused functions
Chris Michael [Thu, 24 Dec 2015 21:51:30 +0000 (16:51 -0500)]
elementary: Comment out unused functions

Seems these 2 functions are currently unused inside elm_calendar. For
now, let's just #if 0 them out

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agogenlist: Remove genlist clear scenario from the basic genlist test.
Daniel Juyung Seo [Thu, 24 Dec 2015 18:34:26 +0000 (03:34 +0900)]
genlist: Remove genlist clear scenario from the basic genlist test.

It was a bad idea to add this test to the basic genlist test. Moving the
focus with arrow keys faced unexpected genlist clear to testers. We have
"genlist del" test so it's ok to remove this.

8 years agogenlist: Make more realistic scenario.
Daniel Juyung Seo [Thu, 24 Dec 2015 18:31:14 +0000 (03:31 +0900)]
genlist: Make more realistic scenario.

With this, we can test with arrow keys and find more bugs.

8 years agowidget: remove redundat resize_object_set call
Lukasz Stanislawski [Thu, 24 Dec 2015 05:03:54 +0000 (14:03 +0900)]
widget: remove redundat resize_object_set call

Summary:
This code is wrong and enforces developers to manipulate
resize_obj filed directly, instead of using elm_widget_resize_object_set.

Test Plan:
check if objects inheriting from elm_widget do not set field
directly.

Reviewers: cedric, raster, seoz

Subscribers: seoz

Projects: #elementary

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

8 years agoelm: fix the default value for size_hint_min
Jee-Yong Um [Thu, 24 Dec 2015 04:46:17 +0000 (13:46 +0900)]
elm: fix the default value for size_hint_min

Summary:
The default value of size_hint_min is 0, but in sizing_eval of
some elm widgets, default min value is set to -1.

Reviewers: cedric, Hermet

Reviewed By: Hermet

Subscribers: Hermet

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

8 years agospinner: Internal code refactoring.
woochan lee [Thu, 24 Dec 2015 04:40:00 +0000 (13:40 +0900)]
spinner: Internal code refactoring.

Summary:
Even doing almost same thihgs in inc_XXX fucntions, dec_XXX fucntion.
It was separated up.

So i merged those functions for code size reduce.

Test Plan:
Run elementary_test
Execute spinner sample.

Reviewers: cedric, Hermet

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

8 years agoefl-js: JavaScript Eolian binding
Felipe Magno de Almeida [Tue, 9 Dec 2014 18:41:16 +0000 (16:41 -0200)]
efl-js: JavaScript Eolian binding

To configure elementary sources with bindings to use in nodejs add
––with-js=nodejs in configure flags in EFL compilation to generate
node files, then compile elementary normally:

path/to/efl$ configure --with-js=nodejs
path/to/efl$ make
path/to/efl$ make install

path/to/elm$ configure
path/to/efl$ make
path/to/efl$ make install

To use, you have to require elm:

elm = require('elm')

The bindings is divided in two parts: generated and manually
written. The generation uses the Eolian library for parsing Eo files
and generate C++ code that is compiled against V8 interpreter library
to create a elm.node file that can be required in a node.js instance.

@feature

8 years agorename an author
Hermet Park [Thu, 24 Dec 2015 00:19:47 +0000 (09:19 +0900)]
rename an author