Lucas De Marchi
61a510d387
Fix clock_gettime detection in autotools
...
AC_CHECK_FUNCS checks for the existence of functions in the C standard
library, so we don't need it. Instead, we need to define
HAVE_CLOCK_GETTIME if the function was found inside the librt.
Moreover, in source file check if HAVE_CLOCK_GETTIME is defined rather
than of checking if it's 0.
SVN revision: 52863
2010-09-28 19:36:50 +00:00
Sebastian Dransfeld
8737d28c76
remove debug
...
SVN revision: 52858
2010-09-28 18:14:58 +00:00
Sebastian Dransfeld
843a885b4c
libraries should be in LIBS, not LDFLAGS
...
SVN revision: 52857
2010-09-28 18:12:15 +00:00
Sebastian Dransfeld
ed263df47e
ecore time is double
...
SVN revision: 52855
2010-09-28 17:53:15 +00:00
Mike Blumenkrantz
1bda1d90af
update examples to new api
...
SVN revision: 52847
2010-09-28 09:41:20 +00:00
Mike Blumenkrantz
7b3b888471
whoops comparison typo
...
SVN revision: 52846
2010-09-28 09:28:04 +00:00
Cedric BAIL
7088845157
* eio: add eio_file_move (completly asynchronous and non
...
blocking move). It first try a rename, then fallback to
an eio_file_copy + eio_file_unlink.
Small example on how to use it :
#include <Ecore.h>
#include <Eio.h>
static void
_test_done_cb(void *data)
{
printf("move done\n");
ecore_main_loop_quit();
}
static void
_test_error_cb(int error, void *data)
{
fprintf(stderr, "error: [%s]\n", strerror(error));
ecore_main_loop_quit();
}
int
main(int argc, char **argv)
{
Eio_File *cp;
if (argc != 3)
{
fprintf(stderr, "eio_cp source_file destination_file\n");
return -1;
}
ecore_init();
eio_init();
cp = eio_file_move(argv[1], argv[2],
NULL,
_test_done_cb,
_test_error_cb,
NULL);
ecore_main_loop_begin();
eio_shutdown();
ecore_shutdown();
return 0;
}
SVN revision: 52845
2010-09-28 09:05:51 +00:00
Gustavo Sverzut Barbieri
9f505cd3d9
export play_length as well.
...
SVN revision: 52841
2010-09-28 05:33:53 +00:00
Gustavo Sverzut Barbieri
bcba2b261b
emotion exports position, but don't use it from state description.
...
there should be some flags like RDONLY, RWONLY, RDWR, CONSTRUCTOR,
RUNTIME, but until there...
SVN revision: 52840
2010-09-28 05:26:48 +00:00
Carsten Haitzler
ae6922fbd0
make sure that at any point if gl barfs... abort then.
...
SVN revision: 52838
2010-09-28 04:13:28 +00:00
Mike Blumenkrantz
b64b0b3ac9
first part of ssl rerererewrite: split functions, move stuff out of prepare(), and add verification for gnutls clients
...
SVN revision: 52837
2010-09-28 03:16:08 +00:00
Christopher Michael
9916578131
And use Eina_Bool return values too.
...
SVN revision: 52833
2010-09-28 00:25:54 +00:00
Christopher Michael
b7b1a25c41
Fix edje entry callback to use Eina_Bool like ecore_imf is expecting.
...
SVN revision: 52832
2010-09-28 00:24:44 +00:00
Christopher Michael
1fe0153f77
Fix ecore to at least compile on systems that don't have clock_getting.
...
NB: Not sure if this is a correct fix or not, but at least svn is not
busted anymore.
SVN revision: 52831
2010-09-28 00:21:48 +00:00
Christopher Michael
07c74e3edf
Unbreak ecore building by using unset correctly....Spankies !!!
...
SVN revision: 52830
2010-09-28 00:10:53 +00:00
Lucas De Marchi
162070b8f5
Respect namespace
...
_ecore_loop_time -> _ecore_time_loop_time
SVN revision: 52825
2010-09-27 22:35:55 +00:00
Lucas De Marchi
d17de81175
Make ecore_time_get and friends use monotonic clock
...
Instead of relying on unix time, use a monotonic clock provided by
clock_gettime(). If a monotonic clock is not available, it will fallback
to CLOCK_REALTIME or unix time if neither is available.
The impact is that now it only makes sense to call ecore_time_get() or
ecore_time_loop_get() if the value retrieved is intended to be used as
relative to previous/posterior measurements. If an absolute value is
needed, the right function to call now is ecore_time_unix_get() which
will give the number of seconds since Jan 1st, 1970, 12:00AM.
SVN revision: 52824
2010-09-27 22:35:35 +00:00
Iván Briano
784ac71b15
Don't screw up script {} highlighting when there are several levels of {}
...
SVN revision: 52812
2010-09-27 21:12:09 +00:00
Carsten Haitzler
2d488b5d32
some fixes/improvements to emotion -> foound some buggers in xine -
...
tried making gst do it - should kind of work. i think gst is broken tho.
SVN revision: 52800
2010-09-27 10:11:52 +00:00
Mike Blumenkrantz
b04f0b0360
disable rehandshake support for now
...
SVN revision: 52792
2010-09-26 23:56:31 +00:00
Cedric BAIL
135a0f570a
* eio: add eio_file_copy (using splice when available and
...
fallback to mmap/write with huge tlb when not).
That what an eio_cp would look like :
#include <Ecore.h>
#include <Eio.h>
static void
_test_progress_cb(void *data, const Eio_Progress *info)
{
printf("%f (%zi / %zi octets)\n", info->percent, info->current, info->max);
}
static void
_test_done_cb(void *data)
{
printf("copy done\n");
ecore_main_loop_quit();
}
static void
_test_error_cb(int error, void *data)
{
fprintf(stderr, "error: [%s]\n", strerror(error));
ecore_main_loop_quit();
}
int
main(int argc, char **argv)
{
Eio_File *cp;
if (argc != 3)
{
fprintf(stderr, "eio_cp source_file destination_file\n");
return -1;
}
ecore_init();
eio_init();
cp = eio_file_copy(argv[1], argv[2],
_test_progress_cb,
_test_done_cb,
_test_error_cb,
NULL);
ecore_main_loop_begin();
eio_shutdown();
ecore_shutdown();
return 0;
}
SVN revision: 52787
2010-09-26 21:47:48 +00:00
Gustavo Sverzut Barbieri
ea831b3738
ecore_x: fix key-up events!
...
Bad cedric, no cookie for you! While merging r39505 introducing
Ecore_Input you had all the code to go through Xutf8LookupString(),
but its documentation says (man Xutf8LookupString):
{{{
Note
®To ensure proper input processing, it is essential that the
client pass only KeyPress events to XmbLookupString,
XwcLookupString and Xutf8LookupString. Their behavior when a
client passes a KeyRelease event is undefined.
}}}
Yeah, Xlib is quite stupid and this makes no sense.
As this just happens for UP events, it was unnoticed for a long time
(19 months) as most apps just handle DOWN events, as it gets X
keyboard repetition and all.
Thanks to Otavio Pontes that spotted this bug while doing some code
for EPhoto (that for some weird reason uses UP instead of DOWN
events).
SVN revision: 52786
2010-09-26 19:41:02 +00:00
Christopher Michael
da426bec51
Fix a couple of ecore_x_e_illume functions ... these Should be int.
...
SVN revision: 52785
2010-09-26 17:58:44 +00:00
Vincent Torri
29ec0433ab
int --> bool
...
Please review it. i don't have the courage to read
everything again
It should compile on linux (committed from windows, but
corrected at the same time on linux. Thank you, VirtualBox
devs !)
SVN revision: 52784
2010-09-26 17:49:05 +00:00
Christopher Michael
eb7c111fc9
Fix typo.
...
SVN revision: 52783
2010-09-26 16:30:14 +00:00
Cedric BAIL
801917565f
* evas: fix rendering of object with color (*,*,*,0)
...
and render_op != BLEND.
SVN revision: 52782
2010-09-26 16:10:59 +00:00
Vincent Torri
b3f24d8de4
[ecore-imf] more strict detection of exported functions on Windows
...
SVN revision: 52774
2010-09-26 06:00:14 +00:00
Vincent Torri
fbdfa54f82
int --> Eina_Bool
...
SVN revision: 52773
2010-09-26 05:42:56 +00:00
Carsten Haitzler
d1a1b62fa8
make fb default for *
...
SVN revision: 52772
2010-09-26 03:42:30 +00:00
Carsten Haitzler
80197823be
make fb engine default on linux too.
...
SVN revision: 52771
2010-09-26 03:39:18 +00:00
Chidambar 'ilLogict' Zinnoury
15dd911de3
From: Chidambar 'ilLogict' Zinnoury <illogict@online.fr>
...
Subject: [E-devel] [tentative patch] evas memleak when no callbacks
I'm seeing some memleaks while using Evas' buffer engine. After
investigation, it seems that evas_free does nothing and returns
immediately if the canvas has no callbacks, which is what happens with
the buffer engine.
The attached patch seems to do the trick.
However, as I don't know that much Evas' internals, I thought it'd be
better to ask whether it's correct or I'm mistaken before committing.
So please comment.
SVN revision: 52769
2010-09-26 02:27:01 +00:00
Carsten Haitzler
8d78e67870
formatting.
...
SVN revision: 52768
2010-09-26 02:24:36 +00:00
Carsten Haitzler
15659e1de8
formatting.
...
SVN revision: 52767
2010-09-26 02:17:53 +00:00
Vincent Torri
53081384df
cosmetic only: put files in alphabetic order.
...
SVN revision: 52737
2010-09-25 17:19:46 +00:00
Vincent Torri
1e1bb3b6a4
Put everything in edje_private. It should fix a compilation
...
bug on Windows
SVN revision: 52736
2010-09-25 17:10:33 +00:00
Carsten Haitzler
9e7bc3f53e
wooo overzealous commenting. fix. better now.
...
SVN revision: 52734
2010-09-25 14:46:10 +00:00
Carsten Haitzler
0e2ec32263
working on debug. doesn't affect anything atm.
...
SVN revision: 52733
2010-09-25 14:30:02 +00:00
Vincent Torri
ce40390347
int --> Eina_Bool
...
please review it
SVN revision: 52730
2010-09-25 07:03:02 +00:00
Vincent Torri
a5d1c4bce5
Eina.h should be needed here too
...
SVN revision: 52729
2010-09-25 06:23:32 +00:00
Vincent Torri
b557254a6b
fix build (i'm on windows, so can't test it)
...
SVN revision: 52728
2010-09-25 06:21:43 +00:00
Carsten Haitzler
348f454537
well that improves map a bit! less overdraw! :) and 1 bug fixed. still
...
1 left.
SVN revision: 52727
2010-09-25 06:19:30 +00:00
Vincent Torri
42dba1a3ea
formatting
...
SVN revision: 52726
2010-09-25 06:10:18 +00:00
Vincent Torri
1f3091dbb3
formatting
...
SVN revision: 52725
2010-09-25 06:03:38 +00:00
Vincent Torri
cdacbb84bb
formatting
...
SVN revision: 52724
2010-09-25 05:58:42 +00:00
Vincent Torri
0e9b4b0c3b
formatting
...
SVN revision: 52723
2010-09-25 05:56:01 +00:00
Vincent Torri
aac2ae60b5
formatting
...
SVN revision: 52722
2010-09-25 05:45:19 +00:00
Vincent Torri
b2d3d0af41
formatting and whitespace--
...
SVN revision: 52721
2010-09-25 05:36:21 +00:00
Vincent Torri
d5f1ed5907
int --> Eina_Bool
...
SVN revision: 52720
2010-09-25 05:34:26 +00:00
Vincent Torri
303edc4f9d
int --> Eina_Bool
...
SVN revision: 52719
2010-09-25 05:14:00 +00:00
Vincent Torri
2de55203a4
directfb does not exists on Windows, so simplify EAPI
...
SVN revision: 52718
2010-09-25 05:08:30 +00:00