raster [Thu, 16 Jul 2009 03:04:56 +0000 (03:04 +0000)]
cast. c++ doesn't like the implied void * -> struct * cast.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@41358
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 15 Jul 2009 13:13:52 +0000 (13:13 +0000)]
* eina: Expose an helper for memory pool as Eina_Trash data type.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@41350
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Tue, 14 Jul 2009 15:32:21 +0000 (15:32 +0000)]
inlist: docs, docs docs
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@41328
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Tue, 14 Jul 2009 15:32:01 +0000 (15:32 +0000)]
add missing stddef.h, required by offsetof()
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@41327
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Tue, 14 Jul 2009 14:00:59 +0000 (14:00 +0000)]
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.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@41326
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Tue, 7 Jul 2009 11:24:44 +0000 (11:24 +0000)]
* eina: Remove recursion from eina_rectangle.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@41263
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Fri, 3 Jul 2009 12:39:32 +0000 (12:39 +0000)]
* eina: Partial fix for ticket #286.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@41241
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
lmunch [Thu, 2 Jul 2009 07:45:01 +0000 (07:45 +0000)]
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.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@41230
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Tue, 30 Jun 2009 16:18:41 +0000 (16:18 +0000)]
* 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
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@41226
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sun, 28 Jun 2009 06:29:11 +0000 (06:29 +0000)]
* more doc
* check the returned value of eina_error_init() in eina_module_init()
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@41218
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sat, 27 Jun 2009 06:42:14 +0000 (06:42 +0000)]
update m4 macros (mainly formatting)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@41212
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Fri, 26 Jun 2009 07:52:56 +0000 (07:52 +0000)]
* fix typo
* move option of e17 benchmark to its correct place
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@41204
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Fri, 26 Jun 2009 07:20:15 +0000 (07:20 +0000)]
* 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
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@41203
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Thu, 25 Jun 2009 19:58:05 +0000 (19:58 +0000)]
* 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.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@41199
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Thu, 25 Jun 2009 19:55:06 +0000 (19:55 +0000)]
add minimum supported version for Windows CE and XP
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@41198
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Thu, 25 Jun 2009 10:58:16 +0000 (10:58 +0000)]
* eina: Fix rectangle merge.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@41193
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Wed, 24 Jun 2009 16:56:49 +0000 (16:56 +0000)]
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
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@41187
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 24 Jun 2009 13:38:25 +0000 (13:38 +0000)]
* eina: Faster Eina_Rectangle_Pool (should be used by OpenGL engine).
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@41185
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 24 Jun 2009 12:48:33 +0000 (12:48 +0000)]
* eina: Make eina benchmark more configurable.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@41183
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Tue, 23 Jun 2009 13:57:27 +0000 (13:57 +0000)]
Evas_Rectangle are gone. We now use Eina_Rectangle and memory pool is
shared accross the application.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@41170
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Mon, 22 Jun 2009 20:03:58 +0000 (20:03 +0000)]
fix a bit the documentation, but there are still
a lot of doc to write...
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@41164
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Mon, 22 Jun 2009 17:38:56 +0000 (17:38 +0000)]
remove documentation on how to build eina with static mempools
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@41161
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 22 Jun 2009 13:46:05 +0000 (13:46 +0000)]
* eina_rectangle: Fix typo.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@41158
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 22 Jun 2009 13:24:13 +0000 (13:24 +0000)]
* eina: Add a benchmark for eina_rectangle_pool.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@41157
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 22 Jun 2009 13:20:29 +0000 (13:20 +0000)]
* eina: Evas_Data are gone so unactivate benchmark.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@41156
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 22 Jun 2009 13:16:51 +0000 (13:16 +0000)]
* eina: Fix API naming for eina_rectangle and add a global allocator.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@41155
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Sat, 20 Jun 2009 16:31:15 +0000 (16:31 +0000)]
and rename static linkage as well.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@41131
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sat, 20 Jun 2009 10:17:37 +0000 (10:17 +0000)]
i forgot to rename file...
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@41126
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sat, 20 Jun 2009 06:47:03 +0000 (06:47 +0000)]
formatting
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@41120
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sat, 20 Jun 2009 06:42:32 +0000 (06:42 +0000)]
* 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
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@41119
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Fri, 19 Jun 2009 14:44:23 +0000 (14:44 +0000)]
* eina: Add an eina_hash_stringshare_new.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@41112
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Thu, 18 Jun 2009 12:08:52 +0000 (12:08 +0000)]
* eina: Improve eina hash manipulation for int.
- Faster int key comparison.
- Key Length callback could now be NULL and 0 will be assumed.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@41100
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
booleanlabel at gmail dot com. Thanks [Thu, 18 Jun 2009 04:06:34 +0000 (04:06 +0000)]
Use correct module extension on cygwin
Patch from: booleanlabel at gmail dot com. Thanks.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@41094
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 17 Jun 2009 12:41:48 +0000 (12:41 +0000)]
* AUTHORS: Update to reflect new contribution from Albin.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@41076
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Tue, 16 Jun 2009 14:59:09 +0000 (14:59 +0000)]
better error setting and reporting in module loading.
* just set error codes if we know the error.
* debug dlopen() error using EINA_ERROR_PDBG()
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@41057
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 15 Jun 2009 06:29:43 +0000 (06:29 +0000)]
back to svn soname
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@41042
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 15 Jun 2009 05:32:49 +0000 (05:32 +0000)]
make distcheck and... SNAP!
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@41039
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Fri, 12 Jun 2009 17:48:10 +0000 (17:48 +0000)]
Add DragonFly BSD and simplifies other conditions.
By: Joerg Sonnenberger.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@41020
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Fri, 12 Jun 2009 07:35:53 +0000 (07:35 +0000)]
Remove trailing slash in the installation directory
Fix installation of the eina modules with automake 1.11
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@41013
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Tue, 9 Jun 2009 16:02:20 +0000 (16:02 +0000)]
* eina: Remove memory leak (patch from Andre Dieb).
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@40986
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Mon, 8 Jun 2009 08:27:33 +0000 (08:27 +0000)]
* 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
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@40962
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Sat, 6 Jun 2009 22:53:03 +0000 (22:53 +0000)]
do not leak module if user do not want it.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@40924
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sat, 6 Jun 2009 04:22:21 +0000 (04:22 +0000)]
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)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@40915
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sat, 6 Jun 2009 03:55:32 +0000 (03:55 +0000)]
fix documentation
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@40914
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Thu, 4 Jun 2009 09:11:20 +0000 (09:11 +0000)]
* eina: Update eina authors list.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@40893
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Thu, 4 Jun 2009 09:02:29 +0000 (09:02 +0000)]
* Fix some init/shutdown procedure.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@40892
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Tue, 26 May 2009 17:34:53 +0000 (17:34 +0000)]
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.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@40838
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 18 May 2009 14:49:57 +0000 (14:49 +0000)]
* eina: Patch from Albin Tonnerre that add a new accessor for Inlist container.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@40726
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Fri, 15 May 2009 08:12:38 +0000 (08:12 +0000)]
underquoted parameters of AC_INIT
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@40651
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Fri, 15 May 2009 08:11:51 +0000 (08:11 +0000)]
update efl_doxygen.m4
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@40650
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Wed, 13 May 2009 18:42:40 +0000 (18:42 +0000)]
don't use the release stuff for Windows CE
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@40624
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Wed, 6 May 2009 04:11:01 +0000 (04:11 +0000)]
enable adding just part of a string.
this allows us to add stringshare from a larger buffer that cannot be
modified.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@40516
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
davemds [Wed, 29 Apr 2009 21:44:33 +0000 (21:44 +0000)]
* New style for Eina Doxy... now lets see what will happend with the online generation ;)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@40467
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
quaker [Tue, 28 Apr 2009 16:38:18 +0000 (16:38 +0000)]
Missing build-deps
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@40446
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Thu, 23 Apr 2009 00:32:53 +0000 (00:32 +0000)]
move to uses no []'s as it works for me, but for belem... inconsistent []'s
doesnt work.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@40300
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
quaker [Wed, 22 Apr 2009 16:37:17 +0000 (16:37 +0000)]
Updated debian stuff for core EFL. Changed debian stuff of others to work with core EFL updates.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@40292
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Wed, 22 Apr 2009 14:08:21 +0000 (14:08 +0000)]
and incriment to next rev.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@40285
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Wed, 22 Apr 2009 14:07:05 +0000 (14:07 +0000)]
snapworth quality - distchecked. sonames bumped. rev's bumped. tarballs
uploaded.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@40284
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
quaker [Tue, 21 Apr 2009 17:39:20 +0000 (17:39 +0000)]
Updated changelogs for packages which will go into repository.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@40270
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Tue, 21 Apr 2009 14:17:42 +0000 (14:17 +0000)]
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.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@40267
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
quaker [Sun, 19 Apr 2009 16:22:00 +0000 (16:22 +0000)]
Merged with pkgE
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@40226
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
quaker [Sun, 19 Apr 2009 16:18:41 +0000 (16:18 +0000)]
Prepared for merge with pkgE debian stuff
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@40225
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sat, 18 Apr 2009 09:17:37 +0000 (09:17 +0000)]
fix rectangle unit test
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@40158
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Fri, 17 Apr 2009 10:01:45 +0000 (10:01 +0000)]
lutin... release soname patch. verbose svn soname used right now
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@40131
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
quaker [Tue, 14 Apr 2009 17:21:19 +0000 (17:21 +0000)]
Updated debian stuff(grew Standards-Version, updated python-ecore rules file)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@40043
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
urandom [Sat, 11 Apr 2009 16:59:39 +0000 (16:59 +0000)]
fix docu
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@39989
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
quaker [Fri, 10 Apr 2009 09:05:24 +0000 (09:05 +0000)]
Added doxygen to eina deps in debian
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@39922
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Thu, 9 Apr 2009 15:51:32 +0000 (15:51 +0000)]
* eina_rectangle: Use a mempool to reduce memory allocation.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@39909
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Thu, 9 Apr 2009 05:55:51 +0000 (05:55 +0000)]
new -> news. people with g++ using eina in their c++ stuff will be most
un-amused by the use of a variable called "new".
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@39905
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Wed, 8 Apr 2009 18:25:02 +0000 (18:25 +0000)]
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;
}
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@39903
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Mon, 6 Apr 2009 12:41:50 +0000 (12:41 +0000)]
export vargs version of eina_error_print().
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@39879
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Wed, 25 Mar 2009 12:04:21 +0000 (12:04 +0000)]
Fix llvm report in eain_tiler.
The remaining llvm reports, in eina_rbtree.c, are not correct, I think.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@39710
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Wed, 25 Mar 2009 10:32:33 +0000 (10:32 +0000)]
fix llvm report in eina_stringshare
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@39707
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Wed, 25 Mar 2009 09:24:56 +0000 (09:24 +0000)]
fix llvm reports in eina_list
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@39706
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
quaker [Tue, 24 Mar 2009 19:56:43 +0000 (19:56 +0000)]
i found it is useless and cdbs is setting up prefix automatically.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@39695
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
quaker [Tue, 24 Mar 2009 19:51:00 +0000 (19:51 +0000)]
forgot to add --prefix=/usr
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@39694
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
quaker [Tue, 24 Mar 2009 19:44:57 +0000 (19:44 +0000)]
Updated debian stuff everywhere.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@39693
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Tue, 24 Mar 2009 07:10:46 +0000 (07:10 +0000)]
use variadic macros, as suggested by Gustavo
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@39663
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Mon, 23 Mar 2009 20:36:10 +0000 (20:36 +0000)]
fix some llvm report
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@39657
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sun, 22 Mar 2009 13:40:28 +0000 (13:40 +0000)]
Fix compilation on OpenBSD (bug #250). Patch by eumel.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@39627
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sun, 22 Mar 2009 12:22:39 +0000 (12:22 +0000)]
change the variable near to lnear, as it seems
that it's a keyword on Windows...
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@39621
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Fri, 20 Mar 2009 01:00:35 +0000 (01:00 +0000)]
deprecated attribute
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@39597
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Fri, 20 Mar 2009 01:00:04 +0000 (01:00 +0000)]
constness++
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@39596
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 18 Mar 2009 15:00:52 +0000 (15:00 +0000)]
* eina_list: Add a eina_list_search_sorted_near_list. Usefull if you want to build
a sorted list.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@39550
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 18 Mar 2009 13:29:36 +0000 (13:29 +0000)]
* eina_list: Add eina_list_search_sorted_list and eina_list_search_unsorted_list.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@39546
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Tue, 17 Mar 2009 13:05:02 +0000 (13:05 +0000)]
add missing prototype.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@39516
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Tue, 17 Mar 2009 12:52:38 +0000 (12:52 +0000)]
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.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@39515
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Fri, 13 Mar 2009 11:32:56 +0000 (11:32 +0000)]
inlist: add count.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@39465
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Fri, 13 Mar 2009 10:53:07 +0000 (10:53 +0000)]
1. cygwin fixes from booleanlabel@gmail.com
2. these are just generic fixes - so also fix 1 doc example too.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@39464
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Fri, 13 Mar 2009 10:24:45 +0000 (10:24 +0000)]
strict-aliasing is gcc 3+ - apply to CFLAGS for libeina.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@39462
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
turran [Sun, 1 Mar 2009 12:35:30 +0000 (12:35 +0000)]
+ Fix the precision when multiplying two fixed point numbers
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@39307
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Fri, 27 Feb 2009 16:32:22 +0000 (16:32 +0000)]
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.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@39267
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Wed, 25 Feb 2009 20:19:32 +0000 (20:19 +0000)]
Add reverse iterator macros for eina list.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@39218
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Wed, 25 Feb 2009 16:24:00 +0000 (16:24 +0000)]
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.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@39210
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 25 Feb 2009 10:46:14 +0000 (10:46 +0000)]
* eina/src/lib/eina_list.c: Use less code.
* eina/src/lib/eina_error.c: Add a way to abord on any error message.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@39196
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Fri, 20 Feb 2009 16:44:26 +0000 (16:44 +0000)]
* eina/src/include/eina_list.h: Add a macro for freeing each element of an Eina_List.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@39109
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Thu, 19 Feb 2009 19:48:03 +0000 (19:48 +0000)]
set correctly the relative path of the extern directory,
so that it fits the one used in the tutorial.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@39099
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Tue, 17 Feb 2009 14:18:14 +0000 (14:18 +0000)]
* 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.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@39058
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Tue, 17 Feb 2009 12:58:09 +0000 (12:58 +0000)]
* eina/src/lib/eina_module.c: After deleting all members, we should flush the array.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@39057
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Tue, 3 Feb 2009 13:20:30 +0000 (13:20 +0000)]
* eina/src/lib/eina_array.c: Fix small typo.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@38921
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33