Commit Graph

7889 Commits

Author SHA1 Message Date
Carsten Haitzler 65f147aa81 make loaders use "big image" macro to detect an image that is going to just
be way too big to ever allocate. probably code can do with other fixes too.

also make jpeg loader rudametarily understand load regions. very brute-force.
but enough for just this moment to do testing.



SVN revision: 42507
2009-09-16 09:48:05 +00:00
Iván Briano ed7064edcc Move some defines to enum and expose them.
Move to Eina_Bool.
Return success for rename of group and part to the same name.

Patch by Tiago Rezende Campos Falcão


SVN revision: 42506
2009-09-16 03:37:28 +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 f523b22bb3 * eet: Update ChangeLog
SVN revision: 42496
2009-09-15 15:06:03 +00:00
Cedric BAIL 3e23569492 * eet_data: Remove unused freeleak.
SVN revision: 42495
2009-09-15 14:48:42 +00:00
Carsten Haitzler f780cc2c8f add "region" load opt. no loader handles it... yet
SVN revision: 42494
2009-09-15 13:34:12 +00:00
Cedric BAIL 7fe73280d6 * eet: Update AUTHORS and ChangeLog accordingly.
SVN revision: 42493
2009-09-15 11:23:28 +00:00
Cedric BAIL cab54bd121 * eet: Use eina_log.
Patch from Mathieu Taillefumier <mathieu.taillefumier@free.fr>.


SVN revision: 42492
2009-09-15 11:22:11 +00:00
Davide Andreoli 5f6ba77546 Don't segfault if 'icon' is null
SVN revision: 42490
2009-09-14 20:18:25 +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
Carsten Haitzler 0b8f43494a moe enume typedefs together. typedef before enum is bad for some compilrs...
like g++.. or suncc... dod so in all headers anyay for consistency



SVN revision: 42477
2009-09-14 00:38:59 +00:00
Hannes Janetzek 51fd74a36f efreet_mime add fallback check for executables
SVN revision: 42474
2009-09-14 00:28:51 +00:00
dieb c2fde2fa75 Trailing whitespaces--, remove wrong tabs.
SVN revision: 42454
2009-09-13 03:04:20 +00:00
Gustavo Sverzut Barbieri 56d5c74815 done items
SVN revision: 42449
2009-09-12 18:29:46 +00:00
Gustavo Sverzut Barbieri 97645fe7bc API BREAK: Fix Ethumb API to be more EFL-like
* Callbacks were named to help Vala bindings.
 * All callbacks get 'void *data' as first argument, always.
 * All async methods get free_data parameters and call them also on disconnect()
 * queue_remove() renamed to generate_cancel() to be more clear.
 * queue_clear() renamed tp generate_cancel_call() to be more clear.



SVN revision: 42445
2009-09-12 18:23:05 +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
Carsten Haitzler 7ee7fb5604 1. make max image size a #define
2. max image size > 65536x65536
3. fix cserve leak
4. fix cserve+async load to work together.



SVN revision: 42406
2009-09-11 13:44:53 +00:00
Hannes Janetzek e7d76f6392 also remove text class members on object deletion
SVN revision: 42397
2009-09-11 00:48:57 +00:00
Carsten Haitzler fda3149474 ecore-conig dont build if no evas found (mind u if no evas... why ecore etc.?
very unusual)



SVN revision: 42394
2009-09-10 21:49:41 +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
Vincent Torri 74a22e367f * use Requires.private field in eet.pc if pkg-config 0.22 is installed.
We list in it the required packages needed to compile eet.
 * remove uneeded flags that are in Libs.private (those from the packages
   that are listed in Requires.private)

Patch by dottedmag, modified a bit.


SVN revision: 42367
2009-09-09 15:50:52 +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
Vincent Torri c88e3887d8 * INSTALL:
update INSTALL file



SVN revision: 42345
2009-09-08 06:55:14 +00:00
Vincent Torri df88395e4f * fix logging for Windows XP and CE port
by adding namespace to logging macros
 * formatting and warning cleanup



SVN revision: 42341
2009-09-08 05:39:09 +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
Peter Wehrfritz 809cfd97ff eina_stringshare_init -> eina_init, dito shutdown
SVN revision: 42328
2009-09-07 16:32:26 +00:00
Carsten Haitzler deb61bbe7c fix some possible mutex probs
SVN revision: 42319
2009-09-07 10:42:30 +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