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 SVNno-re...@enlightenment.org 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

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 no-re...@enlightenment.org 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.

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 no-re...@enlightenment.org 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/

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 barbi...@profusion.mobi 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 no-re...@enlightenment.org wrote: Log:  Rename

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 no-re...@enlightenment.org 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

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 cpmicha...@comcast.net wrote: On 08/02/2010 05:19 PM, Gustavo Sverzut Barbieri wrote: On Mon, Aug 2, 2010 at 4:06 PM, Enlightenment SVN no-re...@enlightenment.org  wrote: Log:   Rename 'same named' macros.   NB - Please use different macro

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) New

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 exist either?

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 n...@nash.id.au wrote: On Wed, 30 Dec 2009 07:51:01 +0100 (CET) Vincent Torri vto...@univ-evry.fr 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?

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 n...@nash.id.au wrote: On Wed, 30 Dec 2009 07:51:01 +0100 (CET) Vincent Torri vto...@univ-evry.fr 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,

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 be

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 jo...@britannica.bec.de 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

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 jo...@britannica.bec.de 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

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 leads us

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 no-re...@enlightenment.org 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

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 no-re...@enlightenment.org 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

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 no-re...@enlightenment.org 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:

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 no-re...@enlightenment.org wrote: Log:  Fix printing of size_t value(s). (removes compiler warning). They invented z modifier for that, see

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 vto...@univ-evry.fr 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 no-re...@enlightenment.org wrote: Log:  Fix

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 vto...@univ-evry.fr 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