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

9 years agoElm_spinner focus UI, accessibility fix
Subodh Kumar [Wed, 4 Mar 2015 06:59:24 +0000 (15:59 +0900)]
Elm_spinner focus UI, accessibility fix

Summary:
Issue: Focus was not getting transferred individually on arrow buttons and text area.
Solution: Remove the usage of image parts and text parts and replace them with buttons
so as to handle the focus transfer normally than forcibly via smart event.
hence Focus next hook and focus direction hook is implemented.

Signed-off by: Subodh Kumar<s7158.kumar@samsung.com>
Signed-off by: Shilpa Singh<shilpa.singh@samsung.com>

Test Plan:
Use keyboard keys on spinner and test focus transfer, enable accessibility and test
accessibility.

Reviewers: woohyun, Hermet, shilpasingh, raster, seoz

Reviewed By: shilpasingh, raster

Subscribers: stefan_schmidt, raster, rajeshps, govi

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

9 years agohoversel: Enabled default mirroring in hoversel.
Shobhit [Wed, 4 Mar 2015 06:54:39 +0000 (15:54 +0900)]
hoversel: Enabled default mirroring in hoversel.

Removed default disable automatic mirroring of hoversel.

Summary:
Removed below API call for hoversel, hover, box and button object
elm_widget_mirrored_automatic_set(obj, EINA_FALSE);

Modified theme of "elm/button/base/hoversel_vertical_entry/default" to remove console errors due to theme, and modified text.align to -1 as 'x' value to set auto align for Arabic text.
Modified example hoversel_example_01.c to illustrate mirroring functionality

@fix

Reviewers: Hermet, seoz, tasn

Subscribers: sachin.dev

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

9 years agoelm_win framespace toggling on fullscreen change: activate!
Mike Blumenkrantz [Tue, 3 Mar 2015 19:59:33 +0000 (14:59 -0500)]
elm_win framespace toggling on fullscreen change: activate!

@fix

9 years agoelm_win trivial function move
Mike Blumenkrantz [Tue, 3 Mar 2015 19:59:03 +0000 (14:59 -0500)]
elm_win trivial function move

9 years agoelm_colorselector update
Andrii Kroitor [Tue, 3 Mar 2015 11:06:44 +0000 (20:06 +0900)]
elm_colorselector update

Summary:
elm_colorselector: replaced entries with spinners
elm_colorselector: extended styling support
elm_colorselector: changed colors alignment in palette

Reviewers: Hermet, reutskiy.v.v, tasn, cedric, seoz, raster

Reviewed By: reutskiy.v.v

Subscribers: reutskiy.v.v

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

9 years agogenlist: Implemented genlist expand mode and content_min_limit function
VBS [Tue, 3 Mar 2015 10:58:40 +0000 (19:58 +0900)]
genlist: Implemented genlist expand mode and content_min_limit function

Summary:
1. Implemented genlist mode ELM_LIST_EXPAND
2. Implemented content_min_limit function which override scroll interface.
  This function will be used by call API elm_scroller_content_min_limit.
  This function will set the object minimum size as its scroll content size,
  if parameter value is EINA_TRUE.

@feature

Test Plan: Add new test case in test_popup.c

Reviewers: raster, seoz

Subscribers: stefan_schmidt, bluezery

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

9 years agoconfig: fix config name
Jaeun Choi [Tue, 3 Mar 2015 04:36:53 +0000 (13:36 +0900)]
config: fix config name

@fix

9 years agoexamples/performance: Fix another typo to include the image into the tarball
Stefan Schmidt [Fri, 27 Feb 2015 11:23:27 +0000 (12:23 +0100)]
examples/performance: Fix another typo to include the image into the tarball

Same file but different typo compared to the previous commit. Nice. :)

9 years agoexamples/performance: Fix typo in file nacme to be named background
Stefan Schmidt [Fri, 27 Feb 2015 11:21:31 +0000 (12:21 +0100)]
examples/performance: Fix typo in file nacme to be named background

9 years agogengrid/genlist/list: focus first item if first_item_focus_on_first_focus_in is on
Jaeun Choi [Fri, 27 Feb 2015 09:14:20 +0000 (18:14 +0900)]
gengrid/genlist/list: focus first item if first_item_focus_on_first_focus_in is on
whether focus highlight is enabled or not

@fix

9 years agolayout: apply widget's states when elm_layout_file_set is called
Jaeun Choi [Fri, 27 Feb 2015 05:15:42 +0000 (14:15 +0900)]
layout: apply widget's states when elm_layout_file_set is called

when a layout's theme is changed by elm_layout_theme_set, the edje is updated
according to the widget's states such as 'disabled' or 'highlight_in_theme'.
but the update is dropped for elm_layout_file_set.
this patch tied up the codes into _visuals_refresh function
so that the same update happens for elm_layout_file_set.

@fix

9 years agoelementary: Fix issue of cursor getting unset on DRM engine
Chris Michael [Thu, 26 Feb 2015 15:44:59 +0000 (10:44 -0500)]
elementary: Fix issue of cursor getting unset on DRM engine

Summary: When running the E startup wizard using DRM, the cursor ends
up getting unset (and never reset) due to the DRM engine not having a
wayland window. To fix this, we will test the the engine being DRM and
if so then set the cursor->use_engine to false so that it defaults to
ecore_evas_object_cursor calls (which work on DRM).

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoelementary: Restart default cursor for wayland windows
Chris Michael [Thu, 26 Feb 2015 15:22:04 +0000 (10:22 -0500)]
elementary: Restart default cursor for wayland windows

Summary: If we are unsetting the cursor for an object, then if it's an
object on a wayland window, we should be callbacking
ecore_wl_window_cursor_default_restore

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoDnD/X11: improve callbacks invocations.
Daniel Zaoui [Wed, 25 Feb 2015 08:36:38 +0000 (10:36 +0200)]
DnD/X11: improve callbacks invocations.

There is no reason why drop targets callbacks registered for a specific
type would be invoked when a not supported data is dragged.
This patch fixes it by comparing the data type and the callback type of
the drop target. Only the callbacks supporting the data type are
invoked.

9 years agoDnD/X11: improve types checking during position event.
Daniel Zaoui [Wed, 25 Feb 2015 08:36:34 +0000 (10:36 +0200)]
DnD/X11: improve types checking during position event.

During a DnD position event, we need to find the first dropable target
located under the mouse pointer; one of its callbacks has to support
at least one of the types of the dragged data.
This search process was done by strcmp-ing types for every drop target
and for each of their types until a good target is found.
This patch improves the process by comparing types formats, i.e and-ing bits
vectors.

9 years agoDnD/Wl: clean app callbacks management
Daniel Zaoui [Wed, 25 Feb 2015 08:36:26 +0000 (10:36 +0200)]
DnD/Wl: clean app callbacks management

9 years agoDnD/Wl: support multi-layer Drag and Drop
Daniel Zaoui [Wed, 25 Feb 2015 08:36:18 +0000 (10:36 +0200)]
DnD/Wl: support multi-layer Drag and Drop

Now, we use the same way as in X11 to determine which dropable target
should receive the drop data.

@feature

9 years agoDnD: Add line number to debug messages
Daniel Zaoui [Wed, 25 Feb 2015 08:36:13 +0000 (10:36 +0200)]
DnD: Add line number to debug messages

9 years agoDnD: generalize internal functions.
Daniel Zaoui [Wed, 25 Feb 2015 08:36:09 +0000 (10:36 +0200)]
DnD: generalize internal functions.

They were specific to X11 and should be used for Wayland too.

9 years agoDnD/Wl: add cancel support
Daniel Zaoui [Wed, 25 Feb 2015 08:35:43 +0000 (10:35 +0200)]
DnD/Wl: add cancel support

This feature permits cancellation of a DnD operation in the middle.

@feature

9 years agoexample: fix after change in eo_do syntax.
Cedric BAIL [Tue, 24 Feb 2015 12:45:40 +0000 (13:45 +0100)]
example: fix after change in eo_do syntax.

9 years agoelementary_test: fix build on windows
Andrii Kroitor [Tue, 24 Feb 2015 12:23:29 +0000 (13:23 +0100)]
elementary_test: fix build on windows

Summary:
added missing header

@fix

Reviewers: cedric, seoz, Hermet

Subscribers: reutskiy.v.v

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoedgebindings theme now sets align to setup layout as expected
Mike Blumenkrantz [Mon, 23 Feb 2015 21:49:24 +0000 (16:49 -0500)]
edgebindings theme now sets align to setup layout as expected

ref T2144

9 years agoFix code to conform to recent Eo changes.
Tom Hacohen [Mon, 23 Feb 2015 17:12:35 +0000 (17:12 +0000)]
Fix code to conform to recent Eo changes.

9 years agogitignore: Updated gitignore file.
Daniel Juyung Seo [Mon, 23 Feb 2015 13:52:41 +0000 (22:52 +0900)]
gitignore: Updated gitignore file.

9 years agomultibuttonentry: Check return value of elm_layout_theme_set.
Daniel Juyung Seo [Mon, 23 Feb 2015 13:45:33 +0000 (22:45 +0900)]
multibuttonentry: Check return value of elm_layout_theme_set.

This fixes coverity CID 1086781.

9 years agogenlist: Add comments for elm,state,focused/unfocused signals.
Daniel Juyung Seo [Mon, 23 Feb 2015 09:57:30 +0000 (18:57 +0900)]
genlist: Add comments for elm,state,focused/unfocused signals.

9 years agoelm_box: Fix miscalculated items' size issue in homogeneous box
Jee-Yong Um [Mon, 23 Feb 2015 08:59:52 +0000 (17:59 +0900)]
elm_box: Fix miscalculated items' size issue in homogeneous box

Summary:
When box has expanded items (evas_object_size_hint_weight_set() with EVAS_HINT_EXPAND)
and homogeneous is set (elm_box_homogeneous_set() with EINA_TRUE),
there is a bug that it miscalculates its items size omitting padding size (space among items),
so the last item looks cropped or having smaller size than others.
This patch makes box calculate its items' size correctly.

T2033

Reviewers: Hermet, seoz

Subscribers: seoz, Hermet

Maniphest Tasks: T2033

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

9 years agodatetime: Fix elm_datetime_field_limit_set.
woochan lee [Mon, 23 Feb 2015 08:48:37 +0000 (17:48 +0900)]
datetime: Fix elm_datetime_field_limit_set.

Summary:
If user sets the limit value using elm_datetime_field_limit_set() API, the filed value will be recalculated.
Even though the value changed in case, value changed signal didn't send to user before.
@fix

Reviewers: seoz, woohyun, Hermet

Reviewed By: Hermet

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

9 years agogenlist/gengrid : Add upadating 'focus' state in item realized function.
SangHyeon Lee [Mon, 23 Feb 2015 08:57:01 +0000 (17:57 +0900)]
genlist/gengrid : Add upadating 'focus' state in item realized function.

Summary:
When an item is realized, select/disable/expand signal emission to the view object of an item was handled correctly,but there are no updating code for focus state.

@fix

Test Plan: tested by editing genlist/genlist item edc to react on elm,state,focused and move scroll signals to unrealized/realized item again.

Reviewers: raster, seoz

Reviewed By: seoz

Subscribers: eunue

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

9 years agoelm_box.eo: Added @ingroup tag.
woochan lee [Mon, 23 Feb 2015 03:48:11 +0000 (12:48 +0900)]
elm_box.eo: Added @ingroup tag.

Summary: The API "elm_box_horizontal_get" missed @ingroup tag. so i added the tag for grouping when  doxygen making API documentation.

Reviewers: Hermet, JackDanielZ, Jaehyun, seoz

Reviewed By: seoz

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

9 years agoexamples: Fix build error due to the name change.
Daniel Juyung Seo [Mon, 23 Feb 2015 03:40:49 +0000 (12:40 +0900)]
examples: Fix build error due to the name change.

Sorry for the step by step fix.
Thanks for the report id213sin.

9 years agoconfigure: Fix break due to name change.
Daniel Juyung Seo [Mon, 23 Feb 2015 02:59:14 +0000 (11:59 +0900)]
configure: Fix break due to name change.

9 years agoperformance: Fix typo perfomance -> performance.
Daniel Juyung Seo [Mon, 23 Feb 2015 01:48:31 +0000 (10:48 +0900)]
performance: Fix typo perfomance -> performance.

9 years agoperformance: Cast strlen return with int.
Daniel Juyung Seo [Mon, 23 Feb 2015 01:46:53 +0000 (10:46 +0900)]
performance: Cast strlen return with int.

9 years agoelm: Remove redundant finger size adjustment.
Daniel Juyung Seo [Sun, 22 Feb 2015 23:43:47 +0000 (08:43 +0900)]
elm: Remove redundant finger size adjustment.

This is a successor of a54da8aab.

9 years agoelm_panel: make "panel scrollable" work in elementary_test
Jee-Yong Um [Sat, 21 Feb 2015 04:38:13 +0000 (13:38 +0900)]
elm_panel: make "panel scrollable" work in elementary_test

Summary:
Thumbscroll is disabled in default configuration,
but "scrollable" feature in panel only works when thumbscroll is turned on.
To make "scrollable" work always in elementary test,
this patch enables thumbscroll temporarily regardless of configuration.
(configuration is restored when sample window is closed.)

Reviewers: Hermet, seoz

Subscribers: seoz, Hermet

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

9 years agoelm_photocam: add API's to change photocam image orientation
kabeer khan [Fri, 20 Feb 2015 13:33:04 +0000 (14:33 +0100)]
elm_photocam: add API's to change photocam image orientation

Summary:
Added API's to rotate(90, 180, 270), flip(horizontal, vertical), transpose and transverse Photocam Image.

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

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoelm_image: changed orient_set code to use evas_object_image_orient_set API
kabeer khan [Fri, 20 Feb 2015 13:26:01 +0000 (14:26 +0100)]
elm_image: changed orient_set code to use evas_object_image_orient_set API

Summary:
evas_image_orient_set is a newly added API to set orientation of evas image.
Using this API to set orientation of image widget.
Also removed Elm_Image_Orient enums and replaced it with Evas_Image_Orient enums.

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

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoRevert "Revert "Revert "win INLINE_IMAGE test now crashes as expected when trying...
ChunEon Park [Thu, 19 Feb 2015 06:18:37 +0000 (15:18 +0900)]
Revert "Revert "Revert "win INLINE_IMAGE test now crashes as expected when trying to use it in a non-useless manner"""

This reverts commit 83f94464f1743cfa55e6b39704c605978edcee19.

This is incorrect. both windows evas are different,
we cannot set the child window as the resize object.

9 years agoentry: Don't unlink empty files when saving @fix T2122.
Andy Williams [Wed, 18 Feb 2015 08:46:05 +0000 (08:46 +0000)]
entry: Don't unlink empty files when saving @fix T2122.

Simmple fix where we now only unlink if the object we are saving is NULL.
A null terminated string being null is not an error case.

9 years agoRevert "Revert "win INLINE_IMAGE test now crashes as expected when trying to use...
Mike Blumenkrantz [Tue, 17 Feb 2015 22:11:49 +0000 (17:11 -0500)]
Revert "Revert "win INLINE_IMAGE test now crashes as expected when trying to use it in a non-useless manner""

This reverts commit 72ef635ff3b8939509ecfb29ecf19e465b40e652.

changing a test so that it will not crash in a valid use case is not an appropriate fix.

ref T1973

9 years agoelementary: example showing Evas_3D with elementary widgets and testing some of its...
Oleksandr Shcherbina [Tue, 17 Feb 2015 11:51:14 +0000 (12:51 +0100)]
elementary: example showing Evas_3D with elementary widgets and testing some of its feature.

Summary:
This small application for quick testing main features and changes in Evas 3D.
Main features: effects shadow, fog, measuring fps, load 3D model, panel for change
sets light and camera.

Reviewers: Hermet, raster, cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agotransit: Clean up internal variables and function names.
Daniel Juyung Seo [Tue, 17 Feb 2015 00:09:33 +0000 (09:09 +0900)]
transit: Clean up internal variables and function names.

9 years agoelm_transit: Add elm_transit_go_in() API
Jee-Yong Um [Mon, 16 Feb 2015 23:34:46 +0000 (08:34 +0900)]
elm_transit: Add elm_transit_go_in() API

Summary:
elm_transit_go() is executed immediately after it is called.
elm_transit_go_in() starts transit in given seconds.

@feature

Reviewers: Hermet, seoz

Reviewed By: seoz

Subscribers: seoz, Hermet

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

9 years agomultibuttonentry: Item selected callback called twice redundantly.
woochan lee [Sat, 14 Feb 2015 13:56:05 +0000 (22:56 +0900)]
multibuttonentry: Item selected callback called twice redundantly.

Summary:
_current_item_change() called at _item_select() internally.
it means _current_item_changed() called two times in vain.
so that's why item select callback called two times.
@fix

Test Plan:
1. Run elementary_test
2. Excute multibuttonentry sample.
3. Added some items and click the item area.
4. Select signal called two times.

Reviewers: Hermet, woohyun, JackDanielZ, seoz

Reviewed By: seoz

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

9 years agopanes: improve doc.
Hermet [Sat, 14 Feb 2015 04:29:20 +0000 (13:29 +0900)]
panes: improve doc.

9 years agoelementary: Remove unused variable
Chris Michael [Fri, 13 Feb 2015 14:44:05 +0000 (09:44 -0500)]
elementary: Remove unused variable

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoels_tooltip: compiler portability (use full ternary operator)
Daniel Kolesa [Fri, 13 Feb 2015 14:22:28 +0000 (14:22 +0000)]
els_tooltip: compiler portability (use full ternary operator)

9 years agopopup: removed button style setting code in theme_apply
Jaeun Choi [Fri, 13 Feb 2015 12:28:05 +0000 (21:28 +0900)]
popup: removed button style setting code in theme_apply

popup buttons are created by users
it's inappropriate to set button style in widget code

@fix

9 years agoelm_photo: sanitise file path
kabeer khan [Fri, 13 Feb 2015 07:26:04 +0000 (16:26 +0900)]
elm_photo: sanitise file path

Summary:
Resolved FIXME deal with relative path by sanitising file path

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

Reviewed By: cedric, seoz, devilhorns

Subscribers: cedric

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

9 years agoelm scroller - add adnimated and accelerated wheel scroll
Carsten Haitzler (Rasterman) [Fri, 13 Feb 2015 04:14:07 +0000 (13:14 +0900)]
elm scroller - add adnimated and accelerated wheel scroll

now when a whele event comes in, 1. the amount we scroll accelerates
based on time between wheel events (the faster wheel events come out,
the more accel), and 2. we animate to the new position providing a
smooth transition to the new spot rather than a jump. very visually
nice.

@feature

9 years agogenlist: Fix elm_genlist_item_index_get.
Daniel Juyung Seo [Thu, 12 Feb 2015 13:01:59 +0000 (22:01 +0900)]
genlist: Fix elm_genlist_item_index_get.

The first item's index is 1 not 0.

@fix

9 years agogengrid: select the focused item on enter key input
Jaeun Choi [Thu, 12 Feb 2015 10:15:57 +0000 (19:15 +0900)]
gengrid: select the focused item on enter key input

there was no way to select an item with key input on ELM_ITEM_SELECT_ON_FOCUS_DISABLE mode.
this patch enables select and multi select with enter/space key input.

@fix

9 years agogenlist: select the focused item on enter key input
Jaeun Choi [Thu, 12 Feb 2015 08:31:00 +0000 (17:31 +0900)]
genlist: select the focused item on enter key input

there was no way to select an item with key input on ELM_ITEM_SELECT_ON_FOCUS_DISABLE mode.
this patch enables select and multi select with enter/space key input.

@fix

9 years agoelm_toolbar: remove code duplication
Jee-Yong Um [Wed, 11 Feb 2015 07:49:24 +0000 (16:49 +0900)]
elm_toolbar: remove code duplication

Summary:
elm_coords_finger_size_adjust() is called twice.
It might not be intended.

Reviewers: Hermet, Jaehyun, seoz

Reviewed By: seoz

Subscribers: raster, seoz, Hermet

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

9 years agoupdate po
Carsten Haitzler (Rasterman) [Wed, 11 Feb 2015 03:30:18 +0000 (12:30 +0900)]
update po

9 years agocomp theme now allows for modification of focus rect
Mike Blumenkrantz [Tue, 10 Feb 2015 23:09:43 +0000 (18:09 -0500)]
comp theme now allows for modification of focus rect

9 years agoRevert "gengrid: call "selected" callback on entey key input"
Jaeun Choi [Tue, 10 Feb 2015 11:58:39 +0000 (20:58 +0900)]
Revert "gengrid: call "selected" callback on entey key input"

This reverts commit 0debdcf1ca166da1c083765bdb1542183fe96427.

9 years agogengrid: call "selected" callback on entey key input
Jaeun Choi [Tue, 10 Feb 2015 11:29:47 +0000 (20:29 +0900)]
gengrid: call "selected" callback on entey key input

9 years agoelm engine - restore explicit use of ELM_ENGNE env var
Carsten Haitzler (Rasterman) [Tue, 10 Feb 2015 10:48:21 +0000 (19:48 +0900)]
elm engine - restore explicit use of ELM_ENGNE env var

this fixes a deprecation of elm engine done just before 1.13 release
that ends up breaking "make doc" and also will make ELM_ENGINE env var
stop working (the latter was intentional). but since this is relied on
for things like make doc - keep the env var and haveit set preferred
engine and let people migrate away from using the engine var EXCEPT
for things like the shot engine

@fix

9 years agodatetime: Clean up datetime module codes.
Daniel Juyung Seo [Tue, 10 Feb 2015 08:15:45 +0000 (17:15 +0900)]
datetime: Clean up datetime module codes.

9 years agopopup: passing right parameter to elm_layout_sizing_eval
Jaeun Choi [Tue, 10 Feb 2015 07:01:23 +0000 (16:01 +0900)]
popup: passing right parameter to elm_layout_sizing_eval

pass popup object instead of main_layout to elm_layout_sizing_eval()
so that _elm_popup_elm_layout_sizing_eval is called

@fix

9 years agomultibuttonentry: refactoring(makes button object Elm_Item_Object instead of edje...
woochan lee [Tue, 10 Feb 2015 05:22:43 +0000 (14:22 +0900)]
multibuttonentry: refactoring(makes button object Elm_Item_Object instead of edje object)

Summary:
There was no consistency with another widget which has item object, basically widgets has Elm_Object_Item object for own's item object.
but multibuttonentry used edje object for item object before.

Test Plan:
1. Run elementary test.
2. Execute multibuttonentry.
3. Doing variety action on multibuttonentry widget.(add, delete, key event, focus etc...)

Reviewers: seoz, woohyun, Jaehyun, Hermet, JackDanielZ

Subscribers: herdsman, cedric

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

9 years agopanel: Remove error message from elm_panel_add API and _theme_apply func.
Youngbok Shin [Tue, 10 Feb 2015 04:41:13 +0000 (13:41 +0900)]
panel: Remove error message from elm_panel_add API and _theme_apply func.

Summary:
elm_layout_content_set API calls _elm_panel_elm_container_content_set func.
The panel widget checks the given "parts" string is whether "elm.swallow.event" or not.
To avoid error message and set the given object to the "elm.swallow.event" internally,
the panel widget need to call *_content_set for "elm.swallow.event" part using eo_do_super.
@fix

Test Plan: elementary_test -> panel

Reviewers: seoz, woohyun, Hermet

Reviewed By: Hermet

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

9 years agoconfigure: Switch to dev mode again. Merge window for 1.14 is open now.
Stefan Schmidt [Mon, 9 Feb 2015 13:09:20 +0000 (14:09 +0100)]
configure: Switch to dev mode again. Merge window for 1.14 is open now.

9 years agorelease: Update NEWS and bump version for 1.13.0 release v1.13.0
Stefan Schmidt [Mon, 9 Feb 2015 12:39:59 +0000 (13:39 +0100)]
release: Update NEWS and bump version for 1.13.0 release

9 years agoelm_config: Avoid access of deleted item data.
Stefan Schmidt [Mon, 9 Feb 2015 11:36:01 +0000 (12:36 +0100)]
elm_config: Avoid access of deleted item data.

This belongs to the fixes raster just did here. It was the only one I was able
to trigger after his fixes.

Last one in a row that fixes T2072.

9 years agoelm - list - fix invalid item data scope get
Carsten Haitzler (Rasterman) [Mon, 9 Feb 2015 11:25:44 +0000 (20:25 +0900)]
elm - list - fix invalid item data scope get

@fix

9 years agoelm config - font selector - avoid accessing invalid data on deld items
Carsten Haitzler (Rasterman) [Mon, 9 Feb 2015 11:21:54 +0000 (20:21 +0900)]
elm config - font selector - avoid accessing invalid data on deld items

@fix

9 years agoelm list - fix access of deleted items in list when recursing
Carsten Haitzler (Rasterman) [Mon, 9 Feb 2015 09:20:45 +0000 (18:20 +0900)]
elm list - fix access of deleted items in list when recursing

@fix

9 years agowidgets: Apply default return value according to description in .eo or add descriptio...
Youngbok Shin [Mon, 9 Feb 2015 04:09:05 +0000 (13:09 +0900)]
widgets: Apply default return value according to description in .eo or add description too.

Summary:
1) According to description in .eo file,
some APIs return not 0 when the given object is NULL or not proper object.
But, several APIs are not implemented as those description.
Now, they will return a value as description.
2) If there is no description about the return value when the API fail,
put description according to pair API or old version of elementary.
@fix

Reviewers: woohyun, Hermet, seoz

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

9 years agoelm_widget: added evas smart callback descriptions
kabeer khan [Mon, 9 Feb 2015 01:40:29 +0000 (10:40 +0900)]
elm_widget: added evas smart callback descriptions

Summary:
Resolved FIXME filled all smart callbacks and also set it in the constructor

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

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

9 years agotest_genlist: Clean up reorder test case.
Daniel Juyung Seo [Mon, 9 Feb 2015 01:34:06 +0000 (10:34 +0900)]
test_genlist: Clean up reorder test case.

9 years agoUpdate russian translation
Igor Murzov [Sat, 7 Feb 2015 12:17:53 +0000 (15:17 +0300)]
Update russian translation

9 years agoelm - fix engine config mismatch with new perferred accel vs old engine
Carsten Haitzler (Rasterman) [Sat, 7 Feb 2015 03:54:11 +0000 (12:54 +0900)]
elm - fix engine config mismatch with new perferred accel vs old engine

the elm config tool only lets you set accel preference. if you set
none, then the old engine config takes charge, but there is no way to
change/set this, so deprecate the old engine set and don't use it.
this accel preference has been around for a while, so use it now
instead.

9 years agoelm_slider: modified each slider have its indicator visible mode.
Sung-Taek Hong [Fri, 6 Feb 2015 12:58:32 +0000 (21:58 +0900)]
elm_slider: modified each slider have its indicator visible mode.

Summary: Added indicator_visible_mode to each slider in order not to make elm_config controlls every sliders.

Reviewers: Hermet, woohyun, seoz

Subscribers: seoz

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

9 years agodoc: Fix typos in documentations.
Daniel Juyung Seo [Fri, 6 Feb 2015 06:15:44 +0000 (15:15 +0900)]
doc: Fix typos in documentations.

9 years agowin_example: Fix win example codes.
Daniel Juyung Seo [Fri, 6 Feb 2015 06:11:32 +0000 (15:11 +0900)]
win_example: Fix win example codes.

- return value in ecore event handler callback.
- remove unnecessary variable.

9 years agowin: fix an issue that profile is erased and set to NULL.
Youngbok Shin [Fri, 6 Feb 2015 06:06:49 +0000 (15:06 +0900)]
win: fix an issue that profile is erased and set to NULL.

Summary:
When ecore_evas_window_profile_supported_get API return EINA_FALSE,
elm_win widget should not get profile from ecore_evas_window_profile_get API.
@fix

Reviewers: woohyun, Hermet, seoz

Reviewed By: seoz

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

9 years agofix win center trap for elm to pass in h and v params
Carsten Haitzler (Rasterman) [Fri, 6 Feb 2015 02:32:55 +0000 (11:32 +0900)]
fix win center trap for elm to pass in h and v params

while this is technically an abi break, it should actually have no
real impact. it will have warnings - sure, but running existing code
will simply not see the extra parammeters on the stack and not use
them so it'll continue to work. if we removed paramms, we'd be in
pain. (same applies to params passed in registers).

this fixes T2031

9 years agoelm - win - dont use deprecated func - use new one.
Carsten Haitzler (Rasterman) [Thu, 5 Feb 2015 11:44:49 +0000 (20:44 +0900)]
elm - win - dont use deprecated func - use new one.

cleanup to match efl 1.13 changes