Vincent Torri
984159e37a
Eio: remove AC_HEADER_ASSERT as assert() is not used.
...
SVN revision: 63906
2011-10-07 06:31:14 +00:00
Cedric BAIL
b17b7abfe0
eio: use eina_xattr.
...
SVN revision: 63438
2011-09-16 11:14:57 +00:00
Cedric BAIL
fc27a465a3
eio: also copy xattr when available.
...
SVN revision: 59015
2011-04-28 16:45:45 +00:00
Cedric BAIL
b558cbc07e
eio: add Eio_Monitor API.
...
Not yet working. Need to handle message, add fallback and windows support.
SVN revision: 58907
2011-04-25 17:04:46 +00:00
Cedric BAIL
fb188326a9
eio: correctly fix large file support.
...
SVN revision: 57629
2011-03-09 15:04:01 +00:00
Rui Seabra
885c5ddcde
Add rpm spec to eio and one more entry to svn:ignore.
...
SVN revision: 57140
2011-02-17 23:13:36 +00:00
Cedric BAIL
3efc7f4f9b
* eio: snapidoo too !
...
SVN revision: 55241
2010-12-04 00:52:40 +00:00
Cedric BAIL
e9a8da1455
* eio: define PATH_MAX if not available.
...
SVN revision: 55230
2010-12-03 22:59:28 +00:00
Cedric BAIL
e697938fc2
* eio, ethumb and elementary: snapshot increase.
...
SVN revision: 54508
2010-11-12 16:03:34 +00:00
Vincent Torri
9c5ce8345e
[eio] add check on some functions (will be used later) and
...
add native win32 mutex code.
Question: with pthread, if a mutex is initialized with
PTHREAD_MUTEX_INITIALIZER, should it be destroyed with
pthread_mutex_destroy() ?
SVN revision: 53772
2010-10-22 16:44:30 +00:00
Cedric BAIL
318a56c004
* eio: fix eio.pc
...
SVN revision: 53762
2010-10-22 11:54:54 +00:00
Vincent Torri
c2d941930c
[eio] check if threads, grp.h and fchmod() are available
...
SVN revision: 53723
2010-10-21 17:51:21 +00:00
Cedric BAIL
da9d9f4e89
* eio: improve doc.
...
SVN revision: 53673
2010-10-20 14:44:45 +00:00
Vincent Torri
933bac3a3a
add doc support
...
SVN revision: 53265
2010-10-11 17:18:39 +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
Cedric BAIL
bf9609ebff
* eio: make it compile on Windows. Thanks Vincent !
...
SVN revision: 51955
2010-09-07 15:47:11 +00:00
Iván Briano
196b7ddf2d
eina-0 is no more, check for the right package name
...
SVN revision: 51227
2010-08-16 20:20:57 +00:00
Cedric BAIL
c5cc3b6e19
* eio: please welcome our asynchronous input output library.
...
NOTE: right now only help with file listing and provide a
wrapper around eina_file_ls and eina_file_direct_ls and ecore_long_run.
But the idea is to do the same with all Ecore_File code so that one
day we can remove Ecore_File.
SVN revision: 50429
2010-07-22 16:08:17 +00:00