Commit Graph

12637 Commits

Author SHA1 Message Date
Jee-Yong Um d0d6a96aee elm_gen: update highlight geometry after clearing items
Summary:
After genlist/genrid items are cleared, item highlight still
remains in blank space. This patch fixes this by updating highlight.

Test Plan:
elementary_test -to fileselector
enter blank directory and see highlight still remains

Reviewers: jpeg, SanghyeonLee, cedric

Reviewed By: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-02-29 15:40:06 -08:00
Minkyu Kang 175905ce94 image: remove EINA_UNUSED
Summary:
parameter is used

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>

Reviewers: Hermet, seoz, cedric

Reviewed By: cedric

Subscribers: seoz

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-02-29 15:40:06 -08:00
Shilpa Singh 2182918ed3 spinner: add label format validator
Summary:
Check for all error conditions case in elm_spinner_label_format_set
and set label format only if its valid.

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

@feature

Test Plan:
1. Launch elementary test spinner
2. Set invalid formats e.g. formats with out %, formats with more than
one format specifier "%d %s" etc:-

Reviewers: jpeg, cedric

Reviewed By: cedric

Subscribers: govi, buds, subodh6129

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-02-29 15:40:06 -08:00
Tom Hacohen 9316ab5bf2 Eo events: Migrate all of elm to the new event callback signatures 2016-02-29 11:33:41 +00:00
Mike Blumenkrantz b22392d937 list: set update hints on item edje objects
without size hints on the edje object, a list item will never be sized
accurately, meaning that the size hints set on subobjects (icon, end) are
ignored in nearly all cases, and any previous sizing which was accurate was,
in fact, merely coincidentally accurate

@fix
2016-02-26 12:48:33 -05:00
Mike Blumenkrantz e348a26359 list: set internal box as homogeneous if no separator items are present
this is a significant performance optimization since all non-separator
items should always be sized identically
2016-02-26 12:43:38 -05:00
Mike Blumenkrantz 3316520c23 list test: use 1.0 instead of EVAS_HINT_EXPAND
these are functionally identical but semantically different
2016-02-26 12:40:56 -05:00
Mike Blumenkrantz b6827260ce list: do not change scr_min flags when setting an unenforced list mode
only LIMIT and EXPAND modes prohibit manually setting these flags. changing
them in any other scenario can result in overriding user-set flags

@fix
2016-02-26 11:56:21 -05:00
Amitesh Singh 32c64f5d6c entry: send focus/unfocus signals to scroller interface
In case of scrollable entry, send focus/unfocus signals to scroller
interface edje.
2016-02-26 20:00:12 +05:30
Amitesh Singh 9032eb1c3c view list: free style in base destructor.
typecast const char * to void * and pass ptr to free() since it doesn't modify the value pointed to,
either conceptually or in practice, it merely looks up the memory block using the pointer and deallocates it.

@fix
2016-02-26 19:41:19 +05:30
Hermet Park 13f5ea6c5f genlist: fix a typo. 2016-02-26 21:50:19 +09:00
Larry 35cef36868 elm_web: define elm_web_zoom_mode in eolian file elm_web.eo 2016-02-25 23:16:09 -03:00
Larry 010c06f5a6 elm_toolbar define elm_toolbar_item_state in elm toolbar eolian files 2016-02-25 23:16:09 -03:00
Larry 6d9293cbeb elm_thumb_animation: moved Elm_Thumb_Animation_Settings to elm_thumb.eo 2016-02-25 23:16:09 -03:00
Larry dc8f73fee2 moved eolian undefined enums to elm_systray.eo and elm_slider.eo 2016-02-25 23:16:09 -03:00
Larry f53ac2533f elm_prefs: move Elm Prefs_Reset_Mode to elm_general.eo 2016-02-25 23:16:09 -03:00
Mike Blumenkrantz b0695e712c list: always apply new size hints for subobjects
if a content's size hints change, reapplying the list's size hints
to override existing hints is required to prevent some list items from
having a bad layout

@fix
2016-02-25 18:03:18 -05:00
Mike Blumenkrantz b7e27caae8 list: do not constantly reset scr_min flags
these get set during mode_set and when directly changing the flags.
at no other time should they be changed

@fix
2016-02-25 18:03:18 -05:00
Jaehwan Kim 364c8c65e2 panes: add the style to fold by clicking
Some area that is split by this style panes can be folded by clicking.
The styles are "left-fold", "right-fold", "up-fold", "down-fold".

@feature
2016-02-25 13:51:20 +09:00
Mike Blumenkrantz db1102d98e hoversel: set hover layer to layer of hover_parent
ref T3203

@fix
2016-02-24 15:02:11 -05:00
Jee-Yong Um d81757b873 examples: fix evas3d example's "compile with" comment correctly
Summary: In "compile with" comment, filenames are different from the actual ones.

Reviewers: cedric, Oleksander, Hermet

Reviewed By: Oleksander, Hermet

Differential Revision: https://phab.enlightenment.org/D3722
2016-02-23 20:49:33 +09:00
Jee-Yong Um 7908a9a57c genlist: focus out by pressing "up" key when no item is selected
Summary:
move focus out of genlist by pressing "up" key when no item
is selected.

Test Plan: elementary_test -to fileselector

Reviewers: SanghyeonLee, cedric, Jaehyun_Cho, Hermet

Reviewed By: Hermet

Subscribers: Hermet

Differential Revision: https://phab.enlightenment.org/D3721
2016-02-23 20:46:35 +09:00
taehyub adc17dfb97 fix the wrong operation of mirrored set
Summary:
fix the wrong operation of mirrored set.
when mirrored set is applied, notify change the theme using mirrored flag.
however, it is unnecessary operation.

@fix

Reviewers: Hermet, kimcinoo

Reviewed By: kimcinoo

Differential Revision: https://phab.enlightenment.org/D3700
2016-02-23 20:44:24 +09:00
Subodh Kumar 12480dcc6f Elm entry: No use of top object if not editable.
Summary: No use of top object if not editable.

Reviewers: cedric, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D3719
2016-02-23 20:33:24 +09:00
Minkyu Kang b08c67580e elm_image: fix wrong API call for scaling
Summary: Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>

Reviewers: cedric, Hermet

Reviewed By: Hermet

Subscribers: seoz

Differential Revision: https://phab.enlightenment.org/D3724
2016-02-23 20:28:21 +09:00
Vitor Sousa 76c45e2b2c elm widget: move some types used in elm_widget.eo to Eolian files
Move declarations of types used in elm_widget.eo to elm_general.eot and
elm_widget.eo.
Give them a Eolian name and use it instead of the old ones.

Correct the type name of some other types used as method parameters, by
using the Eolian names instead of legacy/generated names.

Reorganize the positions of elm_widget.eo.h inclusion and
of callback type declarations in elm_widget.h.
This make a clearer distinction of the types in elm_widget.h that are
still required in elm_widget.eo.h.
2016-02-22 10:38:26 -03:00
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