Commit Graph

22 Commits

Author SHA1 Message Date
Lukasz Stanislawski d1baa35b1a atspi: always use widget's subobj as accessible children
Patch fixes issue when widgets could be orphaned in accessibility tree
due to overloaded accessible_children_get methods in widgets returning
Elm_Object_Items. Widgets like genlist, gengrid, list and toolbar returned
only items as its accessibility children so if some widget was attached
directly to those widgets (like ctxpopup/popup) it become orphaned
in accessibility tree.
2015-12-02 11:43:58 +01:00
SangHyeon Lee 0e353c727d Revert "gengrid : add all_contents_unset API in gengrid for reusing contents."
This reverts commit 1094fb77a0ee23cbe1e8b15783e406a8d93b7fd4.

Feature is freezed for new released version.
This patch must updated after release finished.
2015-10-12 18:23:56 +09:00
SangHyeon Lee 72cebeb662 gengrid : add all_contents_unset API in gengrid for reusing contents.
Summary:
Add elm_gengrid_item_all_contents_unset API for reusing contents in application side.
User can unset all contents or re-use their contents for increase scrolling performance.
genlist already support this API.

@feature

Test Plan: Need to add test in elementary_test.

Reviewers: raster, singh.amitesh, cedric

Subscribers: woohyun, Hermet, seoz

Differential Revision: https://phab.enlightenment.org/D3066
2015-10-12 14:42:37 +09:00
Tom Hacohen 48142c11e2 Gengrid item: migrate docs. 2015-08-10 12:51:00 +01:00
Tom Hacohen d4cfcbdad3 Eo files docs: replace all @c/@p with $.
This is part of the new syntax.
2015-08-06 15:12:31 +01:00
Tom Hacohen bc8730acee Eo files: Replace all occurances of EINA_TRUE/FALSE to true/false. 2015-08-06 15:11:22 +01:00
Tom Hacohen bbb2d91891 Eo files: Use Elm.Widget_Item instead of Elm_Object_Item.
This is the correct Eolian type. Elm_Object_Item is dead.
2015-08-06 14:30:34 +01:00
Daniel Kolesa 84025861af elm: update new-style docs across elm so they validate right 2015-07-08 15:49:38 +01:00
Yakov Goldberg ea191cc69a elm_gengrid: move enums to elm_gengrid_item.eo
Move enums from elm_gengrid_common.h to elm_gengrid_item.eo in order to make them
more accessible for bindings.
2015-07-08 10:23:38 +03:00
SangHyeon Lee d700a9b86f gengrid: add item cache in gengrid for efficient realize/unrealize operation.
Summary:
gengrid realize/unrealize items each smart calculation if their posiiton is updated.
This concept will be occurred useless view object creation and deletion.
So instead of delete items in unrealize function, push item cache into cache list,
and pop item cache from cache list in realize function to reuse item view object
more efficiently.
the cache concept is already implemented in genlist widget and this patch is improved
item cache of genlist cache.
@feature

```
NOTICE: This patch is written under the D2561 Patch which add elm_gengrid_item_fields_update.
        So it must submitted after D2561.
```

Test Plan:
I've tested below three cases,
   1. tested ith this patch in elementary_test and checked all gengrid features are working properly.
   2. tested with changing CACHE_MAX to another value which is set 40 in default
       and checked all gengrid features are working properly.
   3. tested with set it->item->nocache true, and checked cache is never generated
       and checked all gengrid features are working properly.

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

Subscribers: eagleeye, singh.amitesh, Jaehyun

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-06-25 17:24:08 +02:00
Daniel Zaoui b4f6cf1c8c Adapt Eo classes to use new Eolian types 2015-05-20 16:08:53 +03:00
Daniel Kolesa 5535831733 eo: Eina_Bool -> bool 2015-05-18 16:27:18 +01:00
Daniel Kolesa 23632431bd eo: sync with eolian syntax changes
This change is being done as part of the changes started by
EFL revision 058a9c9d88.
2015-05-18 16:18:24 +01:00
Daniel Kolesa fd06107d07 eolian: use the new property syntax 2015-05-07 17:32:53 +01:00
Tom Hacohen f627a65ea9 Most of elm: Use correct Eolian namespace syntax. 2015-05-06 15:46:45 +01:00
Tom Hacohen 0b6bacd035 Elm widget+item: Use correct Eolian namespace syntax. 2015-05-06 15:46:45 +01:00
SangHyeon Lee f63e3008a7 list/genlist/gengrid: Fix default return value in eolian APIs.
Summary:
Some APIs need to return specific values for their usage.
For Examples, elm_xx_select_mode_get function need to return
ELM_OBJECT_SELECT_MODE_MAX when invalid input comes.
**Fixed API list :**
elm_list_mode_get
elm_list_multi_select_mode_get
elm_genlist_mode_get
elm_genlist_select_mode_get
elm_genlist_multi_select_mode_get
elm_genlist_item_type_get
elm_genlist_ttem_index_get
elm_genlist_item_select_mode_get
elm_gengrid_select_mode_get
elm_gengrid_multi_select_mode_get
elm_gengrid_item_index_get

Test Plan: Call API with NULL parameter and check return value.

Reviewers: Hermet, seoz, jaehwan, raster, eunue

Subscribers: id213sin

Differential Revision: https://phab.enlightenment.org/D2306
2015-04-10 14:30:46 +09:00
Lukasz Stanislawski 84a774f24e atspi: change object hierachy for elm_gengrid. 2015-04-06 10:24:57 +02:00
Youngbok Shin b48ab5e101 widgets: Apply default return value according to description in .eo or add description too.
Summary:
1) According to description in .eo file,
some APIs return not 0 when the given object is NULL or not proper object.
But, several APIs are not implemented as those description.
Now, they will return a value as description.
2) If there is no description about the return value when the API fail,
put description according to pair API or old version of elementary.
@fix

Reviewers: woohyun, Hermet, seoz

Differential Revision: https://phab.enlightenment.org/D1933
2015-02-09 13:09:05 +09:00
Daniel Juyung Seo a2b97d4abb doc: Fix typos in documentations. 2015-02-06 15:15:44 +09:00
Daniel Zaoui ef03bc098e Object Items: remove legacy APIs.
They are now generated by Eolian.
2014-11-12 12:03:58 +02:00
Daniel Zaoui ae4c43d2ee Elm Gengrid Item: Migrate to Eo 2014-11-12 12:03:56 +02:00