barbieri [Thu, 25 Feb 2010 19:38:32 +0000 (19:38 +0000)]
couple of simple positive tests.
This is far from real unit testing, just simple cases are covered, but
it's better than nothing.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@46477
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Thu, 25 Feb 2010 15:26:38 +0000 (15:26 +0000)]
* ecore: Match what doc when disabling thread support in ecore.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@46467
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Thu, 25 Feb 2010 12:26:25 +0000 (12:26 +0000)]
why do a round trip for local info like.. root window # 0...
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@46460
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Thu, 25 Feb 2010 12:19:02 +0000 (12:19 +0000)]
add lots of logging functions - for trackign x overhead when u cant get
symbols... booo! - disabled of course.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@46458
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Thu, 25 Feb 2010 08:05:56 +0000 (08:05 +0000)]
add unit tests framework with some examples.
pass --enable-tests to configure to enable them,
then 'make check' to run the tests.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@46456
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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