Commit Graph

67 Commits

Author SHA1 Message Date
Cedric BAIL 0cef5e41fe evas: add psd file format support.
Patch from Thierry el Borgi with some rework of myself.

NOTE: I don't have much file to test, so if some don't
contact us with those file and we will fix the loader
if needed.


SVN revision: 58873
2011-04-24 19:45:43 +00:00
Cedric BAIL b0e45e04bc evas: and now, the last one to die today, Evas Xrender backend.
SVN revision: 58364
2011-04-05 14:16:18 +00:00
Cedric BAIL 1b3b01cb4f evas: and now is the death of Qtopia engine.
SVN revision: 58362
2011-04-05 13:45:54 +00:00
Cedric BAIL 30f906aac9 evas: one more death: gl_glew !
SVN revision: 58360
2011-04-05 13:19:20 +00:00
Cedric BAIL cbad6075d7 evas: remove Evas Cairo backend.
SVN revision: 58359
2011-04-05 13:00:23 +00:00
Cedric BAIL ad5a2f59c6 evas: remove Evas Quartz backend.
SVN revision: 58358
2011-04-05 12:25:25 +00:00
Carsten Haitzler 710630d074 Evas: add ico loader!
SVN revision: 57693
2011-03-11 15:07:25 +00:00
Vincent Torri c94650f933 final fix for the static jpeg build on Windows
SVN revision: 57367
2011-02-27 10:31:18 +00:00
Carsten Haitzler 75bb165f29 Thanks to samsung - added WBMP loader.
SVN revision: 56624
2011-02-01 09:38:48 +00:00
Cedric BAIL 77cb7b50d6 * evas: better fix for path init.
SVN revision: 55553
2010-12-14 14:17:07 +00:00
Cedric BAIL ab1228576f * evas: fix a long standing bug. Don't know how no one
else saw it before.


SVN revision: 55536
2010-12-13 13:25:39 +00:00
Cedric BAIL 6de3f7e778 * evas: fix static build of GL SDL engine.
SVN revision: 54589
2010-11-16 13:09:14 +00:00
Carsten Haitzler c5661c4471 and that tga entry too
SVN revision: 53890
2010-10-26 08:29:39 +00:00
Carsten Haitzler ef332fcf44 forgot tga loader in static list
SVN revision: 53889
2010-10-26 08:28:12 +00:00
Carsten Haitzler 381728fb86 forgot to allow bmp loader to be static.
SVN revision: 53885
2010-10-26 02:55:56 +00:00
Carsten Haitzler 2e395b8605 fix shutdown - clear up has entrie handles.
SVN revision: 53667
2010-10-20 13:59:23 +00:00
Eduardo de Barros Lima f61a1cb5cb Evas: Don't #define _GNU_SOURCE
Instead use AC_GNU_SOURCE macro in configure.ac and #include <config.h> properly


SVN revision: 53159
2010-10-07 19:52:47 +00:00
Gustavo Sverzut Barbieri 19f0eebd27 cleanup: simple clean of "comparison between signed and unsigned errors"
not much to see here, please review but these are simple changes.



SVN revision: 52426
2010-09-18 23:07:31 +00:00
Lucas De Marchi 5a8a8c9014 Convert (hopefully) all comparisons to NULL
Apply badzero.cocci, badnull.coci and badnull2.cocci

This should convert all cases where there's a comparison to NULL to simpler
forms. This patch applies the following transformations:

code before patch               ||code after patch
===============================================================

return a == NULL;                 return !a;

return a != NULL;                 return !!a;

func(a == NULL);                  func(!a);

func(a != NULL);                  func(!!a);

b = a == NULL;                    b = !a;

b = a != NULL;                    b = !!a;

b = a == NULL ? c : d;            b = !a ? c : d;

b = a != NULL ? c : d;            b = a ? c : d;


other cases:

a == NULL                         !a
a != NULL                         a




SVN revision: 51487
2010-08-21 13:52:25 +00:00
Christopher Michael f1c4520420 Fix evas_module clean 'bug'. NB: Not really an issue as this code
isn't used currently, but may be in the future, so fix the minor
bugger now, just in case :)



SVN revision: 50714
2010-07-31 06:15:00 +00:00
Alexander Kerner 0ec2a33a22 From: Alexander Kerner <alexander.kerner@googlemail.com>
Subject: [E-devel] 8bpp xcb evas engine

Hi all,

I've implemented the 8bpp grayscale evas engine. It is based on the 16bpp
engine. It would be nice if someone could review the code and maybe commit
into svn. The patches against evas and ecore are attached.



SVN revision: 50560
2010-07-28 00:16:06 +00:00
Carsten Haitzler 6e93fa88d3 unloading of loader module -> bad for sync preload it seems.
SVN revision: 49088
2010-05-21 07:31:03 +00:00
Vincent Torri 20d5a675db * undef close() and open() in evas_module also for mingw
* init Evil in eina as it uses fcntl() with the winsock2 library
 * fix compilation of evas_cache_image.c with mingw
 * formatting


SVN revision: 45724
2010-01-30 00:09:29 +00:00
Vincent Torri c392f30e71 make evas_module.c and evas_path.c compile with vc++
SVN revision: 42641
2009-09-23 07:12:11 +00:00
Gustavo Sverzut Barbieri 7ca620ce73 unbreak static savers, cedric pay attention to seds!
SVN revision: 41529
2009-07-28 23:48:27 +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
Gustavo Sverzut Barbieri b5f6c61c94 free array as well.
SVN revision: 41124
2009-06-20 07:36:30 +00:00
Lars Munch b4c12e8efe Rename public to definition as public is a reserved word in c++
SVN revision: 41077
2009-06-17 13:10:00 +00:00
Gustavo Sverzut Barbieri 6760437fdd do not add duplicate search paths to module loader.
usually libevas.so/../evas/modules is the same as libdir/evas/modules,
so avoid adding it twice.


SVN revision: 41059
2009-06-16 15:02:57 +00:00
Cedric BAIL 575b0579cd * evas: Move to Eina module and make it possible to build a libevas with
everything in it.

	Note: This patch break the module API, so make sure you recompile and install
	every thing.


SVN revision: 41055
2009-06-16 13:01:36 +00:00
Carsten Haitzler bb0e068fa1 use mutex instead of spinlock. older pthreads dont have spinlocks. also this
uses the same mutex macros used by the mutex on font objects, so it makes it
a bit simpler. old code is commented out for reference.



SVN revision: 39458
2009-03-13 09:32:42 +00:00
Carsten Haitzler 9028efcbdc fix other #ifdefs too
SVN revision: 38345
2008-12-29 11:37:44 +00:00
Carsten Haitzler 8b4a02c601 use correct #ifdef
SVN revision: 38314
2008-12-23 23:54:51 +00:00
Gustavo Sverzut Barbieri 48d7998c6e attempt to fix image preload thread bugs 1: module refcount.
image preload will use modules from threads, there is a possibility to
crash due wrong reference counting.

actually much more can fail, we need to check modules don't keep that
needs exclusive access in globals or per-Evas_Module, but that's
another issue.

TODO: replace spinlocks with atomic operations.



SVN revision: 38309
2008-12-23 21:20:43 +00:00
Vincent Torri d250e5501b Big patch to make Evas work (more or less) with Windows CE:
* when fopen used, open in binary mode
 * use Evil when fopen is used
 * clean a bit some Makefile.am and add Evil dependency where needed
 * in evas_path.c, remove useless old Windows CE code. It's managed by Evil, now
 * in Evas_Data.h, move Eina.h before EAPI is defined for Evas.
 * define _WIN32_WCE when the host is windows cee


SVN revision: 37476
2008-11-05 17:21:04 +00:00
Cedric BAIL 465b76a017 Remove Evas_List from Evas.
SVN revision: 36942
2008-10-21 16:31:05 +00:00
doursse 37607b5e8e config.h is already included in evas_common.h
SVN revision: 34599
2008-05-18 22:28:10 +00:00
doursse 219831980f * Remove Windows code in evas_module.c and use evilness instead
* Allow Windows Mobile to correctly load dll's
 * Use correct scheme for EAPI on Windows and include config.h when necessary
 * add -mwin32 to compiler flags when compiling with cegcc


SVN revision: 34024
2008-03-14 16:49:49 +00:00
Mike Frysinger ada82df743 __USE_GNU is an internal define not meant for people to use and _BSD_SOURCE is implied by _GNU_SOURCE
SVN revision: 33619
2008-01-26 06:01:00 +00:00
doursse a7c193bac3 Add EVAS_MODULES_DIR in the list of paths to search
for the modules. The order and locations are:

1. ~/.evas/modules/
2. $(EVAS_MODULE_DIR)/evas/modules/
3. dladdr/evas/modules/
4. PREFIX/evas/modules/


SVN revision: 32098
2007-10-17 09:29:18 +00:00
doursse fd9e6e06bf WIN32 is not always defined on Windows platform, while _WIN32 is. Remove trailing spaces and replace c++ comments by C ones
SVN revision: 31302
2007-08-13 12:13:03 +00:00
kiwi a001af9e23 fix some warnings, mostly missing "void" when a function has no parameters
SVN revision: 30474
2007-06-27 10:57:54 +00:00
doursse 2bbb2619f9 add the DirectDraw engine. Evas is now available on Windows (tm)
SVN revision: 30089
2007-05-27 06:43:23 +00:00
tilman 936b791547 a bunch of constness fixes
SVN revision: 29871
2007-05-06 11:29:37 +00:00
Carsten Haitzler ecb6a65a69 1. abort on invalid stringshared del's - bad stuff and should be trapped.
2. disable module cleaning for now.


SVN revision: 29842
2007-05-04 08:18:07 +00:00
Carsten Haitzler 6e452edfd4 patches applied as per emails :)
SVN revision: 28302
2007-02-10 17:23:09 +00:00
ningerso 5bcce9f86b Patch from Glen Larsen to fix dlopen failure handling in module loader.
SVN revision: 28213
2007-02-03 09:33:26 +00:00
Carsten Haitzler 3f4b2a65bf tune the unloads to be conservative but effective.
SVN revision: 25955
2006-09-18 09:47:34 +00:00
Carsten Haitzler 3115a52684 and i implemented module UNLOADING. given enough cycles of non-use of a
module and no references, it will get.... UNLOADED :)


SVN revision: 25954
2006-09-18 09:40:29 +00:00
sebastid e55f7b27b2 Functions used by modules must be EAPI
SVN revision: 25526
2006-09-06 07:33:40 +00:00