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
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
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