Commit Graph

57 Commits

Author SHA1 Message Date
Cedric BAIL 6cc036d647 eio: fix typos.
SVN revision: 76169
2012-09-05 07:16:10 +00:00
Carsten Haitzler 0e77364887 update header #defined versions to 1.8 to make sure new apis are used
in e17 only with ifdefs.



SVN revision: 75994
2012-09-03 09:55:34 +00:00
Carsten Haitzler aef32ed6d3 more updates for 1.7.0 alpha.
SVN revision: 75095
2012-08-10 10:51:17 +00:00
Carsten Haitzler 2c1b533d13 fix minor version defines to be at 1.6 (in sync now) ready for going
to 7 on release.



SVN revision: 73906
2012-07-16 06:36:02 +00:00
Gustavo Sverzut Barbieri 74b38070b6 use proper filter callback type for eio_dir_stat_ls().
The user is not supposed to change info as it's already fully
populated by stat().



SVN revision: 72551
2012-06-20 18:11:20 +00:00
Jonas M. Gastal 5a8f45a560 Improving Eio Doc and adding an example.
Author:    Guilherme Iscaro <iscaro@profusion.mobi>


SVN revision: 72202
2012-06-15 19:08:03 +00:00
Vincent Torri db65eb43d7 whitespaces--
SVN revision: 69819
2012-03-31 10:44:19 +00:00
Vincent Torri 9fc4d1ad93 Eio: useless include
SVN revision: 69799
2012-03-30 17:07:38 +00:00
Carsten Haitzler 63ed6ac02f gear up svn for release. one of many steps/things to do.
SVN revision: 69481
2012-03-17 04:17:29 +00:00
Mike Blumenkrantz e1e7a96b9e tons of doc fixes
SVN revision: 68617
2012-03-02 03:36:28 +00:00
Cedric BAIL 4a65416c6a eio: use the newly introduced Eina_Stat.
SVN revision: 68316
2012-02-23 11:46:51 +00:00
Cedric BAIL 0b07301937 eio: improving doc for Eio release.
SVN revision: 68280
2012-02-22 16:30:43 +00:00
Cedric BAIL 422de4f2e5 eio: change callback prototype.
SVN revision: 68265
2012-02-22 11:51:45 +00:00
Cedric BAIL 59647d1be0 eio: make eio_dir_direct_ls a public API.
SVN revision: 68260
2012-02-22 10:26:39 +00:00
Cedric BAIL 11f245ab0b eio: add Eet asynchronous helper.
NOTE: this also make Eet an hard dependency for Eio. I do
think that every one will be using Eet anyway, so I didn't
bother making it optional, but if someone complain to me
with enough cookie, I could change my mind.


SVN revision: 68231
2012-02-21 21:01:22 +00:00
Cedric BAIL 1a29f7f309 eio: fix a doc typo.
SVN revision: 67877
2012-02-13 09:06:28 +00:00
Cedric BAIL 7e8b2681c9 eio: fix eio monitor by Guillaume Friloux.
SVN revision: 67501
2012-01-24 16:00:57 +00:00
Cedric BAIL 76295f136e eio: fix starting of documentation block.
SVN revision: 66701
2011-12-30 15:31:16 +00:00
Cedric BAIL 173ec48730 eio: add some documentation.
SVN revision: 66700
2011-12-30 15:22:42 +00:00
Cedric BAIL 70b7b55c42 eio: make eio_file_map_* api more usefull.
SVN revision: 66573
2011-12-27 16:45:07 +00:00
Cedric BAIL dbccbce821 eio: add API for eina_file_open and like.
tweet: now Eio can help you load your file assynchronously !


SVN revision: 66397
2011-12-20 17:35:41 +00:00
Cedric BAIL 2e21c6899f eio: move documentation into header like other EFL library.
NOTE: need some help to finish splitting this API in a more meaningfull sense.

TODO: Fix a few FIXME and update monitoring backend to work on most system.


SVN revision: 65840
2011-12-03 13:21:07 +00:00
Cedric BAIL b2dc1ce8ab eio: use eina xattr helper and add more eio xattr function.
SVN revision: 63441
2011-09-16 14:18:08 +00:00
Cedric BAIL b17b7abfe0 eio: use eina_xattr.
SVN revision: 63438
2011-09-16 11:14:57 +00:00
Cedric BAIL 73edb0433f eio: more xattr support.
SVN revision: 60824
2011-06-29 17:28:55 +00:00
Cedric BAIL 20069184a5 eio: forgotten Eio.h decl.
SVN revision: 60820
2011-06-29 14:16:41 +00:00
Cedric BAIL f3e66ee718 eio: forgot the header.
SVN revision: 60690
2011-06-25 22:52:01 +00:00
Cedric BAIL 28c4f6f8f5 eio: eio doesn't modify data at all, so make it const.
SVN revision: 60635
2011-06-23 13:29:45 +00:00
Cedric BAIL def2382a91 eio: oops forgot to export that function.
SVN revision: 60601
2011-06-22 17:45:22 +00:00
Cedric BAIL d41e80a29c eio: add eio_file_container_get.
SVN revision: 59646
2011-05-24 10:41:37 +00:00
Cedric BAIL 1a699607f6 eio: add inotify backend and fix api.
Note: API/ABI of Eio_Monitor could be considered usable and need feedback.
Still lacking of proper fallback and windows port.


SVN revision: 58953
2011-04-27 10:27:07 +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 8fe5c5ce54 eio: make it easy to filter content during eio_dir_* operation.
SVN revision: 57631
2011-03-09 16:21:11 +00:00
Cedric BAIL fc2aaf9935 eio: fix issue on 32bits system.
SVN revision: 57626
2011-03-09 14:53:55 +00:00
Cedric BAIL c6cb315e35 eio: add eio_dir_stat_ls.
SVN revision: 57129
2011-02-17 15:59:07 +00:00
Michael BOUCHAUD 947b8db665 eio: move 'typedef enum' after 'enum' to compil with g++ (from Mikael Sans)
SVN revision: 55372
2010-12-08 14:35:37 +00:00
Cedric BAIL 581a3c66e2 * eio: fix API to match the rest of the EFL API.
SVN revision: 54504
2010-11-12 14:08:01 +00:00
Cedric BAIL 058deb3c1f * eio: add eio_file_stat_ls.
SVN revision: 54106
2010-11-02 17:08:00 +00:00
Cedric BAIL 09d09fe0ce * eio: inline accessor.
SVN revision: 53988
2010-10-29 12:58:04 +00:00
Cedric BAIL 9b279fa367 * eio: break Eio error callback API to match the rest of the API.
SVN revision: 53986
2010-10-29 12:36:43 +00:00
Cedric BAIL c0cf78da54 * eio: add small helper.
SVN revision: 53962
2010-10-28 14:50:24 +00:00
Vincent Torri 600053d7a9 [eio] improve documentation layout and add a tutorial for
eio_dir_copy()

SVN revision: 53704
2010-10-21 05:03:23 +00:00
Vincent Torri 3a5d43ea9c [eio] reorganize code like eina, clean up doc
SVN revision: 53688
2010-10-20 19:17:30 +00:00
Cedric BAIL 06ea9c415d * eio: add eio_file_chmod and eio_file_chown.
SVN revision: 53678
2010-10-20 16:42:45 +00:00
Cedric BAIL ff69a72f47 * eio: add eio_dir_unlink.
SVN revision: 53664
2010-10-20 13:48:13 +00:00
Cedric BAIL 80cbbc23a7 * eio: more doxy fix.
SVN revision: 53658
2010-10-20 12:20:06 +00:00
Vincent Torri 0304666261 improve doc. Now, cedric, it's up to you :p
SVN revision: 53308
2010-10-12 14:59:30 +00:00
Cedric BAIL 9e019c7227 * eio: report current operation during progress.
SVN revision: 53063
2010-10-05 14:55:47 +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 d287f127fd * eio: callback are allowed to modify their own data.
Don't know how I wrote this non sense.


SVN revision: 52189
2010-09-13 13:44:24 +00:00