Commit Graph

12711 Commits

Author SHA1 Message Date
Vitor Sousa 144135d896 elm widget: add documentation from elm_focus.h to elm_widget.eo 2016-02-22 10:38:26 -03:00
Larry ccd53a7c77 Elm_photocam: moved enum Elm_photocam_Zoom_mode to elm_photocam.eo 2016-02-22 10:38:26 -03:00
Larry 597a142622 elm_layout: moved Elm_Layout_Part_Alias_Description to elm_layout.eo 2016-02-22 10:38:26 -03:00
Larry fb7d0cabb7 elm.Image: use eolian eva.images enum values in elm_image.eo and remove unused elm_image_common.h 2016-02-22 10:38:26 -03:00
Carsten Haitzler 69e4eb576d elm win: use actual window size not requested to resize child objects
using requested size may not be correct, so use real size. this should
solve issues in some wm's and actually also solved some kind of object
size lag in wayland too.

@fix - onward from 79b6edd1a6ad763258337b7aac5bd7799411bb44
2016-02-20 23:07:36 +09:00
Stefan Schmidt a9d5bca3ad genlist: remove unused variable
In 4c86a66f this var was added without any user. Remove it.
2016-02-19 12:56:35 +01:00
SungTaek Hong 0b8fe93c51 edje_external: check icon param after other param is set in entry
Summary:
- icon param add an elm_icon and content set to icon part.
- entry's style is changing as other params are set and
  icon part may not exist in certain condition(default has no icon part)
- checking icon param later than other params will set icon part
  after the style is changed.

Reviewers: cedric, woohyun, jpeg, herdsman, tasn

Reviewed By: tasn

Subscribers: conr2d

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-02-18 13:31:28 -08:00
Oleksandr Shcherbina d302375c98 examples: fix evas3d_object_on_button_example
Summary:
Remove mirror map tranformation (needn't, we had already fixed inverted texture
in evas.canvas3d).
Use hardware pick instead of cpu pick

Reviewers: cedric, Hermet, raster

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-02-18 13:24:33 -08:00
Mike Blumenkrantz 997a7f2c3d scrollable: multiply default step values by elm scale
bigger scale = bigger objects = bigger scrollers = more wheeling needed
2016-02-18 13:37:13 -05:00
Mike Blumenkrantz 8866722cdb config: set larger vertical step size for Scrolling tab scroller
scrollers with lots of large items need larger or configurable step sizes to
make them usable
2016-02-18 12:53:52 -05:00
Mike Blumenkrantz e76b9a63b5 config: add option to modify scroll acceleration factor
when using a touchpad or frictionless mouse wheel, it becomes impossible
to accurately use a scroller which accelerates as scrollers on mobile devices
do. by setting this new option to 0, acceleration can be disabled and regular
behavior can be restored

ref 2ac2628612060114cf6e5205e5331044221178c6

@feature
2016-02-18 12:53:52 -05:00
Mike Blumenkrantz 0116e07288 scrolling: add option to disable scroll animations
when I scroll on a computer, I want my app to respond immediately. I don't
want to wait for it to finish scrolling and I don't want to have to guess
where the scroll will end.

ref 2ac2628612060114cf6e5205e5331044221178c6

@feature
2016-02-18 12:53:52 -05:00
Mike Blumenkrantz fd6f12de5d config: add more frames for scrolling options
this looked weird having options outside a frame

@fix
2016-02-18 12:53:52 -05:00
Carsten Haitzler f60527f3ff elm win: fix window redraw if norender is enabled on withdrawn windows
we dont set this config by default so we dont see this - but a window
starts as withdrawn then becomes normal. this means the window starts
not rendering and may take 0.5 seconds to START because the eval is
deferred by 0.5 sec to avoid rapid switch to/from norender and other
states.

@fix
2016-02-18 18:17:27 +09:00
Carsten Haitzler 09d51174ad elm win: fix excess resize callbacks on windows when not really resizing
this fixes excess callbacks on window (and content) objhects resizing
down then back up again when windows are forcibly resized like
fullscreen, maximized and remembered windows.

@fix
2016-02-18 18:17:27 +09:00
Vyacheslav Reutskiy 0822ad2195 elm_widget: do not set NULL as parent for object
When widget has no parent object, it breakes usage of a custom
Elm_Theme. This commit fixes it.

@fix
2016-02-18 10:59:36 +02:00
SungTaek Hong 25a8ada79a map: add scale_cb for map module
Summary:
- in elm_map's _source_mod_cb(), scale_cb is needed to
  load MAP tile module.
- currently, test_map mod.c lacks this scale_cb
  and fails to load Map Tile source.

Reviewers: woohyun, Hermet, cedric

Reviewed By: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-02-17 17:05:39 -08:00
Jee-Yong Um f34b1d40fa elm_gen: highlight itself when there are no items
Summary:
When there are no items in genlist/gengrid, highlight stays at one dot of
top-left corner. This patch makes genlist/gengrid itself highlighted
when there are no items.

Reviewers: jpeg, SanghyeonLee

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-02-17 17:05:39 -08:00
SungTaek Hong 89f07527cd edje_external: fix wrong logic in index
Summary:
- Eina_Bool active_exists is to check whether Eina_Bool active
  is valid or not.
- Setting active_exists to autohide_disabled_set is apparently wrong.

Reviewers: Hermet, cedric, jpeg, woohyun

Subscribers: conr2d

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-02-17 17:05:39 -08:00
Youngbok Shin 39f3af47d7 entry: add elm.swallow.background part to all of groups
Summary:
elm.swallow.background part will be a default part for
widget's background image.
When entry widget's scrollable status is changed,
the background object will be moved to scr_edje or entry_edje.

Test Plan: N/A

Reviewers: kimcinoo, woohyun, cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-02-17 17:05:39 -08:00
Youngbok Shin d9cf8c037d calendar: add elm.swallow.background part to all of groups
Summary:
elm.swallow.background part will be a default part for
widget's background image.

Test Plan: N/A

Reviewers: woohyun, kimcinoo, cedric, Hermet

Subscribers: Hermet

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-02-17 17:05:39 -08:00
Shilpa Singh 41a5cb2b04 spinner: add invalid input validity filter
Summary:
Do not allow invalid input in to spinner.
Invalid Input can be:
1. '-' should not be inserted anywhere but the starting position, and no more than one '-' can be inputted.
2.  No more than one '.' can be inserted.

Signed-off-by: Shilpa Singh <shilpa.singh@samsung.com>

@feature

Test Plan:
1. Launch elementary test
2. Run spinner demo
3. Enter invalid inputs like inserting more than one '.', '-' or insert '-' anywhere else part from 1st position.

Reviewers: raster, CHAN, subodh6129, cedric

Subscribers: govi, buds

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-02-17 17:05:39 -08:00
Mike Blumenkrantz 5caa2df05b cursor: do not unconditionally unset cursor before setting an engine cursor
this is unnecessary: every single engine unsets the cursor when the object
has been deleted

this deletes enlightenment's cursor object

ref 678437003f219f783ba14859a805ea27997470fd

@fix
2016-02-17 18:41:18 -05:00
Mike Blumenkrantz 24a61a25d1 ctxpopup: completely disable focus-setting on show
this was previously disabled for internal list objects, and now
it is disabled for all subobjects of ctxpopup. applying focus here
invokes every possible focus bug in elementary and prevents the application
from being useful in any way

ref 974c8b05a4c97367b636593f5420ff01e8364aac
ref T3088

@fix
2016-02-17 16:00:42 -05:00
Vitalii Vorobiov 440ee69335 elm_spinner: do not SIGSEV on NULL format
Usually NULL was correct value, so lets return it back again
2016-02-16 14:05:16 +00:00
SangHyeon Lee 55e8c3b743 gengrid: add all contents unset API for content unset and reusing
Add elm_gengrid_item_all_contents_unset API for support content reuse
and unset. User can get back content objects in unrealized smart callback in item.
see elm_genlist_item_all_contents_unset also.

@feature
2016-02-16 15:36:51 +09:00
Hermet Park d90f2119de transit: rename from elm_transit_revert_go() to elm_transit_revert()
elm_transit_revert_go() sounds like it triggers animation on reverse way.

but this api acutally just change a current state.
It doesn't trigger the transtion.
2016-02-14 20:48:23 +09:00
Mike Blumenkrantz 486f3d51bc genlist: bump item class version to 3 to fix abi breakage
when adding new methods to public interface structs (such as item class),
the version must be bumped and checked in the new interface method calls
in order to avoid breaking abi for previously-compiled apps

ref 4c86a66f28876b68e92a90c8f741eed1130dd034
2016-02-13 14:38:26 -05:00
Mike Blumenkrantz 23ee7c9843 tooltip: set pass events on the tooltip, not the content
tooltip content is swallowed, meaning that edje will be setting pass events
based on the theme

@fix
2016-02-12 18:24:18 -05:00
Shilpa Singh 135802ad1f spinner: crash on illegal format set issue fix.
Summary:
Set any illegal format, spinner crashes, the format set to spinner
has to be valid hence a check is added initially itself to check for validity of
label formats.

Signed-off-by: Shilpa Singh <shilpa.singh@samsung.com>

Test Plan:
1. Set illegal format to spinner for e.g: elm_spinner_label_format_set(sp, "d");
2. Run spinner demo
Crash is observed

Reviewers: cedric

Subscribers: govi, buds

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-02-12 21:13:06 +01:00
Subodh Kumar f9f4030433 spinner: fix vertical drag style and logic
Summary:
Fix vertical drag style and logic.

For vertical spinner graggable should move
in y direction and since drag value is inverse
of spinner increment and decrement so delta should be inversed.

@fix

Test Plan:
1. Elementary test
2. Vertical spinner

Reviewers: cedric

Projects: #elementary

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-02-12 21:00:53 +01:00
SungTaek Hong f3166f1c51 layout: send signal when content is set to bg
Summary:
 - elm.swallow.background is a part reserved for customized bg.
 - When default bg image is already set, default bg has to be hidden when customized bg is set.
 - Emitting signal when a content is set to this part makes this hiding process a lot easier.

Reviewers: kimcinoo, cedric

Subscribers: cedric, kimcinoo

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-02-12 20:59:47 +01:00
Jee-Yong Um 723f2a0f6e box: add support size hint padding
Summary: This patch adds suppoting size hint padding for elm_box.

Reviewers: raster, cedric, Hermet

Subscribers: cedric, kimcinoo

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-02-12 20:45:28 +01:00
Shilpa Singh dd9ff4aa96 spinner: add min, max filter
Summary:
In spinner's entry allow numbers only with in min/max range
Signed-off-by: Shilpa Singh <shilpa.singh@samsung.com>

@feature

Test Plan:
1. Set min/max value to spinner
2. Enter numbers beyond min/max value

Reviewers: CHAN, cedric

Reviewed By: cedric

Subscribers: subodh6129, buds, govi, CHAN, cedric, raster, id213sin

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-02-12 20:38:40 +01:00
SangHyeon Lee 4607109531 genlist: add reusable_content_get item class function for support automatical content reusing in genlist.
Summary:
   Add new Item Class function reusable_content_get for improve genlist
   performance.
   If user want to reuse specific part contents, return old content
   which was passed by parameter of rreusable_content_get function.
   genlist will automatically caching those contents when item unrealized,
   and reusing it on item realizing.

   reusable_content_get will be performed content_get with old object caching.
   But if user return NULL in reusable_content_get, content_get is called to
   get new object.

   This feature is refered in Task T2813

   @feature

Test Plan: add test in genlist 1 case.

Reviewers: raster, singh.amitesh, cedric

Reviewed By: cedric

Subscribers: smohanty, seoz, woohyun, Hermet, eagleeye

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-02-12 20:36:16 +01:00
Hermet Park 3ca0135de1 widget: don't access a widget focus if the object is not a widget. 2016-02-13 01:43:56 +09:00
Youngbok Shin b01d3c9e1b entry: add elm_entry_select_region_get() API
Summary:
Already, there is a way to set a selection region:
elm_entry_select_region_set()
The get() API also useful and there is needs for this
inside of elm_entry.c. Add the API and replace codes
in atspi_text_selection_get with the API.
@feature

Test Plan:
1. Run "elementary_test -to entry3"
2. Make a selection on text.
3. Press "Sel" button.

Reviewers: tasn, herdsman, cedric, woohyun, Jaehyun, Hermet

Subscribers: Hermet

Differential Revision: https://phab.enlightenment.org/D3639
2016-02-12 20:18:05 +09:00
Jee-Yong Um e1a0dc5518 els_box: fix item sizing error
Summary:
Although items' size hint align are not set to fill,
Elm.Box expands its items.
This patch fixes item sizing error.

Test Plan: attached sample

Reviewers: cedric, jpeg, Hermet, Jaehyun, Jaehyun_Cho

Differential Revision: https://phab.enlightenment.org/D3667
2016-02-12 19:50:55 +09:00
Prince Kumar Dubey f420ed7707 [gengrid] possible crash issue fixed.
Summary: reset show_it, bring_in_it and corresponding flags on item deletion

Test Plan: delete item with animation and rotate the handset display.

Reviewers: raster, cedric

Subscribers: shilpasingh, godlytalias, govi, rajeshps

Differential Revision: https://phab.enlightenment.org/D3672
2016-02-12 19:43:11 +09:00
Youngbok Shin 6fec93c62d label: add elm.swallow.background part to all of groups
Summary:
elm.swallow.background part will be a default part for
widget's background image.

Test Plan: N/A

Reviewers: woohyun, cedric, kimcinoo

Differential Revision: https://phab.enlightenment.org/D3675
2016-02-12 19:39:53 +09:00
Daniel Kolesa 80db303157 eolian helper: add --silent-types to mirror EFL 2016-02-10 16:07:06 +00:00
Vitor Sousa f8c468b55f elementary: Use new object name "Elm.Widget_Item" instead of old name
Replace the old name "Elm.Object.Item" by the new name of the class
"Elm.Widget_Item" in all .eo files.
2016-02-09 14:14:09 -02:00
Larry 7b5e8cb0c3 Elm_Image: moved undefined types to eolian file 2016-02-09 14:14:09 -02:00
Vitor Sousa d27fd97582 elm win: replace Evas_Modifier_Mask by Evas.Modifier.Mask in elm_win.eo 2016-02-09 14:14:09 -02:00
Vitor Sousa dc98aed5a6 elm genlist: use Eolian conventions for Elm.List.Mode in elm_genlist.eo
Use Eolian names for types and values of the enumeration Elm.List.Mode,
instead of legacy names, in elm_genlist.eo.
2016-02-09 14:14:09 -02:00
Larry 50a636efba Elm.Map: move emun Zoom Mode, Source Type and Route Type to Eolian 2016-02-09 14:14:09 -02:00
Larry 3ff853c105 move enum e structs defines of elm_atspi_text to eolian 2016-02-09 14:14:08 -02:00
Vitor Sousa bbde4caccd elementary: move types to elm_interface_atspi_accessible.eo
Move structs, enums and typedefs definitions from
elm_interface_atspi_accessible.h to elm_interface_atspi_accessible.eo.
Give them namespace names to conform with Eolian policies.

Replace all occurrences in elm_interface_atspi_accessible.eo with the
Eolian names.

Adjust include order in elm_interface_atspi_accessible.h to avoid
errors.
2016-02-09 14:14:08 -02:00
Larry be2f2f526f elm_glview: move enums to eolian files 2016-02-09 14:14:08 -02:00
Larry 20609b0520 elm_gesture_layer: move enums to .eo 2016-02-09 14:14:08 -02:00