platform/upstream/efl.git
9 years agoelm_test: Fix remote image URL
Jean-Philippe Andre [Mon, 6 Apr 2015 07:13:40 +0000 (16:13 +0900)]
elm_test: Fix remote image URL

Apparently tumblr 31 doesn't work but 41 does...

9 years agoelm_image: Simplify file_get
Jean-Philippe Andre [Mon, 6 Apr 2015 06:34:58 +0000 (15:34 +0900)]
elm_image: Simplify file_get

9 years agoelm_image: Use Efl.File interface for mmap_set
Jean-Philippe Andre [Mon, 6 Apr 2015 06:16:25 +0000 (15:16 +0900)]
elm_image: Use Efl.File interface for mmap_set

9 years agoelm_image: Implement async file open
Jean-Philippe Andre [Tue, 31 Mar 2015 02:58:10 +0000 (11:58 +0900)]
elm_image: Implement async file open

Summary: This implements the interface Efl.File.async.{set,get,wait}

Reviewers: cedric, raster, tasn

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

9 years agoElm_Win: Fix _elm_win_focus_prev_target_del callback added repeatly without callback...
SangHyeon Lee [Mon, 6 Apr 2015 01:54:15 +0000 (10:54 +0900)]
Elm_Win: Fix _elm_win_focus_prev_target_del callback added repeatly without callback del.

Summary:
When object in elm_win lose their focus, elm_win save it on focus_highlight.prev structure,
and add **EVAS_CALLBACK_DEL** event callback. But after changed focus object also lose their focus from other,
**EVAS_CALLBACK_DEL** on prev object is not deleted if their in_theme is not **EINA_TRUE**.
This could be cause **'Memory Leak' **until previous focused objects are deleting.
checking in_theme of prev focus_highlight is for send signal on prev focused view(edje),
so 'if' sentence for checking previous existance and in_theme need to be separated.

@fix

Test Plan:
You can easily check this on elementary_test. launch radio sample and make focus by keyboard and
change focus repeatly, callback is added as per focus movement, but callback del is not called.

Reviewers: seoz, woohyun, raster, Hermet

Reviewed By: Hermet

Subscribers: jaehwan

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

9 years agoslideshow/test: Fixed warning of uninitailised variable
kabeer khan [Mon, 6 Apr 2015 01:42:44 +0000 (10:42 +0900)]
slideshow/test: Fixed warning of uninitailised variable

Summary: Signed-off-by: kabeer khan <kabeer.khan@samsung.com>

Reviewers: seoz, Hermet

Reviewed By: Hermet

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

9 years agoelm_config.h: Delete whitespaces.
woochan lee [Mon, 6 Apr 2015 01:41:24 +0000 (10:41 +0900)]
elm_config.h: Delete whitespaces.

Summary: Delete whitespaces.

Reviewers: JackDanielZ, seoz, Hermet

Reviewed By: Hermet

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

9 years agomultibuttonentry: use layout apis instead of edje,
ChunEon Park [Mon, 6 Apr 2015 01:34:39 +0000 (10:34 +0900)]
multibuttonentry: use layout apis instead of edje,

the internal view type has been changed to layout.

9 years agomultibuttonentry: btn item theme set API change.
woochan lee [Mon, 6 Apr 2015 01:21:47 +0000 (10:21 +0900)]
multibuttonentry: btn item theme set API change.

Summary: I missed this during btn object type change to layout from edje object .

Reviewers: Hermet, seoz, woohyun

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

9 years agogitignore update
Mike Blumenkrantz [Sun, 5 Apr 2015 20:03:29 +0000 (16:03 -0400)]
gitignore update

9 years agocolorclass: disable local extra listing in test for now
Mike Blumenkrantz [Sun, 5 Apr 2015 20:02:12 +0000 (16:02 -0400)]
colorclass: disable local extra listing in test for now

9 years agocolorclass: add util function for listing color classes out of an open edje file
Mike Blumenkrantz [Sun, 5 Apr 2015 20:02:08 +0000 (16:02 -0400)]
colorclass: add util function for listing color classes out of an open edje file

9 years agocolorclass: add subsystem for remotely editing colorclasses over dbus
Mike Blumenkrantz [Sun, 5 Apr 2015 20:02:05 +0000 (16:02 -0400)]
colorclass: add subsystem for remotely editing colorclasses over dbus

the winid should match the e_pixmap id

also various theme improvements

9 years agocolorclass: add test case
Mike Blumenkrantz [Sun, 5 Apr 2015 20:02:03 +0000 (16:02 -0400)]
colorclass: add test case

a simple test case for local usage of the color class editor

9 years agoadd colorclass editor
Mike Blumenkrantz [Sun, 5 Apr 2015 20:02:00 +0000 (16:02 -0400)]
add colorclass editor

the colorclass editor can be used to live edit the color classes in
any running application.

@feature

9 years agoconfig: use eina_streq to optimize comparisons in _elm_config_color_overlay functions
Mike Blumenkrantz [Sun, 5 Apr 2015 20:01:57 +0000 (16:01 -0400)]
config: use eina_streq to optimize comparisons in _elm_config_color_overlay functions

9 years agocolorselector: support "changed,user" smart callback
Mike Blumenkrantz [Sun, 5 Apr 2015 20:01:50 +0000 (16:01 -0400)]
colorselector: support "changed,user" smart callback

this allows users to avoid getting callbacks from api calls

9 years agoelc_popup: make sure code is C89 strict
Boris Faure [Sat, 4 Apr 2015 16:21:12 +0000 (18:21 +0200)]
elc_popup: make sure code is C89 strict

9 years agotest_3d: correct arguments order.
ChunEon Park [Fri, 3 Apr 2015 14:50:37 +0000 (23:50 +0900)]
test_3d: correct arguments order.

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