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
<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
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
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
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
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
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
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
for this change.
Revert "After edit mode naming is changed, some legacy naming is remained."
This reverts commit 5e1aa3c8b0382a0ca471150f4c219cd32dbdbe22.
SVN revision: 69835
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
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
<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
<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
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
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
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
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
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
<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
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
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
<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
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
<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
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
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
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
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
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
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
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
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
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
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
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
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
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/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
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
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
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
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
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
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
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
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
<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