Gustavo Sverzut Barbieri
1c3348513a
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;
}
SVN revision: 46408
2010-02-23 22:13:42 +00:00
Gustavo Sverzut Barbieri
2bf063a77b
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;
}
SVN revision: 46406
2010-02-23 21:27:04 +00:00
Gustavo Sverzut Barbieri
dbc4a40265
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;
}
SVN revision: 46405
2010-02-23 21:04:38 +00:00
Christopher Michael
fd7ed8786c
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.
SVN revision: 46402
2010-02-23 20:53:34 +00:00
Vincent Torri
366c893967
never use macro defined by configure in an exported header
...
SVN revision: 46387
2010-02-23 13:11:54 +00:00
Gustavo Sverzut Barbieri
10b90e46c6
fix my coding style errors...
...
SVN revision: 46362
2010-02-22 20:09:44 +00:00
Gustavo Sverzut Barbieri
054da5beeb
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
SVN revision: 46361
2010-02-22 20:09:03 +00:00
Christopher Michael
618fe20c58
Readd zone_list functions and atoms. (Needed for some elm apps like
...
elm_indicator & elm_softkey).
SVN revision: 46357
2010-02-22 17:12:24 +00:00
Carsten Haitzler
59da209fb5
even tho its going to be killed... fix it anyway.
...
SVN revision: 46352
2010-02-22 08:08:04 +00:00
Vincent Torri
4d11d31e3d
* instead of including headers wrt to the OS, include them if
...
they are available
* compilation on Windows XP minimum only
SVN revision: 46338
2010-02-20 19:12:52 +00:00
Vincent Torri
3499767ddb
First steps towards the Windows port of ecore_con.
...
ecore_con_dns will be hard to port (fork+exec).
SVN revision: 46337
2010-02-20 18:01:50 +00:00
Vincent Torri
f9f9b48c64
On Windows, ecore_exe_auto_limits_set() does nothing
...
SVN revision: 46331
2010-02-20 09:35:48 +00:00
Vincent Torri
5254d1a02e
Windows: Add priority support when a child process is created
...
and add documentation for that.
SVN revision: 46330
2010-02-20 09:20:04 +00:00
Vincent Torri
7e08e3f23c
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
SVN revision: 46319
2010-02-19 19:23:47 +00:00
Carsten Haitzler
e70759878c
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.
SVN revision: 46303
2010-02-19 08:00:44 +00:00
Christopher Michael
04b865cdce
Ecore_X changes for new illume2 code.
...
NB: This will break current PROTO/elm_* apps for illume2. They will be fixed
up shortly.
SVN revision: 46284
2010-02-19 02:27:18 +00:00
Carsten Haitzler
698f67609c
aaaah bummer. (see comment)
...
SVN revision: 46243
2010-02-17 08:13:30 +00:00
Carsten Haitzler
ce8b3c77ab
and put those back too.
...
SVN revision: 46237
2010-02-17 05:05:56 +00:00
Carsten Haitzler
6a5d12bd2a
keep building ecore_txt for now - breaks packaging and more with no warning.
...
SVN revision: 46236
2010-02-17 05:02:40 +00:00
Carsten Haitzler
c13819b98a
hmmmm try this. let me know if u see issues.
...
SVN revision: 46218
2010-02-16 16:52:02 +00:00
Vincent Torri
5c2f696d25
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.
SVN revision: 46209
2010-02-16 13:14:07 +00:00
Gustavo Sverzut Barbieri
11ca6cc505
Update to new event callback signature.
...
SVN revision: 46207
2010-02-16 13:00:11 +00:00
Carsten Haitzler
4e51efd326
1. if software-x11 not enabled.. still build... but.....
...
2. ecore-txt is a REQUIREMENT FOR ECORE-X! DONT DISABLE!
SVN revision: 46199
2010-02-16 01:27:25 +00:00
Vincent Torri
741e62ab96
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)
SVN revision: 46195
2010-02-15 20:29:38 +00:00
Sebastian Dransfeld
37f75a7ef1
Disable ecore_txt by default
...
SVN revision: 46194
2010-02-15 19:55:46 +00:00
Vincent Torri
d2993b9b25
don't link ecore_txt against eina
...
SVN revision: 46193
2010-02-15 19:54:59 +00:00
Christopher Michael
82ce1b5e7b
Reorganize code a little here to remove duplication. No function changes
...
(and no issues found when tested).
SVN revision: 46184
2010-02-15 07:23:58 +00:00
Carsten Haitzler
830a7c89ee
be more robust when gtl creation fails - return a null ee.
...
SVN revision: 46178
2010-02-15 05:26:42 +00:00
Carsten Haitzler
440f6d0d7b
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.
SVN revision: 46177
2010-02-15 05:05:05 +00:00
Carsten Haitzler
302e9054c4
dont return unknown!
...
SVN revision: 46162
2010-02-14 08:15:49 +00:00
Carsten Haitzler
7e5b054289
little shim - disabled, but can be used in future to hunt down round-trips.
...
SVN revision: 46139
2010-02-13 13:32:21 +00:00
Carsten Haitzler
df7f6cdaa7
dont need that xsync.
...
SVN revision: 46127
2010-02-13 11:37:57 +00:00
이상진
7c9103f3ae
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
SVN revision: 46106
2010-02-12 05:31:26 +00:00
Carsten Haitzler
1a4ce4f5e1
add return for get image for result.
...
SVN revision: 46073
2010-02-11 08:05:39 +00:00
Christopher Michael
313e96efde
Cleanup configure output a bit.
...
SVN revision: 46066
2010-02-11 04:17:15 +00:00
이상진
fb352ec80f
From: 이상진 <lsj119@samsung.com>
...
Patch for rotate with resize
(fixed formatting a bit)
SVN revision: 46046
2010-02-10 14:35:07 +00:00
Christopher Michael
5306e3c050
No need to include sys/types twice.
...
SVN revision: 45954
2010-02-06 22:14:32 +00:00
Vincent Torri
c154976372
fix ecore_input shutdown
...
SVN revision: 45930
2010-02-06 10:13:41 +00:00
Gustavo Sverzut Barbieri
ff3c762ba5
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.
SVN revision: 45918
2010-02-06 00:19:46 +00:00
Vincent Torri
bc32b64121
useless linker flag
...
SVN revision: 45884
2010-02-04 20:48:56 +00:00
Boris Faure
fc415b4776
fix ecore_con on posix systems
...
SVN revision: 45866
2010-02-04 10:34:08 +00:00
Carsten Haitzler
c1c39a80d3
fix link stuff pkgconfg etc. for ecore-data!
...
SVN revision: 45859
2010-02-04 02:14:56 +00:00
Carsten Haitzler
ee251d0931
better linking - right c files tomatch headers etc.
...
SVN revision: 45858
2010-02-04 01:25:30 +00:00
Cedric BAIL
58e14477d7
* ecore_evas_x: Fix build without X.
...
SVN revision: 45838
2010-02-03 16:05:25 +00:00
Carsten Haitzler
b63900e442
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)
SVN revision: 45827
2010-02-03 03:20:22 +00:00
Carsten Haitzler
b8b4a2bc9c
wtf was that. of course it should be False!!!!
...
SVN revision: 45799
2010-02-02 09:06:14 +00:00
Sebastian Dransfeld
743bc86799
Remove Ecore_Txt
...
SVN revision: 45791
2010-02-02 04:50:04 +00:00
Sebastian Dransfeld
503e847677
Install ecore-data.pc
...
SVN revision: 45783
2010-02-01 20:37:41 +00:00
Sebastian Dransfeld
75f4ccbbe5
More ecore_data to separate lib
...
SVN revision: 45782
2010-02-01 20:20:06 +00:00
Carsten Haitzler
921587e70b
more work on the sync stuff... looking good now.
...
SVN revision: 45772
2010-02-01 14:13:48 +00:00
Cedric BAIL
b7c8d2848a
* ecore_con: Fix ecore_con_client_ip_get with TCP and IPv6.
...
SVN revision: 45752
2010-01-31 11:58:37 +00:00
dieb
8498d88bc6
Fix: ecore_x_window_del() was renamed to ecore_x_window_free() on r39918.
...
SVN revision: 45735
2010-01-30 17:47:59 +00:00
Carsten Haitzler
2af8f0e8b5
add some sync stuff.. wil be used soon
...
SVN revision: 45733
2010-01-30 10:42:22 +00:00
xcomputerman
164a8b8142
Add support for OpenGL SDL
...
SVN revision: 45732
2010-01-30 10:23:54 +00:00
Lars Munch
f71f8e0a41
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
SVN revision: 45703
2010-01-29 11:42:26 +00:00
Carsten Haitzler
78d08250c4
typo fix!
...
SVN revision: 45702
2010-01-29 11:06:32 +00:00
Carsten Haitzler
5c41db66e2
actually have call api exported
...
SVN revision: 45700
2010-01-29 10:29:51 +00:00
Carsten Haitzler
61395ea4ad
say we do pings - and respond within the event handler.
...
SVN revision: 45699
2010-01-29 10:28:54 +00:00
Lars Munch
a5a6b927d0
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
SVN revision: 45673
2010-01-28 22:23:00 +00:00
Lars Munch
611d75895d
Small typo and whitespace fix
...
SVN revision: 45666
2010-01-28 16:07:33 +00:00
Lars Munch
41a0d4dbff
Fix client limit when reject excess clients is enabled
...
SVN revision: 45665
2010-01-28 16:05:34 +00:00
Cedric BAIL
534777a65a
* ecore_con: Fix UDP server when receiving both IPv4 and IPV6 packet.
...
SVN revision: 45663
2010-01-28 15:35:29 +00:00
Sebastian Dransfeld
c3b33835ea
switch to eina_strlcpy
...
SVN revision: 45653
2010-01-27 20:59:26 +00:00
Vincent Torri
b3ab4e4976
better output
...
SVN revision: 45635
2010-01-27 19:48:11 +00:00
Carsten Haitzler
34c68e86d5
make animator happen AT a vierual animator tick point.
...
SVN revision: 45614
2010-01-27 03:51:46 +00:00
Vincent Torri
a1705ac91f
missing header
...
SVN revision: 45608
2010-01-26 23:32:06 +00:00
Boris Faure
e032bc28a0
fix ecore doc and python-elementary about ecore_job merge
...
SVN revision: 45607
2010-01-26 23:16:56 +00:00
Sebastian Dransfeld
52e7b442cb
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.
SVN revision: 45604
2010-01-26 22:22:14 +00:00
Sebastian Dransfeld
03d9fb7b94
Remove Ecore_Data
...
SVN revision: 45602
2010-01-26 21:08:13 +00:00
Sebastian Dransfeld
6eaa6f27ed
Remove Ecore_Data
...
SVN revision: 45601
2010-01-26 21:07:53 +00:00
Sebastian Dransfeld
07733bd0a1
Remove Ecore_Data
...
SVN revision: 45599
2010-01-26 20:42:49 +00:00
Gustavo Sverzut Barbieri
6c1bb9460e
remove ecore_job directory.
...
SVN revision: 45587
2010-01-26 14:12:30 +00:00
Vincent Torri
f6b734e78c
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)
SVN revision: 45577
2010-01-26 08:57:57 +00:00
Cedric BAIL
44193541f7
* ecore: Move ecore_job inside ecore.
...
Patch from Albin "Lutin" Tonnerre <albin.tonnerre@gmail.com>.
SVN revision: 45570
2010-01-25 21:59:21 +00:00
Carsten Haitzler
19d30a8a48
add atoms+cursor includes to ecore_x.h - so much simpler for users. no need
...
to keep them separate.
SVN revision: 45521
2010-01-24 13:07:35 +00:00
Christopher Michael
0c75b1cf0f
Remove duplicate function declaration.
...
SVN revision: 45520
2010-01-24 11:44:38 +00:00
Carsten Haitzler
8742a16770
use pre-post swap callbacks and expose for gl
...
SVN revision: 45515
2010-01-24 11:01:39 +00:00
Carsten Haitzler
f5ab46c84e
saftery for strncpy
...
SVN revision: 45505
2010-01-24 02:23:43 +00:00
Christopher Michael
3069f426b1
Add atom/function to request a position update for quickpanel. Useful for
...
when indicator gets dragged around.
SVN revision: 45466
2010-01-22 22:48:59 +00:00
xcomputerman
7af64acd23
Added missing compose values for SDL key events
...
SVN revision: 45463
2010-01-22 22:26:42 +00:00
Carsten Haitzler
29645ed5b2
pid++ for evas gl x11 windows!
...
SVN revision: 45438
2010-01-22 11:15:58 +00:00
Vincent Torri
8744820a79
fix warnings
...
patch by Albin Tonnerre
SVN revision: 45433
2010-01-22 07:03:04 +00:00
Vincent Torri
f901fffdde
add missing API ecore_x_xregion_is_equal()
...
patch by Albin Tonnerre
SVN revision: 45432
2010-01-22 06:55:06 +00:00
Vincent Torri
01adcea234
fix function name
...
patch by Albin Tonnerre
SVN revision: 45431
2010-01-22 06:53:24 +00:00
xcomputerman
e5c712fe6c
SDLK_COLON was reporting ";" instead of ":"
...
SVN revision: 45422
2010-01-22 01:12:22 +00:00
Gustavo Sverzut Barbieri
9b454da705
better readme based on trac/wiki description.
...
SVN revision: 45421
2010-01-22 00:18:22 +00:00
Vincent Torri
c30b3cacb5
link against xinput2
...
SVN revision: 45386
2010-01-21 09:56:49 +00:00
Cedric BAIL
c354216b27
* ecore: Handle NULL in ecore_file_dir_get.
...
SVN revision: 45352
2010-01-20 12:41:22 +00:00
Carsten Haitzler
a5d8c4f9b8
make genericevent ifdefed - obviously is too new. oddd - it's on ubuntu 9.04
...
- which isnt too new.
SVN revision: 45349
2010-01-20 00:09:26 +00:00
xcomputerman
fe05034678
Patch to add key modifiers for Ecore_SDL (thanks Ryan Hope)
...
SVN revision: 45322
2010-01-19 09:01:48 +00:00
이상진
6052f73462
From: 이상진 <lsj119@samsung.com>
...
generic events exposed from ecore_x (if you have the newest xlib goop like xi2)
SVN revision: 45318
2010-01-19 05:13:58 +00:00
Vincent Torri
f55cf1cfa8
fix raster's cleaning for Windows CE
...
SVN revision: 45297
2010-01-18 18:26:34 +00:00
Vincent Torri
cad002c759
add stub Windows CE ecore_exe. Will be filled later
...
SVN revision: 45296
2010-01-18 18:16:50 +00:00
Cedric BAIL
3d2b34c85c
* ecore: Fix ecore_file_dir_get.
...
SVN revision: 45283
2010-01-18 11:05:03 +00:00
Mikhail Gusarov
5ca98d8def
ecore: do not install ecore-x.pc twice
...
SVN revision: 45279
2010-01-18 07:01:28 +00:00
Christopher Michael
2630ca3846
Make ecore_x build again.
...
Remove whitespace.
SVN revision: 45267
2010-01-17 19:57:50 +00:00
Nicholas Hughart
719f50417f
Remove extra parentheses on calls to _ecore_mouse_button.
...
SVN revision: 45266
2010-01-17 19:37:38 +00:00
Carsten Haitzler
258f47f511
also more multitouch suport improvements.
...
SVN revision: 45249
2010-01-17 08:52:38 +00:00
Carsten Haitzler
088ea5d064
,++
...
SVN revision: 45241
2010-01-17 04:25:39 +00:00
Carsten Haitzler
f9de9a4c80
actually looked at headers for xi2 now.
...
SVN revision: 45240
2010-01-17 04:11:52 +00:00
Carsten Haitzler
b3d14541c5
opcode -> _ecore_x_xi2_opcode
...
SVN revision: 45236
2010-01-17 01:33:43 +00:00
Christopher Michael
1c6393d27f
Slight modification to the zone request send function.
...
SVN revision: 45232
2010-01-16 18:36:30 +00:00
Christopher Michael
6f2560c58a
Inlcude Eina.h for Eina_Bool (use with ecore_x_input_multi_select)
...
SVN revision: 45231
2010-01-16 17:12:50 +00:00
Christopher Michael
070a50fb38
Add atoms/functions to allow a quickpanel zone to be set.
...
SVN revision: 45230
2010-01-16 17:02:33 +00:00
Vincent Torri
faadd43b94
statement not reached
...
SVN revision: 45224
2010-01-16 13:58:02 +00:00
Vincent Torri
60faf54233
statement not reached
...
SVN revision: 45221
2010-01-16 13:51:55 +00:00
Vincent Torri
000b539623
do not do arithmetic pointer on void
...
SVN revision: 45220
2010-01-16 13:50:57 +00:00
Vincent Torri
d1bdb785b1
fix warnings on opensolaris
...
SVN revision: 45219
2010-01-16 13:44:25 +00:00
Sebastian Dransfeld
75e3c941b1
Second argument isn't sort order, it's list size
...
SVN revision: 45217
2010-01-16 13:43:04 +00:00
Carsten Haitzler
d3afa8952e
multitouch support for xi2 and floating xi devices
...
SVN revision: 45213
2010-01-16 12:20:56 +00:00
Christopher Michael
33ae476f68
Make ecore_file compile again.
...
SVN revision: 45205
2010-01-16 05:20:14 +00:00
Sebastian Dransfeld
c25a56fac7
Ecore_Data gone
...
SVN revision: 45203
2010-01-15 21:47:27 +00:00
Sebastian Dransfeld
eb840460d9
Remove dependency on Ecore_Data
...
SVN revision: 45202
2010-01-15 21:47:15 +00:00
Sebastian Dransfeld
b91ae1fd9f
Remove dependency on Ecore_Data
...
SVN revision: 45201
2010-01-15 21:47:03 +00:00
Vincent Torri
7d6a8417e9
bzero is deprecated, use memset instead.
...
SVN revision: 45173
2010-01-15 07:44:27 +00:00
Sebastian Dransfeld
9bc8adc5bc
make clang happy
...
SVN revision: 45148
2010-01-14 23:48:04 +00:00
Sebastian Dransfeld
2315d4e000
remove unused variable
...
SVN revision: 45147
2010-01-14 23:47:52 +00:00
Sebastian Dransfeld
e7acf50935
make clang happy
...
SVN revision: 45146
2010-01-14 23:47:26 +00:00
Christopher Michael
63912c9ebe
Add atom/function for setting illume zones. Needed so we can retrieve from
...
elm apps.
SVN revision: 45123
2010-01-14 20:08:27 +00:00
Cedric BAIL
dd1abb5bae
* ecore_evas: Cleanup buffer render user. Why isn't this common too ?
...
SVN revision: 45114
2010-01-14 17:52:29 +00:00
Mikhail Gusarov
99a429aab7
ecore_x/xcb: Fix broken init count in ecore_x_init
...
SVN revision: 45109
2010-01-14 05:10:26 +00:00
Christopher Michael
58341cdd9f
Functions & Atoms for get/set of bottom_panel geometry (for use with elm_conformant
...
widget).
SVN revision: 45102
2010-01-14 02:30:06 +00:00
Mikhail Gusarov
513a9dab25
ecore_x/xcb: Do not segfault if unable to connect to display
...
There is xcb_connection_has_error to check connection errors,
and return value of xcb_connect is always non-NULL.
SVN revision: 45088
2010-01-13 20:24:48 +00:00
Cedric BAIL
1208614f73
* ecore: Remove symbol duplication.
...
SVN revision: 45083
2010-01-13 14:20:01 +00:00
Vincent Torri
313deaed8e
sys/stat.h needed for permissions
...
Thanks to Laurent Ghigonis
SVN revision: 45079
2010-01-13 06:51:16 +00:00
Vincent Torri
f2fa647dc8
OpenBSD's netinet/in.h does not include sys/types.h (directly or not)
...
Thanks to Laurent Ghigonis
SVN revision: 45078
2010-01-13 06:46:15 +00:00
xcomputerman
e5fd9bf17e
More missing headers from EXTRA_DIST
...
SVN revision: 45072
2010-01-12 23:19:34 +00:00
xcomputerman
e379beec73
Missing private header from EXTRA_DIST
...
SVN revision: 45070
2010-01-12 22:41:46 +00:00
Vincent Torri
2c34c1bec2
update efl_path_max.m4
...
SVN revision: 45037
2010-01-11 07:12:43 +00:00
xcomputerman
6e91f15d0b
Fix compile errors
...
SVN revision: 45007
2010-01-09 19:38:34 +00:00
Carsten Haitzler
0aecd550bc
and fix compile- again. no ;. this was not tested.
...
SVN revision: 45002
2010-01-09 03:28:53 +00:00
Carsten Haitzler
fcf3c4d73e
some safety to avoid possible segv's
...
SVN revision: 44996
2010-01-08 23:27:15 +00:00
Christopher Michael
ecb57ac1b8
Fix nasty formatting.
...
SVN revision: 44988
2010-01-08 19:49:05 +00:00
Christopher Michael
11a9a1badf
Add atom for set/get of top shelf geometry.
...
Fix void function in netwm that was returning a value when it shouldn't.
Remove wasted whitespace.
SVN revision: 44981
2010-01-08 16:16:05 +00:00
Carsten Haitzler
4175a2a072
fix valgrind complaint
...
SVN revision: 44973
2010-01-08 11:29:20 +00:00
Carsten Haitzler
06fa893674
doesnt even compile without these changes!
...
SVN revision: 44971
2010-01-08 08:39:50 +00:00
Carsten Haitzler
fa19cf50b7
add call to set compositor selection owner
...
SVN revision: 44969
2010-01-08 08:24:35 +00:00
Sebastian Dransfeld
83e8cfc7fc
Fix whitespace f**kup
...
SVN revision: 44960
2010-01-07 19:32:51 +00:00
Sebastian Dransfeld
7cb91a2f51
Link against ecore_input_evas
...
SVN revision: 44959
2010-01-07 19:31:02 +00:00
Sebastian Dransfeld
46b0282841
Remove whitespace
...
SVN revision: 44958
2010-01-07 19:27:06 +00:00
Sebastian Dransfeld
b0a1a778a1
Split evas from ecore_input
...
SVN revision: 44957
2010-01-07 19:26:52 +00:00
Carsten Haitzler
21ecfba7ad
some cleanups
...
SVN revision: 44945
2010-01-07 13:36:45 +00:00
Vincent Torri
fd31261043
and add file
...
SVN revision: 44942
2010-01-07 07:56:25 +00:00
Vincent Torri
d13ffd446e
german translation
...
SVN revision: 44941
2010-01-07 07:52:16 +00:00
Carsten Haitzler
30939bf353
clean up engines - put idle entere handlign in core. same with lists. quyartz
...
looks broken to me. sdl looks like it could be much more complete - like
multiple sdl windows/instances.
anyway - allow rendering to be manual.
SVN revision: 44938
2010-01-07 05:29:06 +00:00
Carsten Haitzler
288b812d44
printf--
...
SVN revision: 44937
2010-01-07 01:19:45 +00:00
Sebastian Dransfeld
65f11b79c2
Add missing header for memcpy
...
string.h is needed for memcpy
SVN revision: 44934
2010-01-07 00:31:24 +00:00
Sebastian Dransfeld
8007e73077
Patch from Mathieu Taillefumier
...
I modified some hearder file in ecore to ease the cleanup of the private
header files in ecore. Each module has now a private header with its own
log color (eina_log related). I also created two private header files
for ecore_sdl and ecore_input for this purpose and corrected some typos
in the xlib_xcb private header file.
SVN revision: 44933
2010-01-07 00:30:05 +00:00
Carsten Haitzler
b4c473c21a
fix shm leak
...
SVN revision: 44925
2010-01-06 15:21:01 +00:00
Carsten Haitzler
232be7f24e
adding some stuff for compositing goop!
...
SVN revision: 44920
2010-01-06 14:14:23 +00:00
Vincent Torri
c3dc62306f
* fix Windows port of ecore_exe wrt to latest changes
...
* formatting
SVN revision: 44917
2010-01-06 06:56:23 +00:00
Gustavo Sverzut Barbieri
65a53edd34
Ecore_Exe improvements.
...
* add const to getters.
* add ecore_exe_callback_pre_free_set(), enabling bindings to free
their resources once the handle is destroyed.
* fix some possible segv from not checking magic
* check conditions before ecore_exe_send() does its work
SVN revision: 44916
2010-01-06 05:16:59 +00:00
Vincent Torri
35af372ca7
fix some warnings
...
SVN revision: 44901
2010-01-04 23:43:16 +00:00
Vincent Torri
a2506a70f6
* put local code in its own file. It will be better
...
when i'll add the Windows XP code, rather than
plenty #ifdef in te code
* remove some extra EAPI in code and useless Ecore_Data.h
I've tested and it seems to work. If you see problems with
local connections, please report in that thread
SVN revision: 44888
2010-01-04 19:35:21 +00:00
Gustavo Sverzut Barbieri
a60083c90e
PATH_MAX checks, by Lutin.
...
SVN revision: 44887
2010-01-04 19:20:15 +00:00
Vincent Torri
a4b0afb1e4
* move structures from ecore_private.h to the corresponding source files
...
* add 2 internal ecore_exe functions as ecore_signak.c uses Ecore_Exe members
no test is done in those 2 functions
* remove standard headers from ecore_private.h
SVN revision: 44862
2010-01-03 21:55:50 +00:00
Christopher Michael
741a725889
Remove wasted whitespace & fix some formatting.
...
SVN revision: 44861
2010-01-03 21:50:23 +00:00
Boris Faure
0dc766e707
add --enable-xim
...
SVN revision: 44855
2010-01-02 22:46:01 +00:00
Christopher Michael
3a9091b4f5
Add missing atom for ILLUME_CLOSE.
...
Add atom & function for ILLUME_HOME (this is so we can create new home
windows easily, since the code for actual window is separate from layout
code).
SVN revision: 44775
2009-12-30 01:36:14 +00:00
Christopher Michael
3813dedf89
Add functions & atoms to get/set quickpanel priority (major & minor).
...
SVN revision: 44772
2009-12-30 01:17:04 +00:00
Christopher Michael
8e455fa1e6
Add another illume 'mode'. This allows us to know if we are top/bottom or
...
left/right.
SVN revision: 44768
2009-12-29 22:14:38 +00:00
Christopher Michael
fcbe8a2eca
Add quickpanel state functions (get/set/send).
...
Add quickpanel atoms.
SVN revision: 44739
2009-12-28 02:13:20 +00:00
Christopher Michael
1aaab52a75
Add atoms/props/functions to set/get if a window is a 'illume quickpanel'.
...
Fix some formatting.
SVN revision: 44692
2009-12-23 15:26:19 +00:00
Christopher Michael
2a687cab8b
Remove winlist atoms/props/functions...I was under the wrong impression wrt
...
this.
SVN revision: 44685
2009-12-23 13:10:34 +00:00
Christopher Michael
7e2fbfb949
Add missing vkbd atoms/states to functions where needed.
...
Add atoms/states for illume winlist.
SVN revision: 44674
2009-12-23 01:48:25 +00:00
Sebastian Dransfeld
0a9456ccf7
Remove duplication from ecore headers
...
Clean up Ecore.h and ecore_private.h
SVN revision: 44664
2009-12-22 21:15:12 +00:00
Cedric BAIL
d8e1895350
* ecore: Use eina_log.
...
Patch from Mathieu Taillefumier.
SVN revision: 44637
2009-12-21 17:32:19 +00:00
Cedric BAIL
78fdf79b00
* ecore: Cleanup some warning.
...
SVN revision: 44631
2009-12-21 16:17:29 +00:00
Cedric BAIL
42f896caf2
* ecore: Don't select on deleted fd handler.
...
SVN revision: 44627
2009-12-21 13:27:58 +00:00
Cedric BAIL
579f2e5447
* evas_preload, ecore_thread: On memory allocation failure do call the cancel function too.
...
SVN revision: 44624
2009-12-21 12:25:32 +00:00
Vincent Torri
5cffd43943
add a wrapper around remove()
...
SVN revision: 44578
2009-12-19 19:09:37 +00:00
Vincent Torri
14513477b9
fix warnings and returned value when no pthread
...
SVN revision: 44569
2009-12-19 11:43:44 +00:00
Vincent Torri
9a29b1d15a
fix autotools stuff wrt c-ares option
...
SVN revision: 44568
2009-12-19 11:36:18 +00:00
Carsten Haitzler
770e14eebe
fmting
...
SVN revision: 44561
2009-12-19 00:50:44 +00:00
Vincent Torri
836297f173
As ecore uses gettext, an m4 macro for checking iconv is installed by it.
...
So use it instead of our own automatic iconv detection.
Improve configure output too
SVN revision: 44538
2009-12-18 11:32:35 +00:00
Christopher Michael
b785c6bdc6
Add atoms & functions to set/get if illume dragging is enabled on a given
...
window.
SVN revision: 44511
2009-12-16 19:43:53 +00:00
Christopher Michael
67ade18c0f
Add atoms for illume drag start & end so that policies can handle dragging
...
in their own way.
SVN revision: 44492
2009-12-16 02:20:38 +00:00
Massimo Maiurana
b6bbf70134
added greek translation
...
SVN revision: 44476
2009-12-15 11:42:56 +00:00
Carsten Haitzler
01c8e1637e
more vkbd states
...
SVN revision: 44470
2009-12-15 06:38:16 +00:00
Carsten Haitzler
b8aaad4810
quick - set accepts_input 1 on ee windows. that code neads cleaning up!
...
SVN revision: 44455
2009-12-14 23:56:56 +00:00
Christopher Michael
d3fc8d4fa4
Add method to send illume_back and illume_close messages.
...
SVN revision: 44399
2009-12-12 00:46:54 +00:00
Christopher Michael
636cadeaca
And set the other illume atoms in ecore_x_atoms.c
...
SVN revision: 44379
2009-12-11 20:07:34 +00:00
Christopher Michael
1a3eec2e91
Add way to trigger illume dual/single app mode via client messages.
...
(and fix some formatting)
SVN revision: 44378
2009-12-11 19:51:47 +00:00
Sebastian Dransfeld
0ac67f75e7
Remove unused variable
...
SVN revision: 44258
2009-12-07 21:04:02 +00:00
Sebastian Dransfeld
73cde2ffa2
Make clang happy
...
SVN revision: 44257
2009-12-07 21:01:26 +00:00
Christopher Michael
254915c86e
Remove a bunch of wasted white space.
...
SVN revision: 44235
2009-12-07 03:06:50 +00:00
Christopher Michael
4811502558
Fix illume_conformant to return 0 if the atom is not setup on the xwin.
...
SVN revision: 44234
2009-12-07 02:04:23 +00:00
Vincent Torri
ed3ac88827
Add data and error events in ecore_exe_win32.c.
...
There are still some problems with the win32 select loop, though
SVN revision: 44229
2009-12-06 19:25:48 +00:00
Christopher Michael
b7d7d87d18
Add functions to make it easy to set an illume conformant window.
...
SVN revision: 44220
2009-12-06 17:31:04 +00:00
Vincent Torri
76983ea8f4
declare alloca
...
SVN revision: 44181
2009-12-04 08:55:46 +00:00
Cedric BAIL
7de1f120c2
* ecore_con: Add an alternative to getaddrinfo/fork by using c-ares.
...
For more information http://c-ares.haxx.se/
SVN revision: 44170
2009-12-03 10:26:40 +00:00
Carsten Haitzler
96b82e825b
remove code that forceds fb 0 . let disp name do it
...
SVN revision: 44149
2009-12-03 02:23:25 +00:00
Vincent Torri
a184e7296a
Fix m4 quoting due to quoting change rules in autoconf 2.65.
...
Works with autoconf 2.63, 2.64 and 2.65
If there are problems with early versions, please answer in this thread
SVN revision: 44148
2009-12-03 00:24:01 +00:00
Carsten Haitzler
c15a501be8
baack to normal pre- release name now
...
SVN revision: 44146
2009-12-02 22:50:36 +00:00
Carsten Haitzler
fce5dfd209
quick make svnrev that has right release names
...
SVN revision: 44140
2009-12-02 22:19:53 +00:00
Carsten Haitzler
e62d6e6dd2
and back to a pre-svn sonme after snap
...
SVN revision: 44118
2009-12-02 08:07:38 +00:00
Carsten Haitzler
566f8b2656
aaah bah - move to 05 not 04
...
SVN revision: 44116
2009-12-02 07:40:59 +00:00
Carsten Haitzler
799b9b0fac
asparagus - finally
...
SVN revision: 44113
2009-12-02 07:22:35 +00:00
Christopher Michael
414593cbca
Add Atom for Illume Compliance.
...
SVN revision: 44110
2009-12-01 21:31:44 +00:00
Cedric BAIL
7ff9045aba
* ecore_con_dns: Mark it deprecated as it should be gone since months now.
...
SVN revision: 44096
2009-12-01 14:31:16 +00:00
Rafael Antognolli
22e44c2b3b
ecore_exe_send: Someone probably missed the const.
...
SVN revision: 44091
2009-12-01 13:33:05 +00:00
Cedric BAIL
2a3171f914
* ecore_con_info: Reduce malloc and memset.
...
SVN revision: 44050
2009-11-30 12:25:02 +00:00
Vincent Torri
3c0e3aa011
remove useless return
...
SVN revision: 44041
2009-11-29 11:14:28 +00:00
Vincent Torri
9a96d024a5
add the ecore_exe ADD and DEL events in the main loop
...
SVN revision: 44034
2009-11-28 08:52:42 +00:00
Cedric BAIL
a8efb6d90d
* ecore_con: Fix use of ecore_con_client_data_{get/set} with UDP and
...
MCAST connexion.
Note: Please report any problem with Ecore_Con regarding UDP and
MCAST after this patch.
SVN revision: 44014
2009-11-27 14:36:43 +00:00
Vincent Torri
f4e1c3a9b9
* add a _del function for win32 HANDLEs
...
* delete HANDLES when asked
* minor fixes in the win32 code
SVN revision: 43939
2009-11-23 23:09:48 +00:00
Vincent Torri
76fd6276a6
the handler must return 1 otherwise it is destroyed after the first call
...
SVN revision: 43938
2009-11-23 23:05:00 +00:00
Cedric BAIL
5175806e0c
* ecore: Fix some easy error in ecore_evas_quartz. But much more
...
is needed to make it correctly work.
SVN revision: 43922
2009-11-23 13:32:05 +00:00
Vincent Torri
9cc34d070a
define ecore_file_dowbload_abort when ecore_con is not available
...
(that is : it does nothing :)
SVN revision: 43916
2009-11-23 09:05:02 +00:00
Christopher Michael
1cf4a25eed
minor formatting.
...
SVN revision: 43855
2009-11-21 01:34:49 +00:00
Cedric BAIL
1d16f186fb
* ecore_con: Add support for TCP_NODELAY.
...
SVN revision: 43818
2009-11-20 10:58:19 +00:00
Cedric BAIL
d78f1d48cf
* ecore_con_url: When download was broken in the middle, you could
...
have a status of 200 without all data being downloaded. This should
fix this case.
SVN revision: 43805
2009-11-19 18:45:51 +00:00
Carsten Haitzler
a58a7624c0
xrandr 1.3 checks - 1.3 minimum.
...
SVN revision: 43764
2009-11-18 02:31:00 +00:00
Jonathan Atton
43115643e8
Ecore : cleanup
...
SVN revision: 43691
2009-11-14 14:06:58 +00:00
Jonathan Atton
3f3f79cd88
Ecore : Fix ecore con destroy
...
SVN revision: 43689
2009-11-14 13:43:38 +00:00
Gustavo Sverzut Barbieri
85111dfe87
do not run cleanup all the time and avoid bug of walking list from
...
inside list.
if l->next was also deleted by _ecore_main_fd_handlers_cleanup(), then
we had a crash :-(
SVN revision: 43676
2009-11-13 20:34:51 +00:00
Cedric BAIL
bd1bef6e2f
* ecore_con_url: The fd could change for a same url. So destroy it and recreat.
...
SVN revision: 43670
2009-11-13 18:12:09 +00:00
Jonathan Atton
8d55d3f443
Ecore : ecore_dowload return the job and we can canceled it.
...
SVN revision: 43668
2009-11-13 17:51:52 +00:00
Cedric BAIL
060153934a
* ecore: Fix ecore_timer_freeze during timer execution.
...
SVN revision: 43667
2009-11-13 17:37:43 +00:00
Cedric BAIL
c91bb90bf2
* ecore: Fix destruction of frozen timer, by not delaying their destruction.
...
SVN revision: 43665
2009-11-13 16:57:12 +00:00
Lars Munch
caf672636d
ecore_exe is currently not supported on WinCE
...
SVN revision: 43629
2009-11-12 15:15:57 +00:00
Vincent Torri
1b7b929a09
* link correctly ecore against pthread
...
* use the efl_pthread.m4 macro
* add configure output for pthread support in ecore
SVN revision: 43627
2009-11-11 23:43:58 +00:00
Vincent Torri
a2f8b6a526
Add Windows directory monitoring to ecore_file. It was tough.
...
A lot of thanks to Lars Munch for his great help
SVN revision: 43617
2009-11-11 17:45:55 +00:00
Mikhail Gusarov
a704b35961
Use proper index to select mask in _ecore_xcb_key_mask_get
...
SVN revision: 43607
2009-11-10 22:15:00 +00:00
Lars Munch
6abf0b9ac4
Fix linking issue when cross building from linux to windows
...
SVN revision: 43603
2009-11-10 16:58:20 +00:00
Vincent Torri
5ac53f41b8
fix compilation on windows OS
...
SVN revision: 43562
2009-11-08 23:37:20 +00:00
Vincent Torri
520c12f976
* ecore_exe_win32: manage ADD and DEL events. It works more or
...
less, but that Windows stuff is a bit like voodoo magic
* Ecore.h : we can use the Ecore_Exe events on Windows, now (at
least ADD and DEL, but the others will follow)
SVN revision: 43549
2009-11-08 22:19:30 +00:00
Vincent Torri
a206a8b183
fix compilation when no pthread is available
...
Cedric: returning false in ecore_thread_cancel is good ?
SVN revision: 43548
2009-11-08 22:16:17 +00:00
Vincent Torri
a6713c7af1
Fixes for the Win32 port:
...
* if ecore_events are in the queue, timeout 0 is passed and
MsgWaitForMultipleObjects returns immediately, which can
lead to problems. If timeout is 0, we do nothing (that is,
we wait for the ecore_events to finish first)
* manage the case when MsgWaitForMultipleObjects returns WAIT_FAILED
SVN revision: 43547
2009-11-08 22:14:48 +00:00
Vincent Torri
c13cc572f4
fix compilation on BSD systems
...
SVN revision: 43515
2009-11-07 19:10:08 +00:00
Vincent Torri
ae64144bc5
use static buffer
...
SVN revision: 43510
2009-11-07 07:09:06 +00:00
Vincent Torri
9db696ae0d
strdupa does not exist on BSD. Use simply strdup
...
SVN revision: 43509
2009-11-07 05:58:01 +00:00
Cedric BAIL
6310f0ef55
* ecore_thread: Add possibility to cancel Ecore_Thread.
...
WARNING: THIS BREAK API AND ABI !!!
SVN revision: 43501
2009-11-06 22:15:04 +00:00
Gustavo Sverzut Barbieri
e014cd7d72
ecore_getopt: missing dummy initializer.
...
not real problem, but shut up warnings.
SVN revision: 43382
2009-10-31 22:56:28 +00:00
Cedric BAIL
eb9bb2f832
* ecore_con_url: Fix bug using curl multi and basename.
...
SVN revision: 43357
2009-10-30 21:36:31 +00:00
Carsten Haitzler
765e981041
keep this as printf.
...
SVN revision: 43349
2009-10-30 13:08:54 +00:00
Daniel Kolesa
2b81de7c58
Ecore_Getopt: Do not mark internal stuff as translatable.
...
SVN revision: 43317
2009-10-27 18:36:54 +00:00
Daniel Kolesa
eb625d52b2
Global update of Czech translations in SVN.
...
SVN revision: 43316
2009-10-27 18:30:09 +00:00
Vincent Torri
b513258cb1
fd_set is also in sys/select.h on OpenBSD
...
SVN revision: 43269
2009-10-25 14:48:12 +00:00
Carsten Haitzler
06b3646593
fix build!
...
SVN revision: 43260
2009-10-25 10:11:59 +00:00
Vincent Torri
fba68aef80
* add some todo
...
* after creating a child process, wait until it is really
running
SVN revision: 43256
2009-10-25 08:23:28 +00:00
Vincent Torri
f5fec31eb9
wait on HANDLES in the select loop on Windows.
...
SVN revision: 43253
2009-10-25 07:07:48 +00:00
Vincent Torri
2e25a97c11
on Windows, pipe_read (recv) and pipe_write (send) does not
...
use errno, and the returned result is managed a bit
differently than on unix
SVN revision: 43252
2009-10-25 07:02:03 +00:00
Vincent Torri
ba758fdd47
return immediatly if the title is NULL
...
SVN revision: 43247
2009-10-24 09:58:46 +00:00
Vincent Torri
198b55badb
return immediatly if we set NULL for the title of a window
...
i don't know what to do for ecore_x_icccm_name_class_set().
Should i return immediatly if one of the name or class is NULL ?
SVN revision: 43246
2009-10-24 09:48:33 +00:00
Vincent Torri
95709a3ef1
strdup() name and class only if they are not NULL
...
SVN revision: 43243
2009-10-24 06:59:30 +00:00
Cedric BAIL
2298aa7960
* ecore_evas: Add support for quartz backend in ecore_evas_new.
...
SVN revision: 43231
2009-10-23 15:00:50 +00:00
Cedric BAIL
2829dfc366
* ecore_con_url: Workaround progress callback called by curl after
...
destruction of the Ecore_Con_Url object.
SVN revision: 43228
2009-10-23 13:33:40 +00:00
Cedric BAIL
298147556b
* ecore_cocoa: Improve Mac OS X support.
...
SVN revision: 43196
2009-10-22 11:08:01 +00:00
Cedric BAIL
33fc62e73f
* ecore_evas: Fix typo.
...
SVN revision: 43185
2009-10-21 14:55:44 +00:00
Cedric BAIL
4953e0f5f6
* ecore: Add all header to package, will fix Quartz build with next package.
...
SVN revision: 43181
2009-10-21 13:42:10 +00:00
Vincent Torri
64d7bf0c71
events is an array of HANDLE's, not an array of pointers of HANDLE's
...
SVN revision: 43162
2009-10-20 10:46:05 +00:00
Vincent Torri
9a0797198d
too much INFO changed in INF...
...
SVN revision: 43139
2009-10-18 04:24:57 +00:00
Vincent Torri
a5ccd2516a
wrong log domain name
...
SVN revision: 43138
2009-10-18 04:24:02 +00:00
Vincent Torri
15d338f766
warnings--
...
SVN revision: 43114
2009-10-16 09:25:08 +00:00
Vincent Torri
9c3260b0db
put windows.h inside _WIN32 guards...
...
SVN revision: 43113
2009-10-16 09:23:34 +00:00
Vincent Torri
b7bd2998c4
ecore_exe for Windows.
...
Not complete yet but it executes a command and kills it
TODO: pipes
SVN revision: 43112
2009-10-16 09:17:26 +00:00
Vincent Torri
e59c99485c
formatting
...
SVN revision: 43111
2009-10-16 08:29:55 +00:00
Vincent Torri
1d7020335a
* add vi header
...
* include Ecore.h after stdlib.h so that pid_t is defined on windows
SVN revision: 43092
2009-10-15 06:26:01 +00:00
Vincent Torri
2ba1de41c8
ecore_ipc is actually a required dep of ecore_config
...
SVN revision: 43076
2009-10-14 17:30:05 +00:00
Vincent Torri
297e9817df
allow the compilation of ecore_file without ecore_con
...
SVN revision: 43075
2009-10-14 17:29:13 +00:00
Vincent Torri
3d9ecdf79e
fix compilation on Windows CE
...
SVN revision: 43057
2009-10-13 17:35:08 +00:00
Vincent Torri
4072d0b23d
* check the returned value of the _init() functions
...
* simplify a bit the init/shutdown functions
SVN revision: 42995
2009-10-10 05:28:43 +00:00
Vincent Torri
7680ac9922
* simplify a bit and fix init/shutdown functions
...
* rename logging macros
SVN revision: 42993
2009-10-10 03:45:35 +00:00
Vincent Torri
d6c7cc65d9
* simplify a bit and fix init/shutdown functions
...
* rename logging macros
SVN revision: 42992
2009-10-10 03:45:06 +00:00
Vincent Torri
43d3c84907
no need for ref count in ecore_thread init/shutdown functions
...
SVN revision: 42991
2009-10-10 03:24:56 +00:00
Vincent Torri
1bb00c3afe
remove unused variable
...
SVN revision: 42945
2009-10-07 18:38:08 +00:00
Cedric BAIL
380cc70ccc
* ecore_con: Reduce risk of segv.
...
SVN revision: 42934
2009-10-07 11:59:26 +00:00
Vincent Torri
c56e9837df
* more quoting
...
* add silent rules (shave feature)
see the description of AM_SILENT_RULES in:
http://www.gnu.org/software/automake/manual/automake.html#Public-Macros
SVN revision: 42908
2009-10-06 16:55:02 +00:00
Vincent Torri
66c3cb0c22
uneeded now that we have edbus
...
SVN revision: 42874
2009-10-03 18:15:42 +00:00
Vincent Torri
72bced1e3b
* fix requirements values (should be good, now)
...
* ecore-ipc is an option for ecore-config and not a required dependency
* use Requires.private field in all the .pc if pkg-config 0.22 or later is
installed. We list in it the required packages needed to compile the modules.
* remove uneeded flags that are in Libs.private (those from the packages
that are listed in Requires.private)
SVN revision: 42873
2009-10-03 18:08:43 +00:00
Vincent Torri
425877b345
update french and italian po files (don't know why, but it has changed...)
...
SVN revision: 42872
2009-10-03 18:06:19 +00:00
Vincent Torri
0864234087
no more ecore data needed in ecore_sdl
...
SVN revision: 42870
2009-10-03 15:51:54 +00:00
Vincent Torri
324b1bc570
clean up
...
SVN revision: 42869
2009-10-03 15:46:09 +00:00
Vincent Torri
918fdb530f
clean ecore_config Makefile.am
...
SVN revision: 42868
2009-10-03 14:58:28 +00:00
Vincent Torri
832b0ee18f
too much \n in einal log macros
...
SVN revision: 42854
2009-10-02 04:40:46 +00:00
Vincent Torri
1de064d479
add Mathieu Taillefumier
...
SVN revision: 42853
2009-10-02 04:36:08 +00:00
Vincent Torri
c06f58dc3f
logify ecore_evas. Patch by Mathieu Taillefumier (a bit modified)
...
SVN revision: 42852
2009-10-02 04:35:04 +00:00
Vincent Torri
4cccce6dfe
query sync counter. Round trip to fix, though
...
SVN revision: 42835
2009-10-01 09:03:23 +00:00
Carsten Haitzler
5a9e8df882
from jeffdameth: query sync counter
...
SVN revision: 42833
2009-10-01 08:43:54 +00:00
Vincent Torri
160d5c97b2
send last timestamp as time.
...
SVN revision: 42832
2009-10-01 08:30:24 +00:00
Carsten Haitzler
b38556b7b9
send last timestamp as time.
...
SVN revision: 42831
2009-10-01 08:23:00 +00:00
Gustavo Sverzut Barbieri
728841b576
welcome glib main loop integration support.
...
that's it, it's here... tested and works fine, please try with your
favorite gmainloop dependent library and report problems. Suggestions:
* GConf to access Gnome and its applications settings.
* GtkSettings to access other properties of Gnome and its applications.
* GUPnP (okay, we have EUPnP, but they have more features so far)
* Rygel, based on GUPnP.
* Libsoup, SOAP and HTTP access, useful for web access and required
by other libraries.
* Mojito, by Moblin, access to various web2.0 services like flickr,
picasa, twitter...
And last but not least, this enables Flash plugin on WebKit-EFL and
may enable us to get Google Gadgets sooner (before someone writes a
proper EFL backend).
Support is auto-detected at compile time but can be disabled with
--disable-glib. Runtime support is not enabled by default (so
compiling with it will just link yet another library), one needs to
call ecore_main_loop_glib_integrate() to do so.
Thanks to INdT folks that provided the initial implementation. I
rewrote it to make it correct, but the idea was good.
SVN revision: 42825
2009-10-01 03:56:38 +00:00
Lars Munch
e1fefd6702
tslib detection fixes from Marc Andre Tanner. Thanks.
...
SVN revision: 42799
2009-09-29 12:56:14 +00:00
Vincent Torri
e069ea2fa1
Fix timestamps unit. Allow cinetic animation in elementary lists
...
SVN revision: 42774
2009-09-28 17:36:43 +00:00
Carsten Haitzler
a82da76bf0
ecore -> use same template as www etc.
...
SVN revision: 42762
2009-09-28 09:13:23 +00:00
Vincent Torri
3a0ee809e3
remove \n in logging messages
...
SVN revision: 42738
2009-09-27 03:56:12 +00:00
Vincent Torri
9f26b75b44
Use LTLIBINTL instead of LIBINTL
...
SVN revision: 42711
2009-09-26 13:05:20 +00:00
Mikhail Gusarov
8b293c2209
Fix memory corruption in ecore_xcb_window.c::ecore_x_window_children_get
...
Function allocated reply->children_len bytes, and then copied
sizeof(Ecore_X_Window) * reply->childen_len bytes into the buffer, leading
to memory corruption.
SVN revision: 42624
2009-09-22 18:18:28 +00:00
Iván Briano
6cf87428a4
Improve documentation for Evas, Ecore, Edje and Elementary.
...
Work by:
- Thiago R. Masaki (mostly)
- Fabiano Fidencio
- Gustavo Lima
SVN revision: 42551
2009-09-17 22:38:22 +00:00
Carsten Haitzler
fda3149474
ecore-conig dont build if no evas found (mind u if no evas... why ecore etc.?
...
very unusual)
SVN revision: 42394
2009-09-10 21:49:41 +00:00
Vincent Torri
df88395e4f
* fix logging for Windows XP and CE port
...
by adding namespace to logging macros
* formatting and warning cleanup
SVN revision: 42341
2009-09-08 05:39:09 +00:00
Peter Wehrfritz
809cfd97ff
eina_stringshare_init -> eina_init, dito shutdown
...
SVN revision: 42328
2009-09-07 16:32:26 +00:00
Vincent Torri
e6891b228c
formatting
...
SVN revision: 42275
2009-09-05 08:52:41 +00:00
Vincent Torri
1dd8436cd4
add Mathieu Taillefumier's patch for eina logging,
...
with small modifications and fixing
ecore_evas_win32 does not build, though. I think that
if we add log support in evas, all the macro must have
different names, because of all the _private.h headers
that are included in all source files (that's the problem
with win32). I'll fix ecore_evas_win32 build later. Or
someone can do it if he wants :-)
SVN revision: 42274
2009-09-05 08:39:34 +00:00
Vincent Torri
d8acbfc6f6
rename ecore_thread_init and ecore_thread_shutdown to fit usual private function names
...
SVN revision: 42240
2009-09-04 05:49:54 +00:00
Vincent Torri
4576249649
fix maintainer-clean rule
...
SVN revision: 42236
2009-09-04 04:45:47 +00:00
Vincent Torri
d109fae2f9
remove from MAINTAINERCLEANFILES files that are removed by distclean rule
...
SVN revision: 42235
2009-09-04 04:36:03 +00:00
Vincent Torri
cb3150f9ea
remove uneeded files
...
SVN revision: 42234
2009-09-04 04:29:23 +00:00
Massimo Maiurana
63ebbb00a0
adding french and italian translations
...
SVN revision: 42211
2009-09-03 17:22:10 +00:00
Carsten Haitzler
d6cdd8131b
1. ecore-evas doesnt disable draws to fully obscured windows if compositoir
...
is there
2. static atom for compositor check
3. stop filterng out mouse moves for better scroll momentum checks
SVN revision: 42182
2009-09-02 12:48:56 +00:00
Vincent Torri
af6cde97d3
fix gettext stuff
...
to disable it, pass to configure --disable-nls
SVN revision: 42166
2009-09-01 17:27:23 +00:00
Gustavo Sverzut Barbieri
7d5dfd2b1c
fix build to actually use gettext, create ecore.pot
...
SVN revision: 42158
2009-09-01 14:56:06 +00:00
Gustavo Sverzut Barbieri
ba79d71f95
have ecore+gettext stuff to actually compile.
...
SVN revision: 42157
2009-09-01 14:46:16 +00:00
Gustavo Sverzut Barbieri
21e66eec2b
some parts I missed before.
...
SVN revision: 42156
2009-09-01 14:35:59 +00:00
Daniel Kolesa
2f319b9a5c
Gettext support in Ecore_Getopt. Thanks to k-s :)
...
SVN revision: 42155
2009-09-01 14:15:37 +00:00
Vincent Torri
2d11ac918c
fix number of events
...
SVN revision: 42114
2009-08-30 21:41:51 +00:00
Vincent Torri
17cb74c23f
don't try to remove monitors if non has been added before
...
SVN revision: 42087
2009-08-29 08:44:05 +00:00
dieb
e6b9bea5d8
Add missing prototype for ecore_con_url_response_headers_get().
...
SVN revision: 42048
2009-08-27 21:21:43 +00:00
Vincent Torri
654330e183
warnings--
...
SVN revision: 42018
2009-08-26 15:43:45 +00:00
Vincent Torri
77a9dab5eb
fix warnings
...
SVN revision: 42016
2009-08-26 15:36:01 +00:00
Vincent Torri
ebf35949a6
* fix potential bugs
...
* fix warnings
* make the code a bit more readable
SVN revision: 42015
2009-08-26 15:34:49 +00:00
Vincent Torri
0bd66ee195
fix warnings
...
SVN revision: 42014
2009-08-26 15:32:23 +00:00
Lars Munch
023b8909af
Added missing pthread guard
...
Patch from Vincent Torri
SVN revision: 42005
2009-08-26 05:59:56 +00:00
Vincent Torri
e005dd2479
* fix compilation when curl is not available
...
* small formatting
SVN revision: 41968
2009-08-25 06:45:35 +00:00
dieb
85ba9823e7
Change my email address to a fixed one.
...
SVN revision: 41959
2009-08-24 21:28:59 +00:00
Cedric BAIL
05549684f7
* ecore_con_url: Remove debug.
...
SVN revision: 41954
2009-08-24 13:25:51 +00:00
Cedric BAIL
3c24106508
* ecore: Add Andre Dieb in ecore AUTHORS file.
...
SVN revision: 41952
2009-08-24 09:41:46 +00:00
Cedric BAIL
8d908436c6
* ecore_con_url: Add a way to retrieve request response headers.
...
Patch from Andre Dieb <andre.martins@ee.ufcg.edu.br>.
SVN revision: 41951
2009-08-24 09:41:07 +00:00
Christopher Michael
581556e6d2
Patch from Andre Dieb to remove a debug statement.
...
Fix formatting also.
SVN revision: 41919
2009-08-21 19:47:04 +00:00
Vincent Torri
c01af79f80
portable way to do echo -n as some shells do not
...
support it (Mac OS X or OpenSolaris)
SVN revision: 41897
2009-08-20 21:20:31 +00:00
Lars Munch
2e7e9169e7
Fix building without pthread support
...
SVN revision: 41880
2009-08-20 06:09:15 +00:00
Cedric BAIL
09012c96bb
* ecore_con_url: Fix mem leak.
...
SVN revision: 41758
2009-08-14 11:33:33 +00:00
Cedric BAIL
b559c260fa
* Ecore_Con: Revert r41742.
...
Note: It's not a good idea to initialize curl, if you just
want to do some ecore_con network or ipc. Better let them
initialize separatly.
SVN revision: 41743
2009-08-13 15:42:30 +00:00
Gustavo Sverzut Barbieri
33b9d1b2ed
init ecore_con_url.
...
By: Andre Dieb <andre.martins@ee.ufcg.edu.br>
SVN revision: 41742
2009-08-13 15:26:29 +00:00
Carsten Haitzler
447051bf3c
dont use #ifdeffed out calls
...
SVN revision: 41726
2009-08-13 00:30:59 +00:00
Carsten Haitzler
26d8a50642
formatting!
...
SVN revision: 41725
2009-08-13 00:27:53 +00:00
Cedric BAIL
caf64d8849
* ecore_con: Add broadcast support from Atton Jonathan.
...
SVN revision: 41701
2009-08-12 11:24:33 +00:00
Cedric BAIL
c7f13ac781
* ecore_con_url: Patch from Andre Dieb with a few modification.
...
SVN revision: 41699
2009-08-12 09:47:04 +00:00
Cedric BAIL
7db27df3c8
* ecore_thread: Fix the remaining comment from Vincent.
...
SVN revision: 41581
2009-08-04 09:13:49 +00:00
Cedric BAIL
13cea2628b
* ecore_thread: Another dead lock spotted by Sachiel.
...
SVN revision: 41570
2009-08-03 14:09:09 +00:00
Cedric BAIL
9a056bed3a
* ecore: Fix header check position according to Vincent Torri recommandation.
...
SVN revision: 41568
2009-08-03 11:50:07 +00:00
Cedric BAIL
e7f691a9f2
* ecore_thread: Prevent mutex lock, thanks to Sachiel.
...
SVN revision: 41564
2009-08-03 08:19:33 +00:00
Cedric BAIL
2bb8e5ad8e
* ecore_thread_run: Add a facility to run heavy code in another thread
...
that still integrate cleanly with the EFL.
ecore_thread_run need two callbacks :
* func_heavy is called from another thread and should not use the
EFL except Eina, but carefully.
* func_end is called when func_heavy is done, but from inside ecore
main loop, so you can at this point call every EFL functions without
fear.
Note :
The system automatically detect how many CPU you have and will spread
the load on all of them.
You must not assume that the result will come in the same order you
requested it. Depend on each CPU load and how heavy the function on it
are.
SVN revision: 41555
2009-07-31 17:06:11 +00:00
Carsten Haitzler
1ea1c629cb
back to pre ver's
...
SVN revision: 41535
2009-07-29 08:19:34 +00:00
Carsten Haitzler
6db38393cd
SNAPSHOT: svn-03
...
SVN revision: 41532
2009-07-29 08:03:25 +00:00
Vincent Torri
413a216c55
oups, missing sys/
...
SVN revision: 41525
2009-07-28 09:58:12 +00:00
Vincent Torri
fe763e0fe0
fix compilation of programs using ecore on FreeBSD
...
SVN revision: 41524
2009-07-28 09:57:24 +00:00
Gustavo Sverzut Barbieri
d64634e725
unbreak xrender, opengl and software-16 engines.
...
ecore_evas_xlib_deps does not exist anymore, using have_ecore_x_xlib,
change if i'm wrong (software-x11 uses just have_ecore_x).
SVN revision: 41493
2009-07-25 04:52:34 +00:00
Iván Briano
835c6fd150
Fix requirements for ecore-file
...
SVN revision: 41474
2009-07-22 14:26:28 +00:00
Kim Woelders
1db0b28f52
The functions ecore_x_window_prop_card32_list_get, ecore_x_window_prop_xid_get, and ecore_x_window_prop_xid_list_get were buggy.
...
The original intention was that if the property is absent or not of extected type (or invalid window) they should return -1, otherwise they should return the number of elements in the property, 0 if none.
Unfortunately they all returned 0 if the property does not exist. Also, ecore_x_window_prop_xid_list_get retuned 0 if the property exists, has no elements, but has wrong type (should be -1).
These issues should be fixed now but this may cause problems in any code that relied on the incorrect behavior.
SVN revision: 41418
2009-07-18 10:27:51 +00:00
Carsten Haitzler
a2b75fa66c
free list
...
SVN revision: 41411
2009-07-18 09:35:22 +00:00
Gustavo Sverzut Barbieri
4a2bd500e3
remove gcc -Wextra warnings
...
SVN revision: 41369
2009-07-16 21:42:02 +00:00
Gustavo Sverzut Barbieri
00d15b298a
do not remove sub-evases from ecore_evases list.
...
they are not there, they're listed inside sub_ecore_evas of parent instead.
SVN revision: 41368
2009-07-16 21:39:48 +00:00
Gustavo Sverzut Barbieri
6103d8db01
oops, fix case of timers never being fired while we have idlers.
...
To reach this case, have a timer that would not be fired on
_ecore_main_loop_iterate_internal(), for example it's not ready yet
(just_added==1), system would get into this inner loop and would never
stop, since there is timer expired now (next_time == 0.0), if we go to
start_loop it would just get into the same loop, not dispatching and
timers.
Python test 04-idler.py triggered that problem.
SVN revision: 41342
2009-07-15 00:11:04 +00:00
Vincent Torri
7807fa64a0
rename 'x11' to 'xlib' for software x11 based engines when it makes sense
...
SVN revision: 41330
2009-07-14 21:18:27 +00:00
Vincent Torri
3c7680e6cb
* add ecore_x_atom_name_get() API (will be used by ewl)
...
* move atom related functions from ecore_x.c to ecore_x_atom.c
SVN revision: 41283
2009-07-09 04:55:11 +00:00
Vincent Torri
390f94bcfd
update m4 macros (mainly formatting)
...
SVN revision: 41212
2009-06-27 06:42:14 +00:00
Vincent Torri
26d2cf2101
add Lars and myself
...
SVN revision: 41180
2009-06-24 06:21:15 +00:00
Vincent Torri
88e6e10da1
Rework the Windows message loop and the managing of sockets
...
sent by ecore_pipe. The programs based on Ecore on Windows
do not take 100% of the cpu power anymore.
Patch by Lars Munch, modified by me (formatting + guards)
SVN revision: 41179
2009-06-24 06:14:07 +00:00