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
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"
WooHyun Jung [Sat, 21 Mar 2015 00:45:59 +0000 (09:45 +0900)]
toolbar: remove useless codes
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
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
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
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
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
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
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
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
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.
ChunEon Park [Tue, 17 Mar 2015 06:44:27 +0000 (15:44 +0900)]
conform: remove redundant declares.
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
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.
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
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.
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.
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.
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.
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.
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.
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
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
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>
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
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
ChunEon Park [Fri, 13 Mar 2015 08:24:07 +0000 (17:24 +0900)]
elm_object: update doc.
remove redundant note.
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
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
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
Carsten Haitzler (Rasterman) [Wed, 11 Mar 2015 11:16:36 +0000 (20:16 +0900)]
elm - fix zmikes smart-arse stupid documentation remark
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.
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.
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.
ChunEon Park [Tue, 10 Mar 2015 13:31:13 +0000 (22:31 +0900)]
main: use eo_isa() to check obj type.
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
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().
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.
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
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
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.
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
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
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
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
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
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
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>
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
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
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
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
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
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.
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
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
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
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
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
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
Mike Blumenkrantz [Tue, 3 Mar 2015 19:59:33 +0000 (14:59 -0500)]
elm_win framespace toggling on fullscreen change: activate!
@fix
Mike Blumenkrantz [Tue, 3 Mar 2015 19:59:03 +0000 (14:59 -0500)]
elm_win trivial function move
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
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
Jaeun Choi [Tue, 3 Mar 2015 04:36:53 +0000 (13:36 +0900)]
config: fix config name
@fix
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. :)
Stefan Schmidt [Fri, 27 Feb 2015 11:21:31 +0000 (12:21 +0100)]
examples/performance: Fix typo in file nacme to be named background
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
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
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>
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>
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.
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.
Daniel Zaoui [Wed, 25 Feb 2015 08:36:26 +0000 (10:36 +0200)]
DnD/Wl: clean app callbacks management
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
Daniel Zaoui [Wed, 25 Feb 2015 08:36:13 +0000 (10:36 +0200)]
DnD: Add line number to debug messages
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.
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
Cedric BAIL [Tue, 24 Feb 2015 12:45:40 +0000 (13:45 +0100)]
example: fix after change in eo_do syntax.
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>
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
Tom Hacohen [Mon, 23 Feb 2015 17:12:35 +0000 (17:12 +0000)]
Fix code to conform to recent Eo changes.
Daniel Juyung Seo [Mon, 23 Feb 2015 13:52:41 +0000 (22:52 +0900)]
gitignore: Updated gitignore file.
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.
Daniel Juyung Seo [Mon, 23 Feb 2015 09:57:30 +0000 (18:57 +0900)]
genlist: Add comments for elm,state,focused/unfocused signals.
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
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
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
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
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.
Daniel Juyung Seo [Mon, 23 Feb 2015 02:59:14 +0000 (11:59 +0900)]
configure: Fix break due to name change.
Daniel Juyung Seo [Mon, 23 Feb 2015 01:48:31 +0000 (10:48 +0900)]
performance: Fix typo perfomance -> performance.
Daniel Juyung Seo [Mon, 23 Feb 2015 01:46:53 +0000 (10:46 +0900)]
performance: Cast strlen return with int.
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.
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
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>
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>
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.
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.