Commit Graph

295 Commits

Author SHA1 Message Date
Vladislav Brovko 7584a7e84d eina: add eina_file_mkdtemp and tests for Eina_File.
Test added for :
eina_file_direct_ls_simple
eina_file_ls_simple

Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
2013-03-27 22:45:34 +09:00
Cedric BAIL 6f6d425f0d eina: do not report timing for already stopped domain. 2013-03-27 22:37:15 +09:00
Cedric BAIL 1d5692baa6 eina: add eina_log_timing. 2013-03-27 21:43:45 +09:00
Cedric BAIL 70f8bd50eb eina: add eina_file_mkstemp. 2013-03-25 18:45:42 +09:00
Cedric BAIL 7dfa9af0f4 eina: add some documentation for Eina_Cow. 2013-03-25 18:45:42 +09:00
Cedric BAIL 4a584fcc32 eina: correctly advertise to valgrind Eina_Cow memory size. 2013-03-22 20:15:05 +09:00
Boris 'billiob' Faure 61c50e9d1c eina-cow: fix valgrind instrumentation 2013-03-20 21:18:49 +01:00
Daniel Willmann 7f5ea979c3 Hush clang warnings for EINA_INLIST_FOREACH_SAFE
As cedric said a couple years ago in commit 17c820ae:
"This initialisation is not needed, but will reduce llvm warning noise."

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-03-20 17:05:27 +00:00
Jérémy Zurcher b4cad3c370 eina: add eina_list_shuffle
Summary: add uniform shuffle to Eina_List

Reviewers: cedric

Differential Revision: https://phab.enlightenment.org/D27
2013-03-20 12:19:13 +01:00
Jérémy Zurcher d0f3357f77 TES
Conflicts:
	src/lib/eina/eina_list.c
	src/lib/eina/eina_types.h
2013-03-20 11:48:44 +01:00
Cedric BAIL a40c41b1bd eina: fix use of Valgrind macro in Eina_Cow. 2013-03-20 11:01:03 +09:00
Cedric BAIL e02bb36e3a eina: improve speed of Eina_Cow.
* Use an Eina_Hash for the garbage collector list.
* Turn off garbage collection on object that are unlikely to match.

This patch make 1.8 as fast as 1.7 again.
2013-03-20 10:59:56 +09:00
Tom Hacohen d84de4adf1 Disable cow magic in dev profile, instead of a hack in the source.
Well played cedric, making me revert your patch and thus breaking the build.
2013-03-19 15:45:44 +00:00
Tom Hacohen 60c9ba4a8f Revert "eina: reenable them as it was a bug from Tasn."
This reverts commit a9041777d4.

Re-disable them as it was a bug from Cedric.

This is the cause for the huge slowdown.
2013-03-19 15:37:55 +00:00
Cedric Bail a9041777d4 eina: reenable them as it was a bug from Tasn. 2013-03-20 00:16:12 +09:00
Cedric Bail 68213b7f78 eina: disable Eina_Cow magic completely for the moment. 2013-03-19 23:42:12 +09:00
Mike Blumenkrantz ef3c57aa08 fix magic failure in eina_value_array_count when array has not been allocated 2013-03-19 14:07:28 +00:00
Stefan Schmidt b3c1a6c1c5 eina: Add execinfo.h to avoid implicit declarations.
If we have backtrace support we should also add the header before
using the backtrace and backtrace_symbols_fd functions.
2013-03-19 08:38:11 +00:00
Cedric Bail 9e745d4a2c efl: add macro to swap Windows and Unix path separators. 2013-03-19 15:15:46 +09:00
Cedric BAIL 5f2ec224e9 eina: speed up Eina_Cow.
* Use Eina_Hash instead of Eina_List to remember what memory did change.
* Turn off Eina_Cow use of Eina_Magic when doing a release as it is only
used internaly and we should not make any mistake there.
2013-03-19 15:11:50 +09:00
Daniel Juyung Seo 0dba1e9b8a eina eina_inlist.c: fixed formatting while reading the code. 2013-03-17 19:00:49 +09:00
Cedric Bail 06ce7c2ede eina: add support for Systemd journal in Eina_Log.
NOTE: if you start your process with Systemd it will automatically use
Journald API. You will need to overide the default logging function to
change that behavior.
2013-03-16 22:49:32 +09:00
Cedric BAIL 6b4ba5cead eina: a little bit sleepy, put that in the right file. 2013-03-15 16:47:05 +09:00
Cedric BAIL 352ed3cfa4 eina: add evil in. 2013-03-15 16:41:46 +09:00
Cedric BAIL 0dde9a6574 eina: share eina_file_copy code accross platform. 2013-03-15 16:05:39 +09:00
Cedric BAIL e70502f1a1 eina: improve portability of Eina_File. 2013-03-15 11:05:25 +09:00
Daniel Willmann f90726cf35 Revert "eina: improve portability of Eina_File."
This reverts commit c002d113f1.

This commit reliably breaks builds with clang. Please test with
export CC=clang before you commit again.

export CC=clang
./autogen.sh --enable-multisense && make -j 10

The error Jenkins gets (I confirmed locally):

/bin/bash: line 1: 13549 Segmentation fault      (core dumped) EFL_RUN_IN_TREE=1 ./bin/edje/edje_cc -id . -fd . -id ./tests/emotion/data tests/emotion/data/theme.edc tests/emotion/data/theme.edj
2013-03-14 17:21:48 +00:00
Cedric BAIL 49887271d2 eina: remove duplicated declaration. 2013-03-14 21:00:03 +09:00
Cedric BAIL c002d113f1 eina: improve portability of Eina_File. 2013-03-14 20:52:37 +09:00
Cedric BAIL 81f739da84 eina: improve usability of Eina_Tmpstr.
Added eina_tmpstr_add_length and eina_tmpstr_strlen.
2013-03-14 20:52:37 +09:00
Cedric Bail 709b975ca3 check fchmod existence for portabilityy 2013-03-13 17:04:32 +09:00
Vladislav Brovko 8cac00fc66 eina: prevent space stripping of CDATA in Eina_Simple_XML.
Prevent stripping spaces (after [CDATA[ and before ]]>) in XML like:
<![CDATA[ <foo>bar</foo> ]]>

Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
2013-03-11 11:03:05 +09:00
Cedric Bail 8d5e33077e efl: use HAVE_FCNTL around call to fcntl. 2013-03-10 23:10:27 +09:00
Cedric Bail 5fc7829c96 eina, evil: fix warning on 64 bits 2013-03-10 20:32:53 +09:00
Daniel Juyung Seo 5d20302c35 eina eina_hash.h,eina_list.h: fixed a typo.
ilustrate -> illustrate
2013-03-09 14:38:36 +09:00
Cedric BAIL 1c9470e071 eina: improve logging and debugging infra for Eina_Cow. 2013-03-04 11:08:21 +09:00
Cedric BAIL fde00d91a8 eina: eina_strlcat now work with NULL src. 2013-02-28 07:49:16 +09:00
Daniel Willmann 7f63a74251 eina: Lets allocate space for the terminating \0 as well
Off-by-1 in string copy, found by klocwork

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-02-18 13:18:04 +00:00
Cedric BAIL 884c31df41 eina: fix siginfo detection.
Signal are not a portable way to detect memory mapped file corruption.
So let's disable it for system without signal and later find a way to
detect it on other system.
2013-02-18 16:46:52 +09:00
Cedric BAIL 1e916e44f7 eina: improve Eina_Clist support for 64bits system.
This warning are triggered by a cross compilation as previously stated.
2013-02-16 10:54:36 +01:00
Cedric BAIL ed58d0dd05 efl/eina: let's do all include.
SVN revision: 83833
2013-02-12 01:42:47 +00:00
Stefan Schmidt 6467f60395 efl/eina_xattr: Fix memory leak in eina_xattr_value_ls.
In the error case we freed the iterator but not the attribute.

SVN revision: 83791
2013-02-08 15:49:59 +00:00
Daniel Juyung Seo 48a06f1252 eina eina_inlist.c: Fixed formatting while reading the code.
SVN revision: 83714
2013-02-07 08:03:44 +00:00
Cedric BAIL e684f5a823 efl/eina: Eina_Tiler take tile size into account.
SVN revision: 83708
2013-02-07 07:32:45 +00:00
Cedric BAIL d9cafa2052 eina: disable randomisation for Eina_Hash superfast.
SVN revision: 83698
2013-02-07 03:07:32 +00:00
Cedric BAIL 1cb8c3c006 efl/eina: fix map leak in Eina_File.
SVN revision: 83668
2013-02-06 09:28:00 +00:00
Cedric BAIL 01dba3fbc0 efl/eina: prevent denial of service on eina_hash.
Thanks goes to Thiago Macieira for sharing the issue. This
is the result of the cross-desktop talk at fosdem. A lot more
comming in the futur !


SVN revision: 83578
2013-02-04 07:52:56 +00:00
Mike Blumenkrantz afa9c0ab97 fix typo in stringshare_refplace doc
SVN revision: 83565
2013-02-01 12:57:44 +00:00
Mike Blumenkrantz 1f9a84b9cc add eina_stringshare_refplace(): same as replace(), but calls ref instead of add
also fixed a small doc error


SVN revision: 83549
2013-02-01 11:12:33 +00:00
Mike Blumenkrantz bfc76668f4 finally addressing complaints regarding eina_list_last_data_get() not being a function. well now it is
SVN revision: 83547
2013-02-01 11:02:53 +00:00
Cedric BAIL 6414b0864f efl/eina: fix some memleak and improve speed of eina_cow_memcpy.
SVN revision: 83375
2013-01-28 00:22:21 +00:00
Boris Faure fb3c280a95 efl: more valgrind related fixes on eina_cow
SVN revision: 83311
2013-01-24 21:42:18 +00:00
Boris Faure 8d13c5ce3e efl: eina_cow: fix some valgrind instrumentation
SVN revision: 83308
2013-01-24 21:06:41 +00:00
Cedric BAIL eff597ea1e eina: fix some warning.
SVN revision: 83196
2013-01-24 02:58:00 +00:00
Cedric BAIL 05b4d1b3cd efl/eina: improve Eina_Cow.
- Add valgrind macro arround Eina_Cow internal data.
- Add a #define for Eina_Magic on Eina_Cow returned pointer.
- Fix a bug done during free on a mempool data (Need to improve
mempool to catch this one more easily next time).


SVN revision: 83191
2013-01-24 01:42:20 +00:00
Cedric BAIL d282e075ef efl/eina: don't over align when the structure is already aligned.
SVN revision: 83189
2013-01-24 01:38:12 +00:00
Cedric BAIL 65344d7a7f efl/eina: let us know where that wrong Eina_Magic was in memory.
SVN revision: 83188
2013-01-24 01:37:20 +00:00
Cedric BAIL 4d8dffc411 efl: remove useless code.
SVN revision: 83065
2013-01-22 09:58:36 +00:00
Cedric BAIL 94b31ce5da efl: simplify logic of eina_cow.
SVN revision: 83051
2013-01-22 03:52:55 +00:00
Cedric BAIL a102b14686 efl: not sure of that one, but remove use of eina_safety_check in inline function.
SVN revision: 83050
2013-01-22 02:14:57 +00:00
Cedric BAIL d32ee023e3 efl: missing deprecated user.
SVN revision: 83049
2013-01-22 02:14:07 +00:00
Cedric BAIL 336e0c5e38 efl: deprecate eina_unicode_utf8_get_next, add eina_unicode_utf8_next_get.
SVN revision: 83048
2013-01-22 02:00:55 +00:00
Cedric BAIL 066543089d efl: inline eina_unicode_utf8_get_next.
SVN revision: 83035
2013-01-21 09:37:14 +00:00
Cedric BAIL 5bd8b33906 efl: add eina_cow helper macro.
SVN revision: 83025
2013-01-21 03:11:29 +00:00
Cedric BAIL 41b70693b7 efl: fix leak in eina_cow.
Patch by Paulo Alcantara <pcacjr@zytor.com>.


SVN revision: 83014
2013-01-20 11:02:48 +00:00
Gustavo Sverzut Barbieri 5f8c760406 fix eina_binshare_add_length() using EINA_PURE.
Amazingly this was caught by a test (eina_binshare_small) that was
failing... Who said we didn't had test?! :-P



SVN revision: 82946
2013-01-17 20:10:15 +00:00
Cedric BAIL c8ff22bf5b efl: let's be nice on NULL.
SVN revision: 82930
2013-01-17 10:29:31 +00:00
Cedric BAIL 515282006f efl: Add Eina_Cow_Data...
SVN revision: 82923
2013-01-17 06:51:35 +00:00
Cedric BAIL c7aead6fdc efl: fix cow after review by k-s.
NOTE: I didn't find a way to tell valgrind that some memory is read only.


SVN revision: 82742
2013-01-14 03:34:19 +00:00
Gustavo Sverzut Barbieri e21bfbbbb2 eina: add missing ifdef around splice code.
SVN revision: 82735
2013-01-14 00:00:37 +00:00
Lucas De Marchi 4af2647d05 efl: remove check for libgen.h
SVN revision: 82582
2013-01-10 20:25:48 +00:00
Lucas De Marchi 23b741699f efl: remove check for inttypes.h and stdint.h
SVN revision: 82580
2013-01-10 20:25:39 +00:00
Lucas De Marchi f60bfe38d6 efl: Remove check for siginfo.h and siginfo_t
SVN revision: 82579
2013-01-10 20:25:35 +00:00
Lucas De Marchi db395ef7eb efl: Remove check for unistd.h
* unistd.h: is very useful, very old and very standard.



SVN revision: 82577
2013-01-10 20:25:26 +00:00
Lucas De Marchi 3dc661e710 efl: Remove check for strings.h
* strings.h: is very useful, very old and very standard. The only place
that checks for that is simple_xml_parser and I have no idea why



SVN revision: 82576
2013-01-10 20:25:21 +00:00
Gustavo Sverzut Barbieri 8ac159bfe2 efl/eina_prefix: whitespace cleanup as pointed by kuri at #edevelop
trailing whitespacesd and mixed tabs (old style) are gone.


SVN revision: 82470
2013-01-09 16:00:39 +00:00
Gustavo Sverzut Barbieri 37ab81a620 efl/eina_prefix: fix _try_proc() location.
_try_proc() is how to find a symbol based on /proc/self/maps, not
related to argv0.

change _try_proc() to ifdef inside... avoiding the need to ifdef at
definition and call site.



SVN revision: 82469
2013-01-09 15:57:28 +00:00
Gustavo Sverzut Barbieri da5a568f68 efl/eina_prefix: simplify common prefix lookup.
SVN revision: 82467
2013-01-09 15:46:05 +00:00
Gustavo Sverzut Barbieri ba461e9467 efl/eina_prefix: use eina_safety to be loud on NULL pointers.
SVN revision: 82466
2013-01-09 15:38:42 +00:00
Gustavo Sverzut Barbieri 2f49e495ee efl/eina_prefix: cleanup and review logs.
there shouldn't be behavior changes at this point, just minor cleanups
and simplifications, particularly to the log.



SVN revision: 82464
2013-01-09 15:21:40 +00:00
Gustavo Sverzut Barbieri 65aae8f181 efl/eina: fix debian multilib detection without magic file.
The algorithm will now consider valid bin, data orlocale as well if
magic file was not provided.



SVN revision: 82429
2013-01-08 23:57:14 +00:00
Cedric BAIL 0e50f122e5 efl: Add eina copy on write infrastructure.
SVN revision: 82396
2013-01-08 09:17:56 +00:00
Jérémy Zurcher 1424ac7d4d From: Jérémy Zurcher <jeremy@asynk.ch>
Subject: [E-devel] 2 steps eina_share_common_del speed up

builtin node is never unlinked even if empty, always is the last of the queue,
so that it can be used to get a pointer to head.
      
cost: never unlink or promote builtin node.
benefit: no need to hash and search rbtree to unlink an empty node,
only to remove an empty head.

store full hash in Eina_Share_Common_Head, so we only hash once
use 8 lower bits as node hash, use next 8 bits as bucket index.
    
cost: have to apply 0xFF mask on hash in rbtree callbacks.
benefit: no need to hash when removing an empty head.
        


SVN revision: 82161
2013-01-04 08:41:47 +00:00
Gustavo Sverzut Barbieri 0a2d116119 efl: eina_alloca.h to simplify alloca() usage.
having to replicate 18 lines per file just to access alloca() is
insane. Let's do that in Eina.h and avoid that crap :-/



SVN revision: 82082
2013-01-03 15:10:34 +00:00
Gustavo Sverzut Barbieri 43eb232d38 oops: remove printf
SVN revision: 81943
2012-12-31 23:42:25 +00:00
Gustavo Sverzut Barbieri 6ae6f925a4 efl: add eina_file_copy()
it's useful to copy file from one place to another and this will be
used in eio' s implementation.

NOTE: did not use mmap here as mmap faults may be cumbersome to handle
(Eina_File itself does that, but in a nasty way) and the
implementation would be severely different as there is no Eina_File
from FD, and there is no way to inject custom memory/fd into the
Eina_File's fault handling. The performance would not be that
different anyways and the splice() is already in there for systems
with good performance (read: Linux).



SVN revision: 81942
2012-12-31 23:17:18 +00:00
Gustavo Sverzut Barbieri 678727aae4 efl: missing api for xattr.
SVN revision: 81941
2012-12-31 21:05:58 +00:00
Gustavo Sverzut Barbieri 9161f83a3e efl: make xattr stuff work.
* fix eina_xattr_value_ls() and eina_xattr_value_fd_ls() to not loop
   infinitely.

 * NULL terminate the retrieved xattr values, at least they'll be
   easier to handle in our programs and less error prone.



SVN revision: 81940
2012-12-31 20:41:54 +00:00
Gustavo Sverzut Barbieri 09748cfb15 efl: beef thread documentation and error reporting.
eina_thread_join() is nasty and didn't report errors :-(

I'm using Eina_Error here, but it's global to the application and not
thread-local. Maybe we should make eina_error_get() and
eina_error_set() thread-local storage?



SVN revision: 81936
2012-12-31 17:26:33 +00:00
Gustavo Sverzut Barbieri 4668d04f04 efl: cleanup HAVE_THREADS and pthread usage outside of eina.
Eina now abstracts threads, so use that.

the touched files had the EFL_HAVE_THREADS as it's mandatory now.



SVN revision: 81935
2012-12-31 16:14:40 +00:00
Cedric BAIL 209347f148 efl: rename eina_inarray_add to eina_inarray_grow.
SVN revision: 81918
2012-12-31 01:27:58 +00:00
Cedric BAIL 375be85b27 efl: add a way to allocate without memcpy data in an Eina_Inarray.
SVN revision: 81913
2012-12-31 00:05:02 +00:00
Gustavo Sverzut Barbieri 2608f68571 efl/docs: clean-up and make it more uniform.
now unified docs are bit more uniform in their start pages, overall
improved but much to do :-(



SVN revision: 81851
2012-12-28 23:26:05 +00:00
Gustavo Sverzut Barbieri e86d9e0dd9 efl/eina: fix doc for content access
SVN revision: 81831
2012-12-28 19:08:42 +00:00
Cedric BAIL 0d86917bbe efl: when you remove option at least make the default sane or don't do it.
SVN revision: 81731
2012-12-27 06:46:29 +00:00
Mike Blumenkrantz f5a98df8de eina_magic_fail now only ERRs on NULL instead of CRI, making debugging much easier
SVN revision: 81666
2012-12-24 09:16:56 +00:00
Boris Faure d7b55afca2 eina: fix code indentation
SVN revision: 81660
2012-12-23 17:30:56 +00:00
Jonas M. Gastal a6b491fc01 efl: Created Eina group and added existing Eina groups to it.
SVN revision: 81290
2012-12-18 18:38:25 +00:00
Jonas M. Gastal d41d76ca38 efl: Modified section names as doxygen reuses titles for same named sections in different pages.
SVN revision: 81279
2012-12-18 16:18:28 +00:00
Jonas M. Gastal 65a7188905 efl: Unifying authors page.
SVN revision: 81277
2012-12-18 16:18:19 +00:00
Jonas M. Gastal 6ecaa33f22 efl: Adding a unified main page that links to the "mainpage" of libs.
SVN revision: 81273
2012-12-18 16:12:56 +00:00
Cedric BAIL 498b46802c eina: fix Eina_Barrier when pthread doesn't provide one.
Patch by Ulisses Furquim <ulisses@profusion.mobi>


SVN revision: 80907
2012-12-14 02:18:02 +00:00
Cedric BAIL 88ba56d9d5 efl: don't leak fd on exec.
SVN revision: 80434
2012-12-07 11:01:41 +00:00
Gustavo Sverzut Barbieri 81bd007e5b efl: share HAVE_ATFILE_SOURCE between eina_file, ecore_file...
SVN revision: 80391
2012-12-06 21:15:30 +00:00
Jérémy Zurcher 9aa23128b6 [eina] path sanitizing now takes care of '/./' and
breaks loop on '/..$'



Patch by: Jérémy Zurcher <jeremy@asynk.ch>



SVN revision: 79449
2012-11-19 13:13:31 +00:00
Gustavo Lima Chaves a4b2a48dc0 [eina] Better pretty printing of eina_value timeval buddies.
SVN revision: 79154
2012-11-12 12:26:07 +00:00
Mike Blumenkrantz 43eb9749ab @since for eina_list_last_data_get
SVN revision: 79149
2012-11-12 10:53:10 +00:00
Mike Blumenkrantz 7ba993749d add eina_list_last_data_get() macro to simplify calling eina_list_data_get(eina_list_last())
SVN revision: 79142
2012-11-12 09:58:48 +00:00
Vincent Torri 650d3d723c Eina: Fix build on Solaris 10
Patch by Robert David


SVN revision: 79085
2012-11-10 08:35:11 +00:00
Vincent Torri 60bdd4c22e unused variable
SVN revision: 79067
2012-11-09 21:35:03 +00:00
Vincent Torri db5c257d1a Eina: Compilation on cygwin
Patch by Yaakov Selkowitz, thanks :)


SVN revision: 78953
2012-11-07 00:48:10 +00:00
Vincent Torri 58a9a0ad57 merge: don't use recursive subdirs. Compilation should be faster.
Please check.

note1: Only lib and bin for now, but should be extended to other stuff
note2: distcheck does not work because eo_suite is failing.


SVN revision: 78758
2012-11-01 12:56:52 +00:00
Vincent Torri 0b211e0c20 eina: formatting
SVN revision: 78756
2012-11-01 12:36:20 +00:00
Cedric BAIL 4cf317b877 eina: fix typo.
SVN revision: 78586
2012-10-28 13:02:14 +00:00
Cedric BAIL 5fd68084c9 eina: try to fix my own mess.
SVN revision: 78585
2012-10-28 12:10:36 +00:00
Vincent Torri 124e0d4afd merge: add a holdall variable
SVN revision: 78503
2012-10-26 06:57:11 +00:00
Vincent Torri aac3e95ccf merge: -Wl,--enable-auto-import is useless with recent versions of gcc on Windows
SVN revision: 78495
2012-10-25 22:01:28 +00:00
Vincent Torri ea213c2ea4 fix++
SVN revision: 78473
2012-10-25 21:25:59 +00:00
Vincent Torri e082ab0e74 Eina: add affinity to win32 code.
It's not working yet:
 * eina_thread.c:152:33: error: 'index' undeclared (first use in this function)
 * eina_thread.c:295:4: warning: passing argument 3 of '_eina_thread_win32_create' from incompatible pointer type [enabled by default]

also:

 * line 142, is it normal that we call eina_list_append() with tw being NULL ?
 * is what I did in the close_thread label correct ?


SVN revision: 78416
2012-10-25 05:21:58 +00:00
Vincent Torri 77d90bd45e merge: pass directly to the preprocessor the Windows macro instead of using autotools
SVN revision: 78350
2012-10-23 05:43:57 +00:00
Nicholas Hughart 3b8464fa83 Backport 78258/78259 to fix Eina amalgamation build.
SVN revision: 78260
2012-10-19 16:19:33 +00:00
Sebastian Dransfeld 35d28817db eina: Always do opendir first
SVN revision: 78238
2012-10-19 09:03:14 +00:00
Carsten Haitzler 786544b73d fix dirp leak
SVN revision: 78235
2012-10-19 08:18:59 +00:00
Cedric BAIL 97dc017571 efl: change a little bit API.
SVN revision: 78229
2012-10-19 07:13:08 +00:00
Cedric BAIL 903bbfba82 efl: add Eina_Thread API.
SVN revision: 78225
2012-10-19 05:47:33 +00:00
Cedric BAIL 4b14ea628c eina: handle properly case where str != NULL and slen == 0
SVN revision: 78222
2012-10-19 04:38:08 +00:00
Cedric BAIL 7a132e9c08 efl: backport r78215.
SVN revision: 78217
2012-10-19 01:51:07 +00:00
Cedric BAIL df8fb6d989 efl: backport r78213.
SVN revision: 78216
2012-10-19 01:49:06 +00:00
Cedric BAIL c93ae85eb4 efl: backport r78209.
SVN revision: 78211
2012-10-19 01:31:22 +00:00
Sebastian Dransfeld b6add7a518 eina: Check if we can open dir first
SVN revision: 78172
2012-10-18 09:12:14 +00:00
Carsten Haitzler afdd3f4a39 add tmpstr to efl eina tree... this is for the future so not going
into eina tree.



SVN revision: 78112
2012-10-17 10:24:03 +00:00
Carsten Haitzler 42a59387a6 add eina barrier to efl tree.
SVN revision: 78100
2012-10-17 03:55:35 +00:00
Gustavo Sverzut Barbieri adfcc2112e efl: cleanup unused conditional and always-enabled features.
SVN revision: 77817
2012-10-10 21:32:45 +00:00
Gustavo Sverzut Barbieri 3cf32cca3f efl: 'fix' support for exotic library.
it's still not merged into EFL single tree, but once it is we should
use "HAVE_EXOTIC" define to work with it.

Before we had: EINA_HAVE_EXOTIC (not used), HAVE_EXOTIC_H (used by
eina_module.c). Since the other libs are all defined as HAVE_LIBNAME,
we're using HAVE_EXOTIC everywhere now.



SVN revision: 77816
2012-10-10 21:24:22 +00:00
Gustavo Sverzut Barbieri 3acb5dde8b efl: remove EINA_HAVE_ON_OFF_THREADS support.
it's still in the code, but not configurable anymore. We may remove it
later if not really needed.



SVN revision: 77802
2012-10-10 20:30:39 +00:00
Gustavo Sverzut Barbieri a6acf1b2d0 efl: simplify threads step 1 - make it mandatory.
remove the eina_inline_lock_void.x fallback as it's not used anymore.

still keep the EINA_HAVE_THREADS in the source code.



SVN revision: 77796
2012-10-10 20:24:45 +00:00
Gustavo Sverzut Barbieri 4d35e4ca03 efl: simplify mempools, nuke some and make remaining statically built.
Now we always build the following memory pools statically:
 - pass_through: calls malloc/free directly, useful to debug.
 - chained_pool: default for ages.
 - one_big: used by some embedded systems (should we remove?)

Removed:
 - ememoa_fixed and ememoa_unknown: depends on a separate lib, not supported?
 - buddy: nobody uses it?

NOTE: we do not need the src/modules/eina/mp/*/Makefile.am anymore
since they are statically built. But I'll keep these and the
references in src/modules/eina/mp/Makefile.am



SVN revision: 77792
2012-10-10 19:57:53 +00:00
Vincent Torri 7fe3d35994 merge: __UNUSED__ --> EINA_UNUSED and some fixes in eo.
SVN revision: 77542
2012-10-05 20:09:47 +00:00
Vincent Torri 1c96844922 Eina: backport rev. 77445
SVN revision: 77446
2012-10-04 17:16:18 +00:00
Cedric BAIL 1000f350e3 efl: backport Igor's eina patch.
SVN revision: 77415
2012-10-04 09:31:46 +00:00
Carsten Haitzler 36ef0cdc92 and esnure we have all the right include paths.
SVN revision: 77121
2012-09-27 04:08:48 +00:00
Carsten Haitzler 0a5ba96837 move eina headers into lib/eina like the rest of efl - at least be
consistent with the majority.



SVN revision: 77119
2012-09-27 04:02:37 +00:00
Carsten Haitzler fbfb3ec61a port mmap safety fix to efl tree.
SVN revision: 77115
2012-09-27 03:46:03 +00:00
Vincent Torri ab144cb474 merge: fix compilation when no EFL is installed...
tested on linux and windows.
And disable valgrind as there's a link problem in eet binary,
i'll check that later


SVN revision: 76938
2012-09-21 08:15:58 +00:00
Vincent Torri 785f2a6b3a merge : add eina
currently, examples, tests and benchmark are not set. That's the next things i'll do


SVN revision: 76710
2012-09-16 10:57:48 +00:00