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
fa3ca325d3
eina: let eina_hash_free behave like free.
...
SVN revision: 66694
2011-12-30 13:41:37 +00:00
Cedric BAIL
8c21aa666d
eina: let eina_hash_free() behave like free().
...
SVN revision: 66636
2011-12-29 14:06:33 +00:00
Cedric BAIL
ae86b8203f
eina: reorder init as eina_error need eina_stringshare.
...
SVN revision: 66383
2011-12-20 11:00:59 +00:00
Cedric BAIL
caebf5cf95
eina: use WRN for warning.
...
SVN revision: 66029
2011-12-08 13:28:32 +00:00
Tom Hacohen
66b3c08aff
Eina bin/(u)strbuf: Added eina_*buf_manage_new_length.
...
Same as eina_*buf_manage_new except for the length parameter.
SVN revision: 66028
2011-12-08 13:10:57 +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
05827596b6
eina: last header fix.
...
SVN revision: 65970
2011-12-06 17:05:14 +00:00
Cedric BAIL
2ca68a95c6
eina: fix system header usage.
...
SVN revision: 65969
2011-12-06 16:57:28 +00:00
Cedric BAIL
0d4c616dc5
eina: follow Vincent advice.
...
SVN revision: 65905
2011-12-05 14:25:25 +00:00
Cedric BAIL
a6d8ebc55d
eina: disable log if fnmatch is not present.
...
NOTE: would be better to have an explicit --disable option I think.
SVN revision: 65901
2011-12-05 13:58:09 +00:00
Cedric BAIL
1561954c05
eina: improve system header detection.
...
SVN revision: 65900
2011-12-05 13:57:10 +00:00
Joerg Sonnenberger
30af9a785f
From: Joerg Sonnenberger <joerg@britannica.bec.de>
...
Subject: [E-devel] eina 1.1.0beta patches for/from pkgsrc
Several patches to fix warnings and potential on netbsd/solaris. minor
so i think i'll skip changelog for this.
SVN revision: 65898
2011-12-05 10:17:57 +00:00
Cedric BAIL
74e8fac021
eina: remove warning when building without siginfo_t.
...
SVN revision: 65437
2011-11-20 14:03:09 +00:00
Cedric BAIL
c89e2ea21f
eina: module don't need dirent.h anymore.
...
SVN revision: 65340
2011-11-17 11:18:12 +00:00
Vincent Torri
5e673a311f
Eina: warning--
...
patch by Fabien Romano from OpenBSD
SVN revision: 65206
2011-11-14 22:08:02 +00:00
Vincent Torri
13261e2909
whitespace--
...
SVN revision: 65202
2011-11-14 21:37:42 +00:00
Vincent Torri
c251d486dc
Eina: Fix warning
...
Patch by Fabien Romano
SVN revision: 65201
2011-11-14 21:37:25 +00:00
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
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
Boris Faure
0d53d91b67
eina: add eina_strbuf_trim/rtrim/ltrim()
...
SVN revision: 64098
2011-10-15 12:56: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
Gustavo Sverzut Barbieri
6ecdda5121
eina: remove couple of warnings
...
SVN revision: 63842
2011-10-05 20:00:29 +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
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
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
Tom Hacohen
98b5aa4b36
Eina (u)strbuf: Added eina_(u)strbuf_manage_new.
...
This lets us take a string and use it as the string buffer instead of
copying and allocating.
SVN revision: 63226
2011-09-06 10:58:53 +00:00
Cedric BAIL
6936745755
eina: add eina_inlist_sorted_state_insert and helper.
...
Note: this function help keep a jump table so we reduce
the need to walk over the complete list to insert one
element. It's of course doesn't make it an O(log(n)) in
access time, but it increase it's cost more slowly.
With 10000 items, you can count around 50 pointers
dereferencing and with with 50000 items around 200 pointers
dereferencing.
Of course the comparison stay in O(log(n)).
SVN revision: 63213
2011-09-05 20:15:12 +00:00
Gustavo Sverzut Barbieri
32110747c9
eina_prefix: use log infrastructure.
...
use eina_log instead of weirdo printfs... multiple levels, greatness
everywhere... helped me debug emotion's warning.
It is always a pain to try to use library log and notice they are not
using their own standards :-/
export EINA_LOG_LEVELS=eina_prefix:4
SVN revision: 63108
2011-09-03 05:31:25 +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
Vincent Torri
bdde82fda3
fix main loop stuff on Windows
...
SVN revision: 62864
2011-08-26 16:13:29 +00:00
Carsten Haitzler
3705bda72b
oooooh wowo! that prefix change broke stuff1 it looks ok on elm. revert!
...
SVN revision: 62813
2011-08-25 12:13:16 +00:00
Jérémy Zurcher
c5606319d9
From: Jérémy Zurcher <jeremy@asynk.ch>
...
Subject: [E-devel] patch : eina_prefix + elementary_test
please find attached a small patch for eina_prefix
it prevent segfault when for instance
no elm_app_compile_*_dir_set is called prior to elm_app_info_set
and another one for elementary/src/bin/test*.c which tends to replace
usage of PACKAGE_DATA_DIR with elm_app_data_dir_get
SVN revision: 62795
2011-08-25 10:01:22 +00:00
Carsten Haitzler
19124f1282
add some comments and debug to eina_preifx. in case we have to test it
...
when packaged under debians new multiarch.
SVN revision: 62706
2011-08-22 23:40:05 +00:00
Cedric BAIL
1ec7bacc52
eina: add eina_main_loop_define.
...
Do not use it.
SVN revision: 62530
2011-08-17 09:42:43 +00:00
ChunEon Park
0b30e759ed
eina - just removed white spaces.
...
SVN revision: 62495
2011-08-16 09:08:02 +00:00
Mike Blumenkrantz
3b3f567975
guys...null checks are not the end of the world.
...
SVN revision: 62360
2011-08-11 21:26:46 +00:00
Mike Blumenkrantz
c2d2867a2b
fix segv from missing null check
...
SVN revision: 62320
2011-08-10 22:42:27 +00:00
Carsten Haitzler
6bc6891370
if we are going to have %d's - use them in the next scanf too.
...
SVN revision: 62282
2011-08-10 04:39:04 +00:00
Mike McCormack
db31bed29e
eina: Use %d to get build time
...
eina_hamster_count() was returning -1 on my machine (Ubuntu 11.04/AMD64),
causing make check to fail.
eina_test_main.c:51:F:Main:eina_hamster:0: Failure 'eina_hamster_count() <= 0' occured
Using %d instead of %i for integers fixes it.
Signed-off-by: Mike McCormack <mj.mccormack@ring3k.org>
SVN revision: 62268
2011-08-09 23:48:47 +00:00
Cedric BAIL
2b247bc166
eina: windows cleanup.
...
Patch by Vincent Torri.
SVN revision: 62246
2011-08-09 09:21:07 +00:00
Cedric BAIL
fb56b5f5e3
eina: add generic macro to generate error when outside of the main loop.
...
SVN revision: 62240
2011-08-09 08:48:57 +00:00
Cedric BAIL
9838bda52f
eina: detect main loop for windows to.
...
SVN revision: 62239
2011-08-09 08:47:57 +00:00
Cedric BAIL
bfa83a2ff5
eina: correct guard of thread code.
...
SVN revision: 62238
2011-08-09 08:46:29 +00:00
Cedric BAIL
c89dfa73b6
eina: make dlopen optional.
...
SVN revision: 62236
2011-08-09 08:39:39 +00:00
Cedric BAIL
bcf2d84237
eina: the actual patch.
...
SVN revision: 62052
2011-08-03 12:01:35 +00:00
Cedric BAIL
811b050ee8
eina: better implementation.
...
SVN revision: 61900
2011-07-29 15:37:39 +00:00
Cedric BAIL
2b574523d2
eina: add eina_main_loop_is.
...
SVN revision: 61896
2011-07-29 14:56:42 +00:00
Jonas M. Gastal
cd8cd93209
Eina: Groups shouldn't be inside themselves, and both groups
...
and conditionals need to be properly closed..
SVN revision: 61413
2011-07-15 18:37:44 +00:00
Jonas M. Gastal
f99a16d27d
Eina: add descriptions to eina accessor and eina strbuf.
...
SVN revision: 61404
2011-07-15 14:07:03 +00:00
Vincent Torri
70d3c66bd7
Eina: link against iconv, use rt_libs to hold -lrt and add -lrt to eina.pc.in's Libs.private
...
SVN revision: 61358
2011-07-14 07:18:11 +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
Mike Blumenkrantz
5e56d28dbd
fix eina_binbuf_* signatures to use unsigned char instead of char...
...
SVN revision: 60693
2011-06-26 00:08:03 +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
6aade06b3f
eina: fix eina_stringshare_dump bug #791 reported by jgastal@profusion.mobi.
...
SVN revision: 60580
2011-06-22 08:14:32 +00:00
Jonas M. Gastal
702eb939d9
Eina: EINA_MAGIC example and documentation.
...
SVN revision: 60535
2011-06-20 21:15:17 +00:00
Lucas De Marchi
cde2bec9f6
eina: fix common misspellings
...
Common misspellings found by codespell.
SVN revision: 60479
2011-06-18 19:48:28 +00:00
Cedric BAIL
c2d99295bd
eina: rename eina_hash_free_set as eina_hash_free_cb_set.
...
SVN revision: 60439
2011-06-17 09:49:15 +00:00
Cedric BAIL
eb976c2571
eina: disabling Eina_Object until 1.1 is released.
...
SVN revision: 60427
2011-06-17 08:48:02 +00:00
Cedric BAIL
7decbe6825
eina: +eina_hash_free_set.
...
SVN revision: 60354
2011-06-15 15:46:10 +00:00
Boris Faure
e6119fa4d9
remove .cvsignore files
...
SVN revision: 60246
2011-06-12 21:38:37 +00:00
Tom Hacohen
ed8dd1c1d4
Eina strbuf: Add csize to documentation.
...
Thanks to Ulrich Eckhardt for the patch
SVN revision: 60236
2011-06-12 07:58:59 +00:00
Carsten Haitzler
cf92b358ae
wrn--
...
SVN revision: 60222
2011-06-11 03:52:30 +00:00
Jonas M. Gastal
29a7fddf18
eina: Documentation for Eina_List.
...
SVN revision: 60191
2011-06-10 13:40:50 +00:00
Carsten Haitzler
210c898e06
fix eina prefix - somehow using elm_init make it find the wrong prefix
...
for the lib. weird.
SVN revision: 60066
2011-06-08 02:59:52 +00:00
Cedric BAIL
5fa5eb95cd
eina: make Eina_File thread safe.
...
SVN revision: 59995
2011-06-06 17:08:06 +00:00
Vincent Torri
888fd92769
Eina : eina_module.c: fix dladdr use on Windows
...
SVN revision: 59881
2011-06-01 20:43:01 +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
Vincent Torri
1a833d15a4
Eina : eina_file_win32.c : add share mode when opening a file
...
On Windows, if you want to open the same file several times,
you have to tell it can... No ChangeLog as that code is work in
progress)
SVN revision: 59857
2011-06-01 06:18:56 +00:00
Vincent Torri
a04de9e388
Eina : eina_sched.c : simpler code on Windows
...
SVN revision: 59856
2011-06-01 06:12:55 +00:00
Cedric BAIL
a0ea6c5130
eina: fix eina_hash_set to act when data == NULL like eina_hash_del.
...
SVN revision: 59849
2011-05-31 16:43:40 +00:00
Lucas De Marchi
20966bb8c4
eina: fix misspellings
...
SVN revision: 59820
2011-05-30 16:08:20 +00:00
Cedric BAIL
5b62f47079
eina: fix eina_inlist_sorted_insert and improve its tests.
...
SVN revision: 59669
2011-05-25 13:18:21 +00:00
Cedric BAIL
cde3148eca
eina: add eina_inlist_sorted_insert.
...
SVN revision: 59654
2011-05-24 15:17:56 +00:00