path: root/src/lib/eina (follow)
AgeCommit message (Collapse)Author
2013-10-11eina: use Eina_Spinlock in Eina_Stringshare instead of Eina_Lock.Cedric Bail
2013-10-11eina: use Eina_Spinlock for Eina_Log.Cedric Bail
2013-10-11eina: add Eina_Spinlock API.Cedric Bail
2013-10-04eina: handle more compiler strangeness for bswap.Cedric Bail
So current order is : - __builtin_bswap*() for compiler that provide it - _byteswap_*() for MSVC - bswap_*() for older Linux and some BSD - own C code when everything else fall appart. The reason for this order is that the builtin will always generate the best assembly possible. On my system bswap_*() are not changing in all version to the best solution as they are almost equivalent to the C macro.
2013-10-04eina: in case of an error we should exit not continue and manipulate dead data.Cedric Bail
This should fix a warning catched by LLVM/Clang.
2013-10-04eina/eina_file - fix eina_file_map_lines() to not drop of one character in ↵ChunEon Park
the last line.
2013-10-02eina: add infrastructure to handle more CPU and compiler builtin information.Cedric Bail
2013-09-30Eina inlist: Removed redundant if in EINA_INLIST_FOREACH_SAFE.Tom Hacohen
If it is not NULL, so will EINA_INLIST_GET. As that returns a pointer to an area after it.
2013-09-26eina: check if the complete hash match before checking if the key match ↵Cedric Bail
during children walk. This give an interesting +15% for all Eina_Hash user whatever hash function they use. The inlined djb2 is still the fastest one and all other give very close result. This idea was given by Lucas De Marchi's blog : I do believe that rolling a crc32 implementation as a hash function should give interesting result in our test.
2013-09-25Revert "eina: add functions to alloc strings from a printf fmt"Lucas De Marchi
This reverts commit b5fce696c743c50ea0a049c4f879756b5ed231d4 and fixes to NEWS and @since that came later. These functions are pretty trivial and their functionality can be obtained with asprintf() and snprintf. The first is not available only on windows, but there's an implementation for that one on Evil, that should be used instead.
2013-09-25eina: add EINA_INLIST_REVERSE_FOREACH_FROM.Tae-Hwan Kim
2013-09-24eina: fix @since to be a proper revision number.Cedric Bail
2013-09-24eina: add functions to alloc strings from a printf fmtJorge Zapata
2013-09-24eina: add a substraction in rectangles and more helpersJorge Zapata
Also add functions to cut a rectangle in the different lengths/coordinates. Add helper macros to printf a rectangle
2013-09-24eina: add double_from/to and helper defines in f16p16Jorge Zapata
2013-09-08eina - remove deadlock from share-common + remove extra lock/unlockCarsten Haitzler (Rasterman)
2013-09-05eina - stringshare - strlen already would deal with optimization casesCarsten Haitzler (Rasterman)
2013-09-03eina: forgotten lock, thanks coverity.Cedric Bail
2013-09-02eina: don't try close dummy handle.Cedric Bail
2013-09-02eina: fix typo and use the right refcount.Cedric Bail
2013-08-27eina: Fix invalid check on Eina_File::global_mapJean-Philippe Andre
global_map is set to MAP_FAILED in case of error after mmap. So, it is initialized to MAP_FAILED and considered valid otherwise. So, we don't want to set the map to NULL or even check again NULL.
2013-08-20Eina.h: bump up year.Daniel Juyung Seo
2013-08-12eina: remove a warning.Cedric Bail
2013-08-09eina: change eina_file_virtualize to be able to provide a fake name.Cedric Bail
2013-08-08eina module - minor addition ot allowing lazy loading if env var setCarsten Haitzler (Rasterman)
2013-08-08eina: another fix for windows build.Cedric Bail
2013-08-08eina: fix compilation of Eina_File on windows.Cedric Bail
2013-08-06eina-file - adapt to bsd version of MADV_REMOVECarsten Haitzler (Rasterman)
2013-08-06eina: fix build on FreeBSD.Cedric Bail
2013-08-05Fix eina_file_virtual_map_new function (/me glares at Frenchie).Chris Michael
- Spank Cedric !!!!! NB: How about we actually fill in "map" after allocation ?? NB: Previously we would malloc "map" and immediately exit without filling it in, without adding it to the hash....nothing. Just allocate and get out. Bad Frenchie !!! Signed-off-by: Chris Michael <>
2013-07-31eina: add eina_file_refresh().Cedric Bail
2013-07-31eina: add support for in memory only Eina_File.Cedric Bail
2013-07-29eina: seems like all the compiler we support do support __typeof__.Cedric Bail
2013-07-26eina: use __typeof__ for public headers to build applications with c++0x.Ryuan Choi
2013-07-16fix clang bad free complaint to deal with data magic valueCarsten Haitzler (Rasterman)
2013-07-15eina: fix Eina_Log restart.Cedric Bail
2013-07-15eina_stringshare.h: added more description to eina_stringshare_add_length().Daniel Juyung Seo
2013-07-11eina: add eina_tiler_empty.Cedric Bail
2013-07-11eina: Eina_Tiler formatting.Cedric Bail
2013-07-11eina: don't insert the same rectangle multiple time in a row.Cedric Bail
2013-07-11eina: let's not complain for nothing.Cedric Bail
2013-07-08Initialize 'd' to -1 so we can check on 'end' if it needs closingChris Michael
Signed-off-by: Chris Michael <>
2013-07-08If we open a file for copying, then we should also Close that fileChris Michael
when the copy is done. NB: Fixes Coverity CID1039181 Signed-off-by: Chris Michael <>
2013-07-08+eina_tiler_area_size_getMike Blumenkrantz
also fix docs for eina_tiler_area_size_set
2013-07-06eina: add eina_file_map_populate()Carsten Haitzler (Rasterman)
2013-07-05eina: revert that simplification as compiler are now to dumb to handle it.Cedric Bail
2013-07-04eina: improve Eina_Tiler to be in par with Evas_Tilebuf.Cedric Bail
2013-06-25eina_list: Avoid NULL pointer deref in eina_list_shuffle.Stefan Schmidt
If we have a valid but empty, n = 0, list we never enter the loop and shuffled_last might still be NULL. Avoid this case by checking explicitly for n = 0 before.
2013-06-20efl: formattingSebastian Dransfeld
2013-06-20efl: formattingSebastian Dransfeld