Commit Graph

1359 Commits

Author SHA1 Message Date
Carsten Haitzler 1410e0e3b6 fix clang complaint:
http://dev.enlightenment.fr/~discomfitor/eina-2011-11-08/report-izvfa3.html#EndPath



SVN revision: 64973
2011-11-09 07:15:48 +00:00
Carsten Haitzler 0c778a4205 another spacing baddie -> fixed
SVN revision: 64972
2011-11-09 06:35:45 +00:00
Carsten Haitzler 40ecca4ce6 remove errant space.
SVN revision: 64971
2011-11-09 06:34:03 +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 6d9d15423a eina: don't hide symbol if we can build them in.
SVN revision: 64762
2011-11-05 14:01:18 +00:00
Vincent Torri fad8b29ec1 whitespace--
SVN revision: 64590
2011-10-31 23:45:22 +00:00
Vincent Torri a9c800a110 Eina: init TLS key...
SVN revision: 64589
2011-10-31 23:45:07 +00:00
Youness Alaoui 78268b076f Eina: Add Eina_TLS typedefs for win32 and void
SVN revision: 64583
2011-10-31 20:44:55 +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
ChunEon Park 07e6862922 eina/stringshare - get rid of white space
SVN revision: 64165
2011-10-19 08:36:42 +00:00
Sung W. Park fef1dc318f From: "Sung W. Park" <sungwoo@gmail.com>
"... I've created a resource context per thread using TLS.  Since there is no
TLS support in Eina, I've added 4 APIs for that as well.  Another patch has
been submitted but i'll just include it in here as well. ..."
   


SVN revision: 64120
2011-10-17 05:06:01 +00:00
Boris Faure 0d53d91b67 eina: add eina_strbuf_trim/rtrim/ltrim()
SVN revision: 64098
2011-10-15 12:56:27 +00:00
Mike McCormack 3e0c2d16dc eina: Hook clist into the top level documentation
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 64039
2011-10-13 07:30:34 +00:00
Mike McCormack 8ab7dd7390 eina: Document Eina_Clist
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 64038
2011-10-13 07:06:54 +00:00
Mike McCormack f7d3373df8 eina: Fix bug in eina_clist_element_init
Thanks to Naruto TAKAHASHI for pointing out the problem.

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 64037
2011-10-13 07:06:44 +00:00
Mike McCormack ff34e5a0a9 eina: Add eina_clist_element_is_linked()
Allows checking whether an entry is linked or not.

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 64029
2011-10-13 02:22:18 +00:00
Mike McCormack dd51737725 eina: Add Eina_Clist
A clist is an inlist with the following features:

 - allows removal of items without knowing which list they are in.
 - Two pointers per list item & list head

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 64007
2011-10-12 04:39:27 +00:00
Carsten Haitzler 4364c5720c fd leak --
SVN revision: 63914
2011-10-07 17:47:55 +00:00
Mike McCormack 3331e39a8f eina: Only declare _eina_tracking_lock with thread debugging
Hopefully fixes compilation on windows

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 63905
2011-10-07 05:56:51 +00:00
Mike McCormack d1bfb51324 Revert "[Eina] Use Eina_Lock and not pthread. Fix compilation on Windows."
SVN revision: 63877

Reverted due to the following build failure:

eina_main.c:117:16: error: conflicting types for ‘_eina_tracking_lock’
../../src/include/eina_inline_lock_posix.x:83:29: note: previous declaration of ‘_eina_tracking_lock’ was here
make[3]: *** [libeina_la-eina_main.lo] Error 1

_eina_tracking_lock is used for implementation of Eina_Locks, so cannot be an Eina_Lock

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 63904
2011-10-07 05:56:43 +00:00
Vincent Torri 32c2ed673b [Eina] Use Eina_Lock and not pthread. Fix compilation on Windows.
SVN revision: 63877
2011-10-06 06:34:39 +00:00
Boris Faure 3e2c4c377e eina: fix r63811
SVN revision: 63846
2011-10-05 21:09:10 +00:00
Gustavo Sverzut Barbieri 6ecdda5121 eina: remove couple of warnings
SVN revision: 63842
2011-10-05 20:00:29 +00:00
Vincent Torri 39f6f85798 fir leak in an example. patch by Guillaume 'Kuri' Friloux
SVN revision: 63841
2011-10-05 14:29:40 +00:00
Boris Faure e708e12fa9 eina: eina_strbuf_append_length(sb, s, 0) is possible
also fix typo in doc, remove a trailing space and myself to authors

SVN revision: 63811
2011-10-04 20:47:15 +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 7efc00819a eina: prevent ABI break when turning on/off threads debugging.
SVN revision: 63788
2011-10-04 02:33:00 +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
Vincent Torri 86ce0f6be9 use another m4 macro for __atribute__
SVN revision: 63651
2011-09-29 06:07:40 +00:00
Lucas De Marchi d091773382 eina: provide a C++-compatible version of _EINA_INLIST_CONTAINER
In C++ we can't assign a void pointer to another type pointer without casts. We
now rely on typeof() operator *when using C++*.

We may provide another version later for those compilers without typeof()
support.



SVN revision: 63568
2011-09-23 17:02:02 +00:00
Cedric BAIL 9101e46ae6 eina: correctly track lock when waiting for condition.
SVN revision: 63566
2011-09-23 13:17:12 +00:00
Vincent Torri c23c2982be another useless header file
SVN revision: 63547
2011-09-22 20:36:08 +00:00
Vincent Torri 31fad2deac useless header file
SVN revision: 63546
2011-09-22 20:33:58 +00:00
Carsten Haitzler 495f658861 support mtrace in eina at runtime. easier now to enable via env vars.
SVN revision: 63498
2011-09-20 11:28:25 +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 2495880ac0 Eina: mmap: Use HAVE_SIGINT_T instead of ifdefs on WIN32
SVN revision: 63461
2011-09-18 21:57:02 +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
Vincent Torri 2b7649e676 add sys/types.h check
SVN revision: 63455
2011-09-18 10:13:29 +00:00
Vincent Torri d2bc8ef3a5 comments again
SVN revision: 63447
2011-09-17 07:13:02 +00:00
Vincent Torri 22fdf89808 whitespaces-- and comments
SVN revision: 63446
2011-09-17 06:29:23 +00:00
Vincent Torri 7de5df4f3a add @since to doc type
SVN revision: 63445
2011-09-17 06:24:00 +00:00
Youness Alaoui d9ddb7aa4c Eina: Disable xattr calls when xattr api is not available
SVN revision: 63429
2011-09-16 07:08:37 +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
Cedric BAIL 60d03bc2d2 eina: fix eina inlist sorted insert (with and without state)
SVN revision: 63398
2011-09-14 22:04:37 +00:00
Vincent Torri 6f054d2c0b clean generated files
SVN revision: 63395
2011-09-14 19:08:50 +00:00
Youness Alaoui 4340f75b0b Eina: Remove 'unused var' warnings from eina_inline_lock_void include
SVN revision: 63340
2011-09-12 03:44:04 +00:00
Cedric BAIL a0fab4b871 eina: threads debugging back to work.
SVN revision: 63266
2011-09-07 10:16:27 +00:00