Commit Graph

12064 Commits

Author SHA1 Message Date
Daniel Juyung Seo 1768dd6436 example/performance: Remove unused variable. 2015-09-16 01:06:38 +09:00
Daniel Juyung Seo 6067c0a910 focus: Add elm_focus_item.h to make header include order correctly.
This fixes the cpp example compile error which was triggered by the commit 431492e.
2015-09-16 01:05:13 +09:00
Daniel Juyung Seo 1207003aee focus: Fix typo in commit 431492e. 2015-09-16 01:02:32 +09:00
Jaehwan Kim 0dedfc9248 focus: add the APIs to set the focus next about item.
Add elm_object_focus_next_item_set/get,
elm_object_item_focus_next_object_set/get and
elm_object_item_focus_next_item_set/get.

If the item and object is set at the same time,
the item is preference to object when the focus moves.

This feature is implemented about gengrid.
It will be implemented about ohter widgets.

@feature
2015-09-15 19:53:23 +09:00
jiin.moon fcb26c4b91 elm_image : call the evas_object_image_load_error_get() before calling the image_preload api
Summary:
If file path is wrong, don't need to call the image preload api.

And the result of evas_object_image_load_error_get api is not correct
after calling the image_preload api.
I will check more about it.

Reviewers: cedric, Hermet, jpeg

Reviewed By: jpeg

Differential Revision: https://phab.enlightenment.org/D3039
2015-09-15 10:25:31 +02:00
Carsten Haitzler a13e2759e9 fix elm performance example to init elm properly and not do engine stuff
cleanup of examples
2015-09-15 16:25:20 +09:00
Woochan Lee 8c30b69453 multibuttonentry: Fix box item append rtl when mirror enabled.
Summary:
MBE item append logic changed when mirrored set as true.

The item appended from left side of internal box to right side, even mirrored set as true.

@fix

Test Plan:
Precondition : elm_widget_mirrored_set as true.

Run mbe sample in elementary_test.
Add item.

Reviewers: cedric, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D2975
2015-09-14 20:53:34 +09:00
Carsten Haitzler f9b154c5ed elm scroller - improve thumbscroll smoothness even more
this does even more smoothing of scrolling follow on from
939d8ef4c3c48120046560814db63858175a2d12
2015-09-14 14:45:19 +09:00
Carsten Haitzler 915ba802be elm toolbar 0 size items fix if icon not found
this fixes a bug with horizontal style toolbar items and toolbar code
itself simply emitting the wrong signals that causes 0 height items.
this fixes T2710

@fix
2015-09-12 17:16:41 +09:00
Carsten Haitzler 7a58d15e41 elm config - fix labels in config ui for smooth time window 2015-09-12 12:45:25 +09:00
Carsten Haitzler 33e55d512d elm - thumbscroll finger scrolling - make it far smoother
smooth out scrolling and simplifyconfig as well as expose config apis
to configure it all and elm config ui sliders and checkboxes for
related config values etc. etc. - with this it is much smoother if you
use the default values, though latency is a bit worse. it looks nicer
though.

@feature
2015-09-11 23:24:51 +09:00
Carsten Haitzler 9d5b9872fb elm - when focus goes back in to a window dont have scrollers jump
there is an annoyance in elm that when focus goes back toa window it
restores focus to the last focused widget. if that widget happens to
be invisible in a scroller then this is really annoying as the
scrollers reset. this makes restoring optional. only if there is a
hilight object AND it's visible - then restore, otherwise don't and
revert focus to the window itself again.

@fix
2015-09-10 20:04:23 +09:00
Carsten Haitzler be2ae5f410 elm autofocus show - fix cases where focus is inside containers
i found that the focus doesnt auto-show when focusing things inside
scrollers and so on. i had to add more points to trigger auto show.
this fixes that

@fix
2015-09-10 18:29:24 +09:00
woochan lee c3a93cc440 calendar: fix signal process timing issue when view update.
Summary:
When the calendar view updated(Press next button to activated next month),
a lot of signals process(signal emitted) to calendar edc.

The signals which related with view update, should process in same loop.
If not, the view looks weird.

To ensure signals process same time, i called "edje_object_message_signal_process" after layout sizing eval called.

@fix

Reviewers: Hermet, cedric, woohyun

Subscribers: id213sin

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-09-09 07:23:24 +02:00
Carsten Haitzler 1848f59982 elm theme - make sure key sounds are on input channel for muting config
@fix
2015-09-09 11:04:49 +09:00
ChunEon Park 204fb1ae00 index: rename elm_index_priority_set to elm_index_standard_priority_set
this change is also for consistency with elm_toolbar_standard_priority_set
conceptually the priority meaning here is same.
2015-09-08 14:50:53 +09:00
Mike Blumenkrantz 2198490c61 win: fix FAKE window geometry updating + resize object adding
users of this will want the win to automatically match the geometry
of the ee in all cases

fix T2692
2015-09-07 13:06:25 -04:00
ChunEon Park 72d214a21f hoversel: rename api scroll_enabled_set to scrollable_set
modify api for consistency.
scrollable_set is more closed to other similar apis.
2015-09-07 20:41:34 +09:00
Boris Faure c53106db27 update mailmap 2015-09-05 13:55:22 +02:00
Stefan Schmidt 52755c7874 build: ensure we do not fail clean if check-results.xml does not exist
If we did not run make check this file would not exist and a clean would
fail over it. Using -f ignores this case.
2015-09-04 14:59:08 +02:00
Hosang Kim a501148a2f elm_test: Add test case for page scroller
Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
2015-09-04 14:00:11 +09:00
jiin.moon b7310bdb87 elm_image: fix image preload issue
Summary:
There are two issues about preload
1. elm_image_preload_disabled_set api does not work.
    Always returned before call the evas_object_image_preload()

2. image preload does not work at file_set time.
    If image's show property is not TRUE, do not call evas_object_image_preload() at file_set time.
    But there is no action when image's show property will be TRUE after call the file_set api.

@fix

Reviewers: Hermet, jpeg

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

Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
2015-09-04 13:51:58 +09:00
Lukasz Stanislawski d75bc6d900 elm_web2: fix build break & warnings after migration to eo callbacks. 2015-09-03 10:29:13 +02:00
Davide Andreoli 5b1ffeac94 Label test: split Slide and Ellipsis in two separate tests
this reveal the ellipsis + markup bug as explained in T2709
2015-09-02 21:51:46 +02:00
Davide Andreoli 5c60ca8555 Label: add support for all the fancy tags already provided for entry
Comes with a simple test

@feature

NOTE FOR THEMERS: you must update your theme to support this!
2015-09-02 20:36:52 +02:00
Yakov Goldberg 265a7a1ccd FileSelector Entry: fix behaviour for events
Fix behaviour for changed, activated, press events.
Forwarders must be set on entry's original events,
so they will call corresponding fileselector entry's callbacks.

@fix
2015-09-02 18:49:06 +03:00
Carsten Haitzler 19e8e05f8b elm map - fix crash on badly handled zoom timeout callback
if sd->obj is null then the a zoom timeout has a null data param and
that means we cant get sd data... so dont set up a zoom timeout unless
sd->obj is valid.

@fix
2015-09-02 19:34:06 +09:00
Carsten Haitzler cf3e5af90e elm map - fix module load craziness loading all elm modules
so elm map loads every module it can find in a recursive dir walk of
all elm modules. this si nuts. this can accidentallly load OLD modules
and thats a recipe for disaster. so check module arch dir aagainst
module arch string to load the right version and be quiet if module
doesn thave the right symbols - it's the wrong module type.

@fix
2015-09-02 19:20:04 +09:00
Davide Andreoli b20526c32e Genlist: add homogeneos mode to the tree test
show tree+homogeneous brackage, as explained in T2708
2015-09-01 20:08:42 +02:00
Davide Andreoli a7bcbeb1b4 Genlist test: cosmetics
* add separator comments between different tests
* keep function definitions on 2 lines
2015-09-01 19:34:43 +02:00
Daniel Zaoui 33d21ca560 FileSelector: fix behaviour when the file is chosen
The wrong event was sent on the Ok file selector button when the file is
chosen, leading to not update the upper layer.

@fix
2015-09-01 11:16:58 +03:00
Amitesh Singh 7caa6d6830 genlist: fix indentation & remove whitespaces 2015-09-01 08:45:38 +05:30
Jaehwan Kim 290e0a4ce5 gengrid: fix crash issue.
Sometimes the focused_item can be null.

@fix
2015-08-31 16:21:57 +09:00
WooHyun Jung 04aa8dc109 naviframe: fix a focus issue when deleting the first item
Summary:
When the first item is deleted, focus should not be reverted back
to an object in the content of the item.

@fix
2015-08-31 16:15:55 +09:00
Hosang Kim 74bd15f5bf scroller: fix page calculation logic when looping is enabled.
Test Plan:
1. elementary_test -> scroller
           2. Lopping in x axis
           3. click prev page or next page

Reviewers: SanghyeonLee, singh.amitesh, Hermet, seoz, cedric, raster, jaehwan

Differential Revision: https://phab.enlightenment.org/D2982
2015-08-28 21:12:30 +09:00
Umesh Tanwar 01117dee6c Scroller: Scroll indicatin arrows should be enable if loop is set.
Summary:
When loop is set, the arrows on horizontal/vertical bar
should not be disabled. These arrows show the scrollable direction,
if enabled. Disabled arrows show no more scroll in that direction.

Signed-off-by: Umesh Tanwar <umesh.tanwar@samsung.com>

Merge branch 'master' of http://git.enlightenment.org/core/elementary

Test Plan: elementary_test -> scroller -> loop in x axis.

Reviewers: raster, Hermet, singh.amitesh

Subscribers: sachin.dev, SanghyeonLee, eagleeye

Differential Revision: https://phab.enlightenment.org/D2953
2015-08-28 20:40:43 +09:00
Andrii Kroitor a15f83cc49 elm_genlist: fix sub-items prepending
Summary:
fix sub-item position after prepending if parent item has no other
sub-items

Test Plan:
1. add genlist
2. add parent item
3. compare results of following actions:
 case 1: append sub-item "child1" and then prepend sub-item "child2"
 case 2: prepend sub-item "child2" and then append sub-item "child1"

ExR results are the same
CuR in case 2 sub-items are placed in wrong position

Reviewers: cedric, raster, reutskiy.v.v, SanghyeonLee, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D2965
2015-08-28 20:18:23 +09:00
Vaibhav Gupta 55b361bcc4 Genlist: Dont select first item if its DISPLAY_ONLY
Summary:
Updated genlist to select first item which is not in
DISPLAY_ONLY mode

@fix

Signed-off-by: Vaibhav Gupta <g.vaibhav1@samsung.com>

Test Plan:
Following is the test to verify:
1. Create a genlist
2. Make 1st item as ELM_OBJECT_SELECT_MODE_DISPLAY_ONLY
3. Now bring the focus to genlist by key down
4. It should bring focus on 2nd item and not 1st.

Reviewers: raster, Hermet, SanghyeonLee, singh.amitesh

Subscribers: sachin.dev

Differential Revision: https://phab.enlightenment.org/D2957
2015-08-28 20:03:35 +09:00
Shilpa Singh 6ec080c400 Elc_Multibuttonentry: Item resize issue on text set
Summary:
When text is set on a multibuttonentry item, item does not resize
again based on text.

Signed-off By: Kumar Navneet <k.navneet@samsung.com>

@fix

Test Plan: Set long text to multibuttonentry item, after item is created and shown.

Reviewers: woohyun, CHAN, Hermet

Reviewed By: CHAN, Hermet

Subscribers: navnbeet

Differential Revision: https://phab.enlightenment.org/D2967
2015-08-28 19:52:17 +09:00
woochan lee 876506714f multibuttonentry: Fix mbe clicked signal is not work.
Summary:
MBE clicked callback doesn't called when user click label, padding area of MBE.
Because of the MBE edc only has the SWALLOW part for internal box. never emit the signal for clicked.
So i added RECT part for bg of mbe.

@fix

Test Plan: Run elementary_test -> execute multibuttonentry sample.

Reviewers: seoz, woohyun, cedric, Hermet

Reviewed By: Hermet

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2821
2015-08-28 19:40:27 +09:00
Shilpa Singh 6dc7d1b55f Elc_Naviframe: When push is in progress, block pop until push is complete.
Summary:
When push is in progress, block popping until
push is complete to allow animation to complete.

@fix

Reviewers: Hermet

Subscribers: subodh6129, shashank0990

Differential Revision: https://phab.enlightenment.org/D2966
2015-08-28 18:28:20 +09:00
Hosang Kim b4f525e140 Revert "Elm_Interface_Scrollable: Improvement in looping behavior"
Summary:
This reverts commit bba4c217f2ce4f032fca6298cc8b2fc6ff3d7c19.

"x and y position variable assumes values ranging from min to max " is right.
but in looping behavior, x and y are able to have value bigger than max or smaller than min.

@fix

Test Plan:
1. elementary_test -> scroller
           2. on Loop in X axis
           3. scrolling page to left.
           4. page is moved last page directly.

Reviewers: SanghyeonLee, tanwar.umesh07, raster, cedric, jaehwan, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D2977
2015-08-28 18:08:15 +09:00
Amitesh Singh 5483d064c7 test_gengrid: add item_select_on_focus_disabled option in gengrid2 test 2015-08-28 13:59:52 +05:30
Vivek Ellur 870565374a elementary: Port evas object smart callbacks to use eo event callbacks
Summary:
Changed evas_object_smart_callback_add APIs to use eo_event_callback_add API

Signed-off-by: Vivek Ellur <vivek.ellur@samsung.com>

Reviewers: cedric, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D2995
2015-08-28 16:30:27 +09:00
Vivek Ellur f75903f81d elm_colorclass: Changed evas object smart callbacks to use eo event callbacks
Summary:
Replaced evas_object_smart_callback_add with eo_event_callback_add api

Signed-off-by: Vivek Ellur <vivek.ellur@samsung.com>

Reviewers: cedric, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D2998
2015-08-28 16:16:37 +09:00
Vivek Ellur a26270b439 elm_conform: Port evas smart callbacks to eo
Summary:
Changed evas_object_smart_callback_add functions to eo_event_callback_add functions

Signed-off-by: Vivek Ellur <vivek.ellur@samsung.com>

Reviewers: cedric, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D2996
2015-08-28 16:14:31 +09:00
Vivek Ellur a75d307b01 elementary: Port evas smart callbacks to Eo callbacks
Summary:
Changed evas_object_smart_callback_add to eo_event_callback_add functions

Signed-off-by: Vivek Ellur <vivek.ellur@samsung.com>

Reviewers: cedric, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D2997
2015-08-28 15:58:54 +09:00
Jee-Yong Um 44db6e1c38 elm_hover: Set min size hint for size and offset spacer before moving or resizing hover
Summary:
Size or offset spacer make hover be able to move its swallows to right positions.
In elm_layout_sizing_eval() for hover, moving and resizing spacers are done
after moving and resizing hover.
It causes in hover's move or resize callback, geometry can not be got correctly.

Reviewers: SanghyeonLee, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D2999
2015-08-28 15:56:34 +09:00
woochan lee 08cb9b61fd multibuttonentry: Use elm focus for items instead of evas focus.
Summary:
Item layout will be added in elm focus tree.
evas_object_focus_set is no meaning here for MBE operation.
So i changed focus API from "evas_object_focus_set()" to "elm_object_focus_set()"

elm_object_focus_allow_set() already called in item adding function.

@fix

Reviewers: Hermet, cedric

Differential Revision: https://phab.enlightenment.org/D2993
2015-08-28 15:51:16 +09:00
Vaibhav Gupta 261b0b5328 Gengrid: Fix wrong focus movement in _item_single_select_down
Summary:
The focus movement is wrong when down key press
is done of first item of last row, intsead of
taking the focus out, it moves the focus to next
item (right).

@fix

Signed-off-by: Vaibhav Gupta <g.vaibhav1@samsung.com>

Test Plan:
1. Launch elementary_test -> Gengrid 2 sample
2. Add a few items such that there are 2 items in last row
3. Do a down key press on 1st item of last row
4. Observe focus movement

Reviewers: raster, Hermet, SanghyeonLee, singh.amitesh

Subscribers: sachin.dev

Differential Revision: https://phab.enlightenment.org/D3001
2015-08-28 12:04:49 +05:30