Commit Graph

591 Commits

Author SHA1 Message Date
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