Commit Graph

11154 Commits

Author SHA1 Message Date
Carsten Haitzler d3d3cbf915 elm spinner - add backwards compat for older spinner themes
this makes spinenr work with previous themes after
adfe7fbcd3f4146d84219de7dbb5a273d89f396e commit
2015-03-05 15:14:34 +09:00
Mike Blumenkrantz 297ac7c17d elm_win now accurately reapplies framespace in all cases for fullscreen wins
also related opaque region fix
2015-03-04 15:20:54 -05:00
Daniel Juyung Seo cce206ff53 colorselector: Check return value of elm_layout_theme_set as other widgets do.
This fixes coverity CID 1273969.
2015-03-04 20:59:36 +09:00
woochan lee 03af867581 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
2015-03-04 20:38:04 +09:00
Sung-Taek Hong 22adafce60 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
2015-03-04 18:45:51 +09:00
Vitalii Vorobiov 46cdb168e8 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
2015-03-04 18:40:42 +09:00
Carsten Haitzler 17ffbd6448 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
2015-03-04 17:47:54 +09:00
Subodh Kumar b0f969dd2a 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
2015-03-04 16:03:30 +09:00
Shobhit b2b4f805bb 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
2015-03-04 15:54:41 +09:00
Mike Blumenkrantz 3df05663bd elm_win framespace toggling on fullscreen change: activate!
@fix
2015-03-03 15:00:04 -05:00
Mike Blumenkrantz c5f5425e5e elm_win trivial function move 2015-03-03 15:00:04 -05:00
Andrii Kroitor 67068df957 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
2015-03-03 20:07:50 +09:00
VBS 93f0745430 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
2015-03-03 19:58:41 +09:00
Jaeun Choi 9f1dba2909 config: fix config name
@fix
2015-03-03 13:36:53 +09:00
Stefan Schmidt 224fb1073c examples/performance: Fix another typo to include the image into the tarball
Same file but different typo compared to the previous commit. Nice. :)
2015-02-27 12:23:27 +01:00
Stefan Schmidt 6681b3a380 examples/performance: Fix typo in file nacme to be named background 2015-02-27 12:21:31 +01:00
Jaeun Choi 8b85672bdd gengrid/genlist/list: focus first item if first_item_focus_on_first_focus_in is on
whether focus highlight is enabled or not

@fix
2015-02-27 18:17:37 +09:00
Jaeun Choi 7f77edf55d 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
2015-02-27 14:46:40 +09:00
Chris Michael 244f32b797 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>
2015-02-26 10:44:59 -05:00
Chris Michael a87b0341f3 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>
2015-02-26 10:22:04 -05:00
Daniel Zaoui cd97249a33 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.
2015-02-25 10:36:38 +02:00
Daniel Zaoui 3b7710f107 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.
2015-02-25 10:36:34 +02:00
Daniel Zaoui deb599fa47 DnD/Wl: clean app callbacks management 2015-02-25 10:36:26 +02:00
Daniel Zaoui 43274d3d3c 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
2015-02-25 10:36:18 +02:00
Daniel Zaoui a04166da20 DnD: Add line number to debug messages 2015-02-25 10:36:13 +02:00
Daniel Zaoui ed8505ea01 DnD: generalize internal functions.
They were specific to X11 and should be used for Wayland too.
2015-02-25 10:36:09 +02:00
Daniel Zaoui 703f86dfb4 DnD/Wl: add cancel support
This feature permits cancellation of a DnD operation in the middle.

@feature
2015-02-25 10:35:43 +02:00
Cedric BAIL fbb0371901 example: fix after change in eo_do syntax. 2015-02-24 13:45:40 +01:00
Andrii Kroitor 1b8772d7d1 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>
2015-02-24 13:23:34 +01:00
Mike Blumenkrantz 2a6b537542 edgebindings theme now sets align to setup layout as expected
ref T2144
2015-02-23 16:49:24 -05:00
Tom Hacohen e2dcfa64ae Fix code to conform to recent Eo changes. 2015-02-23 17:16:21 +00:00
Daniel Juyung Seo 03cdef2948 gitignore: Updated gitignore file. 2015-02-23 22:52:41 +09:00
Daniel Juyung Seo 5e4093babe multibuttonentry: Check return value of elm_layout_theme_set.
This fixes coverity CID 1086781.
2015-02-23 22:45:33 +09:00
Daniel Juyung Seo c2fd0e31a5 genlist: Add comments for elm,state,focused/unfocused signals. 2015-02-23 18:57:30 +09:00
Jee-Yong Um c0e8ebc971 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
2015-02-23 17:59:52 +09:00
woochan lee ebe640cc2d 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
2015-02-23 17:58:19 +09:00
SangHyeon Lee 594fe0c8a1 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
2015-02-23 17:57:01 +09:00
woochan lee fb104a22ee 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
2015-02-23 12:48:36 +09:00
Daniel Juyung Seo fcfc1179e9 examples: Fix build error due to the name change.
Sorry for the step by step fix.
Thanks for the report id213sin.
2015-02-23 12:41:35 +09:00
Daniel Juyung Seo 7c883c824f configure: Fix break due to name change. 2015-02-23 11:59:14 +09:00
Daniel Juyung Seo 5b9ea67768 performance: Fix typo perfomance -> performance. 2015-02-23 10:48:31 +09:00
Daniel Juyung Seo 992468c9cc performance: Cast strlen return with int. 2015-02-23 10:46:53 +09:00
Daniel Juyung Seo 263801f018 elm: Remove redundant finger size adjustment.
This is a successor of a54da8aab.
2015-02-23 08:43:47 +09:00
Jee-Yong Um 6d7b668dfe 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
2015-02-21 13:38:13 +09:00
kabeer khan 7cc6360aee 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>
2015-02-20 14:33:17 +01:00
kabeer khan 97cefca273 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>
2015-02-20 14:31:12 +01:00
ChunEon Park e55e740b0a 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.
2015-02-19 15:18:37 +09:00
Andy Williams 3e78cbb1a6 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.
2015-02-18 08:46:05 +00:00
Mike Blumenkrantz 061f783923 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
2015-02-17 17:12:52 -05:00
Oleksandr Shcherbina 7a8942f74a 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>
2015-02-17 15:26:54 +01:00