Commit Graph

743 Commits

Author SHA1 Message Date
Yakov Goldberg 5c98343198 We have ported to Eo all the widgets of elementary. We didn't change the inheritance itself, only the mechanism, as done previously in Evas, Ecore and Edje. We removed totally the previous inheritance mechanism.
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 79668
2012-11-26 06:32:53 +00:00
Shinwoo Kim f81147a18e [access] enhance access feature
1. add _elm_access_object_unregister(); api.
  2. unregister access object properly when unregister widget item.
  3. modify improper access object check.
  4. [list] add smart_access(); lines to provide run time register, unregister.
  5. [genlist] unregister access object when genlist item is unrealized.



SVN revision: 79444
2012-11-19 13:08:54 +00:00
Daniel Juyung Seo d0a90625cf elm genlist: Trigger item unhighlight on item unselect automatically. This fixes 1. longpressed item highlighted bug and 2. reorder mode item highlighted bug.
SVN revision: 79397
2012-11-16 14:26:12 +00:00
Daniel Juyung Seo 939e024fb4 elm gengrid/genlist: Refactoring. Now genlist/gengrid item new functions look similar.
SVN revision: 79395
2012-11-16 14:26:07 +00:00
Daniel Juyung Seo ea644c1552 elm genlist/gengrid: Refactoring.
SVN revision: 79394
2012-11-16 14:26:04 +00:00
Shinwoo Kim e7b69398d1 [access][genlist] enhance access feature - add access activate callback.
*note: this commit - callback behavior - would be disputable, becuase genlist has
       "clicked,double", "selected" and "activated" signal and smart callback also.
       but the access acitvate callback works as the item is selected.



SVN revision: 79369
2012-11-16 09:17:56 +00:00
Michael BOUCHAUD a74c497ffb elmentary: add elm_genlist_nth_item_get
SVN revision: 79295
2012-11-14 15:46:14 +00:00
Daniel Juyung Seo adc7416fcb elm access: Rename access hook name according to elm refactoring.
SVN revision: 78993
2012-11-08 08:33:26 +00:00
Michael BOUCHAUD 1bdf3799a4 elementary: a better fix to not remove an inexistant block items
SVN revision: 78518
2012-10-26 10:27:13 +00:00
Michael BOUCHAUD bafad20f2d elementary: if no items block to del return
SVN revision: 78434
2012-10-25 09:55:27 +00:00
Shinwoo Kim f22b576f0b use existing macro ELM_RECT_INTERSECT(x, y, w, h, xx, yy, ww, hh) to check displayed item.
SVN revision: 78380
2012-10-24 02:01:58 +00:00
Shinwoo Kim 68b2ea66ea dear all, hello.
genlist could have LOTS of items. so it would be better to use only displayed items for the focus chain.
please check the attachment and give feedback. thanks.

cordially,
shinwoo kim.


SVN revision: 78378
2012-10-24 01:06:05 +00:00
Michael BOUCHAUD e451522ac3 elementary: fix promote on first item and demote on last item of a genlist
SVN revision: 78375
2012-10-23 15:13:09 +00:00
Bluezery e0b7de5996 Elm genlist: Revert "From: Bluezery <ohpowel@gmail.com>"
Subject: [E-devel] [E-Devel][Patch][Elementary]Genlist - Edje Item
    Cache Refactoring

    This is patch for reconstructing genlist's item cache.
    Each item cache functions do harsh jobs so just push,pop by
    Elm_Gen_Item * now.
    Before, cache is disabled by comments. But I enabled item cache again
    (even for the case which tree_effect_enabled is on).

    I changed some functions:
    _item_cache_find() --> _item_cache_pop()
    _item_cache_add() --> _item_cache_push()
    _item_cache_zero() -->_item_cache_all_free()

    And I removed _item_cache_clean() function because I made
    _item_cache_push() to don't exceed the item_cache_max. So clean-up of
    cache is not needed anymore.

Breaks "genlist 2" test and clouseau. Just open genlist 2, press the "X"
button, and then the "+" button.

This reverts commit 77944.

SVN revision: 78336
2012-10-22 14:34:43 +00:00
DUBEYPRINCE KUMAR 1b2a42c819 From: DUBEYPRINCE KUMAR <prince.dubey@samsung.com>
Subject: [E-devel] [PATCH][ELEMENTARY][BUG Fix] Current Reordering
item is not resizing on genlist resize (e.g On roation)

Please review the attached patch created to fix the current reordering
item
resizing issue.
 
 [ISSUE] Current genlist reordering item is not resizing on genlist
resize
(e.g. On rotation).
 
Change Description:
 
In _calc_job call back, the width of reordering item is corrected.
   


SVN revision: 77992
2012-10-15 09:10:05 +00:00
Bluezery 7e4f0011bd From: Bluezery <ohpowel@gmail.com>
Subject: [E-devel] [E-Devel][Patch][Elementary]Genlist - Edje Item
Cache Refactoring

This is patch for reconstructing genlist's item cache.
Each item cache functions do harsh jobs so just push,pop by
Elm_Gen_Item * now.
Before, cache is disabled by comments. But I enabled item cache again
(even for the case which tree_effect_enabled is on).

I changed some functions:
_item_cache_find() --> _item_cache_pop()
_item_cache_add() --> _item_cache_push()
_item_cache_zero() -->_item_cache_all_free()

And I removed _item_cache_clean() function because I made
_item_cache_push() to don't exceed the item_cache_max. So clean-up of
cache is not needed anymore.



SVN revision: 77944
2012-10-13 04:23:43 +00:00
Carsten Haitzler 3a2c283d26 i have no idea now why i put this here, hmm yes it did disable item
cache - re-enable! :(



SVN revision: 77750
2012-10-10 11:06:00 +00:00
Carsten Haitzler f917683f58 oops i didnt mean to commit this with shinwoo's patch. remove.
SVN revision: 77749
2012-10-10 11:03:44 +00:00
Kim Shinwoo 0864af3230 From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: [E-devel] [patch][elementary] multibuttonentry - access feature

i have attached a patch which has access feature for the multibuttonentry.
it was hard time to implement access feature on the multibuttonentry than
others.



SVN revision: 77738
2012-10-10 09:37:50 +00:00
Stefan Schmidt f2f7c1deef elementary/genlist: Init itc to NULL before using it.
SVN revision: 77320
2012-10-02 12:53:58 +00:00
Daniel Juyung Seo 838684f1bf elm genlist: Fixed reorder mode to scroll the pan when reorder item approaches to the edges. Patch by Bluezery <ohpowel@gmail.com>
On Fri, Sep 28, 2012 at 10:04 PM, Bluezery <ohpowel@gmail.com> wrote:
> Dear EFL developers,
>
> In current genlist reorder mode, reordering is not moved when
> reordering item is on top or in bottom of within genlist objec because
> of scroller's hold mode.
> After mouse point is moved out of genlist object, then reordering item
> can be moved.
> But in mobile, mouse point can not be moved out of window (if genlist
> item is expanded in window).
> So I add some tweaks to reordering item can be moved when reordering
> item is moved on top item or bottom item.
>
> Please review this patch.
>
> BRs
> Kim.

SVN revision: 77255
2012-10-01 08:55:46 +00:00
Daniel Juyung Seo 30dba54610 elm: Fixed indentations for EINA_LIST/INLIST_FOREACH(_SAFE).
SVN revision: 77244
2012-10-01 07:36:27 +00:00
ChunEon Park 5db89a0439 elementary/genlist - my fault. fixed build error :1
SVN revision: 77219
2012-09-29 18:45:15 +00:00
ChunEon Park 48613d7cd8 elementary/genlist - remove it safely.
SVN revision: 77218
2012-09-29 18:40:43 +00:00
Daniel Juyung Seo e93b428fa8 elm genlist: Fixed wrong reorder animation. Patch by Bluezery <ohpowel@gmail.com>
On Fri, Aug 31, 2012 at 8:50 PM, Bluezery <ohpowel@gmail.com> wrote:
> Hello,
>
> Sometimes reorder animation ended incorrectly
> You can test & see the problem when background color is black and
> genlist item color is white.
> I made the added value for animation as difference between old item
> position and new item position if difference is below predefined dy.
> (y = diff, if diff < dy) So item position can be finally new item
> position at last.
> Please review this patch.
>
> Thanks

SVN revision: 75950
2012-09-03 06:20:47 +00:00
Mike Blumenkrantz 6d12d3eb8b prevent crash when selected item hasn't been assigned a block
SVN revision: 75771
2012-08-28 09:53:35 +00:00
Kim Shinwoo 4de57c2cb9 From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: [E-devel] [patch][elementary] *  access *

Series of of pathes from kim shinwoo. looked good to me - so in they
go, finishing off some more access mode to be more complete.



SVN revision: 75415
2012-08-18 13:52:03 +00:00
Daniel Juyung Seo 55e21cf2b1 elm genlist.c: Fixed genlist horizontal scrolling issue. This needs to be enalbed only in compress mode.
SVN revision: 75289
2012-08-15 09:52:26 +00:00
Carsten Haitzler 163e778546 found min width genlist bug. fix.
SVN revision: 75250
2012-08-14 10:13:19 +00:00
Carsten Haitzler 8736ffdd3e genlist tree effect off fix.
SVN revision: 75249
2012-08-14 09:38:36 +00:00
Daniel Juyung Seo a9e899f9a2 elm genlist: Partial revert of my wrong commit r75161.
SVN revision: 75180
2012-08-12 23:56:37 +00:00
Daniel Juyung Seo b3319660b6 news: Updated recent news in Korean.
SVN revision: 75161
2012-08-12 07:23:51 +00:00
Carsten Haitzler 8dbc93c237 sorry yoz - u cant use min size set from outside the widget as wisgets
set it all the time themselves for read-only use outside. :) if uw ant
this u have to accomplish this another way. eg table with genlist PLUS
invisible rect obj at the same cell spot (0, 0, 1x1). and make the
invisible rect have a min size hint. table takes care of using the
"constraints" of both rect and gnelist then for sizing. :)



SVN revision: 75044
2012-08-09 12:12:29 +00:00
Michael BOUCHAUD 823b9dded7 elementary: elm_genlist take account of min vertical size hint
SVN revision: 75021
2012-08-08 19:47:26 +00:00
Carsten Haitzler c0c404eef8 1 more bug gone - genlist if scrollbars appear/dissapear. content
doesnt adapt.



SVN revision: 74846
2012-08-03 12:49:37 +00:00
Gustavo Lima Chaves f6b6104dd6 [elm] Genlist now inheritable.
Widgets having internal panning objects won't have so fancy inheriting
schemas for those very objects, but they should be fine with
re-defining their own, if they want/need and overwriting it in their
smart_add()s.



SVN revision: 74682
2012-07-31 22:06:06 +00:00
Daniel Juyung Seo 4f14e49e5f elm genlist: Enhance genlist item unrealize performance by
initializing text parts first. Patch by Bluezery <ohpowel@gmail.com>

On Thu, Jul 26, 2012 at 2:29 PM, Bluezery <ohpowel@gmail.com> wrote:
> Hello,
>
> This patch make genlist free their text parts when each item is
unrealized.
> Before this patch, the item is just cached when an item is unrealized
> and the text part is freed and set by other text when the cached item
> is realized.
> This improves scrolling performance with very long text because this
> can reduce needless edje size recalculation time.
>  Please review this patch.
>

SVN revision: 74413
2012-07-26 05:50:31 +00:00
Daniel Juyung Seo a78f99241f elm genlist: Fixed garbage item issue in decorate all mode.
This fixes "elm - genlist decorate all mode on and scroll - garbage
items left around."

Note: Do not manipulate swallowed items. Unswallow it first then
manipulate it.

SVN revision: 74412
2012-07-26 05:50:21 +00:00
Gustavo Lima Chaves 7d1ffe6195 [elm] Some oopsies--.
SVN revision: 74405
2012-07-25 22:03:07 +00:00
Gustavo Lima Chaves 584c53c1be [elm] New elm_widget_add() usage spread.
SVN revision: 74148
2012-07-18 21:03:39 +00:00
Gustavo Lima Chaves 9cea522b88 [elm] Genlist now a scrollable layout.
The ERRs thrown on the terminal while exiting some tests were already
there -- check that those decorate and stuff modes add lots of NULL
children on lists.

Genlist work exactly as before. All the bugs and feature were kept :)



SVN revision: 73941
2012-07-16 21:56:30 +00:00
Daniel Juyung Seo 11d5f579a7 elm genlist: Vertical bounce enable value can be changed by
elementary configuration environment. Patch by Bluezery
<ohpowel@gmail.com>

On Thu, Jul 12, 2012 at 1:00 AM, Bluezery <ohpowel@gmail.com> wrote:
> Hello,
>
> Vertical bounce enable value can be changed by elementary
> configuration environment.
> But currently It was always EINA_FALSE.  I fix that this value can be
> got from elm_config value.
>
> Please review this patch.
> Thanks

SVN revision: 73596
2012-07-12 04:46:46 +00:00
Daniel Juyung Seo 36d4de353a elm genlist: Fixed homogeneous mode bug with ELM_OBJECT_SELECT_MODE_DISPLAY_ONLY item. Now it calculates display only item size correctly.
SVN revision: 72910
2012-06-27 03:23:52 +00:00
Daniel Juyung Seo a47bf5576f elm genlist: Fixed tree expand bug. Check item type when an item is
requested to be expanded/contracted.

SVN revision: 72790
2012-06-25 08:42:26 +00:00
Daniel Juyung Seo 49a68f7f74 elm genlist: Fixed a bug with decorate all mode + tree effect. Delete tree effect animator and set the effect mode to none when decorate all mode is set.
SVN revision: 72591
2012-06-21 10:56:15 +00:00
Daniel Juyung Seo be4e82df1c elm genlist: Fixed formatting.
SVN revision: 72575
2012-06-21 08:36:21 +00:00
Carsten Haitzler 02e4bce0b1 fix genlist issue that turned up in terminology fn selector where all
items get realized. fix! :)



SVN revision: 72377
2012-06-18 09:54:00 +00:00
Daniel Juyung Seo 282f65fe8d elm genlist: Unbork genlist group index and fix it in a correct way. Thanks to Raster for notifying that bug.
SVN revision: 72304
2012-06-17 17:20:23 +00:00
Carsten Haitzler fae68f6397 add xxx for tomorrow.
SVN revision: 72246
2012-06-16 19:07:45 +00:00
Carsten Haitzler 8b5963cd77 fix group item header placement when genlist is not at 0,0 - ppl dont
test this :)



SVN revision: 72234
2012-06-16 12:55:29 +00:00
Daniel Juyung Seo 1f01713eb3 elm genlist: Removed 'const' from elm_genlist_decorated_item_get() API's return value. This API was aimed to manipulate decorated item so no const for the return value. Raster confirmed that this is not a API break. Thanks.
SVN revision: 72221
2012-06-16 10:12:15 +00:00
Daniel Juyung Seo fab4708d34 elm genlist: Unset decorate item mode when decorate mode set is called. Yes that's so confusing. 'Decorate Item Mode' and 'Decorate Mode' are different and exlusive from the implementation.
SVN revision: 72173
2012-06-15 07:58:08 +00:00
Mike Blumenkrantz 9d8f93b568 also fix selected item scrolling when item prepended to the genlist is offscreen
SVN revision: 71554
2012-05-30 10:44:59 +00:00
Mike Blumenkrantz 858244d77c fix genlist item signals on prepend
SVN revision: 71547
2012-05-30 09:14:45 +00:00
Hyoyoung Chang 1919ee907a elementary/genlist: clean up codes
SVN revision: 71541
2012-05-30 08:09:09 +00:00
Daniel Juyung Seo 0b28098b21 elm genlist: Fixed formatting. Added more braces.
SVN revision: 71539
2012-05-30 07:27:05 +00:00
Daniel Juyung Seo f12d4cc336 elm genlist: Cut off long lines.
SVN revision: 71533
2012-05-30 06:40:46 +00:00
Daniel Juyung Seo 2f1dfc108e elm genlist: Use EINA_SAFETY_ON_TRUE_RETURN for nicely warn user.
SVN revision: 71528
2012-05-30 04:57:29 +00:00
Mike Blumenkrantz 5c725cf60c genlist tree items now animate their collapse properly when there are fewer items than the maximum size of the viewport allows
SVN revision: 71508
2012-05-29 15:00:17 +00:00
Mike Blumenkrantz b9f0a6d736 genlist prepends no longer cause selected items to be autoscrolled out of the viewport
SVN revision: 71500
2012-05-29 10:25:55 +00:00
Mike Blumenkrantz 47dc963983 fix case where user can specify item block size < 1; this also reveals an api error since the param here should obviously be a uint.
SVN revision: 71498
2012-05-29 09:04:42 +00:00
Mike Blumenkrantz e89088bde6 simplify item block deletion merging
SVN revision: 71496
2012-05-29 09:04:16 +00:00
Hyoyoung Chang 1a13829c1d elementary/genlist: fix indent
SVN revision: 71385
2012-05-24 04:59:52 +00:00
Carsten Haitzler 8839f523c2 remove goto and use if () instead
SVN revision: 71383
2012-05-24 04:44:44 +00:00
Hyoyoung Chang 6b28932fbf elementary/genlist: add short cut in item bring in calc.
fix compress_mode documentation.


SVN revision: 71349
2012-05-23 07:31:03 +00:00
Carsten Haitzler 5948ae4fba Fix genlist ELM_LIST_LIMIT mode to do what it originally did.
Documentation was wrong too and code had a slight bug stopping
genlist from contracting to min size.
Optimize the case of COMPRESS + homogeneous mode to avoid
queue entirely and use existing known item sizes.
        


SVN revision: 71140
2012-05-16 05:28:40 +00:00
Hyoyoung Chang 87e7198049 elementary/genlist: pan calculate if blocks changed at _item_block_del
SVN revision: 70903
2012-05-10 06:30:49 +00:00
Hyoyoung Chang b52e855c5a elementary/genlist: add to check items at focus_hook
SVN revision: 70893
2012-05-09 10:43:35 +00:00
ChunEon Park cd2202140d elementary/genlist - genlist patch
Please find attached updated patch. 

Change log: Genlist - crash fix (if itc parameter is passed as NULL ) 

Signed-off by: Shilpa Singh<shilpa.singh@samsung.com>

Thanks & Regards 

Shilpa 



SVN revision: 70833
2012-05-07 02:05:35 +00:00
Daniel Juyung Seo 9686b496c6 elm genlist: Realize move items during tree effect only when the item is not in the queue.
SVN revision: 70517
2012-04-27 11:08:53 +00:00
Daniel Juyung Seo 2d418589b0 elm genlist: Fixed genlist expandable effect bug when we expand/contract items with many children very quickly.
SVN revision: 70516
2012-04-27 11:08:46 +00:00
Hyoyoung Chang 78c20c9266 genlist : remove useless tabs
SVN revision: 70471
2012-04-25 13:37:20 +00:00
Hyoyoung Chang 22e4c79dbe genlist : clean up formatting
SVN revision: 70470
2012-04-25 13:31:37 +00:00
Carsten Haitzler ca6111b857 thanks to brian wang - check if show item has a block.
SVN revision: 70452
2012-04-25 00:44:16 +00:00
Michael BOUCHAUD db07a49c38 elementary: use FOREACH_SAFE we remove an element in the loop
SVN revision: 70364
2012-04-20 14:31:51 +00:00
Carsten Haitzler 3a7b769a63 use the new escape text set to clear up issues if theme has TEXT vs
TEXTBLOCK items and handling escapes so text is consistend across elm.
fiuxes the fileselector issues kai reported.



SVN revision: 70362
2012-04-20 12:51:10 +00:00
Daniel Juyung Seo c1aab815f3 elm genlist: Remove item from moved_item when an item is deleted and set effect mode to none when the deleted item is an expanded_item.
SVN revision: 70359
2012-04-20 10:50:46 +00:00
Daniel Juyung Seo d133cec514 elm genlist: Fixed genlist crash issue when huge amount of items are expanded/contracted in a short time.
SVN revision: 70358
2012-04-20 10:50:42 +00:00
Daniel Juyung Seo 3663ddc1d0 elm genlist: Use Widget_Data variable for convenience.
SVN revision: 70357
2012-04-20 10:50:39 +00:00
Daniel Juyung Seo 75ee2bb1a4 elm genlist: Use ECORE_CALLBACK_CANCEL rather than EINA_FALSE for animator.
SVN revision: 70356
2012-04-20 10:50:33 +00:00
Daniel Juyung Seo cbddd07a8b elm genlist: Fixed grid segfault issue. Patch by Hyoyoung Chang
<hyoyoung@gmail.com>

On Fri, Apr 20, 2012 at 4:10 PM, Hyoyoung Chang <hyoyoung@gmail.com>
wrote:
> Dear all,
>
> After introduced flipped mode to genlist, some clearing process is
> added to _elm_genlist_item_unrealize.
> In item _elm_genlist_item_unrealize, item is casting to gengrid item
> or genlist item.
> segfault is occurred in _elm_genlist_item_unrealize at using gengrid.
> this patch moves flipped mode clearing process to _item_realize_cb.
>
> Thanks.
>

SVN revision: 70355
2012-04-20 08:44:48 +00:00
Daniel Juyung Seo efe4997a78 elm genlist: Fixed item selection bug with decorate_all mode. Patch by
Hyoyoung Chang <hyoyoung@gmail.com>

On Fri, Apr 20, 2012 at 5:19 PM, Hyoyoung Chang <hyoyoung@gmail.com>
wrote:
> After discuss with seoz, i changed to not clean selections also i
> removed the new added internal func.
>
> Thanks
>
> On Fri, Apr 20, 2012 at 4:00 PM, Hyoyoung Chang <hyoyoung@gmail.com>
wrote:
>> Dear all,
>>
>> I made a small patch to fix remained selection bug.
>> In decorate all mode, some item selection is not cleared after unset
>> decorate all mode.
>> I added to fix it.
>> And make unselecting common routine to a internal function.
>>
>> Thanks.

SVN revision: 70354
2012-04-20 08:40:13 +00:00
Daniel Juyung Seo 4a1590c6cb elm genlist: Fixed formatting.
SVN revision: 70353
2012-04-20 08:40:10 +00:00
Hyoyoung Chang d80dd9cb7e From: Hyoyoung Chang <hyoyoung@gmail.com>
Subject: [E-devel] [patch] elm_genlist - bugfix at item flipped

I made a small patch about item flipped.
It resolves two bugs

1. flip_set and unset is called quickly, sometimes genlist can't free
flipped data.
it fixed to remove checking flipped status in item unrealize

2. add item unhighlight at flip_job



SVN revision: 70306
2012-04-18 10:43:51 +00:00
chanwook jung 55138d3bd2 From: chanwook jung <jchanwook@gmail.com>
Subject: [E-devel] [Patch][Genlist] fix the bug in _elm_genlist_item_del_notserious

I made a patch to fix the bug in _elm_genlist_item_del_notserious.
If relcount is not 0 or walking is not 0, return.



SVN revision: 70291
2012-04-18 09:07:36 +00:00
Hyoyoung Chang 6be49b9abf From: Hyoyoung Chang <hyoyoung@gmail.com>
Subject: [E-devel] [patch] elm_genlist - some lines indent fixes

I fixed several lines indent.
Also remove useless comments.



SVN revision: 70173
2012-04-13 11:29:19 +00:00
Daniel Juyung Seo 316a8cd712 elm genlist.c: Removed elm_object_item_content_set/unset, text_set hook.
SVN revision: 70153
2012-04-12 15:35:09 +00:00
Daniel Juyung Seo 12da5dc07d elm genlist: genlist/gengrid do not support elm_object_item_part_text/content_set/unset. Use normal callback systems.
SVN revision: 70122
2012-04-12 07:14:21 +00:00
Daniel Juyung Seo c4fc10388c elm list/genlist: Renamed interval text get/set hook name.
SVN revision: 70121
2012-04-12 07:14:15 +00:00
Daniel Juyung Seo f4da9d343b elm genlist: Get the stringlist only when it does not exist. Free the stringlist when we change the item class.
SVN revision: 69946
2012-04-06 07:10:29 +00:00
Daniel Juyung Seo 02082649a0 elm genlist: Renamed internal variables. Patch by Hyoyoung Chang
<hyoyoung@gmail.com>
On Thu, Apr 5, 2012 at 3:13 PM, Hyoyoung Chang <hyoyoung@gmail.com>
wrote:
> Dear all,
>
> It simple renaming patch for elm_genlist.
> I rename two variables.
>
> deco_all_obj -> deco_all_view
> deco_all_textss -> deco_all_texts
>
> Thanks

SVN revision: 69945
2012-04-06 07:10:26 +00:00
Daniel Juyung Seo f7f801f7be elm genlist: Patch for elm_genlist_item_fields_update. Patch by
Hyoyoung Chang <hyoyoung@gmail.com>
On Thu, Apr 5, 2012 at 3:12 PM, Hyoyoung Chang <hyoyoung@gmail.com>
wrote:
> Dear all,
>
> I made a patch for elm_genlist_fields_update to selective content
update.
> a genlist item can update any content regardless of its mode.
>
> Thanks.
>
> PS: It assumed my previous patch is applied ([patch] elm_genlist -
> split flip content from item's content)

SVN revision: 69944
2012-04-06 07:10:20 +00:00
Daniel Juyung Seo 676712d8a6 elm genlist: Refactored flip mode. Patch by Hyoyoung Chang
<hyoyoung@gmail.com>
On Wed, Apr 4, 2012 at 9:23 PM, Hyoyoung Chang <hyoyoung@gmail.com>
wrote:
> Dear all,
>
> in genlist flip mode, a item shares its content and flip content.
> it's split flip content patch.
>
> Thanks.

SVN revision: 69941
2012-04-06 04:14:48 +00:00
Jihoon Kim b7c213af86 elementary: ignore key event of keypad when NumLock is turned on in calendar, diskselector, gengrid, genlist, and player
SVN revision: 69939
2012-04-06 00:56:06 +00:00
ChunEon Park 363a5fa126 elementary/genlist - [E-devel] [Patch][Genlist] removed unnecessary code in _clear_cb
Dear ALL,

If the block that must be removed/freed, it has already removed/freed in
_item_block_del.
So I removed the code in _clear_cb.

Thanks
Joey

Submitted-By-Off ChankWook Jung<jchanwook@gmail.com>



SVN revision: 69929
2012-04-05 08:19:26 +00:00
Daniel Juyung Seo a96e0201c4 elm genlist: Renamed internal variables and functions. Patch by Hyoyoung Chang <hyoyoung@gmail.com>
On Mon, Apr 2, 2012 at 8:44 PM, Hyoyoung Chang <hyoyoung@gmail.com> wrote:
> Dear all
>
> It renames genlist internal variables and functions.
>
> decorate_type -> decorate_it_type
> mode_set -> decorate_it_set
>
> It also includes that a api arguments' naming is changed.
> -EAPI void
> elm_genlist_item_decorate_mode_set(Elm_Object_Item *it, const char
> *mode_type, Eina_Bool mode_set);
> +EAPI void
> elm_genlist_item_decorate_mode_set(Elm_Object_Item *it, const char
> *decorate_it_type, Eina_Bool decorate_it_set);
>
> Thanks.

SVN revision: 69893
2012-04-03 09:56:53 +00:00
Daniel Juyung Seo 7284ea1f45 elm genlist: Renamed internal variables/functions. Patch by Hyoyoung Chang <hyoyoung@gmail.com>
On Mon, Apr 2, 2012 at 8:39 PM, Hyoyoung Chang <hyoyoung@gmail.com> wrote:
> Dear all
>
> It renames genlist internal variables/functions.
>
> decorate_mode->decorate_all_mode
> _decorate_mode_item_*->_decorate_all_item_*
>
> thanks.

SVN revision: 69892
2012-04-03 09:56:49 +00:00
Daniel Juyung Seo ef8998b2e6 elm genlist: Internal variable rename. Patch by Hyoyoung Change <hyoyoung@gmail.com>
On Mon, Apr 2, 2012 at 8:39 PM, Hyoyoung Chang <hyoyoung@gmail.com> wrote:
> Oops sorry.
> Adding attachment patch file.
>
> On Mon, Apr 2, 2012 at 8:36 PM, Hyoyoung Chang <hyoyoung@gmail.com> wrote:
>> Dear all
>>
>> it renames genlist internal variables.
>>
>> mode_view ->deco_it_view
>> decorate_mode_item_realized->decorate_all_item_realized
>>
>> thanks.

SVN revision: 69891
2012-04-03 09:56:44 +00:00
Daniel Juyung Seo d58e04ad9c elm genlist: Changed internal variables correctly. Patch by Hyoyoung
Chang <hyoyoung@gmail.com>

On Fri, Mar 30, 2012 at 5:17 PM, Hyoyoung Chang <hyoyoung@gmail.com>
wrote:
> I talked with seoz. and agreed with previous naming changing is
insufficient.
>
> so changed like this
> "mode_" -> "deco_it_"
> "edit_" -> "deco_all_"
>
> Thanks
>
> On Fri, Mar 30, 2012 at 3:33 PM, Hyoyoung Chang <hyoyoung@gmail.com>
wrote:
>> Dear all,
>>
>> After edit mode naming is changed, some legacy naming is remained.
>> I changed naming to follow API naming changes.
>>
>> "edit_" -> "deco_"
>> and also some explicit edc part names are changed.
>>
>> Some naming are remained as is, I'll fix at next patches.
>>
>> Thanks.
>

SVN revision: 69836
2012-04-02 02:37:05 +00:00
Daniel Juyung Seo 768a4ad35f elm genlist: Reverted Hyoyoung's first patch. He sent another patch
for this change.
Revert "After edit mode naming is changed, some legacy naming is remained."

This reverts commit 5e1aa3c8b0382a0ca471150f4c219cd32dbdbe22.

SVN revision: 69835
2012-04-02 02:36:55 +00:00
Carsten Haitzler 63ae97a5d7 After edit mode naming is changed, some legacy naming is remained.
I changed naming to follow API naming changes.

"edit_" -> "deco_" and also some explicit edc part names are changed.

Some naming are remained as is, I'll fix at next patches.



SVN revision: 69793
2012-03-30 10:34:31 +00:00
Daniel Juyung Seo 4cf83b449b elm genlist: Set long_timer to NULL after it's deleted.
SVN revision: 69789
2012-03-30 09:25:58 +00:00
WooHyun Jung 67f269947b elementary/genlist : set NULL for swipe_timer.
SVN revision: 69788
2012-03-30 09:22:49 +00:00
Daniel Juyung Seo 76b7c58c8e elm genlist: Fixed genlist infinite loop bug.
SVN revision: 69785
2012-03-30 07:28:04 +00:00
Daniel Juyung Seo 8c17d99712 elm: Fixed formatting. Added a space after 'if/while/for'
SVN revision: 69744
2012-03-29 11:09:45 +00:00
Daniel Juyung Seo 6733c92556 elm genlist: Fixed _item_content_set_hook. Use _item_content_unset_hook internally.
SVN revision: 69742
2012-03-29 11:09:34 +00:00
Daniel Juyung Seo 3d15654faa elm elm_object_item: Fixed item part content set hooks.
1. delete old content object
2. check whether new content object is same as old content object
3. rename internal content set hook function
4. elm_widget_sub_object_del will be followed by evas_object_del
5. added some doxygen description.

SVN revision: 69738
2012-03-29 10:08:37 +00:00
Daniel Juyung Seo c1c64fe3ad elm genlist: Fixed flip bug. Patch by Hyoyoung Chang
<hyoyoung@gmail.com>

On Thu, Mar 29, 2012 at 4:56 PM, Hyoyoung Chang <hyoyoung@gmail.com>
wrote:
> Dear all
>
> I made a patch about flip_realize.
> Currently flip feature uses content_objs, so it should keep its
content_objs.
> However it's lost at _item_flips_realize().
> So i fixed to initialize with its content_objs.
>
> Thanks

SVN revision: 69725
2012-03-29 08:22:26 +00:00
Daniel Juyung Seo 2d2ed8d95d elm genlist: Remove tree_effect_animator on genlist _del_hook.
SVN revision: 69721
2012-03-29 07:19:23 +00:00
Daniel Juyung Seo 09e15ebe04 elm genlist: Fixed tree effect bug. Patch by Chanwook Jung
<jchanwook@gmail.com>

On Wed, Mar 28, 2012 at 3:06 PM, chanwook jung <jchanwook@gmail.com>
wrote:
> Dear all,
>
> I added one line to fix the bug at tree effect. If the item is equal
to
> expanded_next_item, expanded_next_item set to NULL in _item_del
>
> Thanks,
> Joey

SVN revision: 69691
2012-03-28 06:23:18 +00:00
Hyoyoung Chang f406fbbadf From: Hyoyoung Chang <hyoyoung@gmail.com>
Subject: [E-devel] [patch] elm_genlist - add merging edc strings list

I add like a routine in previous patch.
It add merging routines to realize functions.
also i removed "elm_widget_stringlist_free(cons)"
because all of it is freed at item_unrealize.



SVN revision: 69598
2012-03-24 11:14:20 +00:00
chanwook jung a0ce8512b7 From: chanwook jung <jchanwook@gmail.com>
Subject: [E-devel] [Patch][Genlist] Tree effect bug fix

I found some bugs in tree effect. flickering, emit signal to unrealize
item... so I fix it.



SVN revision: 69582
2012-03-23 07:47:03 +00:00
Carsten Haitzler 20f3049d40 fix other bring in bug leif found.
SVN revision: 69581
2012-03-23 07:33:15 +00:00
Carsten Haitzler c19deffe6c and clean up formatting uglies i saw.
SVN revision: 69559
2012-03-22 09:34:57 +00:00
Carsten Haitzler f63dd7ed00 actually kno difference betwene show and bring-in in genlist if item
queued.



SVN revision: 69558
2012-03-22 09:33:29 +00:00
Carsten Haitzler e514faae6f fix initial bring in coord calc for genlist items if inside first
block (special case) and probably other stuff that goes wrong related
to geomtry being wrong at this stage.



SVN revision: 69557
2012-03-22 09:32:18 +00:00
Hyoyoung Chang 10c061ab3c From: Hyoyoung Chang <hyoyoung@gmail.com>
Subject: [E-devel] [patch] elm_genlist - bugfix at item_state_update

I fixed minor error in _elm_genlist_item_state_update.
If item is selected, it sends signal to item and edit_obj.
But edit_obj is not checked by if statement.
I added a parenthesis for it.



SVN revision: 69538
2012-03-21 11:52:16 +00:00
chanwook jung d99ac5282c From: chanwook jung <jchanwook@gmail.com>
Subject: [E-devel] [Patch][Genlist] Add the moved.after/before signal
instead of moved

Some applications want to know moved.after or before and relative item
because of updating their own list. So I separated moved into
moved,after and move,before.



SVN revision: 69537
2012-03-21 11:50:33 +00:00
Hyoyoung Chang 5e4236f090 From: Hyoyoung Chang <hyoyoung@gmail.com>
Subject: [E-devel] [patch] elm_genlist - bugfix at flip_realize

I found a bug in _item_flip_realize.
It replaces previous string list without free.
this patch fixed for it.



SVN revision: 69536
2012-03-21 11:06:16 +00:00
Daniel Juyung Seo 2d181b7c96 elm genlist: Refine item callbacks. Patch by Hyoyoung Chang
<hyoyoung@gmail.com>

On Mon, Mar 19, 2012 at 11:48 AM, Hyoyoung Chang <hyoyoung@gmail.com>
wrote:
> Dear all,
>
> I found a bug in decorate mode that selection callback is called
twice.
> Because two _mouse_down callbacks are added to a genlist item.
> I'm fixing this bug and some refactoring.
>
> Thanks.

SVN revision: 69520
2012-03-20 07:58:42 +00:00
Daniel Juyung Seo 93ca410915 elm genlist: Refactoring. Create spacer object only when it is needed.
SVN revision: 69518
2012-03-20 05:44:18 +00:00
Leif Middelschulte 9ef789ec28 Replace repetetive if(type== with switch/case
SVN revision: 69512
2012-03-20 03:19:13 +00:00
Daniel Juyung Seo 423b7ef0fb elm genlist: Refactoring. Use correct name item_moving_effect_timer -> tree_effect_animator.
SVN revision: 69453
2012-03-16 08:24:43 +00:00
Daniel Juyung Seo 7e43cd1abd elm genlist: Fixed evas_object_unref position problem. Patch by
Chanwook Jung <jchanwook@gmail.com>

On Thu, Mar 15, 2012 at 7:25 PM, chanwook jung <jchanwook@gmail.com>
wrote:
> Dear all,
>
> This patch is evas_object_unref position change properly in
_item_select.
>
> Thanks
> Joey

SVN revision: 69373
2012-03-15 11:24:20 +00:00
Daniel Juyung Seo f49349b9e0 elm genlist: Refactored _sizing_eval.
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 69372
2012-03-15 11:18:17 +00:00
Daniel Juyung Seo 873f029d13 elm genlist: Fixed elm_genlist_item_index_get(). Patch by Chanwook
Jung <jchanwook@gmail.com> But this will never be correct without
performance issue.

On Thu, Mar 15, 2012 at 4:43 PM, chanwook jung <jchanwook@gmail.com>
wrote:
> Dear all,
>
> I made the patch to fix index bug.
>
> Thanks,
> Joey

SVN revision: 69366
2012-03-15 10:12:59 +00:00
Daniel Juyung Seo 93257dd84a elm genlist: Fixed compress mode sizing bug. Patch by Chanwook Jung
<jchanwook@gmail.com>

On Thu, Mar 15, 2012 at 2:47 PM, chanwook jung <jchanwook@gmail.com>
wrote:
> Dear all,
>
> I made a simple patch. If ELM_LIST_COMPRESS mode, did not recalc
minw/minh
> in _sizing_eval.
>
> Thanks,
> Joey.

SVN revision: 69365
2012-03-15 09:56:43 +00:00
Jiyoun Park f34d80f6eb remove deprecated code related with
elm_genlist_item_display_only_get/set
function


SVN revision: 69359
2012-03-15 08:38:49 +00:00
Jiyoun Park 55db5ec08c remove deprecated code
related with elm_genlist_item_object_get


SVN revision: 69357
2012-03-15 06:54:56 +00:00
Jiyoun Park 631f8d31f5 remove deprecated with
elm_genlist_always_select_mode_get/set
elm_genlist_no_select_mode_get/set
function


SVN revision: 69355
2012-03-15 06:22:25 +00:00
Daniel Juyung Seo cd2d93ded2 elm genlist: Added show_item check routine. Patch by Hyoyoung Chang <
hyoyoung@gmail.com>. I committed his patch except for _calc_job diff.

On Wed, Mar 14, 2012 at 3:09 PM, Hyoyoung Chang <hyoyoung@gmail.com>
wrote:
> Dear all.
>
> This patch include two changes
>
> 1. at _scroll_item, added to check show_item is null or not.
> 2. at _calc_job, added to check genlist type
>   because calc_job is added anytime, but some genlist clearing is can
> be done before doing calc_job.
>
> Thanks.

SVN revision: 69349
2012-03-15 04:03:10 +00:00
Daniel Juyung Seo b5f70c370a elm genlist: Check object magic in EAPI.
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 69323
2012-03-14 07:38:55 +00:00
Daniel Juyung Seo 7c19a4c122 elm genlist: Fixed item select bug. Patch by Hyoyoung Chang
<hyoyoung@gmail.com>

On Tue, Mar 13, 2012 at 6:52 PM, Hyoyoung Chang <hyoyoung@gmail.com>
wrote:
> Dear all,
>
> In _item_select, some if conditional is not working as user intention.
> always_select mode checking is reversed and no-select mode is not
checked.
> I add and fix it.
> Thanks

SVN revision: 69292
2012-03-13 10:16:37 +00:00
Daniel Juyung Seo f9c86c1086 elm genlist/gengrid: Fixed item signal emit hook bug.
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 69290
2012-03-13 08:54:33 +00:00
Jiyoun Park 547d66da57 remove deprecated code related with
elm_genlist_item_flags_get
elm_genlist_item_contents_orphan
function.


SVN revision: 69284
2012-03-13 06:58:07 +00:00
Jiyoun Park cc0e8f5304 remove deprecated code related with
elm_genlist_item_top_bring_in
elm_genlist_item_middle_bring_in
elm_genlist_item_middle_show
elm_genlist_item_top_show
function.


SVN revision: 69282
2012-03-13 05:46:23 +00:00
Daniel Juyung Seo 5df37b215e elm genlist: Added signal emit hook. Patch by Hyoyoung Change <hyoyoung@gmail.com>
On Fri, Mar 9, 2012 at 5:49 PM, Hyoyoung Chang <hyoyoung@gmail.com> wrote:
> Dear all.
>
> This is a patch about genlist to add item signal emit hook.
> due to elm_genlist_item_object_get is deprecated,
> item sinal emit hook should be supported.
> So it's added.
>
> +   elm_widget_item_signal_emit_hook_set(it, _item_signal_emit_hook);
>
> Thanks

SVN revision: 69111
2012-03-09 16:27:03 +00:00
Daniel Juyung Seo c1d0908120 elm genlist: Fixed wrong member name. 'edit_item_style' -> 'decorate_all_item_style'
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 69097
2012-03-09 12:00:28 +00:00
Daniel Juyung Seo 5e6a70c7d8 elm genlist: Fixed wrong member name. 'mode_item_style' -> 'decorate_item_style'
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 69096
2012-03-09 12:00:11 +00:00
Daniel Juyung Seo 830c30b9d3 elm gen: Moved Elm_Genlist_Item_Move_Effect_Mode to elm_gen_common.h
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 69094
2012-03-09 11:39:13 +00:00
Daniel Juyung Seo 02838dfe25 elm genlist: Moved internal enum from elm_genlist.h to elm_genlist.c
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 69085
2012-03-09 10:54:03 +00:00
Daniel Juyung Seo bea13e990e elm gen*: Changed local variable 'no_highlight' -> 'highlight' correctly.
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 69050
2012-03-08 10:58:32 +00:00
Daniel Juyung Seo f935b1eabd elm gen*: Fixed formatting.
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 69049
2012-03-08 10:58:29 +00:00
Daniel Juyung Seo 86244f433d elm genlist: Fixed API bug. API change introduced API bug.
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 69037
2012-03-08 04:19:06 +00:00
Daniel Juyung Seo 0c208f325d elm genlist: Changed elm_genlist_edit_mode_get/set ->
elm_genlist_decorate_mode_get/set.
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 69006
2012-03-07 16:56:21 +00:00
Daniel Juyung Seo cc20f1cf72 elm genlist: Fixed wrong API. elm_genlist_decorate_type_get -> elm_genlist_decorate_mode_get
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 68996
2012-03-07 16:32:17 +00:00
Hyoyoung Chang dff33d0aa4 From: Hyoyoung Chang <hyoyoung@gmail.com>
Subject: [E-devel] [patch] elm_genlist - add item_select_mode_set/get

I added two apis for item selecting mode.
It almost same with elm_genlist_select_mode.


+EAPI void
+elm_genlist_item_select_mode_set(Elm_Object_Item *it,
+                                 Elm_Object_Select_Mode_Type mode)
+EAPI Elm_Object_Select_Mode_Type
+elm_genlist_item_select_mode_get(const Elm_Object_Item *it)

And display_only apis is unfied with item_select_mode.

+EINA_DEPRECATED EAPI void
elm_genlist_item_display_only_set(Elm_Object_Item *it, Eina_Bool
display_only);
+EINA_DEPRECATED EAPI Eina_Bool
elm_genlist_item_display_only_get(const Elm_Object_Item *it);



SVN revision: 68993
2012-03-07 16:22:58 +00:00
Daniel Juyung Seo c4508b0cc3 elm genlist: Changed item mode APIs.
1. elm_genlist_item_mode_set -> elm_genlist_item_decorate_mode_set.
2. elm_genlist_mode_item_get -> elm_genlist_decorated_item_get.
3. elm_genlist_mode_type_get -> elm_genlist_decorate_type_get.

Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 68992
2012-03-07 16:19:25 +00:00
Daniel Juyung Seo 005f2465d9 elm genlist: Deprecated elm_genlist_compress_mode_set/get and
elm_genlist_height_for_width_mode_set/get. Use
elm_genlist_mode_set(obj, ELM_LIST_COMPRESS) instead. This may
introduce bugs or performance issue but I will fix this soon.

Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 68985
2012-03-07 16:07:34 +00:00
Mike Blumenkrantz aa78786616 rename elm object select mode values: whoever wrote this deserves spankies
SVN revision: 68982
2012-03-07 16:01:37 +00:00
Daniel Juyung Seo 9f5a98dd60 elm genlist/gengrid: Fixed hilight -> highlight.
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 68967
2012-03-07 15:02:01 +00:00
Daniel Juyung Seo 7770910b78 elm genlist: Fixed enum
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 68965
2012-03-07 14:48:12 +00:00
Hyoyoung Chang 248f878f0d From: Hyoyoung Chang <hyoyoung@gmail.com>
Subject: [E-devel] [patch] elm_gen{list, grid} - add
no_highlight_mode_set/get

actually change it to hilight_mode/set/get with the inverse.



SVN revision: 68947
2012-03-07 13:37:18 +00:00
Sanjeev BA 8cc2af2d7c Renaming ITEMS_SUBITEMS to ITEMS_TREE.
Signed-off-by: Sanjeev BA <eflelev8@gmail.com>

SVN revision: 68942
2012-03-07 12:57:13 +00:00
Carsten Haitzler 660e160726 better not have an else... :)
SVN revision: 68938
2012-03-07 12:46:22 +00:00
Hyoyoung Chang d1ab1c10e3 From: Hyoyoung Chang <hyoyoung@gmail.com>
Subject: [E-devel] [patch] elm_gen{list, grid} - add elm_genlist_select_mode_set

As discussed in irc, I made a patch about unifying
always_select_mode_set and no_select_mode_set.

I'm introducing two apis in genlist (also in gengrid)

+EAPI void
+elm_genlist_select_mode_set(Evas_Object *obj,
Elm_Object_Select_Mode_Type mode)

+EAPI Elm_Object_Select_Mode_Type
+elm_genlist_select_mode_get(const Evas_Object *obj);

And added a enum in elm_general.h


+typedef enum
+{
+   ELM_OBJECT_NORMAL_SELECT = 0, /**< default select mode */
+   ELM_OBJECT_ALWAYS_SELECT, /**< always select mode */
+   ELM_OBJECT_NO_SELECT, /**< no select mode */
+
+   ELM_OBJECT_SELECT_MODE_MAX
+} Elm_Object_Select_Mode_Type;

After this is commited, i'll send a patch about examples and
edje_external.




SVN revision: 68937
2012-03-07 12:43:19 +00:00
chanwook jung 2fe90bc997 From: chanwook jung <jchanwook@gmail.com>
Subject: [E-devel] [Patch] elm_genlist : Add tree effect APIs

I made a patch for Tree Effect in elm_genlist.
This feature shows the flip effect when expand/contract the expandable
list.

External APIs :
+EAPI void               elm_genlist_tree_effect_enabled_set(Evas_Object
*obj, Eina_Bool enabled);
- Set Genlist tree effect

+EAPI Eina_Bool          elm_genlist_tree_effect_enabled_get(const
Evas_Object *obj);
- Get Genlist tree effect status

You can test it. "Genlist Tree Effect".



SVN revision: 68934
2012-03-07 12:15:36 +00:00
Sanjeev BA 1ece172c12 Refactor genlist and deprecate top/middle item_show() API.
Signed-off-by: Sanjeev BA <eflelev8@gmail.com>

SVN revision: 68898
2012-03-07 08:29:32 +00:00
Sanjeev BA 3946d4a76b Merge bring_in, top_bring_in and middle_bring_in into bring_in with ELM_GENLIST_ITEM_SCROLLTO_*.
Signed-off-by: Sanjeev BA <eflelev8@gmail.com>

SVN revision: 68897
2012-03-07 08:29:28 +00:00
Jiyoun Park 4c9501159b remove deprecated function related with elm_genlist_item
SVN revision: 68837
2012-03-06 15:04:55 +00:00
Carsten Haitzler c233923591 use version as an actual version and bring back macros for setting up
class header for those using const item class structs.



SVN revision: 68770
2012-03-06 05:02:36 +00:00
Daniel Juyung Seo 65b8d8872a elm genlist: 1. Mark EINA_DEPRECATED for deprecated api in c. 2. Do not use deprecated api in elementary.
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 68766
2012-03-06 03:11:13 +00:00
ChunEon Park 750601523b elementary/genlist - elm_genlist_item_contents_orphan -> elm_genlist_item_all_contents_unset
SVN revision: 68758
2012-03-06 01:29:42 +00:00
Daniel Juyung Seo 6f7006be6d elm genlist: Fixed flipmode cache issue. Renamed nocache to nocache_once and adopted nocache forever concept.
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 68756
2012-03-06 01:10:51 +00:00
Daniel Juyung Seo a50817b61e elm genlist: Fixed floating item bug. http://www.youtube.com/watch?v=ClbvYlG9U_o
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 68755
2012-03-06 01:10:46 +00:00
ChunEon Park 74d4a0149d elementary/genlist -
Elm_Genlist_Item_Flags -> Elm_Genlist_Item_Type
Elm_Genlist_Field_Flags -> Elm_Genlist_Field_Type
elm_genlist_item_flags_get() -> elm_genlist_item_type_get()



SVN revision: 68753
2012-03-06 00:49:28 +00:00
Daniel Juyung Seo 8bdf6c8ded elm genlist: Removed spaces after casting.
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 68729
2012-03-05 15:14:36 +00:00
Daniel Juyung Seo 8977312e43 elm genlist: Added elm_genlist_item_flip_get/set APIs. Patch by
Hyoyoung Chang <hyoyoung@gmail.com>

On Wed, Feb 29, 2012 at 9:17 PM, Hyoyoung Chang <hyoyoung@gmail.com>
wrote:
> Dear all.
>
> I made a patch to introduce new genlist item mode.
> Two public apis are added.
> +EAPI void elm_genlist_item_flip_set(Elm_Object_Item *it, Eina_Bool
flip);
> +EAPI Eina_Bool elm_genlist_item_flip_get(Elm_Object_Item *it);
>
> It provides on-the-flying item change. It works like that a new item
> added on existed item.
> In elementary test, you can test it.
> It's useful at adding widgets or show buttons in genlist item.
>
> Thanks.

On Mon, Mar 5, 2012 at 5:56 PM, Hyoyoung Chang <hyoyoung@gmail.com>
wrote:
> Hello, I modifed fliP_set api to use ecore_job.
> It resolved version of mouse_{move, up} bugs.
>

SVN revision: 68727
2012-03-05 15:03:12 +00:00
ChunEon Park b5c7288f05 elementary/genlist, gengrid - reverted item_class version checking.
The version field is not for preventing ABI break but just for checking allocator (to not free the item class created by user)



SVN revision: 68670
2012-03-05 02:46:29 +00:00
Daniel Juyung Seo 75b760da92 elm: Random review of multibuttonentry and genlist.
Signed-off-by: Daniel Juyung Seo <seojuyung@gmail.com>

SVN revision: 68640
2012-03-03 06:11:56 +00:00
Mike Blumenkrantz 6a1fc7cecd stringshare_del(NULL) is okay and item_style can be NULL
SVN revision: 68609
2012-03-02 01:20:50 +00:00
Mike Blumenkrantz b4f0478492 not sure how this insanity made it in, spank spank to someone
SVN revision: 68608
2012-03-02 01:12:43 +00:00
ChunEon Park 0759538f5e elementary/genlist, gengrid - added itc version checking.
SVN revision: 68539
2012-02-29 07:51:23 +00:00
ChunEon Park f2c4e9b2f5 elementary/genlist - renamed label field to text.
SVN revision: 68538
2012-02-29 06:52:05 +00:00
ChunEon Park 9b0dd3205e elementary/genlist - breaked edit mode. my fault.
thanks to hyoyoung for reporing it.



SVN revision: 68535
2012-02-29 06:30:54 +00:00
ChunEon Park ebd409c78a elementary/genlist, gengrid - more reviews
SVN revision: 68534
2012-02-29 06:22:59 +00:00
ChunEon Park c2a70894ad elementary/genlist - killed elm_genlist_item_sorted_insert.
renamed elm_genlist_item_direct_sorted_insert to elm_genlist_item_sorted_insert



SVN revision: 68496
2012-02-28 07:17:00 +00:00
ChunEon Park 1cbee6a1cc elementary/genlist - deprecated elm_genlist_item_object_get
SVN revision: 68490
2012-02-28 05:58:45 +00:00
ChunEon Park d9ead1fb26 elementary/genlist - reviewed.
SVN revision: 68488
2012-02-28 05:26:49 +00:00
Daniel Juyung Seo dcd2cf453c elm genlist: Set expanded_item only when it's expanding or set NULL.
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 68469
2012-02-27 08:01:15 +00:00
Carsten Haitzler 4691a2efc6 fix freeing of item that frees the expanded item
SVN revision: 68468
2012-02-27 06:21:36 +00:00
Mike Blumenkrantz 215dfd7e18 home and end keys now actually SELECT the first/last genlist items instead of just moving viewport to them
this does NOT handle multiselect, since imo calling select callbacks on $TEXAS items would be pretty costly; probably need to job/timer it out or something


SVN revision: 68443
2012-02-25 11:53:35 +00:00
ChunEon Park c5232c4741 elementary - removed unnecessary checkings
SVN revision: 68393
2012-02-24 08:53:01 +00:00
Hyoyoung Chang a9dcddd041 From: Hyoyoung Chang <hyoyoung@gmail.com>
Subject: [E-devel] [patch] elm_genlist - add edit_mode feature (3/3)

As we discussed in 2011 May (
http://www.mail-archive.com/enlightenment-devel@lists.sourceforge.net/msg32498.html
).
I post edit_mode patch.

It almost made by Seunggyun Kim. I fixed some bugs and complaint to
current genlist.
Two public apis are introduced.
+EAPI void               elm_genlist_edit_mode_set(Evas_Object *obj,
Eina_Bool edit_mode);
+EAPI Eina_Bool          elm_genlist_edit_mode_get(const Evas_Object
*obj);
And one attribute is added in genlist item class
+   const char *edit_item_style;

It can used for editing and deleting in genlist.



SVN revision: 68309
2012-02-23 07:39:10 +00:00
Daniel Juyung Seo b8683eb9d8 elm genlist: Added mode_item_style to Elm_Genlist_Item_Class and
removed elm_genlist_mode_item_style_get/set APIs. Patch by Hyoyoung
Chang <hyoyoung@gmail.com>

On Wed, Feb 22, 2012 at 8:55 PM, Hyoyoung Chang <hyoyoung@gmail.com>
wrote:
> Dear all.
>
> genlist item class had mode_item_style.
> it used for mode styling (such as sweep mode).
> one genlist can have multiple mode style.
> And mode_item_style's an item's attribute.
>
> So it's better to move to item class from widget_data.
>
> Thank you.

SVN revision: 68294
2012-02-23 03:15:40 +00:00
Daniel Juyung Seo 548f616eae elm genlist: elm_genlist_item_count -> elm_genlist_items_count
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 68245
2012-02-22 03:22:10 +00:00
Mike Blumenkrantz 8fb0f58c98 add elm_genlist_item_count(), change (int)wd->count to (uint)wd->item_count, fix a shadow var
SVN revision: 68240
2012-02-21 23:59:25 +00:00
Hyoyoung Chang 068985b187 From: Hyoyoung Chang <hyoyoung@gmail.com>
Subject: [E-devel] [patch] elm_genlist - add item_class management
functions

I make controversial apis for item class management.
As raster and other guys suggest, I simplify APIs and its behaviors.

First, Two public apis and two internal apis are introduced

+EAPI Elm_Genlist_Item_Class *
+elm_genlist_item_class_new(void)

+EAPI void
+elm_genlist_item_class_free(Elm_Genlist_Item_Class *itc)

+void
+_elm_genlist_item_class_ref(Elm_Genlist_Item_Class *itc)

+void
+_elm_genlist_item_class_unref(Elm_Genlist_Item_Class *itc)

genlist item class is maintained by genlist in automatic manner.

And three fields are introduced in genlist item class.
+   int version;
+   unsigned int refcount;
+   Eina_Bool delete_me;

Normally a user add a elm_genlist_item_class by
elm_genlist_item_class_new().
Then its reference counter is automatic maintained.
If the user wanna to remove the elm_genlist_item_class, then call
elm_genlist_item_class_free()
After refcount reaches to 0, it will be removed.



SVN revision: 68147
2012-02-20 08:26:17 +00:00
Hyoyoung Chang 6beb6c5703 From: Hyoyoung Chang <hyoyoung@gmail.com>
Subject: [E-devel] [patch] elm_genlist - add a getting item flag
function

Sometimes it is needed to get genlist item's type.
It will help to get item's type.



SVN revision: 67890
2012-02-14 02:51:40 +00:00
Hyoyoung Chang 608e9664f3 From: Hyoyoung Chang <hyoyoung@gmail.com>
Subject: [E-devel] [patch] elm_genlist - bugfix at genlist rotation.

It's about genlist items which are backed from rotation.
After rotating and items width is extending, genlist doesn't shrink its items.
So adding some routines to check if item min width is bigger than genlist's width.
If then recalc items width.




SVN revision: 67876
2012-02-13 08:50:18 +00:00
Michael BOUCHAUD 6658eb7fa1 elementary: fix content set and unset hooks for genlist gengrid items
SVN revision: 67737
2012-02-07 16:33:22 +00:00
ChunEon Park cc7f2a51a9 elementary/genlist, gengrid - modified internal variable type to clean up the unnecessary casting
SVN revision: 67600
2012-01-30 10:39:32 +00:00
ChunEon Park 7c0738c762 elementary/gengrid - Elm_Gengrid_Item -> Elm_Object_Item
Be happy! now all widgets are using the Elm_Object_Item interface.



SVN revision: 67599
2012-01-30 10:29:51 +00:00
ChunEon Park 1a9deee7df elementary/genlist - deprecated elm_genlist_item_del()
now let's use elm_object_item_del() API.

and deprecated elm_genlist_horizontal_get() APIS also.



SVN revision: 67566
2012-01-27 11:59:22 +00:00
ChunEon Park 4ee72ae553 elementary/genlsit, gengrid - removed duplicated disabled field.
deprecated elm_genlist_item_disabled_set/get, 
please use elm_object_item_disabled_set/get instead.



SVN revision: 67562
2012-01-27 07:36:36 +00:00
ChunEon Park c192a46b38 elementary/genlist - removed usage of widget_item_del_cb_set
Because the API is exposed to users, don't use it internally.

And looks don't need to use it actually.



SVN revision: 67547
2012-01-26 10:01:48 +00:00
Cedric BAIL c9b5551660 elementary: match elm_list API.
SVN revision: 67499
2012-01-24 15:15:43 +00:00
Cedric BAIL 337f25b1ec elementary: revert r67371.
NOTE: gengrid and genlist code are still half merged. The specific
code for checking widget type is still needed.


SVN revision: 67470
2012-01-23 13:26:45 +00:00
ChunEon Park 660e97d1db elementary/genlist - removed unused codes
SVN revision: 67371
2012-01-20 06:51:50 +00:00
ChunEon Park da7b8465a3 elementary/genlist - Elm_Genlist_Item -> Elm_Object_Item
SVN revision: 67370
2012-01-20 05:18:31 +00:00