Re: [E-devel] [Patch][elm_genlist] Free text parts when each item is unrealized

2012-07-27 Thread The Rasterman
On Fri, 27 Jul 2012 11:29:49 +0900 Daniel Juyung Seo seojuyu...@gmail.com said: So it looks like edje_object_freeze/thaw are not relevant to this topic? they are - unless u calc min size after a freeze :) so the issue is someone is calcing still as well.. :) Daniel Juyung Seo (SeoZ) On

Re: [E-devel] [Patch][elm_genlist] Free text parts when each item is unrealized

2012-07-26 Thread Tom Hacohen
On 26/07/12 08:29, Bluezery 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

Re: [E-devel] [Patch][elm_genlist] Free text parts when each item is unrealized

2012-07-26 Thread Daniel Juyung Seo
On Thu, Jul 26, 2012 at 3:41 PM, Tom Hacohen tom.haco...@samsung.com wrote: On 26/07/12 08:29, Bluezery 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

Re: [E-devel] [Patch][elm_genlist] Free text parts when each item is unrealized

2012-07-26 Thread Tom Hacohen
On 26/07/12 10:53, Daniel Juyung Seo wrote: On Thu, Jul 26, 2012 at 3:41 PM, Tom Hacohen tom.haco...@samsung.com wrote: On 26/07/12 08:29, Bluezery 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

Re: [E-devel] [Patch][elm_genlist] Free text parts when each item is unrealized

2012-07-26 Thread The Rasterman
On Thu, 26 Jul 2012 11:00:40 +0300 Tom Hacohen tom.haco...@samsung.com said: On 26/07/12 10:53, Daniel Juyung Seo wrote: On Thu, Jul 26, 2012 at 3:41 PM, Tom Hacohen tom.haco...@samsung.com wrote: On 26/07/12 08:29, Bluezery wrote: Hello, This patch make genlist free their text parts

Re: [E-devel] [Patch][elm_genlist] Free text parts when each item is unrealized

2012-07-26 Thread Tom Hacohen
On 26/07/12 11:36, Carsten Haitzler (The Rasterman) wrote: but u recalc an empty text field as opposed to 500 chars of stuff to find the ellipsis point... :) Sure, I understand the benefits and I understand what's going on there, I'm just thinking that maybe we need a better solution than

Re: [E-devel] [Patch][elm_genlist] Free text parts when each item is unrealized

2012-07-26 Thread The Rasterman
On Thu, 26 Jul 2012 17:07:18 +0300 Tom Hacohen tom.haco...@samsung.com said: On 26/07/12 11:36, Carsten Haitzler (The Rasterman) wrote: but u recalc an empty text field as opposed to 500 chars of stuff to find the ellipsis point... :) Sure, I understand the benefits and I understand

Re: [E-devel] [Patch][elm_genlist] Free text parts when each item is unrealized

2012-07-26 Thread Bluezery
2012/7/27 Carsten Haitzler ras...@rasterman.com: On Thu, 26 Jul 2012 17:07:18 +0300 Tom Hacohen tom.haco...@samsung.com said: On 26/07/12 11:36, Carsten Haitzler (The Rasterman) wrote: but u recalc an empty text field as opposed to 500 chars of stuff to find the ellipsis point... :) Sure,

Re: [E-devel] [Patch][elm_genlist] Free text parts when each item is unrealized

2012-07-26 Thread Tom Hacohen
On 26/07/12 18:29, Bluezery wrote: If a genlist item is unrealized, recalc is not needed anymore because all parts are not needed. So if you implement some features for this, it is better to use your APIs than my way in genlist. :) Anyway, this is the best way now. and It not only prevents

Re: [E-devel] [Patch][elm_genlist] Free text parts when each item is unrealized

2012-07-26 Thread The Rasterman
On Thu, 26 Jul 2012 18:43:20 +0300 Tom Hacohen tom.haco...@samsung.com said: On 26/07/12 18:29, Bluezery wrote: If a genlist item is unrealized, recalc is not needed anymore because all parts are not needed. So if you implement some features for this, it is better to use your APIs than

Re: [E-devel] [Patch][elm_genlist] Free text parts when each item is unrealized

2012-07-26 Thread Daniel Juyung Seo
On Thu, Jul 26, 2012 at 5:00 PM, Tom Hacohen tom.haco...@samsung.com wrote: On 26/07/12 10:53, Daniel Juyung Seo wrote: On Thu, Jul 26, 2012 at 3:41 PM, Tom Hacohen tom.haco...@samsung.com wrote: On 26/07/12 08:29, Bluezery wrote: Hello, This patch make genlist free their text parts when

Re: [E-devel] [Patch][elm_genlist] Free text parts when each item is unrealized

2012-07-26 Thread Daniel Juyung Seo
This might be the final goal. We need edje object cache. Just because we don't have that, genlist did it manually. Until edje cache feature comes genlist needs to do this adjustment. Daniel Juyung Seo (SeoZ) On Fri, Jul 27, 2012 at 8:11 AM, Carsten Haitzler ras...@rasterman.com wrote: On Thu,

Re: [E-devel] [Patch][elm_genlist] Free text parts when each item is unrealized

2012-07-26 Thread The Rasterman
On Fri, 27 Jul 2012 08:30:25 +0900 Daniel Juyung Seo seojuyu...@gmail.com said: On Thu, Jul 26, 2012 at 5:00 PM, Tom Hacohen tom.haco...@samsung.com wrote: On 26/07/12 10:53, Daniel Juyung Seo wrote: On Thu, Jul 26, 2012 at 3:41 PM, Tom Hacohen tom.haco...@samsung.com wrote: On

Re: [E-devel] [Patch][elm_genlist] Free text parts when each item is unrealized

2012-07-26 Thread Daniel Juyung Seo
Yes I'm considering both for the recalc and memory. I want to do the performance test beforehand. Daniel Juyung Seo (SeoZ) On Fri, Jul 27, 2012 at 9:03 AM, Carsten Haitzler ras...@rasterman.com wrote: On Fri, 27 Jul 2012 08:30:25 +0900 Daniel Juyung Seo seojuyu...@gmail.com said: On Thu, Jul

Re: [E-devel] [Patch][elm_genlist] Free text parts when each item is unrealized

2012-07-26 Thread Tom Hacohen
On 27/07/12 02:33, Daniel Juyung Seo wrote: This might be the final goal. We need edje object cache. Just because we don't have that, genlist did it manually. Until edje cache feature comes genlist needs to do this adjustment. I'm not arguing one side or the other here, but the problem with

Re: [E-devel] [Patch][elm_genlist] Free text parts when each item is unrealized

2012-07-26 Thread Daniel Juyung Seo
Yes you are right. I'm just lazy and waiting someone for implementing edje cache. By the way, I tried with edje_object_freeze/thaw but it didn't work. Even I called edje_object_freeze, _edje_recalc and _edje_recalc_do are called. Anybody has some ideas on this? Daniel Juyung Seo (SeoZ) On Fri,

Re: [E-devel] [Patch][elm_genlist] Free text parts when each item is unrealized

2012-07-26 Thread The Rasterman
On Fri, 27 Jul 2012 11:00:04 +0900 Daniel Juyung Seo seojuyu...@gmail.com said: Yes you are right. I'm just lazy and waiting someone for implementing edje cache. By the way, I tried with edje_object_freeze/thaw but it didn't work. Even I called edje_object_freeze, _edje_recalc and

Re: [E-devel] [Patch][elm_genlist] Free text parts when each item is unrealized

2012-07-26 Thread The Rasterman
On Fri, 27 Jul 2012 04:00:03 +0300 Tom Hacohen t...@stosb.com said: On 27/07/12 02:33, Daniel Juyung Seo wrote: This might be the final goal. We need edje object cache. Just because we don't have that, genlist did it manually. Until edje cache feature comes genlist needs to do this

Re: [E-devel] [Patch][elm_genlist] Free text parts when each item is unrealized

2012-07-26 Thread Daniel Juyung Seo
So it looks like edje_object_freeze/thaw are not relevant to this topic? Daniel Juyung Seo (SeoZ) On Fri, Jul 27, 2012 at 11:17 AM, Carsten Haitzler ras...@rasterman.com wrote: On Fri, 27 Jul 2012 11:00:04 +0900 Daniel Juyung Seo seojuyu...@gmail.com said: Yes you are right. I'm just lazy

[E-devel] [Patch][elm_genlist] Free text parts when each item is unrealized

2012-07-25 Thread Bluezery
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

Re: [E-devel] [Patch][elm_genlist] Free text parts when each item is unrealized

2012-07-25 Thread Daniel Juyung Seo
Very good enhancement! Thanks in SVN r74413! Daniel Juyung Seo (SeoZ) On Thu, Jul 26, 2012 at 2:29 PM, Bluezery ohpo...@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