platform/upstream/efl.git
9 years agoevas_map_3d: fixed control names.
ChunEon Park [Fri, 3 Apr 2015 14:31:55 +0000 (23:31 +0900)]
evas_map_3d: fixed control names.

these values are to perspective distances.
their argumenets are px, py so it should also be named px, py

9 years agoevas: let's not use eo_do for potential Efl interface call.
Cedric BAIL [Fri, 3 Apr 2015 14:04:58 +0000 (16:04 +0200)]
evas: let's not use eo_do for potential Efl interface call.

9 years agoElm helper: fix compilation against elementary.
Tom Hacohen [Thu, 2 Apr 2015 09:54:06 +0000 (10:54 +0100)]
Elm helper: fix compilation against elementary.

There was an issue when compiling against elementary when EO_BETA_API
wasn't set. This commit fixes that.

Thanks to Kuuko for reporting.

9 years agoRevert "Revert "Elm helper: add the posix regex validator.""
Tom Hacohen [Thu, 2 Apr 2015 09:37:37 +0000 (10:37 +0100)]
Revert "Revert "Elm helper: add the posix regex validator.""

Reapply the patch. Next commit will fix the break.

This reverts commit 6f8be78ca04125f220c339145d700fc2e1a1f9c1.

9 years agoRevert "Elm helper: add the posix regex validator."
Carsten Haitzler (Rasterman) [Thu, 2 Apr 2015 00:48:29 +0000 (09:48 +0900)]
Revert "Elm helper: add the posix regex validator."

NO! this breaks compiling anything against elementary UNLESS you
enable eo beta api support. NO NO NO NO.

This reverts commit cad6de2a8ef93d994f9dedb8e980efe5fbf6d77e.

9 years agoElm helper: add the posix regex validator.
Vyacheslav Reutskiy [Wed, 1 Apr 2015 15:10:37 +0000 (16:10 +0100)]
Elm helper: add the posix regex validator.

Summary:
Added to Entry new signal "validate", this signal called from entry every
time when the text inputed to entry.
The regex validation add as elm_helper.
The styles of Entries scrollers are changed to allow highlightion that
is needed by regex processing.

For use regex with entry need register the regex helper as callback
to event: ELM_ENTRY_EVENT_VALIDATE

@feature

Test Plan:
See elementary_test "Entry Regex" test.
Note: when the string matches to regex the highlighting (green) is reset on unfocusing.

Reviewers: herdsman, raster, cedric, tasn

Reviewed By: cedric, tasn

Subscribers: seoz

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

9 years agoelm_object_access_info_get() API add
JinsolPark [Wed, 1 Apr 2015 08:05:17 +0000 (17:05 +0900)]
elm_object_access_info_get() API add

Summary: Adding a get API because of having only elm_object_access_info_get().

Reviewers: jaehwan, kimcinoo

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

9 years agoRevert "doc: Improve build speed, disable doc's widgets build"
Jean-Philippe Andre [Tue, 31 Mar 2015 11:37:41 +0000 (20:37 +0900)]
Revert "doc: Improve build speed, disable doc's widgets build"

This reverts commit 52c8f4fe7ec42efa6889d707e2380697ffe7dbb4.

This broke the build when starting from a clean repo.
I'll try to improve this patch later, maybe.

9 years agoelm_test: Fix compilation warnings
Jean-Philippe Andre [Tue, 31 Mar 2015 06:11:00 +0000 (15:11 +0900)]
elm_test: Fix compilation warnings

Grrr, same const char thing as in naviframe...

9 years agodoc: Improve build speed, disable doc's widgets build
Jean-Philippe Andre [Tue, 31 Mar 2015 03:17:23 +0000 (12:17 +0900)]
doc: Improve build speed, disable doc's widgets build

Building the widget_preview_xxx programs takes a while and should
be required only when rebuilding the doc. Arguably breaking something
in elm may break only the widget-preview build but I believe this is
a rare case.

This speeds up a regular elm build by >20s on my machine.

9 years agoelm_test: Fix image paths
Jean-Philippe Andre [Tue, 31 Mar 2015 03:01:52 +0000 (12:01 +0900)]
elm_test: Fix image paths

9 years agoelm_test: Fix compilation warnings
Jean-Philippe Andre [Tue, 31 Mar 2015 02:19:25 +0000 (11:19 +0900)]
elm_test: Fix compilation warnings

9 years agoUpdate catalan translation
maxerba [Mon, 30 Mar 2015 19:18:10 +0000 (21:18 +0200)]
Update catalan translation

9 years agoGengrid: Modified to handle the focus highlight on unrealized items
Jaehwan Kim [Mon, 30 Mar 2015 06:57:36 +0000 (15:57 +0900)]
Gengrid: Modified to handle the focus highlight on unrealized items

This commit is related to 260cdd6150d567fcee8d1afaf690e4b90cd16a2b.

When unrealized item is focused, edje object is not exist,
so genlist cannot read the focus highlight information from edje object.
Therefore, when the item is realized, check the item is focused or not and
need to update focus highlight.

9 years agoFix build warning related to window home
Jihoon Kim [Sat, 28 Mar 2015 14:59:09 +0000 (23:59 +0900)]
Fix build warning related to window home

9 years agoconform: decide indicator visibility in the swallow part.
ChunEon Park [Sat, 28 Mar 2015 11:06:19 +0000 (20:06 +0900)]
conform: decide indicator visibility in the swallow part.

9 years agoconform: decide indicator visibility in the swallow part.
ChunEon Park [Sat, 28 Mar 2015 10:18:24 +0000 (19:18 +0900)]
conform: decide indicator visibility in the swallow part.

9 years agoFix elm_naviframe transition,finished smart events event_info
Kai Huuhko [Sat, 28 Mar 2015 06:12:33 +0000 (15:12 +0900)]
Fix elm_naviframe transition,finished smart events event_info

Summary:
A pointer to the internal Elm_Naviframe_Item_Data was mistakenly being passed as
event_info.

This patch changes the callback_call to pass the correct Elm_Object_Item (Eo) pointer.

Reviewers: #elementary, Hermet

Reviewed By: Hermet

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

9 years agomultibuttonentry: Add item long pressed callback.
woochan lee [Sat, 28 Mar 2015 06:05:44 +0000 (15:05 +0900)]
multibuttonentry: Add item long pressed callback.

Summary: Add long pressed callback for application. test code changed to following this change as well.

@feature

Reviewers: seoz, woohyun, Jaehyun, Hermet

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

Conflicts:

src/lib/elc_multibuttonentry.c

9 years agoelm-tests: slideshow : looking for right data directory in prefix.
Nicolas Aguirre [Fri, 27 Mar 2015 13:42:07 +0000 (14:42 +0100)]
elm-tests: slideshow : looking for right data directory in prefix.

This cmomit fixes the previous revert, as it was introducing load of incorrect path for images.

9 years agoRevert "elm_slideshow: looking for right data directory in prefix."
Nicolas Aguirre [Fri, 27 Mar 2015 12:25:57 +0000 (13:25 +0100)]
Revert "elm_slideshow: looking for right data directory in prefix."

This reverts commit c8ca1ad1b3390c9bf6712b616f971d814c63c274.

9 years agoelm_map: use of elm_app_data_dir_get() instead of PACKAGE_DATA_DIR
Michelle Legrand [Mon, 9 Mar 2015 09:07:48 +0000 (10:07 +0100)]
elm_map: use of elm_app_data_dir_get() instead of PACKAGE_DATA_DIR

Summary:
This allows to build binaries that will not look for the directory passed to
the configure with --prefix at build but will look for data files according to where
the exe has been installed.

@fix

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoelm_naviframe: use of elm_app_data_dir_get() instead of PACKAGE_DATA_DIR.
Michelle Legrand [Mon, 9 Mar 2015 09:07:00 +0000 (10:07 +0100)]
elm_naviframe: use of elm_app_data_dir_get() instead of PACKAGE_DATA_DIR.

Summary:
This allows to build binaries that will not look for the directory passed to
the configure with --prefix at build but will look for data files according to where
the exe has been installed.

@fix

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoelm_naviframe: use of elm_app_data_dir_get() instead of PACKAGE_DATA_DIR.
Michelle Legrand [Mon, 9 Mar 2015 09:05:33 +0000 (10:05 +0100)]
elm_naviframe: use of elm_app_data_dir_get() instead of PACKAGE_DATA_DIR.

Summary:
This allows to build binaries that will not look for the directory passed to
the configure with --prefix at build but will look for data files according to where
the exe has been installed.

@fix

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoelm_genlist: use of elm_app_data_dir_get() instead of PACKAGE_DATA_DIR.
Michelle Legrand [Mon, 9 Mar 2015 09:02:36 +0000 (10:02 +0100)]
elm_genlist: use of elm_app_data_dir_get() instead of PACKAGE_DATA_DIR.

Summary:
This allows to build binaries that will not look for the directory passed to
the configure with --prefix at build but will look for data files according to where
the exe has been installed.

@fix

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agotask_switcher: add variable verification.
Michelle Legrand [Tue, 3 Mar 2015 09:17:02 +0000 (10:17 +0100)]
task_switcher: add variable verification.

Summary:
If dbus is not installed the task switcher raise a segmentation error.
So we check if the returned variable by eo_do is not null before continuing.

@fix

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoelm_diskselector: check if sd variable is null.
michelle legrand [Fri, 30 Jan 2015 09:47:09 +0000 (10:47 +0100)]
elm_diskselector: check if sd variable is null.

Summary:
This causes a segmentation fault when closing the DiskSelector window
on Windows.

@fix

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoelm_fileselector: display directory from HOME on Windows.
michelle legrand [Wed, 11 Feb 2015 13:57:44 +0000 (14:57 +0100)]
elm_fileselector: display directory from HOME on Windows.

Summary:
On Windows, if we are running the application from Msys or Cygwin, we will
get the HOME environment variable. Otherwise we need to use Windows environment variables
"HOMEDRIVE" and "HOMEPATH" to get the home path.

@fix

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoelm_panel: display directory from HOME on Windows.
michelle legrand [Wed, 11 Feb 2015 13:53:40 +0000 (14:53 +0100)]
elm_panel: display directory from HOME on Windows.

Summary:
On Windows we can get the HOME environment variable if we launch the application
from Msys or Cygwin, otherwise we need to use "HOMEDRIVE" and "HOMEPATH" to get
windows home path.

@fix

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoelm_prefs: looking for right lib directory in prefix.
michelle legrand [Wed, 11 Feb 2015 13:47:00 +0000 (14:47 +0100)]
elm_prefs: looking for right lib directory in prefix.

Summary:
Using elm_app_data_dir_get() to get the right application's prefix.

@fix

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoelm_slideshow: looking for right data directory in prefix.
michelle legrand [Wed, 11 Feb 2015 13:43:15 +0000 (14:43 +0100)]
elm_slideshow: looking for right data directory in prefix.

Summary:
Get right application prefix by using elm_app_data_dir_get() for the
slideshow images.

@fix

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoelm_prefs: compatibility for Windows.
michelle legrand [Tue, 23 Dec 2014 15:08:00 +0000 (16:08 +0100)]
elm_prefs: compatibility for Windows.

Summary:
Add test for relative path on Windows

@fix

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoelm_datetime: compatibility for Windows.
michelle legrand [Tue, 23 Dec 2014 15:03:40 +0000 (16:03 +0100)]
elm_datetime: compatibility for Windows.

Summary:
For Windows, we have a nl_langinfo() equivalent in Evil.

@fix

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoelc_fileselector: fix looking for right Windows home path.
michelle legrand [Fri, 9 Jan 2015 16:09:19 +0000 (17:09 +0100)]
elc_fileselector: fix looking for right Windows home path.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoelc_popup: add null pointer check before creating content text object
taehyub [Wed, 25 Mar 2015 18:02:15 +0000 (03:02 +0900)]
elc_popup: add null pointer check before creating content text object

Summary:
If elm_object_text_set() function is called twice,
elm_obj_containter_content_set(CONTENT_PART, sd->text_content_obj)
function makes sd->text_content_obj null since sd->text_content_obj already exists.

Test Plan:
1. run elementary_test(popup) and excute "popup-center-text + 1button (check hide, show)"
2. print sd->text_content_obj value in content_text_set()
3. push hide button and excute the example again
4. check sd->text_content_obj value if null or not

Reviewers: woohyun, Hermet, raster

Reviewed By: raster

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

9 years agoelm_toolbar: add toolbar item size calculation and setting min values for fixed items
taehyub [Tue, 24 Mar 2015 22:47:33 +0000 (07:47 +0900)]
elm_toolbar: add toolbar item size calculation and setting min values for fixed items

Summary:
In case of the toolbar item size is fixed, the size of toolbar item became finger size.
so, after signal emission in _inform_item_number(),
edje_object_size_min_restricted_calc() and evas_object_size_hint_min_set() function are added.

Test Plan: change edc for supporting fixed toolbar item and run examples of toolbar in elementary_test

Reviewers: woohyun, seoz, Hermet, raster

Reviewed By: raster

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

9 years agotooltip: Corrected namespacing for tooltip label style.
Amitesh Singh [Tue, 24 Mar 2015 22:23:07 +0000 (07:23 +0900)]
tooltip: Corrected namespacing for tooltip label style.

Summary:
namespacing is wrong for tooltip label. Although we still support old theme
but it should be removed in EFL 2.0.

Test Plan: elementary_test -to tooltip

Reviewers: seoz, Hermet, raster

Reviewed By: raster

Subscribers: kimcinoo, sachin.dev, seoz

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

9 years agoelm - fix warnings after patches to datetime
Carsten Haitzler (Rasterman) [Tue, 24 Mar 2015 22:14:08 +0000 (07:14 +0900)]
elm - fix warnings after patches to datetime

9 years ago[elm_datetime] Fix to consider second field while comparing datetime values.
Subodh Kumar [Tue, 24 Mar 2015 22:09:23 +0000 (07:09 +0900)]
[elm_datetime] Fix to consider second field while comparing datetime values.

Summary:
Some app like calendar, they heavily depend on the value of datetime,so to ensure accuracy
second field is considered while comparing datetime values.

@fix

Test Plan: NA

Reviewers: shilpasingh, raster

Reviewed By: shilpasingh, raster

Subscribers: poornima.srinivasan, govi, rajeshps

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

9 years ago[elm_datetime] Fix to parse the POSIX locale format properly.
Subodh Kumar [Tue, 24 Mar 2015 22:06:03 +0000 (07:06 +0900)]
[elm_datetime] Fix to parse the POSIX locale format properly.

Summary:
In POSIX, some format include extra character like dash, hash, etc, which gives unexpected behaviour.
Fix to filter out those character.

Signed Off By: Seongjun Yim <se201.yim@samsung.com>
Signed Off By: Subodh Kumar <s7158.kumar@samsung.com>

@fix

Test Plan:
1. Set datetime as POSIX locale.
2. Check the datetime behaviour in elementary_test.

Reviewers: raster, shilpasingh

Reviewed By: shilpasingh

Subscribers: poornima.srinivasan, govi, rajeshps

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

9 years ago[elm_datetime] Corrected the logic for datetime values comparison.
Subodh Kumar [Tue, 24 Mar 2015 22:00:44 +0000 (07:00 +0900)]
[elm_datetime] Corrected the logic for datetime values comparison.

Summary:
Datetime value should be compared earlier to avoid unnecessary code execution.
Also added logic for single field comparion which will avoid to compare all fields when field limit is set.

Signed Off By: Seongjun Yim <se201.yim@samsung.com>
Signed Off By: Hyunseok Yang <hs0219.yang@samsung.com>
Signed Off By: Subodh Kumar <s7158.kumar@samsung.com>

Test Plan: NA

Reviewers: shilpasingh, raster

Reviewed By: shilpasingh, raster

Subscribers: poornima.srinivasan, govi, rajeshps

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

9 years agoscroller: add loop feature.
Jaehwan Kim [Sat, 24 Jan 2015 03:01:03 +0000 (12:01 +0900)]
scroller: add loop feature.

This feature works the infinite loop horizontally or vertically.
If the content is set, it will be shown repeatedly.
@feature

Change-Id: I1f20b794ae44bc8e5d120901222c7cccadca96b7

Conflicts:
src/lib/elm_scroller.c
src/lib/elm_scroller_legacy.h

9 years agoImplement efl_file_get() for Elm_Layout and Elm_Video
Yakov Goldberg [Thu, 19 Mar 2015 12:08:23 +0000 (14:08 +0200)]
Implement efl_file_get() for Elm_Layout and Elm_Video

"file" property in Efl.File interface is virtual pure,
so according to OO principles must be implemented in derived classes.

This patch adds implementation of "file.get" in Elm_Layout.

Further, Elm_Video class has it's own implementation of "file.set",
thus also requires implementation of "file.get"

9 years agotoolbar: remove useless codes
WooHyun Jung [Sat, 21 Mar 2015 00:45:59 +0000 (09:45 +0900)]
toolbar: remove useless codes

9 years agoelc_popup: Fix to make popup get proper size
Jee-Yong Um [Fri, 20 Mar 2015 05:14:02 +0000 (14:14 +0900)]
elc_popup: Fix to make popup get proper size

Summary:
There is a bug that popup can't get proper size when list is set as its content.
Because of unneccesary calling evas_object_show() in popup's overriding elm_obj_container_content_set(),
sizing eval doens't work correctly.
This patch fixes this bug.

Test Plan:
Execute 14th popup sample in "elementary_test popup".
(popup-center-title + list content + 1 button)
After applying this patch, popup shows correctly.

Reviewers: seoz, Hermet

Reviewed By: Hermet

Subscribers: Hermet, seoz

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

9 years agoElm_toolbar: Sizing evaluation improvement.
Subodh Kumar [Thu, 19 Mar 2015 09:46:59 +0000 (18:46 +0900)]
Elm_toolbar: Sizing evaluation improvement.

Summary:
Issue: Flickering when toolbar was set/unset
Solution: Unnecessary resizes and show caused the flicker, removed unnecessary resizes.

Reviewers: seoz, raster, shilpasingh

Reviewed By: shilpasingh

Subscribers: poornima.srinivasan, rajeshps, govi

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

9 years agoconfig: Reinitialize font config using evas_font_reinit() API.
Youngbok Shin [Thu, 19 Mar 2015 09:04:58 +0000 (18:04 +0900)]
config: Reinitialize font config using evas_font_reinit() API.

Summary:
Call evas_font_reinit() API before applying font overlays when config is fully reloaded.
Application could modify or add font config "*.conf" files.
And It should affects all of other running EFL application.
So, put evas_font_reinit() API to be called when x win property is changed.
@feature

Reviewers: cedric, raster, tasn, woohyun

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

9 years agoelm_entry: fix focus on text selection
Andrii Kroitor [Thu, 19 Mar 2015 08:43:02 +0000 (17:43 +0900)]
elm_entry: fix focus on text selection

Summary:
Setting focus to entry object when text is being selected

@fix

Test Plan:
1. open "elementary_test entry3"
2. click on the big entry
3. mouse down on singleline entry to start selection
4. move mouse out of window
5. mouse up. text in that entry seems to be selected
6. press del or type any text

expected result: selected text in singleline entry is deleted/replaced
result without this patch: singleline entry is not focused and all edit actions are affecting the big one

Reviewers: cedric, Hermet, seoz

Subscribers: poornima.srinivasan, subodh6129, raster, reutskiy.v.v, herdsman

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

9 years agoelm_spinner: style fix
Andrii Kroitor [Thu, 19 Mar 2015 08:13:34 +0000 (17:13 +0900)]
elm_spinner: style fix

Summary:
spinner don't changes its size after showing entry.
Entry is now clipped to area between arrows.

Test Plan:
1. Run "elementary_test spinner"
2. Click on top spinner. It shouldn't resize
3. Type very long number. It shouldn't overlaps arrows.

Reviewers: Hermet, raster, seoz, cedric

Subscribers: raster, reutskiy.v.v

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

9 years agoelm_widget: fix wrong parmeter.
Jaehwan Kim [Thu, 19 Mar 2015 07:40:18 +0000 (16:40 +0900)]
elm_widget: fix wrong parmeter.

The parameter what the application gets should Elm_Object_Item.

@fix

9 years agoelm_win fullscreen setting on FAKE wins should just toggle the flag
Mike Blumenkrantz [Wed, 18 Mar 2015 14:53:56 +0000 (10:53 -0400)]
elm_win fullscreen setting on FAKE wins should just toggle the flag

@fix

9 years agoelm_win fullscreen getter does not need a third case for an inclusive if/else
Mike Blumenkrantz [Wed, 18 Mar 2015 14:51:29 +0000 (10:51 -0400)]
elm_win fullscreen getter does not need a third case for an inclusive if/else

9 years agoRevert "widget: fix the abi break."
ChunEon Park [Tue, 17 Mar 2015 06:46:19 +0000 (15:46 +0900)]
Revert "widget: fix the abi break."

This reverts commit 841fcdfb18a414a7381910bcbb0b0ef4807bc5c2.

It's been too much passed.
we have more dependencies to the change (ie, key bindings)
so conclude to have the abi break in this case.

9 years agoconform: remove redundant declares.
ChunEon Park [Tue, 17 Mar 2015 06:44:27 +0000 (15:44 +0900)]
conform: remove redundant declares.

9 years agoconform: Use eo_isa() to check object types.
woochan lee [Tue, 17 Mar 2015 06:42:36 +0000 (15:42 +0900)]
conform: Use eo_isa() to check object types.

Summary:
The strcmp(line 738) has been failed since the eo applied.
the widget type get API returned "Elm_Genlist" now.

For fix it, using eo_isa() to check object types instead of string comparison.
@fix

Reviewers: seoz, woohyun, JackDanielZ, Hermet

Reviewed By: Hermet

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

9 years agoimage: Initialize parameters in case of it just returns without assigning any value.
Daniel Juyung Seo [Mon, 16 Mar 2015 14:19:17 +0000 (23:19 +0900)]
image: Initialize parameters in case of it just returns without assigning any value.

In this way, callers does not need to consider initializing the
parameters for their local variables.

9 years agoelm_image: Fix to initialize variable.
Hosang Kim [Mon, 16 Mar 2015 12:09:35 +0000 (21:09 +0900)]
elm_image: Fix to initialize variable.

Summary: If _elm_image_object_size_get fails, w and h have garbage value.

Test Plan: no

Reviewers: seoz, Hermet, cedric, raster

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

9 years agoDnD/Wl: extend types support to all the atoms.
Daniel Zaoui [Wed, 11 Mar 2015 18:08:42 +0000 (20:08 +0200)]
DnD/Wl: extend types support to all the atoms.

uri-list type was always sent as source data type.

9 years agoDnD/Wl: fix drop sequence when drop is done on a bad target.
Daniel Zaoui [Tue, 10 Mar 2015 18:30:00 +0000 (20:30 +0200)]
DnD/Wl: fix drop sequence when drop is done on a bad target.

The problem occurs when no drop target below the mouse can receive the
data type provided and the mouse button is released. The mouse pointer
stays grabbed and this leads to issues for the next drags.
To solve this, on a bad drop, the destination window has to request
from the source window the end of the dnd.

9 years agoDnD/Wl: add a better support to data types.
Daniel Zaoui [Tue, 10 Mar 2015 17:05:42 +0000 (19:05 +0200)]
DnD/Wl: add a better support to data types.

The types management mechanisms for X11 and Wayland use the same
infrastructures.

9 years agoDnD: Arrange code for better usability
Daniel Zaoui [Tue, 10 Mar 2015 09:34:06 +0000 (11:34 +0200)]
DnD: Arrange code for better usability

Specific types need to be declared before other, as well as functions
prototypes.

9 years agoDnD/X11: generalize function
Daniel Zaoui [Tue, 10 Mar 2015 07:25:02 +0000 (09:25 +0200)]
DnD/X11: generalize function

This is needed for the types management in Wayland.

9 years agoDnD/X11: generalize atoms descriptions
Daniel Zaoui [Mon, 9 Mar 2015 16:17:52 +0000 (18:17 +0200)]
DnD/X11: generalize atoms descriptions

This step is needed to simplify types management for Wayland by using
the same data structures.

9 years agoGLView: Return false if the surface could not be created
Jean-Philippe Andre [Mon, 16 Mar 2015 07:38:20 +0000 (16:38 +0900)]
GLView: Return false if the surface could not be created

Apps had no easy mean to check that their chosen configuration
was actually working.

@fix

9 years agoelm_config: Add doc for the new depth/stencil/msaa preference
Jean-Philippe Andre [Mon, 16 Mar 2015 06:06:55 +0000 (15:06 +0900)]
elm_config: Add doc for the new depth/stencil/msaa preference

9 years agoelm_config: Add feature to set depth/stencil/msaa bit to window surface
Wonsik Jung [Mon, 16 Mar 2015 05:14:12 +0000 (14:14 +0900)]
elm_config: Add feature to set depth/stencil/msaa bit to window surface

Summary:
When evas gl/elm glview runs with direct rendering, it can not set these bits to window surface.
Because of no interface and method.This patch can do that.

This patch just uses current interface as a elm_config_accel_preference_set instead of new API.
Also, it is related D2144 patch.

Test Plan: ElmGL View test menu in elementary_test app JP's test app.

Reviewers: spacegrapher, cedric, raster, jpeg

Reviewed By: jpeg

Subscribers: mer.kim

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

Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
9 years agowidget: fix the abi break.
ChunEon Park [Fri, 13 Mar 2015 08:42:26 +0000 (17:42 +0900)]
widget: fix the abi break.

Widget type string should be all lower-cases!

This acutally was caused in 7b10fdb8f39c3b36f575dd22d26a1efe6ecd28ec

@fix

9 years agoelm_panel: Fix incorrect scroller content region calculation of panel.
Jaehyun Cho [Fri, 13 Mar 2015 08:27:03 +0000 (17:27 +0900)]
elm_panel: Fix incorrect scroller content region calculation of panel.

Summary:
Fix incorrect scroller content region calculation of panel.
It is fixed that the parent of panel content becomes scr_ly if panel is scrollable.

Test Plan:
Test Panel Scrollable in elementary_test.
1. Change panel orient as ELM_PANEL_ORIENT_RIGHT in test_panel.c.
2. Run elementary_test and test Panel Scrollable.
3. You can see the right panel drawer is hidden right after it is shown.
   (After applying this patch, this problem will be resolved.)

Reviewers: seoz, woohyun, eunue, Hermet

Reviewed By: Hermet

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

9 years agoelm_object: update doc.
ChunEon Park [Fri, 13 Mar 2015 08:24:07 +0000 (17:24 +0900)]
elm_object: update doc.

remove redundant note.

9 years agoentry: use ea_isa() for object types comparison
Amitesh Singh [Thu, 12 Mar 2015 06:44:09 +0000 (15:44 +0900)]
entry: use ea_isa() for object types comparison

Reviewers: seoz, raster, Hermet

Reviewed By: Hermet

Subscribers: kimcinoo, seoz, sachin.dev

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

9 years agogenlist: Send param item type instead of eo item type.
woochan lee [Thu, 12 Mar 2015 06:42:30 +0000 (15:42 +0900)]
genlist: Send param item type instead of eo item type.

Summary:
The _item_unselect() fucntion called at _elm_genlist_select_mode_set() with parameter.
It makes crash when access it->item. it is eo item type actually so it doesn't have member as item or something.
@fix

Test Plan:
1. Run elementary_test
2. Execute genlist
3. Select an item on list and click Next API fucntion button 2times.
4. Check the crash.

Reviewers: seoz, woohyun, Hermet

Reviewed By: Hermet

Subscribers: SanghyeonLee

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

9 years agoGenlist/Gengrid : Modified to handle the focus highlight on unrealized items
SangHyeon Lee [Wed, 11 Mar 2015 10:59:58 +0000 (19:59 +0900)]
Genlist/Gengrid : Modified to handle the focus highlight on unrealized items

Summary:
When unrealized item is focused, edje object is not exist,
         so genlist cannot read the focus highlight information from edje object.
         Therefore, when the item is realized, check the item is focused or not and
         need to update focus highlight.

@fix

Test Plan: change edc for supporting focus highlight in edc, and set focus on unrealized items.

Reviewers: raster, seoz, jaehwan

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

9 years agoelm - fix zmikes smart-arse stupid documentation remark
Carsten Haitzler (Rasterman) [Wed, 11 Mar 2015 11:16:36 +0000 (20:16 +0900)]
elm - fix zmikes smart-arse stupid documentation remark

9 years agoelm: Use eo_isa() to check object types instead of manual string comparison.
Daniel Juyung Seo [Tue, 10 Mar 2015 13:52:29 +0000 (22:52 +0900)]
elm: Use eo_isa() to check object types instead of manual string comparison.

9 years agoatspi: Remove unnecessary null check.
Daniel Juyung Seo [Tue, 10 Mar 2015 13:51:17 +0000 (22:51 +0900)]
atspi: Remove unnecessary null check.

win could not be null due to EINA_LIST_FOREACH design.

9 years agoelm: Clean up elm_win_resize_object_add caller.
Daniel Juyung Seo [Tue, 10 Mar 2015 13:41:44 +0000 (22:41 +0900)]
elm: Clean up elm_win_resize_object_add caller.

- Do not need to call align_set for window resize object.
- Call weight_set before adding an object to a window's resize object.

9 years agomain: use eo_isa() to check obj type.
ChunEon Park [Tue, 10 Mar 2015 13:31:13 +0000 (22:31 +0900)]
main: use eo_isa() to check obj type.

9 years agomultibuttonentry: registered object change for callback add.
woochan lee [Tue, 10 Mar 2015 08:19:46 +0000 (17:19 +0900)]
multibuttonentry: registered object change for callback add.

Summary:
API changed from "edje_object_signal_callback_add()" to "elm_layout_signal_callback_add"
to following code refactoring.

Reviewers: seoz, woohyun, Jaehyun, Hermet

Reviewed By: Hermet

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

9 years agopopup: fix mistake
ChunEon Park [Tue, 10 Mar 2015 08:03:36 +0000 (17:03 +0900)]
popup: fix mistake

this is introduced in d4eaee4eb97210ed153c161fc8b7d21967f61131.

the position should be rearragned after geometry_get().

9 years agolayout: here default content alias can be acceptable.
ChunEon Park [Tue, 10 Mar 2015 07:56:22 +0000 (16:56 +0900)]
layout: here default content alias can be acceptable.

elm_object_content_set() for layout will be working.

@fix.

9 years agopopup: correct popup position.
ChunEon Park [Tue, 10 Mar 2015 07:51:44 +0000 (16:51 +0900)]
popup: correct popup position.

actually popup position should be updated when it's parent is moved.

@fix

9 years agolayout: Add text alias description as default.
woochan lee [Tue, 10 Mar 2015 07:40:53 +0000 (16:40 +0900)]
layout: Add text alias description as default.

Summary:
The _text_aliases value exists. but never use here on layout for text part aliases.
in addition, i think that "elm,text" should be the default part for text set.

Reviewers: seoz, woohyun, JackDanielZ, Hermet

Reviewed By: Hermet

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

9 years agoRevert "Fix for T2042 ctxpopup don’t know its size"
ChunEon Park [Tue, 10 Mar 2015 07:36:24 +0000 (16:36 +0900)]
Revert "Fix for T2042 ctxpopup don’t know its size"

This reverts commit aeeef70cfbc6d589262024105b52ae2c07336ecd.

Ahhh this patch wasn't intended. revert.

9 years agoelc_popup: Adjust popup size when its parent is resized
Jee-Yong Um [Tue, 10 Mar 2015 07:21:16 +0000 (16:21 +0900)]
elc_popup: Adjust popup size when its parent is resized

Summary:
When parent is resized, popup keeps its original size.
This patch makes popup have proper size in proportion to parent's size.

T2082

Test Plan: You can check the effect of this patch in "elementary_test popup".

Reviewers: seoz, Hermet

Subscribers: stefan_schmidt, J5lx, seoz

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

9 years agopopup: Delete useless restack cb.
woochan lee [Tue, 10 Mar 2015 07:17:49 +0000 (16:17 +0900)]
popup: Delete useless restack cb.

Summary:
This restack callback added for support previous tree [parent - notify - popup].
The popup has been redesigned to have correct tree [parent -popup - notify].
So the restack callback does not need anymore.

Test Plan:
1. Run elementary_test
2. Execute popup sample.
3. Activate popup which has restack feature.
4. Check the result.

Reviewers: seoz, woohyun, Hermet

Reviewed By: Hermet

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

9 years agoFix for T2042 ctxpopup don’t know its size
ChunEon Park [Tue, 3 Mar 2015 02:50:22 +0000 (11:50 +0900)]
Fix for T2042 ctxpopup don’t know its size

Summary:
Since this patch ctxpopup is able to report its size which is equal to 1 element of list.
This can be treated as another bug (list visibility implementation must be so list will be counting its size dynamic on every item add)
Might be also ignored.

Test Plan:
1. Use application provided in T2042 (should have coordinates greater then 0).
2. Using atspi check is accessible element is visible. (with patch ctxpopup will be visible, without ctxpopup and its children will have status visible and showing set to FALSE)

Reviewers: raster, seoz, Hermet

Subscribers: m.jagiello

Projects: #elementary

Maniphest Tasks: T2042

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

9 years agotheme examples of color class descriptions
Mike Blumenkrantz [Sat, 7 Mar 2015 18:45:21 +0000 (13:45 -0500)]
theme examples of color class descriptions

just a couple for now, the rest can be filled in later

9 years agoibar/ibox icon label positioning rewrite
Mike Blumenkrantz [Fri, 6 Mar 2015 23:56:58 +0000 (18:56 -0500)]
ibar/ibox icon label positioning rewrite

the original code for handling label positioning was not robust enough to handle
cases such as ibar scrolling or gadget moving. this greatly simplifies the code
as well as handling all cases and providing small animations for moving the label
when necessary

9 years agotheme: Updated Ibar to align with the origin
Marcel Hollerbach [Fri, 6 Mar 2015 22:18:48 +0000 (17:18 -0500)]
theme: Updated Ibar to align with the origin

This fixes partly T1828

Summary: Use the feature provided by ibar.

Reviewers: raster, zmike

Subscribers: zmike

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

9 years agotest: fix crash of configuration test
kabeer khan [Fri, 6 Mar 2015 15:34:01 +0000 (16:34 +0100)]
test: fix crash of configuration test

Summary:
Add extra check to prevent crashing when user clicks configuration
test from elementary_test window

Signed-off-by: kabeer khan <kabeer.khan@samsung.com>
Reviewers: seoz, cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agocursor theme setting should use cur->owner instead of cur->eventarea for parent
Mike Blumenkrantz [Thu, 5 Mar 2015 16:35:03 +0000 (11:35 -0500)]
cursor theme setting should use cur->owner instead of cur->eventarea for parent

owner is required to be an elm widget, eventarea is not

9 years agocursor object changes are now rejected if creating the new cursor fails
Mike Blumenkrantz [Thu, 5 Mar 2015 16:33:57 +0000 (11:33 -0500)]
cursor object changes are now rejected if creating the new cursor fails

previous behavior resulted in a deleted cursor

9 years agocnp should only attempt to get wl win for wl engine canvases
Mike Blumenkrantz [Thu, 5 Mar 2015 16:31:30 +0000 (11:31 -0500)]
cnp should only attempt to get wl win for wl engine canvases

fixes abort() on missing wl ee interface

9 years agoelm spinner - add backwards compat for older spinner themes
Carsten Haitzler (Rasterman) [Thu, 5 Mar 2015 06:14:34 +0000 (15:14 +0900)]
elm spinner - add backwards compat for older spinner themes

this makes spinenr work with previous themes after
adfe7fbcd3f4146d84219de7dbb5a273d89f396e commit

9 years agoelm_win now accurately reapplies framespace in all cases for fullscreen wins
Mike Blumenkrantz [Wed, 4 Mar 2015 20:20:54 +0000 (15:20 -0500)]
elm_win now accurately reapplies framespace in all cases for fullscreen wins

also related opaque region fix

9 years agocolorselector: Check return value of elm_layout_theme_set as other widgets do.
Daniel Juyung Seo [Wed, 4 Mar 2015 11:59:36 +0000 (20:59 +0900)]
colorselector: Check return value of elm_layout_theme_set as other widgets do.

This fixes coverity CID 1273969.

9 years agomultibuttonentry: Item width size set policy change.
woochan lee [Wed, 4 Mar 2015 11:38:04 +0000 (20:38 +0900)]
multibuttonentry: Item width size set policy change.

Summary:
Item width max size set as 130 in edc before, i thinks that value doen't have any meaning,
so i changed the item max width size to follow container width size.

For modification, item size calc, box resize logic changed.

Test Plan:
1. Run elementary_test
2. Execute multibuttonentry sample.
3. Input some text for make item.

Reviewers: Hermet, seoz, woohyun, Jaehyun

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

9 years agoelm_slider: Added elm_slider_indicator_visible_mode_set/get.
Sung-Taek Hong [Wed, 4 Mar 2015 09:45:32 +0000 (18:45 +0900)]
elm_slider: Added elm_slider_indicator_visible_mode_set/get.

Summary: elm_slider: Added elm_slider_indicator_visible_mode_set/get.
elm_slider_indicator_visible_mode_set/get allows individual sliders to have
its own indicator visible_mode.

@feature

Reviewers: Hermet, woohyun, seoz

Subscribers: seoz

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

9 years agoGenlist: make reordered item selected
Vitalii Vorobiov [Wed, 4 Mar 2015 09:40:41 +0000 (18:40 +0900)]
Genlist: make reordered item selected

Restacking not selected item should be selected after it is done.

@fix

Test Plan:
1. run in console
> elementary_test "Genlist Reorder Mode"
2. Switch to reorder mode
3. Select Item #6
4. Try to restack Item #4
(not selecting it, but holding mouse on it and moving down)
5. See that Item #4 and Item #6 is not selected

Reviewers: cedric, Hermet, raster, seoz

Subscribers: reutskiy.v.v

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

9 years agoelm - focus feature - add config option to automatically show/hide focus
Carsten Haitzler (Rasterman) [Wed, 4 Mar 2015 08:47:54 +0000 (17:47 +0900)]
elm - focus feature - add config option to automatically show/hide focus

this adds logic in elm widget and elm win to figure out how to
automatically show a focus hilight when switching focus, or to hide
it. this really should be the default mode, thus in all default
profiles (default, standard, mobile) it's turned on. this means if you
tab or shif+tab or use arrow keys to switch focus, the focus hilight
will magicallly appear. click with a mouse to change focus and it'll
disappear assuming you want to use the mouse to do things. If focus is
explicitly turned on in config or in the window by api, then this has
no effect and focus will remain on all the time. this adds apis to
change these config values and options in the default elm config tool
to swizzle them as well as config upgrade handling for existing configs.

@feature