profile/ivi/eina.git
13 years agogeeze. get year right! spank
raster [Sat, 29 Jan 2011 13:24:22 +0000 (13:24 +0000)]
geeze. get year right! spank

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

13 years agoaaaah farg. forgot the changelogs. fix.
raster [Sat, 29 Jan 2011 03:54:33 +0000 (03:54 +0000)]
aaaah farg. forgot the changelogs. fix.

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

13 years agosvn goes to x.x.999.svnrev now. :)
raster [Sat, 29 Jan 2011 03:34:44 +0000 (03:34 +0000)]
svn goes to x.x.999.svnrev now. :)

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

13 years ago1.0 version magic. now leave these projects the hell alone in svn
raster [Sat, 29 Jan 2011 03:05:22 +0000 (03:05 +0000)]
1.0 version magic. now leave these projects the hell alone in svn
until we have branches.

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

13 years agoinglishicize some ducks
discomfitor [Fri, 28 Jan 2011 16:05:12 +0000 (16:05 +0000)]
inglishicize some ducks

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

13 years agoUnlock should be run *after* EINA_MAGIC_FAIL otherwise wrong info about the error...
tasn [Tue, 18 Jan 2011 08:34:14 +0000 (08:34 +0000)]
Unlock should be run *after* EINA_MAGIC_FAIL otherwise wrong info about the error will be printed, because unlock may modify d.

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

13 years agoput again eina tests in the source tree
caro [Sun, 16 Jan 2011 17:55:41 +0000 (17:55 +0000)]
put again eina tests in the source tree

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

13 years agowhy calloc (fill with 0's) then re-fill it again instantly.. except
raster [Sun, 16 Jan 2011 01:14:29 +0000 (01:14 +0000)]
why calloc (fill with 0's) then re-fill it again instantly.. except
the nul terminator? pointless. fix.

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

13 years agofix null deref again, this time with the power of spankies
discomfitor [Fri, 14 Jan 2011 08:04:23 +0000 (08:04 +0000)]
fix null deref again, this time with the power of spankies

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

13 years agowe null check right before this. seriously.
discomfitor [Fri, 14 Jan 2011 03:29:58 +0000 (03:29 +0000)]
we null check right before this.  seriously.

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

13 years agoif alloca fails you're screwed anyway, so not much point checking for it
discomfitor [Fri, 14 Jan 2011 03:28:27 +0000 (03:28 +0000)]
if alloca fails you're screwed anyway, so not much point checking for it

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

13 years agoand also avoid leak while avoiding
discomfitor [Fri, 14 Jan 2011 03:21:50 +0000 (03:21 +0000)]
and also avoid leak while avoiding

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

13 years agoavoid possible null function pointer
discomfitor [Fri, 14 Jan 2011 03:19:17 +0000 (03:19 +0000)]
avoid possible null function pointer

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

13 years agohve to revert these commits. they hve created a whole chunk of 64bit
raster [Fri, 7 Jan 2011 15:56:54 +0000 (15:56 +0000)]
hve to revert these commits. they hve created a whole chunk of 64bit
crashes on linux. this is REALLY bad. so remove these changes now.

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

13 years agouse configure-time headers checks instead of compiler ones
caro [Fri, 7 Jan 2011 06:28:17 +0000 (06:28 +0000)]
use configure-time headers checks instead of compiler ones

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

13 years agorevert non wanted changes
caro [Thu, 6 Jan 2011 18:26:40 +0000 (18:26 +0000)]
revert non wanted changes

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

13 years agomove AC_GNU_SOURCE before libtool init
caro [Thu, 6 Jan 2011 18:19:42 +0000 (18:19 +0000)]
move AC_GNU_SOURCE before libtool init

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

13 years agoadd guards in config.h to avoid multiple inclusions
caro [Thu, 6 Jan 2011 18:13:54 +0000 (18:13 +0000)]
add guards in config.h to avoid multiple inclusions

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

13 years agomake eina compile again on Windows CE
caro [Tue, 4 Jan 2011 18:09:22 +0000 (18:09 +0000)]
make eina compile again on Windows CE

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

13 years agobetter namespace
caro [Mon, 3 Jan 2011 07:16:01 +0000 (07:16 +0000)]
better namespace

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

13 years agoFixed documentation a bit.
tasn [Thu, 30 Dec 2010 07:51:26 +0000 (07:51 +0000)]
Fixed documentation a bit.

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

13 years agoHey,
discomfitor [Tue, 28 Dec 2010 13:22:12 +0000 (13:22 +0000)]
Hey,

below is a patch to delete mempools in eina_quadtree_shutdown() (i
currently can not commit).

Vincent

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

13 years agoremove eina tests
raster [Sun, 19 Dec 2010 03:05:58 +0000 (03:05 +0000)]
remove eina tests

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

13 years agoremove warning
caro [Thu, 16 Dec 2010 07:45:12 +0000 (07:45 +0000)]
remove warning

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

13 years agono long casts - just case to/from void * as needed. i dont see why we
raster [Thu, 16 Dec 2010 04:28:03 +0000 (04:28 +0000)]
no long casts - just case to/from void * as needed. i dont see why we
needed any uintptr_t or long there.

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

13 years ago * eina: some time compiler are really stupid...
cedric [Wed, 15 Dec 2010 11:56:50 +0000 (11:56 +0000)]
* eina: some time compiler are really stupid...

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

13 years ago * eina: fix typo.
cedric [Wed, 15 Dec 2010 11:14:47 +0000 (11:14 +0000)]
* eina: fix typo.

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

13 years ago * eina: also update ldflags instead of cflags.
cedric [Tue, 14 Dec 2010 16:20:48 +0000 (16:20 +0000)]
* eina: also update ldflags instead of cflags.

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

13 years agoadd eina_sched.c to the vcproj file
caro [Sun, 12 Dec 2010 22:42:20 +0000 (22:42 +0000)]
add eina_sched.c to the vcproj file

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

13 years agoupdate vcproj file
caro [Sat, 11 Dec 2010 13:13:10 +0000 (13:13 +0000)]
update vcproj file

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

13 years agodon't redefine macro when using Visual Studio
caro [Sat, 11 Dec 2010 13:11:59 +0000 (13:11 +0000)]
don't redefine macro when using Visual Studio

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

13 years agomissing cast
caro [Sat, 11 Dec 2010 07:09:07 +0000 (07:09 +0000)]
missing cast

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

13 years agowarning--
caro [Sat, 11 Dec 2010 07:02:25 +0000 (07:02 +0000)]
warning--

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

13 years agoformatting fixups.
raster [Sat, 11 Dec 2010 04:05:52 +0000 (04:05 +0000)]
formatting fixups.

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

13 years agofix void ptr math. odd that no warnings happened before with all my
raster [Sat, 11 Dec 2010 03:57:05 +0000 (03:57 +0000)]
fix void ptr math. odd that no warnings happened before with all my
warning flags on.

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

13 years agorevert part of commit - broke compilation. no uintptr_t in linux
raster [Sat, 11 Dec 2010 03:44:33 +0000 (03:44 +0000)]
revert part of commit - broke compilation. no uintptr_t in linux
yeaders by default - likely breaks even more.

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

13 years ago * make vc++ happy with ERR()
caro [Sat, 11 Dec 2010 00:45:26 +0000 (00:45 +0000)]
 * make vc++ happy with ERR()
 * use uintptr_t where needed.

Please someone check if the compilation is still good on linux (I'm on
Windows), to see if a header must be included for uintptr_t or not.

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

13 years agoupdate Visual Studio files
caro [Sat, 11 Dec 2010 00:42:29 +0000 (00:42 +0000)]
update Visual Studio files

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

13 years agowarning--
caro [Sat, 11 Dec 2010 00:41:31 +0000 (00:41 +0000)]
warning--

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

13 years agowarning--
caro [Sat, 11 Dec 2010 00:40:52 +0000 (00:40 +0000)]
warning--

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

13 years agowarning--
caro [Sat, 11 Dec 2010 00:40:05 +0000 (00:40 +0000)]
warning--

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

13 years agoput EINA_MAGIC at the end of the structure
caro [Sat, 11 Dec 2010 00:39:28 +0000 (00:39 +0000)]
put EINA_MAGIC at the end of the structure

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

13 years agoFix me as author
englebass [Fri, 10 Dec 2010 06:05:35 +0000 (06:05 +0000)]
Fix me as author

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

13 years agoUse EINA_PATH_MAX where it makes sense.
barbieri [Thu, 9 Dec 2010 10:14:11 +0000 (10:14 +0000)]
Use EINA_PATH_MAX where it makes sense.

All the access to Eina_File_Direct_Info::path should be using the
actual size (EINA_PATH_MAX) and not another constant (PATH_MAX).

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

13 years agoand if i'm breaking shit... i may as well put it at the end, so if
raster [Thu, 9 Dec 2010 02:55:08 +0000 (02:55 +0000)]
and if i'm breaking shit... i may as well put it at the end, so if
size changes later to be bigger, existing code doesnt break (due to
the way this is meant to be accessed).

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

13 years agook - make it 8192.
raster [Thu, 9 Dec 2010 02:46:11 +0000 (02:46 +0000)]
ok - make it 8192.

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

13 years agospottied a stabilty/portability bug with PATH_MAx inside a public
raster [Thu, 9 Dec 2010 01:29:52 +0000 (01:29 +0000)]
spottied a stabilty/portability bug with PATH_MAx inside a public
header. fix. see comments.

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

13 years ago * eina: forgotten link.
cedric [Wed, 8 Dec 2010 19:32:23 +0000 (19:32 +0000)]
* eina: forgotten link.

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

13 years agoFrom: Marco Trevisan (Treviño) <mail@3v1n0.net>
Marco Trevisan (Treviño) [Sun, 5 Dec 2010 03:14:03 +0000 (03:14 +0000)]
From: Marco Trevisan (Treviño) <mail@3v1n0.net>
Subject: [E-devel] [PATCH] eina share common check for node type

Hello, recentely I've been experiencing a lot of segfaults when running
an Elementary application which uses a genlist with some swallowed parts
in which I put some elm icons (png files).
When running it I often get crashes... Debugging it I found this:

=========
CRI<14207>: eina_share_common.c:561 _eina_share_common_node_from_str()
*** Eina Magic Check Failed !!!
    Input handle is wrong type
        Expected: 98761254 - Eina Stringshare Node
            Supplied: 6e657070 - (unknown)
            *** NAUGHTY PROGRAMMER!!!
            *** SPANK SPANK SPANK!!!
            *** Now go fix your code. Tut tut tut!

            //DEBUG: Node referencies 622869060 (slen: 1145307236)

            Program received signal SIGSEGV, Segmentation fault.
            eina_share_common_del (share=0x65c810, str=0x7ffff1219150
"5hhu %5hu '%
s'\n")
    at eina_share_common.c:858
    858        node->references--;
    =========

    So it seems that edje tries to delete an invalid eina_share_common
    string (is this a bug that should be fixed or is it
theme-dependent?),
and so the "node" pointer in eina share is not valid...

However eina never checks for its validity, so it seg-faults...
The attached patch fix this issue, setting the node to null when its
magic is not valid, and then always checking for its validity.

Is this fine?

Full stack trace:

#0  eina_share_common_del (share=0x65c810, str=0x7ffff1219150 "5hhu %5hu
'%s'\n")
    at eina_share_common.c:858
    #1  0x00007ffff120e047 in eina_stringshare_del (str=0x7ffff1219150
"5hhu
%5hu '%s'\n")
    at eina_stringshare.c:632
    #2  0x00007ffff1e1f7bc in _edje_text_recalc_apply (ed=0x95b900,
    ep=0x70c3a0,
        params=0x70c500, chosen_desc=<value optimized out>) at
        edje_text.c:556
        #3  0x00007ffff1de402d in _edje_part_recalc (ed=0x95b900,
ep=0x70c3a0,
flags=3)
    at edje_calc.c:2007
    #4  0x00007ffff1de4d86 in _edje_recalc_do (ed=0x95b900) at
    edje_calc.c:268
    #5  0x00007ffff1e25c7d in edje_object_part_swallow (obj=<value
optimized
out>,
    part=0x7fffe001484c "elm.swallow.icon", obj_swallow=0x7fffe0017860)
        at edje_util.c:2300
        #6  0x00007ffff1b5d5fc in _item_realize (it=0x7fffe0016ed0,
in=10,
calc=1)
    at elm_genlist.c:1489
    #7  0x00007ffff1b5db89 in _item_block_recalc (itb=0x95b6a0,
in=<value
optimized out>,
    qadd=<value optimized out>, norender=<value optimized out>) at
    elm_genlist.c:1609
    #8  0x00007ffff1b5e329 in _queue_proecess (wd=0x721b70,
norender=<value
optimized out>)
    at elm_genlist.c:2425
    #9  0x00007ffff1b5e567 in _item_queue (wd=0x721b70, it=<value
optimized
out>)
    at elm_genlist.c:2476
    #10 0x00007ffff1b5ead9 in elm_genlist_item_append (obj=<value
optimized
out>,
    itc=0x7ffff2977040, data=0x8fed90, parent=0x0,
    flags=ELM_GENLIST_ITEM_NONE,
        func=<value optimized out>, func_data=0x0) at elm_genlist.c:2528

        [eina-share-common-del-check-for-node.patch  text/x-patch
(1.2KB)]
Index: src/lib/eina_share_common.c
===================================================================
--- src/lib/eina_share_common.c(revisione 55018)
+++ src/lib/eina_share_common.c(copia locale)
@@ -558,7 +558,7 @@
    const size_t offset = offsetof(Eina_Share_Common_Node, str);

         node = (Eina_Share_Common_Node *)(str - offset);
         -   EINA_MAGIC_CHECK_SHARE_COMMON_NODE(node, node_magic, );
         +   EINA_MAGIC_CHECK_SHARE_COMMON_NODE(node, node_magic, node
= NULL);
    return node;

         (void) node_magic; /* When magic are disable, node_magic is
unused, this remove a warning. */
@@ -821,6 +821,7 @@

     SHARE_COMMON_LOCK_BIG();
         node = _eina_share_common_node_from_str(str,
share->node_magic);
+   if (!node) return str;
    node->references++;
        DBG("str=%p refs=%u", str, node->references);

         @@ -847,6 +848,9 @@
             SHARE_COMMON_LOCK_BIG();

                  node = _eina_share_common_node_from_str(str,
share->node_magic);
+   if (!node)
+      return;
+
    slen = node->length;
        eina_share_common_population_del(share, slen);
            if (node->references > 1)
            @@ -901,6 +905,7 @@
                   return -1;

                        node = _eina_share_common_node_from_str(str,
share->node_magic);
+   if (!node) return 0;
    return node->length;
     }

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

13 years ago * eina,eet,embryo,evas,ecore,edje,efreet,e_dbus,eeze: beta3 !
cedric [Sat, 4 Dec 2010 00:50:58 +0000 (00:50 +0000)]
* eina,eet,embryo,evas,ecore,edje,efreet,e_dbus,eeze: beta3 !

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

13 years ago * eina: forgotten file.
cedric [Sat, 4 Dec 2010 00:46:01 +0000 (00:46 +0000)]
* eina: forgotten file.

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

13 years ago * eina: define PATH_MAX when needed.
cedric [Fri, 3 Dec 2010 23:04:26 +0000 (23:04 +0000)]
* eina: define PATH_MAX when needed.

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

13 years ago * eina: don't fail if we didn't enable thread support completly.
cedric [Fri, 3 Dec 2010 21:50:50 +0000 (21:50 +0000)]
* eina: don't fail if we didn't enable thread support completly.

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

13 years ago * eina: fix typos.
cedric [Fri, 3 Dec 2010 18:46:49 +0000 (18:46 +0000)]
* eina: fix typos.

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

13 years ago * eina: fix typo.
cedric [Fri, 3 Dec 2010 18:12:19 +0000 (18:12 +0000)]
* eina: fix typo.

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

13 years ago * eina: add forgotten header.
cedric [Fri, 3 Dec 2010 18:02:51 +0000 (18:02 +0000)]
* eina: add forgotten header.

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

13 years ago * eina: fix gettimeofday usage.
cedric [Fri, 3 Dec 2010 16:30:26 +0000 (16:30 +0000)]
* eina: fix gettimeofday usage.

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

13 years ago * eina: we don't plan to provide ABI compatibility until 1.0.
cedric [Mon, 29 Nov 2010 23:16:19 +0000 (23:16 +0000)]
* eina: we don't plan to provide ABI compatibility until 1.0.

This kind of trick are for after 1.0, if you really need you can
just pick that patch.

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

13 years agocloses ticket 634
discomfitor [Mon, 29 Nov 2010 23:14:35 +0000 (23:14 +0000)]
closes ticket 634

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

13 years ago * eina, eet: fix coverage generation with newer lcov.
cedric [Mon, 29 Nov 2010 18:40:26 +0000 (18:40 +0000)]
* eina, eet: fix coverage generation with newer lcov.

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

13 years ago * eina: eina_array_clean should be inlined from the beginning.
cedric [Mon, 29 Nov 2010 18:32:30 +0000 (18:32 +0000)]
* eina: eina_array_clean should be inlined from the beginning.

NOTE: to prevent ABI break, I added the old symbol in eina_abi.c.
So binary/library using eina_array_clean should continue to work
without any problem.

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

13 years agoeina_array_data_set can receives null to unset
helen [Thu, 25 Nov 2010 19:38:45 +0000 (19:38 +0000)]
eina_array_data_set can receives null to unset

Passing null to the second parameter is the only way to unset the data,
so it should not have EINA_ARG_NONNULL to the data parameter

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

13 years agoMissing include in eina_inlist.c
helen [Thu, 25 Nov 2010 19:00:59 +0000 (19:00 +0000)]
Missing include in eina_inlist.c

Including eina_log.h in eina_inlist.c
Removing warning:
        warning: implicit declaration of function ‘EINA_LOG_ERR’
If you do not include it, and compile eina with safety checks disabled,
Evas and Elementary will not find the EINA_LOG_ERR symbol when
compiling

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

13 years agowhitespace --
caro [Tue, 23 Nov 2010 07:38:46 +0000 (07:38 +0000)]
whitespace --

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

13 years agoFrom: P Purkayastha <ppurka@gmail.com>
P Purkayastha [Tue, 23 Nov 2010 07:05:43 +0000 (07:05 +0000)]
From: P Purkayastha <ppurka@gmail.com>
Subject: Re: [e-users] eina: sandbox violation on emerge

On 11/21/2010 12:14 AM, P Purkayastha wrote:
> Hi,
> it seems eina is triggering a sandbox violation on emerge. Essentially
> it tries to remove a file present in / while installing. Seems to be
> something new added in revision r54731:
>
http://trac.enlightenment.org/e/changeset/54731/trunk/eina/src/modules/mp
> The build log is attached.

Replacing the $(controllerdir) with $(DESTDIR)$(controllerdir) makes
portage happy, and the installation succeeds:

cd "$S/src/modules/mp"
find . -name Makefile.am -exec sed -i -e '/rm -f
\$(controllerdir)/s/\$/\$(DESTDIR)\$/' {} \;

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

13 years ago * eina: make -C doesn't exist on OpenBSD.
cedric [Sun, 21 Nov 2010 11:03:53 +0000 (11:03 +0000)]
* eina: make -C doesn't exist on OpenBSD.

        Patch from the OpenBSD team :
              Fabien Romano <fabien@openbsd.org>
              Jonathan Armani <armani@opensbd.org>

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

13 years ago * eina: forgotten benchmark file.
cedric [Sun, 21 Nov 2010 10:58:57 +0000 (10:58 +0000)]
* eina: forgotten benchmark file.

Thanks to the OpenBSD team :
              Fabien Romano <fabien@openbsd.org>
              Jonathan Armani <armani@opensbd.org>

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

13 years ago * eina: use available mempool.
cedric [Sun, 21 Nov 2010 10:54:26 +0000 (10:54 +0000)]
* eina: use available mempool.

Patch from the OpenBSD team :
      Fabien Romano <fabien@openbsd.org>
      Jonathan Armani <armani@opensbd.org>

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

13 years ago * eina: fix pthread library and flags typos.
cedric [Sat, 20 Nov 2010 22:14:57 +0000 (22:14 +0000)]
* eina: fix pthread library and flags typos.

Patch by Fabien Romano <fabien@openbsd.org>.

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

13 years ago remove useless .la file
caro [Sat, 20 Nov 2010 00:03:55 +0000 (00:03 +0000)]
  remove useless .la file

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

13 years agomore descriptive error message for inlist_remove when item is not an inlist
discomfitor [Fri, 19 Nov 2010 05:43:28 +0000 (05:43 +0000)]
more descriptive error message for inlist_remove when item is not an inlist

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

13 years agofix compile warnings without using private functions
discomfitor [Tue, 16 Nov 2010 03:04:55 +0000 (03:04 +0000)]
fix compile warnings without using private functions

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

13 years agofix some compile warnings
discomfitor [Mon, 15 Nov 2010 19:42:00 +0000 (19:42 +0000)]
fix some compile warnings

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

13 years ago * efl: beta2 !
cedric [Fri, 12 Nov 2010 16:01:55 +0000 (16:01 +0000)]
* efl: beta2 !

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

13 years ago * eina: little doxy fix.
cedric [Wed, 10 Nov 2010 10:54:53 +0000 (10:54 +0000)]
* eina: little doxy fix.

Thanks to kuri <kuri@paranoia.abuser.eu>

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

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