platform/upstream/efl.git
8 years agoElm entry: Fix selection using handlers.
Subodh Kumar [Thu, 14 Jan 2016 16:05:08 +0000 (16:05 +0000)]
Elm entry: Fix selection using handlers.

Summary:
Fix item selection using selection handler

In case of selection using handler, there is a problem in case the entry
has the item, mouse down over handler consider the current down
coordinate to start selection and it becomes very difficult to select in the
situation shown in the test plan. So I consider the next/previous  line
geometry to fix it.

@fix

Test Plan:
1.Enable selection handler
2. Have a look at the setup in the attached image
{F27396}

3. Start selecting from last item and extent to cover the last text.
4.Observe that its impossible to select the last text until you move mouse out of the window
So, in mobile device its almost impossible to select using handlers in this situation.

Please use the attached application to test it.
{F27402}

Reviewers: thiepha, herdsman, tasn

Reviewed By: tasn

Subscribers: shilpasingh

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

8 years agoElm entry: Use edje api and simplify empty check logic
Subodh Kumar [Tue, 12 Jan 2016 13:25:12 +0000 (13:25 +0000)]
Elm entry: Use edje api and simplify empty check logic

Summary: Use edje api and simplify empty check logic

Test Plan: NA

Reviewers: herdsman, tasn

Reviewed By: tasn

Subscribers: shilpasingh, cedric

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

8 years agoconfigure: Switch to dev mode again. Merge window for 1.18 is now open.
Stefan Schmidt [Tue, 2 Feb 2016 10:19:42 +0000 (11:19 +0100)]
configure: Switch to dev mode again. Merge window for 1.18 is now open.

8 years agorelease: Update NEWS and bump version for 1.17.0 release
Stefan Schmidt [Tue, 2 Feb 2016 09:48:10 +0000 (10:48 +0100)]
release: Update NEWS and bump version for 1.17.0 release

8 years agotheme: make sure vertical_separated_bar_disabled.png lands in the dist tarball
Stefan Schmidt [Mon, 1 Feb 2016 21:48:33 +0000 (22:48 +0100)]
theme: make sure vertical_separated_bar_disabled.png lands in the dist tarball

A ix for commit 186aeb42eb7e97c07a58a30aafbca5d05c4e2302 which introduced the
image but did not made sure it gets shipped.

8 years agolayout: test code refactoring.
Hermet Park [Mon, 1 Feb 2016 13:35:23 +0000 (22:35 +0900)]
layout: test code refactoring.

remove a comment.
pass immediate parents.
remove unnecessary show call.

8 years agogenlist test: fix invalid free on window close
Jean-Philippe Andre [Mon, 1 Feb 2016 11:48:21 +0000 (20:48 +0900)]
genlist test: fix invalid free on window close

8 years agogenlist/gengrid: Fix focus hilight error
Jean-Philippe Andre [Mon, 1 Feb 2016 02:27:56 +0000 (11:27 +0900)]
genlist/gengrid: Fix focus hilight error

The error was due to an invalid cast between real data and Eo ptr.
Thanks @DaveMDS for reporting.

Fixes T3122

@fix

8 years agotest: reflow check boxes in genlist and gengrid focus tests
Jean-Philippe Andre [Mon, 1 Feb 2016 04:25:01 +0000 (13:25 +0900)]
test: reflow check boxes in genlist and gengrid focus tests

Without this, the items never get unrealized, except on
window close. This allows better testing of those widgets.

8 years ago[toolbar] Adjust icon size along with text etc.
Andy Williams [Sat, 30 Jan 2016 13:54:24 +0000 (13:54 +0000)]
[toolbar] Adjust icon size along with text etc.

As discussed on the mailing list elm should scale the whole UI
based on the scale value. Make toolbar icons match this.

@fix

8 years ago[toolbar] don't leak icons into the UI
Andy Williams [Fri, 29 Jan 2016 15:33:27 +0000 (15:33 +0000)]
[toolbar] don't leak icons into the UI

This cleans up orphan icons being left in the UI if you call icon_set
after the toolbar has been displayed.

This was most noticable if the toolbar or buttons move first

@fix

8 years agoelm_focus: refine focus.edc
Jee-Yong Um [Thu, 28 Jan 2016 09:57:10 +0000 (18:57 +0900)]
elm_focus: refine focus.edc

Summary: remove whitespaces and add programs block

Reviewers: Jaehyun_Cho

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

Conflicts:
data/themes/edc/elm/focus.edc

8 years agoelm_focus: fix mislocation error during continuous focus movement
Jee-Yong Um [Thu, 28 Jan 2016 09:12:30 +0000 (18:12 +0900)]
elm_focus: fix mislocation error during continuous focus movement

Summary:
When focus is moved fast and continuously, newly created animator
conflicts with the animator for previous movement, so focus bounces
among locations.
This patch removes previous animator and move focus to the final
location before creating new animator.

Test Plan:
elementary_test -to focus
elementary_test -to genlist

Reviewers: raster, jpeg, cedric, Jaehyun_Cho

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

8 years agoremove incorrect references of insert_before/after in EDC
Jee-Yong Um [Wed, 27 Jan 2016 05:56:50 +0000 (14:56 +0900)]
remove incorrect references of insert_before/after in EDC

Summary:
This patch removes unavailable references to nonexistent parts
from default theme.

Reviewers: raster, jpeg, cedric

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

8 years agocombobox: avoid calling item_selected and dismissed signal on show
Divyesh Purohit [Tue, 26 Jan 2016 21:01:55 +0000 (13:01 -0800)]
combobox: avoid calling item_selected and dismissed signal on show

Summary:
After this patch https://phab.enlightenment.org/rELM0f6e1a46a402fd9cf848ffb1bd47c6b406eb7ffa
calling item,selected and dismissed signals should be avoided on combobox show.
Signed-off-by: Divyesh Purohit <purohit.div@gmail.com>
Test Plan: please run combobox example from elementary_test

Reviewers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agocombobox: fix continuous clicks on hover
Divyesh Purohit [Tue, 26 Jan 2016 21:01:03 +0000 (13:01 -0800)]
combobox: fix continuous clicks on hover

Summary:
Continouous clicks on hover would need to ensure that variable
on_dismiss of combobox_vertical style in hover.edc should 0 when slot is being shown, otherwise events
would be disabled on hover even though swallow content is shown.

@fix

Signed-off-by: Divyesh Purohit <purohit.div@gmail.com>
Test Plan:
Click continouosly on combobox and events on hover would be
disabled.

Reviewers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agocombobox: fix disabled state
divyesh purohit [Tue, 26 Jan 2016 21:00:22 +0000 (13:00 -0800)]
combobox: fix disabled state

Summary:
Apply gray-scale to vertical_separated_bar_glow image and increase the opacity
of the button, so that the text on the entry is visible.
@fix T3075
Signed-off-by: divyesh purohit <div.purohit@samsung.com>
Test Plan: please run combobox example from elementary_test

Reviewers: shilpasingh, cedric, raster

Maniphest Tasks: T3075

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoFix toogle icon sizing issue.
Hermet Park [Tue, 26 Jan 2016 10:34:46 +0000 (19:34 +0900)]
Fix toogle icon sizing issue.

Strangely, toggle couldn't afford it's icon space
at elementary_test -> check toggle.

Following to default style which is normal to avoid this wierd look.

8 years agoElm Image: fix usage of animated gif on the same image object more than one time
Dave Andreoli [Mon, 25 Jan 2016 21:17:09 +0000 (22:17 +0100)]
Elm Image: fix usage of animated gif on the same image object more than one time

This patch @fix this usage example:

0. image obj create
1. file_set(an animated gif)
2. animated_set(TRUE) + animated_play_set(TRUE) to make the gif play
3. file_set(a normal image)
... at this point elm_image is confused because it still think that the image is animated
4. file_set(an animated gif)
5. animated_set(TRUE) + animated_play_set(TRUE) to make the gif play
...this now do not work because elm think that the image is already animated

8 years agorelease: Update NEWS and bump version for 1.17.0-beta3 release
Stefan Schmidt [Mon, 25 Jan 2016 17:00:33 +0000 (18:00 +0100)]
release: Update NEWS and bump version for 1.17.0-beta3 release

8 years agoshelf: add "noshadow" data item to indicate no shadow should be used
Mike Blumenkrantz [Mon, 25 Jan 2016 17:32:34 +0000 (12:32 -0500)]
shelf: add "noshadow" data item to indicate no shadow should be used

8 years agoelementary: Add missing EINA_UNUSED in combobox function
Chris Michael [Mon, 25 Jan 2016 12:43:03 +0000 (07:43 -0500)]
elementary: Add missing EINA_UNUSED in combobox function

_elm_combobox_elm_genlist_filter_set function does not use the Eo *obj
parameter so mark it as EINA_UNUSED to remove compiler warning

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agonaviframe: Update documentation of item_pop_cb_set and item_pop_to.
Jaehyun Cho [Mon, 25 Jan 2016 09:13:25 +0000 (18:13 +0900)]
naviframe: Update documentation of item_pop_cb_set and item_pop_to.

8 years agoelm_test: Show popup error when Plug can't connect
Jean-Philippe Andre [Fri, 22 Jan 2016 08:13:35 +0000 (17:13 +0900)]
elm_test: Show popup error when Plug can't connect

8 years agoGenlist: do not select the item two times in case of a double click.
Dave Andreoli [Sun, 24 Jan 2016 15:44:57 +0000 (16:44 +0100)]
Genlist: do not select the item two times in case of a double click.

In the case of a genlist set as ELM_OBJECT_SELECT_MODE_ALWAYS the "selected" cb was called 2 times. This @fix that by skipping the selection code in case the click is not the first one (EVAS_BUTTON_NONE).

Also merge the conditions of two consecutive "if" in a single statement.

8 years agoGenlist/grid: do not set again the focus on double/triple click
Dave Andreoli [Sun, 24 Jan 2016 15:11:13 +0000 (16:11 +0100)]
Genlist/grid: do not set again the focus on double/triple click

Focus is already setted on first mouse-up, no need to set again in double and triple click up events

@Fix the issue reported in previous commits

8 years agoReveal the same focus bug of previous commit also in genlist.
Dave Andreoli [Sun, 24 Jan 2016 14:44:48 +0000 (15:44 +0100)]
Reveal the same focus bug of previous commit also in genlist.

See previous commit for instructions on how to reproduce in "Genlist Focus" test.

8 years agoAdd a test to reveal a focus bug in Genlist/Gengrid
Dave Andreoli [Sun, 24 Jan 2016 13:35:49 +0000 (14:35 +0100)]
Add a test to reveal a focus bug in Genlist/Gengrid

To reproduce:
 * elm_test -to "GenGrid Focus"
 * turn on the "Focus Highlight" checkbox
 * double-click an item to show a popup that should have the focus

As you can see the mouse-up event on the gengrid item steal the focus from the popup.
When, instead, the item is activated with the keyboard the popup correctly keep the focus.

I have this problem in both genlist and gengrid, so probably the error is not in the gengrid code, but somewhere else that I cannot find.

...any help appreciated

8 years agocombobox: apply proper style
divyesh purohit [Fri, 22 Jan 2016 19:07:01 +0000 (11:07 -0800)]
combobox: apply proper style

Summary:
Initially combobox used hover's default style, this patch would make combobox use hoversel_vertical style.
@Fix T3075 for 2nd point.

Signed-off-by: divyesh purohit <div.purohit@samsung.com>
Test Plan: please run combobox example from elementary_test

Reviewers: shilpasingh, cedric, raster

Subscribers: rajeshps, govi

Maniphest Tasks: T3075

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agocombobox: "return" key handled correctly and removed unreachable code.
divyesh purohit [Fri, 22 Jan 2016 19:00:20 +0000 (11:00 -0800)]
combobox: "return" key handled correctly and removed unreachable code.

Summary:

_key_action_activate was triggered when "return" was pressed, _key_action_move
contained the "return" key handling, which is unreachable code.
@fix T3075 (1st point).

Signed-off-by: divyesh purohit <div.purohit@samsung.com>
Test Plan: please run combobox example in elementary_test

Reviewers: shilpasingh, cedric, raster

Subscribers: rajeshps, govi

Maniphest Tasks: T3075

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agocombobox: move responsibility to define filter and content to the user of a combobox
Cedric BAIL [Fri, 22 Jan 2016 18:44:03 +0000 (10:44 -0800)]
combobox: move responsibility to define filter and content to the user of a combobox

Before this patch, the filter was set inside the combobox. This is confusing for the
user of the object as it can't define a custom filter except on strings. It is also
impossible to bind as binding require to know what was put in and they can't differentiate
between a genlist filter being set from the binding to one being set internally by
the combobox.

@fix

8 years agogenlist : fix tree item floating issue when homoegeneous mode is enabled
SangHyeon Lee [Fri, 22 Jan 2016 07:55:37 +0000 (16:55 +0900)]
genlist : fix tree item floating issue when homoegeneous mode is enabled

genlist item is flaoting upon the expanded item when homoegeneous mode
is enabled.
when item block is recalculated by tree expanding, new item didn't
update their properties and values becuase of size hash, but edc
actaully need to be recaculated after swallowing tree size padding.

solve the issue by adding expand depth check in size hash.

you can check the previous issue in T2708
elementary_test->genlist tree->homoegeneous check

@fix

8 years agoAdjust "context_menu_disabled" configuration.
Dave Andreoli [Thu, 21 Jan 2016 21:21:30 +0000 (22:21 +0100)]
Adjust "context_menu_disabled" configuration.

This @fix three (yes 3!) errors from commit cafda5928f9bf8116564219dc03d12c3a6e131b3

1. the initial value in the standard config is wrong, causing ctx menu to be disabled for everyone!
2. the argument of the api should be named "disabled" (like all the other disable API in this context)
3. (minor) fixed doc for elm_config_context_menu_disabled_set

NOTE: there are no configuration gui for this option, if you cleared your elm config recently you probably now have the ctx menu disabled everywhere, only solution is to wipe your config (to let elm create a new correct one)

Big SPANK to the author, the commiter and all the reviewers of D2463!!!

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>