Commit Graph

668 Commits

Author SHA1 Message Date
Rafael Antognolli ea4efcb441 Fix eina_tile_grid_slicer_setup when a 0x0 rectangle was given as argument.
In this case slc->first wasn't being set, as well as the info.col and
info.row. This could bring some strange behavior like a call to
eina_tile_grid_slicer_next() not returning false.



SVN revision: 42783
2009-09-28 20:03:56 +00:00
Vincent Torri 70ba1f22fd and AC_SUBST the requirement...
SVN revision: 42703
2009-09-25 15:43:41 +00:00
Vincent Torri 47e25ab257 * really export symbols on Windows (EFL_EINA_BUILD not
correctly defined)
 * add evil in the Requires.private field of eina-0.pc.in

SVN revision: 42702
2009-09-25 15:39:53 +00:00
Cedric BAIL 568acf4705 * eina_atofp: Always return EINA_TRUE on valid input string.
SVN revision: 42700
2009-09-25 12:02:14 +00:00
Vincent Torri 1079703690 return false if fp is NULL, update doc accordingly
SVN revision: 42699
2009-09-25 11:51:52 +00:00
Cedric BAIL 340ac0ee30 * eina: Fix build without amalgamation.
SVN revision: 42698
2009-09-25 11:36:56 +00:00
Vincent Torri b2bda6edb2 * convert string to fp only if fp is not NULL
* add doc of eina_convert_atofp()
 * minor doc cleanup

SVN revision: 42697
2009-09-25 11:23:37 +00:00
Cedric BAIL 6a284f8178 * eina: Add eina_atofp.
SVN revision: 42694
2009-09-25 10:03:19 +00:00
Vincent Torri 7c47dc2c65 * add documentation for eina_convert_fptoa()
* fix typo in doc

SVN revision: 42691
2009-09-25 08:44:04 +00:00
Cedric BAIL a0cf367269 * eina: Improve eina_fptoa test.
SVN revision: 42648
2009-09-23 16:57:59 +00:00
Cedric BAIL 4ddba5724d * eina: Add eina_fptoa.
This is a small piece of code, but a big one for an edje fixed point implementation.


SVN revision: 42646
2009-09-23 16:47:08 +00:00
Vincent Torri 3e74ea2ad3 configure eina with VS according to the used mode (debug or release)
SVN revision: 42625
2009-09-22 22:28:35 +00:00
Vincent Torri a7293d0cda add README.txt and MANIFEST.txt files
SVN revision: 42526
2009-09-16 20:23:11 +00:00
Vincent Torri e2b34b41ee * fix compilation on Windows when using amalgamation
* put alloca declaration at the beginning

SVN revision: 42517
2009-09-16 17:22:01 +00:00
Vincent Torri c1f402b6fc * allow compilation with vc++
* fix a small warning

SVN revision: 42513
2009-09-16 13:38:21 +00:00
Vincent Torri 49ac7ebc95 * update Visual Studio project files:
- link against evil
   - eina mempools are statically linked
 * formatting in start.bat

SVN revision: 42512
2009-09-16 13:31:23 +00:00
Vincent Torri d14efa7613 * add Visual Studio 2008 project
* use a single start file to launch Visual Studio 2005 or 2008 automatically

SVN revision: 42510
2009-09-16 11:32:24 +00:00
Gustavo Sverzut Barbieri 5b68d0be34 minor fixes.
SVN revision: 42504
2009-09-15 22:32:24 +00:00
Vincent Torri 06cb4ebf40 update Visual Studio project
SVN revision: 42501
2009-09-15 21:20:56 +00:00
Vincent Torri 9b9c496175 move the declaration of variables at the beginning of the block
SVN revision: 42499
2009-09-15 21:20:08 +00:00
Vincent Torri 0ba193bae0 move EINA_DEPRECATED at the beginning of the declaration,
because it's more visible, and vc++ does not like it at
the end.

SVN revision: 42498
2009-09-15 21:19:15 +00:00
Cedric BAIL 8e6a393cf9 * eina_log: Fallback to mutex when spinlock doesn't exist.
SVN revision: 42489
2009-09-14 16:06:18 +00:00
Cedric BAIL d117093a55 * eina: Add explanation around compiler false positiv warning.
SVN revision: 42488
2009-09-14 15:28:55 +00:00
Rafael Antognolli 52de9e33cd Added the Eina_Tile_Grid_Slicer iterator.
This new iterator receives a rectangle as argument and tile_w X tile_h sized
tile, and slices the rectangle iterating over it on each iteration.



SVN revision: 42427
2009-09-11 23:51:47 +00:00
Gustavo Sverzut Barbieri 7d1745e3c1 constness++
SVN revision: 42426
2009-09-11 23:10:57 +00:00
Gustavo Sverzut Barbieri f98cb6e5f5 fix lighblue and add cyan.
SVN revision: 42410
2009-09-11 14:22:24 +00:00
Horms bef3c68926 Add libeina-svn-04.lintian-overrides
Based on libeina-svn-03.lintian-overrides from
the eina 0.0.2.062-2 package on debian.org



SVN revision: 42378
2009-09-10 02:44:05 +00:00
Horms fd13f43a81 Update libeina-svn-01 to libeina-svn-04
SVN revision: 42377
2009-09-10 02:41:40 +00:00
Horms 19afb9e363 Remove bogus mmu debian-version
SVN revision: 42376
2009-09-10 02:32:47 +00:00
Horms 7ac04b3860 Update version in Debian changelog to 0.0.2.62
SVN revision: 42375
2009-09-10 02:31:36 +00:00
Horms 0d0e486d54 Update Debian standards version from 3.8.1 to 3.8.3
SVN revision: 42374
2009-09-10 01:41:41 +00:00
Rafael Antognolli 0e716d559b EINA: Fix compilation when builddir != srcdir.
SVN revision: 42369
2009-09-09 20:37:23 +00:00
Iván Briano bbce7b5e0d Avoid clashes.
SVN revision: 42368
2009-09-09 15:53:50 +00:00
Iván Briano 555de0f914 Support EINA_INLIST to be anywhere in the struct with _FOREACH macros.
Fix pointer arithmetic with EINA_CONTAINER_GET.
Change Inlist test to have the int first and not assume a direct cast works.


SVN revision: 42366
2009-09-09 14:05:31 +00:00
Vincent Torri 2d3021f128 * add amalgation support in configure output
* remove a warning when eina_amalgamation.c is deleted but does not exist
 * delete eina_amalgamation.c when doing 'make clean'


SVN revision: 42363
2009-09-09 07:42:08 +00:00
Gustavo Sverzut Barbieri d909319998 tests: explain some errors messages are expected and check for safety checks.
Many people try "make check" and then complain they have some error
messages, but they are actually expected... but even for the
experienced is hard to know whenever it was expected or not, so
explicitly say that.

Also check if safety checks are enabled or not before doing "break"
tests, otherwise we'll end with segfaults and tests failing. (I have
not tested with them disabled, but should be okay).



SVN revision: 42360
2009-09-09 01:53:40 +00:00
Gustavo Sverzut Barbieri 93b28743c5 remove warnings from tests.
SVN revision: 42359
2009-09-09 01:41:29 +00:00
Gustavo Sverzut Barbieri 2de7c52bd1 remove easy warnings, 2 still left that I need someone else to check
proper fix.



SVN revision: 42358
2009-09-09 01:27:30 +00:00
Gustavo Sverzut Barbieri 88730b324d let's have more testing: amalgamation on by default, report problems!
SVN revision: 42356
2009-09-09 00:38:26 +00:00
Gustavo Sverzut Barbieri c98bf92366 replace UNLIKELY() with EINA_UNLIKELY()
SVN revision: 42354
2009-09-08 21:42:17 +00:00
dieb 073dd0542c Fix segv reported by Peter Wehrfritz on eina init/shutdown (specifically on
eina_log init/shutdown as it wasn't resetting domains counters properly).


SVN revision: 42334
2009-09-07 23:23:03 +00:00
Gustavo Sverzut Barbieri 9b3e482ad2 --enable-amalgamation
This will concatenate all source files in the hope compiler will do a
better job. On my test with static/built in mempools it saves me 4k, I
guess some intra module calls can be saved.



SVN revision: 42315
2009-09-07 05:54:42 +00:00
Gustavo Sverzut Barbieri b84e3424fe use quotes to include config.h
SVN revision: 42314
2009-09-07 04:32:49 +00:00
Gustavo Sverzut Barbieri bda2733238 fix message
SVN revision: 42313
2009-09-07 04:29:27 +00:00
Gustavo Sverzut Barbieri 8318f4c1f2 allow amalgamation of files, at least symbols don't clash anymore.
more related to amalgamation later.



SVN revision: 42312
2009-09-07 04:23:05 +00:00
Gustavo Sverzut Barbieri a4bd77905d malloc--: error and magic can take statically defined strings so no
need to strdup them.



SVN revision: 42311
2009-09-07 03:32:22 +00:00
Gustavo Sverzut Barbieri 404e3e09fb API BREAK: eina_magic_string_set() does not change existing strings anymore.
It's pointless to be able to change magic number string after it's
created, so let's avoid walking the existing list and just remove
places where strings were being duplicated (list/array both inited
magic strings for accessor/iterators).

Also an optimization, register using an array and sort it before
searching. Sort will just happen when array was changed, and this is
just done when eina_magic_string_get() is called.




SVN revision: 42310
2009-09-07 02:33:54 +00:00
Gustavo Sverzut Barbieri 4baa70798c eina_inlist.h is not required anymore.
SVN revision: 42305
2009-09-06 22:56:34 +00:00
Gustavo Sverzut Barbieri 777e74ce7d eina_error: improvements to make it faster.
Use a simple array instead of inlist, error get is now much faster
using direct index access.



SVN revision: 42304
2009-09-06 22:54:49 +00:00
Gustavo Sverzut Barbieri f98bf21da7 allocate more buckets on init to save couple of reallocs during startup.
SVN revision: 42303
2009-09-06 22:34:38 +00:00