Commit Graph

12252 Commits

Author SHA1 Message Date
Amitesh Singh 93c4754808 fix typo in elm_map_overlay_group_members_get API doc 2015-09-28 15:22:21 +05:30
Amitesh Singh ccadf49b98 fix typos in APIs doc 2015-09-28 15:06:48 +05:30
Amitesh Singh 14e39cfd48 genlist: refractor item focus update code
Add duplicate code into a new local function _elm_genlist_item_focus_update
2015-09-28 13:34:56 +05:30
Woochan Lee af6fb9dc02 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>
2015-09-26 08:34:44 +02:00
Woochan Lee 8fa0d0059b 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>
2015-09-26 08:34:44 +02:00
Woochan Lee 59a14b4a81 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>
2015-09-26 08:34:44 +02:00
Shilpa Singh fe71ea324a 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>
2015-09-26 08:34:44 +02:00
Jaehwan Kim fd5b78b7da 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.
2015-09-25 15:45:03 +09:00
Jaehwan Kim 3265eb51cd 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
2015-09-25 15:42:45 +09:00
Daniel Kolesa afca611101 toolbar_item: use actual doc refs 2015-09-24 14:22:22 +01:00
Woochan Lee 932a52370e 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
2015-09-24 17:06:18 +09:00
Shashank Pandey fb4b8ec146 [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
2015-09-24 16:42:37 +09:00
woochan lee a80331c26c 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>
2015-09-23 15:30:18 -07:00
Vivek Ellur c73814da24 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>
2015-09-23 15:30:18 -07:00
Vivek Ellur c1b05df5a4 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>
2015-09-23 15:30:18 -07:00
Vivek Ellur 9f6821d161 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>
2015-09-23 15:30:18 -07:00
Vivek Ellur eedeedaf6e 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>
2015-09-23 15:30:18 -07:00
woochan lee 0819e80a3f 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>
2015-09-23 15:02:29 -07:00
Amitesh Singh 234cc584b4 test_genlist: fix compilation warnings 2015-09-23 22:21:39 +05:30
Shashank Pandey c4a558dd13 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
2015-09-23 20:50:05 +09:00
Hosang Kim bfff68bb45 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
2015-09-23 16:20:45 +09:00
Amitesh Singh 3a5f8759e8 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.
2015-09-23 12:46:24 +05:30
Amitesh Singh 91ce72b72a gengrid: move item focus related code to internal _elm_gengrid_item_focused() 2015-09-23 12:42:19 +05:30
Amitesh Singh b5a99fcf46 gengrid: fix duplicate edje signal (elm,state,focused) to item on focus
@fix
2015-09-23 12:22:21 +05:30
Shilpa Singh 4c271ad347 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
2015-09-23 09:51:04 +09:00
Prince Kumar Dubey b145c9c759 [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
2015-09-23 09:40:32 +09:00
Carsten Haitzler 97ead86a39 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
2015-09-21 16:13:41 +09:00
Andy Williams a45c1c802c [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
2015-09-20 11:47:39 +01:00
Amitesh Singh e96771e383 fix typos in APIs doc 2015-09-19 09:13:09 +05:30
Daniel Zaoui ef530149b6 Eo: move Focus Direction to elm_general.eot 2015-09-18 12:40:06 +03:00
Thiep Ha b2772fa5c1 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
2015-09-18 11:38:39 +03:00
Thiep Ha ea7caad9f4 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
2015-09-18 11:30:23 +03:00
Jaehwan Kim 69272b947f focus: remove checking the focus origin in highlight job.
In some case, it can take misoperation.

@fix
2015-09-18 16:50:13 +09:00
Jaehwan Kim 146d30b738 gengrid: remove EINA_UNUSED 2015-09-16 18:46:10 +09:00
Jee-Yong Um 540c001931 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
2015-09-16 10:44:45 +09:00
Shilpa Singh 644cfdf435 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
2015-09-16 10:25:18 +09:00
Hosang Kim 886fc9fd9e 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
2015-09-16 10:10:32 +09:00
Mike Blumenkrantz 0b1039c003 build: fix header ordering so the library builds
please compile test before making commits.

ref 286ab4d7cf3ca794d88bd06ec027bb2df6401f50
ref 431492ec497eeaa130f5c2da27ce7a4c7eefe7f9
2015-09-15 14:47:52 -04:00
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
Amitesh Singh 3e6351541f gengrid: fix item looping in case of horizontal mode
This mistake is done in a8afaebf3109f1cb8e397e29
2015-08-28 10:34:52 +05:30
Carsten Haitzler d0e081395f elm win - fix to ensure smart calc is done before show
@fix
2015-08-28 12:20:36 +09:00
Carsten Haitzler b13127532c elm test EXPLODE! feature! explore widgets and their content!
hit ctrl+middle mouse on something...
2015-08-28 12:20:01 +09:00
Davide Andreoli 6df567fa17 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
2015-08-27 21:40:08 +02:00
Amitesh Singh 363cd95497 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
2015-08-27 10:07:48 +05:30
Amitesh Singh 0a6e5c64d6 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
2015-08-26 22:38:37 +05:30
Amitesh Singh 44c8e28698 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
2015-08-26 21:04:36 +05:30
Vincent Torri 51451dc91b Add missing documentation of DirectDraw rendering 2015-08-26 16:25:15 +02:00
Amitesh Singh f0f2e7dcaf 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
2015-08-26 15:36:39 +05:30
Tom Hacohen 9d5aea4d81 Elm win: Fix according to the new behaviour of parent_set.
This new behaviour was introduced in
9c78ee0bf4.
2015-08-26 10:48:16 +01:00
Amitesh Singh d28822560e gengrid: add curly braces to avoid ambiguous 'if' 2015-08-26 14:38:44 +05:30
Seunghun Lee ea29a24327 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
2015-08-25 20:42:17 +09:00
Hosang Kim 176f2ba06a 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
2015-08-25 20:05:57 +09:00
Luciana Magno de Almeida 4517e70a5e cxx: Added examples and tutorial for C++ binding
Summary:
Added the following examples:
* bg_cxx_example_01
* bg_cxx_example_02
* bubble_cxx_example_01
* button_cxx_example_00
* button_cxx_example_01
* calendar_cxx_example_01
* calendar_cxx_example_02
* calendar_cxx_example_03
* calendar_cxx_example_04
* calendar_cxx_example_05
* clock_cxx_example
* datetime_cxx_example
* glview_cxx_example_01
* hoversel_cxx_example_01
* icon_cxx_example_01
* location_cxx_example_01
* menu_cxx_example_01
* popup_cxx_example_01
* radio_cxx_example_01
* separator_cxx_example_01
* slider_cxx_example
* spinner_cxx_example
* table_cxx_example_01
* table_cxx_example_02
* thumb_cxx_example_01

Added documentation for the above examples, as well as how using lambdas
with C++ elm binding. How to use autohide feature and how to use the C++
wrappers to create windows, widgets and call Eo functions from them with
automatic C++ type conversion and how to use signals from C++.
2015-08-25 03:42:34 -03:00
Felipe Magno de Almeida 8c5e840278 Added elm_general.eot file to EXTRA_DIST
Fixes distcheck
2015-08-25 02:37:42 -03:00
ChunEon Park 09b2d01a25 theme: mistypo in 2927b6a37990aec0aa9b325a4727bd11ec526986
c:\. not c:/
2015-08-25 14:07:30 +09:00
ChunEon Park b27d821b82 theme: fix theme file path parsing issue on windows.
':' is usually regarded as the delimetr for new theme path
but it uses to look up the drive, ie, c: on windows, on the other hand.
this patch fixes to determine wheter ':' is used for drive name or delimeter.

@fix
2015-08-25 13:10:33 +09:00
Amitesh Singh fe271ff8e6 scroller: fix memory leak on keys traversal
@fix
2015-08-25 09:35:05 +05:30
Jaehwan Kim bb6ac8852b scroller: fix the misstake. change && -> ||
@fix
2015-08-24 13:38:19 +09:00
Amitesh Singh 1e0b1325fb test_genlist: fix a typo 2015-08-21 09:32:45 +05:30
Seunghun Lee 10f5587cd9 elm_win: set wm rotation hints _elm_win_xwin_update().
Summary:
if app sets available rotations before invoking elm_win_alpha_set(),
wm rotation doesn't work.
this patch fixes it.

Test Plan: N/A

Reviewers: jypark

Reviewed By: jypark

Differential Revision: https://phab.enlightenment.org/D2946
2015-08-20 14:11:55 +09:00
Vaibhav Gupta 040a35aae5 test_scroller: Fix item count variable
Summary:
Since the _count variable is static, the buttons which are added
to scroller, get text value ahead of previously added count, instead
of starting from 1 every time a new window is opened for the example.

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

Test Plan:
Following is the test:
1. Open Scroller 3 sample
2. Add some items and note the "Item count value of added buttons
3. Close the sample
4. Re-open Scroller 3 sample, and again add some items
5. Observe the "Item count" text of added buttons.

Reviewers: raster, Hermet, singh.amitesh

Subscribers: sachin.dev

Differential Revision: https://phab.enlightenment.org/D2959
2015-08-19 12:05:49 +05:30
Amitesh Singh 1cbeca359d genlist: remove unnecessary bracket 2015-08-19 10:11:53 +05:30
Carsten Haitzler 9118eaf19d elm popup - simplify if logic to be more compact and readable 2015-08-18 14:34:30 +09:00
Daniel Juyung Seo a21befa405 popup: Exceptionally set since as 1.15.1
This is exceptionall case.
This was not pushed to 1.15 but has to be pushed to 1.15.1 due to a
significant popup bug.
2015-08-18 01:22:20 +09:00
Daniel Juyung Seo 3214aad129 test_table: Add variable padding config in the padding test. 2015-08-18 01:21:36 +09:00
Daniel Juyung Seo 6427c01671 popup: Fix wrong since version in the doc. 2015-08-18 00:32:09 +09:00
Daniel Juyung Seo 6c8356dcd9 spinner: Remove unnecessary temporary variable.
Follow elm_layout_theme_set usage convention.
2015-08-18 00:20:04 +09:00
Stefan Schmidt 4557dd9ab8 multibuttonentry: check return value from elm_layout_theme_set
CID: 1294253
2015-08-17 13:32:14 +02:00
Daniel Hirt efa7d7ebe7 Entry: fix cursor repositioning on theme_apply
Summary:
The original code did not consider the case where the text will be
reapplied by chunks. The repositioning of the cursor should be postponed
to when the idler work is done, or not required at all.
Fixes T2646.
@fix

Reviewers: NikaWhite

Reviewed By: NikaWhite

Maniphest Tasks: T2646

Differential Revision: https://phab.enlightenment.org/D2952
2015-08-17 08:34:21 +03:00
Carsten Haitzler b8a60a9a9b elm theme - add a blank focus style if you want invisible focus
in some cases you may want a widget to focus but not to get a blue
hilightaround it - thus provide a blank focus style just for this.

@feature
2015-08-17 10:48:47 +09:00
Amitesh Singh ba17c89488 popup: fix content_area resize in case of custom theme
Send elm,scroll,enable/disable signals in theme_apply.
It is a fix of 0891ac5cfc2710d0c89034
Thanks to Dave for reporting this issue.
2015-08-16 00:28:03 +05:30
Amitesh Singh 192a9f874c list: fix crash while setting nearest item in viewport
This is an example of classic code copy and paste mistake.
Probably inspired from similar code in genlist/gengrid.
We were actually deleting the other items (except selected one) in
viewport in _elm_list_nearest_visible_item_get() which results into crash
while deleting the list object.

@fix

Resolves: T2662
2015-08-15 22:55:46 +05:30
Amitesh Singh fecd577f28 popup: make scroller optional in popup
Summary:
@feature

Resolves: T2651

Test Plan:
1. elementary_test -to "popup"
2. Enable/disable checkbox named "Enable popup scoller"

Reviewers: raster, herb, herdsman, SanghyeonLee, tasn, simotek, cedric, jeffhoogland

Subscribers: seoz

Differential Revision: https://phab.enlightenment.org/D2945
2015-08-15 21:02:34 +05:30
Cedric BAIL bd6aed3783 view_list: small optimization reducing memory consumption using Eo_Event array of callbacks.
Now that smart callback have been converted to Eo_Event to, there is a lot of place in
our code base where we can do this easy memory optimization.
2015-08-15 12:43:05 +02:00
Jaehwan Kim 3ea0d46fe8 focus: add the comment about focus origin property. 2015-08-14 23:59:06 +09:00
Anand e69b0fb210 elm_gengrid:Added Eolian changes in gengrid reorder Api
Summary:
Modified gengrid reorder Api's(elm_gengrid_reorder_mode_start, elm_gengrid_reorder_mode_stop,
elm_gengrid_reorder_type_set) in Eolian format.

Test Plan: elementry_test->gengrid->gengrid_focus

Reviewers: seoz, raster, Hermet, JackDanielZ

Subscribers: cedric, JackDanielZ, mvsovani, singh.amitesh, sachin.dev

Differential Revision: https://phab.enlightenment.org/D2510
2015-08-14 09:40:18 +03:00
Yeshwanth Reddivari 7251a154f9 Gengrid: Set focus after item looping
Summary:
After item looping, Gengrid item was getting selected.
So, checked for item_select_on_focus_disable flag and
accordingly set focus state or selected state of Gengrid item.

@fix

Signed-off-by: Yeshwanth Reddivari <r.yeshwanth@samsung.com>

Reviewers: raster, Hermet, singh.amitesh, SanghyeonLee

Subscribers: sachin.dev

Differential Revision: https://phab.enlightenment.org/D2937
2015-08-14 11:20:30 +05:30
Mike Blumenkrantz 5c4ab5d971 cnp: redo wayland drop to nul terminate for text_uri drops and free on every drop
@fix
2015-08-13 15:46:14 -04:00
Jérémy Zurcher f1e9d33bb6 win: declare elm_win_wm_rotation_available_rotations_set
this should not have been removed in a0fdbad
2015-08-13 21:44:25 +02:00
Mike Blumenkrantz 8478b6b84a cnp: only nul terminate wayland drops for text type drops
also move data allocation into block where dropping is guaranteed

@fix
2015-08-13 15:27:14 -04:00
Mike Blumenkrantz a598a75444 cnp: end wayland drag on allocation failure
@fix
2015-08-13 15:18:55 -04:00
Mike Blumenkrantz b46ef28fda cnp: pass wayland drop event size to handler, do not nul terminate drop data
performing strlen() on potential non-string data is not recommended and can
even lead to crashes. nul terminating non-string data is pointless and enables
bad application behavior such as calling strlen() on potentially non-string data

@fix
2015-08-13 15:10:52 -04:00
Mike Blumenkrantz 3096e62408 cnp: fix wayland drop format selection
previously the drop format was chosen in a manner unrelated to what
the offered format was, leading to applications receiving either the correct
data with the wrong format, the wrong data with the wrong format, or
the wrong data with the correct format. by comparing the drop handler
types with the offered type and ensuring that there is a match, the
correctness of the format that the application receives is more reliable

@fix
2015-08-13 14:53:52 -04:00
Mike Blumenkrantz 2ace38aba0 cnp: initialize Elm_Selection_Data.action for wayland drops
wayland drops are probably always copy, though there's no real functional
equivalent for the x11 meaning of this

@fix
2015-08-13 14:53:52 -04:00
Mike Blumenkrantz d343487f94 cnp: init wayland dnd handlers upon creating the first drop target
previously this would only init when the app was initiating the drag,
which would result in an app being unable to receive drags

@fix
2015-08-13 14:53:52 -04:00
Daniel Kolesa e69bd0ec1b win: convert docs
With this, documentation conversion in elm is complete.
2015-08-13 16:46:57 +01:00
Daniel Kolesa 84fcf40c56 gengrid: convert docs 2015-08-13 16:05:38 +01:00
Daniel Kolesa cddca56dc1 layout: convert docs 2015-08-13 14:21:49 +01:00
Carsten Haitzler 86e4264c3b elm theme - conformant - fix to have proper min size of conformant
conformant would ignore min size of content (and propagate min size
to paent widget - eg window). this was just wrong. remove fixed here
(also align is useless as that is a default).

@fix
2015-08-13 19:29:37 +09:00
Jaehwan Kim 1bc01460c4 focus: item focus moves by geometry.
In the widget code, focus origin is added. It can know
the focus movement is originated by which action.
The widgets can choose the item focus moves to last focused item
or geometrically nearby item by focus origin.
In gengrid, focus moves to last focused item if focus origin is
ELM_FOCUS_REVERT. It moves to nearby item if focus origin is from
ELM_FOCUS_UP to ELM_FOCUS_LEFT.

TODO: widgets have items should add the direction feature if it
want the focus to move to nearby item.

@feature
2015-08-13 13:58:04 +09:00
Jaehwan Kim 085734310a test_gengrid: change the min size of gengrid 2015-08-13 13:33:50 +09:00
Amitesh Singh 19fa47b95f entry: fix since tag for entry_input_panel_show_on_demand_set() 2015-08-12 23:43:29 +05:30
Daniel Kolesa 8786685991 map: convert docs 2015-08-12 17:12:24 +01:00
Chris Michael a9ede4a9fd elementary: Fix Copy and Paste test to actually paste clipboard text
Summary: The Elm Copy and Paste test was not actually pasting the
copied text into the entry when the Paste button was clicked. This
patch fixes that issue.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-08-12 10:18:41 -04:00
Daniel Kolesa 01b523d944 datetime: convert docs 2015-08-12 13:45:30 +01:00
Daniel Kolesa 83fca6423b web: convert docs 2015-08-12 12:45:31 +01:00
Daniel Kolesa 6d805b731e genlist_item: convert docs 2015-08-12 12:22:14 +01:00
Jaehwan Kim b3a86fc230 focus: add the focus region show mode
When the focus is move to the object in scroller, it is scrolled
to show the focus region as a widget.
If the focus region want to be shown as an item,
set the mode ELM_FOCUS_REGION_SHOW_ITEM.
If then, it will be scrolled as an item.
TODO: Widgets have items are added on_focus_region function.

@feature
2015-08-12 17:30:44 +09:00
Davide Andreoli 0aa54f3756 Fix docs for elm_object_tooltip_orient_set
The function is not visible in docs,
this should make it visible
2015-08-12 09:17:56 +02:00
Jaehwan Kim e9afa67f2b gengird: change focus move mechanism in gengrid.
This commit is related to 4d553d2bcf2157053433994ca3facb56bd670da9.
It doesn't work if item_select_on_focus_disable is 1.
So _item_focus_down is changed like _item_single_select_down.

@fix
2015-08-12 11:09:17 +09:00
Daniel Kolesa 25eb9e69ee slider: convert docs 2015-08-11 16:57:08 +01:00
Daniel Kolesa 37e81db584 toolbar_item: convert docs 2015-08-11 15:27:06 +01:00
Tom Hacohen 0ebe02213b Toolbar: migrate docs. 2015-08-11 14:46:55 +01:00
Jyotiprakash Sahoo 078185b2cb gengrid: extends D2418 to horizontal mode.
Summary:
do not return yet in case of edge items if looping
is disabled. try to select/focus last item.

Signed-off-by: Jyotiprakash Sahoo <jp.sahoo@samsung.com>

@fix

Test Plan: elementary_test -> Gengrid 2

Reviewers: raster, singh.amitesh, cedric, SanghyeonLee

Reviewed By: SanghyeonLee

Differential Revision: https://phab.enlightenment.org/D2865
2015-08-11 22:10:09 +09:00
Jaehwan Kim a905e7a33b scroller: fix the focus move bug in scroller.
When the focused object is out of the viewport and the key direction
is only the direction focus is out, it should find the next focus.

@fix
2015-08-11 20:53:14 +09:00
Tom Hacohen d2339321e4 Interface scrollable: migrate docs. 2015-08-11 12:48:37 +01:00
Tom Hacohen 3d6524d8bf List: migrate docs. 2015-08-11 09:02:09 +01:00
Tom Hacohen 3925b5cfd5 Multibutton entry: migrate docs. 2015-08-11 08:35:55 +01:00
Mike Blumenkrantz 31a5766018 cnp test: add callback to print info when paste button is clicked 2015-08-10 16:22:23 -04:00
Mike Blumenkrantz 1092fe5363 cnp: add docs for Elm_Selection_Data members 2015-08-10 16:22:23 -04:00
Tom Hacohen 391addedee Image: migrate docs. 2015-08-10 18:37:13 +01:00
Tom Hacohen 0437f1137c Prefs: migrate docs. 2015-08-10 15:00:27 +01:00
Tom Hacohen de3682a7d0 Spinner: migrate docs. 2015-08-10 14:17:49 +01:00
Tom Hacohen c6b0b53afd Genlist: migrate one missing doc string. 2015-08-10 12:51:51 +01:00
Tom Hacohen 48142c11e2 Gengrid item: migrate docs. 2015-08-10 12:51:00 +01:00
Stefan Schmidt 03dc4d511d build: Exclude some more files from coverage as they are not in the correct path
These files come from some modules in src/modules while we set out base dir to
src/lib. In result these files are search for in src/lib and not found. In the
long term we want to find out how to collect them as well but for now a working
coverage is already good.

Overall coverage rate:
  lines......: 18.1% (12596 of 69412 lines)
  functions..: 18.6% (1766 of 9500 functions)

Will work on getting these run by jenkins once it is back.
2015-08-10 13:00:00 +02:00
Davide Andreoli b937433374 Add a new (failing) test for table padding
This test expose a bug in table as explained in T2655
2015-08-09 18:59:14 +02:00
Davide Andreoli fd95ba8362 Add a no-wrap mode to the "Entry Style Default" test
I'm trying to reproduce an issue, not spotted by this,
but can still be usefull.
2015-08-08 17:08:45 +02:00
Daniel Kolesa 74ae853fd4 glview: convert docs 2015-08-07 15:55:01 +01:00
Tom Hacohen fe7b26ab54 Progressbar: migrate docs. 2015-08-07 15:49:14 +01:00
Daniel Kolesa 9a46fbfc23 genlist: convert docs 2015-08-07 15:47:40 +01:00
Tom Hacohen c6c22e2f07 Segment control: migrate docs. 2015-08-07 15:36:47 +01:00
Tom Hacohen f308423f1a Index: migrate docs. 2015-08-07 15:19:21 +01:00
Tom Hacohen fc10f955dd Widget item: migrate docs. 2015-08-07 15:04:48 +01:00
Tom Hacohen 84e5b5f0ef Inwin: migrate docs. 2015-08-07 15:04:48 +01:00
Daniel Kolesa 7f66232f23 gesture_layer: convert and fix docs 2015-08-07 14:44:58 +01:00
Tom Hacohen 279af85a61 Interface atspi image: migrate docs. 2015-08-07 14:31:03 +01:00
Tom Hacohen 071a5dd3d5 Interface atspi value: migrate docs. 2015-08-07 14:31:03 +01:00
Tom Hacohen 7ecf91186d Interface atspi selection: migrate docs. 2015-08-07 14:31:03 +01:00
Tom Hacohen a494b4c122 Interface atspi component: migrate docs. 2015-08-07 14:31:03 +01:00
Tom Hacohen f052cd9d9c Interface atspi action: migrate docs. 2015-08-07 14:31:03 +01:00
Tom Hacohen dc120ad628 Interface atspi text: migrate docs. 2015-08-07 14:31:03 +01:00
Daniel Kolesa 7493310eb5 popup: convert docs 2015-08-07 14:24:45 +01:00
Tom Hacohen 5c32c34045 Widget: migrate docs. 2015-08-07 14:16:55 +01:00
Tom Hacohen 0cca6007f9 Label: migrate docs. 2015-08-07 14:11:09 +01:00
Daniel Kolesa 4b9f1ebedd table: convert docs 2015-08-07 14:08:01 +01:00
Daniel Kolesa 72db46ce9e slideshow: convert docs 2015-08-07 13:50:21 +01:00
Daniel Kolesa abee9b89f2 flip: convert docs 2015-08-07 13:30:50 +01:00
Tom Hacohen b34db8299f Naviframe: migrate docs. 2015-08-07 13:30:05 +01:00
Tom Hacohen 4f2e5d6c11 Interface fileselector: migrate docs. 2015-08-07 13:19:35 +01:00
Vivek Ellur 70ba901aa2 elm_entry: Convert eo docs to new format
Summary:
Changed elm_entry.eo docs to the new format

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

Reviewers: cedric, q66

Reviewed By: q66

Differential Revision: https://phab.enlightenment.org/D2924
2015-08-07 13:04:27 +01:00
Stefan Schmidt 8555ebe31d po: Update po files 2015-08-07 11:00:25 +02:00
Amitesh Singh 248b6beeee intf scroll: handle wheel logic in post event cb.
Summary:
@Fix

Resolves: T2216

Reviewers: seoz, raster, JackDanielZ, Hermet

Reviewed By: Hermet

Subscribers: cedric, eagleeye, SanghyeonLee, seoz, sachin.dev

Maniphest Tasks: T2216

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

Conflicts:

	src/lib/elm_interface_scrollable.c
2015-08-07 17:34:20 +09:00
woochan lee 23d5820468 spinner: Add to support spinner value %d format.
Summary:
When user set min max as 50, 150 with %d format, then value set as 100.
The spinner value set as '0'
Because the sd->val type is double.
Spinner entry has same problem.

@fix

Test Plan:
Set spinner format as %d.
Check the spinner value.
It's not supported.

Reviewers: Jaehyun_Cho, cedric, Hermet

Reviewed By: Hermet

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

Conflicts:

	src/lib/elm_spinner.c
2015-08-07 17:02:39 +09:00
Umesh Tanwar eadac79a1e Theme: Scroller.edc-Improvement in left/right/top/bottom arrow behavior.
Summary:
When the scroller size changes by dragging the
corners, the calculations will miss the condition "x+w == x1 + w1".
This is because of format specific computer calculations. So,
improvisation is made in comparisons.

@ fix

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

Test Plan:
elementary_test -> scroller -> scroll to the extreme right (right arrow brightness changes).
Now, drag the lower right corner to increase the width of scroller. Drag the corner slowly to see the issue clearly.
The arrow brightness changes alternatively, instead the hbar is positioned to the extreme right.

Reviewers: Hermet, cedric, raster

Subscribers: singh.amitesh, eagleeye, SanghyeonLee, sachin.dev

Differential Revision: https://phab.enlightenment.org/D2796
2015-08-07 16:51:42 +09:00
Sung-Taek Hong a8a79fd828 elm_toolbar: fix icon_size to consider edje base scale
Summary:
When icon is set, icon size is calculated without considering
edje base scale. This can lead to a miscalculation when
base scale is set other than 1.0.
@fix

Reviewers: seoz, woohyun, cedric, Hermet

Reviewed By: Hermet

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2798
2015-08-07 16:42:30 +09:00
ChunEon Park 89709482b2 win: remove usage of deprecated api. 2015-08-07 15:30:49 +09:00
ChunEon Park 30a3a152b1 win: code refactoring.
simplify code.
2015-08-07 15:29:49 +09:00
Youngbok Shin 7ba3140373 multibuttonentry/spinner: Fix memory leak when eina_strbuf_string_steal is misused.
Summary:
_elm_access_say() does not free the given text.
But, the text from eina_strbuf_string_steal() is not cared
from outside of _elm_access_say(), too.
It should be changed to eina_strbuf_string_get().

Test Plan: N/A

Reviewers: cedric, woohyun, kimcinoo, JackDanielZ, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D2918
2015-08-07 15:15:45 +09:00
ChunEon Park 84c481a75f config: add missing since tag in doc. 2015-08-07 15:11:59 +09:00
jiin.moon de3fa2c676 elm_win: add new condition about engine set when generate the elm_win object
Summary:
Calling the elm_config_accel_preference_get api with "none" as parameter,
it means user does not want to use acceleration.

Reviewers: Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D2920
2015-08-07 15:10:03 +09:00