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
Cedric BAIL
8a380803a7
* eina/src/include/eina_private.h,
...
* eina/src/lib/eina_array.c: Remove potential error detected by llvm in eina_array.
SVN revision: 38662
2009-01-20 15:44:52 +00:00
Cedric BAIL
57aadc71fd
Remove warning.
...
SVN revision: 38661
2009-01-20 15:42:34 +00:00
Cedric BAIL
3c2f745ab9
Fix wrong order and useless double include.
...
SVN revision: 38660
2009-01-20 15:40:36 +00:00
Vincent Torri
0d166092ac
* fix warning (missing alloca declaration)
...
* formatting
SVN revision: 38657
2009-01-20 08:29:41 +00:00
tilman
4c70375594
Fixed two trivial const correctness issues.
...
SVN revision: 38621
2009-01-17 17:13:03 +00:00
Vincent Torri
ca0cbdbec7
update ac_attribute.m4
...
SVN revision: 38579
2009-01-14 08:36:16 +00:00
Vincent Torri
cc7b4554cb
The problem of the detection of __attribute__ on mac os x comes
...
from the fact that we put a definition of a function in the
body of main(). Moving it outside fixes it. In addition, the
extra flag i added in configure.ac is useless.
SVN revision: 38565
2009-01-13 06:19:47 +00:00
Vincent Torri
f84454ed08
mac os x port of gcc has problems with __attribute__ and thinks that
...
there are nested functions. -fnested-functions must be passed to the
compiler to allow the compilation on that platform.
SVN revision: 38544
2009-01-11 09:25:47 +00:00
Daniel Kolesa
b61dff0b58
Added debian/rules files with a new permissions set(755).
...
SVN revision: 38519
2009-01-09 16:33:51 +00:00
Daniel Kolesa
971b1682a9
prepare debian rules files for new chmod permissions.
...
SVN revision: 38518
2009-01-09 16:31:51 +00:00
Daniel Kolesa
2bf1434120
Added new set of debian subdirs.
...
BROKEN/etox
e
ecore
e_dbus
edje
edje_editor
edje_viewer
eet
efreet
eina
elicit
elitaire
embryo
E-MODULES-EXTRA
emotion
emphasis
empower
emprint
enhance
enity
entrance
ephoto
epsilon
esmart
estickies
etk
etk_extra
evas
evolve
ewl
exhibit
exml
expedite
imlib2
imlib2_loaders
MISC/engage
OLD/eclair
OLD/engrave
OLD/enotes
OLD/entrance_edit_gui
OLD/e_utils
OLD/evoak
OLD/examine
OLD/iconbar
PROTO/etk_server
PROTO/exchange
PROTO/extrackt
rage
SVN revision: 38399
2009-01-01 11:35:17 +00:00
Daniel Kolesa
bf77c1ced2
Removed debian subfolders - prepared for a new set of debian subdirs.
...
SVN revision: 38398
2009-01-01 11:25:05 +00:00
Carsten Haitzler
430fa42aa4
naruto takahashi's fix for gcc3 patch
...
SVN revision: 38397
2009-01-01 03:09:48 +00:00
handyande
c2bab4e388
Make eina compile on OSX
...
SVN revision: 38382
2008-12-31 11:51:37 +00:00
Iván Briano
025c3d8422
Let's see if the number of people asking what Eina is remains the same.
...
SVN revision: 38354
2008-12-30 15:38:11 +00:00
Cedric BAIL
f2037c5c6f
Don't generate warning in some little case.
...
SVN revision: 38348
2008-12-29 12:41:46 +00:00
Cedric BAIL
f722173009
Don't display useless warning.
...
SVN revision: 38346
2008-12-29 11:49:35 +00:00
Cedric BAIL
73c686a5ea
Fix a little mistake.
...
SVN revision: 38339
2008-12-29 08:53:19 +00:00
Cedric BAIL
e537976f58
Use correct type.
...
SVN revision: 38338
2008-12-29 08:53:01 +00:00
Gustavo Sverzut Barbieri
b6e27a739f
oops, it's EINA_SAFETY_CHECKS, not just SAFETY_CHECKS.
...
SVN revision: 38328
2008-12-26 19:14:57 +00:00
Gustavo Sverzut Barbieri
ab95d9183d
eina safety checks.
...
safety checks will report null pointers and other error conditions on
public api's and can be disabled by compile time check.
note that in order to have these checks working we need to make
EINA_ARG_NONNULL() void, otherwise GCC can remove these checks since
they're known to be false.
This commit also make two minor changes:
* list and hash accessors and iterators are created even for empty
entities. This is correct in my point of view since NULL should
indicate error. Having these in were an optimziation, but not
worth it, these are not the most common case and hitting this path
is not of much cost.
* unmarked some parameters as nonnull, mainly on list and inlist.
SVN revision: 38327
2008-12-26 18:31:14 +00:00