Re: [E-devel] Change request for evas

2011-08-09 Thread Tom Hacohen
On 09/08/11 08:42, Vincent Torri wrote:
 strncpy is faster than memcpy ?


No, the opposite is true, and that's exactly what he said.

--
Tom.

--
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Change request for evas

2011-08-09 Thread Tom Hacohen
On 09/08/11 08:43, Vincent Torri wrote:


 On Tue, 9 Aug 2011, Daniel Juyung Seo wrote:

 What about strdup?

 slower. We know the length, here

Not only that we know the length, we also wanted to copy up to a certain 
point, and not up to the terminating null.

--
Tom.

--
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] Change request for evas

2011-08-08 Thread Dave Ray
Evas is failing to build on OSX because it is now using _strndup, which is a 
GNU extension not supported on OSX by default.

make[5]: Nothing to be done for `all-am'.
Making all in include
make[4]: Nothing to be done for `all'.
CC main.lo
CCLD   libevas.la
Undefined symbols:
_strndup, referenced from:
_evas_font_load in libevas_canvas.a(evas_font_dir.o)
   (maybe you meant: _eina_unicode_strndup)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[4]: *** [libevas.la] Error 1


Could somebody please help by changing _strndup  to _memcopy ? This will help 
keep e17 OSX compatible.

Vincent Torri has been making updates like this to help support OSX, but he is 
on vacation until Aug 26.

Thanks in advance.



--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos  much more. Register early  save!
http://p.sf.net/sfu/rim-blackberry-1
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Change request for evas

2011-08-08 Thread Tom Hacohen
On 08/08/11 17:40, Carsten Haitzler (The Rasterman) wrote:
 removed in svn. someone was being bad...



Was just about to fix it, but I guess you were faster this time. I'll 
get you next time.

As for strndup: It's a useful extension, we should probably detect and 
implement it on our own (as a lot of other extensions).

--
Tom.

--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos  much more. Register early  save!
http://p.sf.net/sfu/rim-blackberry-1
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Change request for evas

2011-08-08 Thread The Rasterman
On Mon, 08 Aug 2011 17:45:30 +0300 Tom Hacohen
tom.haco...@partner.samsung.com said:

 On 08/08/11 17:40, Carsten Haitzler (The Rasterman) wrote:
  removed in svn. someone was being bad...
 
 
 
 Was just about to fix it, but I guess you were faster this time. I'll 
 get you next time.
 
 As for strndup: It's a useful extension, we should probably detect and 
 implement it on our own (as a lot of other extensions).

considering my replacement is actually more efficient... i don't think its that
useful as its used in 1 place only in efl. and even that i improved. :)


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


--
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Change request for evas

2011-08-08 Thread Daniel Juyung Seo
What about strdup?

Daniel Juyung Seo (SeoZ)

On Tue, Aug 9, 2011 at 9:06 AM, Carsten Haitzler ras...@rasterman.com wrote:
 On Mon, 08 Aug 2011 17:45:30 +0300 Tom Hacohen
 tom.haco...@partner.samsung.com said:

 On 08/08/11 17:40, Carsten Haitzler (The Rasterman) wrote:
  removed in svn. someone was being bad...
 
 

 Was just about to fix it, but I guess you were faster this time. I'll
 get you next time.

 As for strndup: It's a useful extension, we should probably detect and
 implement it on our own (as a lot of other extensions).

 considering my replacement is actually more efficient... i don't think its 
 that
 useful as its used in 1 place only in efl. and even that i improved. :)


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


 --
 uberSVN's rich system and user administration capabilities and model
 configuration take the hassle out of deploying and managing Subversion and
 the tools developers use with it. Learn more about uberSVN and get a free
 download at:  http://p.sf.net/sfu/wandisco-dev2dev
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


--
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Change request for evas

2011-08-08 Thread The Rasterman
On Tue, 9 Aug 2011 09:24:22 +0900 Daniel Juyung Seo seojuyu...@gmail.com said:

strdupa will dup onto the stack :)

 What about strdup?
 
 Daniel Juyung Seo (SeoZ)
 
 On Tue, Aug 9, 2011 at 9:06 AM, Carsten Haitzler ras...@rasterman.com wrote:
  On Mon, 08 Aug 2011 17:45:30 +0300 Tom Hacohen
  tom.haco...@partner.samsung.com said:
 
  On 08/08/11 17:40, Carsten Haitzler (The Rasterman) wrote:
   removed in svn. someone was being bad...
  
  
 
  Was just about to fix it, but I guess you were faster this time. I'll
  get you next time.
 
  As for strndup: It's a useful extension, we should probably detect and
  implement it on our own (as a lot of other extensions).
 
  considering my replacement is actually more efficient... i don't think its
  that useful as its used in 1 place only in efl. and even that i improved. :)
 
 
  --
  - Codito, ergo sum - I code, therefore I am --
  The Rasterman (Carsten Haitzler)    ras...@rasterman.com
 
 
  --
  uberSVN's rich system and user administration capabilities and model
  configuration take the hassle out of deploying and managing Subversion and
  the tools developers use with it. Learn more about uberSVN and get a free
  download at:  http://p.sf.net/sfu/wandisco-dev2dev
  ___
  enlightenment-devel mailing list
  enlightenment-devel@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 
 
 --
 uberSVN's rich system and user administration capabilities and model 
 configuration take the hassle out of deploying and managing Subversion and 
 the tools developers use with it. Learn more about uberSVN and get a free 
 download at:  http://p.sf.net/sfu/wandisco-dev2dev
 ___
 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


--
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Change request for evas

2011-08-08 Thread The Rasterman
On Tue, 9 Aug 2011 09:24:22 +0900 Daniel Juyung Seo seojuyu...@gmail.com said:

but beware.. strdupa is a gnu extn. :)

 What about strdup?
 
 Daniel Juyung Seo (SeoZ)
 
 On Tue, Aug 9, 2011 at 9:06 AM, Carsten Haitzler ras...@rasterman.com wrote:
  On Mon, 08 Aug 2011 17:45:30 +0300 Tom Hacohen
  tom.haco...@partner.samsung.com said:
 
  On 08/08/11 17:40, Carsten Haitzler (The Rasterman) wrote:
   removed in svn. someone was being bad...
  
  
 
  Was just about to fix it, but I guess you were faster this time. I'll
  get you next time.
 
  As for strndup: It's a useful extension, we should probably detect and
  implement it on our own (as a lot of other extensions).
 
  considering my replacement is actually more efficient... i don't think its
  that useful as its used in 1 place only in efl. and even that i improved. :)
 
 
  --
  - Codito, ergo sum - I code, therefore I am --
  The Rasterman (Carsten Haitzler)    ras...@rasterman.com
 
 
  --
  uberSVN's rich system and user administration capabilities and model
  configuration take the hassle out of deploying and managing Subversion and
  the tools developers use with it. Learn more about uberSVN and get a free
  download at:  http://p.sf.net/sfu/wandisco-dev2dev
  ___
  enlightenment-devel mailing list
  enlightenment-devel@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 
 
 --
 uberSVN's rich system and user administration capabilities and model 
 configuration take the hassle out of deploying and managing Subversion and 
 the tools developers use with it. Learn more about uberSVN and get a free 
 download at:  http://p.sf.net/sfu/wandisco-dev2dev
 ___
 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


--
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Change request for evas

2011-08-08 Thread Vincent Torri


On Tue, 9 Aug 2011, Carsten Haitzler (The Rasterman) wrote:

 On Mon, 08 Aug 2011 17:45:30 +0300 Tom Hacohen
 tom.haco...@partner.samsung.com said:

 On 08/08/11 17:40, Carsten Haitzler (The Rasterman) wrote:
 removed in svn. someone was being bad...



 Was just about to fix it, but I guess you were faster this time. I'll
 get you next time.

 As for strndup: It's a useful extension, we should probably detect and
 implement it on our own (as a lot of other extensions).

 considering my replacement is actually more efficient... i don't think its 
 that
 useful as its used in 1 place only in efl. and even that i improved. :)

strncpy is faster than memcpy ?

Vincent



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


 --
 uberSVN's rich system and user administration capabilities and model
 configuration take the hassle out of deploying and managing Subversion and
 the tools developers use with it. Learn more about uberSVN and get a free
 download at:  http://p.sf.net/sfu/wandisco-dev2dev
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel



--
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Change request for evas

2011-08-08 Thread Vincent Torri



On Tue, 9 Aug 2011, Daniel Juyung Seo wrote:


What about strdup?


slower. We know the length, here

Vincent



Daniel Juyung Seo (SeoZ)

On Tue, Aug 9, 2011 at 9:06 AM, Carsten Haitzler ras...@rasterman.com wrote:

On Mon, 08 Aug 2011 17:45:30 +0300 Tom Hacohen
tom.haco...@partner.samsung.com said:


On 08/08/11 17:40, Carsten Haitzler (The Rasterman) wrote:

removed in svn. someone was being bad...




Was just about to fix it, but I guess you were faster this time. I'll
get you next time.

As for strndup: It's a useful extension, we should probably detect and
implement it on our own (as a lot of other extensions).


considering my replacement is actually more efficient... i don't think its that
useful as its used in 1 place only in efl. and even that i improved. :)


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


--
uberSVN's rich system and user administration capabilities and model
configuration take the hassle out of deploying and managing Subversion and
the tools developers use with it. Learn more about uberSVN and get a free
download at:  http://p.sf.net/sfu/wandisco-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel



--
uberSVN's rich system and user administration capabilities and model
configuration take the hassle out of deploying and managing Subversion and
the tools developers use with it. Learn more about uberSVN and get a free
download at:  http://p.sf.net/sfu/wandisco-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

--
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Change request for evas

2011-08-08 Thread The Rasterman
On Tue, 9 Aug 2011 07:42:13 +0200 (CEST) Vincent Torri vto...@univ-evry.fr
said:

 
 
 On Tue, 9 Aug 2011, Carsten Haitzler (The Rasterman) wrote:
 
  On Mon, 08 Aug 2011 17:45:30 +0300 Tom Hacohen
  tom.haco...@partner.samsung.com said:
 
  On 08/08/11 17:40, Carsten Haitzler (The Rasterman) wrote:
  removed in svn. someone was being bad...
 
 
 
  Was just about to fix it, but I guess you were faster this time. I'll
  get you next time.
 
  As for strndup: It's a useful extension, we should probably detect and
  implement it on our own (as a lot of other extensions).
 
  considering my replacement is actually more efficient... i don't think its
  that useful as its used in 1 place only in efl. and even that i improved. :)
 
 strncpy is faster than memcpy ?

no - i was referring to not having to malloc and free (ie malloc having to hunt
and find space in heap vs just incrementing stack ptr by size). :)

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


--
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel