profile/ivi/eina.git
14 years agono more debian dir in our svn - debian now handles this tehmselves.
raster [Mon, 8 Nov 2010 05:48:28 +0000 (05:48 +0000)]
no more debian dir in our svn - debian now handles this tehmselves.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@54287 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agocosmetic: compile the files in alphabetic order
caro [Sat, 6 Nov 2010 23:40:21 +0000 (23:40 +0000)]
cosmetic: compile the files in alphabetic order

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@54253 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoand add file
caro [Sat, 6 Nov 2010 21:01:36 +0000 (21:01 +0000)]
and add file

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@54251 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * port eina_file_*_ls() on Windows and put the code in another file
caro [Sat, 6 Nov 2010 21:00:58 +0000 (21:00 +0000)]
 * 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()

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@54250 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoadd doxygen doc
caro [Sat, 6 Nov 2010 20:38:41 +0000 (20:38 +0000)]
add doxygen doc

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@54249 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoremove Eina_Matrixsparse_Item_Cell and Eina_Matrixsparse_Item_Row
caro [Sat, 6 Nov 2010 12:50:09 +0000 (12:50 +0000)]
remove  Eina_Matrixsparse_Item_Cell and Eina_Matrixsparse_Item_Row
as they are used absolutely nowhere.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@54226 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agobetter removal for EINA_ARG_NONNULL
caro [Sat, 6 Nov 2010 12:44:25 +0000 (12:44 +0000)]
better removal for EINA_ARG_NONNULL

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@54225 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoremove EAPI from documentation
caro [Sat, 6 Nov 2010 12:41:37 +0000 (12:41 +0000)]
remove EAPI from documentation

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@54224 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * improve doc
caro [Sat, 6 Nov 2010 12:34:55 +0000 (12:34 +0000)]
 * improve doc
 * remove eina_binshare_init() and eina_binshare_shutdown()
   from eina_binshare.h as they must not be exported

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@54223 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoformatting, whitespaces--
caro [Sat, 6 Nov 2010 07:37:52 +0000 (07:37 +0000)]
formatting, whitespaces--

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@54221 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * eina: fix eina_tiler_iterator_new API to be consistent with the
cedric [Thu, 4 Nov 2010 14:53:00 +0000 (14:53 +0000)]
* 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>.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@54153 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * eina: fix typos.
cedric [Wed, 3 Nov 2010 17:32:07 +0000 (17:32 +0000)]
* eina: fix typos.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@54127 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * eina: fix possible race condition between opendir/readdir_r/pathconf.
cedric [Wed, 3 Nov 2010 10:19:55 +0000 (10:19 +0000)]
* eina: fix possible race condition between opendir/readdir_r/pathconf.

See http://womble.decadent.org.uk/readdir_r-advisory.html .

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@54117 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * eina: use fstatat when available.
cedric [Tue, 2 Nov 2010 17:47:19 +0000 (17:47 +0000)]
* eina: use fstatat when available.

Maybe we could add an eina_file_lstat_ls.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@54108 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * eina: add eina_file_stat_ls and guaranty that eina_file_direct_ls
cedric [Tue, 2 Nov 2010 17:07:04 +0000 (17:07 +0000)]
* eina: add eina_file_stat_ls and guaranty that eina_file_direct_ls
will not call anything else than readdir_r.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@54105 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * eina: remove dirent so apps don't rely on non portable code.
cedric [Tue, 2 Nov 2010 15:11:05 +0000 (15:11 +0000)]
* eina: remove dirent so apps don't rely on non portable code.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@54103 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoaaagh. dirent... bad! too many things in dirent that are not portable
raster [Sat, 30 Oct 2010 05:48:07 +0000 (05:48 +0000)]
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.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@54015 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoRemoving dead assignment.
tiago [Fri, 29 Oct 2010 17:19:19 +0000 (17:19 +0000)]
Removing dead assignment.

Reported in:
http://people.profusion.mobi/~lfelipe/static_analysis/efl/efl-53990/eina/2010-10-29-1/report-w3Z1oM.html#EndPath

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@53999 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoRemove possivle null pointer.
tiago [Fri, 29 Oct 2010 17:19:15 +0000 (17:19 +0000)]
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

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@53998 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * eina: fix usage of eina_file_*ls in thread.
cedric [Thu, 28 Oct 2010 09:59:27 +0000 (09:59 +0000)]
* eina: fix usage of eina_file_*ls in thread.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@53948 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agodont free null ptrs eh?
raster [Thu, 28 Oct 2010 03:46:52 +0000 (03:46 +0000)]
dont free null ptrs eh?

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@53944 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * eina: make eina_file_ls and eina_file_direct_ls container be DIR*.
cedric [Mon, 25 Oct 2010 12:25:24 +0000 (12:25 +0000)]
* eina: make eina_file_ls and eina_file_direct_ls container be DIR*.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@53862 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * eina: improve eina_rbtree doc to please discomfitor.
cedric [Sun, 24 Oct 2010 15:29:23 +0000 (15:29 +0000)]
* eina: improve eina_rbtree doc to please discomfitor.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@53835 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agovalgrind support is now automatic, make usage clear at summary
barbieri [Sat, 23 Oct 2010 21:03:11 +0000 (21:03 +0000)]
valgrind support is now automatic, make usage clear at summary

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@53823 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoignore build files
barbieri [Sat, 23 Oct 2010 21:02:12 +0000 (21:02 +0000)]
ignore build files

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@53822 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agofix amalgamation build
barbieri [Sat, 23 Oct 2010 20:57:08 +0000 (20:57 +0000)]
fix amalgamation build

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@53821 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * eina: remove unecessary free.
cedric [Sat, 23 Oct 2010 17:56:48 +0000 (17:56 +0000)]
* eina: remove unecessary free.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@53817 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoput EFL_DEBUG_THREADS inside EFL_HAVE_POSIX_THREADS
caro [Sat, 23 Oct 2010 17:17:03 +0000 (17:17 +0000)]
put EFL_DEBUG_THREADS inside EFL_HAVE_POSIX_THREADS

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@53816 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * eina: improve threads and debugging support in one big mempool.
cedric [Sat, 23 Oct 2010 16:56:36 +0000 (16:56 +0000)]
* eina: improve threads and debugging support in one big mempool.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@53815 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agowindows mutex shutdown correctness++
raster [Sat, 23 Oct 2010 07:52:51 +0000 (07:52 +0000)]
windows mutex shutdown correctness++

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@53801 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoecrustify testing: looked good so I'm committing for other people to review as well
discomfitor [Sat, 23 Oct 2010 06:41:45 +0000 (06:41 +0000)]
ecrustify testing: looked good so I'm committing for other people to review as well

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@53800 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoslight mistake - trash cleanup on shutdown didnt null out base
raster [Sat, 23 Oct 2010 04:40:30 +0000 (04:40 +0000)]
slight mistake - trash cleanup on shutdown didnt null out base

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@53797 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agolets lock del too eh?
raster [Sat, 23 Oct 2010 04:36:52 +0000 (04:36 +0000)]
lets lock del too eh?

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@53796 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agocedric.. has been a bad boy. cleaning up some of his mess. still have
raster [Sat, 23 Oct 2010 03:45:06 +0000 (03:45 +0000)]
cedric.. has been a bad boy. cleaning up some of his mess. still have
a leak somewhere. very very slow now.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@53793 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago3 hours and a lot of bugfixing later, uncrustify can now align the * for function...
discomfitor [Fri, 22 Oct 2010 19:58:49 +0000 (19:58 +0000)]
3 hours and a lot of bugfixing later, uncrustify can now align the * for function prototypes

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@53781 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agothis is the second test of my new uncrustify+config
discomfitor [Fri, 22 Oct 2010 17:30:54 +0000 (17:30 +0000)]
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

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@53775 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agofix doc s!
raster [Wed, 20 Oct 2010 13:54:01 +0000 (13:54 +0000)]
fix doc s!

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@53665 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agodelete libtool copied files on maintainer-clean rule
caro [Sun, 17 Oct 2010 07:07:46 +0000 (07:07 +0000)]
delete libtool copied files on maintainer-clean rule

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@53511 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoAdd valgrind support to one_big mempool.
rfonseca [Thu, 14 Oct 2010 19:28:32 +0000 (19:28 +0000)]
Add valgrind support to one_big mempool.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@53428 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoMark memory as accessable before popping it from stack.
rfonseca [Thu, 14 Oct 2010 19:24:00 +0000 (19:24 +0000)]
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.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@53427 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoJust mark memory as freed after actually freeing it.
rfonseca [Thu, 14 Oct 2010 19:19:13 +0000 (19:19 +0000)]
Just mark memory as freed after actually freeing it.

Otherwise valgrind would complain about invalid memory access.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@53426 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoMake valgrind know about eina mempools.
rfonseca [Thu, 14 Oct 2010 15:18:15 +0000 (15:18 +0000)]
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

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@53405 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * eina: use pthread_equal.
cedric [Thu, 14 Oct 2010 14:17:48 +0000 (14:17 +0000)]
* eina: use pthread_equal.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@53400 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * eina: fix amalgamation build.
cedric [Thu, 14 Oct 2010 11:07:10 +0000 (11:07 +0000)]
* eina: fix amalgamation build.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@53392 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * eina: make Vincent happy.
cedric [Wed, 13 Oct 2010 16:30:22 +0000 (16:30 +0000)]
* eina: make Vincent happy.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@53362 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * eina: add assert to ease tracking down efl misuse with threads.
cedric [Wed, 13 Oct 2010 15:35:56 +0000 (15:35 +0000)]
* eina: add assert to ease tracking down efl misuse with threads.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@53360 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * eina: easy speed improvement by reducing operation of mempool.
cedric [Wed, 13 Oct 2010 12:12:45 +0000 (12:12 +0000)]
* eina: easy speed improvement by reducing operation of mempool.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@53349 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * eina: don't bench ecore anymore as it's to slow.
cedric [Wed, 13 Oct 2010 09:34:40 +0000 (09:34 +0000)]
* eina: don't bench ecore anymore as it's to slow.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@53346 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * eina: improve chained mempool speed.
cedric [Tue, 12 Oct 2010 16:53:30 +0000 (16:53 +0000)]
* eina: improve chained mempool speed.

By removing pthread lock when thread safety is not required.
By not walking over the buffer for nothing.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@53310 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoauto-init threads and fix spinlock initialization checks.
barbieri [Thu, 7 Oct 2010 22:14:03 +0000 (22:14 +0000)]
auto-init threads and fix spinlock initialization checks.

 * it is valid to use eina_log_threads_enable() without
   eina_threads_init(), so call eina_log_threads_init() in that case.

 * pthread_spin_init() returns 0 on success! check that and report any errors.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@53169 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoEina: Don't #define _GNU_SOURCE
etrunko [Thu, 7 Oct 2010 19:29:32 +0000 (19:29 +0000)]
Eina: Don't #define _GNU_SOURCE

Instead use AC_GNU_SOURCE macro in configure.ac

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@53157 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoadd pid to eina log.
raster [Wed, 6 Oct 2010 07:09:05 +0000 (07:09 +0000)]
add pid to eina log.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@53091 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * eina: fix typo.
cedric [Tue, 5 Oct 2010 11:32:12 +0000 (11:32 +0000)]
* eina: fix typo.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@53055 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago eina: strrchr--.
illogict [Sun, 3 Oct 2010 15:08:18 +0000 (15:08 +0000)]
 eina: strrchr--.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@53000 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoefl 1.0.0 beta.
raster [Sun, 3 Oct 2010 09:21:08 +0000 (09:21 +0000)]
efl 1.0.0 beta.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@52992 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoeina: fix compilation if safety checks are disabled
lucas [Fri, 1 Oct 2010 12:18:39 +0000 (12:18 +0000)]
eina: fix compilation if safety checks are disabled

A few files include eina_safety_checks.h and then expect that
eina_log.h is also dragged in, however this isn't the case if
the safety checks were disabled at configure stage.

Include eina_log.h explicitly to fix this.

Patch by: Marc Andre Tanner <mat@brain-dump.org>

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@52949 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoeina: fix wrong EINA_ARG_NONNULL
lucas [Fri, 1 Oct 2010 12:18:04 +0000 (12:18 +0000)]
eina: fix wrong EINA_ARG_NONNULL

This fixes the following error:

CC     libeina_la-eina_error.lo
CC     libeina_la-eina_log.lo
In file included from ../../src/include/eina_safety_checks.h:69,
from eina_error.c:150:
../../src/include/eina_error.h:53: error: nonnull argument references non-pointer operand (argument 1, operand 1)
make[3]: *** [libeina_la-eina_error.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from ../../src/include/eina_safety_checks.h:69,
from eina_log.c:287:
../../src/include/eina_error.h:53: error: nonnull argument references non-pointer operand (argument 1, operand 1)
make[3]: *** [libeina_la-eina_log.lo] Error 1
make[3]: Leaving directory `/data/projects/qi-bootmenu-system/build/temp-armv4tl/eina/src/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/data/projects/qi-bootmenu-system/build/temp-armv4tl/eina/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/data/projects/qi-bootmenu-system/build/temp-armv4tl/eina'
make: *** [all] Error 2

Patch by: Marc Andre Tanner <mat@brain-dump.org>

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@52947 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agofix
caro [Wed, 29 Sep 2010 08:12:08 +0000 (08:12 +0000)]
fix

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@52882 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoNAME_MAX defined to 255 on sun (if not defined).
caro [Wed, 29 Sep 2010 06:37:56 +0000 (06:37 +0000)]
NAME_MAX defined to 255 on sun (if not defined).

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@52881 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoinclude limits.h. Should acctually work with DSB, macosx and openindiana.
caro [Wed, 29 Sep 2010 05:41:09 +0000 (05:41 +0000)]
include limits.h. Should acctually work with DSB, macosx and openindiana.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@52880 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoExclude win from prio drop implementation
lucas [Thu, 23 Sep 2010 20:58:19 +0000 (20:58 +0000)]
Exclude win from prio drop implementation
Win will use another completely different approach. So, change the
guards to EFL_HAVE_POSIX_THREADS.

Also, include eina_sched.h as should have been done.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@52654 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoImplement function to drop priority of current thread
lucas [Thu, 23 Sep 2010 20:38:48 +0000 (20:38 +0000)]
Implement function to drop priority of current thread
This function is useful for libraries like ecore and evas that have to
set some worker threads. The first thing these threads should do is to
call this function, so the main thread might continue running without
the worker threads interrupting it too much.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@52651 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * eina: call malloc only when content is requested from the pool.
cedric [Tue, 21 Sep 2010 15:18:15 +0000 (15:18 +0000)]
* eina: call malloc only when content is requested from the pool.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@52543 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agorevert whoops
discomfitor [Tue, 21 Sep 2010 06:52:10 +0000 (06:52 +0000)]
revert whoops

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@52537 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoecore_con_url_free migration
discomfitor [Tue, 21 Sep 2010 06:51:07 +0000 (06:51 +0000)]
ecore_con_url_free migration

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@52536 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoEina_List: Revert changes introduced in r52253
etrunko [Mon, 20 Sep 2010 18:20:40 +0000 (18:20 +0000)]
Eina_List: Revert changes introduced in r52253

The patch was trying to fix an error caused by wrong usage of this function

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@52496 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoFix typos
lucas [Mon, 20 Sep 2010 17:09:13 +0000 (17:09 +0000)]
Fix typos

"he->the" where appropriate

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@52493 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoEina_List: Avoid Segfault
etrunko [Tue, 14 Sep 2010 18:29:30 +0000 (18:29 +0000)]
Eina_List: Avoid Segfault

Some inputs in which tmp - cur is greater than the number of previous nodes
in list, were causing ct to be null at end of loop.

Patch by Jonas M. Gastal <jgastal@profusion.mobi>

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@52253 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoadd braces to remove ambiguous condition warning
caro [Tue, 14 Sep 2010 15:57:20 +0000 (15:57 +0000)]
add braces to remove ambiguous condition warning

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@52246 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoinitial doxy patch for rbtree from vtorri
discomfitor [Sun, 12 Sep 2010 19:28:18 +0000 (19:28 +0000)]
initial doxy patch for rbtree from vtorri
CEDRIC WRITE DOCS FOR THIS!

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@52172 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agomore doxy from vtorri
discomfitor [Sun, 12 Sep 2010 08:03:21 +0000 (08:03 +0000)]
more doxy from vtorri

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@52164 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agovariable name changes for accessor functions
discomfitor [Sun, 12 Sep 2010 06:49:57 +0000 (06:49 +0000)]
variable name changes for accessor functions

patch by vtorry
compile testing frowned upon by andredieb

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@52163 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoFix typos in docs
lucas [Fri, 10 Sep 2010 12:01:52 +0000 (12:01 +0000)]
Fix typos in docs
* eina_thread_init doesn't exist. eina_threads_init it is;
* 'mutexes' is a more common spelling, not 'mutexs'

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@52136 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoFix common misspellings
lucas [Thu, 9 Sep 2010 02:19:54 +0000 (02:19 +0000)]
Fix common misspellings

Following misspellings were fixed:

occured->occurred
immediatly->immediately

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@52018 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoEvil patch from Evil vtorri. Some improvements to Eina docs.
sachiel [Wed, 8 Sep 2010 17:41:05 +0000 (17:41 +0000)]
Evil patch from Evil vtorri. Some improvements to Eina docs.

Yup, docs.. truly evil.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@51993 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * eina: fix doc, patch by Vincent Torri.
cedric [Wed, 8 Sep 2010 08:38:48 +0000 (08:38 +0000)]
* eina: fix doc, patch by Vincent Torri.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@51983 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoFix common misspellings
lucas [Wed, 8 Sep 2010 03:21:16 +0000 (03:21 +0000)]
Fix common misspellings

The following misspellings were fixed:

asociated->associated
convertion->conversion
exemple->example
existant->existent
immediatly->immediately
isnt->isn't
loosing->losing
memeber->member
occured->occurred
occurence->occurrence
occurences->occurrences
ocurred->occurred
recomended->recommended
sucess->success
teh->the
tiem->time
usefull->useful

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@51962 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoFix typo in doxygen
lucas [Mon, 6 Sep 2010 22:48:58 +0000 (22:48 +0000)]
Fix typo in doxygen

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@51932 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agook... don't know what's up here... but how about debs actually build
raster [Fri, 3 Sep 2010 09:21:07 +0000 (09:21 +0000)]
ok... don't know what's up here... but how about debs actually build
from our debian/ dir? i dont know what debian and ubuntu will one day
use for their pkging info.. but at least have the stuff we have in svn
work eh? :)

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@51858 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agocleanups for eina_module_list_get type change
discomfitor [Thu, 2 Sep 2010 03:28:04 +0000 (03:28 +0000)]
cleanups for eina_module_list_get type change
vtorri SPANK SPANK SPANK!!!

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@51828 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agouse Eina_Bool instead of unsigned int
caro [Wed, 1 Sep 2010 22:31:43 +0000 (22:31 +0000)]
use Eina_Bool instead of unsigned int

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@51825 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agotypo
caro [Wed, 1 Sep 2010 06:48:52 +0000 (06:48 +0000)]
typo

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@51799 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoformat a bit the doc and add corner cases
caro [Wed, 1 Sep 2010 06:45:33 +0000 (06:45 +0000)]
format a bit the doc and add corner cases

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@51798 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoyarrrrrrr I've got yer rum right here, you landlubber! HAR HAR HAR!
discomfitor [Tue, 31 Aug 2010 22:39:02 +0000 (22:39 +0000)]
yarrrrrrr I've got yer rum right here, you landlubber! HAR HAR HAR!

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@51790 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agomove function into local, reformat
discomfitor [Tue, 31 Aug 2010 21:19:54 +0000 (21:19 +0000)]
move function into local, reformat

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@51787 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agowhitespaces--
caro [Sun, 29 Aug 2010 18:19:36 +0000 (18:19 +0000)]
whitespaces--

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@51730 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agofinish removing threadsafe stuff
discomfitor [Fri, 27 Aug 2010 21:41:03 +0000 (21:41 +0000)]
finish removing threadsafe stuff

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@51687 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agofix -I for eina_private.h
discomfitor [Fri, 27 Aug 2010 18:18:41 +0000 (18:18 +0000)]
fix -I for eina_private.h
THIS IS BROKEN IN ALPHA RELEASE. WHOEVER BROKE IT: SPANK SPANK SPANK!

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@51683 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoRevert and re-apply badnull patch
lucas [Thu, 26 Aug 2010 01:34:13 +0000 (01:34 +0000)]
Revert and re-apply badnull patch

Revert previous patch generated by badnull.cocci script, and apply the new one.
The main difference is that assert and assert-like functions are not touched
anymore.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@51650 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoforce to unisgned char
raster [Wed, 25 Aug 2010 02:04:37 +0000 (02:04 +0000)]
force to unisgned char

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@51624 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoand cppcheck yes -> init to NULL so check and free works.
raster [Sun, 22 Aug 2010 22:39:26 +0000 (22:39 +0000)]
and cppcheck yes -> init to NULL so check and free works.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@51550 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agocppcheck -> shhh. yes. we know. leak.
raster [Sun, 22 Aug 2010 22:38:06 +0000 (22:38 +0000)]
cppcheck -> shhh. yes. we know. leak.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@51549 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agomempool -> init the mempool with calloc. we cannot know for sure the
raster [Sun, 22 Aug 2010 22:35:24 +0000 (22:35 +0000)]
mempool -> init the mempool with calloc. we cannot know for sure the
mempool backend inits all members, so make sure they are set to 0. not
a cost worth quibbling over. how many mempools do you really create
during the life of an app?

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@51548 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoagain -> shut cppcheck up.
raster [Sun, 22 Aug 2010 22:32:30 +0000 (22:32 +0000)]
again -> shut cppcheck up.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@51547 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoleak-- in win32 code.
raster [Sun, 22 Aug 2010 22:30:55 +0000 (22:30 +0000)]
leak-- in win32 code.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@51546 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agocppcheck doesn't like it if u dont first init all data before using
raster [Sun, 22 Aug 2010 22:29:25 +0000 (22:29 +0000)]
cppcheck doesn't like it if u dont first init all data before using
contents of that struct (minus the thing u are about to set)

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@51545 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago get the verbosity with the env variable CK_VERBOSITY. By default, nothing is changed.
caro [Sun, 22 Aug 2010 17:58:01 +0000 (17:58 +0000)]
  get the verbosity with the env variable CK_VERBOSITY. By default, nothing is changed.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@51535 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoon advice of vtorri <- revert until proven that limits.h works on
raster [Sun, 22 Aug 2010 06:00:13 +0000 (06:00 +0000)]
on advice of vtorri <- revert until proven that limits.h works on
these other os's.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@51512 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agooops - formatting at start too - not just end
raster [Sun, 22 Aug 2010 05:47:44 +0000 (05:47 +0000)]
oops - formatting at start too - not just end

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@51510 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agofmting
raster [Sun, 22 Aug 2010 02:32:47 +0000 (02:32 +0000)]
fmting

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@51507 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33