Vincent Torri
766a3ce890
Eina: add nice m4 macro to check function. Will be usable easily in the merge, per EFL lib
...
Please, test. config.h is the same (except useless macro HAVE_ICONV_H) and compilation is correct on linux and mingw here
SVN revision: 72972
2012-06-28 06:45:12 +00:00
Carsten Haitzler
a82f27e2f0
tone down mempool chunk sizes
...
SVN revision: 72252
2012-06-17 01:51:27 +00:00
Carsten Haitzler
5b303c8038
add EINA_MEMPOOL_PASS
...
SVN revision: 72248
2012-06-17 01:12:16 +00:00
Cedric BAIL
491e44bb5f
eina: actually check the pid only if we fail with main loop check.
...
NOTE: If we are out of luck this test can work after a fork, but most
of the time it will be correct and cost nothing, instead of costing
a syscall.
SVN revision: 71988
2012-06-12 07:58:11 +00:00
Mike Blumenkrantz
c74cf7666d
fix size of returned array in str_split, doc clarification incoming
...
SVN revision: 71930
2012-06-11 07:29:46 +00:00
Mike Blumenkrantz
8dbcdefab9
just spent waaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaay too long working on eina_str_split/full. never again.
...
this function was severely broken since 1.0: it did not abide by the limit param, and it was almost comically slow. I have (hopefully) fixed both of these issues. I also fixed the bug where this function was less than 200 lines long.
I'll backport this once it gets tested/reviewed/reverted
SVN revision: 71871
2012-06-08 23:28:11 +00:00
Mike Blumenkrantz
7cd7f0bd22
whoops, meant negative...hope nobody noticed this
...
SVN revision: 71856
2012-06-08 14:45:21 +00:00
Mike Blumenkrantz
32c909b6ce
...and unbreak compile
...
SVN revision: 71853
2012-06-08 14:05:54 +00:00
Mike Blumenkrantz
017a7d50eb
add a check for stupids
...
SVN revision: 71851
2012-06-08 13:48:05 +00:00
Carsten Haitzler
318bd30043
This is a small change, so I won't changelog it (or backport), but
...
make _shutdown() funcs across efl complain and be unhappy if you
shutdown to < 0 shutdowns and not pull init count below 0.
SVN revision: 71548
2012-05-30 10:08:41 +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
Jerome Pinot
b3e92d38b0
eina: doxygen doc fixes
...
A #link at the beginning of a new line goes interpreted by doxygen as a title,
so format the documentation to avoid this issue. No content change.
SVN revision: 71501
2012-05-29 11:33:07 +00:00
Carsten Haitzler
55a5b14bd8
formatting fix.
...
SVN revision: 71347
2012-05-23 04:31:47 +00:00
Carsten Haitzler
b6b502885a
use memset so we never have this problem again and also put in
...
eina_file_win32.c
SVN revision: 71345
2012-05-23 04:26:24 +00:00
Carsten Haitzler
6bacd49c6d
if we are mallocing structs... lets set all the members to sane values
...
shall we... or use CALLOC! :/
SVN revision: 71343
2012-05-23 04:21:43 +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 <albin.tonnerre@gmail.com>
SVN revision: 71195
2012-05-17 09:56:28 +00:00
Cedric BAIL
671b3bad30
eina: cleanup and merge code for sin and cos.
...
NOTE: this patch is part of the previous attempt to fix
rounding error. Hopefully things are better now.
SVN revision: 71150
2012-05-16 10:12:06 +00:00
Vincent Torri
11c2dc7454
eina_cpu: use __asm__ instead of asm
...
SVN revision: 71092
2012-05-15 05:48:27 +00:00
Cedric BAIL
061c37176d
eina: that was a useless piece of code !
...
SVN revision: 70930
2012-05-11 10:51:29 +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
ChunEon Park
a2d58503e2
eina/eina_stringshare - + NULL Checking.
...
SVN revision: 70596
2012-05-02 05:05:10 +00:00
Cedric BAIL
cea8c9338c
eina: add backtrace support to eina.
...
SVN revision: 70495
2012-04-26 08:10:38 +00:00
Lucas De Marchi
623f145cd9
eina: remove useless check for NULL
...
choice is always set
SVN revision: 70441
2012-04-24 14:21:22 +00:00
Lucas De Marchi
0c46eab68a
eina: fix copyright
...
The content of this file was changed and there's no code left from them.
SVN revision: 70440
2012-04-24 14:19:02 +00:00
Cedric BAIL
d80dae3035
eina: fix Eina_Inarray API to at least match Eina_Array API.
...
NOTE: some of this function should be moved as inline, but that's to late for a change
I think. So we will fix that if needed.
Second point, I am not happy with is eina_inarray_insert and eina_inarray_insert_at. The
naming is really poor.
SVN revision: 70352
2012-04-20 08:30:59 +00:00
Vincent Torri
f0f7b46ccc
include stdlib.h for atoi and getenv
...
SVN revision: 70347
2012-04-20 07:19:08 +00:00
Cedric BAIL
def18a8ee0
eina: completly disable backtrace.
...
SVN revision: 70333
2012-04-19 12:49:16 +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
Cedric BAIL
e75a38b325
eina: add backtrace to Eina_Log.
...
SVN revision: 70294
2012-04-18 09:21:39 +00:00
Carsten Haitzler
8bce681d16
and fully de-modelify eina
...
SVN revision: 70293
2012-04-18 09:19:47 +00:00
Carsten Haitzler
1fb2825ac8
and extract model stuff from value...
...
SVN revision: 70292
2012-04-18 09:12:26 +00:00
Carsten Haitzler
fbdadd1bea
well as there is no reason to put eina_model in release - disabled
...
until later.
SVN revision: 70289
2012-04-18 09:02:27 +00:00
Daniel Juyung Seo
e7a3e313ee
eina eina_iterator.c: Fixed formatting.
...
SVN revision: 70255
2012-04-17 06:31:14 +00:00
Vincent Torri
a40ca4ab97
Eina: Fix cases where dlopen is wrongly checked because of autoconf cache values
...
SVN revision: 69909
2012-04-03 16:28:40 +00:00
Cedric BAIL
6f6e4a4570
eina: improve debugging message.
...
SVN revision: 69896
2012-04-03 13:28:04 +00:00
Vincent Torri
cd958cb926
Eina: more doc
...
SVN revision: 69813
2012-03-31 07:32:51 +00:00
Vincent Torri
061c5ec0ba
Eina: add missing API on Windows. Do I need to update ChangeLog and NEWS ?
...
SVN revision: 69811
2012-03-31 06:32:11 +00:00
Vincent Torri
17b49cc072
formatting
...
SVN revision: 69810
2012-03-31 06:30:53 +00:00
Iván Briano
73bed950b0
Hack to avoid freeing old data when calling eina_hash_set() with new_data == NULL. Let's have a minute of silence for all the innocent children that died because of this very grave error.
...
SVN revision: 69763
2012-03-29 17:46:17 +00:00
Vincent Torri
f00cf44117
Eina: fix shm_open() check (can be in libc or librt) + various autotools cleaning
...
This works in linux and windows, and should fix shm_detection on BSD (including Mac)
BSD, Mac and solaris users : please check that it compiles and shm_open is detected
SVN revision: 69608
2012-03-25 11:12:32 +00:00
Vincent Torri
2e3ed73101
Eina: Fix a previous commit
...
SVN revision: 69511
2012-03-19 19:31:29 +00:00
Cedric BAIL
9f4dd88b41
eina: fix build when valgrind is not in a standard location.
...
Patch by Raphael Kubo da Costa <rakuco@freebsd.org>.
SVN revision: 69456
2012-03-16 11:25:14 +00:00
Cedric BAIL
4a5fab140b
eina: fix dead lock issue. This is hidding a bug with eina_hash_pointer_new.
...
SVN revision: 69338
2012-03-14 15:35:12 +00:00
Cedric BAIL
486d214a31
eina: build back on FreeBSD.
...
SVN revision: 69293
2012-03-13 11:25:56 +00:00
Vincent Torri
394e8af271
Eina: use Windows macros
...
SVN revision: 69069
2012-03-08 20:32:15 +00:00
Vincent Torri
2872041d17
Eina: use stat64() instead of GetFileAttributesEx()
...
SVN revision: 69067
2012-03-08 17:58:44 +00:00
cnook
f2c5a4bede
From: cnook <kimcinoo@gmail.com>
...
Subject: [E-devel] [Patch][Eina] eina_file_win32 - using
eina_file_statat();
On windows, Elementary gives build error. cause..
The elm_config.c uses eina_file_statat(); but It is not in the
eina_file_win32.c
So the attached patch comes. Please keep the patch in the up stream.
Thanks.
SVN revision: 69058
2012-03-08 13:54:01 +00:00