platform/upstream/efl.git
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

8 years agoElm entry: Fix to hide magnifier when menu is disabled.
Subodh Kumar [Wed, 23 Dec 2015 13:03:45 +0000 (13:03 +0000)]
Elm entry: Fix to hide magnifier when menu is disabled.

Summary:
Fix to hide magnifier when menu is disabled

@fix

Test Plan:
1. Enable magnifier
2. Disable menu
3. Long press and mouse up
4. observe magnifier is not hidden.

Reviewers: tasn, herdsman, thiepha

Subscribers: shilpasingh

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

8 years agobox: implement Evas.Object_Smart.calculate
Mike Blumenkrantz [Tue, 22 Dec 2015 18:45:48 +0000 (13:45 -0500)]
box: implement Evas.Object_Smart.calculate

this allows boxes to be manually calculated

ref T2836

8 years agocalendar: Apply elm_button widgets instead of manually implemented spinner buttons.
Youngbok Shin [Tue, 22 Dec 2015 09:48:16 +0000 (18:48 +0900)]
calendar: Apply elm_button widgets instead of manually implemented spinner buttons.

Summary:
The spinner buttons in elm_calendar widget can be replaced by elm_buttons.
Then, using elm_button widgets makes it much easier to maintain.
And the buttons has to be focusable with "tab" key just like elm_spinner widget.
The lagacy callbacks for signals from edje is not removed for backward compatibility.
@feature

Test Plan: elementary_test -> calendar, calendar2, calendar3

Reviewers: seoz, Hermet, kimcinoo, cedric, woohyun

Reviewed By: woohyun

Subscribers: CHAN

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

8 years ago[config] fix static analysis issue
Shinwoo Kim [Mon, 21 Dec 2015 23:02:19 +0000 (08:02 +0900)]
[config] fix static analysis issue

Summary: Fix static analysis issue

Fix possible pointer mis-use in elm profile string handling

@fix

Test Plan: Static analysis

Reviewers: cedric, jpeg, raster

Reviewed By: raster

Subscribers: seoz

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

8 years agoEntry: clean up single line init function.
Tom Hacohen [Mon, 21 Dec 2015 14:45:34 +0000 (14:45 +0000)]
Entry: clean up single line init function.

8 years agoEntry: Add newline filter for single line entry
Subodh Kumar [Mon, 21 Dec 2015 14:41:28 +0000 (14:41 +0000)]
Entry: Add newline filter for single line entry

Summary:
Add newline filter

Using the present filter infra
a newline or paragraph separator filter
is being added for single line entry.

@fix

Test Plan:
Copy multiline text from
and paste it to single line entry.

it will fix T2660

Reviewers: herdsman, tasn

Subscribers: thiepha, DaveMDS

Maniphest Tasks: T2660

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

8 years agoElm config: use a name instead of elm_widget_type_get
Marcel Hollerbach [Mon, 21 Dec 2015 12:55:23 +0000 (12:55 +0000)]
Elm config: use a name instead of elm_widget_type_get

Summary:
The use of elm_widget_type_get here is pretty harmfull, for the usecase
of inheriting a widget elm_widget_type_get is something else than
before. But the key binding should still work.

@fix T2891

Reviewers: tasn

Reviewed By: tasn

Maniphest Tasks: T2891

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

8 years agoElm entry: Fix a typo
Subodh Kumar [Mon, 21 Dec 2015 11:41:34 +0000 (11:41 +0000)]
Elm entry: Fix a typo

Summary:
Fix a typo.

Test Plan: NA

Reviewers: tasn, herdsman

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

8 years agoimage: do not block null image loading in the elm layer
Mike Blumenkrantz [Sun, 20 Dec 2015 16:07:14 +0000 (11:07 -0500)]
image: do not block null image loading in the elm layer

this is handled correctly in evas. checking load errors from
the engine/loaders is sufficient, but the printed ERR messages
for these cases have been improved

partially reverts 865383aa0da5d1eb6d29f4ed5447a73f63800a33
reverts ee7d5425628942a45e23a2cb6be253db8ec0b3fd
ref 840dcc618ead292414b0de64a7a3ae38d778311f
ref a915229dc87606472480a8b2eacce9514055ac27

fix Titalia

8 years agoelm_win: Remove unnecessary layer set for elm_win.
Jaehyun Cho [Fri, 18 Dec 2015 10:18:51 +0000 (19:18 +0900)]
elm_win: Remove unnecessary layer set for elm_win.

8 years agopopup: enable to dismiss popup with accessibility API
Lukasz Stanislawski [Thu, 17 Dec 2015 10:58:37 +0000 (11:58 +0100)]
popup: enable to dismiss popup with accessibility API

Clean up elm_popup actions. Move actions should not be used
from accessibility API. Only dismiss seems to be resonable
action which could be triggered.

8 years agotests: adjust atspi roles.
Lukasz Stanislawski [Thu, 17 Dec 2015 10:43:57 +0000 (11:43 +0100)]
tests: adjust atspi roles.

8 years agoatspi: return previous name in overloaded getters
Lukasz Stanislawski [Thu, 17 Dec 2015 08:36:02 +0000 (09:36 +0100)]
atspi: return previous name in overloaded getters

Some overloaded accessible name getters did not respect
values set by developer.

@fix

8 years agowayland cnp: check selection owner before calling losscb
Thiep Ha [Thu, 17 Dec 2015 18:13:17 +0000 (18:13 +0000)]
wayland cnp: check selection owner before calling losscb

The selection is cleared by losscb when we set it.
As result, selection is not done.
To avoid it, we should check if the new selection owner
is current selection owner or not and only call losscb
if the new selection owner is not the current one.

Test Plan:
In wayland, select text in entry (e.g double click, ctrl-a).

8 years agogenlist : fix genlist build errors
SangHyeon Lee [Thu, 17 Dec 2015 08:13:43 +0000 (17:13 +0900)]
genlist : fix genlist build errors

8 years agoelm_photocam: add NULL check
Sung-Taek Hong [Thu, 17 Dec 2015 07:09:30 +0000 (16:09 +0900)]
elm_photocam: add NULL check

@fix

Reviewers: woohyun, jaehwan, eunue

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

8 years agogenlist: remove unnecessary data creation
SangHyeon Lee [Thu, 17 Dec 2015 07:13:13 +0000 (16:13 +0900)]
genlist: remove unnecessary data creation

Summary :
after using hash, sd is not needed on block_recalc
so it must be removed.

@fix

8 years agoelm_layout: fix typo in error message
Sung-Taek Hong [Thu, 17 Dec 2015 06:48:57 +0000 (15:48 +0900)]
elm_layout: fix typo in error message

Summary: fix "box part" to "table part" in _elm_layout_table_pack()

Reviewers: woohyun, jaehwan, Jaehyun, Hermet

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

8 years agogenlist : fix size hash issue when genlist layout sizing evaluated
SangHyeon Lee [Thu, 17 Dec 2015 06:27:48 +0000 (15:27 +0900)]
genlist : fix size hash issue when genlist layout sizing evaluated

Summary :
When genlist compressed, size width must updated after sizing eval,
but still hash is not changed after sizing eval, so wrong width are
applied.

so when sizing eval called, free all buckets to get updated width.

@fix

8 years agowidget: limit emission of state-changed:showing
Lukasz Stanislawski [Wed, 16 Dec 2015 15:50:43 +0000 (16:50 +0100)]
widget: limit emission of state-changed:showing

Sending atspi events notyfying about visibility change during
widget destruction is pointless.

8 years agonaviframe: set better accessibility role and name
Lukasz Stanislawski [Wed, 16 Dec 2015 15:18:17 +0000 (16:18 +0100)]
naviframe: set better accessibility role and name

8 years agomultibutton_entry: improve atspi support
Lukasz Stanislawski [Tue, 15 Dec 2015 15:49:02 +0000 (16:49 +0100)]
multibutton_entry: improve atspi support

Expose multibutton items as push buttons supported with three
possible actions: activate, longpress and delete.

8 years agoimage: Lock access to thread variables
Jean-Philippe Andre [Wed, 16 Dec 2015 11:21:34 +0000 (20:21 +0900)]
image: Lock access to thread variables

Fixes CID 1343345 "Data race condition"

8 years agoElm win: Fix potential NULL deref.
Tom Hacohen [Wed, 16 Dec 2015 10:39:20 +0000 (10:39 +0000)]
Elm win: Fix potential NULL deref.

Looking at other parts of the code, this could actually be
NULL.

CID1343344

8 years agohoversel: accessibility enhancements
Lukasz Stanislawski [Tue, 15 Dec 2015 12:30:52 +0000 (13:30 +0100)]
hoversel: accessibility enhancements

Allow to dismiss hover using accessibility API.
Change accessibiility role to popup.

8 years agohoversel: change accessibility role to popup
Lukasz Stanislawski [Tue, 15 Dec 2015 12:30:20 +0000 (13:30 +0100)]
hoversel: change accessibility role to popup

8 years agogenlist: supporting homogeneous mode about each item class.
SangHyeon Lee [Wed, 2 Dec 2015 07:23:39 +0000 (16:23 +0900)]
genlist: supporting homogeneous mode about each item class.

Summary:
previously, homogeneous was only supported for one type of items or group items,
so if user want to use various item styles with different height,
they should set homogeneous false.

This patch is increase usability of homogeneous to make possible homogeneous for
each item class, with the assumption that every item in same class have same height.

Now the item class not only define it's style and class funcitons, also define the
shape properties of item including height and width also.

@feature

Test Plan: Already exist test case in genlist group

Reviewers: raster, cedric

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

8 years agoEntry: Context Menu is now configurable
Vaibhav Gupta [Fri, 11 Dec 2015 06:49:27 +0000 (15:49 +0900)]
Entry: Context Menu is now configurable

Summary:
Added a config variable Context_Menu_Disabled to make the appearance
of the context menu configurable.

@feature

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

Subscribers: stefan_schmidt, alok25, cedric, thiepha, sachin.dev

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

8 years agowin: redo resize deferral to trigger during pre render
Mike Blumenkrantz [Thu, 10 Dec 2015 20:53:31 +0000 (15:53 -0500)]
win: redo resize deferral to trigger during pre render

using a job results in the resize occurring after render in the same loop,
meaning that anything which depends on resizes to happen in a certain
time will not have synchronized display vs toolkit geometries

fixes all issues related to wayland window geometries

8 years agowin: run wayland region updating during RENDER_FLUSH_PRE
Mike Blumenkrantz [Thu, 10 Dec 2015 19:20:16 +0000 (14:20 -0500)]
win: run wayland region updating during RENDER_FLUSH_PRE

regions have not yet been calculated during RENDER_PRE, and commit
happens during the outbuf flush, so this callback should be the latest
possible time at which window geometry can be sent

8 years agoFileselector entry: fix a case when file was not selected
Yakov Goldberg [Thu, 10 Dec 2015 14:41:08 +0000 (16:41 +0200)]
Fileselector entry: fix a case when file was not selected

Expected behavior: when Cancel or X is pressed in Filesector
don't change entry.
Wrong behavior: entry is cleaned.
If no file was selected 'file' variable is NULL,
and elm_entry_utf8_to_markup(NULL) returns empty string.
Thus this empty string was set to entry.

@fix

8 years agoFix compilation on Windows (and propably also on Mac)
Vincent Torri [Thu, 10 Dec 2015 07:06:22 +0000 (16:06 +0900)]
Fix compilation on Windows (and propably also on Mac)

Reviewers: cedric

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

8 years agoElm entry: fix null item in item provider.
Daniel Hirt [Wed, 9 Dec 2015 11:38:21 +0000 (13:38 +0200)]
Elm entry: fix null item in item provider.

Item anchors can have null items likes <item size=10x10>. That is,
there is no "href". The problem is that Elm Entry segfaults as it
expects a non-null item. I prefer this fix over passing "" from Edje
Entry, and leave the decision to be made by Elm Entry. It will now just
show the error emoticon if there is no "href".

@fix

8 years agoExamples genlist 5: Fix children aspect of the test not working.
Tom Hacohen [Tue, 8 Dec 2015 13:18:37 +0000 (13:18 +0000)]
Examples genlist 5: Fix children aspect of the test not working.

This code is obviously wrong and could never have worked.
The parent that is being kept between iterations is being overwritten on
ever iteration, leading to the wrong result.

CID1327358.

8 years agoExamples performance: Fix wrong always true condition.
Tom Hacohen [Tue, 8 Dec 2015 13:10:31 +0000 (13:10 +0000)]
Examples performance: Fix wrong always true condition.

This is again obviously wrong. This code tries to check if the type is not
one of three, what it does instead is checking if it's either not the
first two, or is the third, which is always true (because format can't
be too different values at the same time) and always wrong.

CID1327361

8 years agoExamples performance: Fix resource leak + potential null deref.
Tom Hacohen [Tue, 8 Dec 2015 13:06:04 +0000 (13:06 +0000)]
Examples performance: Fix resource leak + potential null deref.

This example is completely broken and doesn't make much sense. Should be
overhauled and probably rewritten/dumped.

This is just to fix the more obvious errors (some pointed out by coverity).

CID1327356

8 years agoColorselector: Fix some coding style issues.
Tom Hacohen [Tue, 8 Dec 2015 12:56:45 +0000 (12:56 +0000)]
Colorselector: Fix some coding style issues.

8 years agoColorselector: Fix out of bound read.
Tom Hacohen [Tue, 8 Dec 2015 12:55:06 +0000 (12:55 +0000)]
Colorselector: Fix out of bound read.

high should be the last item of the array, not the length of the array.
As part of this change, I also changed the code to use the better way of
getting the array size.

CID1339827

8 years agoGenlist: Add NULL item check to *_item_next_get().
Tom Hacohen [Tue, 8 Dec 2015 12:51:23 +0000 (12:51 +0000)]
Genlist: Add NULL item check to *_item_next_get().

It's there for _item_prev_get(), so I guess it's expected.

8 years agoGenlist: Put null check before the deref.
Tom Hacohen [Tue, 8 Dec 2015 12:50:25 +0000 (12:50 +0000)]
Genlist: Put null check before the deref.

CID1339825

8 years agoElm spinner: Fix potential null deref in decimal get function.
Tom Hacohen [Tue, 8 Dec 2015 12:03:09 +0000 (12:03 +0000)]
Elm spinner: Fix potential null deref in decimal get function.

This whole code reeks. This generating and parsing strings as a value
store is hacky and could use an overhaul.

This just fixes the more obvious possible errors (that are maybe not
        even possible, just look possible).

CID1339828
CID1339829