Commit Graph

94 Commits

Author SHA1 Message Date
Daniel Juyung Seo beb4105d96 Elementary test_genlist.c: Added display only property to Group Index.
This compresses Group Index's height and disables touch events.


SVN revision: 57221
2011-02-21 16:31:32 +00:00
Daniel Juyung Seo cc6e4113c5 Elementary test_genlist.c: Fixed indentation.
SVN revision: 57215
2011-02-21 15:46:23 +00:00
Daniel Juyung Seo 84145a320e Elementary test: Fixed window name and window title name.
Unified window name like "genlist2", "genlist-group".
Unified window title name like "Genlist 2", "Genlist Group".


SVN revision: 57214
2011-02-21 15:33:40 +00:00
Carsten Haitzler 91ec4bb1da make genlist use different icon for end for testing.
SVN revision: 56019
2011-01-10 06:46:59 +00:00
Seunggyun Kim 73b7fe6228 From: Seunggyun Kim <sgyun.kim@samsung.com>
Subject: [E-devel]  [Patch] Group index support

I added group index feature.
This feature support to show item indicates group index.
I attached capture images showing group index.
As you can see attached png images, Group index item includes same group
items.

The group index is shown until every items that have same group index
are scrolled. so group index realize/unrealize is not excuteded in
_item_block_position function.
instead of the function, group index is controlled in _pan_calculate
function.

"Genlist Group" and "Genlist Group Tree" menu is added in
elementary_test. you can test group index operations in elementary_test.

This patch is not support elm_genlist_item_insert_before/after
operation of group index. We are now considering the operations in group index.,

This patch assumes that the previous 2 patches are already applied to upstream.
'[E-devel] [Patch] Tree support for elm_genlist_item_prepend() API.'
'[E-devel] [Patch] Tree support for
elm_genlist_item_insert_before/after() APIs',
So this patch does not include the changes of the previous patch.

I separated this patch.

- 004.elm_genlist.c.patch.txt
    Patch for src/lib/elm_genlist.c
- 005.test_genlist.c.patch.txt
    Patch for src/bin/test_genlist.c 
- 006.genlist.patch.txt
    Patch for data/theme/default.edc
            
And you have to add attached group_index.png file into 'data/themes'
'group_index.png' file is group index background image. 


Daniel Juyung Seo help make test code and refactoring group index code.



SVN revision: 55925
2011-01-06 05:13:11 +00:00
Daniel Juyung Seo 2c441b83a7 From: Daniel Juyung Seo <juyung.seo@samsung.com>
Subject: [E-devel] [Patch] Tree support for
elm_genlist_item_insert_before/after() APIs

I added tree feature support to
elm_genlist_item_insert_before/after() APIs.

This patch assumes that the previous patch, '[E-devel] [Patch] Tree
support
for elm_genlist_item_prepend() API.', is already applied to upstream.
So this patch does not include the changes of the previous patch.

This patch includes API break. I added parent parameter.
To support genlist group index feature, it should have a parent
parameter
like elm_genlist_item_append/prepend() do.
Raster already agreed to this API break.
I or my co-worker will introduce genlist group index feature today.
But for the reviewer's convenience, I separated this patch.

- 001.elm_genlist.patch.txt
   Patch for src/lib/elm_genlist.c
- 002.elm_genlist.patch.txt
   Patch for src/lib/Elementary.h.in, src/bin/test_genlist.c
- 003.elm_genlist.patch.txt
   Due to API break, I changes other EFL libraries and applications on SVN. 



SVN revision: 55869
2011-01-05 06:03:43 +00:00
Bruno Dilly a69cc68c57 Add elm_genlist_item_item_class_update
1. elm_genlist_item_item_class_update() API
It is required to change an item's item class on run-time.
Applications want to change a certain item's style and callbacks
dynamically.
This looks ok because changing one item's style does not affect performance,
And this API uses elm_genlist_item_update internally.
API name follows elementary naming conventions.
I've also added test code to elementary_test, Genlist 7.

2. constant to macro.
I replaced 2 constants for max_item_per_block and longpress_timeout to
macros.
This could be used in other places of the code.

3. duplicated assignment.
In elm_genlist_item_append, it->before = 0 is written in if and else.
I put this statement out of if().

4. fix doxygen typo
I fixed elm_genlist_compress_mode_set doxygen.

By: Daniel Juyung Seo <juyung.seo@samsung.com>



SVN revision: 54639
2010-11-17 17:15:28 +00:00
Bruno Dilly 715dbba805 This small patch allows to get a smart callback when the scrollers in an
elm_list or in an elm_genlist fire the edge,{top,bottom,left,right}
signals, backporting them to the list object.

The new smart callbacks called are:
 · "scroll,edge,top" - the list is scrolled until the top edge
 · "scroll,edge,bottom" - the list is scrolled until the bottom edge
 · "scroll,edge,left" - the list is scrolled until the left edge
 · "scroll,edge,right" - the list is scrolled until the right edge

SVN revision: 3



SVN revision: 54393
2010-11-10 02:48:59 +00:00
Carsten Haitzler 957db2c37e back to 2000 items in test.
SVN revision: 54216
2010-11-06 06:19:05 +00:00
Carsten Haitzler a43c1d9ed1 improve genlist item realize/nrealize by almost 2x. (4.7->2.7 sec for
processing of a genlist queue of 20,000 items). added genlist item
cache to do this. yay!. also wil improve runtime scrolling -
realiz/unrealize will be also equivalently faster, so less add/del
overhead for the edje objects in gnelist itself. the icons that apps
swallow in still get deleted and created. this is another matter for
anothr day. ant be solved inside of genlist itself. probably need an
unrealize callback per item and a way to steal your icons back from
the item.



SVN revision: 54214
2010-11-06 06:02:22 +00:00
Tiago Rezende Campos Falcao 4672a51b0c Remove tests == 0 and != 0
SVN revision: 53787
2010-10-22 21:41:27 +00:00
Tiago Rezende Campos Falcao 1a93e760bd Coccinelle
SVN revision: 53786
2010-10-22 21:41:22 +00:00
Bruno Dilly 4ea66676b3 Fix some Wextra complains on elm bin
SVN revision: 53636
2010-10-19 18:25:22 +00:00
Tiago Rezende Campos Falcao 75120e2617 Removed unused variables
SVN revision: 53619
2010-10-19 14:17:06 +00:00
Daniel Juyung Seo a72a57c801 Fix a typo in title
Patch by: Daniel Juyung Seo <seojuyung2@gmail.com>



SVN revision: 53593
2010-10-19 11:02:55 +00:00
Lucas De Marchi 4261676ee0 swipe event for the elm_genlist
By: ceolin <flavio.ceolin@profusion.mobi>



SVN revision: 53441
2010-10-15 11:24:46 +00:00
Bruno Dilly 9fa9c659e5 Remove dead assignments from elementary
The only one remaining is on index code, related to the not yet
implemented horizontal mode.



SVN revision: 53396
2010-10-14 14:10:33 +00:00
Carsten Haitzler 5dcabea22e other part of genlist tree expand depth patch. test code.
SVN revision: 53136
2010-10-07 07:30:44 +00:00
Bruno Dilly 333e06b357 Clean up some dead code on elementary
SVN revision: 52764
2010-09-25 22:08:56 +00:00
Tiago Rezende Campos Falcao 9d310ab6d2 Removing warnings in elm_tests.
Most of the errors referred to the cast from int to void* in x86_64.
This need conversion to long, as intermediate.

Some calls to elm_widget not exposed API were changed to their similar
at elm_object API.

Elm_Photo never call "drop" smart callback, but i leave the callback
in tests.

And others API methods are included in Elementary.h

Now elementary build with -Wall -Werror in x86_64.

SVN revision: 52691
2010-09-24 14:48:15 +00:00
Gustavo Sverzut Barbieri 902819723b Fix tests to use the void *data instead of const...
SVN revision: 52374
2010-09-17 16:34:59 +00:00
Bruno Dilly d7f29ebf7c fix for Ecore API changes on test_genlist
SVN revision: 49867
2010-06-25 22:28:06 +00:00
Andreas Volz 317230f240 added a usage hint about casting int to void* and back
SVN revision: 49071
2010-05-20 18:00:33 +00:00
Carsten Haitzler 7aceaa4a41 support flush and dump protocol - also add call to do this by requuest from
the app itself.



SVN revision: 47949
2010-04-12 08:27:10 +00:00
Carsten Haitzler 31c4f0349c 1. if window is transient for another.. if parent del - nuke reference to it
in transient.
2. addd flush button in genlist test - for exposing memory issues.



SVN revision: 47757
2010-04-05 04:58:43 +00:00
Carsten Haitzler 31321fb483 add test case for longpress and selected in genlist.
SVN revision: 47522
2010-03-28 01:44:56 +00:00
Carsten Haitzler 23d121c6e7 take that - more warning--
SVN revision: 47098
2010-03-10 04:13:34 +00:00
Gustavo Sverzut Barbieri fca2fb30c9 fix most llvm/gcc real bugs.
SVN revision: 46762
2010-03-02 01:27:08 +00:00
Carsten Haitzler 6a7271084d slight change in drag events vs scrolling on_hold to fix small "distance
race" issue.



SVN revision: 46505
2010-02-26 06:30:17 +00:00
Carsten Haitzler 5a8adbf9b7 add some callback tests.
SVN revision: 46049
2010-02-10 15:11:16 +00:00
Carsten Haitzler 131ac8349a demo++
SVN revision: 45778
2010-02-01 16:46:26 +00:00
Vincent Torri 3901a68403 fix warnings
SVN revision: 44575
2009-12-19 13:55:08 +00:00
Christopher Michael 89f638827e Temp fix for genlist horizontal resize lag by commenting out
horizontal_mode_set(ELM_LIST_LIMIT).



SVN revision: 43994
2009-11-25 21:14:37 +00:00
Carsten Haitzler 1b7241944d fix some freeze issues with scroller.
SVN revision: 43887
2009-11-22 06:25:10 +00:00
Jonathan Atton 947f7ffd37 Elm genlist: add elm_genlist_item_middle_bring_in/show(item)). Elm slideshow : fix a problem with the timer
SVN revision: 43087
2009-10-14 21:57:46 +00:00
Jonathan Atton 4d98337d81 elm test genlist : Add bring in 50th and 1500th items.
SVN revision: 43005
2009-10-10 15:59:55 +00:00
Carsten Haitzler 6643ff85ec 1. move orientation box call to after back- this makes the box do a calc
2. too keen on removing swallows. add back.



SVN revision: 42955
2009-10-08 06:18:51 +00:00
Christopher Michael 4edc6ac299 EVAS_HINT_EXPAND/EVAS_HINT_FILL changes in mass.
(Built and tested)



SVN revision: 42779
2009-09-28 19:23:33 +00:00
Carsten Haitzler d3ec3dbaaf genlist - get item at xy. handy for dnd. skips blocks that dont intersect
SVN revision: 42635
2009-09-23 03:22:07 +00:00
Carsten Haitzler d16c275e55 fix some more
SVN revision: 42482
2009-09-14 04:21:52 +00:00
Carsten Haitzler 046d4dfa7f test callbacks and fix select on drag
SVN revision: 42344
2009-09-08 06:35:14 +00:00
Carsten Haitzler 3167305fa7 fix scroll freeze and propagate to built-in scrollers. also genlist now knows
about dragging items. callbacks for that.



SVN revision: 42342
2009-09-08 06:20:32 +00:00
Jonathan Atton fef6a50cf4 Add test insert_after/before in the test genlist 2
SVN revision: 41893
2009-08-20 17:49:04 +00:00
Davide Andreoli cf6f01b171 * Split up elementary test.c in several files, one per widget
SVN revision: 41749
2009-08-13 22:41:43 +00:00