profile/ivi/ecore.git
14 years agoChecking init count before actually freeing ecore evases.
ulisses [Wed, 24 Feb 2010 22:48:55 +0000 (22:48 +0000)]
Checking init count before actually freeing ecore evases.

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

14 years agoFix fd_handlers when using recursive main loops.
barbieri [Wed, 24 Feb 2010 20:59:44 +0000 (20:59 +0000)]
Fix fd_handlers when using recursive main loops.

If an fd_handler created a recursive main loop (just called
ecore_main_loop_begin()), then this recursive main loop should
continue to process fd_handlers from there and on, thus
fd_handler_current (and win32_handler_current) was added. When going
back from recursion, the current iterator should be updated properly.

This patch also fixes the deletion of fd_handler from recursive main
loops by reference counting them. This way, the node will not be
free()d inside inner loop cleanups and then crash when going back to
outer loop.

PS: win32 code is untested (or even compiled).

The following test case used to crash but not anymore:

#include <Ecore.h>
#include <Eina.h>
#include <unistd.h>

static int _log_dom;
#define INF(...) EINA_LOG_DOM_INFO(_log_dom, __VA_ARGS__)
#define ERR(...) EINA_LOG_DOM_ERR(_log_dom, __VA_ARGS__)

static Ecore_Fd_Handler *handle;
static int a[2], b[2];

static int cb2(void *data, Ecore_Fd_Handler *h)
{
    INF("cb2 - delete cb1 handle");
    ecore_main_fd_handler_del(handle);
    ecore_main_loop_quit(); /* quits inner main loop */
    return 0;
}

static int cb1(void *data, Ecore_Fd_Handler *h)
{
    unsigned char ch = 222;

    INF("cb1: begin");
    INF("    add cb2");
    ecore_main_fd_handler_add(b[0], ECORE_FD_READ, cb2, NULL, NULL, NULL);
    INF("    wake up pipe b");
    if (write(b[1], &ch, 1) != 1)
        ERR("could not write to pipe b");
    INF("    inner main loop begin (recurse)");
    ecore_main_loop_begin(); /* will it crash due
                              * ecore_main_fd_handler_del(handle)
                              * inside cb2()? It used to!
                              */
    INF("cb1: end");

    ecore_main_loop_quit(); /* quits outer main loop */

    return 0;
}

int main(void)
{
    unsigned char ch = 111;

    ecore_init();

    _log_dom = eina_log_domain_register("test", EINA_COLOR_CYAN);
    pipe(a);
    pipe(b);

    /*
     * Creating a new main loop from inside an fd_handler callback,
     * and inside this new (inner) main loop deleting the caller
     * callback used to crash since the handle would be effectively
     * free()d, but when the recursion is over the pointer would be
     * used.
     */

    INF("main: begin");
    handle = ecore_main_fd_handler_add
        (a[0], ECORE_FD_READ, cb1, NULL, NULL, NULL);
    INF("main: wake up pipe a");
    if (write(a[1], &ch, 1) != 1)
        ERR("could not write to pipe a");
    ecore_main_loop_begin();
    INF("main: end");
    return 0;
}

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

14 years agofix declaration of struct addrinfo
caro [Wed, 24 Feb 2010 17:52:54 +0000 (17:52 +0000)]
fix declaration of struct addrinfo

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

14 years ago-n - not -z!
raster [Wed, 24 Feb 2010 07:35:32 +0000 (07:35 +0000)]
-n - not -z!

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

14 years agosome roundtrips--
raster [Wed, 24 Feb 2010 04:36:22 +0000 (04:36 +0000)]
some roundtrips--

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

14 years agoFix events when using recursive main loops.
barbieri [Wed, 24 Feb 2010 02:30:27 +0000 (02:30 +0000)]
Fix events when using recursive main loops.

If an event handler/filter created a recursive main loop (just called
ecore_main_loop_begin()), then this recursive main loop should
continue to process events/handlers/filters from there and on, thus
event_current/event_filter_current/event_handler_current were
added. When going back from recursion, the current iterator should be
updated properly.

The following test case used to crash but not anymore:

#include <Ecore.h>
#include <Eina.h>

static int _log_dom;
#define INF(...) EINA_LOG_DOM_INFO(_log_dom, __VA_ARGS__)

static Ecore_Event_Handler *handle;

static int cb2(void *data, int type, void *event)
{
    INF("cb2 - delete cb1 handle");
    ecore_event_handler_del(handle);
    ecore_main_loop_quit(); /* quits inner main loop */
    return 0;
}

static int cb1(void *data, int type, void *event)
{
    Ecore_Event *e;

    INF("cb1: begin");
    INF("    add cb2");

    type = ecore_event_type_new();
    ecore_event_handler_add(type, cb2, NULL);
    e = ecore_event_add(type, NULL, NULL, NULL);
    INF("    add event to trigger cb2: event=%p", e);
    INF("    inner main loop begin (recurse)");
    ecore_main_loop_begin(); /* will it crash due
                              * ecore_event_handler_del(handle) inside
                              * cb2()? It used to!
                              */
    INF("cb1: end");

    ecore_main_loop_quit(); /* quits outer main loop */

    return 0;
}

int main(void)
{
    Ecore_Event *e;
    int type;

    ecore_init();

    _log_dom = eina_log_domain_register("test", EINA_COLOR_CYAN);

    /*
     * Creating a new main loop from inside an event callback, and inside
     * this new (inner) main loop deleting the caller callback used to
     * crash since the handle would be effectively free()d, but when the
     * recursion is over the pointer would be used.
     */

    type = ecore_event_type_new();

    INF("main: begin");
    handle = ecore_event_handler_add(type, cb1, NULL);
    e = ecore_event_add(type, NULL, NULL, NULL);
    INF("    add event to trigger cb1: event=%p", e);
    INF("    main loop begin");
    ecore_main_loop_begin();
    INF("main: end");
    return 0;
}

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

14 years agoevents (also filters and handlers) now have reference counting.
barbieri [Wed, 24 Feb 2010 01:16:00 +0000 (01:16 +0000)]
events (also filters and handlers) now have reference counting.

Add reference counting to events, event filters and event handlers so
they can recurse main loops.

Note that the required "continuation" when entering main loops is not
there, thus recursion will restart and this will fail badly in lots of
cases. This should be fixed in future commits.

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

14 years agorewrite ecore_timer internals to make it simpler and do better with
barbieri [Wed, 24 Feb 2010 00:27:04 +0000 (00:27 +0000)]
rewrite ecore_timer internals to make it simpler and do better with
recursive main loops.

Unlike idlers, timers seems to work reasonably well with main loops, I
*think* they might fail since it used a boolean to flag running as
opposed to a reference count with incremental increments/decrements. I
could not write a test case to demonstrate so.

The now code should be simpler, particularly the
_ecore_timer_call(). It will also consider the previous position when
entering recursive main loops, preserving the order.

Deletion of timers are delegated to ecore_main.c, that was already
calling _ecore_timer_cleanup() after timers were executed.

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

14 years agoActually send the events wrt randr changes.
devilhorns [Tue, 23 Feb 2010 23:32:30 +0000 (23:32 +0000)]
Actually send the events wrt randr changes.

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

14 years agomove bitfield booleans to Eina_Bool.
barbieri [Tue, 23 Feb 2010 22:49:15 +0000 (22:49 +0000)]
move bitfield booleans to Eina_Bool.

using one bit with integers will just have room for 0 and -1, not 0 and 1.

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

14 years agoFix idle_exiters when using recursive main loops.
barbieri [Tue, 23 Feb 2010 22:25:35 +0000 (22:25 +0000)]
Fix idle_exiters when using recursive main loops.

If an idle_exiter created a recursive main loop (just called
ecore_main_loop_begin()), then this recursive main loop should
continue to process idle_exiters from there and on, thus
idle_exiter_current was added. When going back from recursion, the
current iterator should be updated properly.

This patch also fixes the deletion of idle_exiters from recursive
main loops by reference counting them. This way, the node will not be
free()d inside inner loop cleanups and then crash when going back to
outer loop.

The following test case used to crash but not anymore:

#include <Ecore.h>
#include <Eina.h>

static int _log_dom;
#define INF(...) EINA_LOG_DOM_INFO(_log_dom, __VA_ARGS__)

static Ecore_Idle_Exiter *handle;

static int idler(void *data)
{
    INF("idler");
    return 1;
}

static int timer(void *data)
{
    INF("timer (exited idle!)");
    return 0;
}

static int exit_idle(void *data)
{
    INF("add request (timer) to exit idle");
    ecore_timer_add(0.0, timer, NULL);
    return 0;
}

static int cb2(void *data)
{
    INF("cb2 - delete cb1 handle");
    ecore_idle_exiter_del(handle);
    ecore_main_loop_quit(); /* quits inner main loop */
    return 0;
}

static int cb1(void *data)
{
    INF("cb1: begin");
    INF("    add cb2");
    ecore_idle_exiter_add(cb2, NULL);
    INF("    add exit idler");
    ecore_idler_add(exit_idle, NULL);
    INF("    inner main loop begin (recurse)");
    ecore_main_loop_begin(); /* will it crash due ecore_idle_exiter_del(handle)
                              * inside cb2()? It used to!
                              */
    INF("cb1: end");

    ecore_main_loop_quit(); /* quits outer main loop */

    return 0;
}

int main(void)
{
    ecore_init();

    _log_dom = eina_log_domain_register("test", EINA_COLOR_CYAN);

    /*
     * Creating a new main loop from inside an idle_exiter callback,
     * and inside this new (inner) main loop deleting the caller
     * callback used to crash since the handle would be effectively
     * free()d, but when the recursion is over the pointer would be
     * used.
     */

    INF("main: begin");
    handle = ecore_idle_exiter_add(cb1, NULL);
    ecore_idler_add(idler, NULL);
    ecore_idler_add(exit_idle, NULL);
    ecore_main_loop_begin();
    INF("main: end");
    return 0;
}

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

14 years agoFix idle_enterers when using recursive main loops.
barbieri [Tue, 23 Feb 2010 22:13:42 +0000 (22:13 +0000)]
Fix idle_enterers when using recursive main loops.

If an idle_enterer created a recursive main loop (just called
ecore_main_loop_begin()), then this recursive main loop should
continue to process idle_enterers from there and on, thus
idle_enterer_current was added. When going back from recursion, the
current iterator should be updated properly.

This patch also fixes the deletion of idle_enterers from recursive
main loops by reference counting them. This way, the node will not be
free()d inside inner loop cleanups and then crash when going back to
outer loop.

The following test case used to crash but not anymore:

#include <Ecore.h>
#include <Eina.h>

static int _log_dom;
#define INF(...) EINA_LOG_DOM_INFO(_log_dom, __VA_ARGS__)

static Ecore_Idle_Enterer *handle;

static int idler(void *data)
{
    INF("idler");
    return 1;
}

static int cb2(void *data)
{
    INF("cb2 - delete cb1 handle");
    ecore_idle_enterer_del(handle);
    ecore_main_loop_quit(); /* quits inner main loop */
    return 0;
}

static int cb1(void *data)
{
    INF("cb1: begin");
    INF("    add cb2");
    ecore_idle_enterer_add(cb2, NULL);
    INF("    inner main loop begin (recurse)");
    ecore_main_loop_begin(); /* will it crash due ecore_idle_enterer_del(handle)
                              * inside cb2()? It used to!
                              */
    INF("cb1: end");

    ecore_main_loop_quit(); /* quits outer main loop */

    return 0;
}

int main(void)
{
    ecore_init();

    _log_dom = eina_log_domain_register("test", EINA_COLOR_CYAN);

    /*
     * Creating a new main loop from inside an idle_enterer callback,
     * and inside this new (inner) main loop deleting the caller
     * callback used to crash since the handle would be effectively
     * free()d, but when the recursion is over the pointer would be
     * used.
     */

    INF("main: begin");
    handle = ecore_idle_enterer_add(cb1, NULL);
    ecore_idler_add(idler, NULL);
    ecore_main_loop_begin();
    INF("main: end");
    return 0;
}

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

14 years agoFix idlers when using recursive main loops.
barbieri [Tue, 23 Feb 2010 21:27:04 +0000 (21:27 +0000)]
Fix idlers when using recursive main loops.

If an idler created a recursive main loop (just called
ecore_main_loop_begin()), then this recursive main loop should
continue to process idlers from there and on, thus idler_current was
added. When going back from recursion, the current iterator should be
updated properly.

This patch also fixes the deletion of idlers from recursive main loops
by reference counting them. This way, the node will not be free()d
inside inner loop cleanups and then crash when going back to outer
loop.

The following test case used to crash but not anymore:

#include <Ecore.h>
#include <Eina.h>

static int _log_dom;
#define INF(...) EINA_LOG_DOM_INFO(_log_dom, __VA_ARGS__)

static Ecore_Idler *handle;

static int idler(void *data)
{
    INF("idler");
    return 1;
}

static int cb2(void *data)
{
    INF("cb2 - delete cb1 handle");
    ecore_idler_del(handle);
    ecore_main_loop_quit(); /* quits inner main loop */
    return 0;
}

static int cb1(void *data)
{
    INF("cb1: begin");
    INF("    add cb2");
    ecore_idler_add(cb2, NULL);
    INF("    inner main loop begin (recurse)");
    ecore_main_loop_begin(); /* will it crash due ecore_idler_del(handle)
                              * inside cb2()? It used to!
                              */
    INF("cb1: end");

    ecore_main_loop_quit(); /* quits outer main loop */

    return 0;
}

int main(void)
{
    ecore_init();

    _log_dom = eina_log_domain_register("test", EINA_COLOR_CYAN);

    /*
     * Creating a new main loop from inside an idler callback, and inside
     * this new (inner) main loop deleting the caller callback used to
     * crash since the handle would be effectively free()d, but when the
     * recursion is over the pointer would be used.
     */

    INF("main: begin");
    handle = ecore_idler_add(cb1, NULL);
    ecore_idler_add(idler, NULL);
    ecore_main_loop_begin();
    INF("main: end");
    return 0;
}

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

14 years agoFix the bug of the first timer being added from idler.
barbieri [Tue, 23 Feb 2010 21:04:38 +0000 (21:04 +0000)]
Fix the bug of the first timer being added from idler.

We should start doing unit-test for ecore, accumulating these
problems. Follows the test case:

#include <Ecore.h>
#include <Eina.h>

static int _log_dom;
#define INF(...) EINA_LOG_DOM_INFO(_log_dom, __VA_ARGS__)

static int quiter(void *data)
{
    INF("quit!");
    ecore_main_loop_quit();
    return 1;
}

static int idler(void *data)
{
    INF("idler");
    return 1;
}

static int cb1(void *data)
{
    INF("cb1");
    ecore_timer_add(0.0, quiter, NULL);

    return 0;
}

int main(void)
{
    ecore_init();

    _log_dom = eina_log_domain_register("test", EINA_COLOR_CYAN);

    /*
     * Create a main loop with just idlers, there is a special case
     * for just idlers without timers in ecore.
     *
     * From idler, add a timer that quits the application. It should
     * always quit.
     *
     * If it does not quit, then there is a bug of new timers not
     * being immediately detected and system never exits idle.
     */

    INF("main: begin");
    ecore_idler_add(cb1, NULL);
    ecore_idler_add(idler, NULL);
    ecore_main_loop_begin();
    INF("main: end");
    return 0;
}

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

14 years agoAdd atoms/functions for keyboard geometry. This will be used w/ conformant
devilhorns [Tue, 23 Feb 2010 20:53:34 +0000 (20:53 +0000)]
Add atoms/functions for keyboard geometry. This will be used w/ conformant
apps to notify them of keyboard changes so they can move widgets around,
etc, etc.

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

14 years agonever use macro defined by configure in an exported header
caro [Tue, 23 Feb 2010 13:11:54 +0000 (13:11 +0000)]
never use macro defined by configure in an exported header

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

14 years agofix my coding style errors...
barbieri [Mon, 22 Feb 2010 20:09:44 +0000 (20:09 +0000)]
fix my coding style errors...

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

14 years agofix ecore-glib reentrance
barbieri [Mon, 22 Feb 2010 20:09:03 +0000 (20:09 +0000)]
fix ecore-glib reentrance

if using ecore_main_loop_begin() multiple times (reentrant/recursive)
with glib doing threads, then it would deadlock since the same thread
would get the lock it already have.

multiple ecore_main_loop_begin() is required to implement WebKit's
alert/confirm/prompt dialogs since there is no async reply with
callbacks, rather one must return the value.

By: Lucas de Marchi

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

14 years agoReadd zone_list functions and atoms. (Needed for some elm apps like
devilhorns [Mon, 22 Feb 2010 17:12:24 +0000 (17:12 +0000)]
Readd zone_list functions and atoms. (Needed for some elm apps like
elm_indicator & elm_softkey).

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

14 years agoeven tho its going to be killed... fix it anyway.
raster [Mon, 22 Feb 2010 08:08:04 +0000 (08:08 +0000)]
even tho its going to be killed... fix it anyway.

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

14 years ago * instead of including headers wrt to the OS, include them if
caro [Sat, 20 Feb 2010 19:12:52 +0000 (19:12 +0000)]
 * instead of including headers wrt to the OS, include them if
   they are available
 * compilation on Windows XP minimum only

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

14 years agoFirst steps towards the Windows port of ecore_con.
caro [Sat, 20 Feb 2010 18:01:50 +0000 (18:01 +0000)]
First steps towards the Windows port of ecore_con.
ecore_con_dns will be hard to port (fork+exec).

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

14 years agoOn Windows, ecore_exe_auto_limits_set() does nothing
caro [Sat, 20 Feb 2010 09:35:48 +0000 (09:35 +0000)]
On Windows, ecore_exe_auto_limits_set() does nothing

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

14 years agoWindows: Add priority support when a child process is created
caro [Sat, 20 Feb 2010 09:20:04 +0000 (09:20 +0000)]
Windows: Add priority support when a child process is created
and add documentation for that.

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

14 years agoimprovements of the stderr and stdout redirections. There are
caro [Fri, 19 Feb 2010 19:23:47 +0000 (19:23 +0000)]
improvements of the stderr and stdout redirections. There are
still lots of work to be done:

 * allow several redirections (only one for now...)
 * fix stdin redirection
 * fill empty functions

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

14 years agorfiddling wiht lop to try and get rid of pauses. i think i found it... plus a
raster [Fri, 19 Feb 2010 08:00:44 +0000 (08:00 +0000)]
rfiddling wiht lop to try and get rid of pauses. i think i found it... plus a
bit of streamlining. need to test more widely now.

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

14 years agoEcore_X changes for new illume2 code.
devilhorns [Fri, 19 Feb 2010 02:27:18 +0000 (02:27 +0000)]
Ecore_X changes for new illume2 code.

NB: This will break current PROTO/elm_* apps for illume2. They will be fixed
up shortly.

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

14 years agoaaaah bummer. (see comment)
raster [Wed, 17 Feb 2010 08:13:30 +0000 (08:13 +0000)]
aaaah bummer. (see comment)

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

14 years agoand put those back too.
raster [Wed, 17 Feb 2010 05:05:56 +0000 (05:05 +0000)]
and put those back too.

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

14 years agokeep building ecore_txt for now - breaks packaging and more with no warning.
raster [Wed, 17 Feb 2010 05:02:40 +0000 (05:02 +0000)]
keep building ecore_txt for now - breaks packaging and more with no warning.

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

14 years agohmmmm try this. let me know if u see issues.
raster [Tue, 16 Feb 2010 16:52:02 +0000 (16:52 +0000)]
hmmmm try this. let me know if u see issues.

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

14 years agoecore_x does not use ecore_txt functions anymore, so remove the
caro [Tue, 16 Feb 2010 13:14:07 +0000 (13:14 +0000)]
ecore_x does not use ecore_txt functions anymore, so remove the
dependency on ecore_txt. I disable ecore_txt by default too

I can't test it (i'm on Windows). If you experience errors during
the build, please reply in this thread.

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

14 years agoUpdate to new event callback signature.
barbieri [Tue, 16 Feb 2010 13:00:11 +0000 (13:00 +0000)]
Update to new event callback signature.

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

14 years ago1. if software-x11 not enabled.. still build... but.....
raster [Tue, 16 Feb 2010 01:27:25 +0000 (01:27 +0000)]
1. if software-x11 not enabled.. still build... but.....
2. ecore-txt is a REQUIREMENT FOR ECORE-X! DONT DISABLE!

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

14 years agoMake ecore_data enabled or disabled with configure.
caro [Mon, 15 Feb 2010 20:29:38 +0000 (20:29 +0000)]
Make ecore_data enabled or disabled with configure.
This will help me for the opensolaris port... (btw
inlined functions should not be in ecore_list source
code but in its header, for those who want to fix that)

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

14 years agoDisable ecore_txt by default
englebass [Mon, 15 Feb 2010 19:55:46 +0000 (19:55 +0000)]
Disable ecore_txt by default

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

14 years agodon't link ecore_txt against eina
caro [Mon, 15 Feb 2010 19:54:59 +0000 (19:54 +0000)]
don't link ecore_txt against eina

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

14 years agoReorganize code a little here to remove duplication. No function changes
devilhorns [Mon, 15 Feb 2010 07:23:58 +0000 (07:23 +0000)]
Reorganize code a little here to remove duplication. No function changes
(and no issues found when tested).

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

14 years agobe more robust when gtl creation fails - return a null ee.
raster [Mon, 15 Feb 2010 05:26:42 +0000 (05:26 +0000)]
be more robust when gtl creation fails - return a null ee.

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

14 years agochange gl engine api a little - fixed in ecore-evas and expedite. expose
raster [Mon, 15 Feb 2010 05:05:05 +0000 (05:05 +0000)]
change gl engine api a little - fixed in ecore-evas and expedite. expose
indirect option in ecore-evas with a new opt param for gl engines - will add
more opts over time.

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

14 years agodont return unknown!
raster [Sun, 14 Feb 2010 08:15:49 +0000 (08:15 +0000)]
dont return unknown!

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

14 years agolittle shim - disabled, but can be used in future to hunt down round-trips.
raster [Sat, 13 Feb 2010 13:32:21 +0000 (13:32 +0000)]
little shim - disabled, but can be used in future to hunt down round-trips.

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

14 years agodont need that xsync.
raster [Sat, 13 Feb 2010 11:37:57 +0000 (11:37 +0000)]
dont need that xsync.

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

14 years agoFrom: 이상진 <lsj119@samsung.com>
raster [Fri, 12 Feb 2010 05:31:26 +0000 (05:31 +0000)]
From: 이상진 <lsj119@samsung.com>

I am attaching another patches for transparent window.

1. Use RGB Visual.
2. Set destination_alpha in ecore_evas for alpha composite in evas.
3. add Function
   - Ecore_Evas_Engine_Func->fn_transparent_set
   - ecore_evas_transparent_set , ecore_evas_transparent_get
   - elm_win_transparent_set, elm_win_transparent_get

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

14 years agoadd return for get image for result.
raster [Thu, 11 Feb 2010 08:05:39 +0000 (08:05 +0000)]
add return for get image for result.

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

14 years agoCleanup configure output a bit.
devilhorns [Thu, 11 Feb 2010 04:17:15 +0000 (04:17 +0000)]
Cleanup configure output a bit.

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

14 years agoFrom: 이상진 <lsj119@samsung.com>
raster [Wed, 10 Feb 2010 14:35:07 +0000 (14:35 +0000)]
From: 이상진 <lsj119@samsung.com>

Patch for rotate with resize

(fixed formatting a bit)

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

14 years agoNo need to include sys/types twice.
devilhorns [Sat, 6 Feb 2010 22:14:32 +0000 (22:14 +0000)]
No need to include sys/types twice.

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

14 years agofix ecore_input shutdown
caro [Sat, 6 Feb 2010 10:13:41 +0000 (10:13 +0000)]
fix ecore_input shutdown

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

14 years agosupport for explicit disable of ecore-x extensions and tslib.
barbieri [Sat, 6 Feb 2010 00:19:46 +0000 (00:19 +0000)]
support for explicit disable of ecore-x extensions and tslib.

Avoid automagic detecting extensions such as Xprint, Xdamage and
friends, as well as for tslib if ecore-fb is in use.

This should help build systems avoid linkage with those even if they
are present when Ecore is built.

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

14 years agouseless linker flag
caro [Thu, 4 Feb 2010 20:48:56 +0000 (20:48 +0000)]
useless linker flag

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

14 years agofix ecore_con on posix systems
billiob [Thu, 4 Feb 2010 10:34:08 +0000 (10:34 +0000)]
fix ecore_con on posix systems

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

14 years agofix link stuff pkgconfg etc. for ecore-data!
raster [Thu, 4 Feb 2010 02:14:56 +0000 (02:14 +0000)]
fix link stuff pkgconfg etc. for ecore-data!

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

14 years agobetter linking - right c files tomatch headers etc.
raster [Thu, 4 Feb 2010 01:25:30 +0000 (01:25 +0000)]
better linking - right c files tomatch headers etc.

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

14 years ago * ecore_evas_x: Fix build without X.
cedric [Wed, 3 Feb 2010 16:05:25 +0000 (16:05 +0000)]
* ecore_evas_x: Fix build without X.

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

14 years agoaaaah. i smell another broken wm out there that only handles wm_delete as the
raster [Wed, 3 Feb 2010 03:20:22 +0000 (03:20 +0000)]
aaaah. i smell another broken wm out there that only handles wm_delete as the
first wm_protocols property. BAD WM! (its not e17 - thats for sure)

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

14 years agowtf was that. of course it should be False!!!!
raster [Tue, 2 Feb 2010 09:06:14 +0000 (09:06 +0000)]
wtf was that. of course it should be False!!!!

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

14 years agoRemove Ecore_Txt
englebass [Tue, 2 Feb 2010 04:50:04 +0000 (04:50 +0000)]
Remove Ecore_Txt

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

14 years agoInstall ecore-data.pc
englebass [Mon, 1 Feb 2010 20:37:41 +0000 (20:37 +0000)]
Install ecore-data.pc

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

14 years agoMore ecore_data to separate lib
englebass [Mon, 1 Feb 2010 20:20:06 +0000 (20:20 +0000)]
More ecore_data to separate lib

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

14 years agomore work on the sync stuff... looking good now.
raster [Mon, 1 Feb 2010 14:13:48 +0000 (14:13 +0000)]
more work on the sync stuff... looking good now.

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

14 years ago * ecore_con: Fix ecore_con_client_ip_get with TCP and IPv6.
cedric [Sun, 31 Jan 2010 11:58:37 +0000 (11:58 +0000)]
* ecore_con: Fix ecore_con_client_ip_get with TCP and IPv6.

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

14 years agoFix: ecore_x_window_del() was renamed to ecore_x_window_free() on r39918.
dieb [Sat, 30 Jan 2010 17:47:59 +0000 (17:47 +0000)]
Fix: ecore_x_window_del() was renamed to ecore_x_window_free() on r39918.

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

14 years agoadd some sync stuff.. wil be used soon
raster [Sat, 30 Jan 2010 10:42:22 +0000 (10:42 +0000)]
add some sync stuff.. wil be used soon

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

14 years agoAdd support for OpenGL SDL
xcomputerman [Sat, 30 Jan 2010 10:23:54 +0000 (10:23 +0000)]
Add support for OpenGL SDL

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

14 years agoThis closes bug #507
lmunch [Fri, 29 Jan 2010 11:42:26 +0000 (11:42 +0000)]
This closes bug #507

If e17 is compiled with tslib but during runtime the environment variable
TSLIB_TSDEVICE is not set, ecore will accidentally use the file descriptor 0
(probably stdin) for tslib.

The problem is that _ecore_fb_ts_fd is initialized to 0, which is BAD BAD BAD
for file descriptors. It should be initialized to -1. The attached patch fixes
this.

Thanks to John Ogness <john.ogness@linutronix.de> for bug report and fix

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

14 years agotypo fix!
raster [Fri, 29 Jan 2010 11:06:32 +0000 (11:06 +0000)]
typo fix!

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

14 years agoactually have call api exported
raster [Fri, 29 Jan 2010 10:29:51 +0000 (10:29 +0000)]
actually have call api exported

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

14 years agosay we do pings - and respond within the event handler.
raster [Fri, 29 Jan 2010 10:28:54 +0000 (10:28 +0000)]
say we do pings - and respond within the event handler.

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

14 years agoFree all handlers and silence spank errors when trying to free an unused handler.
lmunch [Thu, 28 Jan 2010 22:23:00 +0000 (22:23 +0000)]
Free all handlers and silence spank errors when trying to free an unused handler.

Thanks to Petr Stetiar for bug report and fix.

This closes #508

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

14 years agoSmall typo and whitespace fix
lmunch [Thu, 28 Jan 2010 16:07:33 +0000 (16:07 +0000)]
Small typo and whitespace fix

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

14 years agoFix client limit when reject excess clients is enabled
lmunch [Thu, 28 Jan 2010 16:05:34 +0000 (16:05 +0000)]
Fix client limit when reject excess clients is enabled

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

14 years ago * ecore_con: Fix UDP server when receiving both IPv4 and IPV6 packet.
cedric [Thu, 28 Jan 2010 15:35:29 +0000 (15:35 +0000)]
* ecore_con: Fix UDP server when receiving both IPv4 and IPV6 packet.

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

14 years agoswitch to eina_strlcpy
englebass [Wed, 27 Jan 2010 20:59:26 +0000 (20:59 +0000)]
switch to eina_strlcpy

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

14 years agobetter output
caro [Wed, 27 Jan 2010 19:48:11 +0000 (19:48 +0000)]
better output

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

14 years agomake animator happen AT a vierual animator tick point.
raster [Wed, 27 Jan 2010 03:51:46 +0000 (03:51 +0000)]
make animator happen AT a vierual animator tick point.

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

14 years agomissing header
caro [Tue, 26 Jan 2010 23:32:06 +0000 (23:32 +0000)]
missing header

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

14 years agofix ecore doc and python-elementary about ecore_job merge
billiob [Tue, 26 Jan 2010 23:16:56 +0000 (23:16 +0000)]
fix ecore doc and python-elementary about ecore_job merge

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

14 years agoRemove Ecore Data
englebass [Tue, 26 Jan 2010 22:22:14 +0000 (22:22 +0000)]
Remove Ecore Data

This requires ecore_imf_modules to change.

Substitute imf_module_init in modules with
EINA_MODULE_INIT(imf_module_init) and init Ecore_IMF_Context_Info here
and then register with ecore_imf with ecore_imf_module_register

Since it seems that there is no ecore_imf_modules in svn it is hard to
test this change.

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

14 years agoRemove Ecore_Data
englebass [Tue, 26 Jan 2010 21:08:13 +0000 (21:08 +0000)]
Remove Ecore_Data

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

14 years agoRemove Ecore_Data
englebass [Tue, 26 Jan 2010 21:07:53 +0000 (21:07 +0000)]
Remove Ecore_Data

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

14 years agoRemove Ecore_Data
englebass [Tue, 26 Jan 2010 20:42:49 +0000 (20:42 +0000)]
Remove Ecore_Data

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

14 years agoremove ecore_job directory.
barbieri [Tue, 26 Jan 2010 14:12:30 +0000 (14:12 +0000)]
remove ecore_job directory.

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

14 years agofix help of the configure.
caro [Tue, 26 Jan 2010 08:57:57 +0000 (08:57 +0000)]
fix help of the configure.

there is only --enable-*** options displayed, with no default value,
so if someone wants me to add them, please tell me (it's a bit of
work, though :p)

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

14 years ago * ecore: Move ecore_job inside ecore.
cedric [Mon, 25 Jan 2010 21:59:21 +0000 (21:59 +0000)]
* ecore: Move ecore_job inside ecore.

Patch from Albin "Lutin" Tonnerre <albin.tonnerre@gmail.com>.

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

14 years agoadd atoms+cursor includes to ecore_x.h - so much simpler for users. no need
raster [Sun, 24 Jan 2010 13:07:35 +0000 (13:07 +0000)]
add atoms+cursor includes to ecore_x.h - so much simpler for users. no need
to keep them separate.

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

14 years agoRemove duplicate function declaration.
devilhorns [Sun, 24 Jan 2010 11:44:38 +0000 (11:44 +0000)]
Remove duplicate function declaration.

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

14 years agouse pre-post swap callbacks and expose for gl
raster [Sun, 24 Jan 2010 11:01:39 +0000 (11:01 +0000)]
use pre-post swap callbacks and expose for gl

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

14 years agosaftery for strncpy
raster [Sun, 24 Jan 2010 02:23:43 +0000 (02:23 +0000)]
saftery for strncpy

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

14 years agoAdd atom/function to request a position update for quickpanel. Useful for
devilhorns [Fri, 22 Jan 2010 22:48:59 +0000 (22:48 +0000)]
Add atom/function to request a position update for quickpanel. Useful for
when indicator gets dragged around.

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

14 years agoAdded missing compose values for SDL key events
xcomputerman [Fri, 22 Jan 2010 22:26:42 +0000 (22:26 +0000)]
Added missing compose values for SDL key events

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

14 years agopid++ for evas gl x11 windows!
raster [Fri, 22 Jan 2010 11:15:58 +0000 (11:15 +0000)]
pid++ for evas gl x11 windows!

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

14 years agofix warnings
caro [Fri, 22 Jan 2010 07:03:04 +0000 (07:03 +0000)]
fix warnings
patch by Albin Tonnerre

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

14 years agoadd missing API ecore_x_xregion_is_equal()
caro [Fri, 22 Jan 2010 06:55:06 +0000 (06:55 +0000)]
add missing API ecore_x_xregion_is_equal()
patch by Albin Tonnerre

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

14 years agofix function name
caro [Fri, 22 Jan 2010 06:53:24 +0000 (06:53 +0000)]
fix function name
patch by Albin Tonnerre

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

14 years agoSDLK_COLON was reporting ";" instead of ":"
xcomputerman [Fri, 22 Jan 2010 01:12:22 +0000 (01:12 +0000)]
SDLK_COLON was reporting ";" instead of ":"

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

14 years agobetter readme based on trac/wiki description.
barbieri [Fri, 22 Jan 2010 00:18:22 +0000 (00:18 +0000)]
better readme based on trac/wiki description.

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

14 years agolink against xinput2
caro [Thu, 21 Jan 2010 09:56:49 +0000 (09:56 +0000)]
link against xinput2

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

14 years ago * ecore: Handle NULL in ecore_file_dir_get.
cedric [Wed, 20 Jan 2010 12:41:22 +0000 (12:41 +0000)]
* ecore: Handle NULL in ecore_file_dir_get.

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

14 years agomake genericevent ifdefed - obviously is too new. oddd - it's on ubuntu 9.04
raster [Wed, 20 Jan 2010 00:09:26 +0000 (00:09 +0000)]
make genericevent ifdefed - obviously is too new. oddd - it's on ubuntu 9.04
- which isnt too new.

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