Commit Graph

700 Commits

Author SHA1 Message Date
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
Cedric BAIL 7c6f9e4f42 elm: reset state on item removal.
SVN revision: 67213
2012-01-14 22:28:45 +00:00
Carsten Haitzler 39f63f3bf6 split up all elm headers. not perfect, but a big start
SVN revision: 66662
2011-12-30 06:49:28 +00:00
Cedric BAIL 283a6658a4 elementary: add elm_genlist_item_index_get.
SVN revision: 66530
2011-12-26 14:30:21 +00:00
chanwook jung 91c9921fd7 From: chanwook jung <jchanwook@gmail.com>
Subject: [E-devel] [Patch] [genlist] modified _item_block_unrealize
postion in calc_job

Previously, group item did not unrealized at rotate.



SVN revision: 66510
2011-12-26 05:32:40 +00:00
Daniel Juyung Seo 81c0c5e6b0 elm genlist: Fixed function declaration formatting.
SVN revision: 66509
2011-12-26 05:15:21 +00:00
Daniel Juyung Seo 57213b618b elm genlist: Fixed genlist auto scroll bug. Patch by Chanwook Jung <joey.jung@samsung.com>
2011/12/23 Chan-Wook Jung <joey.jung@samsung.com>:
>
> I attached 2nd patch. There are some changes about auto scroll.
> In previous version did not support various bring_in mode in calc_job. So I added scrollto_type value.
> I changed the code to fix this promblem,
> If the bring_in item is in the queue and did not changed pan size, Bring_in function is not working properly.
> When using expandable list, If the last item is in the screen, The last item is located at the bottom and
> If the last item is out of the screen, the expanded_item is located at the top.
>
> Thanks
> Chanwook Jung

SVN revision: 66488
2011-12-24 04:20:18 +00:00
Daniel Juyung Seo 2e8969d27f elm genlist: Fixed indentation.
SVN revision: 66472
2011-12-23 06:54:47 +00:00
Daniel Juyung Seo a6483d9264 elm genlist: Fixed item show apis.
SVN revision: 66359
2011-12-20 05:57:53 +00:00
Daniel Juyung Seo 02a95be24e elm genlist: Internal variable refactoring.
SVN revision: 66261
2011-12-15 15:24:17 +00:00
Daniel Juyung Seo 2f3a338139 elm genlist/gengrid: Changed 'labels' to 'texts' in edc.
SVN revision: 66205
2011-12-14 16:36:09 +00:00
정찬욱 1c1f6ef90a From: 정찬욱 <joey.jung@samsung.com>
Subject: [E-devel] [Patch] elm_genlist pan changed patch

This patch is to fix the problem that blinking is occured when
application use the ecore timer and
the rendering delay at pan resize/move using evas_object_smart_changed
instead of ecore_job_add.




SVN revision: 66132
2011-12-13 04:15:10 +00:00
Daniel Juyung Seo 1dbbe5553c elm: Reverted wrong commits. This was committed by mistake :( So
shame...;


SVN revision: 66123
2011-12-12 23:57:57 +00:00
Daniel Juyung Seo feda46e2f1 elm toolbar/naviframe: Added more documentation about elm_object and
elm_object_item common APIs support. This needs to be done for other
widgets which support elm_object/elm_object_item.


SVN revision: 66122
2011-12-12 23:53:26 +00:00
Daniel Juyung Seo 8c626b33ee elm genlist: Calculate expanded_depth in _item_new
SVN revision: 65932
2011-12-06 01:37:53 +00:00
Daniel Juyung Seo 8d0301505a elm genlist/gengrid: Added documentation. Fixed documentation. Fixed
formatting.

SVN revision: 65931
2011-12-06 01:23:55 +00:00
Daniel Juyung Seo 95f6ebae61 elm genlist/gengrid: Refactoring. Moved global function pointers to
widget data.

SVN revision: 65930
2011-12-06 01:19:12 +00:00
Mike Blumenkrantz 608d52ba61 missed some things with my tooltip api break
SVN revision: 65917
2011-12-05 17:14:07 +00:00
Cedric BAIL 8832e77e58 elementary: fix reordering bug.
NOTE: queue and item list should have the same order,
but that's not the case.



SVN revision: 65915
2011-12-05 16:43:29 +00:00
Mike Blumenkrantz 890a378db7 API BREAK
elm_XXX_tooltip_size_restrict_disable() -> elm_XXX_tooltip_window_mode_set()
elm_XXX_tooltip_size_restrict_disabled_get() -> elm_XXX_tooltip_window_mode_get()


SVN revision: 65909
2011-12-05 15:25:09 +00:00
Cedric BAIL 36f42652ca elementary: improve rendering stability by ordering queue like the displayed list.
SVN revision: 65826
2011-12-02 16:17:10 +00:00
Cedric BAIL 3270f81a6d elementary: prevent early death of items.
SVN revision: 65824
2011-12-02 16:00:41 +00:00
Daniel Juyung Seo d22eb91185 elm gen/genlist: Renamed elm_gen.h to elm_genlist.h. elm_gen will be removed and elm_genlist will survive.
SVN revision: 65815
2011-12-02 14:09:24 +00:00
Cedric BAIL 926e801b59 elementary: now elm_gen*_clear only destroy the item created before calling it.
NOTE: As side fix, both genlist and gengrid now share their Widget_Data. Need
a lot more work to be clean and match our quality standard.

NOTE2: Genclear is now faster as it doesn't require to mark all item that need
to be removed, but just increase one int.



SVN revision: 65811
2011-12-02 13:43:02 +00:00
Daniel Juyung Seo 9266096bdf elm gengrid/genlist: Changed 'label_get' to 'text_get' according to the
recent elementary api corrections.

I changed item class's 'label_get' to 'text_get'. But 'label_get' is still
supported by union structure. So 'label_get' will just give you
deprecated warnings while compiling but it's recommended to fix your
apps to 'text_get'. Sometimes when you initialize item class using
braces, you will get 'missing braces around initializer' but ignore
this. That warning will be gone after I remove 'label_get' backport. I
will remove this 'label_get' backport after I finish below
jobs.

[TODO]
1. Fix all apps in trunk.
2. Change edc "labels" to "texts" as well. I haven't done this yet.


SVN revision: 65751
2011-12-01 06:15:08 +00:00
Daniel Juyung Seo 3fd427b0d3 elm gen/gengrid/genlist: More clean ups.
SVN revision: 65724
2011-11-30 17:42:26 +00:00
Daniel Juyung Seo 35fc57e252 elm gen/gengrid/genlist: Moved more gen stuffs to genlist. Most of all gen stuffs were moved to genlist as of now. This is for elementary 1.0 release.
SVN revision: 65722
2011-11-30 17:31:01 +00:00
Daniel Juyung Seo 0cabbec4e1 elm gen/gengrid/genlist: Partially removing gen. Partially merging gengrid into genlist. (Season 2)
SVN revision: 65721
2011-11-30 17:13:57 +00:00
Daniel Juyung Seo 462f1dc43d elm gen/gengrid/genlist: Partially removing gen. Partially merging gengrid into genlist.
SVN revision: 65718
2011-11-30 16:03:03 +00:00
Daniel Juyung Seo d397598ab1 elm gen/gengrid/genlist: Fixed wrong elm_gen_clear changes.
SVN revision: 65717
2011-11-30 14:40:22 +00:00
Daniel Juyung Seo 6f1dd8c84d elm gen/gengrid/genlist: Undeprecate some gengrid/genlist APIs and
deprecate all elm_gen APIs.

We will merge gengrid into genlist later and remove elm_gen.
I updated http://trac.enlightenment.org/e/wiki/ElementaryChanges
I will fix other libraries/programs in trunk soon.


SVN revision: 65700
2011-11-30 00:59:19 +00:00
Daniel Juyung Seo 8b017483ea elm genlist: Added elm_genlist_item_fields_update(). Patch by Hyoyoung
Chang <hyoyoung.chang@samsung.com>

2011/10/27 Hyoyoung Chang <hyoyoung.chang@samsung.com>:
> Dear developers
>
> I made a patch to add elm_genlist_item_fields_update function.
> It can be used to updating genlist's item part without
realize/unrealize
> itself.
>
> Prototype is
> elm_genlist_item_fields_update
> (Elm_Genlist_Item *it, const char *part,
Elm_Genlist_Item_Field_Flags itf)
>
> Part supports globbing. Passing "*" to part means updating all parts.
> Item field can be one of icon, content and state.
> I think it's useful to speed up if an app updates frequently.
>
> Thanks


SVN revision: 65688
2011-11-29 14:03:14 +00:00
Daniel Juyung Seo c66f21a87a elm genlist: Changed int to Eina_Bool in case it uses 1 or 0.
SVN revision: 65679
2011-11-29 08:54:19 +00:00
ChunEon Park 43c470e6b9 elementary/genlist - patched by PRINCE KUMAR DUBEY<prince.dubey@samsung.com>
Hi,

On behalf of Rajeev Ranjan, I am submitting the elm_genlist patch.

Change Log:
a. Dead code removal in function _sizing_eval
b. Memory leak fix in function elm_genlist_item_insert_before due to return when wd->items is NULL and in this case, memory allocated for item was not getting free.
c. Memory leak fix in function elm_genlist_item_insert_after due to return when wd->items is NULL and in this case, memory allocated for item was not getting free.

Please review it.
I'd appreciate any comments on this.

Thank you,



SVN revision: 65662
2011-11-29 00:06:55 +00:00
Mike Blumenkrantz d37f2891dd add promote/demote functions for genlist
SVN revision: 65599
2011-11-25 20:27:27 +00:00
Daniel Juyung Seo 2a477fe8af elm gengrid/genlist: Remove deprecated signals.
This was already announced a month ago.
http://trac.enlightenment.org/e/changeset/64200


SVN revision: 65474
2011-11-21 08:06:40 +00:00
Daniel Juyung Seo d71872473a elm genlist: Refine codes.
SVN revision: 65380
2011-11-18 09:12:27 +00:00
Bluezery 84f0b47a95 From: Bluezery <ohpowel@gmail.com>
Subject: [E-devel] [elm_map] ecore_file_download_full() should be used
properly

elm_map only checked that returned job is NULL.
But ecore_file_download_full() returns EINA_FALSE when error occurred.
So return value should be checked for proper usage.
Please review this simple bug fix



SVN revision: 64794
2011-11-06 06:11:57 +00:00
Iván Briano d1a4b05805 Init state for inlist sorted insert with current items.
SVN revision: 64747
2011-11-04 20:34:41 +00:00
Mike Blumenkrantz f7aaa3aeff better use of internal variables
SVN revision: 64352
2011-10-24 03:40:54 +00:00
Daniel Juyung Seo 23de0435b9 elm genlist/gengrid: Applied genlist/gengrid icons -> contents changes
to themes. Changed detour-elm and darkness theme as well.
Tips) Change genlist/gengrid's "icons" to "contents" in edc.


SVN revision: 64345
2011-10-24 02:27:04 +00:00
Daniel Juyung Seo 2bb2b1f0ee elm gen/gengrid/genlist: Changed item class's icon_get to content_get.
Do not limit the swallowed objects to icon. This had to be done before
elm 1.0 and now it's time to break. This will break all applications
which are using gengrid/genlist. Please fix it icon_get -> content_get.

TODO
1. fix theme as well.
2. fix documents.


SVN revision: 64344
2011-10-24 02:10:35 +00:00
Daniel Juyung Seo 110ab53953 elm genlist: Removed dead code. Patch by Hyoyoung Chang
<hyoyoung@gmail.com>

On Sun, Oct 23, 2011 at 8:44 PM, Hyoyoung Chang <hyoyoung@gmail.com>
wrote:
> Dear developers
>
> When i compile elementary, i found something to remove.
> And this is for removing unused values in elm_genlist.
>
> Thank you.


SVN revision: 64331
2011-10-23 23:15:58 +00:00
Mike Blumenkrantz 81fb2abd7e deprecate all genlist/gengrid functions related to 64281
SVN revision: 64282
2011-10-22 00:26:21 +00:00