platform/upstream/efl.git
9 years agofix typos in APIs doc
Amitesh Singh [Mon, 28 Sep 2015 09:36:21 +0000 (15:06 +0530)]
fix typos in APIs doc

9 years agogenlist: refractor item focus update code
Amitesh Singh [Mon, 28 Sep 2015 08:04:02 +0000 (13:34 +0530)]
genlist: refractor item focus update code

Add duplicate code into a new local function _elm_genlist_item_focus_update

9 years agoRevert "index: fix index object got a wrong min value."
Woochan Lee [Mon, 21 Sep 2015 23:52:05 +0000 (01:52 +0200)]
Revert "index: fix index object got a wrong min value."

Summary:
I need to think more about item omitted case, horizontal case as well.
Now i'm working on this. It may need to refactoring internal logic.

Please revert this commit it break view when index item omitted.

@fix

This reverts commit 560338c5c31bda8912938074cb736eabdb9f1f31.

Reviewers: Hermet, cedric, woohyun

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoflipselector.edc: array size +1 to prevent loosing last character.
Woochan Lee [Mon, 21 Sep 2015 23:51:08 +0000 (01:51 +0200)]
flipselector.edc: array size +1 to prevent loosing last character.

Summary:
Flipselector lose last character when 50 characters showing case.

This defined value will using in snprintf, fetch_str(_edje_embryo_fn_fetch_str).
As you already know, we have to give the location in array for '\n'.

Test Plan: Give the 50 characters for flipselector text.

Reviewers: Hermet, cedric

Reviewed By: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agomultibuttonentry: fix MBE item clear, item delete logic error.
Woochan Lee [Mon, 21 Sep 2015 23:49:45 +0000 (01:49 +0200)]
multibuttonentry: fix MBE item clear, item delete logic error.

Summary:
elm_multibuttonentry_clear API not worked well.
It deleted only odd items. Because of the sd->items has been modified inside elm_widget_item_del().

Then we don't have to search target item inside of _item_del().

@fix

Test Plan:
Add MBE items.
Call elm_multibuttonentry_clear API.
Check the bug state.

Reviewers: Hermet, cedric

Reviewed By: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoelm_calendar: weekdays do not get translated when language is dynamically changed...
Shilpa Singh [Mon, 21 Sep 2015 23:40:08 +0000 (01:40 +0200)]
elm_calendar: weekdays do not get translated when language is dynamically changed issue fix

Summary:
When calendar widget is already created and if we change language,
weekdays do not get translated because weekday string is statically
stored only during create.
Update the weekdays again when object is changed.

Test Plan:
1. Create and show calendar widget
2. Change the language
Weekdays do not get translated

Reviewers: cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agofocus: change the focus don't stay to scroller.
Jaehwan Kim [Fri, 25 Sep 2015 06:34:34 +0000 (15:34 +0900)]
focus: change the focus don't stay to scroller.

The focus go to scroller only when it needs.
If the focusable object isn't in the current viewport of the scroller,
the scroller should have the focus.
If not, the focus move to the focusable object in the scroller.

@feature.

9 years agofocus: add the focus_direction feature about item.
Jaehwan Kim [Fri, 25 Sep 2015 06:24:53 +0000 (15:24 +0900)]
focus: add the focus_direction feature about item.

When the focus is moved, it uses focus_direction instead of
focus_origin.
It can get the focus by using the geometry of previous focused object or item

@feature

9 years agotoolbar_item: use actual doc refs
Daniel Kolesa [Thu, 24 Sep 2015 13:22:22 +0000 (14:22 +0100)]
toolbar_item: use actual doc refs

9 years agospinner: Fix internal logic about special value show instead of number.
Woochan Lee [Thu, 24 Sep 2015 08:06:17 +0000 (17:06 +0900)]
spinner: Fix internal logic about special value show instead of number.

Summary:
If there is a special value for current spinner value, just jump to apply and show up the special value for entry text.
There is no need to check format.

@fix

Test Plan:
Add special value for each spinner value.
Spinner editable set as true.
Click the button layout for activated spinner entry.
Check the entry text.

Reviewers: cedric, Hermet

Reviewed By: Hermet

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

9 years ago[Genlist] Added correct container_get callback for filter iterator.
Shashank Pandey [Thu, 24 Sep 2015 07:42:37 +0000 (16:42 +0900)]
[Genlist] Added correct container_get callback for filter iterator.

Summary: Warning fixed: Container_get mechanism was wrong. Fixed it.

Test Plan: elementary_test => Genlist => Genlist filter

Reviewers: singh.amitesh, cedric, shilpasingh, SanghyeonLee

Subscribers: shilpasingh

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

9 years agocalendar: weekday update when first day of week changed.
woochan lee [Wed, 23 Sep 2015 22:24:50 +0000 (15:24 -0700)]
calendar: weekday update when first day of week changed.

Summary:
When user call elm_calendar_first_day_of_week_set() to change first day of week.
the marked day has to update.
But, it's not updated, because of internal logic error.
I fixed internal logic for update specific day mark.

@fix

Test Plan:
Called elm_calendar_mark_add()
Then called  elm_calendar_first_day_of_week_set(
Check the mark in not updated.

Reviewers: Hermet, cedric

Reviewed By: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoelc_popup: ported eo_event callbacks to use eo_event arrays
Vivek Ellur [Wed, 23 Sep 2015 22:23:46 +0000 (15:23 -0700)]
elc_popup: ported eo_event callbacks to use eo_event arrays

Summary:
Changed eo_event_callback_add to eo_event_callback_array_add function

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

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoelc_player: ported eo_event callbacks to use eo_event arrays
Vivek Ellur [Wed, 23 Sep 2015 22:23:11 +0000 (15:23 -0700)]
elc_player: ported eo_event callbacks to use eo_event arrays

Summary:
Changed eo_event_callback_add to use eo_event_callback_array_add

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

Reviewed By: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoelc_multibuttonentry: ported eo_event callbacks to use eo_event callback array
Vivek Ellur [Wed, 23 Sep 2015 22:21:46 +0000 (15:21 -0700)]
elc_multibuttonentry: ported eo_event callbacks to use eo_event callback array

Summary:
Changed eo_event_callback_add to use eo_event_callback_array_add

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

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoelm_spinner: ported eo_event_callbacks to use eo_event arrays
Vivek Ellur [Wed, 23 Sep 2015 22:03:48 +0000 (15:03 -0700)]
elm_spinner: ported eo_event_callbacks to use eo_event arrays

Summary:
Ported eo_event_callback_add to use eo_event_callback_array_add

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

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agospinner: delete longpress timer when scroller enabled.
woochan lee [Wed, 23 Sep 2015 22:02:21 +0000 (15:02 -0700)]
spinner: delete longpress timer when scroller enabled.

Summary:
If there is a spinner on scroller.
User can scrolling and spinner button longpress at the same time.

Prevent this weird action, delete longpress timer when scroller enabled.

@feature

Reviewers: Hermet, cedric

Reviewed By: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agotest_genlist: fix compilation warnings
Amitesh Singh [Wed, 23 Sep 2015 16:51:39 +0000 (22:21 +0530)]
test_genlist: fix compilation warnings

9 years agoElm_genlist: Add Item filtering support
Shashank Pandey [Wed, 23 Sep 2015 11:50:05 +0000 (20:50 +0900)]
Elm_genlist: Add Item filtering support

Summary:
Add Filtering support in genlist based on filter function set by application.

@feature

Test Plan: Genlist filter sample added in elementary_test

Reviewers: raster, shilpasingh, cedric, SanghyeonLee

Subscribers: SanghyeonLee, divyesh, rajeshps, govi, prince.dubey, poornima.srinivasan

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

9 years agoelm_toolbar: fix elm_toolbar_select_mode_set API
Hosang Kim [Wed, 23 Sep 2015 07:20:45 +0000 (16:20 +0900)]
elm_toolbar: fix elm_toolbar_select_mode_set API

Summary: Item is unselected when I changed select mode "ELM_OBJECT_SELECT_MODE_DEFAULT" to "ELM_OBJECT_SELECT_MODE_ALWAYS".

Reviewers: Hermet, cedric, raster, seoz, woohyun

Reviewed By: woohyun

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

9 years agogengrid: rename function _elm_gengrid_item_focus_raise to _elm_gengrid_item_focus_update
Amitesh Singh [Wed, 23 Sep 2015 07:15:56 +0000 (12:45 +0530)]
gengrid: rename function _elm_gengrid_item_focus_raise to _elm_gengrid_item_focus_update

In function _elm_gengrid_item_focus_raise, we are doing more than just focus_raise.
Rename it to something more meaningful.

9 years agogengrid: move item focus related code to internal _elm_gengrid_item_focused()
Amitesh Singh [Wed, 23 Sep 2015 07:06:15 +0000 (12:36 +0530)]
gengrid: move item focus related code to internal _elm_gengrid_item_focused()

9 years agogengrid: fix duplicate edje signal (elm,state,focused) to item on focus
Amitesh Singh [Wed, 23 Sep 2015 06:50:05 +0000 (12:20 +0530)]
gengrid: fix duplicate edje signal (elm,state,focused) to item on focus

@fix

9 years agoelm_conformant: display mode set fix
Shilpa Singh [Wed, 23 Sep 2015 00:51:04 +0000 (09:51 +0900)]
elm_conformant: display mode set fix

Summary:
Set the display mode to none only when both clipboard and keypad is
hidden.

Signed-Off By: Shashank Pandey <shashank.p@samsung.com>
Signed-Off By: Shilpa Singh <shilpa.singh@samsung.com>
@fix

Test Plan: Keypad opened, Clipboard opened, close clipboard

Reviewers: woohyun, CHAN, Hermet

Reviewed By: Hermet

Subscribers: CHAN, Jaehyun, shashank0990

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

9 years ago[elm_win] Possible memory leak Fixed.
Prince Kumar Dubey [Wed, 23 Sep 2015 00:40:31 +0000 (09:40 +0900)]
[elm_win] Possible memory leak Fixed.

Summary: Memory assigned to variable "sd->wm_rot.rots" is not freed on window deletion.

Test Plan: Valgrind catch this memory leak.

Reviewers: raster, cedric, Hermet

Reviewed By: Hermet

Subscribers: govi, rajeshps

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

9 years agoelm - fix focus set on focus in on window due to previous focus fix
Carsten Haitzler (Rasterman) [Mon, 21 Sep 2015 07:13:41 +0000 (16:13 +0900)]
elm - fix focus set on focus in on window due to previous focus fix

this fix is a fix due to the fix in
933dfca5bcda4943ecdd81ab09dc34989234f7f3 whihc fixed other issues. now
focus is properly set where it should be. this affected rage

@fix

9 years ago[spinner] Notify when value is edited directly
Andy Williams [Sun, 20 Sep 2015 10:47:23 +0000 (11:47 +0100)]
[spinner] Notify when value is edited directly

Previously an edit would trigger internal save but not notify
until the up/down button was tapped.
Now notify when value applied (unfocus). @fix

9 years agofix typos in APIs doc
Amitesh Singh [Sat, 19 Sep 2015 03:43:09 +0000 (09:13 +0530)]
fix typos in APIs doc

9 years agoEo: move Focus Direction to elm_general.eot
Daniel Zaoui [Fri, 18 Sep 2015 09:38:04 +0000 (12:38 +0300)]
Eo: move Focus Direction to elm_general.eot

9 years agotest_dnd: transfer text without markup when drag label
Thiep Ha [Fri, 18 Sep 2015 08:38:39 +0000 (11:38 +0300)]
test_dnd: transfer text without markup when drag label

Summary:
In Types Dnd test, if we drag from label to entry, the text is inserted
with "<br/>". The reason is that we drag with type ELM_SEL_FORMAT_TEXT
but the transferred data is markup.
This patch fixes it by changing the transferred data to text.

@fix

Reviewers: JackDanielZ

Subscribers: seoz

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

9 years agodnd/x11: correct coordinates in pos callback
Thiep Ha [Fri, 18 Sep 2015 08:30:23 +0000 (11:30 +0300)]
dnd/x11: correct coordinates in pos callback

Summary:
The x, y coordinates in pos callback should be relative to
the top-left of the object.
This patch corrects the x,y coordinates and adds poscb to elementary test
to clearly show the bug case.

Test:
      Run Genlist Dnd Dflt Anim with the change in this patch.
      Drag an item to other genlist and see the printed out item, x, y.

@fix

Reviewers: JackDanielZ

Subscribers: seoz

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

9 years agofocus: remove checking the focus origin in highlight job.
Jaehwan Kim [Fri, 18 Sep 2015 07:49:14 +0000 (16:49 +0900)]
focus: remove checking the focus origin in highlight job.

In some case, it can take misoperation.

@fix

9 years agogengrid: remove EINA_UNUSED
Jaehwan Kim [Wed, 16 Sep 2015 09:46:10 +0000 (18:46 +0900)]
gengrid: remove EINA_UNUSED

9 years agoelm_hoversel: add support elm_object_item_part_text_set()
Jee-Yong Um [Wed, 16 Sep 2015 01:44:45 +0000 (10:44 +0900)]
elm_hoversel: add support elm_object_item_part_text_set()

Summary:
There was override for elm_object_item_part_text_get() only.
This patch implements elm_object_item_part_text_set().

Reviewers: Hermet, cedric

Subscribers: Hermet

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

9 years agoelc_multibuttonentry: Input panel should be controlled only if
Shilpa Singh [Wed, 16 Sep 2015 01:25:18 +0000 (10:25 +0900)]
elc_multibuttonentry: Input panel should be controlled only if
multibuttonentry is editable

Summary:
Input panel should be controlled only if Multibuttonentry is editable, else causes issues in applications controlling keypad by themselves

@fix

Reviewers: CHAN, Hermet

Reviewed By: Hermet

Subscribers: navnbeet

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

9 years agoslider: slider should be focused, when slider is handled with mouse or touch event.
Hosang Kim [Wed, 16 Sep 2015 01:10:32 +0000 (10:10 +0900)]
slider: slider should be focused, when slider is handled with mouse or touch event.

Summary: slider is not focused after slider is dragged.

Test Plan: elementary_test -> slider

Reviewers: woohyun, seoz, smohanty, cedric, raster

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

9 years agobuild: fix header ordering so the library builds
Mike Blumenkrantz [Tue, 15 Sep 2015 18:38:37 +0000 (14:38 -0400)]
build: fix header ordering so the library builds

please compile test before making commits.

ref 286ab4d7cf3ca794d88bd06ec027bb2df6401f50
ref 431492ec497eeaa130f5c2da27ce7a4c7eefe7f9

9 years agoexample/performance: Remove unused variable.
Daniel Juyung Seo [Tue, 15 Sep 2015 16:06:38 +0000 (01:06 +0900)]
example/performance: Remove unused variable.

9 years agofocus: Add elm_focus_item.h to make header include order correctly.
Daniel Juyung Seo [Tue, 15 Sep 2015 16:03:22 +0000 (01:03 +0900)]
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.

9 years agofocus: Fix typo in commit 431492e.
Daniel Juyung Seo [Tue, 15 Sep 2015 16:02:32 +0000 (01:02 +0900)]
focus: Fix typo in commit 431492e.

9 years agofocus: add the APIs to set the focus next about item.
Jaehwan Kim [Tue, 15 Sep 2015 10:41:51 +0000 (19:41 +0900)]
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

9 years agoelm_image : call the evas_object_image_load_error_get() before calling the image_prel...
jiin.moon [Tue, 15 Sep 2015 08:25:31 +0000 (10:25 +0200)]
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

9 years agofix elm performance example to init elm properly and not do engine stuff
Carsten Haitzler (Rasterman) [Tue, 15 Sep 2015 07:25:20 +0000 (16:25 +0900)]
fix elm performance example to init elm properly and not do engine stuff

cleanup of examples

9 years agomultibuttonentry: Fix box item append rtl when mirror enabled.
Woochan Lee [Mon, 14 Sep 2015 11:53:34 +0000 (20:53 +0900)]
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

9 years agoelm scroller - improve thumbscroll smoothness even more
Carsten Haitzler (Rasterman) [Mon, 14 Sep 2015 05:45:19 +0000 (14:45 +0900)]
elm scroller - improve thumbscroll smoothness even more

this does even more smoothing of scrolling follow on from
939d8ef4c3c48120046560814db63858175a2d12

9 years agoelm toolbar 0 size items fix if icon not found
Carsten Haitzler (Rasterman) [Sat, 12 Sep 2015 08:16:41 +0000 (17:16 +0900)]
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

9 years agoelm config - fix labels in config ui for smooth time window
Carsten Haitzler (Rasterman) [Sat, 12 Sep 2015 03:45:25 +0000 (12:45 +0900)]
elm config - fix labels in config ui for smooth time window

9 years agoelm - thumbscroll finger scrolling - make it far smoother
Carsten Haitzler (Rasterman) [Fri, 11 Sep 2015 14:24:51 +0000 (23:24 +0900)]
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

9 years agoelm - when focus goes back in to a window dont have scrollers jump
Carsten Haitzler (Rasterman) [Thu, 10 Sep 2015 11:04:23 +0000 (20:04 +0900)]
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

9 years agoelm autofocus show - fix cases where focus is inside containers
Carsten Haitzler (Rasterman) [Thu, 10 Sep 2015 09:29:24 +0000 (18:29 +0900)]
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

9 years agocalendar: fix signal process timing issue when view update.
woochan lee [Tue, 8 Sep 2015 22:54:56 +0000 (00:54 +0200)]
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>
9 years agoelm theme - make sure key sounds are on input channel for muting config
Carsten Haitzler (Rasterman) [Wed, 9 Sep 2015 02:04:49 +0000 (11:04 +0900)]
elm theme - make sure key sounds are on input channel for muting config

@fix

9 years agoindex: rename elm_index_priority_set to elm_index_standard_priority_set
ChunEon Park [Tue, 8 Sep 2015 05:50:53 +0000 (14:50 +0900)]
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.

9 years agowin: fix FAKE window geometry updating + resize object adding
Mike Blumenkrantz [Mon, 7 Sep 2015 17:05:08 +0000 (13:05 -0400)]
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

9 years agohoversel: rename api scroll_enabled_set to scrollable_set
ChunEon Park [Mon, 7 Sep 2015 11:41:34 +0000 (20:41 +0900)]
hoversel: rename api scroll_enabled_set to scrollable_set

modify api for consistency.
scrollable_set is more closed to other similar apis.

9 years agoupdate mailmap
Boris Faure [Sat, 5 Sep 2015 11:55:22 +0000 (13:55 +0200)]
update mailmap

9 years agobuild: ensure we do not fail clean if check-results.xml does not exist
Stefan Schmidt [Fri, 4 Sep 2015 12:57:50 +0000 (14:57 +0200)]
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.

9 years agoelm_test: Add test case for page scroller
Hosang Kim [Wed, 2 Sep 2015 07:16:04 +0000 (16:16 +0900)]
elm_test: Add test case for page scroller

Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
9 years agoelm_image: fix image preload issue
jiin.moon [Fri, 4 Sep 2015 04:39:26 +0000 (13:39 +0900)]
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>
9 years agoelm_web2: fix build break & warnings after migration to eo callbacks.
Lukasz Stanislawski [Thu, 3 Sep 2015 08:28:40 +0000 (10:28 +0200)]
elm_web2: fix build break & warnings after migration to eo callbacks.

9 years agoLabel test: split Slide and Ellipsis in two separate tests
Dave Andreoli [Wed, 2 Sep 2015 19:51:46 +0000 (21:51 +0200)]
Label test: split Slide and Ellipsis in two separate tests

this reveal the ellipsis + markup bug as explained in T2709

9 years agoLabel: add support for all the fancy tags already provided for entry
Dave Andreoli [Wed, 2 Sep 2015 18:35:22 +0000 (20:35 +0200)]
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!

9 years agoFileSelector Entry: fix behaviour for events
Yakov Goldberg [Wed, 2 Sep 2015 15:41:04 +0000 (18:41 +0300)]
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

9 years agoelm map - fix crash on badly handled zoom timeout callback
Carsten Haitzler (Rasterman) [Wed, 2 Sep 2015 10:34:06 +0000 (19:34 +0900)]
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

9 years agoelm map - fix module load craziness loading all elm modules
Carsten Haitzler (Rasterman) [Wed, 2 Sep 2015 10:20:04 +0000 (19:20 +0900)]
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

9 years agoGenlist: add homogeneos mode to the tree test
Dave Andreoli [Tue, 1 Sep 2015 18:08:42 +0000 (20:08 +0200)]
Genlist: add homogeneos mode to the tree test

show tree+homogeneous brackage, as explained in T2708

9 years agoGenlist test: cosmetics
Dave Andreoli [Tue, 1 Sep 2015 17:34:43 +0000 (19:34 +0200)]
Genlist test: cosmetics

* add separator comments between different tests
* keep function definitions on 2 lines

9 years agoFileSelector: fix behaviour when the file is chosen
Daniel Zaoui [Tue, 1 Sep 2015 08:16:58 +0000 (11:16 +0300)]
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

9 years agogenlist: fix indentation & remove whitespaces
Amitesh Singh [Tue, 1 Sep 2015 03:15:38 +0000 (08:45 +0530)]
genlist: fix indentation & remove whitespaces

9 years agogengrid: fix crash issue.
Jaehwan Kim [Mon, 31 Aug 2015 07:21:26 +0000 (16:21 +0900)]
gengrid: fix crash issue.

Sometimes the focused_item can be null.

@fix

9 years agonaviframe: fix a focus issue when deleting the first item
WooHyun Jung [Mon, 31 Aug 2015 07:15:55 +0000 (16:15 +0900)]
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

9 years agoscroller: fix page calculation logic when looping is enabled.
Hosang Kim [Fri, 28 Aug 2015 12:12:30 +0000 (21:12 +0900)]
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

9 years agoScroller: Scroll indicatin arrows should be enable if loop is set.
Umesh Tanwar [Fri, 28 Aug 2015 11:40:43 +0000 (20:40 +0900)]
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

9 years agoelm_genlist: fix sub-items prepending
Andrii Kroitor [Fri, 28 Aug 2015 11:18:23 +0000 (20:18 +0900)]
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

9 years agoGenlist: Dont select first item if its DISPLAY_ONLY
Vaibhav Gupta [Fri, 28 Aug 2015 11:03:35 +0000 (20:03 +0900)]
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

9 years agoElc_Multibuttonentry: Item resize issue on text set
Shilpa Singh [Fri, 28 Aug 2015 10:52:17 +0000 (19:52 +0900)]
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

9 years agomultibuttonentry: Fix mbe clicked signal is not work.
woochan lee [Fri, 28 Aug 2015 10:40:27 +0000 (19:40 +0900)]
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

9 years agoElc_Naviframe: When push is in progress, block pop until push is complete.
Shilpa Singh [Fri, 28 Aug 2015 09:28:19 +0000 (18:28 +0900)]
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

9 years agoRevert "Elm_Interface_Scrollable: Improvement in looping behavior"
Hosang Kim [Fri, 28 Aug 2015 09:08:14 +0000 (18:08 +0900)]
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

9 years agotest_gengrid: add item_select_on_focus_disabled option in gengrid2 test
Amitesh Singh [Fri, 28 Aug 2015 08:24:50 +0000 (13:54 +0530)]
test_gengrid: add item_select_on_focus_disabled option in gengrid2 test

9 years agoelementary: Port evas object smart callbacks to use eo event callbacks
Vivek Ellur [Fri, 28 Aug 2015 07:30:27 +0000 (16:30 +0900)]
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

9 years agoelm_colorclass: Changed evas object smart callbacks to use eo event callbacks
Vivek Ellur [Fri, 28 Aug 2015 07:16:37 +0000 (16:16 +0900)]
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

9 years agoelm_conform: Port evas smart callbacks to eo
Vivek Ellur [Fri, 28 Aug 2015 07:14:31 +0000 (16:14 +0900)]
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

9 years agoelementary: Port evas smart callbacks to Eo callbacks
Vivek Ellur [Fri, 28 Aug 2015 06:58:54 +0000 (15:58 +0900)]
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

9 years agoelm_hover: Set min size hint for size and offset spacer before moving or resizing...
Jee-Yong Um [Fri, 28 Aug 2015 06:56:34 +0000 (15:56 +0900)]
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

9 years agomultibuttonentry: Use elm focus for items instead of evas focus.
woochan lee [Fri, 28 Aug 2015 06:49:58 +0000 (15:49 +0900)]
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

9 years agoGengrid: Fix wrong focus movement in _item_single_select_down
Vaibhav Gupta [Fri, 28 Aug 2015 06:34:49 +0000 (12:04 +0530)]
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

9 years agogengrid: fix item looping in case of horizontal mode
Amitesh Singh [Fri, 28 Aug 2015 05:04:52 +0000 (10:34 +0530)]
gengrid: fix item looping in case of horizontal mode

This mistake is done in a8afaebf3109f1cb8e397e29

9 years agoelm win - fix to ensure smart calc is done before show
Carsten Haitzler (Rasterman) [Fri, 28 Aug 2015 03:20:36 +0000 (12:20 +0900)]
elm win - fix to ensure smart calc is done before show

@fix

9 years agoelm test EXPLODE! feature! explore widgets and their content!
Carsten Haitzler (Rasterman) [Thu, 27 Aug 2015 00:47:53 +0000 (09:47 +0900)]
elm test EXPLODE! feature! explore widgets and their content!

hit ctrl+middle mouse on something...

9 years agoGenlist: reset item tree expanded state when putting item in cache
Dave Andreoli [Thu, 27 Aug 2015 19:37:50 +0000 (21:37 +0200)]
Genlist: reset item tree expanded state when putting item in cache

Item expandend state need to be resetted (contracted) when the
item goes in the items cache, otherwise when the item will be reused
it will have unwanted state (expanded).

Quite visible in the "Genlist Tree and Decorate All Mode" test

@fix

9 years agoconfig: revert first_item_focus_on_first_focus_in to 0
Amitesh Singh [Thu, 27 Aug 2015 04:30:39 +0000 (10:00 +0530)]
config: revert first_item_focus_on_first_focus_in to 0

This fixes a behavioural change introduced in D1135.
Steps to reproduce:
1. elementary_test -> genlist/list/gengrid
2. scroll dragging the scroll-bar
3. an item nearest to viewport gets selected when you release the mouse button

Most of the time, we don't want item to be selected or focused on dragging
scroll-bar via mouse. Revert config flag to 0 to have old behaviour before D1135.

fixes: T2662
@fix

9 years agotoolbar: fix issue of focus not coming to item on mouse click
Amitesh Singh [Wed, 26 Aug 2015 17:00:02 +0000 (22:30 +0530)]
toolbar: fix issue of focus not coming to item on mouse click

resize object was not getting focused in case of mouse click.

Steps to reproduce:
1. elementary_test -to "toolbar focus".
2. set focus to toolbar item via mouse.
3. focus does not come to toolbar.

fixes T2697
@fix

9 years agogengrid: no need to loop in case of reorder mode is enabled
Amitesh Singh [Wed, 26 Aug 2015 15:13:39 +0000 (20:43 +0530)]
gengrid: no need to loop in case of reorder mode is enabled

There is no need to loop when reorder mode is enabled. This looks
ugly and nobody wants it. This fault was introduced in 7aaa5c8d0a4a5714b4f1bf79e

This patch also fixes following crash
   1. elementary_test -to "Gengrid 2".
   2. Enable all the options available.
   3. Do reorder of item via keys.
   4. Observe segv on reordering edge items.

@fix

9 years agoAdd missing documentation of DirectDraw rendering
Vincent Torri [Wed, 26 Aug 2015 14:19:46 +0000 (16:19 +0200)]
Add missing documentation of DirectDraw rendering

9 years agogengrid: fix item focus movement in case of horizontal mode
Amitesh Singh [Wed, 26 Aug 2015 10:05:47 +0000 (15:35 +0530)]
gengrid: fix item focus movement in case of horizontal mode

Steps to reproduce:
1. elementary -> gengrid focus
2. change mode to horizontal
3. set focus to one of item in 2nd column.
4. Press Left direction key
issue: focus moves out of gengrid.

@fix

9 years agoElm win: Fix according to the new behaviour of parent_set.
Tom Hacohen [Wed, 26 Aug 2015 09:48:16 +0000 (10:48 +0100)]
Elm win: Fix according to the new behaviour of parent_set.

This new behaviour was introduced in
9c78ee0bf4125c095e85f7fcf9921586cda64a52.

9 years agogengrid: add curly braces to avoid ambiguous 'if'
Amitesh Singh [Wed, 26 Aug 2015 09:04:58 +0000 (14:34 +0530)]
gengrid: add curly braces to avoid ambiguous 'if'

9 years agoelm_win: Initilize the variable 'preferred_rot' as a -1 before invoking _elm_win_xwin...
Seunghun Lee [Tue, 25 Aug 2015 11:41:18 +0000 (20:41 +0900)]
elm_win: Initilize the variable 'preferred_rot' as a -1 before invoking _elm_win_xwin_update() in _elm_win_finalize_internal().

Summary:
since the variable 'preferred_rot' is checked its validation in _elm_win_xwin_update(),
so, should be initialize it before invoking.

@fix

Reviewers: jypark, woohyun, Hermet

Reviewed By: Hermet

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

9 years agoprogressbar: fix memory leak
Hosang Kim [Tue, 25 Aug 2015 11:05:57 +0000 (20:05 +0900)]
progressbar: fix memory leak

Summary: when elm_progressbar_value_set is called, progress_status is always created.

Test Plan: elementary_test -> progressbar

Reviewers: woohyun, Hermet, cedric, raster

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