Commit Graph

33 Commits

Author SHA1 Message Date
Cedric BAIL d8ad05920b eina: handle gracefully eina_*_free with NULL.
Patch by Raphael Kubo da Costa <>.

SVN revision: 73320
2012-07-05 01:12:27 +00:00
Vincent Torri 3ef67a7c87 Eina: implement eina_file_map_lines() on Windows
SVN revision: 73298
2012-07-04 18:47:19 +00:00
Vincent Torri 96bfc84a12 Eina: Fix issue in the XML parser when a tag was in a comment or a CDATA.
SVN revision: 71518
2012-05-29 22:00:29 +00:00
Cedric BAIL fa1569eb9b eina: avoid wrong implicit conversion from unsigned to unsigned long in Eina_Value tests
There is no automatic promotion of unsigned to unsigned long when using va_arg,
which means it is illegal to pass an 'unsigned' value and then use it as an
unsigned long in eina_arg_vset. Doing so yields incorrect results on some
architectures like itanium

Patch by  Albin 'Lutin' Tonnerre <>

SVN revision: 71196
2012-05-17 09:59:46 +00:00
Cedric BAIL b19de09bae eina: don't assume that 'char' is a signed type in Eina_Value
The eina_value code TYPE_CHAR conversion code assumes that 'char' is a signed
type, which is not true on some platforms like ARM and PPC. We need to
explicitely use signed chars to make sure the value is correct.

Patch by Albin 'Lutin' Tonnerre <>

SVN revision: 71195
2012-05-17 09:56:28 +00:00
Cedric BAIL f0a9acefa0 eina: add eina_file_map_lines.
This almost replace a loop of fopen/fgets/fclose, but it avoid
one memcpy.

SVN revision: 70871
2012-05-08 10:31:12 +00:00
Cedric BAIL 7d400fb5d9 eina: fix a rounding issue in eina_f32p32_{cos,sin} when getting close to 1.0.
Bug only showed up if above 0.999 .

SVN revision: 70831
2012-05-07 01:46:37 +00:00
Cedric BAIL 71090cd4fd eina,evas,edje,elementary: add missing files from tarballs.
Patch by Jérôme Pinot <>

SVN revision: 70543
2012-04-30 01:55:06 +00:00
Cedric BAIL 181b5f3036 eina: fix wording order.
SVN revision: 70496
2012-04-26 08:16:24 +00:00
Cedric BAIL cea8c9338c eina: add backtrace support to eina.
SVN revision: 70495
2012-04-26 08:10:38 +00:00
Cedric BAIL 5d72c686c7 eina: make it possible to force the number of detected CPU as way to overcome local bug.
SVN revision: 70328
2012-04-19 09:25:54 +00:00
Cedric BAIL 03ad20b260 eina: disable log backtracking.
SVN revision: 70327
2012-04-19 09:24:04 +00:00
Cedric BAIL 0aa710a832 eina: little improvement for EINA_LOG_BACKTRACE.
SVN revision: 70309
2012-04-19 00:23:06 +00:00
Carsten Haitzler 5f4523e6c9 and update news accordingly.
SVN revision: 70290
2012-04-18 09:02:41 +00:00
Carsten Haitzler 4e1873a5de add NEWS item into eina.
SVN revision: 70201
2012-04-16 02:58:35 +00:00
Carsten Haitzler a2f578c9c5 bring eina's NEWS up to date with changelog.
SVN revision: 69625
2012-03-26 04:33:56 +00:00
Cedric BAIL dd3d01f643 eina: backport and ChangeLog for dead lock in Eina_File.
SVN revision: 69339
2012-03-14 15:53:14 +00:00
Cedric BAIL a16dd17686 eina: backport, ChangeLog and NEWS.
SVN revision: 68925
2012-03-07 10:45:06 +00:00
Cedric BAIL 411a4eb936 eina: faster implementation of Eina_Rbtree by Alexandre Becoulet.
SVN revision: 68474
2012-02-27 13:29:47 +00:00
Cedric BAIL c461a7eed9 eina: add eina_file_stat helper function.
SVN revision: 68259
2012-02-22 10:24:11 +00:00
Vincent Torri fcd0b658cf Eina: fix compilation errors in Eina_RWLock code when building code on Windows > XP
SVN revision: 67545
2012-01-26 07:21:27 +00:00
Gustavo Sverzut Barbieri 7c0357ddeb welcome eina_model.
This is a simple to use generic hierarchical data access. It includes
properties, children, reference counting and notifications (callbacks).

It can be understood in the same lines as GObject or PyObject, but I
believe the best usage is just to provide data models, not generic
Object Oriented Programming in C.

It misses most of documentation, although the important bits are
there. Need help here :-/

SVN revision: 67405
2012-01-21 01:30:09 +00:00
Gustavo Sverzut Barbieri c502186b3d make bastards happy
SVN revision: 67083
2012-01-11 14:06:07 +00:00
Gustavo Sverzut Barbieri 7a4e904566 add eina_value.
eina value is a generic value storage, it's quite efficient to space
(16 bytes) and speed (inlines for basic types).

It's basically a structure describing how to manage memory
(Eina_Value_Type), with default implementation for char, short, int,
long, int64_t (and unsigned variants), float, double, stringshare and

If a type 'value_size' is smaller than 8 bytes, it's stored
inline. Otherwise a value is allocated and managed.

Most of the methods are inline, with special handling for char, short,
int... Then no extra calls are made, allowing the compiler to optimize

For array of a single type it is recommend to use Eina_Value_Array, as
it will efficiently store and access members (just a char if subtype

It can copy itself, compare itself. Including arrays.

It would be nice to have something that converts between EET and this.

SVN revision: 67035
2012-01-11 02:20:26 +00:00
Gustavo Sverzut Barbieri 45b07ed02d add eina_inarray.
It is an inline array, that is, the members are actually in the
allocated buffer, as opposed to a pointer to its data.

It can be used to manage array of integers, floats or other structures
without fragmenting memory.

The lookups should be fast as memory is linear, then CPU prefetch can
kick in and bring data to cache before it's used.

SVN revision: 67003
2012-01-09 23:24:18 +00:00
Cedric BAIL edbee63134 eina: detect fault during Eina_File mmap memory access and improve Xattr functions.
SVN revision: 66799
2012-01-03 14:59:07 +00:00
Cedric BAIL d92a903ffe eina: add Eina_Semaphore API.
Patch by Vincent Torri.

SVN revision: 66693
2011-12-30 13:38:53 +00:00
Mike Blumenkrantz afdbaf8651 +eina_mempool_calloc
SVN revision: 65821
2011-12-02 15:27:35 +00:00
Boris Faure 15f0f3e044 eina: update news/changelog
SVN revision: 65268
2011-11-15 14:24:53 +00:00
Carsten Haitzler e171abd5d6 1 - too many in underline
SVN revision: 65122
2011-11-13 06:11:43 +00:00
Carsten Haitzler c305ba5215 NEWS file like ecore - per vtorri's suggestion
SVN revision: 65120
2011-11-13 06:08:35 +00:00
Carsten Haitzler 5bdaef94d4 eina NEWS file has summary from changelog. damn we did a lot.
SVN revision: 65057
2011-11-11 09:07:20 +00:00
Cedric BAIL a92e3d6c83 Adding turran work to unify EFL data types and functions.
SVN revision: 35248
2008-07-30 12:46:55 +00:00