efl/legacy
Gustavo Sverzut Barbieri 51c00c6526 fix evas image loading error reporting.
Evas image load was always reporint "generic" error, since it was
disconnected from actual loader modules.

This commit will break the module loader API (as it's restricted to
inside Evas, this should be no problem). The return was turned into
"Eina_Bool" for clarity, while an extra "int *error" is responsible to
report errors. This approach was choosen to force compiler warnings
and to try avoid mistakes as EINA_FALSE == EVAS_LOAD_ERROR_NONE and
thus we'd get opposite behavior if something slips.

Most loaders play well, except by eet that does not provide means to
know if the file open failed due missing file, incorrect format or
corrupted file :-(

Please report any issues. I added eina_log debugging to loader
functions, just run your Evas application as:

     EINA_LOG_LEVELS=evas_main:4 your_app




SVN revision: 44666
2009-12-22 23:11:57 +00:00
..
ecore Remove duplication from ecore headers 2009-12-22 21:15:12 +00:00
edje check for PATH_MAX and define it if not available (ie: Hurd) 2009-12-22 13:55:15 +00:00
eet * eet: Update ChangeLog :-) 2009-12-21 17:25:12 +00:00
efreet improve configure output 2009-12-11 10:57:22 +00:00
eina support of Debian/kFreeBSD (FreeBSD using the glibc on top of a FreeBSD kernel) 2009-12-20 10:02:41 +00:00
embryo * embryo: Prevent use of unitialized data. 2009-12-18 17:40:13 +00:00
emotion Remove use of deprecated event 2009-11-08 20:27:12 +00:00
ethumb * ethumb: Cleanup dependency. 2009-12-21 13:27:09 +00:00
evas fix evas image loading error reporting. 2009-12-22 23:11:57 +00:00
evil necessary declarations for vc++ 2009-12-20 12:08:54 +00:00