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

2012-05-08 Thread Vincent Torri
On Tue, May 8, 2012 at 12:31 PM, Enlightenment SVN wrote: > > > Modified: trunk/eina/src/include/eina_file.h > === > --- trunk/eina/src/include/eina_file.h  2012-05-08 09:40:01 UTC (rev 70870) > +++ trunk/eina/src/include/eina_file.h

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

2012-02-24 Thread Cedric BAIL
On Fri, Feb 24, 2012 at 12:20 PM, Vincent Torri wrote: > On Fri, Feb 24, 2012 at 12:15 PM, Enlightenment SVN > wrote: >> Log: >> eina: add Exotic support. > > I would prefer to add that after the release. Hum. The reason why I wanted to push it before the release, is that it may be usefull to pe

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

2012-02-24 Thread Vincent Torri
On Fri, Feb 24, 2012 at 12:15 PM, Enlightenment SVN wrote: > Log: > eina: add Exotic support. I would prefer to add that after the release. Vincent > > > Author:       cedric > Date:         2012-02-24 03:15:14 -0800 (Fri, 24 Feb 2012) > New Revision: 68398 > Trac:         http://trac.enlighten

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

2012-02-23 Thread Vincent Torri
as usual: @since (even typedef) ChangeLog NEWS Vincent On Thu, Feb 23, 2012 at 12:45 PM, Enlightenment SVN wrote: > Log: > eina: introduce Eina_Stat to prevent issue when building with different > config option. > > > Author:       cedric > Date:         2012-02-23 03:45:25 -0800 (Thu, 23 Feb

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

2012-01-11 Thread Gustavo Sverzut Barbieri
On Wed, Jan 11, 2012 at 8:37 AM, Enlightenment SVN wrote: > Log: > eina: massiv fix for Eina_Value. > >  Should be more portable and work with C++. > >  NOTE: I still see an aliasing break in eina_value_pset, but wasn't >  able to figure how to solve it. Thanks! I couldn't test it with more than

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

2012-01-11 Thread Vincent Torri
On Wed, Jan 11, 2012 at 12:05 PM, Cedric BAIL wrote: > On Wed, Jan 11, 2012 at 11:41 AM, Vincent Torri > wrote: >> On Wed, Jan 11, 2012 at 11:37 AM, Enlightenment SVN >> wrote: >>> Log: >>> eina: massiv fix for Eina_Value. >>> >>>  Should be more portable and work with C++. >>> >>>  NOTE: I sti

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

2012-01-11 Thread Cedric BAIL
On Wed, Jan 11, 2012 at 11:41 AM, Vincent Torri wrote: > On Wed, Jan 11, 2012 at 11:37 AM, Enlightenment SVN > wrote: >> Log: >> eina: massiv fix for Eina_Value. >> >>  Should be more portable and work with C++. >> >>  NOTE: I still see an aliasing break in eina_value_pset, but wasn't >>  able to

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

2012-01-11 Thread Vincent Torri
On Wed, Jan 11, 2012 at 11:37 AM, Enlightenment SVN wrote: > Log: > eina: massiv fix for Eina_Value. > >  Should be more portable and work with C++. > >  NOTE: I still see an aliasing break in eina_value_pset, but wasn't >  able to figure how to solve it. > > > Author:       cedric > Date:        

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

2011-12-06 Thread Cedric BAIL
On Tue, Dec 6, 2011 at 6:19 PM, Vincent Torri wrote: > On Tue, Dec 6, 2011 at 5:57 PM, Enlightenment SVN < > no-re...@enlightenment.org> wrote: > >> Log: >> eina: fix system header usage. >> >> >> Author:       cedric >> Date:         2011-12-06 08:57:28 -0800 (Tue, 06 Dec 2011) >> New Revision: 6

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

2011-12-06 Thread Vincent Torri
On Tue, Dec 6, 2011 at 5:57 PM, Enlightenment SVN < no-re...@enlightenment.org> wrote: > Log: > eina: fix system header usage. > > > Author: cedric > Date: 2011-12-06 08:57:28 -0800 (Tue, 06 Dec 2011) > New Revision: 65969 > Trac: http://trac.enlightenment.org/e/changeset/659

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

2011-09-15 Thread Vincent Torri
On Thu, 15 Sep 2011, Enlightenment SVN wrote: > Log: > eina: add XAttr support to eina. I guess that I have to add Windows support... Vincent > > > Author: cedric > Date: 2011-09-15 05:39:40 -0700 (Thu, 15 Sep 2011) > New Revision: 63408 > Trac: http://trac.enlightenment

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

2011-09-15 Thread Gustavo Sverzut Barbieri
On Thursday, September 15, 2011, Cedric BAIL wrote: > On Thu, Sep 15, 2011 at 3:07 PM, Gustavo Sverzut Barbieri > wrote: >> Use safety checks for null/invalid parameters > > Yep, will do. Forgot about that macro. > >> Container get should return ls path, no? AFAIR other iterators do it. > > I did

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

2011-09-15 Thread Cedric BAIL
On Thu, Sep 15, 2011 at 3:07 PM, Gustavo Sverzut Barbieri wrote: > Use safety checks for null/invalid parameters Yep, will do. Forgot about that macro. > Container get should return ls path, no? AFAIR other iterators do it. I didn't know, so why not the path. > How about the helper to set/get

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

2011-09-15 Thread Gustavo Sverzut Barbieri
Use safety checks for null/invalid parameters Container get should return ls path, no? AFAIR other iterators do it. How about the helper to set/get string, float and interger values? They can convert to string or just store using some standard binary representation that is platform independent.

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

2011-09-05 Thread Vincent Torri
you have forgotten to comment typedef struct _Eina_Inlist_Sorted_State Eina_Inlist_Sorted_State; and do not forget @since Vincent On Mon, 5 Sep 2011, Enlightenment SVN wrote: > Log: > eina: add eina_inlist_sorted_state_insert and helper. > > Note: this function help keep a jump table so we r

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

2011-07-29 Thread Vincent Torri
On Fri, 29 Jul 2011, Enlightenment SVN wrote: > Log: > eina: add eina_main_loop_is. > > > Author: cedric > Date: 2011-07-29 07:56:42 -0700 (Fri, 29 Jul 2011) > New Revision: 61896 > Trac: http://trac.enlightenment.org/e/changeset/61896 > > Modified: > trunk/eina/ChangeLog

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

2011-06-17 Thread Cedric BAIL
On Fri, Jun 17, 2011 at 10:54 AM, Mike Blumenkrantz wrote: > On Fri, 17 Jun 2011 01:48:02 -0700 > "Enlightenment SVN" wrote: > >> Log: >> eina: disabling Eina_Object until 1.1 is released. >> >> >> Author:       cedric >> Date:         2011-06-17 01:48:02 -0700 (Fri, 17 Jun 2011) >> New Revision:

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

2011-06-17 Thread Mike Blumenkrantz
On Fri, 17 Jun 2011 01:48:02 -0700 "Enlightenment SVN" wrote: > Log: > eina: disabling Eina_Object until 1.1 is released. > > > Author: cedric > Date: 2011-06-17 01:48:02 -0700 (Fri, 17 Jun 2011) > New Revision: 60427 > Trac: http://trac.enlightenment.org/e/changeset/604

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

2011-06-15 Thread Ulrich Eckhardt
On Wednesday 15 June 2011 22:27:06 Cedric BAIL wrote: [...] > /** > + * @brief Redefine the callback that clean the data of a hash > + * > + * @param hash The given hash table > + * @param data_free_cb The function called on each value when the > + * hash table is freed. @c

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

2011-06-15 Thread Cedric BAIL
On Wed, Jun 15, 2011 at 9:38 PM, Ulrich Eckhardt wrote: > On Wednesday 15 June 2011 18:06:03 Cedric BAIL wrote: >> On Wed, Jun 15, 2011 at 5:53 PM, Mike Blumenkrantz > wrote: >> > On Wed, 15 Jun 2011 08:46:11 -0700 >> > >> >>  /** >> >> + * @brief Redefine the callback that clean the data of a ha

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

2011-06-15 Thread Ulrich Eckhardt
On Wednesday 15 June 2011 18:06:03 Cedric BAIL wrote: > On Wed, Jun 15, 2011 at 5:53 PM, Mike Blumenkrantz wrote: > > On Wed, 15 Jun 2011 08:46:11 -0700 > > > >> /** > >> + * @brief Redefine the callback that clean the data of a hash > >> + * > >> + * @param hash The given hash table > >> + * @

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

2011-06-15 Thread Sebastian Dransfeld
On 06/15/2011 06:06 PM, Cedric BAIL wrote: > On Wed, Jun 15, 2011 at 5:53 PM, Mike Blumenkrantz wrote: >> On Wed, 15 Jun 2011 08:46:11 -0700 >> "Enlightenment SVN" wrote: >> >>> Log: >>> eina: +eina_hash_free_set. >>> >>> >>> Author: cedric >>> Date: 2011-06-15 08:46:10 -0700 (Wed,

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

2011-06-15 Thread Tom Hacohen
On Wed, 2011-06-15 at 12:16 -0400, Mike Blumenkrantz wrote: > ++ > Sorry, I don't yet support this syntax. Added to TODO. -- Tom. -- EditLive Enterprise is the world's most technically advanced content authoring tool.

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

2011-06-15 Thread Mike Blumenkrantz
On Wed, 15 Jun 2011 19:11:52 +0300 Tom Hacohen wrote: > On Wed, 2011-06-15 at 13:08 -0300, Iván Briano (Sachiel) wrote: > > eina_hash_lets_set_the_callback_to_use_to_free_the_data_we_hold_when_the_hash_itself_is_freed() > > > > +1. > > > >

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

2011-06-15 Thread Tom Hacohen
On Wed, 2011-06-15 at 13:08 -0300, Iván Briano (Sachiel) wrote: > eina_hash_lets_set_the_callback_to_use_to_free_the_data_we_hold_when_the_hash_itself_is_freed() > +1. -- EditLive Enterprise is the world's most technic

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

2011-06-15 Thread Sachiel
2011/6/15 Cedric BAIL : > On Wed, Jun 15, 2011 at 5:53 PM, Mike Blumenkrantz wrote: >> On Wed, 15 Jun 2011 08:46:11 -0700 >> "Enlightenment SVN" wrote: >> >>> Log: >>> eina: +eina_hash_free_set. >>> >>> >>> Author:       cedric >>> Date:         2011-06-15 08:46:10 -0700 (Wed, 15 Jun 2011) >>> Ne

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

2011-06-15 Thread Cedric BAIL
On Wed, Jun 15, 2011 at 5:53 PM, Mike Blumenkrantz wrote: > On Wed, 15 Jun 2011 08:46:11 -0700 > "Enlightenment SVN" wrote: > >> Log: >> eina: +eina_hash_free_set. >> >> >> Author:       cedric >> Date:         2011-06-15 08:46:10 -0700 (Wed, 15 Jun 2011) >> New Revision: 60354 >> Trac:         h

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

2011-06-15 Thread Mike Blumenkrantz
On Wed, 15 Jun 2011 08:46:11 -0700 "Enlightenment SVN" wrote: > Log: > eina: +eina_hash_free_set. > > > Author: cedric > Date: 2011-06-15 08:46:10 -0700 (Wed, 15 Jun 2011) > New Revision: 60354 > Trac: http://trac.enlightenment.org/e/changeset/60354 > > Modified: > tr

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

2011-06-15 Thread Vincent Torri
@since... On Wed, 15 Jun 2011, Enlightenment SVN wrote: > Log: > eina: +eina_hash_free_set. > > > Author: cedric > Date: 2011-06-15 08:46:10 -0700 (Wed, 15 Jun 2011) > New Revision: 60354 > Trac: http://trac.enlightenment.org/e/changeset/60354 > > Modified: > trunk/eina/C

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_de

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

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

2011-05-30 Thread Vincent Torri
On Mon, 30 May 2011, Enlightenment SVN wrote: > Log: > eina: add eina_condition_timedwait. > > > Author: cedric > Date: 2011-05-30 08:24:06 -0700 (Mon, 30 May 2011) > New Revision: 59819 > Trac: http://trac.enlightenment.org/e/changeset/59819 > > Modified: > trunk/eina/Cha

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

2011-04-24 Thread Cedric BAIL
On Sun, Apr 24, 2011 at 10:32 PM, Vincent Torri wrote: > On Sun, 24 Apr 2011, Enlightenment SVN wrote: >> Log: >> eina: put global into namespace and add lock abort >> >> >> Author:       cedric >> Date:         2011-04-24 13:22:17 -0700 (Sun, 24 Apr 2011) >> New Revision: 58875 >> Trac:         h

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

2011-04-24 Thread Vincent Torri
On Sun, 24 Apr 2011, Enlightenment SVN wrote: > Log: > eina: put global into namespace and add lock abort > > > Author: cedric > Date: 2011-04-24 13:22:17 -0700 (Sun, 24 Apr 2011) > New Revision: 58875 > Trac: http://trac.enlightenment.org/e/changeset/58875 > > Modified: >

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

2011-04-24 Thread Cedric BAIL
On Sun, Apr 24, 2011 at 7:04 PM, Mike Blumenkrantz wrote: > On Sun, 24 Apr 2011 18:51:54 +0200 > Cedric BAIL wrote: >> On Sun, Apr 24, 2011 at 6:28 PM, Vincent Torri wrote: >> > On Sun, 24 Apr 2011, Cedric BAIL wrote: >> >> On Sun, Apr 24, 2011 at 6:12 PM, Vincent Torri >> >> wrote: >> >>> >> >

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

2011-04-24 Thread Mike Blumenkrantz
On Sun, 24 Apr 2011 18:51:54 +0200 Cedric BAIL wrote: > On Sun, Apr 24, 2011 at 6:28 PM, Vincent Torri wrote: > > On Sun, 24 Apr 2011, Cedric BAIL wrote: > >> On Sun, Apr 24, 2011 at 6:12 PM, Vincent Torri > >> wrote: > >>> > >>> On Sun, 24 Apr 2011, Enlightenment SVN wrote: > > Modif

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

2011-04-24 Thread Cedric BAIL
On Sun, Apr 24, 2011 at 6:28 PM, Vincent Torri wrote: > On Sun, 24 Apr 2011, Cedric BAIL wrote: >> On Sun, Apr 24, 2011 at 6:12 PM, Vincent Torri >> wrote: >>> >>> On Sun, 24 Apr 2011, Enlightenment SVN wrote: Modified: trunk/eina/src/lib/eina_main.c ===

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

2011-04-24 Thread Vincent Torri
On Sun, 24 Apr 2011, Cedric BAIL wrote: On Sun, Apr 24, 2011 at 6:12 PM, Vincent Torri wrote: On Sun, 24 Apr 2011, Enlightenment SVN wrote: Modified: trunk/eina/src/lib/eina_main.c === --- trunk/eina/src/lib/eina_main.c    2011

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

2011-04-24 Thread Cedric BAIL
On Sun, Apr 24, 2011 at 6:12 PM, Vincent Torri wrote: > On Sun, 24 Apr 2011, Enlightenment SVN wrote: >> Modified: trunk/eina/src/lib/eina_main.c >> === >> --- trunk/eina/src/lib/eina_main.c    2011-04-24 15:44:18 UTC (rev 58868) >> +

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

2011-04-24 Thread Vincent Torri
On Sun, 24 Apr 2011, Enlightenment SVN wrote: > Modified: trunk/eina/src/lib/eina_main.c > === > --- trunk/eina/src/lib/eina_main.c2011-04-24 15:44:18 UTC (rev 58868) > +++ trunk/eina/src/lib/eina_main.c2011-04-24 15:54:09 U

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

2011-04-14 Thread Vincent Torri
On Thu, 14 Apr 2011, Vincent Torri wrote: > > > eina_file_size_get() returns an unsigned_long, but on Win64, it's of size > 32 bits. Can't you return a uint_64_t ? or size_t ? > > Vincent > > On Wed, 13 Apr 2011, Enlightenment SVN wrote: > >> Log: >> eina: add Eina_File API. >> >> NOTE: the p

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

2011-04-14 Thread Vincent Torri
eina_file_size_get() returns an unsigned_long, but on Win64, it's of size 32 bits. Can't you return a uint_64_t ? Vincent On Wed, 13 Apr 2011, Enlightenment SVN wrote: > Log: > eina: add Eina_File API. > > NOTE: the purpose of this API is to replace mmap user in the > EFL, share cache and m

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

2011-04-13 Thread The Rasterman
On Wed, 13 Apr 2011 23:14:43 +0200 Cedric BAIL said: > On Wed, Apr 13, 2011 at 11:10 PM, Joerg Sonnenberger > wrote: > > On Wed, Apr 13, 2011 at 10:18:27PM +0200, Cedric BAIL wrote: > >> On Wed, Apr 13, 2011 at 8:36 PM, Vincent Torri wrote: > >> > On Wed, 13 Apr 2011, Vincent Torri wrote: > >>

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

2011-04-13 Thread Joerg Sonnenberger
On Wed, Apr 13, 2011 at 11:14:43PM +0200, Cedric BAIL wrote: > >> > and that MAP_POPULATE does not need a too recent linux kernel ? > > > > This should be just conditionalized. > > Agreed. Both should be conditionalized with configure detection. #ifndef MAP_POPULATE #define MAP_POPULATE 0 #endif

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

2011-04-13 Thread Cedric BAIL
On Wed, Apr 13, 2011 at 11:10 PM, Joerg Sonnenberger wrote: > On Wed, Apr 13, 2011 at 10:18:27PM +0200, Cedric BAIL wrote: >> On Wed, Apr 13, 2011 at 8:36 PM, Vincent Torri wrote: >> > On Wed, 13 Apr 2011, Vincent Torri wrote: >> >> are you sure that O_CLOEXEC and ACCESSPERMS are portable ? >> >>

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

2011-04-13 Thread Joerg Sonnenberger
On Wed, Apr 13, 2011 at 10:18:27PM +0200, Cedric BAIL wrote: > On Wed, Apr 13, 2011 at 8:36 PM, Vincent Torri wrote: > > On Wed, 13 Apr 2011, Vincent Torri wrote: > >> are you sure that O_CLOEXEC and ACCESSPERMS are portable ? > > I hope they are. It's a pretty basic feature, being able to > auto

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

2011-04-13 Thread Mike Blumenkrantz
On Wed, 13 Apr 2011 22:28:43 +0200 (CEST) Vincent Torri wrote: > > > On Wed, 13 Apr 2011, Cedric BAIL wrote: > > > On Wed, Apr 13, 2011 at 8:36 PM, Vincent Torri wrote: > >> On Wed, 13 Apr 2011, Vincent Torri wrote: > >>> are you sure that O_CLOEXEC and ACCESSPERMS are portable ? > > http://

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

2011-04-13 Thread Vincent Torri
On Wed, 13 Apr 2011, Cedric BAIL wrote: > On Wed, Apr 13, 2011 at 8:36 PM, Vincent Torri wrote: >> On Wed, 13 Apr 2011, Vincent Torri wrote: >>> are you sure that O_CLOEXEC and ACCESSPERMS are portable ? http://www.kernel.org/doc/man-pages/online/pages/man2/open.2.html "the Linux-specific O_C

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

2011-04-13 Thread Cedric BAIL
On Wed, Apr 13, 2011 at 8:36 PM, Vincent Torri wrote: > On Wed, 13 Apr 2011, Vincent Torri wrote: >> are you sure that O_CLOEXEC and ACCESSPERMS are portable ? I hope they are. It's a pretty basic feature, being able to automatically close a fd on exec. As for ACCESSPERMS it's just a macro that s

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

2011-04-13 Thread Cedric BAIL
On Wed, Apr 13, 2011 at 7:40 PM, Vincent Torri wrote: > On Wed, 13 Apr 2011, Enlightenment SVN wrote: >> +EAPI void >> +eina_file_map_free(Eina_File *file, void *map) >> +{ >> +   if (file->global_map == map) >> +     { >> +        file->global_refcount--; >> + >> +        if (file->global_refcoun

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

2011-04-13 Thread Vincent Torri
On Wed, 13 Apr 2011, Vincent Torri wrote: > > > are you sure that O_CLOEXEC and ACCESSPERMS are portable ? and that MAP_POPULATE does not need a too recent linux kernel ? Vincent > > Vincent > > On Wed, 13 Apr 2011, Enlightenment SVN wrote: > >> Log: >> eina: add Eina_File API. >> >> NOTE: t

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

2011-04-13 Thread Vincent Torri
On Wed, 13 Apr 2011, Vincent Torri wrote: > > > On Wed, 13 Apr 2011, Enlightenment SVN wrote: > >> +EAPI void >> +eina_file_map_free(Eina_File *file, void *map) >> +{ >> + if (file->global_map == map) >> + { >> +file->global_refcount--; >> + >> +if (file->global_refcount >

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

2011-04-13 Thread Vincent Torri
On Wed, 13 Apr 2011, Enlightenment SVN wrote: > +} > + > +static unsigned int > +_eina_file_map_key_length(__UNUSED__ const void *key) > +{ > + return sizeof (unsigned long int) * 2; just to be sure: are you supposing that long is of size 64bits on 64bits arch ? because it's not the case on W

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

2011-04-13 Thread Vincent Torri
On Wed, 13 Apr 2011, Enlightenment SVN wrote: > +EAPI void > +eina_file_map_free(Eina_File *file, void *map) > +{ > + if (file->global_map == map) > + { > +file->global_refcount--; > + > +if (file->global_refcount > 0) return ; > + > +munmap(file->global_map, file->

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

2011-04-13 Thread Vincent Torri
are you sure that O_CLOEXEC and ACCESSPERMS are portable ? Vincent On Wed, 13 Apr 2011, Enlightenment SVN wrote: > Log: > eina: add Eina_File API. > > NOTE: the purpose of this API is to replace mmap user in the > EFL, share cache and more code across them. The potential user > are eet, eva

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

2011-04-11 Thread Vincent Torri
On Mon, 11 Apr 2011, Mike Blumenkrantz wrote: On Mon, 11 Apr 2011 12:26:06 +0200 Cedric BAIL wrote: On Mon, Apr 11, 2011 at 12:13 PM, Mike Blumenkrantz wrote: On Mon, 11 Apr 2011 12:05:13 +0200 (CEST) Vincent Torri wrote: maybe it's time to update the NEWS file, with something like Ein

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

2011-04-11 Thread Mike Blumenkrantz
On Mon, 11 Apr 2011 12:26:06 +0200 Cedric BAIL wrote: > On Mon, Apr 11, 2011 at 12:13 PM, Mike Blumenkrantz wrote: > > On Mon, 11 Apr 2011 12:05:13 +0200 (CEST) > > Vincent Torri wrote: > >> maybe it's time to update the NEWS file, with something like > >> > >> Eina 1.1 > >> > >> New features:

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

2011-04-11 Thread Cedric BAIL
On Mon, Apr 11, 2011 at 12:13 PM, Mike Blumenkrantz wrote: > On Mon, 11 Apr 2011 12:05:13 +0200 (CEST) > Vincent Torri wrote: >> maybe it's time to update the NEWS file, with something like >> >> Eina 1.1 >> >> New features: >>   >>   >> >> API additions: >>   >>   >> > but we

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

2011-04-11 Thread Mike Blumenkrantz
On Mon, 11 Apr 2011 12:05:13 +0200 (CEST) Vincent Torri wrote: > > > maybe it's time to update the NEWS file, with something like > > Eina 1.1 > > New features: > > > > API additions: > > > > Vincent > > On Mon, 11 Apr 2011, Enlightenment SVN wrote: > > > Log:

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

2011-04-11 Thread Vincent Torri
maybe it's time to update the NEWS file, with something like Eina 1.1 New features: API additions: Vincent On Mon, 11 Apr 2011, Enlightenment SVN wrote: > Log: > eina: add eina_inlist_sort (merge sort based on eina_list code). > > > Author: cedric > Date:

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

2010-07-31 Thread Vincent Torri
can you add a description like i did in eina_mempool.h, please ? Vincent On Mon, 26 Jul 2010, Enlightenment SVN wrote: > Log: > * eina: add a mempool that just do one big malloc. > > Author: cedric > Date: 2010-07-26 08:52:43 -0700 (Mon, 26 Jul 2010) > New Revision: 50510 >

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

2009-01-20 Thread Gustavo Sverzut Barbieri
On Tue, Jan 20, 2009 at 1:44 PM, Enlightenment SVN wrote: > Log: >* eina/src/include/eina_private.h, >* eina/src/lib/eina_array.c: Remove potential error detected by llvm > in eina_array. > #define MAGIC_FREE(ptr)\ > - do {