Commit Graph

2148 Commits

Author SHA1 Message Date
Daniel Zaoui 3642ac66f6 Panes: adapt test to for more API coverage 2016-03-22 13:10:08 +02:00
Daniel Zaoui 55a61d91ed Label: adapt slide test to fit Exactness requirements 2016-03-22 11:29:24 +02:00
Daniel Zaoui 1029ccd362 Genlist: fix test ending
The multi select data was freed as it was an api_data structure,
resulting in a crash when trying to free an internal api_data pointer.

@fix
2016-03-21 14:34:24 +02:00
Daniel Zaoui 027dff300f Datetime: update test for Exactness
A fix date is now set so Exactness can work on datetime widget.
2016-03-20 13:11:53 +02:00
Daniel Zaoui a60ff38a01 Tests/Photocam: add default image
This helps to generate a Exactness scenario that doesn't depend on file
locations.
2016-03-20 10:51:55 +02:00
WooHyun Jung 8b8ad8ad76 focus: add focus_move_policy_automatic_set/get function
Summary:
After setting specific focus move policy to one winset object,
if it should not follow the system focus move policy change,
this new api can be used.

@feature
2016-03-18 16:38:26 +09:00
Tom Hacohen d8f76f5fb6 Change elm according to the renaming of the eo_add() current object. 2016-03-15 15:30:32 +00:00
Tom Hacohen e6031a23e8 Revert "Automatic migration to the new eo_add syntax."
This reverts commit d1a1819813d74361b25fd5c1123f7ac76be9b84f.
2016-03-11 12:36:19 +00:00
divyesh purohit 07404215a9 combobox: add Multiple selection feature
Summary:
This patch focuses on Combobox widget customization,
Multibuttonentry widget is used instead of entry for taking user input.
The idea is to make the widget look like  {F28112} {F28115} when the multiple_selection is set.
To-DO:
1) Need to add scrollable interface to combobox when MBE is used (need some suggestions on it).
2) focus cycle is still buggy as genlist requires focus otherwise selected item will return NULL (sometimes)
Signed-off-by: divyesh purohit <div.purohit@samsung.com>
@feature

Test Plan: Please run combobox multiple selection example from elementart_test.

Reviewers: raster, shilpasingh, cedric

Subscribers: govi, rajeshps

Projects: #elementary

Differential Revision: https://phab.enlightenment.org/D3570
2016-03-10 14:50:59 -08:00
Cedric BAIL 7078261b44 efl: followup with renaming efl animator. 2016-03-10 13:14:29 -08:00
Cedric BAIL 9d9c5be62a config: add entry to set web backend.
Will switch later to a combobox using eio_model.
2016-03-09 16:55:49 -08:00
Tom Hacohen c788486398 Automatic migration to the new eo_add syntax. 2016-03-09 16:09:17 +00:00
shashank.p 5d08cbad2d genlist: add elm_genlist_filtered_items_count API
Summary: This API will return the number of items that have passed the filter at a given point of time. If the API is called before "filter,done" callback comes, it may or may not give the filtered count for the complete genlist.

Test Plan: Updated Genlist_filter example to print the output from filtered_count_get API in "filter,done" callback.

Reviewers: SanghyeonLee, shilpasingh, cedric

Reviewed By: cedric

Subscribers: buds

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-03-04 16:14:37 -08:00
Tom Hacohen d16aa5956b Automatic migration to Eo4.
I just ran my script (email to follow) to migrate all of the EFL
automatically. This commit is *only* the automatic conversion, so it can
be easily reverted and re-run.
2016-03-03 10:08:27 +00:00
Daniel Zaoui dbd03c0881 Scaling test: reorder instructions to set the correct scale
If the scale is set on an object before contents are set, it will not
pass to them. Because of this, in the test, scale of the first label
remains 1.0, i.e the window scale, instead of 0.5.
The patch modifies the order of the instructions by setting the scale
after setting the label as content of the frame.
2016-03-03 10:54:16 +02:00
Tom Hacohen 9316ab5bf2 Eo events: Migrate all of elm to the new event callback signatures 2016-02-29 11:33:41 +00:00
Mike Blumenkrantz 3316520c23 list test: use 1.0 instead of EVAS_HINT_EXPAND
these are functionally identical but semantically different
2016-02-26 12:40:56 -05:00
Mike Blumenkrantz 8866722cdb config: set larger vertical step size for Scrolling tab scroller
scrollers with lots of large items need larger or configurable step sizes to
make them usable
2016-02-18 12:53:52 -05:00
Mike Blumenkrantz e76b9a63b5 config: add option to modify scroll acceleration factor
when using a touchpad or frictionless mouse wheel, it becomes impossible
to accurately use a scroller which accelerates as scrollers on mobile devices
do. by setting this new option to 0, acceleration can be disabled and regular
behavior can be restored

ref 2ac2628612060114cf6e5205e5331044221178c6

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

ref 2ac2628612060114cf6e5205e5331044221178c6

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

@fix
2016-02-18 12:53:52 -05:00
Hermet Park d90f2119de transit: rename from elm_transit_revert_go() to elm_transit_revert()
elm_transit_revert_go() sounds like it triggers animation on reverse way.

but this api acutally just change a current state.
It doesn't trigger the transtion.
2016-02-14 20:48:23 +09:00
SangHyeon Lee 4607109531 genlist: add reusable_content_get item class function for support automatical content reusing in genlist.
Summary:
   Add new Item Class function reusable_content_get for improve genlist
   performance.
   If user want to reuse specific part contents, return old content
   which was passed by parameter of rreusable_content_get function.
   genlist will automatically caching those contents when item unrealized,
   and reusing it on item realizing.

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

   This feature is refered in Task T2813

   @feature

Test Plan: add test in genlist 1 case.

Reviewers: raster, singh.amitesh, cedric

Reviewed By: cedric

Subscribers: smohanty, seoz, woohyun, Hermet, eagleeye

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-02-12 20:36:16 +01:00
Youngbok Shin b01d3c9e1b entry: add elm_entry_select_region_get() API
Summary:
Already, there is a way to set a selection region:
elm_entry_select_region_set()
The get() API also useful and there is needs for this
inside of elm_entry.c. Add the API and replace codes
in atspi_text_selection_get with the API.
@feature

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

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

Subscribers: Hermet

Differential Revision: https://phab.enlightenment.org/D3639
2016-02-12 20:18:05 +09:00
Godly T Alias cb8a5cb38c transit: add possibility to revert an ongoing transition during play
Summary:
Currently the feature available in transit to reverse play a transition is
auto-reverse which will play a transition in reverse mode once a transition
is complete. This feature helps the user to revert a transition at any point
of time when transition is going on.

New API added.

@feature T3019

Use Case:
While doing pinch zoom, we will be doing zoom transit effect from one step to other, during that transit if user do the pinch in reverse direction this API can be called so that transition will be reverted easily.

Signed-off-by: godly.talias <godly.talias@samsung.com>

Test Plan: elementary_test Transit Resizing / Transit Zoom / Transit Bezier / Transit Custom / Transit Fade / Transit Flip

Reviewers: raster, prince.dubey, shilpasingh, Hermet, seoz, cedric

Subscribers: rajeshps, govi

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-02-05 08:45:19 +01:00
Cedric BAIL 709a5c2f46 genlist: make automatic bounce test configurable. 2016-02-02 11:00:54 -08:00
Cedric BAIL 670a77c16a tests: switch anim test to Efl.Core.Animator tick. 2016-02-02 11:00:54 -08:00
Hermet Park d8e157771e layout: test code refactoring.
remove a comment.
pass immediate parents.
remove unnecessary show call.
2016-02-01 22:37:22 +09:00
Jean-Philippe Andre a908bd3646 genlist test: fix invalid free on window close 2016-02-01 20:48:21 +09:00
Jean-Philippe Andre 0f4dc0b222 test: reflow check boxes in genlist and gengrid focus tests
Without this, the items never get unrealized, except on
window close. This allows better testing of those widgets.
2016-02-01 13:32:31 +09:00
Jean-Philippe Andre fcc4c7c002 elm_test: Show popup error when Plug can't connect 2016-01-25 16:24:16 +09:00
Davide Andreoli 047e9c35f7 Reveal the same focus bug of previous commit also in genlist.
See previous commit for instructions on how to reproduce in "Genlist Focus" test.
2016-01-24 15:44:48 +01:00
Davide Andreoli 6503b1fdfd Add a test to reveal a focus bug in Genlist/Gengrid
To reproduce:
 * elm_test -to "GenGrid Focus"
 * turn on the "Focus Highlight" checkbox
 * double-click an item to show a popup that should have the focus

As you can see the mouse-up event on the gengrid item steal the focus from the popup.
When, instead, the item is activated with the keyboard the popup correctly keep the focus.

I have this problem in both genlist and gengrid, so probably the error is not in the gengrid code, but somewhere else that I cannot find.

...any help appreciated
2016-01-24 14:35:49 +01:00
divyesh purohit 8c6f8843d4 combobox: apply proper style
Summary:
Initially combobox used hover's default style, this patch would make combobox use hoversel_vertical style.
@Fix T3075 for 2nd point.

Signed-off-by: divyesh purohit <div.purohit@samsung.com>

Test Plan: please run combobox example from elementary_test

Reviewers: shilpasingh, cedric, raster

Subscribers: rajeshps, govi

Maniphest Tasks: T3075

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-01-22 12:10:14 -08:00
Cedric BAIL e01f66b816 combobox: move responsibility to define filter and content to the user of a combobox
Before this patch, the filter was set inside the combobox. This is confusing for the
user of the object as it can't define a custom filter except on strings. It is also
impossible to bind as binding require to know what was put in and they can't differentiate
between a genlist filter being set from the binding to one being set internally by
the combobox.

@fix
2016-01-22 12:10:14 -08:00
Jean-Philippe Andre 48b561b8e0 elm: Replace EO_EV_ by EO_BASE_EVENT_
EO_EV_ stuff is deprecated
2016-01-21 14:45:05 +09:00
Davide Andreoli 026196fe1f Combobox: rename the "selected" event to "item,selected" as it should be.
Also updated the test to reflect this change
2016-01-19 20:33:47 +01:00
Davide Andreoli dae6d87af4 Hoversel: add a test for the populate-on-click scenario 2016-01-18 19:49:28 +01:00
Davide Andreoli 16b16b7128 Gengrid: improve item_region_show code
There is no need to recalc row and col position of the item, they are already stored in the item struct.

The old implementation was calculating wrong values and also was storing this wrong values in it->x and it->y, resulting in wrong results for the elm_gengrid_item_pos_get() function.

so, at the end,  this is a @fix for the pos_get() function.

Also changed a bit the test to let the gengrid fill the window and thus testing behaviour on col/row changes.

I didn't find any regression in all the gengrid tests after this, let me know if it broke something for you.
2016-01-17 15:11:29 +01:00
Hermet Park b464395ada ctxpopup: add geometry,update smart callback.
conceptually, ctxpopup won't give any geometry information of the container.
this event is a way for returning the information of the container for user scenarios.

@feature.

fix @T2042
2016-01-08 15:11:11 +09:00
Umesh Tanwar c8c4f3cd5c elementary_test: remove wrong usage of EINA_UNUSED.
Summary:
If argument variable is not used in function, then only
that variable should be declared as EINA_UNUSED.

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

@fix

Reviewers: Hermet, singh.amitesh

Subscribers: sachin.dev

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-01-06 11:27:13 -08:00
Carsten Haitzler 76c528a5c3 elm config tool - dont need to call save if flush is saving anyway
tis would also make behavior more consistent with the tool as before
sometimes it flushed + saved, sometimes just flushed which would lose
settings. now since this works right in elm config in the lib, we dont
need to save if we flush as flush saves too.
2016-01-05 22:24:58 +09:00
divyesh purohit 4a33cee27f combobox: add new widget.
Summary:
Combobox is a combinational widget of a drop-down list and single line entry.
Based on the text entered in the entry, the list items are filtered accordingly.
Signed-Off By: Cedric Bail <cedric.bail@free.fr>
Signed-Off By: Divyesh Purohit <div.purohit@samsung.com>

Test Plan: test_combobox.c is added to elementary test

Reviewers: raster, shilpasingh, cedric, jpeg, stefan_schmidt

Reviewed By: raster, shilpasingh, cedric

Subscribers: SanghyeonLee, shashank0990, singh.amitesh, tasn, raster, seoz, poornima.srinivasan, rajeshps, govi

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-01-04 15:24:49 -08:00
divyesh purohit e6b686b493 hover: fix segfault when smart direction is used in content_set in hover
Summary:
when using elm_object_part_content_set(hover, "smart", content); it would cause segfault, this patch would fix T3004

Signed-off-by: divyesh purohit <div.purohit@samsung.com>

Test Plan:
please open the hover3 example in elementary for testing it, the hover
content shouldn't leave the window as "smart" direction is used.

Reviewers: shilpasingh, raster, cedric, Hermet

Subscribers: rajeshps, govi

Maniphest Tasks: T3004

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-01-04 15:21:46 -08:00
Jee-Yong Um 9fd9a33b7a hoversel: auto update hoversel after dismiss animation finished.
Summary:
If auto_update feature changes hoversel width,
dismiss animation seems awful because hoversel contents move to
changed position in an instant.
This patch makes hoversel update its content with clicked item
after dismiss animation finished.

Test Plan: elementary_test hoversel

Reviewers: raster, cedric, jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-01-04 15:17:26 -08:00
Lukasz Stanislawski eac2c2e512 gengrid: add scrollto BOTTOM alignment type.
Summary:
Add new scrollto type allowing to align gengrid item to bottom of viewport.
Feature compleates and closes list of all alignment types for gengrid items.

Reviewers: seoz, cedric, SanghyeonLee

Subscribers: seoz

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-01-04 14:06:24 -08:00
Lukasz Stanislawski 0a7d24dab1 genlist: new SCROLLTO_BOTTOM alignment
Summary:
Add new scrollto type allowing to align genlist item to bottom of viewport.
Feature compleates and closes list of all alignment types for genlist items.

@feature

Test Plan: elementary_test => Genlist Show/Bring

Reviewers: cedric, seoz, SanghyeonLee

Subscribers: seoz

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-01-04 14:05:32 -08:00
taehyub d36f570bc1 popup: add popup dismiss function for hide effect
Summary: add popup dismiss function for hide effect

Test Plan:
 1. applied this patch
 2. launch elementary_test
 3. run "popup" -> "popup-center-title + text + 1 button + hide effect"
 4. click the "close" button and check the hide effect

Reviewers: Hermet, woohyun, kimcinoo, raster

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

@feature
2015-12-31 13:13:55 +09:00
Daniel Juyung Seo a0414cf2bd genlist: Remove genlist clear scenario from the basic genlist test.
It was a bad idea to add this test to the basic genlist test. Moving the
focus with arrow keys faced unexpected genlist clear to testers. We have
"genlist del" test so it's ok to remove this.
2015-12-25 03:34:28 +09:00
Daniel Juyung Seo 56b5e43f2d genlist: Make more realistic scenario.
With this, we can test with arrow keys and find more bugs.
2015-12-25 03:31:17 +09:00