Cedric BAIL
2ca68a95c6
eina: fix system header usage.
...
SVN revision: 65969
2011-12-06 16:57:28 +00:00
Cedric BAIL
ca6d71618b
eina: move clist around as needed.
...
SVN revision: 65968
2011-12-06 16:55:50 +00:00
Cedric BAIL
98ced4dd20
eina: only include system header as necessary.
...
SVN revision: 65966
2011-12-06 16:09:56 +00:00
Cedric BAIL
97bd076da0
eina: fix typo.
...
SVN revision: 65921
2011-12-05 21:19:19 +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
Carsten Haitzler
ac4c70ab7b
fix changelogs to mention release.
...
SVN revision: 65860
2011-12-04 01:56:31 +00:00
Mike Blumenkrantz
323cd79c4c
unfrenchify mempool docs
...
SVN revision: 65822
2011-12-02 15:34:11 +00:00
Mike Blumenkrantz
afdbaf8651
+eina_mempool_calloc
...
SVN revision: 65821
2011-12-02 15:27:35 +00:00
Carsten Haitzler
4797954c4d
and now go to normal-like svn revs
...
SVN revision: 65806
2011-12-02 09:45:25 +00:00
Carsten Haitzler
e51c9a6705
revert my 1.x.99 stuff so i can branch.
...
SVN revision: 65803
2011-12-02 09:32:11 +00:00
Carsten Haitzler
b90b289063
and lets bump on to 1.x.99 (or so) for svn... and back to adding snap
...
rev.
SVN revision: 65802
2011-12-02 09:10:56 +00:00
Daniel Juyung Seo
cb771bb445
eina eina_str.h: Fixed documentation typo.
...
SVN revision: 65711
2011-11-30 07:44:36 +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
Cedric BAIL
e672dceee2
eina: shutup warning when thread are disabled.
...
SVN revision: 65339
2011-11-17 11:15:54 +00:00
Vincent Torri
ef54722308
evil >= 1.0.0
...
SVN revision: 65299
2011-11-16 17:47:58 +00:00
Cedric BAIL
8bc845b84b
eina: remove useless include.
...
NOTE: I don't know why it was there, but it shouldn't.
Please report any build issue you encounter.
SVN revision: 65291
2011-11-16 10:13:24 +00:00
Carsten Haitzler
9e655af267
update release candidate trees to their release version in preparation
...
for alpha
SVN revision: 65280
2011-11-16 05:34:37 +00:00
Boris Faure
15f0f3e044
eina: update news/changelog
...
SVN revision: 65268
2011-11-15 14:24:53 +00:00
Carsten Haitzler
08552f503f
eina README updated
...
SVN revision: 65236
2011-11-15 11:25:10 +00:00
Vincent Torri
fc5e116745
Eina: fix grep usage
...
replace \+ by + as it should be
add -E option to grep, handle the + in expression
patch by Fabien Romano from OpenBSD
SVN revision: 65207
2011-11-14 22:11:27 +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
e171abd5d6
1 - too many in underline
...
SVN revision: 65122
2011-11-13 06:11:43 +00:00
Carsten Haitzler
c305ba5215
NEWS file like ecore - per vtorri's suggestion
...
SVN revision: 65120
2011-11-13 06:08:35 +00:00
Carsten Haitzler
5bdaef94d4
eina NEWS file has summary from changelog. damn we did a lot.
...
SVN revision: 65057
2011-11-11 09:07:20 +00:00
Boris Faure
37efd502fe
eina: add murmur3 hash
...
SVN revision: 65017
2011-11-10 10:58:19 +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
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
Vincent Torri
ac14342f6e
Eina: big mistake in efl_attribute.m4. My bad
...
SVN revision: 63934
2011-10-09 19:27:08 +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
Michael BOUCHAUD
9e9bf24156
eina: fix make dist
...
SVN revision: 63668
2011-09-29 15:13:10 +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
Vincent Torri
715bc38190
fix configure output
...
SVN revision: 63434
2011-09-16 07:34:43 +00:00
Vincent Torri
2016db602b
quotes and cleanup
...
SVN revision: 63433
2011-09-16 07:30:40 +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
Youness Alaoui
1f52ee2a39
Eina: Use @EINA_LIBS@ for static linking libs in .pc file
...
SVN revision: 63339
2011-09-12 03:43:55 +00:00
Cedric BAIL
a0fab4b871
eina: threads debugging back to work.
...
SVN revision: 63266
2011-09-07 10:16:27 +00:00
Mike McCormack
81ce922044
eina: Fix broken main loop thread check
...
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>
SVN revision: 63263
2011-09-07 08:06:42 +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
336806d264
eina: oops. Thanks Vincent.
...
SVN revision: 63214
2011-09-05 20:26:21 +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
Carsten Haitzler
325dbc04ae
fix COPYING to say 2011.
...
SVN revision: 63187
2011-09-05 07:15:41 +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
Tom Hacohen
1cacec0d41
Eina rbtree: Fixed EINA_RBTREE_GET. Should enclose in parenthesis.
...
SVN revision: 63054
2011-09-01 12:11:24 +00:00
Vincent Torri
f9e44b36d4
Add missing function in lock void
...
Patch by Youness Alaoui
SVN revision: 63018
2011-08-31 08:50:19 +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
Vincent Torri
56f0311cd3
define HAVE_DLOPEN also on Windows
...
SVN revision: 62863
2011-08-26 16:01:28 +00:00
Carsten Haitzler
c20670baa2
u know... if u are going to add lots of pthread calls to .x headers
...
that get inlined.. u should be telling apps to enable pthread too at
link time eh? :)
SVN revision: 62850
2011-08-26 04:50:55 +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
Gustavo Lima Chaves
b63efee190
[eina] Repeated link, be gone.
...
SVN revision: 62749
2011-08-24 15:13:10 +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
Iván Briano
72a46b4342
It may be good to link Eina examples against Eina
...
SVN revision: 62141
2011-08-05 15:59:22 +00:00
Iván Briano
60730094bd
Check Evas too, DSO thingy
...
SVN revision: 62139
2011-08-05 15:39:18 +00:00
Jonas M. Gastal
433c56be47
Eina: Fixing borked eina_stringshare diagram.
...
SVN revision: 62135
2011-08-05 13:45:01 +00:00
Jonas M. Gastal
aefb755102
Eina: Fixing image in pdf doc.
...
SVN revision: 62116
2011-08-04 22:52:29 +00:00
Jonas M. Gastal
8b64d75531
Eina: eina tiler example.
...
SVN revision: 62113
2011-08-04 22:05:46 +00:00
Jonas M. Gastal
05e1dc49c6
Eina: eina_tiler docs(examples to follow).
...
SVN revision: 62112
2011-08-04 22:05:25 +00:00
Jonas M. Gastal
610facb5be
Eina: adding image to eina_stringshare.
...
SVN revision: 62104
2011-08-04 20:44:05 +00:00
Jonas M. Gastal
1e9076c27b
Eina: adding image showing eina array growth.
...
SVN revision: 62103
2011-08-04 20:43:51 +00:00
Tom Hacohen
41f840b9b1
Eina list: eina_list_data_set is *not* pure.
...
SVN revision: 62081
2011-08-04 06:44:19 +00:00
Jonas M. Gastal
7e095c6b70
Eina: Separating eina_lock and company from eina_file's
...
group.
SVN revision: 62067
2011-08-03 19:13:18 +00:00
Cedric BAIL
bcf2d84237
eina: the actual patch.
...
SVN revision: 62052
2011-08-03 12:01:35 +00:00
Cedric BAIL
5a42968177
eina: fix eina_share_common_ref/del
...
patch by Myungjae Lee <mjae.lee@samsung.com>.
SVN revision: 62051
2011-08-03 12:00:46 +00:00
Carsten Haitzler
601a4e3cef
improve eina main page and links
...
SVN revision: 62038
2011-08-03 04:55:12 +00:00
Tom Hacohen
ea689302c5
Eina: Moved valgrind check to the libararies check section.
...
As suggested by vtorri.
SVN revision: 61990
2011-08-02 10:50:13 +00:00
Carsten Haitzler
29864666c9
that's it - remove autom4te.cache dirs again... - keep having to many
...
problems about it storing invalid config when the same build trees are
shared between multiple architectures and machines. :( better we
build right than build fast.
SVN revision: 61974
2011-08-02 04:13:33 +00:00
Cedric BAIL
770e7fe863
eina: forgotten since.
...
SVN revision: 61957
2011-08-01 14:59:51 +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
2d6dec2b4e
Eina: Making html tags in doc appear only in html doc.
...
SVN revision: 61412
2011-07-15 18:35:45 +00:00
Jonas M. Gastal
eff8c0568e
Eina: Giving some pages better names and fixing a typo.
...
SVN revision: 61411
2011-07-15 18:33:41 +00:00
Lucas De Marchi
6fb6089ea1
eina: fix common misspellings
...
Misspellings detected by codespell.
SVN revision: 61405
2011-07-15 14:31:31 +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
Vincent Torri
f9fe039a95
Eina : configure.ac : improve shm_open detection
...
* Do not use spaces around '=' in configure scripts
* formatting
* put -lrt in EINA_LIBS instead of LIBS
SVN revision: 61357
2011-07-14 06:58:59 +00:00
Cedric BAIL
43e1e44168
eina: fix typo.
...
SVN revision: 61329
2011-07-13 09:25:49 +00:00
Cedric BAIL
fc8f5a4be9
eina: fix eina shm_open detection.
...
SVN revision: 61328
2011-07-13 09:21:55 +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
Vincent Torri
090ab4805c
Eina : lock (win32) : fix compilation
...
cedric, can you confirm me that
- LeaveCriticalSection(&mutex->cond_read->threads_count_lock);
...
+ LeaveCriticalSection(&mutex->cond_read.waiters_count_lock);
is correct ?
SVN revision: 61170
2011-07-09 10:20:02 +00:00
Jonas M. Gastal
4b0536d424
Eina: Adding diagrams for eina list macros.
...
SVN revision: 61132
2011-07-07 19:26:47 +00:00
Daniel Juyung Seo
72bcec17b9
edje/ecore/eina: Updated documentaton for version number.
...
I did this manually. But it'll be good if someone can automate this.
It's a painful for busy developers.
SVN revision: 61104
2011-07-07 04:58:34 +00:00
Rafael Antognolli
0dd5077566
eina/hash - Add examples to list and fix doc of some functions.
...
SVN revision: 61094
2011-07-06 18:01:42 +00:00
Rafael Antognolli
948cdf95f1
eina/hash - Add example that demonstrate many ways of deleting items.
...
SVN revision: 61093
2011-07-06 18:00:38 +00:00
Rafael Antognolli
9bb4278df8
eina/hash - Added examples that use different types of hash.
...
SVN revision: 61092
2011-07-06 17:59:58 +00:00
Rafael Antognolli
eb7f4de17d
eina/hash - improve performance comparison between different hashes.
...
For the hashes available for storing string keys, give a better
explanation about the difference of performance.
Also add to the documentation that the data_free_cb will be called when
when items are deleted from the hash table, not only on the hash table
free.
SVN revision: 61091
2011-07-06 17:58:41 +00:00
Jonas M. Gastal
d8d3e290be
Eina: Improving eina_accessor documentation.
...
SVN revision: 61089
2011-07-06 14:50:46 +00:00
Jonas M. Gastal
6b3b2c15b5
Eina: Improvements to eina_list's documentation.
...
SVN revision: 61088
2011-07-06 14:50:33 +00:00
Jonas M. Gastal
0705400fbf
Eina: Improvement to eina_iterator's documentation.
...
SVN revision: 61087
2011-07-06 14:50:12 +00:00
Jonas M. Gastal
aef23ad7ef
Eina: Improvements to eina_array's documentation.
...
SVN revision: 61086
2011-07-06 14:49:44 +00:00
Jonas M. Gastal
750fa56716
Make eina docs work on IE8 and IE9.
...
SVN revision: 61055
2011-07-05 16:35:20 +00:00
Jonas M. Gastal
239864e32c
Eina: Spelling fixes and using smaller size for hash image.
...
SVN revision: 61018
2011-07-04 19:48:01 +00:00
Jonas M. Gastal
8bd2207fd7
Eina: Adding link to example in eina_str documentation.
...
SVN revision: 61013
2011-07-04 17:18:30 +00:00
Carsten Haitzler
db6157d408
and include eina_mmap.h in Eina.h <- forgot
...
SVN revision: 60977
2011-07-04 09:35:17 +00:00
Carsten Haitzler
d926889559
add eina mmap safety handling.
...
SVN revision: 60976
2011-07-04 09:29:59 +00:00
Jonas M. Gastal
2587a69af7
Eina: eina_strbuf example and documentation.
...
SVN revision: 60762
2011-06-28 14:38:17 +00:00
Jonas M. Gastal
1eb2a44f08
Eina: Slight improvement to eina_strbuf's documentation.
...
SVN revision: 60761
2011-06-28 14:37:49 +00:00
Jonas M. Gastal
2b6a9986cb
Eina: improve eina_str documentation.
...
SVN revision: 60757
2011-06-28 13:52:59 +00:00
Jonas M. Gastal
fc62f8d13d
Eina: eina_str example and accompanying documentation.
...
SVN revision: 60742
2011-06-27 20:26:43 +00:00
Rafael Antognolli
c7ebecd004
eina/autotools - fix typo on eina_log example
...
SVN revision: 60735
2011-06-27 15:10:34 +00:00
Jonas M. Gastal
0a0fc20529
Eina: Reorganization of eina log documentation.
...
SVN revision: 60733
2011-06-27 14:02:10 +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
Cedric BAIL
a5fe2772c7
eina: add Eina_LockRW. more refactoring code comming.
...
SVN revision: 60628
2011-06-23 09:58:54 +00:00
Jonas M. Gastal
9f9686f2f3
Eina: Adding eina file example to makefile.
...
SVN revision: 60606
2011-06-22 19:48:37 +00:00
Jonas M. Gastal
655ca9d44e
Eina: Eina error documentation improvement.
...
SVN revision: 60605
2011-06-22 19:48:27 +00:00
Jonas M. Gastal
dbe4c5d613
Eina: Eina file documentation.
...
SVN revision: 60604
2011-06-22 19:25:44 +00:00
Cedric BAIL
563fbf97f2
eina: update Eina_Refcount API to please Tasn.
...
SVN revision: 60592
2011-06-22 14:04:09 +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
7a1da7d624
Eina: Eina_Stringshare documentation.
...
SVN revision: 60559
2011-06-21 20:45:50 +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
Jonas M. Gastal
c0d8ef9ede
Eina: Adding images for latex docs.
...
SVN revision: 60452
2011-06-17 14:20:59 +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
d70d67c288
eina: forgotten commit.
...
SVN revision: 60428
2011-06-17 08:55:22 +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
Michael Jennings
092d2d861b
Since the SVN revision is now included in %{version}, it's redundant
...
to have it in %{release} also. So let's just tag the package as ours
and try to make sure it doesn't interfere with vendor releases.
SVN revision: 60407
2011-06-16 20:36:43 +00:00
Cedric BAIL
a336a811ec
eina: @since
...
SVN revision: 60356
2011-06-15 15:54:42 +00:00
Cedric BAIL
7decbe6825
eina: +eina_hash_free_set.
...
SVN revision: 60354
2011-06-15 15:46:10 +00:00
Rafael Antognolli
5ab79258a2
eina: Add detailed description and some examples to Eina_Inlist.
...
SVN revision: 60310
2011-06-14 17:43:53 +00:00
Jonas M. Gastal
aab43b7ead
eina: A few fixes for the Eina_List doc.
...
SVN revision: 60288
2011-06-13 17:46:22 +00:00
Jonas M. Gastal
d3ee1a3353
eina: Add acknowledgment of Samsung's patronage to
...
documentation project.
SVN revision: 60285
2011-06-13 16:44:08 +00:00
Jonas M. Gastal
0be4917595
eina: Eina_Accessor documentation.
...
SVN revision: 60284
2011-06-13 16:42:25 +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
Tom Hacohen
1fc8976439
Eina ustrbuf: Fixed eina_ustrbuf_prepend_char.
...
Thanks to Ulrich Eckhardt for the report.
SVN revision: 60235
2011-06-12 07:58:55 +00:00
Daniel Juyung Seo
4c7bc3890e
eina examples/eina_list_01.c: Added new line to explicitly separate
...
two outputs.
SVN revision: 60229
2011-06-11 09:17:31 +00:00
Daniel Juyung Seo
bb41b4530a
eina: Fixed doxygen.
...
SVN revision: 60228
2011-06-11 09:16:45 +00:00
Carsten Haitzler
cf92b358ae
wrn--
...
SVN revision: 60222
2011-06-11 03:52:30 +00:00
Daniel Juyung Seo
25b5223e6c
Eina examples: Removed trailing whitespaces.
...
SVN revision: 60212
2011-06-11 01:24:04 +00:00
Jonas M. Gastal
969e12b320
eina: Add missing hash table image and make imgs work for
...
latex docs.
SVN revision: 60194
2011-06-10 14:54:01 +00:00
Jonas M. Gastal
160fdb558f
eina: Eina_Iterator documentation.
...
SVN revision: 60193
2011-06-10 13:42:19 +00:00
Jonas M. Gastal
11458e8e08
eina: Eina_Array documentation.
...
SVN revision: 60192
2011-06-10 13:41:59 +00:00
Jonas M. Gastal
29a7fddf18
eina: Documentation for Eina_List.
...
SVN revision: 60191
2011-06-10 13:40:50 +00:00
Fabiano Fidêncio
989da2f5c1
Ooops! Fixing eina_list_sorted doc, again!
...
SVN revision: 60162
2011-06-10 03:41:48 +00:00
Fabiano Fidêncio
59023e6b9d
Fixing eina_list_sort docs
...
SVN revision: 60161
2011-06-10 03:33:01 +00:00
Rafael Antognolli
0213972e5b
eina: add autotools rules to building and installing examples.
...
SVN revision: 60150
2011-06-09 18:53:38 +00:00
Rafael Antognolli
348787c45b
[eina] Add high-level documentation and examples for Eina_Hash.
...
SVN revision: 60149
2011-06-09 18:52:45 +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
Mike McCormack
2b58267396
Add ignore and update files
...
SVN revision: 60034
2011-06-07 10:26:13 +00:00
Rafael Antognolli
198f7ee958
eina: fix doc building when srcdir != builddir.
...
SVN revision: 60004
2011-06-06 20:20:38 +00:00
Cedric BAIL
5fa5eb95cd
eina: make Eina_File thread safe.
...
SVN revision: 59995
2011-06-06 17:08:06 +00:00
Vincent Torri
3d4c2fb340
Eina: fix static linking with eina
...
Fix static linking with eina (iconv could potentially not be
passed to the linker)
SVN revision: 59914
2011-06-03 07:46:15 +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
Cedric BAIL
9aa4942caa
eina: make him happy.
...
SVN revision: 59876
2011-06-01 15:04:29 +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
e38103cc0b
Eina : eina_file : add @since 1.1 to doxy doc
...
SVN revision: 59858
2011-06-01 06:53: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
Vincent Torri
64af7d5ae5
Eina : eina_inline_lock_win32.x : fix cedric's modifications in win32 code
...
SVN revision: 59855
2011-06-01 05:55:48 +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
bc0e734f93
eina: add eina_condition_timedwait.
...
SVN revision: 59819
2011-05-30 15:24:06 +00:00
Cedric BAIL
89b66a97b2
eina: ERROR_CHECK just make sense when you are debbuging lock usage.
...
SVN revision: 59811
2011-05-30 12:49:04 +00:00
ChunEon Park
f569f76be6
eina/eina_hash - fixed indentation
...
SVN revision: 59703
2011-05-26 12:06:48 +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
Vincent Torri
9f2ac8d7e3
Eina: Implement eina_sched_prio_drop() on Windows
...
SVN revision: 59637
2011-05-24 06:29:58 +00:00
Vincent Torri
008e1a56ac
I like alphabetical order :)
...
SVN revision: 59516
2011-05-18 19:11:09 +00:00
Vincent Torri
31f60da46e
debug--
...
SVN revision: 59505
2011-05-18 13:17:54 +00:00
Vincent Torri
4a16749112
Eina_lock : fix Windows code, thanks to cedric
...
SVN revision: 59504
2011-05-18 13:15:25 +00:00
Cedric BAIL
c132a4ac50
eina: fix typo.
...
SVN revision: 59503
2011-05-18 12:56:49 +00:00
Tom Hacohen
4ea3aa489f
Eina binbuf: Fix compilation and correct the mistakes.
...
SVN revision: 59500
2011-05-18 11:45:32 +00:00
Tom Hacohen
594d94782b
Eina binbuf: Struct name should be binbuf, not strbuf.
...
SVN revision: 59497
2011-05-18 10:52:50 +00:00
Cedric BAIL
fe7ae5930a
eina: part of the init is specific, so preserve it.
...
SVN revision: 59493
2011-05-18 10:05:59 +00:00
Cedric BAIL
42e460e3b6
eina: fix eina_share_common_init.
...
SVN revision: 59485
2011-05-18 07:56:11 +00:00
Sangho Park
7cbc531e4c
Eina: add 'eina_init()' at the testcase of simple_xml_parser.
...
SVN revision: 59479
2011-05-18 02:49:59 +00:00
Sangho Park
725b056fab
Eina: add testcase for 'eina_simple_xml_parser'
...
SVN revision: 59478
2011-05-18 02:29:59 +00:00
Cedric BAIL
c9a4fc3054
eina: fix eina_file to be really usable.
...
SVN revision: 59470
2011-05-17 16:17:28 +00:00
Tom Hacohen
63f89e6866
Eina: Added .gitignore.
...
SVN revision: 59469
2011-05-17 15:49:08 +00:00
Tom Hacohen
8ca233f8cb
Eina binbuf: Added eina_binbuff an auto resizing binary buffer.
...
SVN revision: 59468
2011-05-17 15:45:39 +00:00
Cedric BAIL
44798b830c
eina: build without threads support.
...
SVN revision: 59467
2011-05-17 10:15:19 +00:00
Vincent Torri
43397834ac
Eina_ : eina_file_win32.c : fix returned value of eina_file_shutdown()
...
SVN revision: 59463
2011-05-17 05:38:29 +00:00
Vincent Torri
495c88aac8
fix eina_prefix.c on Windows (at least a part of it, as elm is not working with it)
...
SVN revision: 59454
2011-05-16 17:39:20 +00:00
Vincent Torri
eebeebb147
fix eina_inline_lock_void.x
...
SVN revision: 59453
2011-05-16 17:37:51 +00:00
Vincent Torri
d809170ea9
Eina: eina_lock: fix eina_lock on Windows
...
SVN revision: 59395
2011-05-15 10:55:07 +00:00
Vincent Torri
4a6a5bd213
i'm not cedric
...
SVN revision: 59392
2011-05-14 21:23:03 +00:00
Vincent Torri
65892e65b7
Eina : eina_lock : make it compile on Windows
...
SVN revision: 59391
2011-05-14 21:19:36 +00:00
Boris Faure
021819f4f9
eina: improve hash documentation on free_cb
...
SVN revision: 59383
2011-05-14 14:39:25 +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
Cedric BAIL
0351269adc
eina: check condition is still alive when debugging threads.
...
SVN revision: 59299
2011-05-09 14:41:39 +00:00
Cedric BAIL
9e20be0766
eina: have same behaviour on windows and linux.
...
SVN revision: 59297
2011-05-09 13:12:36 +00:00
Cedric BAIL
5f820ce976
eina: oops, need to protect inside #ifdef.
...
SVN revision: 59295
2011-05-09 13:06:03 +00:00
Cedric BAIL
c73f0f9cf5
eina: improve lock debugging.
...
SVN revision: 59293
2011-05-09 12:54:47 +00:00
Cedric BAIL
d2b65a51d0
eina: more check.
...
SVN revision: 59289
2011-05-09 10:42:42 +00:00
Cedric BAIL
d20144bc9f
eina: add Eina_Condition.
...
SVN revision: 59287
2011-05-09 10:32:56 +00:00
Cedric BAIL
83c3a1a0fb
eina: check pending lock at the right time.
...
SVN revision: 59286
2011-05-09 10:29:55 +00:00
Cedric BAIL
8820713691
eina: remove flood of debugging information.
...
SVN revision: 59234
2011-05-06 09:16:40 +00:00
Cedric BAIL
b4f8d80b02
eina: remove useless lock.
...
SVN revision: 59233
2011-05-06 09:07:26 +00:00
Cedric BAIL
25550183e0
eina: improve on/off and debugging lock.
...
Now if a lock is still taken when shutdown occur, you will know
where it come from !
SVN revision: 59191
2011-05-04 13:53:22 +00:00
Tom Hacohen
4a11dacf16
Eina lock: unused warning suppression is done with (void).
...
Not only that it's uglier doing mutex=0, but also new gcc started
complainig about it.
SVN revision: 59137
2011-05-02 18:19:41 +00:00
Cedric BAIL
fdc092efe1
eina: forgotten commit.
...
SVN revision: 59125
2011-05-02 13:52:34 +00:00
Cedric BAIL
5c2d05374c
eina: use the right naming.
...
SVN revision: 59124
2011-05-02 13:51:20 +00:00
Cedric BAIL
691da73b84
eina: add back threads on/off support.
...
NOTE: only use it if you know what you are doing !
SVN revision: 59123
2011-05-02 13:40:28 +00:00
Cedric BAIL
e5402b2eb2
eina: forgotten initialization.
...
SVN revision: 59121
2011-05-02 13:09:38 +00:00
Cedric BAIL
9140383045
eina: improve thread debugging and portability.
...
All thread debugging facility, including lock debug, on by turning --enable-debug-threads
at configure time of eina.
When threads check are disable, make sure that all lock/release are called
from the main loop only. And in all case, eina_lock_new/eina_lock_delete should be
called from the main loop.
Remove static initialization as it is not portable under Windows.
SVN revision: 59118
2011-05-02 11:25:35 +00:00
Cedric BAIL
a345a670b2
eina: make sure eina_threads_init/eina_threads_shutdown are correctly called.
...
SVN revision: 59117
2011-05-02 11:20:00 +00:00
Carsten Haitzler
5061598e12
also return deadlock from normal lock (not try only)
...
SVN revision: 59103
2011-05-02 08:34:22 +00:00
Carsten Haitzler
651cff4602
formalise eina lock results to be equivalent to true/false with added
...
deadlock for try.
SVN revision: 59101
2011-05-02 08:24:06 +00:00
Vincent Torri
65e50307a0
time.h should be sufficient
...
SVN revision: 59096
2011-05-02 07:04:24 +00:00
Vincent Torri
604c4b993a
Eina: eina_file.h: fix compilation on Mac Os X
...
define time_t on Mac OS X. Patch by Dave Ray.
SVN revision: 59095
2011-05-02 05:52:31 +00:00
Carsten Haitzler
234f0a4659
oh dear. this new eina_lock thing is a bit of a mess isn't it now?
...
some fundamental errors there. don't go replacing pthread locks with
wrappers unless you know full well what u are doing. havnig threads
only work while "threads are initted" and then init/shtudown the thread
thing every time u spawn a thread.. is pretty silly. what if a thread
ends in the background WHILE u have a lock.. u try unlock.. u know
what ? your unlock DOES nothing. so you retain a lock. next time u
want to lock once a thread is around.. u have a deadlock issue.
even better - the checking if threads are initted and up is not
locked, so it can come up while it is being checked. more race
conditions. u need to clokc the init/shutdown AND lock the checking of
the value... and even then u STILl have problem #1 above. so that code
is now gone.
also trylock trturn inverse logic to the original pthread func and the
macros in evas that used it were not changed accordingly! aaagh!
i've also added backtrace debug ability to eina threads if compiled in
- u can get a bt of who last locked something. i had to do this just to
begin to grasp what on earth was going on. it's off by default.
also... the locks are error check locks to trylock can detect
deadlocks. speacil "2" return for now. better than a poke in the eye
with a sharp stick until we decide what to do. for now i hopew i have
killed this thread lock bug.
SVN revision: 59085
2011-05-01 13:24:08 +00:00
Boris Faure
a96931a66b
eina: fix #elif usage
...
SVN revision: 59044
2011-04-29 19:08:03 +00:00
Boris Faure
64f1cee555
eina: remove redundant declaration
...
SVN revision: 59043
2011-04-29 19:07:46 +00:00
Tom Hacohen
00c53f261b
Eina refcount: Wrap EINA_REFCOUNT_UNREF with do {} while(0).
...
SVN revision: 59042
2011-04-29 18:54:29 +00:00
Cedric BAIL
f97a64ca03
eina: Add refcounting macro helper.
...
SVN revision: 59038
2011-04-29 16:09:07 +00:00
Vincent Torri
0e6b42e9b1
Eina: eina_object : more use of eina_lock
...
SVN revision: 58980
2011-04-27 19:44:57 +00:00
Vincent Torri
a288cd7af1
Eina: Fix static build of the buddy mempool
...
SVN revision: 58974
2011-04-27 17:00:36 +00:00
Vincent Torri
95fc9bf64f
formatting: alphabetical order
...
SVN revision: 58973
2011-04-27 16:58:23 +00:00
Vincent Torri
4f484b58f5
do not enter the modules dir if they are not built
...
SVN revision: 58971
2011-04-27 16:15:41 +00:00
Vincent Torri
f30f757ebc
remove shadow var
...
SVN revision: 58966
2011-04-27 15:50:12 +00:00
Vincent Torri
febfcd253d
Eina: eina_lock : fix compilation on Windows. eina_object.c must be fixed too.
...
SVN revision: 58920
2011-04-26 06:55:17 +00:00
Cedric BAIL
6692daabc3
eina: fix eina_lock on windows.
...
SVN revision: 58893
2011-04-25 08:48:20 +00:00
Carsten Haitzler
3090b681a8
lets compile again shall we?
...
SVN revision: 58883
2011-04-25 02:30:42 +00:00
Cedric BAIL
cf902d9275
eina: move eina_object to use eina_lock too.
...
SVN revision: 58876
2011-04-24 20:22:50 +00:00
Cedric BAIL
3abc9015d4
eina: put global into namespace and add lock abort
...
SVN revision: 58875
2011-04-24 20:22:17 +00:00
Cedric BAIL
bd1337f4cd
eina: fix api to actually work as expected.
...
SVN revision: 58871
2011-04-24 16:49:48 +00:00
Cedric BAIL
f7d9487aff
eina: starting to use eina_lock.
...
SVN revision: 58869
2011-04-24 15:54:09 +00:00
Carsten Haitzler
3191185792
fix bug when dladdr doesnt return full path. odd that it doesnt.
...
SVN revision: 58865
2011-04-24 09:53:00 +00:00
Carsten Haitzler
df9d051095
make docs right
...
SVN revision: 58862
2011-04-24 09:32:16 +00:00
Vincent Torri
6acc7bce24
fix date
...
SVN revision: 58861
2011-04-24 09:14:12 +00:00
Vincent Torri
694a364ced
Eina: Fix uninstallation of the mempools modules
...
SVN revision: 58859
2011-04-24 09:11:11 +00:00
Vincent Torri
a17425080f
whitespaces--
...
SVN revision: 58858
2011-04-24 08:37:52 +00:00
Carsten Haitzler
ebe846c0f5
make sure eina_prefix is marked since 1.1.0
...
SVN revision: 58857
2011-04-24 08:30:12 +00:00
Vincent Torri
e521dfb65b
remove useless headers
...
SVN revision: 58854
2011-04-24 08:12:00 +00:00
Vincent Torri
4287e530db
on Windows, the path separator in PATH env var is a semicolon, not a colon
...
SVN revision: 58852
2011-04-24 07:57:16 +00:00
Vincent Torri
359c52c48d
whitespace cleanup and a bit of formatting
...
SVN revision: 58851
2011-04-24 07:49:43 +00:00
Carsten Haitzler
d576cdc68a
chlog++
...
SVN revision: 58849
2011-04-24 07:35:52 +00:00
Carsten Haitzler
d0ebc2d804
put a general prefix finder in eina.
...
SVN revision: 58848
2011-04-24 07:35:30 +00:00
Vincent Torri
6e8d19b150
Eina: Add Eina_Lock API
...
Eina_Lock API is a small set of functions to manage in a
cross platform way mutual exclusion objects
SVN revision: 58835
2011-04-22 21:26:36 +00:00
Vincent Torri
02ee0d1ee6
Eina: eina_object: Fix integer size on Windows 64 bits
...
* use unsigned __int64 on Windows 64 bits
* use unsigned modifier 'u' to print objects id
SVN revision: 58820
2011-04-22 05:36:44 +00:00
Carsten Haitzler
3b167a62f5
populate optional.
...
SVN revision: 58792
2011-04-21 11:54:16 +00:00
Vincent Torri
c87ae61fb8
Eina: eina_file: port API to Windows
...
Currently, that code can potentially fail on Windows 64 bits
as long is of size 32 bits and not 64 bits. All the file length
and offset must be changed to something that fit the arch, like size_t,
or use always uint64_t
SVN revision: 58680
2011-04-15 07:03:17 +00:00
Mike Blumenkrantz
8547ebf47f
fix error_find to actually return the Eina_Error instead of just i
...
SVN revision: 58679
2011-04-15 00:41:01 +00:00
Mike Blumenkrantz
b1088dc204
fix input check for list_move, add ESNV for error
...
SVN revision: 58670
2011-04-14 18:21:40 +00:00
Cedric BAIL
cb90b07d81
autogen: unobrk things.
...
SVN revision: 58668
2011-04-14 14:51:36 +00:00
Cedric BAIL
e342a8b94b
eina: improve autoconf cache usage.
...
SVN revision: 58655
2011-04-14 09:40:47 +00:00
Mike Blumenkrantz
cc1d028aee
unrevert. this is not a mistake.
...
SVN revision: 58654
2011-04-14 07:42:04 +00:00
Vincent Torri
f4670f64bf
revert. The check is already done by EINA_MAGIC_CHECK, called by EINA_MAGIC_CHECK_LIST
...
SVN revision: 58650
2011-04-14 06:56:10 +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
Mike Blumenkrantz
391ed4d617
fix input check
...
SVN revision: 58647
2011-04-14 01:04:54 +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
a303d5add7
fix win32 build
...
SVN revision: 58642
2011-04-13 17:51:00 +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
Daniel Juyung Seo
7c80267fd1
Eina eina_list.c: Fixed formatting.
...
SVN revision: 58614
2011-04-13 07:46:28 +00:00
Mike Blumenkrantz
255f625ff1
class is a reserved word. SPANK SPANK SPANK cedric!!!
...
SVN revision: 58613
2011-04-13 03:08:58 +00:00
Carsten Haitzler
0a9e561d91
dont need empty dir.
...
SVN revision: 58611
2011-04-12 23:48:40 +00:00
Mike Blumenkrantz
d422c0a88e
add bench for google's cityhash function (64bit, http://code.google.com/p/cityhash/ )
...
convenient graph of output can be found at http://www.enlightenment.org/~discomfitor/hash_bench.png
SVN revision: 58610
2011-04-12 23:12:52 +00:00
Cedric BAIL
c443dd97fd
eina: fix 64bits warning.
...
SVN revision: 58583
2011-04-12 09:00:45 +00:00
Cedric BAIL
d7800c23e3
eina: alloc ABI2 to reduce risk for futur ABI change.
...
SVN revision: 58582
2011-04-12 08:52:59 +00:00
Cedric BAIL
5165613666
eina: fix amalgamation build.
...
SVN revision: 58569
2011-04-11 21:16:20 +00:00
Cedric BAIL
8b276b36c7
eina: add Eina_Object API.
...
This API is what could be used by all EFL library for their exposed
type (Evas_Object, Ecore_Timer, Ecore_Animator, Eio_File, ...). The
purpose of Eina_Object is to provide an "obscure" pointer that is
infact an ID with a generation count that will never be dereferenced
directly.
This provide the benefit of always accessing a living object
with 1/256 chance to being the expected generation of it, that will
always be of the right type.
It also provide asynchronous repacking ability (still highly
inefficient, but not really hard to improve), simple inheritance
with constructor/destructor and link between object.
All this implementation is highly open for comment, idea, review,
fix and change. I didn't got the time to write a sample test right
now. Maybe will come tomorrow. Same for docs.
SVN revision: 58562
2011-04-11 18:00:34 +00:00
Cedric BAIL
6ffb3b8d9f
eina: restore ABI compatibility.
...
NOTE: if you did update the EFL during the last 3 hours, you will need to
recompile them all at once.
SVN revision: 58561
2011-04-11 17:45:01 +00:00
Cedric BAIL
90801855db
eina: prevent NULL offsetting.
...
SVN revision: 58560
2011-04-11 17:28:16 +00:00
Cedric BAIL
29639eea35
eina: add eina_mempool_repack.
...
WARNING: HIGHLY UNTESTED PIECE OF CODE ! USE IT AT YOUR OWN RISK !
SVN revision: 58554
2011-04-11 14:07:42 +00:00
Cedric BAIL
ca83ca2ff4
eina: add eina_inlist_sort (merge sort based on eina_list code).
...
SVN revision: 58540
2011-04-11 09:55:27 +00:00
Carsten Haitzler
8945479719
doxy -> .h
...
SVN revision: 58450
2011-04-07 13:17:25 +00:00
Carsten Haitzler
d2b654d777
doxy->h
...
SVN revision: 58448
2011-04-07 13:15:31 +00:00
Carsten Haitzler
703b835643
doxy -> .h
...
SVN revision: 58445
2011-04-07 13:13:11 +00:00
Carsten Haitzler
c46642cb97
doxy -> .h
...
SVN revision: 58444
2011-04-07 13:11:27 +00:00
Carsten Haitzler
1c640c7704
more doxy -> .h
...
SVN revision: 58443
2011-04-07 13:08:48 +00:00
Carsten Haitzler
14478ee124
doxy -> .h
...
SVN revision: 58442
2011-04-07 13:05:05 +00:00
Carsten Haitzler
4bbfbb6b33
doxy -> .h
...
SVN revision: 58440
2011-04-07 13:01:48 +00:00
Carsten Haitzler
ca4fa3936a
doxy -> .h
...
SVN revision: 58439
2011-04-07 13:00:10 +00:00
Carsten Haitzler
99167100db
doxy
...
SVN revision: 58438
2011-04-07 12:58:21 +00:00
Carsten Haitzler
11ed8ad05f
more dox -> .h
...
SVN revision: 58437
2011-04-07 12:57:44 +00:00
Carsten Haitzler
046360b50b
more doxy -> .h
...
SVN revision: 58436
2011-04-07 12:45:51 +00:00
Carsten Haitzler
6e21633ccd
doxy -> .h
...
SVN revision: 58435
2011-04-07 12:44:02 +00:00
Carsten Haitzler
57dbcaaaa2
more doxy -> .h
...
SVN revision: 58434
2011-04-07 12:38:55 +00:00
Carsten Haitzler
99c6a32a15
more doxy to .h
...
SVN revision: 58432
2011-04-07 12:31:57 +00:00
Carsten Haitzler
b8b576afa9
more doxy -> .h
...
SVN revision: 58430
2011-04-07 12:26:24 +00:00
Carsten Haitzler
807038c47f
more doxy -> .h
...
SVN revision: 58429
2011-04-07 12:23:22 +00:00
Carsten Haitzler
54bf7e1c01
more dox -> .h
...
SVN revision: 58427
2011-04-07 12:21:50 +00:00
Carsten Haitzler
f61f070efc
more doxy -> .h
...
SVN revision: 58426
2011-04-07 12:17:32 +00:00
Carsten Haitzler
4ba040a35c
more dox -> .h
...
SVN revision: 58425
2011-04-07 12:04:24 +00:00
Carsten Haitzler
3b77b6c3c5
move more doc to .h
...
SVN revision: 58424
2011-04-07 11:55:27 +00:00
Carsten Haitzler
a91e054426
more doxy -> .h
...
SVN revision: 58421
2011-04-07 11:40:55 +00:00
Carsten Haitzler
d44242d02c
more doxy -> h
...
SVN revision: 58420
2011-04-07 11:39:20 +00:00
Carsten Haitzler
d5e0c692ea
more doc to h files
...
SVN revision: 58419
2011-04-07 11:30:22 +00:00
Carsten Haitzler
4d3ab4d8b4
more doc -> header.
...
SVN revision: 58416
2011-04-07 11:22:34 +00:00
Carsten Haitzler
3a3746c4c3
more docs to .h files.
...
SVN revision: 58415
2011-04-07 11:16:30 +00:00
Carsten Haitzler
4aa79a0fb9
more docs to headers.
...
SVN revision: 58414
2011-04-07 11:12:45 +00:00
Carsten Haitzler
7c3aa4194d
move some more doc to .h
...
SVN revision: 58413
2011-04-07 11:01:26 +00:00
Carsten Haitzler
a55fbc4baa
some doc -> .h
...
SVN revision: 58412
2011-04-07 10:38:25 +00:00
Carsten Haitzler
9f011dfa0c
move docs to .h
...
SVN revision: 58411
2011-04-07 10:26:38 +00:00