Mike Blumenkrantz
5c4f02671a
fix some compile warnings
...
SVN revision: 54570
2010-11-15 19:42:00 +00:00
Cedric BAIL
70e488feff
* efl: beta2 !
...
SVN revision: 54507
2010-11-12 16:01:55 +00:00
Cedric BAIL
759d4efaec
* eina: little doxy fix.
...
Thanks to kuri <kuri@paranoia.abuser.eu>
SVN revision: 54398
2010-11-10 10:54:53 +00:00
Carsten Haitzler
caa1d813f4
no more debian dir in our svn - debian now handles this tehmselves.
...
SVN revision: 54287
2010-11-08 05:48:28 +00:00
Vincent Torri
d0458b87eb
cosmetic: compile the files in alphabetic order
...
SVN revision: 54253
2010-11-06 23:40:21 +00:00
Vincent Torri
b4571378c2
and add file
...
SVN revision: 54251
2010-11-06 21:01:36 +00:00
Vincent Torri
899983412b
* port eina_file_*_ls() on Windows and put the code in another file
...
* on Windows eina_file_stat_ls() is the same that eina_file_direct_ls()
SVN revision: 54250
2010-11-06 21:00:58 +00:00
Vincent Torri
8fa9c4a7ce
add doxygen doc
...
SVN revision: 54249
2010-11-06 20:38:41 +00:00
Vincent Torri
38c55d2170
remove Eina_Matrixsparse_Item_Cell and Eina_Matrixsparse_Item_Row
...
as they are used absolutely nowhere.
SVN revision: 54226
2010-11-06 12:50:09 +00:00
Vincent Torri
2249122a54
better removal for EINA_ARG_NONNULL
...
SVN revision: 54225
2010-11-06 12:44:25 +00:00
Vincent Torri
4a5f42c22c
remove EAPI from documentation
...
SVN revision: 54224
2010-11-06 12:41:37 +00:00
Vincent Torri
7ee0e4655b
* improve doc
...
* remove eina_binshare_init() and eina_binshare_shutdown()
from eina_binshare.h as they must not be exported
SVN revision: 54223
2010-11-06 12:34:55 +00:00
Vincent Torri
eccd70139b
formatting, whitespaces--
...
SVN revision: 54221
2010-11-06 07:37:52 +00:00
Cedric BAIL
57997619c9
* eina: fix eina_tiler_iterator_new API to be consistent with the
...
rest of the iterator API and usage.
WARNING !!! THIS IS REALLY BAD BUT FOR CONSISTENCY, I THINK THAT THIS
API BREAK WAS NEEDED. IN FACT IT'S MORE AN ABI BREAK AS IT WILL NOT
TRIGGER WARNING OR ERROR IN CURRENT PROGRAM USING
eina_tiler_iterator_new SO YOU ARE WARNED !
Reported by playya <frederik.sdun@googlemail.com>.
SVN revision: 54153
2010-11-04 14:53:00 +00:00
Cedric BAIL
64aa07c793
* eina: fix typos.
...
SVN revision: 54127
2010-11-03 17:32:07 +00:00
Cedric BAIL
c40d642b02
* eina: fix possible race condition between opendir/readdir_r/pathconf.
...
See http://womble.decadent.org.uk/readdir_r-advisory.html .
SVN revision: 54117
2010-11-03 10:19:55 +00:00
Cedric BAIL
19bce347b0
* eina: use fstatat when available.
...
Maybe we could add an eina_file_lstat_ls.
SVN revision: 54108
2010-11-02 17:47:19 +00:00
Cedric BAIL
17973f336e
* eina: add eina_file_stat_ls and guaranty that eina_file_direct_ls
...
will not call anything else than readdir_r.
SVN revision: 54105
2010-11-02 17:07:04 +00:00
Cedric BAIL
eb4cd21f0c
* eina: remove dirent so apps don't rely on non portable code.
...
SVN revision: 54103
2010-11-02 15:11:05 +00:00
Carsten Haitzler
a08524ea65
aaagh. dirent... bad! too many things in dirent that are not portable
...
- d_type for example... so put that into the direct_info struct and
handle the compat in eina.
SVN revision: 54015
2010-10-30 05:48:07 +00:00
Tiago Rezende Campos Falcao
fd1c8603ee
Removing dead assignment.
...
Reported in:
http://people.profusion.mobi/~lfelipe/static_analysis/efl/efl-53990/eina/2010-10-29-1/report-w3Z1oM.html#EndPath
SVN revision: 53999
2010-10-29 17:19:19 +00:00
Tiago Rezende Campos Falcao
1e78927ed1
Remove possivle null pointer.
...
Reported in:
http://people.profusion.mobi/~lfelipe/static_analysis/efl/efl-53990/eina/2010-10-29-1/report-mqFB7z.html#EndPath
SVN revision: 53998
2010-10-29 17:19:15 +00:00
Cedric BAIL
2794a9afc9
* eina: fix usage of eina_file_*ls in thread.
...
SVN revision: 53948
2010-10-28 09:59:27 +00:00
Carsten Haitzler
788a3357e9
dont free null ptrs eh?
...
SVN revision: 53944
2010-10-28 03:46:52 +00:00
Cedric BAIL
4d36ee36e2
* eina: make eina_file_ls and eina_file_direct_ls container be DIR*.
...
SVN revision: 53862
2010-10-25 12:25:24 +00:00
Cedric BAIL
59671af073
* eina: improve eina_rbtree doc to please discomfitor.
...
SVN revision: 53835
2010-10-24 15:29:23 +00:00
Gustavo Sverzut Barbieri
be4836a118
valgrind support is now automatic, make usage clear at summary
...
SVN revision: 53823
2010-10-23 21:03:11 +00:00
Gustavo Sverzut Barbieri
a528a88fe0
fix amalgamation build
...
SVN revision: 53821
2010-10-23 20:57:08 +00:00
Cedric BAIL
e199293a56
* eina: remove unecessary free.
...
SVN revision: 53817
2010-10-23 17:56:48 +00:00
Vincent Torri
f9da29e6a6
put EFL_DEBUG_THREADS inside EFL_HAVE_POSIX_THREADS
...
SVN revision: 53816
2010-10-23 17:17:03 +00:00
Cedric BAIL
4b1e2abc23
* eina: improve threads and debugging support in one big mempool.
...
SVN revision: 53815
2010-10-23 16:56:36 +00:00
Carsten Haitzler
8055b915b7
windows mutex shutdown correctness++
...
SVN revision: 53801
2010-10-23 07:52:51 +00:00
Mike Blumenkrantz
0c27fd1a29
ecrustify testing: looked good so I'm committing for other people to review as well
...
SVN revision: 53800
2010-10-23 06:41:45 +00:00
Carsten Haitzler
8074415ffc
slight mistake - trash cleanup on shutdown didnt null out base
...
SVN revision: 53797
2010-10-23 04:40:30 +00:00
Carsten Haitzler
51e3cd6419
lets lock del too eh?
...
SVN revision: 53796
2010-10-23 04:36:52 +00:00
Carsten Haitzler
222c59ba12
cedric.. has been a bad boy. cleaning up some of his mess. still have
...
a leak somewhere. very very slow now.
SVN revision: 53793
2010-10-23 03:45:06 +00:00
Mike Blumenkrantz
7d03bcd110
3 hours and a lot of bugfixing later, uncrustify can now align the * for function prototypes
...
SVN revision: 53781
2010-10-22 19:58:49 +00:00
Mike Blumenkrantz
cb4e0c8a75
this is the second test of my new uncrustify+config
...
*all struct members are aligned and spaced
*all post-function macros are force-spaced
*all post-function macros are parsed
*all macro definitions are backslash aligned
SVN revision: 53775
2010-10-22 17:30:54 +00:00
Carsten Haitzler
6199da8d8a
fix doc s!
...
SVN revision: 53665
2010-10-20 13:54:01 +00:00
Vincent Torri
1236bd82aa
delete libtool copied files on maintainer-clean rule
...
SVN revision: 53511
2010-10-17 07:07:46 +00:00
Rafael Fonseca
5b4996881e
Add valgrind support to one_big mempool.
...
SVN revision: 53428
2010-10-14 19:28:32 +00:00
Rafael Fonseca
9733a55c22
Mark memory as accessable before popping it from stack.
...
When we push a memory to the trash stack we mark it as unaccessable. So we
should mark it as accessible before returning it to the user.
SVN revision: 53427
2010-10-14 19:24:00 +00:00
Rafael Fonseca
4bd0432caf
Just mark memory as freed after actually freeing it.
...
Otherwise valgrind would complain about invalid memory access.
SVN revision: 53426
2010-10-14 19:19:13 +00:00
Rafael Fonseca
6485492cbe
Make valgrind know about eina mempools.
...
Because mempools generally allocate a big memory area and distribute chunks of
that area to the users, valgrind can not know about logical invalid access. By
using some valgrind macros we can tell valgrind about mempools and which area
can be accessed or not.
To start with I have just done valgrind integration on chained mempool but soon
it will be done for one_big too.
The code below is an example on which valgrind wouldn't complain without this
patch:
@code
#include <Eina.h>
int
main(int argc, char *argv[])
{
int i, *pool[4];
Eina_Mempool *mp;
eina_init();
mp = eina_mempool_add("chained_mempool", "test", NULL, sizeof(int), 4);
for (i = 0; i < 4; i++) {
pool[i] = eina_mempool_malloc(mp, sizeof(int));
*pool[i] = i;
}
printf("Valid mp pointer: pool[0] = %d\n", *pool[0]);
eina_mempool_free(mp, pool[0]);
printf("Freed mp pointer: pool[0] = %d\n", *pool[0]);
for (i = 1; i < 4; i++)
eina_mempool_free(mp, pool[i]);
eina_mempool_del(mp);
eina_shutdown();
return 0;
}
@endcode
SVN revision: 53405
2010-10-14 15:18:15 +00:00
Cedric BAIL
39a6e2df5a
* eina: use pthread_equal.
...
SVN revision: 53400
2010-10-14 14:17:48 +00:00
Cedric BAIL
c7245e24ed
* eina: fix amalgamation build.
...
SVN revision: 53392
2010-10-14 11:07:10 +00:00
Cedric BAIL
7f9845c66f
* eina: make Vincent happy.
...
SVN revision: 53362
2010-10-13 16:30:22 +00:00
Cedric BAIL
f9b8578ea6
* eina: add assert to ease tracking down efl misuse with threads.
...
SVN revision: 53360
2010-10-13 15:35:56 +00:00
Cedric BAIL
a44992380f
* eina: easy speed improvement by reducing operation of mempool.
...
SVN revision: 53349
2010-10-13 12:12:45 +00:00
Cedric BAIL
0e7accd2ba
* eina: don't bench ecore anymore as it's to slow.
...
SVN revision: 53346
2010-10-13 09:34:40 +00:00