Commit Graph

41 Commits

Author SHA1 Message Date
Vitor Sousa a2f29b86c5 elementary: move definition of Elm_Gen_Item_Class to elm_general.eot
Move the definition of Elm_Gen_Item_Class from elm_gen.h to
elm_general.eot.
Also move the definition of its aliases Elm_Gengrid_Item_Class and
Elm_Genlist_Item_Class from elm_gengrid_common.h and
elm_genlist_common.h to elm_general.eot.

Rename these types to Elm.Gen.Item.Class, Elm.Gengrid.Item.Class and
Elm.Genlist.Item.Class to follow Eolian standards. And rename all
occurrences in .eo files accordingly.

Put elm_gen.h include above elm_general.h to allow the callback fields
to be defined in elm_general.eot.
2016-02-09 14:14:08 -02:00
Vitor Sousa 82e91cb805 elementary: rename classes in Eo files to use Elm as a namespace, not a prefix
Rename classes in Eo files that still uses "Elm" as a prefix to use it as a
namespace.
2016-02-09 13:34:37 -02:00
Tom Hacohen 23ac20bfce Widgets: remove duplicate declaration of language,changed signal.
They are already defined in Elm.Widget, and they inherit from it.

Fixes T3208.
2016-01-11 13:49:24 +00:00
Tom Hacohen 5affad30b4 Widgets: remove duplicate declaration of access,changed signal.
They are already defined in Elm.Widget, and they inherit from it.

Fixes T3208.
2016-01-11 13:49:20 +00:00
shashank.p 1e2b58a8c8 genlist: modified first/last/prev/next get API for filtered list.
Summary: elm_genlist_first_item_get(), elm_genlist_last_item_get(), elm_genlist_item_prev_get(), elm_genlist_item_next_get() should return the next filtered item if filter is applied on the genlist.

Test Plan: test_genlist.c => Genlist Filter demo updated

Reviewers: shilpasingh, cedric, SanghyeonLee

Subscribers: divyesh, rajeshps

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-11-09 16:03:08 -08:00
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
Tom Hacohen c6b0b53afd Genlist: migrate one missing doc string. 2015-08-10 12:51:51 +01:00
Daniel Kolesa 9a46fbfc23 genlist: convert docs 2015-08-07 15:47:40 +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 Zaoui 95910aed72 Focus: concentrate focused events in widget
The focused/unfocused events should be only defined in a common widget,
which is Elm.Widget.
2015-07-06 14:47:31 +03:00
Avi Levin 437f1f9f28 elm_genlist: porting evas smart callbacks to eo 2015-07-02 08:04:03 +03:00
Vitor Sousa e1959ee9b7 Replace C names by Eolian namespaced names in .eo files
Reviewers: tasn, felipealmeida, raster, cedric

Differential Revision: https://phab.enlightenment.org/D2750
2015-06-26 15:36:43 +01:00
Lukasz Stanislawski 1c9b108b8d genlist: implement Atspi_Selection interface
Allow to select and deselect genlist items by Assistive Technology
Clients through org.a11y.atspi.Selection dbus interface.
2015-05-26 15:36:06 +02:00
Daniel Zaoui b4f6cf1c8c Adapt Eo classes to use new Eolian types 2015-05-20 16:08:53 +03: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
Vitor Sousa 7b74f29445 Revised classes and interfaces in .eo files and added missing attributes
Summary:
Some newly implemented attributes are not present in several classes and
interfaces.

This patch:
- Adds some attributes (like @nullable, @optional, own, free) to several .eo files.
- Changes some eina types names to the equivalent eolian name (like "Eina_Bool" to "bool")
- Adds the element type of lists and iterators.

Reviewers: felipealmeida, tasn

Reviewed By: tasn

Differential Revision: https://phab.enlightenment.org/D2350
2015-05-06 15:46:46 +01:00
Tom Hacohen f627a65ea9 Most of elm: Use correct Eolian namespace syntax. 2015-05-06 15:46:45 +01:00
Tom Hacohen 5fc6407cd1 Elm layout: 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 5feb743ff9 atspi: add elm_genlist items support. 2015-04-06 10:24:57 +02:00
Lukasz Stanislawski c7a65b181d atspi: overload children_get method for elm_genlist 2015-04-06 10:24:56 +02:00
Daniel Juyung Seo a2b97d4abb doc: Fix typos in documentations. 2015-02-06 15:15:44 +09:00
Daniel Kolesa 05382aed68 update to eolian complex types (without complex part for now) 2014-09-09 14:53:02 +01:00
Daniel Juyung Seo 9df412f9b8 elm: Added # for enum in the documenation. 2014-09-01 00:44:10 +09:00
Daniel Kolesa c159cb2ebc update according to Eolian syntax changes 2014-08-21 09:27:32 +01:00
Lukasz Stanislawski 09b9ef0bc0 atspi: expose more actions through atspi bus.
Summary:
Main purpose of exposing widget actions and keyboard shortcuts
is to allow accessibility clients to implement alternative methods
of GUI navigation.

Reviewers: z.kosinski

Reviewed By: z.kosinski

Subscribers: seoz

Differential Revision: https://phab.enlightenment.org/D1227
2014-07-25 11:58:16 +02:00
Carsten Haitzler e741a19b21 fix genlist/grid search item patch to be simpler and just better
better - why?

1. no reliance on fnmatrch headers - have special enums for this so
fnmatch is an internal detail (casefole may not exist)
2. don't leak strduped strings - free them when done
3. have the same code for genlist and grid (dup for now until an
interface makes it the same search interface)
4. improve docs
5. get right @since version
6. use label get func in item class - providing a func won't work when
multiple items of multiple classes exist in the list
2014-07-24 12:41:33 +09:00
Daniel Kolesa 642049022a update according to eolian changes 2014-07-22 17:13:52 +01:00
Daniel Kolesa 815acbc305 move all eo files to new builtin bool type 2014-07-11 14:44:47 +01:00
Tom Hacohen 1bcdadb52e Eolian classes: Fix according to namespace changes in efl. 2014-06-30 17:52:16 +01:00
Daniel Kolesa 26df495e67 change the type syntax in eo files according to latest eolian changes 2014-06-28 23:51:25 +01:00
Daniel Kolesa fb62fde68f move all eo files to new namespace syntax 2014-06-20 10:47:39 +01:00
Daniel Kolesa 49c09c2d4b fix up some eo file documentation whitespace issues 2014-06-18 12:57:52 +01:00
Tom Hacohen efa41c7d75 Elm: Update code to use the new class names generated by eolian. 2014-06-03 11:54:44 +01:00
Kateryna Fesyna 28e73198f7 Genlist: Add function to search item by string.
Summary:
This function allows user to search for item in Genlist.
It takes four search parameters:
1. pointer to function to get text of the item. It could be the same with item's
   get_text function. This parameter is added to let user use the specific search key
   and to avoid problems with setting item's text, that is not constant.
2. pointer to the item from which search should start.
3. search pattern.
4. fnmatch() flags.
To check it's usage the new test is added to the elementary_test (Genlist Item Search By Text)

Reviewers: cedric, seoz, raster

CC: reutskiy.v.v

Differential Revision: https://phab.enlightenment.org/D566
2014-05-27 15:55:05 +09:00
Hosang Kim 0f636e890a genlist: Add item loop feature
Summary:
If item loop feature is enabled, item is moved infinitely.

    1. Refactor direction key event handling routine
      - added internal function _elm_genlist_elm_widget_event_direction.
    2. Add looping feature for genlist
      - added Eolian function _elm_genlist_elm_widget_item_loop_enabled_set/get.
    3. Add demo - test_genlist.c / genlist focus

Reviewers: seoz, woohyun, jaehwan, Hermet, raster

Reviewed By: Hermet

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

Conflicts:

	src/lib/elm_widget_genlist.h
2014-04-24 14:17:35 +09:00
Daniel Zaoui 2bc08afc83 Eolian: Integration of Genlist and Genlist Pan 2014-04-01 13:55:42 +03:00