Re: [E-devel] [Patch][CtxPopup] Add Arrow on the drag-able area of Base

2011-06-01 Thread The Rasterman
On Fri, 27 May 2011 19:08:44 +0900 cnook  said:

this one is fine. though in general i dont like the idea of swallowing the
arrows at all - should just be part of the ctxpopup design/obj directly, but
thats already there and not specific to this patch :)

thanks!

> Dear All,
> 
> Hi~
> 
> If CtxPopup has elm_slider for content, the elm_slider indicator is covered
> by CtxPopup arrow.
> So, I have made a patch for resolving this issue. As the title the arrow
> will be swallowed in the base.
> Even though user uses his/her own style, the attached patch will work
> properly.
> 
> Sincerely,
> Shinwoo Kim.


-- 
- Codito, ergo sum - "I code, therefore I am" --
The Rasterman (Carsten Haitzler)ras...@rasterman.com


--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Patch] elm_progressbar patch

2011-06-01 Thread The Rasterman
On Wed, 01 Jun 2011 17:49:35 +0900 ChunEon Park said:

well this is an improvement over what the patch did before which is set some
specific labels and provide just a limited number of them. the advantage of
having labels inside the progressbar is.. they are part of the edje obj that
defines the progress look. the label could merge with the bar itself (eg be
some inverted text display over the bar as it progresses). just putting
progress bar inside a layout wont allow you to quite manage these effects.

this allows for a style to provide more labels you can set. actually in general
this could be extended to all widgets like the signal emit hook can allow any
widget to expose the ability to emit signals to the (or some) edje object in
the widget to "talk to it" and expand the capabilities of the theme behind it.

> Hi, prince. 
>  
> I checked your patch right before. 
>  
> But I dont like these new APIs. 
>  
> Currently progressbar provides label_set API for normal case. 
>  
> and people could add extra text with text-part in separted layout or
> elm_label or something else if they need. 
> This kind of API would make the widget break theme changing. 
>  
> Doesn't it?
>  
> Thanks. 
>  
> 
> Let's run together for the best moment!
> -Regards, Hermet-
>  
> -Original Message-
> From: "ChunEon Park" 
> To: "'ChunEon Park'";
> "'EFL'" Cc:
> prince.du...@samsung.com Sent: 11-05-26(목) 11:17:05
> Subject: RE: [E-devel] [Patch] elm_progressbar patchOops, I missed patch
> file. Try it again! :p
> -Original Message-
> From: ChunEon Park [mailto:her...@naver.com] 
> Sent: Thursday, May 26, 2011 11:14 AM
> To: EFL
> Cc: prince.du...@samsung.com
> Subject: [E-devel] [Patch] elm_progressbar patch
> Hi, 
> This patch is sent by Prince Kumar Dubey (prince.du...@samsung.com)
> Could somebody review this patch?
> If nobody review this, then I will later. 
> Thanks. 
> 
> Let's run together for the best moment!
> -Regards, Hermet-
> 
> --
> vRanger cuts backup time in half-while increasing security.
> With the market-leading solution for virtual backup and recovery, 
> you get blazing-fast, flexible, and affordable data protection.
> Download your free trial now. 
> http://p.sf.net/sfu/quest-d2dcopy1
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> --
> Simplify data backup and recovery for your virtual environment with vRanger. 
> Installation's a snap, and flexible recovery options mean your data is safe,
> secure and there when you need it. Data protection magic?
> Nope - It's vRanger. Get your free trial download today. 
> http://p.sf.net/sfu/quest-sfdev2dev
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


-- 
- Codito, ergo sum - "I code, therefore I am" --
The Rasterman (Carsten Haitzler)ras...@rasterman.com


--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [PATCH] Fix g_main_loop integration

2011-06-01 Thread The Rasterman
On Thu, 02 Jun 2011 14:47:24 +0900 Mike McCormack 
said:

fixed now in svn. along with warnings fixes :)

> 
> Busticated by this commit:
> 
> commit 5cdc9988d84f57e8cd548e9916ff03d84e6b4c5d
> Author: raster 
> Date:   Sat May 14 03:26:28 2011 +
> 
> optimization: don't need to get loop time so often in ecore main loop.
> 
> 
> diff --git a/trunk/ecore/src/lib/ecore/ecore_main.c
> b/trunk/ecore/src/lib/ecore/ecore_main.c index fbf9698..fd8c180 100644
> --- a/trunk/ecore/src/lib/ecore/ecore_main.c
> +++ b/trunk/ecore/src/lib/ecore/ecore_main.c
> @@ -479,6 +479,7 @@ _ecore_main_gsource_check(GSource *source)
> ecore_fds_ready = (_ecore_main_fdh_poll_mark_active() > 0);
> _ecore_main_fd_handlers_cleanup();
>  
> +   _ecore_time_loop_time = ecore_time_get();
> _ecore_timer_enable_new();
>  
> in_main_loop--;
> 
> --
> Simplify data backup and recovery for your virtual environment with vRanger. 
> Installation's a snap, and flexible recovery options mean your data is safe,
> secure and there when you need it. Data protection magic?
> Nope - It's vRanger. Get your free trial download today. 
> http://p.sf.net/sfu/quest-sfdev2dev
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> 


-- 
- Codito, ergo sum - "I code, therefore I am" --
The Rasterman (Carsten Haitzler)ras...@rasterman.com


--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] EFL Windows Installer

2011-06-01 Thread Lionel Orry
Vincent Torri  univ-evry.fr> writes:
> 1) on my computer, if you install the EFL in c:\a\path, then the $PATH env 
> var is still appended with c:\Program Files\Efl\bin. I don't understand 
> why. You have to change that manually for now if it happens.

Would you agree to share (on svn repo or anywhere else) your installer project 
files (nsis, innosetup or whatever it is)?

Cheers,
Lionel





--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] [PATCH] Fix g_main_loop integration

2011-06-01 Thread Mike McCormack

Busticated by this commit:

commit 5cdc9988d84f57e8cd548e9916ff03d84e6b4c5d
Author: raster 
Date:   Sat May 14 03:26:28 2011 +

optimization: don't need to get loop time so often in ecore main loop.


diff --git a/trunk/ecore/src/lib/ecore/ecore_main.c 
b/trunk/ecore/src/lib/ecore/ecore_main.c
index fbf9698..fd8c180 100644
--- a/trunk/ecore/src/lib/ecore/ecore_main.c
+++ b/trunk/ecore/src/lib/ecore/ecore_main.c
@@ -479,6 +479,7 @@ _ecore_main_gsource_check(GSource *source)
ecore_fds_ready = (_ecore_main_fdh_poll_mark_active() > 0);
_ecore_main_fd_handlers_cleanup();
 
+   _ecore_time_loop_time = ecore_time_get();
_ecore_timer_enable_new();
 
in_main_loop--;

--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [ELM] Genlist tree: manage subitems in genlist

2011-06-01 Thread The Rasterman
On Fri, 27 May 2011 21:23:29 +0200 Atton Jonathan 
said:

> Hello,
> 
> Curently when we which to have a tree in a genlist the application must:
> - when an item is expand : the application add subitems
> - when an item is collapse : the application delete subitems
> 
> why this comportment is not directly in genlist. The genlist could show/add
> items automaticaly ?
> 
> This way we have less code in the application and we do not create/delete
> items.

basically i did this because i went "hmm walking the tree could be pretty
expensive and keeping it all inside genlist may be nasty" so as such its
requested "on demand" for you to fill in but once in, it stays. you can
actually set up this tree in the first place that way too - it should work. :)

-- 
- Codito, ergo sum - "I code, therefore I am" --
The Rasterman (Carsten Haitzler)ras...@rasterman.com


--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Patch] Entry - Password show last input patch

2011-06-01 Thread The Rasterman
On Wed, 25 May 2011 12:47:40 + (GMT) SHILPAONKAR SINGH
 said:

> Hi Raster,
> 
> This is regarding password - show last input feature, I have followed Tom's
> design approach and completed the patch. 
> Major Design changes:
> > Create a timer internally in edje_entry.c.
> > The Value of timer is controlled by a theme variable "last_show_timer".
> > and the mode whether password mode/ password show last mode is controlled
> > by an environment variable EDJE_ENTRY_PASSWORD_SHOW_LAST.
> elementary dependency is completed removed by the above method.
> For your kind reference I have also attached the patch.
> 
> but according to below mail I understand that you want the configuration
> [whether password/show_last password] to happen via elm_config and elementary
> environment variable like ELM_PASSWORD_SHOW_LAST. In that case elementary has

wewll env var as well as elm config struct member so u can also configure it in
elementary_config (tool to modify elementary settings and apply them to all
running apps).

> to inform edje regarding the same, that means an edje_util API has to be
> implemented which will be called by elm_config. and one more question whether

well you can implement this via signals and/or edje messages, and then on the
edje side have a program and/or some embryo script handle the signal and/or
message, BUT on the edje (edc side) you'll need an action type and/or some
embryo api calls to be able to modify the password show feature on the part.
much like focus can be modified by the edc side of things to focus the right
entry part etc.

> the timer value should be theme dependent or even that can be obtained via
> elm_config?

also via elm config.

> Please let me know whether my understanding of the required design is ok?. 
> 
> Thanks & Regards
> Shilpa Singh
> 
> --- Original Message ---
> Sender : Tom Hacohen Engineer/STRI-SLP RTL
> Language supporting/Samsung Electronics Date : May 03, 2011 23:13 (GMT+09:00)
> Title : Re: [E-devel] [Patch] Entry - Password show last input patch
> 
> I'll take that as a yeah.
> 
> On Tue, 2011-05-03 at 23:05 +0900, Carsten Haitzler wrote:
> > On Tue, 03 May 2011 14:50:02 +0300 Tom Hacohen
> > said:
> > 
> > > Ok, so you are not against moving the timer out of the edc and to elm,
> > > right? You just want edje expose an API to set show_last or not, and
> > > that elm will set it, and have the timer value set in a property of
> > > textblock?
> > 
> > correctnessipoos
> > 
> > > --
> > > Tom.
> > > 
> > > On Tue, 2011-05-03 at 19:58 +0900, Carsten Haitzler wrote:
> > > > On Sun, 01 May 2011 10:33:37 +0300 Tom Hacohen
> > > > said:
> > > > 
> > > > i'm not sure about this whole env var. here is why:
> > > > 
> > > > 1. this should be elm config in the config struct (and file) for elm.
> > > > sure, be able to OVERRIDE config with env var, but it should be there.
> > > > why? this is the kind of feature that is specific to the "desktop vs
> > > > vkbd/touchsrceen" world, and when you have a vkbd, you want to see the
> > > > last char temporarily, but a real kbd you may not want to as you know
> > > > for sure what you pressed, so this should be config there just like
> > > > finger scrolling, select modes etc.
> > > > 2. if we do #1 above this follows that somehow elm needs to apss this
> > > > info to edje as to how to do this. sure - have edje do it, but elm is
> > > > the controller.
> > > > 
> > > > > Dear Shilpa,
> > > > > 
> > > > > I vote for first, and get it from an env variable. Really
> > > > > no reason why to involve Elementary in the process.
> > > > > By not involving elementary you gain two major benefits.
> > > > > 1. Less complication because there are less things to change
> > > > > (especially because the change in ELM will have to be ugly and
> > > > > annoying).
> > > > > 2. There's no reason why Edje only applications shouldn't benefit from
> > > > > this change.
> > > > > 
> > > > > --
> > > > > Tom.
> > > > > 
> > > > > On Fri, 2011-04-29 at 03:49 +, SHILPAONKAR SINGH wrote:
> > > > > > Hi Tom,
> > > > > > 
> > > > > >  
> > > > > > 
> > > > > > Further patches will depend on the decision we take regarding timer
> > > > > > 
> > > > > > once decided I will resend patches by splitting them.
> > > > > > 
> > > > > >  
> > > > > > 
> > > > > > Dear All,
> > > > > > 
> > > > > > Please let us know your opinion.
> > > > > > 
> > > > > > 1. Create timer internally in edje, use a variable in theme to
> > > > > > decide timer value, use a config variable of EDJE
> > > > > > 
> > > > > > to decide the password mode[show last input/normal]. - simple and
> > > > > > clear way.
> > > > > > 
> > > > > > (or)
> > > > > > 
> > > > > > 2. Use a config variable of elementary to decide password mode[show
> > > > > > last/normal] , use a new theme for password-showlast
> > > > > > 
> > > > > > mode. control timer[in and a new action] using a new theme. - A
> > > > > > little complicated way which would avoid timer in edje.
> > > > > >

Re: [E-devel] [Patch] elm_genlist - added new feature : genlist reorder mode

2011-06-01 Thread The Rasterman
On Thu, 2 Jun 2011 12:48:42 +0900 Daniel Juyung Seo  said:

i missed them - reading just the first patch mail. i had my mailer in "show
marked mails" mode and missed the rest of the thread :(

> Btw, I reviewed this before.
> http://www.mail-archive.com/enlightenment-devel@lists.sourceforge.net/msg32665.html
> 
> But that's not considered. Any idea on that?
> 
> 
> Daniel Juyung Seo (SeoZ)
> 
> On Thu, Jun 2, 2011 at 12:44 PM, Daniel Juyung Seo 
> wrote:
> > Great! Thanks raster and seunggyun :)
> >
> > Daniel Juyung Seo (SeoZ)
> >
> > On Thu, Jun 2, 2011 at 12:14 PM, Carsten Haitzler 
> > wrote:
> >> On Fri, 20 May 2011 21:01:02 +0900 Seunggyun Kim 
> >> said:
> >>
> >> hey seunggym!
> >>
> >> thanks for the patch. reviewed and in svn.
> >>
> >> just take note:
> >>
> >> when doing math inside if's put the math inside ()'s also other math ops
> >> where you mix +, -, / and *. i fixed the patch for these bits. i.e.
> >>
> >> a + b / 2 <- WRONG
> >> a + (b / 2) <- RIGHT
> >>
> >> if (a + b < 2) <- WRONG
> >> if ((a + b) < 2) <- RIGHT
> >>
> >> why? i have seen too many peoilpe make "oops" errors in their math and
> >> inside if's where they get the order of operation with +, -, /, * , other
> >> bitwise and logic ops wrong. it's too much to keep in your head all the
> >> time as to who gets done first, so just put ()'s in to explicitly say what
> >> you want done in what order. it doesn't make the code slower and it
> >> EXPLICITLY says to others reading your code what you intended to happen.
> >> without this they are often left guessing when they hunt bugs in this
> >> code. :)
> >>
> >>> Dear all,
> >>>
> >>> I introduce a new feature "reorder mode" of genlist.
> >>> Using this feature, user can reoder genlist items dynamically.
> >>>
> >>> [API]
> >>> ==
> >>> - EAPI Eina_Bool   elm_genlist_item_rename_mode_get(Elm_Genlist_Item *it)
> >>> Get the rename mode state of an item. This gets the rename mode state of
> >>> an item
> >>>
> >>> - EAPI void   elm_genlist_reorder_mode_set(Evas_Object *obj, Eina_Bool
> >>> reorder_mode)
> >>> Set genlist reorder mode. This enables the item is moved to another item.
> >>> ==
> >>>
> >>> After set this reorder api, if user press an item (long press), the item
> >>> can be moved another position.
> >>> Then if the user releases the item, the item will be reodered in genlist.
> >>> When the user releases the holding item,
> >>>  Elm_Genlist_Item_Class.func.moved callback is also called.
> >>> If needed, the application can add some logic in that callback function.
> >>>
> >>> Please review this patch.
> >>> Thanks.
> >>>
> >>
> >>
> >> --
> >> - Codito, ergo sum - "I code, therefore I am" --
> >> The Rasterman (Carsten Haitzler)    ras...@rasterman.com
> >>
> >>
> >> --
> >> Simplify data backup and recovery for your virtual environment with
> >> vRanger. Installation's a snap, and flexible recovery options mean your
> >> data is safe, secure and there when you need it. Data protection magic?
> >> Nope - It's vRanger. Get your free trial download today.
> >> http://p.sf.net/sfu/quest-sfdev2dev
> >> ___
> >> enlightenment-devel mailing list
> >> enlightenment-devel@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> >>
> >
> 


-- 
- Codito, ergo sum - "I code, therefore I am" --
The Rasterman (Carsten Haitzler)ras...@rasterman.com


--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Patch] elm_genlist - added new feature : genlist reorder mode

2011-06-01 Thread Daniel Juyung Seo
Btw, I reviewed this before.
http://www.mail-archive.com/enlightenment-devel@lists.sourceforge.net/msg32665.html

But that's not considered. Any idea on that?


Daniel Juyung Seo (SeoZ)

On Thu, Jun 2, 2011 at 12:44 PM, Daniel Juyung Seo  wrote:
> Great! Thanks raster and seunggyun :)
>
> Daniel Juyung Seo (SeoZ)
>
> On Thu, Jun 2, 2011 at 12:14 PM, Carsten Haitzler  
> wrote:
>> On Fri, 20 May 2011 21:01:02 +0900 Seunggyun Kim  
>> said:
>>
>> hey seunggym!
>>
>> thanks for the patch. reviewed and in svn.
>>
>> just take note:
>>
>> when doing math inside if's put the math inside ()'s also other math ops 
>> where
>> you mix +, -, / and *. i fixed the patch for these bits. i.e.
>>
>> a + b / 2 <- WRONG
>> a + (b / 2) <- RIGHT
>>
>> if (a + b < 2) <- WRONG
>> if ((a + b) < 2) <- RIGHT
>>
>> why? i have seen too many peoilpe make "oops" errors in their math and inside
>> if's where they get the order of operation with +, -, /, * , other bitwise 
>> and
>> logic ops wrong. it's too much to keep in your head all the time as to who 
>> gets
>> done first, so just put ()'s in to explicitly say what you want done in what
>> order. it doesn't make the code slower and it EXPLICITLY says to others 
>> reading
>> your code what you intended to happen. without this they are often left
>> guessing when they hunt bugs in this code. :)
>>
>>> Dear all,
>>>
>>> I introduce a new feature "reorder mode" of genlist.
>>> Using this feature, user can reoder genlist items dynamically.
>>>
>>> [API]
>>> ==
>>> - EAPI Eina_Bool   elm_genlist_item_rename_mode_get(Elm_Genlist_Item *it)
>>> Get the rename mode state of an item. This gets the rename mode state of an
>>> item
>>>
>>> - EAPI void   elm_genlist_reorder_mode_set(Evas_Object *obj, Eina_Bool
>>> reorder_mode)
>>> Set genlist reorder mode. This enables the item is moved to another item.
>>> ==
>>>
>>> After set this reorder api, if user press an item (long press), the item can
>>> be moved another position.
>>> Then if the user releases the item, the item will be reodered in genlist.
>>> When the user releases the holding item,  Elm_Genlist_Item_Class.func.moved
>>> callback is also called.
>>> If needed, the application can add some logic in that callback function.
>>>
>>> Please review this patch.
>>> Thanks.
>>>
>>
>>
>> --
>> - Codito, ergo sum - "I code, therefore I am" --
>> The Rasterman (Carsten Haitzler)    ras...@rasterman.com
>>
>>
>> --
>> Simplify data backup and recovery for your virtual environment with vRanger.
>> Installation's a snap, and flexible recovery options mean your data is safe,
>> secure and there when you need it. Data protection magic?
>> Nope - It's vRanger. Get your free trial download today.
>> http://p.sf.net/sfu/quest-sfdev2dev
>> ___
>> enlightenment-devel mailing list
>> enlightenment-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>>
>

--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Patch] elm_genlist - added new feature : genlist reorder mode

2011-06-01 Thread Daniel Juyung Seo
Great! Thanks raster and seunggyun :)

Daniel Juyung Seo (SeoZ)

On Thu, Jun 2, 2011 at 12:14 PM, Carsten Haitzler  wrote:
> On Fri, 20 May 2011 21:01:02 +0900 Seunggyun Kim  said:
>
> hey seunggym!
>
> thanks for the patch. reviewed and in svn.
>
> just take note:
>
> when doing math inside if's put the math inside ()'s also other math ops where
> you mix +, -, / and *. i fixed the patch for these bits. i.e.
>
> a + b / 2 <- WRONG
> a + (b / 2) <- RIGHT
>
> if (a + b < 2) <- WRONG
> if ((a + b) < 2) <- RIGHT
>
> why? i have seen too many peoilpe make "oops" errors in their math and inside
> if's where they get the order of operation with +, -, /, * , other bitwise and
> logic ops wrong. it's too much to keep in your head all the time as to who 
> gets
> done first, so just put ()'s in to explicitly say what you want done in what
> order. it doesn't make the code slower and it EXPLICITLY says to others 
> reading
> your code what you intended to happen. without this they are often left
> guessing when they hunt bugs in this code. :)
>
>> Dear all,
>>
>> I introduce a new feature "reorder mode" of genlist.
>> Using this feature, user can reoder genlist items dynamically.
>>
>> [API]
>> ==
>> - EAPI Eina_Bool   elm_genlist_item_rename_mode_get(Elm_Genlist_Item *it)
>> Get the rename mode state of an item. This gets the rename mode state of an
>> item
>>
>> - EAPI void   elm_genlist_reorder_mode_set(Evas_Object *obj, Eina_Bool
>> reorder_mode)
>> Set genlist reorder mode. This enables the item is moved to another item.
>> ==
>>
>> After set this reorder api, if user press an item (long press), the item can
>> be moved another position.
>> Then if the user releases the item, the item will be reodered in genlist.
>> When the user releases the holding item,  Elm_Genlist_Item_Class.func.moved
>> callback is also called.
>> If needed, the application can add some logic in that callback function.
>>
>> Please review this patch.
>> Thanks.
>>
>
>
> --
> - Codito, ergo sum - "I code, therefore I am" --
> The Rasterman (Carsten Haitzler)    ras...@rasterman.com
>
>
> --
> Simplify data backup and recovery for your virtual environment with vRanger.
> Installation's a snap, and flexible recovery options mean your data is safe,
> secure and there when you need it. Data protection magic?
> Nope - It's vRanger. Get your free trial download today.
> http://p.sf.net/sfu/quest-sfdev2dev
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>

--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Patch] elm_genlist - added new feature : genlist reorder mode

2011-06-01 Thread The Rasterman
On Fri, 20 May 2011 21:01:02 +0900 Seunggyun Kim  said:

hey seunggym!

thanks for the patch. reviewed and in svn.

just take note:

when doing math inside if's put the math inside ()'s also other math ops where
you mix +, -, / and *. i fixed the patch for these bits. i.e.

a + b / 2 <- WRONG
a + (b / 2) <- RIGHT

if (a + b < 2) <- WRONG
if ((a + b) < 2) <- RIGHT

why? i have seen too many peoilpe make "oops" errors in their math and inside
if's where they get the order of operation with +, -, /, * , other bitwise and
logic ops wrong. it's too much to keep in your head all the time as to who gets
done first, so just put ()'s in to explicitly say what you want done in what
order. it doesn't make the code slower and it EXPLICITLY says to others reading
your code what you intended to happen. without this they are often left
guessing when they hunt bugs in this code. :)

> Dear all,
> 
> I introduce a new feature "reorder mode" of genlist.
> Using this feature, user can reoder genlist items dynamically.
> 
> [API]
> ==
> - EAPI Eina_Bool   elm_genlist_item_rename_mode_get(Elm_Genlist_Item *it)
> Get the rename mode state of an item. This gets the rename mode state of an
> item
> 
> - EAPI void   elm_genlist_reorder_mode_set(Evas_Object *obj, Eina_Bool
> reorder_mode)
> Set genlist reorder mode. This enables the item is moved to another item.
> ==
> 
> After set this reorder api, if user press an item (long press), the item can
> be moved another position.
> Then if the user releases the item, the item will be reodered in genlist.
> When the user releases the holding item,  Elm_Genlist_Item_Class.func.moved
> callback is also called. 
> If needed, the application can add some logic in that callback function.
> 
> Please review this patch.
> Thanks.
> 


-- 
- Codito, ergo sum - "I code, therefore I am" --
The Rasterman (Carsten Haitzler)ras...@rasterman.com


--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] Developer Postings (was: Re: EFL Windows Installer)

2011-06-01 Thread Michael Jennings
On Wednesday, 01 June 2011, at 23:26:11 (+0200),
Vincent Torri wrote:

> PS: can someone forward that mail to the e-users ML ?

You (and any developer who wishes post-only access to the users list)
are encouraged to subscribe and set the "nomail" option for yourself.
Then you'll be able to post but won't receive the list traffic.

Michael

-- 
Michael Jennings (a.k.a. KainX)  http://www.kainx.org/  
Linux Server/Cluster Admin, LBL.gov   Author, Eterm (www.eterm.org)
---
 "A leader takes people where they want to go.  A great leader takes
  people where they don't necessarily want to go, but ought to be."
-- Rosalynn Carter

--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] EFL Windows Installer

2011-06-01 Thread Vincent Torri

Hey,

here is a new version of the EFL installer on Windows. It's based on the 
svn. There are some few local changes though.


http://www.maths.univ-evry.fr/pages_perso/vtorri/files/Efl-dbg-1.1.exe

If some people want to try it, feel free.

Known bugs:

1) on my computer, if you install the EFL in c:\a\path, then the $PATH env 
var is still appended with c:\Program Files\Efl\bin. I don't understand 
why. You have to change that manually for now if it happens.

2) because of new Eina_Lock, plenty of messages are displayed in the 
terminal that is opened with expedite or elementary_test, which slows down 
the app. that must be fixed in evas (evas_common.h)

3) plenty of others I know, they will be fixed later, but you can report 
whatever bug you find privately (to not pollute the ML with Windows 
specific bugs)

cheers

Vincent

PS: can someone forward that mail to the e-users ML ?

--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: raster trunk/evas/src/lib/cache

2011-06-01 Thread Rafael Antognolli
On Thu, Sep 9, 2010 at 4:08 AM, Enlightenment SVN
 wrote:
> Log:
>  lots of cleanups... actually tested! :)
>
>
> Author:       raster
> Date:         2010-09-09 00:08:10 -0700 (Thu, 09 Sep 2010)
> New Revision: 52030

>  static void
> -_evas_preload_thread_end(Evas_Preload_Pthread_Data *pth)
> +_evas_preload_thread_end(void *data)
>  {
> -   Evas_Preload_Pthread_Data *p;
> +   Evas_Preload_Pthread_Data *pth = data;
> +   Evas_Preload_Pthread_Data *p = NULL;
>
> -   if (pthread_join(pth->thread, (void **) &p) != 0)
> -     return ;
> -
> -   _evas_preload_thread = eina_list_remove(_evas_preload_thread, pth);
> +   if (pthread_join(pth->thread, (void **)&p) != 0) free(p);
>  }

Hello raster, I know this is old, but I can't understand it... why do
you only free the data struct on pthread_join error? Shouldn't you
free it always?

I can always get leaks on almost every call that I'm doing to
edje_object_preload() on my program. I can send you a test case if
necessary...

-- 
Rafael Antognolli
ProFUSION embedded systems
http://profusion.mobi

--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: cedric trunk/evas/src/lib

2011-06-01 Thread Vincent Torri

1.1.0 is useless, as we add API only on newer minor version

Vincent


On Wed, 1 Jun 2011, Enlightenment SVN wrote:

> Log:
> evas: make Vincent happy.
>
>
> Author:   cedric
> Date: 2011-06-01 08:00:55 -0700 (Wed, 01 Jun 2011)
> New Revision: 59875
> Trac: http://trac.enlightenment.org/e/changeset/59875
>
> Modified:
>  trunk/evas/src/lib/Evas.h
>
> Modified: trunk/evas/src/lib/Evas.h
> ===
> --- trunk/evas/src/lib/Evas.h 2011-06-01 14:39:15 UTC (rev 59874)
> +++ trunk/evas/src/lib/Evas.h 2011-06-01 15:00:55 UTC (rev 59875)
> @@ -5241,6 +5241,7 @@
>  *
>  * @param file The file to check
>  * @return EINA_TRUE if we may be able to opeen it, EINA_FALSE if it's 
> unlikely.
> + * @since 1.1.0
>  *
>  * If file is a Eina_Stringshare, use directly @ref 
> evas_object_image_extension_can_load_fast_get.
>  *
> @@ -5253,6 +5254,7 @@
>  *
>  * @param file The file to check, it should be an Eina_Stringshare.
>  * @return EINA_TRUE if we may be able to opeen it, EINA_FALSE if it's 
> unlikely.
> + * @since 1.1.0
>  *
>  * This functions is threadsafe.
>  */
>
>
> --
> Simplify data backup and recovery for your virtual environment with vRanger.
> Installation's a snap, and flexible recovery options mean your data is safe,
> secure and there when you need it. Data protection magic?
> Nope - It's vRanger. Get your free trial download today.
> http://p.sf.net/sfu/quest-sfdev2dev
> ___
> enlightenment-svn mailing list
> enlightenment-...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-svn
>
>

--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: cedric IN trunk/evas: . src/lib src/lib/canvas src/lib/engines/common

2011-06-01 Thread Vincent Torri

ADD @since 1.1 !!

Vincent

On Wed, 1 Jun 2011, Enlightenment SVN wrote:

> Log:
> evas: add evas_object_image_extension_can_load_get.
>
>  This functions let you check if a file could be opened by
>  Evas_Object_Image. It is threadsafe, and you should use it
>  from another thread as often as possible :-)
>
>
>
> Author:   cedric
> Date: 2011-06-01 07:32:08 -0700 (Wed, 01 Jun 2011)
> New Revision: 59872
> Trac: http://trac.enlightenment.org/e/changeset/59872
>
> Modified:
>  trunk/evas/ChangeLog trunk/evas/src/lib/Evas.h 
> trunk/evas/src/lib/canvas/evas_main.c 
> trunk/evas/src/lib/engines/common/evas_image.h 
> trunk/evas/src/lib/engines/common/evas_image_load.c
>
> Modified: trunk/evas/ChangeLog
> ===
> --- trunk/evas/ChangeLog  2011-06-01 14:25:15 UTC (rev 59871)
> +++ trunk/evas/ChangeLog  2011-06-01 14:32:08 UTC (rev 59872)
> @@ -387,3 +387,9 @@
> 2011-05-29  Vincent Torri
>
>   * Fix compilation when --disable-async-preload is passed to configure.
> +
> +2011-06-01  Cedric Bail
> +
> + * Add +evas_object_image_extension_can_load_get and
> + evas_object_image_extension_can_load_fast_get that check if a file
> + may be opened by Evas_Object_Image.
>
> Modified: trunk/evas/src/lib/Evas.h
> ===
> --- trunk/evas/src/lib/Evas.h 2011-06-01 14:25:15 UTC (rev 59871)
> +++ trunk/evas/src/lib/Evas.h 2011-06-01 14:32:08 UTC (rev 59872)
> @@ -5237,6 +5237,28 @@
> EAPI Eina_Boolevas_object_image_source_unset   
> (Evas_Object *obj) EINA_ARG_NONNULL(1);
>
> /**
> + * Check if a file extention may be supported by @ref Evas_Object_Image.
> + *
> + * @param file The file to check
> + * @return EINA_TRUE if we may be able to opeen it, EINA_FALSE if it's 
> unlikely.
> + *
> + * If file is a Eina_Stringshare, use directly @ref 
> evas_object_image_extension_can_load_fast_get.
> + *
> + * This functions is threadsafe.
> + */
> +EAPI Eina_Bool evas_object_image_extension_can_load_get(const char *file);
> +
> +/**
> + * Check if a file extention may be supported by @ref Evas_Object_Image.
> + *
> + * @param file The file to check, it should be an Eina_Stringshare.
> + * @return EINA_TRUE if we may be able to opeen it, EINA_FALSE if it's 
> unlikely.
> + *
> + * This functions is threadsafe.
> + */
> +EAPI Eina_Bool evas_object_image_extension_can_load_fast_get(const char 
> *file);
> +
> +/**
>  * @defgroup Evas_Object_Text Text Object Functions
>  *
>  * Functions that operate on single line, single style text objects.
>
> Modified: trunk/evas/src/lib/canvas/evas_main.c
> ===
> --- trunk/evas/src/lib/canvas/evas_main.c 2011-06-01 14:25:15 UTC (rev 
> 59871)
> +++ trunk/evas/src/lib/canvas/evas_main.c 2011-06-01 14:32:08 UTC (rev 
> 59872)
> @@ -510,6 +510,25 @@
>eina_list_free(list);
> }
>
> +EAPI Eina_Bool
> +evas_object_image_extension_can_load_get(const char *file)
> +{
> +   const char *tmp;
> +   Eina_Bool result;
> +
> +   tmp = eina_stringshare_add(file);
> +   result = evas_common_extension_can_load_get(tmp);
> +   eina_stringshare_del(tmp);
> +
> +   return result;
> +}
> +
> +EAPI Eina_Bool
> +evas_object_image_extension_can_load_fast_get(const char *file)
> +{
> +   return evas_common_extension_can_load_get(file);
> +}
> +
> EAPI void
> evas_pointer_output_xy_get(const Evas *e, int *x, int *y)
> {
>
> Modified: trunk/evas/src/lib/engines/common/evas_image.h
> ===
> --- trunk/evas/src/lib/engines/common/evas_image.h2011-06-01 14:25:15 UTC 
> (rev 59871)
> +++ trunk/evas/src/lib/engines/common/evas_image.h2011-06-01 14:32:08 UTC 
> (rev 59872)
> @@ -57,4 +57,6 @@
>
> void _evas_common_rgba_image_post_surface(Image_Entry *ie);
>
> +EAPI Eina_Bool evas_common_extension_can_load_get(const char *file);
> +
> #endif /* _EVAS_IMAGE_H */
>
> Modified: trunk/evas/src/lib/engines/common/evas_image_load.c
> ===
> --- trunk/evas/src/lib/engines/common/evas_image_load.c   2011-06-01 
> 14:25:15 UTC (rev 59871)
> +++ trunk/evas/src/lib/engines/common/evas_image_load.c   2011-06-01 
> 14:32:08 UTC (rev 59872)
> @@ -8,61 +8,65 @@
>
> struct ext_loader_s
> {
> +   unsigned int length;
>const char *extension;
>const char *loader;
> };
>
> +#define MATCHING(Ext, Module)   \
> +  { sizeof (Ext), Ext, Module }
> +
> static const struct ext_loader_s loaders[] =
> { /* map extensions to loaders to use for good first-guess tries */
> -   { ".png", "png" },
> -   { ".jpg", "jpeg" },
> -   { ".jpeg", "jpeg" },
> -   { ".jfif", "jpeg" },
> -   { ".eet", "eet" },
> -   { ".edj", "eet" },
> -   { ".eap", "eet" },
> -   { ".edb", "edb" },
> -   { ".xpm", "xpm" },
> -   { ".tiff", "tiff" },
> -   { ".tif", "

Re: [E-devel] [Patch] elm_progressbar patch

2011-06-01 Thread michael bouchaud
2011/6/1 ChunEon Park 

> Then how about providing common APIs such as elm_object_part_text_set,
> elm_object_part_icon_set for all widgets
>
> since all widget has such potential requirements.
>
like elm_widget_signal_emit each widget each object use
elm_widget_signal_emit_hook_set. so elm_widget_text_set you have
elm_widget_text_hook_set to implement in each object.

>
>
> But I don't think widgets need to support those functions.
>
> because It could be covered by layout.
>
In case you need to translate the string. You can't do this today with edje.
And the case of 'Prince' is relevant too. Add two indicator of the progress
in underway. One is in percent and one represent the amount of unit here Kb.
Nowadays, we need to create a layout to swallow the elm_progressbar object.
And 'hack' the theme, to have the two text indicators on the same line.

Now about icons, if you want to embed an extra icon in the top right of a
elm_frame. you need to make one layout for each icon you want to use (copy
and paste just to change the icon. I hate to have duplicated code). Or embed
all the icon in the same layout and play with signal_emit.

So, I admit you can do this today but for me it's a very hacky way.

>
>
> 
> Let's run together for the best moment!
>
> -Regards, Hermet-
>
>
>
> -Original Message-
> *From:* "michael bouchaud"
> *To:* rajee...@samsung.com
> *Cc:* "prince.du...@samsung.com";
> enlightenment-devel@lists.sourceforge.net
> *Sent:* 11-06-01(수) 19:45:54
> *Subject:* Re: [E-devel] [Patch] elm_progressbar patchI'm ok with this
> patch. But in my opinion, this is not the only one gadget,
> who has need this functionality, but ALL the widgets ... sure except box
> and
> table :D.
> And I think we need do the same things for extra images. With this we can
> emit a extra signal, set some extra label and icon. And each widget becomes
> more customizable for each use case.
>
>
> 2011/6/1 RAJEEV RANJAN 
>
> >
> > Hi Hermet,
> >
> > Adding a text part using edje text part in edc is possible however if
> > we
> > use this approach then we won't be able to provide i18n support as this
> > support is not there at edje level as of now.
> >
> > As far as breaking of themability is concerned, as the name of parts
> > along
> > with label for those in the list are being maintained, so on theme change
> > the widget can apply these parts label if those parts are present in the
> > new
> > theme.
> >
> > An application using progressbar anyway will be aware of the text parts
> > which it is interesting in adding, so it should provide those parts in
> > all
> > themes or extensions/overlays.
> >
> > Thanks.
> >
> > Regards,
> >
> > Rajeev
> >
> >
> > --- Original Message ---
> >
> > Message: 1
> > Date: Wed, 01 Jun 2011 17:49:35 +0900
> > From: ChunEon Park
> > Subject: Re: [E-devel] [Patch] elm_progressbar patch
> > To: ChunEon Park
> > Cc: prince.du...@samsung.com, 'EFL'
> > Message-ID: <7677c7613f53ca7088b6efde4e7ce...@tweb36-2.nm>
> > Content-Type: text/plain; charset="EUC-KR"
> > Hi, prince.
> > I checked your patch right before.
> > But I dont like these new APIs.
> > Currently progressbar provides label_set API for normal case.
> > and people could add extra text with text-part in separted layout or
> > elm_label or something else if they need.
> > This kind of API would make the widget break theme changing.
> > Doesn't it?
> > Thanks.
> > 
> > Let's run together for the best moment!
> > -Regards, Hermet-
> > -Original Message-
> > From: "ChunEon Park"
> > To: "'ChunEon Park'";
> > "'EFL'"
> > Cc: prince.du...@samsung.com
> > Sent: 11-05-26(?) 11:17:05
> > Subject: RE: [E-devel] [Patch] elm_progressbar patchOops, I missed patch
> > file.
> > Try it again! :p
> > -Original Message-
> > From: ChunEon Park [mailto:her...@naver.com]
> > Sent: Thursday, May 26, 2011 11:14 AM
> > To: EFL
> > Cc: prince.du...@samsung.com
> > Subject: [E-devel] [Patch] elm_progressbar patch
> > Hi,
> > This patch is sent by Prince Kumar Dubey (prince.du...@samsung.com)
> > Could somebody review this patch?
> > If nobody review this, then I will later.
> > Thanks.
> > 
> > Let's run together for the best moment!
> > -Regards, Hermet-
> >
> >
> 
> > --
> > vRanger cuts backup time in half-while increasing security.
> > With the market-leading solution for virtual backup and recovery,
> > you get blazing-fast, flexible, and affordable data protection.
> > Download your free trial now.
> > http://p.sf.net/sfu/quest-d2dcopy1
> > ___
> > enlightenment-devel mailing list
> > enlightenment-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> >
> >
> [SeenTimeChecker?do=705252d897453316b22ebdd87d25aaf3c8f3520e2c71f17ff1d2345d
> >
> >
> 123b7a3c770

Re: [E-devel] [Patch][CtxPopup] Add Arrow on the drag-able area of Base

2011-06-01 Thread ChunEon Park
 
Dear cinoo, 
 
Thank for your patch. 
 
But I found something wrong there. 
 
1. //if user does not use dragable part. 
 
I guess you can remove these lines which are vestige for theme compatibility. 
 
2. 558: edje_object_signal_emit(wd->arrow, "elm,state,bottom", "elm"); 
Spank! it is called twice! 
 
3. How about renaming arrow swallow part with lowercase letter for consistency?
"elm.swallow.arrowRight" -> "elm.swallow.arrow_right" or ... 
 
4. please check the arrow position calculation again. it works incorrectly. 
 
Could you check the above cases? 
 
Thanks. 
 

Let's run together for the best moment!
-Regards, Hermet-
 
-Original Message-
From: "cnook" 
To: enlightenment-devel@lists.sourceforge.net
Cc: 
Sent: 11-05-27(금) 19:08:44
Subject: [E-devel] [Patch][CtxPopup] Add Arrow on the drag-able area of 
BaseDear All,
Hi~
If CtxPopup has elm_slider for content, the elm_slider indicator is covered
by CtxPopup arrow.
So, I have made a patch for resolving this issue. As the title the arrow
will be swallowed in the base.
Even though user uses his/her own style, the attached patch will work
properly.
Sincerely,
Shinwoo Kim.
--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Patch] elm_progressbar patch

2011-06-01 Thread ChunEon Park
 
Then how about providing common APIs such as elm_object_part_text_set, 
elm_object_part_icon_set for all widgets
since all widget has such potential requirements. 
 
But I don't think widgets need to support those functions. 
because It could be covered by layout. 
 

Let's run together for the best moment!
-Regards, Hermet-
 
-Original Message-
From: "michael bouchaud" 
To: rajee...@samsung.com
Cc: "prince.du...@samsung.com"; 
enlightenment-devel@lists.sourceforge.net
Sent: 11-06-01(수) 19:45:54
Subject: Re: [E-devel] [Patch] elm_progressbar patchI'm ok with this patch. But 
in my opinion, this is not the only one gadget,
who has need this functionality, but ALL the widgets ... sure except box and
table :D.
And I think we need do the same things for extra images. With this we can
emit a extra signal, set some extra label and icon. And each widget becomes
more customizable for each use case.
2011/6/1 RAJEEV RANJAN 
>
> Hi Hermet,
>
> Adding a text part using edje text part in edc is possible however if
> we
> use this approach then we won't be able to provide i18n support as this
> support is not there at edje level as of now.
>
> As far as breaking of themability is concerned, as the name of parts
> along
> with label for those in the list are being maintained, so on theme change
> the widget can apply these parts label if those parts are present in the
> new
> theme.
>
> An application using progressbar anyway will be aware of the text parts
> which it is interesting in adding, so it should provide those parts in
> all
> themes or extensions/overlays.
>
> Thanks.
>
> Regards,
>
> Rajeev
>
>
> --- Original Message ---
>
> Message: 1
> Date: Wed, 01 Jun 2011 17:49:35 +0900
> From: ChunEon Park
> Subject: Re: [E-devel] [Patch] elm_progressbar patch
> To: ChunEon Park
> Cc: prince.du...@samsung.com, 'EFL'
> Message-ID: <7677c7613f53ca7088b6efde4e7ce...@tweb36-2.nm>
> Content-Type: text/plain; charset="EUC-KR"
> Hi, prince.
> I checked your patch right before.
> But I dont like these new APIs.
> Currently progressbar provides label_set API for normal case.
> and people could add extra text with text-part in separted layout or
> elm_label or something else if they need.
> This kind of API would make the widget break theme changing.
> Doesn't it?
> Thanks.
> 
> Let's run together for the best moment!
> -Regards, Hermet-
> -Original Message-
> From: "ChunEon Park"
> To: "'ChunEon Park'";
> "'EFL'"
> Cc: prince.du...@samsung.com
> Sent: 11-05-26(?) 11:17:05
> Subject: RE: [E-devel] [Patch] elm_progressbar patchOops, I missed patch
> file.
> Try it again! :p
> -Original Message-
> From: ChunEon Park [mailto:her...@naver.com]
> Sent: Thursday, May 26, 2011 11:14 AM
> To: EFL
> Cc: prince.du...@samsung.com
> Subject: [E-devel] [Patch] elm_progressbar patch
> Hi,
> This patch is sent by Prince Kumar Dubey (prince.du...@samsung.com)
> Could somebody review this patch?
> If nobody review this, then I will later.
> Thanks.
> 
> Let's run together for the best moment!
> -Regards, Hermet-
>
> 
> --
> vRanger cuts backup time in half-while increasing security.
> With the market-leading solution for virtual backup and recovery,
> you get blazing-fast, flexible, and affordable data protection.
> Download your free trial now.
> http://p.sf.net/sfu/quest-d2dcopy1
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>
> [SeenTimeChecker?do=705252d897453316b22ebdd87d25aaf3c8f3520e2c71f17ff1d2345d
>
> 123b7a3c770255183a8f81f75f2c6c48df01bb6e980b3871b38ac2d74ed859d628c32758
> cd62c5cf0684a728c55b39cc59eacf878f9a26ce15a0]
>
> --
> Simplify data backup and recovery for your virtual environment with
> vRanger.
> Installation's a snap, and flexible recovery options mean your data is
> safe,
> secure and there when you need it. Data protection magic?
> Nope - It's vRanger. Get your free trial download today.
> http://p.sf.net/sfu/quest-sfdev2dev
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>
-- 
Michaël Bouchaud
--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magi

Re: [E-devel] [Patch] elm_progressbar patch

2011-06-01 Thread michael bouchaud
I'm ok with this patch. But in my opinion, this is not the only one gadget,
who has need this functionality, but ALL the widgets ... sure except box and
table :D.
And I think we need do the same things for extra images. With this we can
emit a extra signal, set some extra label and icon. And each widget becomes
more customizable for each use case.


2011/6/1 RAJEEV RANJAN 

>
>   Hi Hermet,
>
>  Adding a text part using edje text part in edc is possible however if
> we
>   use this approach then we won't be able to provide i18n support as this
>   support is not there at edje level as of now.
>
>   As far as breaking of themability is concerned, as the name of parts
> along
>   with label for those in the list are being maintained, so on theme change
>   the widget can apply these parts label if those parts are present in the
> new
>   theme.
>
>   An application using progressbar anyway will be aware of the text parts
>   which it is interesting in adding, so it should provide those parts in
> all
>   themes or extensions/overlays.
>
>   Thanks.
>
>   Regards,
>
>   Rajeev
>
>
>   --- Original Message ---
>
>   Message: 1
>   Date: Wed, 01 Jun 2011 17:49:35 +0900
>   From: ChunEon Park
>   Subject: Re: [E-devel] [Patch] elm_progressbar patch
>   To: ChunEon Park
>   Cc: prince.du...@samsung.com, 'EFL'
>   Message-ID: <7677c7613f53ca7088b6efde4e7ce...@tweb36-2.nm>
>   Content-Type: text/plain; charset="EUC-KR"
>Hi, prince.
>   I checked your patch right before.
>   But I dont like these new APIs.
>   Currently progressbar provides label_set API for normal case.
>   and  people  could add extra text with text-part in separted layout or
>   elm_label or something else if they need.
>   This kind of API would make the widget break theme changing.
>   Doesn't it?
>   Thanks.
>   
>   Let's run together for the best moment!
>   -Regards, Hermet-
>   -Original Message-
>   From: "ChunEon Park"
>   To: "'ChunEon Park'";
>   "'EFL'"
>   Cc: prince.du...@samsung.com
>Sent: 11-05-26(?) 11:17:05
>Subject: RE: [E-devel] [Patch] elm_progressbar patchOops, I missed patch
>   file.
>   Try it again! :p
>   -Original Message-
>   From: ChunEon Park [mailto:her...@naver.com]
>   Sent: Thursday, May 26, 2011 11:14 AM
>   To: EFL
>   Cc: prince.du...@samsung.com
>   Subject: [E-devel] [Patch] elm_progressbar patch
>   Hi,
>   This patch is sent by Prince Kumar Dubey (prince.du...@samsung.com)
>   Could somebody review this patch?
>   If nobody review this, then I will later.
>   Thanks.
>   
>   Let's run together for the best moment!
>   -Regards, Hermet-
>
> 
>   --
>   vRanger cuts backup time in half-while increasing security.
>   With the market-leading solution for virtual backup and recovery,
>   you get blazing-fast, flexible, and affordable data protection.
>   Download your free trial now.
>http://p.sf.net/sfu/quest-d2dcopy1
>   ___
>   enlightenment-devel mailing list
>   enlightenment-devel@lists.sourceforge.net
>   https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>
> [SeenTimeChecker?do=705252d897453316b22ebdd87d25aaf3c8f3520e2c71f17ff1d2345d
>
> 123b7a3c770255183a8f81f75f2c6c48df01bb6e980b3871b38ac2d74ed859d628c32758
>   cd62c5cf0684a728c55b39cc59eacf878f9a26ce15a0]
>
> --
> Simplify data backup and recovery for your virtual environment with
> vRanger.
> Installation's a snap, and flexible recovery options mean your data is
> safe,
> secure and there when you need it. Data protection magic?
> Nope - It's vRanger. Get your free trial download today.
> http://p.sf.net/sfu/quest-sfdev2dev
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>



-- 
Michaël Bouchaud
--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: cedric IN trunk/eina: . src/include src/lib

2011-06-01 Thread Cedric BAIL
On Wed, Jun 1, 2011 at 12:21 PM, Vincent Torri  wrote:
> backport ?

I see that as a new feature. Previously not defined and defined in
1.1. So no backport in my opinion.

> On Tue, 31 May 2011, Enlightenment SVN wrote:
>
>> Log:
>> eina: fix eina_hash_set to act when data == NULL like eina_hash_del.
>>
>>
>> Author:       cedric
>> Date:         2011-05-31 09:43:40 -0700 (Tue, 31 May 2011)
>> New Revision: 59849
>> Trac:         http://trac.enlightenment.org/e/changeset/59849
>>
>> Modified:
>>  trunk/eina/ChangeLog trunk/eina/src/include/eina_hash.h 
>> trunk/eina/src/lib/eina_hash.c
>>
>> Modified: trunk/eina/ChangeLog
>> ===
>> --- trunk/eina/ChangeLog      2011-05-31 16:16:01 UTC (rev 59848)
>> +++ trunk/eina/ChangeLog      2011-05-31 16:43:40 UTC (rev 59849)
>> @@ -97,3 +97,7 @@
>> 2011-05-30  Cedric Bail
>>
>>       * Add eina_condition_timedwait.
>> +
>> +2011-05-31  Cedric Bail
>> +
>> +     * Fix eina_hash_set to handle data == NULL like eina_hash_del.
>>
>> Modified: trunk/eina/src/include/eina_hash.h
>> ===
>> --- trunk/eina/src/include/eina_hash.h        2011-05-31 16:16:01 UTC (rev 
>> 59848)
>> +++ trunk/eina/src/include/eina_hash.h        2011-05-31 16:43:40 UTC (rev 
>> 59849)
>> @@ -379,7 +379,7 @@
>>  */
>> EAPI void *eina_hash_set(Eina_Hash  *hash,
>>                          const void *key,
>> -                         const void *data) EINA_ARG_NONNULL(1, 2, 3);
>> +                         const void *data) EINA_ARG_NONNULL(1, 2);
>>
>> /**
>>  * @brief Change the key associated with a data without triggering the
>>
>> Modified: trunk/eina/src/lib/eina_hash.c
>> ===
>> --- trunk/eina/src/lib/eina_hash.c    2011-05-31 16:16:01 UTC (rev 59848)
>> +++ trunk/eina/src/lib/eina_hash.c    2011-05-31 16:43:40 UTC (rev 59849)
>> @@ -1103,7 +1103,6 @@
>>    EINA_SAFETY_ON_NULL_RETURN_VAL(hash,              NULL);
>>    EINA_SAFETY_ON_NULL_RETURN_VAL(hash->key_hash_cb, NULL);
>>    EINA_SAFETY_ON_NULL_RETURN_VAL(key,               NULL);
>> -   EINA_SAFETY_ON_NULL_RETURN_VAL(data,              NULL);
>>    EINA_MAGIC_CHECK_HASH(hash);
>>
>>    key_length = hash->key_length_cb ? hash->key_length_cb(key) : 0;
>> @@ -1119,10 +1118,21 @@
>>         void *old_data = NULL;
>>
>>         old_data = hash_element->tuple.data;
>> -        hash_element->tuple.data = (void *)data;
>> +
>> +     if (data)
>> +       {
>> +         hash_element->tuple.data = (void *)data;
>> +       }
>> +     else
>> +       {
>> +         _eina_hash_del_by_hash_el(hash, hash_element, hash_head, key_hash);
>> +       }
>> +
>>         return old_data;
>>      }
>>
>> +   if (!data) return NULL;
>> +
>>    eina_hash_add_alloc_by_hash(hash,
>>                                key,
>>                                key_length,
>>
>>
>> --
>> Simplify data backup and recovery for your virtual environment with vRanger.
>> Installation's a snap, and flexible recovery options mean your data is safe,
>> secure and there when you need it. Data protection magic?
>> Nope - It's vRanger. Get your free trial download today.
>> http://p.sf.net/sfu/quest-sfdev2dev
>> ___
>> enlightenment-svn mailing list
>> enlightenment-...@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/enlightenment-svn
>>
>>
>
> --
> Simplify data backup and recovery for your virtual environment with vRanger.
> Installation's a snap, and flexible recovery options mean your data is safe,
> secure and there when you need it. Data protection magic?
> Nope - It's vRanger. Get your free trial download today.
> http://p.sf.net/sfu/quest-sfdev2dev
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>
>



-- 
Cedric BAIL

--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: cedric IN trunk/eina: . src/include src/lib

2011-06-01 Thread Vincent Torri

backport ?

Vincent


On Tue, 31 May 2011, Enlightenment SVN wrote:

> Log:
> eina: fix eina_hash_set to act when data == NULL like eina_hash_del.
>
>
> Author:   cedric
> Date: 2011-05-31 09:43:40 -0700 (Tue, 31 May 2011)
> New Revision: 59849
> Trac: http://trac.enlightenment.org/e/changeset/59849
>
> Modified:
>  trunk/eina/ChangeLog trunk/eina/src/include/eina_hash.h 
> trunk/eina/src/lib/eina_hash.c
>
> Modified: trunk/eina/ChangeLog
> ===
> --- trunk/eina/ChangeLog  2011-05-31 16:16:01 UTC (rev 59848)
> +++ trunk/eina/ChangeLog  2011-05-31 16:43:40 UTC (rev 59849)
> @@ -97,3 +97,7 @@
> 2011-05-30  Cedric Bail
>
>   * Add eina_condition_timedwait.
> +
> +2011-05-31  Cedric Bail
> +
> + * Fix eina_hash_set to handle data == NULL like eina_hash_del.
>
> Modified: trunk/eina/src/include/eina_hash.h
> ===
> --- trunk/eina/src/include/eina_hash.h2011-05-31 16:16:01 UTC (rev 
> 59848)
> +++ trunk/eina/src/include/eina_hash.h2011-05-31 16:43:40 UTC (rev 
> 59849)
> @@ -379,7 +379,7 @@
>  */
> EAPI void *eina_hash_set(Eina_Hash  *hash,
>  const void *key,
> - const void *data) EINA_ARG_NONNULL(1, 2, 3);
> + const void *data) EINA_ARG_NONNULL(1, 2);
>
> /**
>  * @brief Change the key associated with a data without triggering the
>
> Modified: trunk/eina/src/lib/eina_hash.c
> ===
> --- trunk/eina/src/lib/eina_hash.c2011-05-31 16:16:01 UTC (rev 59848)
> +++ trunk/eina/src/lib/eina_hash.c2011-05-31 16:43:40 UTC (rev 59849)
> @@ -1103,7 +1103,6 @@
>EINA_SAFETY_ON_NULL_RETURN_VAL(hash,  NULL);
>EINA_SAFETY_ON_NULL_RETURN_VAL(hash->key_hash_cb, NULL);
>EINA_SAFETY_ON_NULL_RETURN_VAL(key,   NULL);
> -   EINA_SAFETY_ON_NULL_RETURN_VAL(data,  NULL);
>EINA_MAGIC_CHECK_HASH(hash);
>
>key_length = hash->key_length_cb ? hash->key_length_cb(key) : 0;
> @@ -1119,10 +1118,21 @@
> void *old_data = NULL;
>
> old_data = hash_element->tuple.data;
> -hash_element->tuple.data = (void *)data;
> +
> + if (data)
> +   {
> + hash_element->tuple.data = (void *)data;
> +   }
> + else
> +   {
> + _eina_hash_del_by_hash_el(hash, hash_element, hash_head, key_hash);
> +   }
> +
> return old_data;
>  }
>
> +   if (!data) return NULL;
> +
>eina_hash_add_alloc_by_hash(hash,
>key,
>key_length,
>
>
> --
> Simplify data backup and recovery for your virtual environment with vRanger.
> Installation's a snap, and flexible recovery options mean your data is safe,
> secure and there when you need it. Data protection magic?
> Nope - It's vRanger. Get your free trial download today.
> http://p.sf.net/sfu/quest-sfdev2dev
> ___
> enlightenment-svn mailing list
> enlightenment-...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-svn
>
>

--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Patch] elm_progressbar patch

2011-06-01 Thread RAJEEV RANJAN

   Hi Hermet,

  Adding a text part using edje text part in edc is possible however if we
   use this approach then we won't be able to provide i18n support as this
   support is not there at edje level as of now.

   As far as breaking of themability is concerned, as the name of parts along
   with label for those in the list are being maintained, so on theme change
   the widget can apply these parts label if those parts are present in the new
   theme.

   An application using progressbar anyway will be aware of the text parts
   which it is interesting in adding, so it should provide those parts in all
   themes or extensions/overlays.

   Thanks.

   Regards,

   Rajeev


   --- Original Message ---

   Message: 1
   Date: Wed, 01 Jun 2011 17:49:35 +0900
   From: ChunEon Park
   Subject: Re: [E-devel] [Patch] elm_progressbar patch
   To: ChunEon Park
   Cc: prince.du...@samsung.com, 'EFL'
   Message-ID: <7677c7613f53ca7088b6efde4e7ce...@tweb36-2.nm>
   Content-Type: text/plain; charset="EUC-KR"
   Hi, prince.
   I checked your patch right before.
   But I dont like these new APIs.
   Currently progressbar provides label_set API for normal case.
   and  people  could add extra text with text-part in separted layout or
   elm_label or something else if they need.
   This kind of API would make the widget break theme changing.
   Doesn't it?
   Thanks.
   
   Let's run together for the best moment!
   -Regards, Hermet-
   -Original Message-
   From: "ChunEon Park"
   To: "'ChunEon Park'";
   "'EFL'"
   Cc: prince.du...@samsung.com
   Sent: 11-05-26(?) 11:17:05
   Subject: RE: [E-devel] [Patch] elm_progressbar patchOops, I missed patch
   file.
   Try it again! :p
   -Original Message-
   From: ChunEon Park [mailto:her...@naver.com]
   Sent: Thursday, May 26, 2011 11:14 AM
   To: EFL
   Cc: prince.du...@samsung.com
   Subject: [E-devel] [Patch] elm_progressbar patch
   Hi,
   This patch is sent by Prince Kumar Dubey (prince.du...@samsung.com)
   Could somebody review this patch?
   If nobody review this, then I will later.
   Thanks.
   
   Let's run together for the best moment!
   -Regards, Hermet-
   
   --
   vRanger cuts backup time in half-while increasing security.
   With the market-leading solution for virtual backup and recovery,
   you get blazing-fast, flexible, and affordable data protection.
   Download your free trial now.
   http://p.sf.net/sfu/quest-d2dcopy1
   ___
   enlightenment-devel mailing list
   enlightenment-devel@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
   [SeenTimeChecker?do=705252d897453316b22ebdd87d25aaf3c8f3520e2c71f17ff1d2345d
   123b7a3c770255183a8f81f75f2c6c48df01bb6e980b3871b38ac2d74ed859d628c32758
   cd62c5cf0684a728c55b39cc59eacf878f9a26ce15a0]
--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] about packaging/debian directories

2011-06-01 Thread michael bouchaud
2011/6/1 Mark-Willem Jansen 

>
> It would also be nice to debianize the packages which are in
> the snapshot directory. These are probably stable enough to go into
> the main debian repo. Lutin can upload them into the debian unstable repo.
> That way more achitects will be supported and more e17 related packages
> will get into debian based distributions.
> --Mark-Willem Jansen
> 
> > Date: Fri, 27 May 2011 09:29:29 +0900
> > From: ras...@rasterman.com
> > To: michael.bouch...@gmail.com
> > CC: enlightenment-devel@lists.sourceforge.net
> > Subject: Re: [E-devel] about packaging/debian directories
> >
> > On Fri, 27 May 2011 02:17:06 +0200 michael bouchaud
> >  said:
> >
> > sleep? SLEEP? how dare you sleep! :) back to work!
> >
> > /me crack the whip
> >
> > MWHAHAHAHAHHAHAHAHAHA
> >
> > ok - just kidding. no big hurry, but if you get to it, putting the
> updated pkg
> > stuff in svn will be good. if we have an automated script to build pkg's
> for
> > deb/ubuntu etc. then it will get tested and updated and we can easily
> support a
> > ppa for efl etc.
> >
> > > Yes my dear friends, I've planned to do it today but I have to sleep
> > >
> > > 2011/5/26 Carsten Haitzler
> > >
> > > > On Thu, 19 May 2011 22:10:35 +0200 michael bouchaud
> > > >  said:
> > > >
> > > > does someone want to merge/steal lutin's stuff? if someone starts and
> > > > steals
> > > > it.. i'll try set up a daily package build and get it up on e.org.
> > > >
> > > > > Lutin made a very good packaging on debian
> > > > > http://packages.qa.debian.org/e/eina.html. Maybee it will be a
> good
> > > > things
> > > > > to merge this work. The stuff in svn are very old and incomplete.
> Me too
> > > > I
> > > > > managed my own debian package but I use the work of Lutin to made
> the new
> > > > > package.
> > > > >
> > > > >
> > > > > 2011/5/19 Gustavo Sverzut Barbieri
> > > > >
> > > > > > Yes, they must be updated or removed. We're doing that with
> gentoo: we
> > > > have
> > > > > > testing packages in enlightenment's svn until they are merged by
> > > > upstream.
> > > > > >
> > > > > > On May 19, 2011 3:05 PM, "PaulTT"  wrote:
> > > > > >
> > > > > > i compile my own debian packages since long ago
> > > > > > and i'm happy with that, so i can control the revision i compile
> and
> > > > > > be stable for a while or try new releases or go back to previous
> state
> > > > > >
> > > > > > anyway, i also use 'my' debian directories to biuld the packages,
> i
> > > > > > noticed that in packaging/debian, there are the skeletons of
> those
> > > > > > dirs, but they're not the ones used by debian developpers
> > > > > > (they are located something around
> > > > > > here:git://git.debian.org/pkg-e/libs/ , so apt-get source says)
> > > > > >
> > > > > > why is that?
> > > > > >
> > > > > > is there a need to update the ones under packaging? i can do
> that, if
> > > > > > it's necessary
> > > > > >
> > > > > > by, thanx, PaulTT
> > > > > >
> > > > > >
> > > > > >
> > > >
> --
> > > > > > What Every C/C++ and Fortran developer Should Know!
> > > > > > Read this article and learn how Intel has extended the reach of
> its
> > > > > > next-generation tools to help Windows* and Linux* C/C++ and
> Fortran
> > > > > > developers boost performance applications - including clusters.
> > > > > > http://p.sf.net/sfu/intel-dev2devmay
> > > > > > ___
> > > > > > enlightenment-devel mailing list
> > > > > > enlightenment-devel@lists.sourceforge.net
> > > > > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> > > > > >
> > > > > >
> > > >
> --
> > > > > > What Every C/C++ and Fortran developer Should Know!
> > > > > > Read this article and learn how Intel has extended the reach of
> its
> > > > > > next-generation tools to help Windows* and Linux* C/C++ and
> Fortran
> > > > > > developers boost performance applications - including clusters.
> > > > > > http://p.sf.net/sfu/intel-dev2devmay
> > > > > > ___
> > > > > > enlightenment-devel mailing list
> > > > > > enlightenment-devel@lists.sourceforge.net
> > > > > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Michaël Bouchaud
> > > > >
> > > >
> --
> > > > > What Every C/C++ and Fortran developer Should Know!
> > > > > Read this article and learn how Intel has extended the reach of its
> > > > > next-generation tools to help Windows* and Linux* C/C++ and Fortran
> > > > > developers boost performance applications - including clusters.
> > > > > http://p.sf.net/sfu/intel-dev2devmay
> > > > > ___
> > > > > enli

[E-devel] [Patch] make elm_genlist contatin multiline entries

2011-06-01 Thread Sohyun Kim
Hello, this is Sohyun.

I made a patch for elm_genlist.
Elm_genlist cannot contain multiline entries because the height of multiline
entry is decided after calculating elm_genlist_item height.

I added changed_size_hint event callback for elm_genlist icons.
When an icon size is changed, elm_genlist recalculates the item height.
In other words, if multiline entry height is decided, elm_genlist_item
height is recalculated.

Elm_genlist may have many multiline entries, so I added recalculating
routine as a job.
If many multiline entries are resized, the elm_genlist recalculating routine
will be run once.

You can check elementary_test > genlist 6

Thanks

Index: src/lib/elm_genlist.c
===
--- src/lib/elm_genlist.c   (revision 59859)
+++ src/lib/elm_genlist.c   (working copy)
@@ -204,7 +204,7 @@ struct _Widget_Data
Eina_List*group_items;
Pan  *pan;
Evas_Coordpan_x, pan_y, w, h, minw, minh, realminw, prev_viewport_w;
-   Ecore_Job*calc_job, *update_job;
+   Ecore_Job*calc_job, *update_job, *changed_job;
Ecore_Idle_Enterer *queue_idle_enterer;
Ecore_Idler*must_recalc_idler;
Eina_List*queue, *selected;
@@ -370,6 +370,8 @@ static void  _item_block_unrealize(Item_Block
 static void  _calc_job(void *data);
 static void  _on_focus_hook(void*data,
 Evas_Object *obj);
+static void  _changed_size_hints(void *data, Evas *e, Evas_Object *obj, 
void *event_info);
+static void  _changed_job(void *data);
 static Eina_Bool _item_multi_select_up(Widget_Data *wd);
 static Eina_Bool _item_multi_select_down(Widget_Data *wd);
 static Eina_Bool _item_single_select_up(Widget_Data *wd);
@@ -694,6 +696,7 @@ _del_hook(Evas_Object *obj)
_item_cache_zero(wd);
if (wd->calc_job) ecore_job_del(wd->calc_job);
if (wd->update_job) ecore_job_del(wd->update_job);
+   if (wd->changed_job) ecore_job_del(wd->changed_job);
if (wd->queue_idle_enterer) ecore_idle_enterer_del(wd->queue_idle_enterer);
if (wd->must_recalc_idler) ecore_idler_del(wd->must_recalc_idler);
if (wd->multi_timer) ecore_timer_del(wd->multi_timer);
@@ -1803,6 +1806,7 @@ _item_icon_realize(Elm_Genlist_Item *it,
   edje_object_part_swallow(target, key, ic);
   evas_object_show(ic);
   elm_widget_sub_object_add(it->base.widget, ic);
+  evas_object_event_callback_add(ic, 
EVAS_CALLBACK_CHANGED_SIZE_HINTS, _changed_size_hints, it);
   if (it->disabled)
 elm_widget_disabled_set(ic, EINA_TRUE);
}
@@ -2265,6 +2269,17 @@ _item_block_position(Item_Block *itb,
 }
 
 static void
+_changed_size_hints(void *data, Evas *e __UNUSED__, Evas_Object *obj 
__UNUSED__, void *event_info __UNUSED__)
+{
+   Elm_Genlist_Item *it = data;
+   if (!it) return;
+   it->mincalcd = EINA_FALSE;
+   it->block->updateme = EINA_TRUE;
+   if (it->wd->changed_job) ecore_job_del(it->wd->changed_job);
+   it->wd->changed_job = ecore_job_add(_changed_job, it->wd);
+}
+
+static void
 _group_items_recalc(void *data)
 {
Widget_Data *wd = data;
@@ -2502,6 +2517,72 @@ _update_job(void *data)
 }
 
 static void
+_changed_job(void *data)
+{
+   Widget_Data *wd = data; Eina_List *l2;
+   Item_Block *itb;
+   int num, num0, position = 0, recalc = 0;
+   if (!wd) return;
+   wd->changed_job = NULL;
+   num = 0;
+   EINA_INLIST_FOREACH(wd->blocks, itb)
+   {
+  Evas_Coord itminw, itminh;
+  Elm_Genlist_Item *it;
+
+  if (!itb->updateme)
+{
+   num += itb->count;
+   if (position)
+ _item_block_position(itb, num);
+   continue;
+}
+  num0 = num;
+  recalc = 0;
+  EINA_LIST_FOREACH(itb->items, l2, it)
+  {
+ if (!it->mincalcd)
+   {
+  if (it->realized)
+{
+   Evas_Coord mw = -1, mh = -1;
+   itminw = it->minw;
+   itminh = it->minh;
+
+   if (it->wd->height_for_width) mw = it->wd->w;
+   if (!it->display_only)
+  elm_coords_finger_size_adjust(1, &mw, 1, &mh);
+   if (it->wd->height_for_width) mw = it->wd->prev_viewport_w;
+   edje_object_size_min_restricted_calc(it->base.view, &mw, 
&mh, mw, mh);
+   if (!it->display_only)
+  elm_coords_finger_size_adjust(1, &mw, 1, &mh);
+   it->w = it->minw = mw;
+   it->h = it->minh = mh;
+   it->mincalcd = EINA_TRUE;
+
+   if ((it->minw != itminw) || (it->minh != itminh))
+  recalc = 1;
+}
+   }
+ num++;
+  }
+  itb->updateme = EINA_FALSE;
+  if (recalc)
+{
+   position = 1;
+   itb->changed = EINA_TRUE;
+  

Re: [E-devel] E SVN: acidx trunk/edje/src/lib

2011-06-01 Thread Cedric BAIL
On Wed, Jun 1, 2011 at 1:30 AM, Lucas De Marchi
 wrote:
> On Tue, May 31, 2011 at 5:56 PM, Vincent Torri  wrote:
>> On Tue, 31 May 2011, Enlightenment SVN wrote:
>>> Log:
>>> [Edje] Make sure ed->members isn't NULL when freeing an Edje object.
>>>
>>>
>>>
>>> Author:       acidx
>>> Date:         2011-05-31 11:27:28 -0700 (Tue, 31 May 2011)
>>> New Revision: 59853
>>> Trac:         http://trac.enlightenment.org/e/changeset/59853
>>>
>>> Modified:
>>>  trunk/edje/src/lib/edje_main.c
>>>
>>> Modified: trunk/edje/src/lib/edje_main.c
>>> ===
>>> --- trunk/edje/src/lib/edje_main.c    2011-05-31 18:05:31 UTC (rev 59852)
>>> +++ trunk/edje/src/lib/edje_main.c    2011-05-31 18:27:28 UTC (rev 59853)
>>> @@ -201,7 +201,7 @@
>>>         free(cb);
>>>      }
>>>
>>> -   eina_hash_free(ed->members);
>>> +   if (ed->members) eina_hash_free(ed->members);
>>
>> eina_hash_free has a check :
>>
>>    EINA_MAGIC_CHECK_HASH(hash);
>>    EINA_SAFETY_ON_NULL_RETURN(hash);
>
> EINA_SAFETY_* will just protect of program taking a wrong path, which
> will be properly logged so user sees there's something wrong.
>
>
> If it's ok to have ed->members as NULL at that place, then yes, the
> coded added is needed.

Yes it is sadly needed. It was a long fight, but we did agree a long
time ago that we should do that check in the caller. Just forgot to do
it.
-- 
Cedric BAIL

--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [Patch] elm_progressbar patch

2011-06-01 Thread ChunEon Park
Hi, prince. 
 
I checked your patch right before. 
 
But I dont like these new APIs. 
 
Currently progressbar provides label_set API for normal case. 
 
and people could add extra text with text-part in separted layout or elm_label 
or something else if they need. 
 
This kind of API would make the widget break theme changing. 
 
Doesn't it?
 
Thanks. 
 

Let's run together for the best moment!
-Regards, Hermet-
 
-Original Message-
From: "ChunEon Park" 
To: "'ChunEon Park'"; 
"'EFL'"
Cc: prince.du...@samsung.com
Sent: 11-05-26(목) 11:17:05
Subject: RE: [E-devel] [Patch] elm_progressbar patchOops, I missed patch file. 
Try it again! :p
-Original Message-
From: ChunEon Park [mailto:her...@naver.com] 
Sent: Thursday, May 26, 2011 11:14 AM
To: EFL
Cc: prince.du...@samsung.com
Subject: [E-devel] [Patch] elm_progressbar patch
Hi, 
This patch is sent by Prince Kumar Dubey (prince.du...@samsung.com)
Could somebody review this patch?
If nobody review this, then I will later. 
Thanks. 

Let's run together for the best moment!
-Regards, Hermet-

--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] framebuffer keyboard input

2011-06-01 Thread David Seikel
On Wed, 1 Jun 2011 17:35:17 +1000 David Seikel 
wrote:

> On Wed, 1 Jun 2011 16:10:30 +0900 Carsten Haitzler (The Rasterman)
>  wrote:
> 
> > On Wed, 1 Jun 2011 13:28:47 +1000 David Seikel 
> > said:
> > 
> > > > a kernel panic... is definitely a kernel problem. just
> > > > unplugging some usb device being used for sure! dont know if
> > > > ecore_fb handles teh vanishing of the device properly (and then
> > > > dynamic plugging in again later).
> > > 
> > > Well no.  It only panics when elementary_test is running.  If it's
> > > just sitting at the shell prompt, no problem, things just keep
> > > running fine. And no idea about if I plug it back in again, since
> > > I don't get a chance to before the panic.
> > 
> > a kernel panic, by DEFINITION is a KERNEL problem. its a bug inside
> > the kernel. userspace happens to TRIGGER the bug by maybe using
> > devices in a certain way - eg opening and keeping the udb device
> > open. as such kernel and userspace are separated and any kernel
> > panic is entirely a bug inside the kernel.
> > 
> > > On the other hand, I don't KNOW for sure if it's a kernel panic,
> > > since elementary_test has taken over the screen at that point,
> > > there is no visible console to see any messages.  The system just
> > > reboots.
> > 
> > oooh.. so you dont KNOW its a kernel panic... you don't have a
> > serial console? you should get one :)
> > 
> > > I think that classifies as "ecore_fb not handling the vanishing of
> > > the device properly" though.
> > 
> > well it may not handle the error case for reading the device as
> > nicely as it should - eg close it and clean up. it may keep it open,
> > which may TRIGGER a kernel bug, but thats still a kernel bug to be
> > fixed in the kernel, if it is a panic.
> 
> Doesn't hurt to let the EFL experts know there might be a problem in
> a little used part of the code.  Some one more familiar with that part
> than me might give it a quick look and have an "aha!" moment.
> 
> > > This linux system is one I'm building from scratch, just enough so
> > > far to let me run elementary_test in fb mode.  Plumbing in
> > > debugging stuff so I can see what goes on is still a TODO item.  I
> > > just got to the point where elementary_test is reacting to the
> > > keyboard last night, next step is supposed to be writing a simple
> > > elementary app to start testing with.
> > 
> > get yourself a serial console.. and next network (usbnet or
> > something). you'll really hurt a lot without these debug/access
> > mechanisms.
> 
> Working on it.  Network is "real soon now".  Serial console means
> buying more hardware, all existing serial ports are in use. They are
> not as common as they used to be.  ugh
> 
> This particular problem is just falling through the cracks of my usual
> debugging methods.
> 

Ah, not a kernel problem at all.  Something else was rebooting the
system, elementary was just crashing.  I'll have error messages soon.

-- 
A big old stinking pile of genius that no one wants
coz there are too many silver coated monkeys in the world.


signature.asc
Description: PGP signature
--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Question about edje_cc error

2011-06-01 Thread The Rasterman
On Wed, 01 Jun 2011 17:18:21 +0900 WooHyun Jung  said:

really? your epp gives different results to mine?

 4:55PM ~/C/edje/src/bin/epp > ./epp ~/tt
# 1 "/home/raster/tt"


((8+@0)/8);

thats what i see.

> My result of /usr/local/bin "your data" is
> ((8+ 30)/8);
> 
> If my memory is correct, it was ((8+@0)/8); 
> Right ? 
> 
> 
> -Original Message-
> From: Carsten Haitzler (The Rasterman) [mailto:ras...@rasterman.com] 
> Sent: Wednesday, June 01, 2011 4:51 PM
> To: WooHyun Jung
> Cc: enlightenment-devel@lists.sourceforge.net
> Subject: Re: [E-devel] Question about edje_cc error
> 
> On Tue, 31 May 2011 21:45:45 +0900 WooHyun Jung 
> said:
> 
> this reduces pretty much to the attached case havign a bug :) if its "8+x"
> is fails. if its "8.x" it fails. if its "8:x" it works or "8 x" it works.
> 
> > Missed file Sorry T _ T
> > 
> >  
> > 
> > From: WooHyun Jung [mailto:wh0705.j...@samsung.com]
> > Sent: Tuesday, May 31, 2011 9:34 PM
> > To: 'enlightenment-devel@lists.sourceforge.net'
> > Subject: Question about edje_cc error
> > 
> >  
> > 
> > Hello. All. 
> > 
> > I encountered one edje_cc error, and tried to resolve.. but hard : (
> > 
> > This error is shown when Macro is used. 
> > 
> > I attached a patch file for making problem situation.
> > 
> > After adapting patch, you can see the following error message. 
> > 
> >  
> > 
> > ERR<18498>:edje_cc edje_cc_parse.c:1376 _funcf() /usr/local/bin/edje_cc:
> > Error. ../../data/themes/default.edc:1973 unexpected character at 
> > @0)/8)
> > 
> >  
> > 
> > Does anybody have a idea about this? 
> > 
> > 
> 
> 
> --
> - Codito, ergo sum - "I code, therefore I am" --
> The Rasterman (Carsten Haitzler)ras...@rasterman.com
> 
> 


-- 
- Codito, ergo sum - "I code, therefore I am" --
The Rasterman (Carsten Haitzler)ras...@rasterman.com


--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Question about edje_cc error

2011-06-01 Thread WooHyun Jung
My result of /usr/local/bin "your data" is
((8+ 30)/8);

If my memory is correct, it was ((8+@0)/8); 
Right ? 


-Original Message-
From: Carsten Haitzler (The Rasterman) [mailto:ras...@rasterman.com] 
Sent: Wednesday, June 01, 2011 4:51 PM
To: WooHyun Jung
Cc: enlightenment-devel@lists.sourceforge.net
Subject: Re: [E-devel] Question about edje_cc error

On Tue, 31 May 2011 21:45:45 +0900 WooHyun Jung 
said:

this reduces pretty much to the attached case havign a bug :) if its "8+x"
is fails. if its "8.x" it fails. if its "8:x" it works or "8 x" it works.

> Missed file Sorry T _ T
> 
>  
> 
> From: WooHyun Jung [mailto:wh0705.j...@samsung.com]
> Sent: Tuesday, May 31, 2011 9:34 PM
> To: 'enlightenment-devel@lists.sourceforge.net'
> Subject: Question about edje_cc error
> 
>  
> 
> Hello. All. 
> 
> I encountered one edje_cc error, and tried to resolve.. but hard : (
> 
> This error is shown when Macro is used. 
> 
> I attached a patch file for making problem situation.
> 
> After adapting patch, you can see the following error message. 
> 
>  
> 
> ERR<18498>:edje_cc edje_cc_parse.c:1376 _funcf() /usr/local/bin/edje_cc:
> Error. ../../data/themes/default.edc:1973 unexpected character at 
> @0)/8)
> 
>  
> 
> Does anybody have a idea about this? 
> 
> 


--
- Codito, ergo sum - "I code, therefore I am" --
The Rasterman (Carsten Haitzler)ras...@rasterman.com



--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Question about edje_cc error

2011-06-01 Thread The Rasterman
On Tue, 31 May 2011 21:45:45 +0900 WooHyun Jung  said:

this reduces pretty much to the attached case havign a bug :) if its "8+x" is
fails. if its "8.x" it fails. if its "8:x" it works or "8 x" it works.

> Missed file Sorry T _ T
> 
>  
> 
> From: WooHyun Jung [mailto:wh0705.j...@samsung.com] 
> Sent: Tuesday, May 31, 2011 9:34 PM
> To: 'enlightenment-devel@lists.sourceforge.net'
> Subject: Question about edje_cc error 
> 
>  
> 
> Hello. All. 
> 
> I encountered one edje_cc error, and tried to resolve.. but hard : (
> 
> This error is shown when Macro is used. 
> 
> I attached a patch file for making problem situation.
> 
> After adapting patch, you can see the following error message. 
> 
>  
> 
> ERR<18498>:edje_cc edje_cc_parse.c:1376 _funcf() /usr/local/bin/edje_cc:
> Error. ../../data/themes/default.edc:1973 unexpected character at @0)/8)
> 
>  
> 
> Does anybody have a idea about this? 
> 
> 


-- 
- Codito, ergo sum - "I code, therefore I am" --
The Rasterman (Carsten Haitzler)ras...@rasterman.com



tt
Description: Binary data
--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Deprecating Illume1

2011-06-01 Thread Tom Hacohen
On Wed, 2011-06-01 at 09:42 +0200, Vincent Torri wrote:
> and putting it in E-MODULES-EXTRA ?

I don't think it even belongs there, but that's better than nothing. I
don't know if people use it or not, but if they do, they shouldn't. :)

--
Tom.


--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Deprecating Illume1

2011-06-01 Thread Vincent Torri


On Wed, 1 Jun 2011, Carsten Haitzler (The Rasterman) wrote:

> On Mon, 30 May 2011 14:00:41 +0300 Tom Hacohen
>  said:
>
> only reason illume1 is still there is i thought people still used it. if they
> don't... then lets kill it. :) also the config profile too. we need to
> rationalize the cfg profiles imho too. standard, illume and default. thats it.

and putting it in E-MODULES-EXTRA ?

Vincent

>
>> Hey guys,
>>
>> We should deprecate Illume1, it's use is deprecated, and it has been ~2
>> years since Illume2 was introduced. It's time to remove it completely as
>> it only brings confusion.
>>
>> What do you think?
>>
>> --
>> Tom.
>>
>>
>> --
>> vRanger cuts backup time in half-while increasing security.
>> With the market-leading solution for virtual backup and recovery,
>> you get blazing-fast, flexible, and affordable data protection.
>> Download your free trial now.
>> http://p.sf.net/sfu/quest-d2dcopy1
>> ___
>> enlightenment-devel mailing list
>> enlightenment-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>>
>
>
> -- 
> - Codito, ergo sum - "I code, therefore I am" --
> The Rasterman (Carsten Haitzler)ras...@rasterman.com
>
>
> --
> Simplify data backup and recovery for your virtual environment with vRanger.
> Installation's a snap, and flexible recovery options mean your data is safe,
> secure and there when you need it. Data protection magic?
> Nope - It's vRanger. Get your free trial download today.
> http://p.sf.net/sfu/quest-sfdev2dev
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>
>

--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] framebuffer keyboard input

2011-06-01 Thread David Seikel
On Wed, 1 Jun 2011 16:10:30 +0900 Carsten Haitzler (The Rasterman)
 wrote:

> On Wed, 1 Jun 2011 13:28:47 +1000 David Seikel 
> said:
> 
> > > a kernel panic... is definitely a kernel problem. just unplugging
> > > some usb device being used for sure! dont know if ecore_fb handles
> > > teh vanishing of the device properly (and then dynamic plugging in
> > > again later).
> > 
> > Well no.  It only panics when elementary_test is running.  If it's
> > just sitting at the shell prompt, no problem, things just keep
> > running fine. And no idea about if I plug it back in again, since I
> > don't get a chance to before the panic.
> 
> a kernel panic, by DEFINITION is a KERNEL problem. its a bug inside
> the kernel. userspace happens to TRIGGER the bug by maybe using
> devices in a certain way - eg opening and keeping the udb device
> open. as such kernel and userspace are separated and any kernel panic
> is entirely a bug inside the kernel.
> 
> > On the other hand, I don't KNOW for sure if it's a kernel panic,
> > since elementary_test has taken over the screen at that point,
> > there is no visible console to see any messages.  The system just
> > reboots.
> 
> oooh.. so you dont KNOW its a kernel panic... you don't have a serial
> console? you should get one :)
> 
> > I think that classifies as "ecore_fb not handling the vanishing of
> > the device properly" though.
> 
> well it may not handle the error case for reading the device as
> nicely as it should - eg close it and clean up. it may keep it open,
> which may TRIGGER a kernel bug, but thats still a kernel bug to be
> fixed in the kernel, if it is a panic.

Doesn't hurt to let the EFL experts know there might be a problem in
a little used part of the code.  Some one more familiar with that part
than me might give it a quick look and have an "aha!" moment.

> > This linux system is one I'm building from scratch, just enough so
> > far to let me run elementary_test in fb mode.  Plumbing in
> > debugging stuff so I can see what goes on is still a TODO item.  I
> > just got to the point where elementary_test is reacting to the
> > keyboard last night, next step is supposed to be writing a simple
> > elementary app to start testing with.
> 
> get yourself a serial console.. and next network (usbnet or
> something). you'll really hurt a lot without these debug/access
> mechanisms.

Working on it.  Network is "real soon now".  Serial console means buying
more hardware, all existing serial ports are in use. They are not as
common as they used to be.  ugh

This particular problem is just falling through the cracks of my usual
debugging methods.

-- 
A big old stinking pile of genius that no one wants
coz there are too many silver coated monkeys in the world.


signature.asc
Description: PGP signature
--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Deprecating Illume1

2011-06-01 Thread The Rasterman
On Mon, 30 May 2011 14:00:41 +0300 Tom Hacohen
 said:

only reason illume1 is still there is i thought people still used it. if they
don't... then lets kill it. :) also the config profile too. we need to
rationalize the cfg profiles imho too. standard, illume and default. thats it.

> Hey guys,
> 
> We should deprecate Illume1, it's use is deprecated, and it has been ~2
> years since Illume2 was introduced. It's time to remove it completely as
> it only brings confusion.
> 
> What do you think?
> 
> --
> Tom.
> 
> 
> --
> vRanger cuts backup time in half-while increasing security.
> With the market-leading solution for virtual backup and recovery, 
> you get blazing-fast, flexible, and affordable data protection.
> Download your free trial now. 
> http://p.sf.net/sfu/quest-d2dcopy1
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> 


-- 
- Codito, ergo sum - "I code, therefore I am" --
The Rasterman (Carsten Haitzler)ras...@rasterman.com


--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] framebuffer keyboard input

2011-06-01 Thread The Rasterman
On Wed, 1 Jun 2011 13:28:47 +1000 David Seikel  said:

> > a kernel panic... is definitely a kernel problem. just unplugging
> > some usb device being used for sure! dont know if ecore_fb handles
> > teh vanishing of the device properly (and then dynamic plugging in
> > again later).
> 
> Well no.  It only panics when elementary_test is running.  If it's just
> sitting at the shell prompt, no problem, things just keep running fine.
> And no idea about if I plug it back in again, since I don't get a
> chance to before the panic.

a kernel panic, by DEFINITION is a KERNEL problem. its a bug inside the kernel.
userspace happens to TRIGGER the bug by maybe using devices in a certain way -
eg opening and keeping the udb device open. as such kernel and userspace are
separated and any kernel panic is entirely a bug inside the kernel.

> On the other hand, I don't KNOW for sure if it's a kernel panic, since
> elementary_test has taken over the screen at that point, there is no
> visible console to see any messages.  The system just reboots.

oooh.. so you dont KNOW its a kernel panic... you don't have a serial console?
you should get one :)

> I think that classifies as "ecore_fb not handling the vanishing of the
> device properly" though.

well it may not handle the error case for reading the device as nicely as it
should - eg close it and clean up. it may keep it open, which may TRIGGER a
kernel bug, but thats still a kernel bug to be fixed in the kernel, if it is a
panic.

> This linux system is one I'm building from scratch, just enough so far
> to let me run elementary_test in fb mode.  Plumbing in debugging stuff
> so I can see what goes on is still a TODO item.  I just got to the point
> where elementary_test is reacting to the keyboard last night, next step
> is supposed to be writing a simple elementary app to start testing with.

get yourself a serial console.. and next network (usbnet or something). you'll
really hurt a lot without these debug/access mechanisms.

> If it helps - during development there are usualy two USB keyboards
> plugged in.  Makes no difference to this problem which one is plugged
> in to start with, or which one is unplugged, or even whether both are
> plugged in to start with.  The end result of this project will have to
> be able to deal with one being plugged in all the time, the other only
> being plugged in sometimes while the system is running.
> 
> -- 
> A big old stinking pile of genius that no one wants
> coz there are too many silver coated monkeys in the world.


-- 
- Codito, ergo sum - "I code, therefore I am" --
The Rasterman (Carsten Haitzler)ras...@rasterman.com


--
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel