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

2011-04-09 Thread Christopher Michael
On 04/09/2011 01:52 AM, Mike Blumenkrantz wrote: > On Fri, 8 Apr 2011 22:48:47 -0700 > "Enlightenment SVN" wrote: > >> Log: >> Edje: Edje_Text: Don't segfault on _edje_text_part_on_del if there is >>not 'part' >> >>Don't ask me how I found this one, but it happened :/ so trap for >>va

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

2011-04-08 Thread Mike Blumenkrantz
On Fri, 8 Apr 2011 22:48:47 -0700 "Enlightenment SVN" wrote: > Log: > Edje: Edje_Text: Don't segfault on _edje_text_part_on_del if there is > not 'part' > > Don't ask me how I found this one, but it happened :/ so trap for > valid part before trying to use it. > > > how did you f

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

2010-08-02 Thread Christopher Michael
On 08/02/2010 05:46 PM, Iván Briano (Sachiel) wrote: > On Mon, Aug 2, 2010 at 6:43 PM, Christopher Michael > wrote: >> On 08/02/2010 05:19 PM, Gustavo Sverzut Barbieri wrote: >>> On Mon, Aug 2, 2010 at 4:06 PM, Enlightenment SVN >>> wrote: Log: Rename 'same named' macros. >>

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

2010-08-02 Thread Sachiel
On Mon, Aug 2, 2010 at 6:43 PM, Christopher Michael wrote: > On 08/02/2010 05:19 PM, Gustavo Sverzut Barbieri wrote: >> On Mon, Aug 2, 2010 at 4:06 PM, Enlightenment SVN >>  wrote: >>> Log: >>>   Rename 'same named' macros. >>> >>>   NB - Please use different macro names in the future for stuff l

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

2010-08-02 Thread Gustavo Sverzut Barbieri
On Mon, Aug 2, 2010 at 6:43 PM, Christopher Michael wrote: > On 08/02/2010 05:19 PM, Gustavo Sverzut Barbieri wrote: >> On Mon, Aug 2, 2010 at 4:06 PM, Enlightenment SVN >>  wrote: >>> Log: >>>   Rename 'same named' macros. >>> >>>   NB - Please use different macro names in the future for stuff l

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

2010-08-02 Thread Christopher Michael
On 08/02/2010 05:19 PM, Gustavo Sverzut Barbieri wrote: > On Mon, Aug 2, 2010 at 4:06 PM, Enlightenment SVN > wrote: >> Log: >> Rename 'same named' macros. >> >> NB - Please use different macro names in the future for stuff like this >> (ie: not the same macro name in each file) as it spits

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

2010-08-02 Thread The Rasterman
On Mon, 2 Aug 2010 18:19:31 -0300 Gustavo Sverzut Barbieri said: but putting them in a header that is public... is bad. (such short named macros). easy to conflict. > On Mon, Aug 2, 2010 at 4:06 PM, Enlightenment SVN > wrote: > > Log: > >  Rename 'same named' macros. > > > >  NB - Please use di

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

2010-08-02 Thread Gustavo Sverzut Barbieri
On Mon, Aug 2, 2010 at 4:06 PM, Enlightenment SVN wrote: > Log: >  Rename 'same named' macros. > >  NB - Please use different macro names in the future for stuff like this >  (ie: not the same macro name in each file) as it spits nasty compiler >  warnings when compiling w/ amalgamation. no, if y

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

2010-07-23 Thread Vincent Torri
On Fri, 23 Jul 2010, Enlightenment SVN wrote: > Log: > Don't need 2 of the same variables. imho, -Wshadow should be used to remove all those cases. See eina's configure on how i did that Vincent > > > Author: devilhorns > Date: 2010-07-23 19:28:24 -0700 (Fri, 23 Jul 2010) > Ne

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

2009-12-30 Thread Joerg Sonnenberger
On Thu, Dec 31, 2009 at 11:03:33AM +1100, Brett Nash wrote: > > %ld and unsigned int? You must be joking... Defining PRIdMAX and > > friends can be easily automated. > > Unfortunately although PRIdMAX is useful, I don't believe there is one > for size_t. Instead you use the %z modifier, which lea

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

2009-12-30 Thread Brett Nash
On Wed, 30 Dec 2009 22:25:17 +0100 Joerg Sonnenberger wrote: > On Wed, Dec 30, 2009 at 10:44:23AM -0200, Gustavo Sverzut Barbieri > wrote: > > > Unfortunately there is no safe way of printing it in C89 (ie > > > windows). The best way is: > > >        printf("... %ld..",(unsigned int)blah); > >

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

2009-12-30 Thread Brett Nash
On Wed, 30 Dec 2009 22:25:17 +0100 Joerg Sonnenberger wrote: > On Wed, Dec 30, 2009 at 10:44:23AM -0200, Gustavo Sverzut Barbieri > wrote: > > > Unfortunately there is no safe way of printing it in C89 (ie > > > windows). The best way is: > > >        printf("... %ld..",(unsigned int)blah); > >

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

2009-12-30 Thread Joerg Sonnenberger
On Wed, Dec 30, 2009 at 10:44:23AM -0200, Gustavo Sverzut Barbieri wrote: > > Unfortunately there is no safe way of printing it in C89 (ie windows). > > The best way is: > >        printf("... %ld..",(unsigned int)blah); %ld and unsigned int? You must be joking... Defining PRIdMAX and friends can

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

2009-12-30 Thread Gustavo Sverzut Barbieri
On Wed, Dec 30, 2009 at 5:32 AM, Brett Nash wrote: > On Wed, 30 Dec 2009 07:51:01 +0100 (CET) > Vincent Torri wrote: > >> >> >> On Wed, 30 Dec 2009, Vincent Torri wrote: >> >> > >> > >> > On Wed, 30 Dec 2009, Gustavo Sverzut Barbieri wrote: >> > >> >> On Wed, Dec 30, 2009 at 12:07 AM, Enlightenme

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

2009-12-30 Thread David Seikel
On Wed, 30 Dec 2009 18:32:25 +1100 Brett Nash wrote: > On Wed, 30 Dec 2009 07:51:01 +0100 (CET) > Vincent Torri wrote: > > Unfortunately there is no safe way of printing it in C89 (ie windows). Windows is stuck in the '80s? Why am I not surprised? signature.asc Description: PGP signature --

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

2009-12-30 Thread Brett Nash
> > > > Unfortunately there is no safe way of printing it in C89 (ie > > windows). The best way is: > > printf("... %ld..",(unsigned int)blah); > > note that, on Windows 64 bits, a long is of size 32 bits :) Why do people use this again? ;-) I assume neither inttypes.h or stdint.h don't exi

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

2009-12-29 Thread Vincent Torri
On Wed, 30 Dec 2009, Brett Nash wrote: On Wed, 30 Dec 2009 07:51:01 +0100 (CET) Vincent Torri wrote: On Wed, 30 Dec 2009, Vincent Torri wrote: On Wed, 30 Dec 2009, Gustavo Sverzut Barbieri wrote: On Wed, Dec 30, 2009 at 12:07 AM, Enlightenment SVN wrote: Log:  Fix printing of size

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

2009-12-29 Thread Brett Nash
On Wed, 30 Dec 2009 07:51:01 +0100 (CET) Vincent Torri wrote: > > > On Wed, 30 Dec 2009, Vincent Torri wrote: > > > > > > > On Wed, 30 Dec 2009, Gustavo Sverzut Barbieri wrote: > > > >> On Wed, Dec 30, 2009 at 12:07 AM, Enlightenment SVN > >> wrote: > >>> Log: > >>>  Fix printing of size_t va

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

2009-12-29 Thread Vincent Torri
On Wed, 30 Dec 2009, Vincent Torri wrote: On Wed, 30 Dec 2009, Gustavo Sverzut Barbieri wrote: On Wed, Dec 30, 2009 at 12:07 AM, Enlightenment SVN wrote: Log:  Fix printing of size_t value(s). (removes compiler warning). They invented "z" modifier for that, see "man 3 printf" it is a

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

2009-12-29 Thread Vincent Torri
On Wed, 30 Dec 2009, Gustavo Sverzut Barbieri wrote: On Wed, Dec 30, 2009 at 12:07 AM, Enlightenment SVN wrote: Log:  Fix printing of size_t value(s). (removes compiler warning). They invented "z" modifier for that, see "man 3 printf" it does not exist on Windows: http://msdn.microsoft.

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

2009-12-29 Thread Christopher Michael
On 12/29/2009 11:01 PM, Gustavo Sverzut Barbieri wrote: > On Wed, Dec 30, 2009 at 12:07 AM, Enlightenment SVN > wrote: >> Log: >> Fix printing of size_t value(s). (removes compiler warning). > > They invented "z" modifier for that, see "man 3 printf" > > Indeed, but didn't know off hand if edje

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

2009-12-29 Thread Gustavo Sverzut Barbieri
On Wed, Dec 30, 2009 at 12:07 AM, Enlightenment SVN wrote: > Log: >  Fix printing of size_t value(s). (removes compiler warning). They invented "z" modifier for that, see "man 3 printf" -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MS