Vincent Torri
989ade86dd
fix a bit the documentation
...
SVN revision: 41870
2009-08-19 07:54:13 +00:00
Vincent Torri
2d97e95d2a
clean a bit the hamster
...
SVN revision: 41869
2009-08-19 07:36:39 +00:00
Vincent Torri
c45bf860da
* remove uneeded semicolons
...
* fix and add doxygen doc
SVN revision: 41868
2009-08-19 07:09:24 +00:00
Vincent Torri
36be15fc55
don't suppose that gcc is the only compiler that can be used.
...
Check if -Wall and -fno-strict-aliasing are supported by the compiler
SVN revision: 41863
2009-08-18 20:04:19 +00:00
Cedric BAIL
0b7407905c
* eina_rectangle: Add a local cache to rectangle creation.
...
SVN revision: 41856
2009-08-18 13:35:33 +00:00
Gustavo Sverzut Barbieri
425ebc47f5
improve docs and simplify macro, by kubo.
...
Kubo just found that docs could be improved and macro could be
simplified during his learning of EFL. Big bonus he did the
improvements =)
SVN revision: 41799
2009-08-16 00:47:23 +00:00
Cedric BAIL
c634e07770
* eina: Fix typo.
...
SVN revision: 41762
2009-08-14 14:22:25 +00:00
Carsten Haitzler
819c572d1c
amazing time hamsters!
...
SVN revision: 41728
2009-08-13 01:26:08 +00:00
Carsten Haitzler
d0c5158f5b
eina hamster++
...
<dieb_> weird, undefined refernce to eina_cpu_count
<raster> you have no cpus!
<dieb_> dammit!
<Sachiel> try eina_hamster_count
<dieb_> lo
<raster> oh god
<raster> now u did it
<raster> i have to add that
<dieb_> heheheh
SVN revision: 41727
2009-08-13 00:47:55 +00:00
Cedric BAIL
e713c62730
* eina_stringshare: We should use "unsigned char", because suncc think that char is signed.
...
SVN revision: 41697
2009-08-12 09:02:09 +00:00
Cedric BAIL
2ba87c1129
* eina: Fix SunPro compiler.
...
SVN revision: 41690
2009-08-11 14:14:42 +00:00
Cedric BAIL
ae1d5b38bb
* eina: eina_cpu_count should be multiplatform.
...
SVN revision: 41689
2009-08-11 14:11:36 +00:00
Rafael Antognolli
a67732bb88
Fixed check at the start of eina_list_accessor_get_at.
...
SVN revision: 41634
2009-08-07 20:28:05 +00:00
Gustavo Sverzut Barbieri
7526d8e309
be more clear in docs.
...
SVN revision: 41629
2009-08-07 01:35:16 +00:00
Gustavo Sverzut Barbieri
944be7e745
Bugfix eina_list_search_sorted_near_list() add sorted_insert.
...
eina_list_search_sorted_near_list() was broken and barfed at my face
during development of eina_list_sorted_insert(), so I rewrote it
following more traditional approach, also adding special cases for
head/tail remembering that random access in lists is not as fast as
array. I also simplified that code.
eina_list_sorted_insert() should be fast, O(log2 n) insert, with
special cases to insert already sorted arrays forwards or backwards,
however I believe that it's better to simply append/prepend in those
cases (if known).
SVN revision: 41625
2009-08-06 22:31:45 +00:00
Gustavo Sverzut Barbieri
f86aa350c6
allow limit tests to run.
...
eina_suite TEST1 TEST2 ... is your friend ;-)
SVN revision: 41624
2009-08-06 22:22:56 +00:00
Gustavo Sverzut Barbieri
4f39f6861a
API BREAK: eina_list_search_sorted_near_list() gets one more parameter.
...
This should not impact anybody, at least in SVN I got no hits for this
function.
The new parameter contains the result of the last call to func(), so
we can know if the node is smaller, bigger or exactly the requested
value and don't need to call func() on node to know for sure.
SVN revision: 41623
2009-08-06 19:01:47 +00:00
Gustavo Sverzut Barbieri
638e79b91e
smarter eina_list_merge(), more tests.
...
eina_list_merge() now fixes the smallest list segment, not always the
right. Before if we joined a list 1 to 1000 segments we'd fix all the
1000 instead of the single at left.
Tests to make sure both code paths are being executed.
SVN revision: 41622
2009-08-06 18:35:53 +00:00
Gustavo Sverzut Barbieri
70a599936d
oops, consider fixed_bitmap if it was built statically.
...
SVN revision: 41621
2009-08-06 18:08:14 +00:00
Gustavo Sverzut Barbieri
aeef508b8a
eina list docs.
...
* document undocumented functions.
* note order of magnitude of each function, try to avoid users
falling into traps.
SVN revision: 41619
2009-08-06 15:50:19 +00:00
Cedric BAIL
2bc76eab5a
* eina_rectangle: Forgot to initialise one attribute.
...
SVN revision: 41606
2009-08-05 14:46:21 +00:00
Cedric BAIL
5784d74daa
* eina: Add eina_cpu_count.
...
SVN revision: 41543
2009-07-30 16:45:15 +00:00
Carsten Haitzler
1ea1c629cb
back to pre ver's
...
SVN revision: 41535
2009-07-29 08:19:34 +00:00
Carsten Haitzler
6db38393cd
SNAPSHOT: svn-03
...
SVN revision: 41532
2009-07-29 08:03:25 +00:00
Cedric BAIL
e75b89d50c
* eina: Handle NULL in eina_list_search_sorted_near_list.
...
SVN revision: 41467
2009-07-21 15:21:46 +00:00
Gustavo Sverzut Barbieri
14105484aa
Eina rectangle missing list init.
...
Rectangle needs the list module for the pool_new() function. Patch
also adds a check for initialization error on the unit test.
By: Andre Dieb
SVN revision: 41460
2009-07-21 01:55:31 +00:00
Gustavo Sverzut Barbieri
25ac55ae09
update rectangle test to new API.
...
Guys, when you change API, please change it everywhere and then run tests!
By: Andre Dieb
SVN revision: 41421
2009-07-18 15:58:44 +00:00
Cedric BAIL
b02de756a6
* eina: Rename eina_module_list_delete to eina_module_list_flush.
...
SVN revision: 41385
2009-07-17 11:13:38 +00:00
Cedric BAIL
6ca987941f
* eina: Fix declaration according to Vincent Torri review.
...
SVN revision: 41359
2009-07-16 12:09:29 +00:00
Carsten Haitzler
01062bf98b
cast. c++ doesn't like the implied void * -> struct * cast.
...
SVN revision: 41358
2009-07-16 03:04:56 +00:00
Cedric BAIL
a477424685
* eina: Expose an helper for memory pool as Eina_Trash data type.
...
SVN revision: 41350
2009-07-15 13:13:52 +00:00
Gustavo Sverzut Barbieri
a772d03b40
inlist: docs, docs docs
...
SVN revision: 41328
2009-07-14 15:32:21 +00:00
Gustavo Sverzut Barbieri
a6f46561e7
add missing stddef.h, required by offsetof()
...
SVN revision: 41327
2009-07-14 15:32:01 +00:00
Gustavo Sverzut Barbieri
9af4d08f79
one more safety check: do not remove element if it's not in any list.
...
This is the best we can do, but what should be done is to check if
element is really from that list.
SVN revision: 41326
2009-07-14 14:00:59 +00:00
Cedric BAIL
729eaf324c
* eina: Remove recursion from eina_rectangle.
...
SVN revision: 41263
2009-07-07 11:24:44 +00:00
Cedric BAIL
dbaeb5eaba
* eina: Partial fix for ticket #286 .
...
SVN revision: 41241
2009-07-03 12:39:32 +00:00
Lars Munch
0b02e8f8a3
On windows use evil's dladdr implementation so you dont have to set
...
EINA_MODULES_MEMPOOL_DIR and EVAS_MODULES_DIR in the windows environment.
SVN revision: 41230
2009-07-02 07:45:01 +00:00
Vincent Torri
07d7e5ce66
* remove the mention of the static link check in configure ouput
...
* add a (ecologic) warning at the end of configure if a module is
statically linked to eina
SVN revision: 41226
2009-06-30 16:18:41 +00:00
Vincent Torri
7a3b2110bf
* more doc
...
* check the returned value of eina_error_init() in eina_module_init()
SVN revision: 41218
2009-06-28 06:29:11 +00:00
Vincent Torri
390f94bcfd
update m4 macros (mainly formatting)
...
SVN revision: 41212
2009-06-27 06:42:14 +00:00
Vincent Torri
c5ed7f0de4
* fix typo
...
* move option of e17 benchmark to its correct place
SVN revision: 41204
2009-06-26 07:52:56 +00:00
Vincent Torri
b38a118162
* use a m4 macro for checking benchmark libraries and
...
check the libraries only if benchmarking is enabled
* add extra dist files to be able to configure eina
with autogen.sh and also add .spec files
SVN revision: 41203
2009-06-26 07:20:15 +00:00
Vincent Torri
c94a92a174
* Remove the use of HAVE___ATTRIBUTE__ (which is defined at
...
configure time) in an exported header. Use only macros
defined by the compilers, which is sufficient and simpler.
* Add missing EINA_DEPRECATED in some cases.
SVN revision: 41199
2009-06-25 19:58:05 +00:00
Vincent Torri
4d5e99df01
add minimum supported version for Windows CE and XP
...
SVN revision: 41198
2009-06-25 19:55:06 +00:00
Cedric BAIL
f60c798f1d
* eina: Fix rectangle merge.
...
SVN revision: 41193
2009-06-25 10:58:16 +00:00
Vincent Torri
ebc20c2236
API BREAK: fix Eina API so that it is more consistent with the other EFL
...
what is modified:
eina_counter_add -> eina_counter_new
eina_counter_delete -> eina_counter_free
eina_lalloc_delete -> eina_lalloc_free
eina_mempool_new -> eina_mempool_add
eina_mempool_delete -> eina_mempool_del
eina_mempool_alloc -> eina_mempool_malloc
eina_tiler_del -> eina_tiler_free
It remains some questions: have the following API a good name:
eina_module_list_delete
eina_list_free
eina_rbtree_delete
(see ticket #286 )
If you find any problem, please report in that thread
SVN revision: 41187
2009-06-24 16:56:49 +00:00
Cedric BAIL
3b384b323c
* eina: Faster Eina_Rectangle_Pool (should be used by OpenGL engine).
...
SVN revision: 41185
2009-06-24 13:38:25 +00:00
Cedric BAIL
746302ad53
* eina: Make eina benchmark more configurable.
...
SVN revision: 41183
2009-06-24 12:48:33 +00:00
Cedric BAIL
0c9aead634
Evas_Rectangle are gone. We now use Eina_Rectangle and memory pool is
...
shared accross the application.
SVN revision: 41170
2009-06-23 13:57:27 +00:00
Vincent Torri
9110d8d574
fix a bit the documentation, but there are still
...
a lot of doc to write...
SVN revision: 41164
2009-06-22 20:03:58 +00:00
Vincent Torri
3ecc808ae2
remove documentation on how to build eina with static mempools
...
SVN revision: 41161
2009-06-22 17:38:56 +00:00
Cedric BAIL
b8e164fb01
* eina_rectangle: Fix typo.
...
SVN revision: 41158
2009-06-22 13:46:05 +00:00
Cedric BAIL
5c5cb1fdb1
* eina: Add a benchmark for eina_rectangle_pool.
...
SVN revision: 41157
2009-06-22 13:24:13 +00:00
Cedric BAIL
4fa66bcae9
* eina: Evas_Data are gone so unactivate benchmark.
...
SVN revision: 41156
2009-06-22 13:20:29 +00:00
Cedric BAIL
af1e7f5dc9
* eina: Fix API naming for eina_rectangle and add a global allocator.
...
SVN revision: 41155
2009-06-22 13:16:51 +00:00
Gustavo Sverzut Barbieri
4eb71900a2
and rename static linkage as well.
...
SVN revision: 41131
2009-06-20 16:31:15 +00:00
Vincent Torri
ddee121285
i forgot to rename file...
...
SVN revision: 41126
2009-06-20 10:17:37 +00:00
Vincent Torri
8021f6beeb
formatting
...
SVN revision: 41120
2009-06-20 06:47:03 +00:00
Vincent Torri
8909bb6b69
* All memory pools can be enabled / disabled
...
* Allow to pass 'static' to configure memory pools
* Add fixed_bitmap in the possible statically linked memory pools
For example:
./configure --enable-chained-pool=static --disable-fixed-bitmap
SVN revision: 41119
2009-06-20 06:42:32 +00:00
Cedric BAIL
7a18ab5ebc
* eina: Add an eina_hash_stringshare_new.
...
SVN revision: 41112
2009-06-19 14:44:23 +00:00
Cedric BAIL
bba26ef811
* eina: Improve eina hash manipulation for int.
...
- Faster int key comparison.
- Key Length callback could now be NULL and 0 will be assumed.
SVN revision: 41100
2009-06-18 12:08:52 +00:00
Lars Munch
7bcbe02a3e
Use correct module extension on cygwin
...
Patch from: booleanlabel at gmail dot com. Thanks.
SVN revision: 41094
2009-06-18 04:06:34 +00:00
Cedric BAIL
3f064e8818
* AUTHORS: Update to reflect new contribution from Albin.
...
SVN revision: 41076
2009-06-17 12:41:48 +00:00
Gustavo Sverzut Barbieri
32ff1f0aa4
better error setting and reporting in module loading.
...
* just set error codes if we know the error.
* debug dlopen() error using EINA_ERROR_PDBG()
SVN revision: 41057
2009-06-16 14:59:09 +00:00
Carsten Haitzler
9394f73104
back to svn soname
...
SVN revision: 41042
2009-06-15 06:29:43 +00:00
Carsten Haitzler
e81db0f5a3
make distcheck and... SNAP!
...
SVN revision: 41039
2009-06-15 05:32:49 +00:00
Gustavo Sverzut Barbieri
3d720628ce
Add DragonFly BSD and simplifies other conditions.
...
By: Joerg Sonnenberger.
SVN revision: 41020
2009-06-12 17:48:10 +00:00
Vincent Torri
320619b866
Remove trailing slash in the installation directory
...
Fix installation of the eina modules with automake 1.11
SVN revision: 41013
2009-06-12 07:35:53 +00:00
Cedric BAIL
35526933af
* eina: Remove memory leak (patch from Andre Dieb).
...
SVN revision: 40986
2009-06-09 16:02:20 +00:00
Vincent Torri
5bd14d2a05
* modify the way eina_config.h is built (see eina_config.h.in
...
and configure.ac)
* include eina_config.h explicitely in files where the macros
of eina_config.h are used
* define eina_magic_string_init() and eina_magic_string_shutdown()
even when the mugle option is set (magic disabled)
* formatting and fix in configure.ac
SVN revision: 40962
2009-06-08 08:27:33 +00:00
Gustavo Sverzut Barbieri
df58840124
do not leak module if user do not want it.
...
SVN revision: 40924
2009-06-06 22:53:03 +00:00
Vincent Torri
33cfc873ec
Fix init error handling of array, benchmark, counter,main,
...
rectangle and stringshare modules. Patch by Andre Dieb, modified
by me (formatting and fix for the Windows code in eina_counter)
SVN revision: 40915
2009-06-06 04:22:21 +00:00
Vincent Torri
46836c875f
fix documentation
...
SVN revision: 40914
2009-06-06 03:55:32 +00:00
Cedric BAIL
4de864c578
* eina: Update eina authors list.
...
SVN revision: 40893
2009-06-04 09:11:20 +00:00
Cedric BAIL
5aeb9bbe82
* Fix some init/shutdown procedure.
...
SVN revision: 40892
2009-06-04 09:02:29 +00:00
Gustavo Sverzut Barbieri
7b7ece4046
fix debian rules files.
...
* fix the way AC_INIT macros are parsed to consider [] as well.
* set both LDFLAGS and CFLAGS on the libs I use and I know support -fvisibility=hidden.
SVN revision: 40838
2009-05-26 17:34:53 +00:00
Cedric BAIL
c38a387a05
* eina: Patch from Albin Tonnerre that add a new accessor for Inlist container.
...
SVN revision: 40726
2009-05-18 14:49:57 +00:00
Vincent Torri
8b6f8ea2d8
underquoted parameters of AC_INIT
...
SVN revision: 40651
2009-05-15 08:12:38 +00:00
Vincent Torri
983479952f
update efl_doxygen.m4
...
SVN revision: 40650
2009-05-15 08:11:51 +00:00
Vincent Torri
221882c996
don't use the release stuff for Windows CE
...
SVN revision: 40624
2009-05-13 18:42:40 +00:00
Gustavo Sverzut Barbieri
ebeabe3735
enable adding just part of a string.
...
this allows us to add stringshare from a larger buffer that cannot be
modified.
SVN revision: 40516
2009-05-06 04:11:01 +00:00
Davide Andreoli
de2cd99b4b
* New style for Eina Doxy... now lets see what will happend with the online generation ;)
...
SVN revision: 40467
2009-04-29 21:44:33 +00:00
Daniel Kolesa
f53053c1ca
Missing build-deps
...
SVN revision: 40446
2009-04-28 16:38:18 +00:00
Carsten Haitzler
8e52d827ec
move to uses no []'s as it works for me, but for belem... inconsistent []'s
...
doesnt work.
SVN revision: 40300
2009-04-23 00:32:53 +00:00
Daniel Kolesa
875d89a9fe
Updated debian stuff for core EFL. Changed debian stuff of others to work with core EFL updates.
...
SVN revision: 40292
2009-04-22 16:37:17 +00:00
Carsten Haitzler
9d18df3109
and incriment to next rev.
...
SVN revision: 40285
2009-04-22 14:08:21 +00:00
Carsten Haitzler
99ccf484f8
snapworth quality - distchecked. sonames bumped. rev's bumped. tarballs
...
uploaded.
SVN revision: 40284
2009-04-22 14:07:05 +00:00
Daniel Kolesa
7a07300a77
Updated changelogs for packages which will go into repository.
...
SVN revision: 40270
2009-04-21 17:39:20 +00:00
Carsten Haitzler
e39dc41493
1. embryo shoudl have soname
...
2. yes local.conf slipped in - ignore
3. added soname version release to module arch dirs
4. adapted extra-modules to use the revision in arch
5. made e17 also have a release rev
6. dummy release stuff in eet - wont use it as its already released.
SVN revision: 40267
2009-04-21 14:17:42 +00:00
Daniel Kolesa
c06e55cc1b
Merged with pkgE
...
SVN revision: 40226
2009-04-19 16:22:00 +00:00
Daniel Kolesa
5d5d17960d
Prepared for merge with pkgE debian stuff
...
SVN revision: 40225
2009-04-19 16:18:41 +00:00
Vincent Torri
045986b465
fix rectangle unit test
...
SVN revision: 40158
2009-04-18 09:17:37 +00:00
Carsten Haitzler
ce5a59b7e5
lutin... release soname patch. verbose svn soname used right now
...
SVN revision: 40131
2009-04-17 10:01:45 +00:00
Daniel Kolesa
cd8dd91b01
Updated debian stuff(grew Standards-Version, updated python-ecore rules file)
...
SVN revision: 40043
2009-04-14 17:21:19 +00:00
Viktor Kojouharov
b2eeca9783
fix docu
...
SVN revision: 39989
2009-04-11 16:59:39 +00:00
Daniel Kolesa
c2cc688e9e
Added doxygen to eina deps in debian
...
SVN revision: 39922
2009-04-10 09:05:24 +00:00
Cedric BAIL
5016004597
* eina_rectangle: Use a mempool to reduce memory allocation.
...
SVN revision: 39909
2009-04-09 15:51:32 +00:00
Carsten Haitzler
1c00a019e9
new -> news. people with g++ using eina in their c++ stuff will be most
...
un-amused by the use of a variable called "new".
SVN revision: 39905
2009-04-09 05:55:51 +00:00
Gustavo Sverzut Barbieri
2e9a9a9700
eina_stringshare_replace() gets in!
...
I was replicating this code in many places, it should go into eina itself.
It's the right way to change strings that you don't know are
stringshared before, since it will first add a reference and then
remove, making it impossible to have references to go 0 and string
being released before adding new references, fixing the following
possible problem:
x = eina_stringshare_add("x");
replace(x, x);
then:
incorrect_replace(const char **b, const char *a) {
eina_stringshare_del(*b); /* reference gets to 0 */
eina_stringshare_add(a); /* BUG!!! */
*b = a;
}
SVN revision: 39903
2009-04-08 18:25:02 +00:00
Gustavo Sverzut Barbieri
78f4f011d0
export vargs version of eina_error_print().
...
SVN revision: 39879
2009-04-06 12:41:50 +00:00
Vincent Torri
46b3ef7d0c
Fix llvm report in eain_tiler.
...
The remaining llvm reports, in eina_rbtree.c, are not correct, I think.
SVN revision: 39710
2009-03-25 12:04:21 +00:00
Vincent Torri
18258b5721
fix llvm report in eina_stringshare
...
SVN revision: 39707
2009-03-25 10:32:33 +00:00
Vincent Torri
bda0cab9dd
fix llvm reports in eina_list
...
SVN revision: 39706
2009-03-25 09:24:56 +00:00
Daniel Kolesa
47d3a66c13
i found it is useless and cdbs is setting up prefix automatically.
...
SVN revision: 39695
2009-03-24 19:56:43 +00:00
Daniel Kolesa
510ec92901
forgot to add --prefix=/usr
...
SVN revision: 39694
2009-03-24 19:51:00 +00:00
Daniel Kolesa
1bce155f0f
Updated debian stuff everywhere.
...
SVN revision: 39693
2009-03-24 19:44:57 +00:00
Vincent Torri
309606b2dd
use variadic macros, as suggested by Gustavo
...
SVN revision: 39663
2009-03-24 07:10:46 +00:00
Vincent Torri
7e809db9c8
fix some llvm report
...
SVN revision: 39657
2009-03-23 20:36:10 +00:00
Vincent Torri
842c9843ec
Fix compilation on OpenBSD (bug #250 ). Patch by eumel.
...
SVN revision: 39627
2009-03-22 13:40:28 +00:00
Vincent Torri
2b1fe0c3b9
change the variable near to lnear, as it seems
...
that it's a keyword on Windows...
SVN revision: 39621
2009-03-22 12:22:39 +00:00
Gustavo Sverzut Barbieri
124e0c4a1b
deprecated attribute
...
SVN revision: 39597
2009-03-20 01:00:35 +00:00
Gustavo Sverzut Barbieri
21f6be2f66
constness++
...
SVN revision: 39596
2009-03-20 01:00:04 +00:00
Cedric BAIL
e027bb8a6e
* eina_list: Add a eina_list_search_sorted_near_list. Usefull if you want to build
...
a sorted list.
SVN revision: 39550
2009-03-18 15:00:52 +00:00
Cedric BAIL
9fab9595b5
* eina_list: Add eina_list_search_sorted_list and eina_list_search_unsorted_list.
...
SVN revision: 39546
2009-03-18 13:29:36 +00:00
Gustavo Sverzut Barbieri
bd6ef0cce1
add missing prototype.
...
SVN revision: 39516
2009-03-17 13:05:02 +00:00
Gustavo Sverzut Barbieri
56d1e979ce
fix docs and add clone and reversed iterator calls.
...
* docs: be clear if it's a copy or in-place.
* clone: add some apis to create a copy while operates, sort should
do the same.
* reversed iterator: new call to walk the list reversed, will make
life easier in some cases.
SVN revision: 39515
2009-03-17 12:52:38 +00:00
Gustavo Sverzut Barbieri
750bdfce3d
inlist: add count.
...
SVN revision: 39465
2009-03-13 11:32:56 +00:00
Carsten Haitzler
739db97356
1. cygwin fixes from booleanlabel@gmail.com
...
2. these are just generic fixes - so also fix 1 doc example too.
SVN revision: 39464
2009-03-13 10:53:07 +00:00
Carsten Haitzler
691aa040b9
strict-aliasing is gcc 3+ - apply to CFLAGS for libeina.
...
SVN revision: 39462
2009-03-13 10:24:45 +00:00
Jorge Luis Zapata Muga
07235befaa
+ Fix the precision when multiplying two fixed point numbers
...
SVN revision: 39307
2009-03-01 12:35:30 +00:00
Gustavo Sverzut Barbieri
e3cce7b79d
New macros, documentation and consistency for iterators and accessors.
...
EINA_ITERATOR_FOREACH() and EINA_ACCESSOR_FOREACH() are new macros to
help us forget about nasty C details (like cast to (void **)).
Document most iterators and accessors.
All iterators now set EINA_ERROR_OUT_OF_MEMORY if it's the case.
SVN revision: 39267
2009-02-27 16:32:22 +00:00
Gustavo Sverzut Barbieri
aff2f5ebcf
Add reverse iterator macros for eina list.
...
SVN revision: 39218
2009-02-25 20:19:32 +00:00
Gustavo Sverzut Barbieri
27f001875b
Fix EINA_INLIST_GET() macro.
...
now EINA_INLIST_GET(bla)->next will work, before it was like
&bla->__in_list->next
which is wrong, since __in_list is not a pointer, rather the memory itself.
SVN revision: 39210
2009-02-25 16:24:00 +00:00
Cedric BAIL
e31b5e961e
* eina/src/lib/eina_list.c: Use less code.
...
* eina/src/lib/eina_error.c: Add a way to abord on any error message.
SVN revision: 39196
2009-02-25 10:46:14 +00:00
Cedric BAIL
b496774e9e
* eina/src/include/eina_list.h: Add a macro for freeing each element of an Eina_List.
...
SVN revision: 39109
2009-02-20 16:44:26 +00:00
Vincent Torri
6b19ce16aa
set correctly the relative path of the extern directory,
...
so that it fits the one used in the tutorial.
SVN revision: 39099
2009-02-19 19:48:03 +00:00
Cedric BAIL
55cfc46ee2
* eina/m4/efl_pthread.m4,
...
* eina/src/modules/mp/chained_pool/Makefile.am,
* eina/src/modules/mp/chained_pool/eina_chained_mempool.c: Now chained mempool are thread safe.
SVN revision: 39058
2009-02-17 14:18:14 +00:00
Cedric BAIL
a98287fc07
* eina/src/lib/eina_module.c: After deleting all members, we should flush the array.
...
SVN revision: 39057
2009-02-17 12:58:09 +00:00
Cedric BAIL
2cad4f8082
* eina/src/lib/eina_array.c: Fix small typo.
...
SVN revision: 38921
2009-02-03 13:20:30 +00:00
Vincent Torri
4fc823bdc9
* fix logic in efl_doxygen.m4
...
* allow aclocal to check for modifications of the m4 macros in m4/
SVN revision: 38892
2009-02-01 20:21:56 +00:00
Vincent Torri
cda565a38e
* more doc in the tutorial of the array data type
...
* minor formatting
SVN revision: 38853
2009-01-29 23:16:23 +00:00
Jorge Luis Zapata Muga
01ea61f11d
+ Remove unlikely macro debug
...
SVN revision: 38840
2009-01-29 13:06:46 +00:00
Jorge Luis Zapata Muga
d508c49684
+ Make the tiler functions static
...
+ Make the iterator actually work: keep track of current node
SVN revision: 38833
2009-01-28 20:01:42 +00:00
Vincent Torri
8cb92a2ca4
force the files that are in the _DATA primary to be
...
distributed in the tarball
SVN revision: 38832
2009-01-28 18:00:20 +00:00
Vincent Torri
c02331ab22
formatting
...
SVN revision: 38815
2009-01-27 16:59:06 +00:00
Vincent Torri
e9908d6e42
* formatting: new lines are good for reading code
...
* remove comma after EINA_MAGIC (compilation with Visual Studio)
SVN revision: 38814
2009-01-27 16:44:45 +00:00
Vincent Torri
53f757287f
add source and header files to Visual Studio project files
...
SVN revision: 38813
2009-01-27 16:38:06 +00:00
rephorm
0f053605b9
don't leak
...
SVN revision: 38806
2009-01-27 05:11:16 +00:00
Jorge Luis Zapata Muga
e5123aac83
+ Fix for 64 bit asm
...
+ Fix for MinGW
SVN revision: 38799
2009-01-26 19:35:12 +00:00
Jorge Luis Zapata Muga
75299a9fa3
+ Add eina_cpu subsystem: just query cpu simd operations for now.
...
+ Add eina_tiler subsystem: initially abstraction and import of gustavo's splitter code.
SVN revision: 38793
2009-01-26 16:27:00 +00:00
Jorge Luis Zapata Muga
40d9cab09a
+ Fix some english typos
...
+ Fix some macros that need an expression and there are no attributes support, just pass the expression as is
SVN revision: 38792
2009-01-26 16:23:07 +00:00
Cedric BAIL
1caa0562ad
Add new set of usefull fonctions for eina list.
...
SVN revision: 38791
2009-01-26 14:46:02 +00:00
Vincent Torri
8bee601e8d
fix warnings with vc++
...
SVN revision: 38744
2009-01-23 18:24:35 +00:00
Vincent Torri
092927d13e
add eina_main.h in vc project
...
SVN revision: 38742
2009-01-23 16:44:25 +00:00
Vincent Torri
29befb161d
put macro after declarations, otherwise vc++ is not happy
...
SVN revision: 38741
2009-01-23 16:43:14 +00:00
Vincent Torri
c166854ae1
* minor formatting
...
* add some doc in eina_array
* in eina_main.c, include only the necessary headers
* fix some warnings (size_t <-> int)
SVN revision: 38740
2009-01-23 16:11:45 +00:00
Vincent Torri
da4cbd5c95
put eina_init() and eina_shutdown() in their own header file
...
SVN revision: 38738
2009-01-23 14:46:56 +00:00
Cedric BAIL
f0096a167c
* eina/src/include/eina_private.h: better use do {} while(0);
...
* eina/src/lib/eina_array.c: Use gcc attribute to shutdown llvm warning.
SVN revision: 38666
2009-01-20 16:47:19 +00:00
Vincent Torri
7554db7669
too much alloca declarations :-)
...
SVN revision: 38665
2009-01-20 16:14:36 +00:00
Cedric BAIL
0dda30daf6
* eina/src/include/eina_array.h,
...
* eina/src/include/eina_f16p16.h,
* eina/src/include/eina_accessor.h,
* eina/src/include/eina_list.h,
* eina/src/include/eina_iterator.h,
* eina/src/lib/eina_rectangle.c,
* eina/src/lib/eina_list.c,
* eina/src/lib/eina_array.c,
* eina/src/lib/eina_hash.c,
* eina/src/lib/eina_module.c,
* eina/src/lib/eina_stringshare.c,
* eina/src/lib/eina_benchmark.c: Fix for windows compilation.
SVN revision: 38663
2009-01-20 15:56:48 +00:00