Commit Graph

708 Commits

Author SHA1 Message Date
Shinwoo Kim 166f5ae570 [access] convey(relay) focus(highlight) to the object which is swallowed by Elm_Object_Item.
SVN revision: 83742
2013-02-07 13:01:34 +00:00
Shinwoo Kim 70a58db659 [access] resurrection of clock, genlist
SVN revision: 83736
2013-02-07 12:24:59 +00:00
Jaehwan Kim fb6356fc58 Add smart callback signals of a scroller. "vbar,drag", "vbar,press", "vbar,unpress", "hbar,drag", "hbar,press", "hbar,unpress".
SVN revision: 83703
2013-02-07 06:13:31 +00:00
Daniel Juyung Seo d1658fe9c7 elm genlist: Refactoring. Moved internal functions and added more description.
SVN revision: 83348
2013-01-26 07:11:32 +00:00
Shinwoo Kim 317920e3e3 [access] do not have to read out type infomation of genlist and list
the user would be visually impaired person or blind, so the type infomation
of genlist or list is not proper. there would be more proper type infomation.


SVN revision: 83005
2013-01-19 08:05:15 +00:00
Shinwoo Kim 650d194463 [access][genlist] read item text at once
SVN revision: 83004
2013-01-19 07:31:42 +00:00
Shinwoo Kim 3428d24364 [access] unregister genlist item which does not have text and content
SVN revision: 83000
2013-01-19 05:09:34 +00:00
Daniel Juyung Seo 84d251acc8 elm list, genlist, gengrid: Added highlighted and unhighlighted signal callbacks.
SVN revision: 82750
2013-01-14 10:12:50 +00:00
Christopher Michael 90164ddfdf Do not try to get the genlist Smart_Data from the data pointer in
show_region_hook, but rather get it from the actual Object.

Fixes a crash that happens if someone overrides the show_region_hook
(via elm_widget call) and passes an Int or String or something else as
the data parameter.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 82571
2013-01-10 14:06:46 +00:00
Shinwoo Kim 44363b8f19 [access] export some APIs which would improve application side flexibility.
+ elm_access_object_item_register();
  + elm_access_object_item_unregister();
  + elm_access_object_item_access_get();



SVN revision: 82561
2013-01-10 12:00:05 +00:00
Shinwoo Kim 88dac18cf7 [access] export elm_access_activate_cb_set(); and add related documentation.
SVN revision: 82052
2013-01-03 09:31:33 +00:00
Mike Blumenkrantz 41a5d834cf same commit for trunk
SVN revision: 81868
2012-12-29 13:45:17 +00:00
Mike Blumenkrantz 3abf0ce65a forwardport previous commit for genlist fixing
SVN revision: 81790
2012-12-28 09:51:40 +00:00
Carsten Haitzler d063cc067e valgrind complain--
SVN revision: 81669
2012-12-24 09:47:11 +00:00
Shinwoo Kim f10fb3e115 [access] export some APIs,and remove unnecessary lines.
+ elm_access_object_register();
  + elm_access_object_unregister();
  + elm_access_text_set();
  + elm_access_text_get();
  + elm_access_cb_set();

These APIs are to use edje part, evas object as an accessible object.
and do not create access object, because access object would be created at run time.
This is different with internal API _elm_access_object_register();


SVN revision: 81659
2012-12-23 14:50:56 +00:00
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