Commit Graph

94 Commits

Author SHA1 Message Date
Cedric BAIL 486d214a31 eina: build back on FreeBSD.
SVN revision: 69293
2012-03-13 11:25:56 +00:00
Mike Blumenkrantz 14998f066d warn--
SVN revision: 69022
2012-03-07 19:52:21 +00:00
Cedric BAIL 4d1dc8ca35 eina: don't reopen file when file didn't change.
NOTE: we were leaking file at very high speed !


SVN revision: 68924
2012-03-07 10:40:49 +00:00
Vincent Torri a6770d97ff Eina: cosmetic (move eina_file_mmap_faulty to the 'global' part)
SVN revision: 68908
2012-03-07 08:58:55 +00:00
Cedric BAIL b693dd6035 eina: introduce Eina_Stat to prevent issue when building with different config option.
SVN revision: 68315
2012-02-23 11:45:25 +00:00
Cedric BAIL ddbf4f1252 eina: update info in eina_file_stat seems more usefull.
SVN revision: 68264
2012-02-22 11:50:29 +00:00
Cedric BAIL c461a7eed9 eina: add eina_file_stat helper function.
SVN revision: 68259
2012-02-22 10:24:11 +00:00
Vincent Torri 2b932abc9c Eina: formatting
eina_file_init() and eina_file_shutdown() are global symbols, not local ones


SVN revision: 67423
2012-01-21 08:23:23 +00:00
Sebastian Dransfeld 8be657aed8 eina: formatting
SVN revision: 67309
2012-01-19 00:36:05 +00:00
Cedric BAIL a1f2535799 eina: warning--.
SVN revision: 66801
2012-01-03 15:24:15 +00:00
Cedric BAIL edbee63134 eina: detect fault during Eina_File mmap memory access and improve Xattr functions.
SVN revision: 66799
2012-01-03 14:59:07 +00:00
Cedric BAIL a285a94120 eina: the new endless story of fixing header in all possible configuration.
SVN revision: 65974
2011-12-06 21:33:39 +00:00
Cedric BAIL 0d4c616dc5 eina: follow Vincent advice.
SVN revision: 65905
2011-12-05 14:25:25 +00:00
Cedric BAIL 1561954c05 eina: improve system header detection.
SVN revision: 65900
2011-12-05 13:57:10 +00:00
Vincent Torri 5e673a311f Eina: warning--
patch by Fabien Romano from OpenBSD


SVN revision: 65206
2011-11-14 22:08:02 +00:00
Youness Alaoui 187f4eee8b Eina: Port eina to the Ps3 by including Escape
SVN revision: 64778
2011-11-05 17:49:30 +00:00
Cedric BAIL e40386c4f9 eina: fallback for case where file system doesn't handle MAP_HUGETLB properly.
SVN revision: 64181
2011-10-19 16:09:14 +00:00
Carsten Haitzler 4364c5720c fd leak --
SVN revision: 63914
2011-10-07 17:47:55 +00:00
Gustavo Sverzut Barbieri 6ecdda5121 eina: remove couple of warnings
SVN revision: 63842
2011-10-05 20:00:29 +00:00
Cedric BAIL a8d945f0a6 eina: actually sanitize all file inserted in the cache.
SVN revision: 63789
2011-10-04 02:33:45 +00:00
Cedric BAIL d1999e9125 eina: add sub-second resolution correctness.
SVN revision: 63787
2011-10-04 02:04:40 +00:00
Cedric BAIL 49fa59342f eina: forgotten lock in eina_file.
SVN revision: 63786
2011-10-04 01:55:41 +00:00
Youness Alaoui bfda6af5e5 Eina: In eina_file_open, only set the CLOEXEC flag if system supports exec
SVN revision: 63462
2011-09-18 21:57:10 +00:00
Youness Alaoui 12b0bf3896 Eina: Always use fpathconfig and never assume NAME_MAX is defined
SVN revision: 63460
2011-09-18 21:56:54 +00:00
Cedric BAIL 0c6ed213ad eina: add eina_xattr.{c,h}.
SVN revision: 63412
2011-09-15 15:37:28 +00:00
Cedric BAIL 286252b18a eina: use eina safety check in eina_file.c.
SVN revision: 63409
2011-09-15 13:57:27 +00:00
Cedric BAIL 680170b3f9 eina: add XAttr support to eina.
SVN revision: 63408
2011-09-15 12:39:40 +00:00
Mike Blumenkrantz b45b6fb6af seriously guys.
null checks.
why are there still functions that don't have them after we've hit 1.0?


SVN revision: 62900
2011-08-28 06:30:51 +00:00
Mike Blumenkrantz c2d2867a2b fix segv from missing null check
SVN revision: 62320
2011-08-10 22:42:27 +00:00
Cedric BAIL 5d21b6699b eina: fix build on NetBSD.
NOTE: we need a fallback for shm_open that will work on BSD system.


SVN revision: 61324
2011-07-13 08:51:19 +00:00
Carsten Haitzler d926889559 add eina mmap safety handling.
SVN revision: 60976
2011-07-04 09:29:59 +00:00
Carsten Haitzler 6c96111e0a dont bloody cache files! all this will do is leak them forever. no
cache. JUSt a shared hash. ZERO speculative retention cache. it was
broken before anyway.

grrrrr..........



SVN revision: 60589
2011-06-22 12:47:12 +00:00
Cedric BAIL 5fa5eb95cd eina: make Eina_File thread safe.
SVN revision: 59995
2011-06-06 17:08:06 +00:00
Vincent Torri f0d24bcef1 Eina : eina_file : eina_file_size_get() should return a size_t
SVN revision: 59859
2011-06-01 06:54:49 +00:00
Cedric BAIL c9a4fc3054 eina: fix eina_file to be really usable.
SVN revision: 59470
2011-05-17 16:17:28 +00:00
Cedric BAIL 31e53c82bf eina: always put map in memory when requested and use HUGETLB when available.
SVN revision: 59366
2011-05-13 10:44:29 +00:00
Carsten Haitzler 3b167a62f5 populate optional.
SVN revision: 58792
2011-04-21 11:54:16 +00:00
Vincent Torri 2816a9b59d Eina: eina_file.c: use fcntl instead of O_CLOEXEC
SVN revision: 58649
2011-04-14 05:52:24 +00:00
Vincent Torri 644bf855f4 Eina: eina_file.c replace ACCESSPERMS, which is not protable, by its value
SVN revision: 58648
2011-04-14 05:39:09 +00:00
Carsten Haitzler cd1c9be1f9 errrr.. how about we DONT make every eina using app spew out:
ERR<23281>:eina eina_main.c:173 _eina_shutdown_from_desc() Problems
shutting down eina module 'file', ignored.

now there's a bright idea eh?



SVN revision: 58645
2011-04-13 21:50:23 +00:00
Vincent Torri 3d26976ef8 move doxy tag
SVN revision: 58641
2011-04-13 17:03:24 +00:00
Vincent Torri 4ae466a30c put __UNUSED__ where we usually put it : after the parameter name
SVN revision: 58638
2011-04-13 16:29:29 +00:00
Cedric BAIL 8a8153bf2d eina: add Eina_File API.
NOTE: the purpose of this API is to replace mmap user in the
EFL, share cache and more code across them. The potential user
are eet, evas, efreet, eio and enlil. More patch are needed for
them to use this infra. Help welcome :-)

NOTE2: this API also need more test and is waiting for some
more pthread infra before being thread safe. But at the end
it will be thread safe if eina thread safety is requested.


SVN revision: 58637
2011-04-13 16:15:30 +00:00
Carsten Haitzler 4ba040a35c more dox -> .h
SVN revision: 58425
2011-04-07 12:04:24 +00:00
Cedric BAIL 385e1b08f2 eina: refactoring.
SVN revision: 57993
2011-03-22 16:33:34 +00:00
Cedric BAIL b5e8b3d28f eina: better fix for large file.
SVN revision: 57627
2011-03-09 14:59:48 +00:00
Cedric BAIL e8ca19f09c eina: fix stat failure when size, blocks count or serial number didn't
fit in 32bits.


SVN revision: 57624
2011-03-09 14:49:35 +00:00
Vincent Torri f2474ddf7c revert non wanted changes
SVN revision: 55939
2011-01-06 18:26:40 +00:00
Vincent Torri 5a36e40473 move AC_GNU_SOURCE before libtool init
SVN revision: 55938
2011-01-06 18:19:42 +00:00
Gustavo Sverzut Barbieri ef5c356153 Use EINA_PATH_MAX where it makes sense.
All the access to Eina_File_Direct_Info::path should be using the
actual size (EINA_PATH_MAX) and not another constant (PATH_MAX).



SVN revision: 55403
2010-12-09 10:14:11 +00:00