Commit Graph

51 Commits

Author SHA1 Message Date
Jean-Philippe Andre 18d5e04bb5 Emile image: Fix TGV (ETC1,2) loader
The error was not reset to NONE even in case of success.
2015-04-07 14:40:00 +09:00
Cedric BAIL 671bd817bf emile: meaningful initialization of some pointers. 2015-03-23 22:04:15 +01:00
jiin.moon 34d92d4d1e emile: Remove unnecessary check in _emile_jpeg_head function
Summary: Already checked it by "else if ((opts->w > 0) && (opts->h > 0))"

Reviewers: cedric, Hermet

Reviewed By: Hermet

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2199
2015-03-20 14:02:58 +09:00
Cedric BAIL f875f759ca emile: fix coding style with ecrustify. 2015-03-17 09:58:21 +01:00
Cedric BAIL aa3b6615ee emile: add a note regarding useless structure member. 2015-03-17 09:58:21 +01:00
Cedric BAIL 5412be48e1 emile: remove use of deprecated eina binbuf function. 2015-03-17 09:58:21 +01:00
Cedric BAIL a446624f5f emile: make sure given boolean are really boolean. 2015-03-17 09:58:20 +01:00
Cedric BAIL 90d8932a03 emile: remove binbuf from emile compression functions. 2015-03-17 09:58:20 +01:00
Cedric BAIL 75cd6d3628 emile: use Eina_Log for Jpeg error message. 2015-03-17 09:58:20 +01:00
Cedric BAIL 0fc4091b8c emile: update to latest GNUTLS/GCRYPT API. 2015-03-17 09:58:20 +01:00
Vincent Torri 987607a3c2 emile: fix some warnings in gnutls component 2015-03-17 09:58:20 +01:00
Vincent Torri ce394fae95 emile: ERROR is a macro already defined on Windows 2015-03-17 09:58:20 +01:00
Vincent Torri e86b314971 emile: fix emile_binbuf_sha1() signature when no cipher is used 2015-03-17 09:58:20 +01:00
Vincent Torri 26708e0818 emile: fix array count 2015-03-17 09:58:20 +01:00
Cedric BAIL 065f87bd15 emile: cleanup comments and internal functions name. 2015-03-17 09:58:20 +01:00
Cedric BAIL 6e59828f74 emile: cleanup private header. 2015-03-17 09:58:20 +01:00
Cedric BAIL 4a84267d86 emile: cleanup header from useless cruft. 2015-03-17 09:58:20 +01:00
Cedric BAIL a2385e2ebc emile: follow convention for Emile_Compressor_Level. 2015-03-17 09:58:20 +01:00
Cedric BAIL bbf7ab1cc4 emile: normalize compression header. 2015-03-17 09:58:20 +01:00
Cedric BAIL 4b4bdd9723 emile: normalize version number to 1.14. 2015-03-17 09:58:20 +01:00
Cedric BAIL df20c9ff8e emile: implement emile_cipher_module_get in a useful way. 2015-03-17 09:58:20 +01:00
Cedric BAIL f4c5b3fd70 emile: document the stable cipher function. 2015-03-17 09:58:20 +01:00
Cedric BAIL d6a2f0cad5 emile: actually this set of function are neat enough to be a public API. 2015-03-17 09:58:20 +01:00
Cedric BAIL 8f3ec959b9 emile: change the API to allow supporting other cipher in the future. 2015-03-17 09:58:19 +01:00
Cedric BAIL d32f310a92 emile: mark ssl layer as a beta API for now. 2015-03-17 09:58:19 +01:00
Cedric BAIL 97e3f55de5 emile: document Emile_Image. 2015-03-17 09:58:19 +01:00
Cedric BAIL 8fd9770d95 emile: reduce code duplication between gnutls and openssl backend.
Add a visible emile_binbuf_sha1 implementation and deduplicate
emile_pbkdf2_sha1 (but does not explicitely expose it).
2015-03-17 09:58:19 +01:00
Cedric BAIL d4d22ca5ea emile: remove ambiguity especially for Windows platform.
Thanks Vincent Torri for the review.
2015-03-17 09:58:19 +01:00
Cedric BAIL 2734fde87f emile: add documentation for compression function. 2015-03-17 09:58:19 +01:00
Cedric BAIL 274be9ac24 emile: use an enum for level instead of just an int. 2015-03-17 09:58:19 +01:00
Cedric BAIL 49f017926a emile: update documentation version. 2015-03-17 09:58:19 +01:00
Cedric BAIL 2cd4e1764d emile: split headers. 2015-03-17 09:58:19 +01:00
Cedric BAIL a88f0074d7 emile: handle AGRY88 for JPEG image. 2015-03-17 09:58:19 +01:00
Cedric BAIL bafe5e9a74 emile: decode GRAY JPEG as GRY8. 2015-03-17 09:58:19 +01:00
Cedric BAIL 1a8384cd3c emile: simplify error handling for jpeg data decoding. 2015-03-17 09:58:18 +01:00
Cedric BAIL 4ca8bfd15c emile: add JPEG support. 2015-03-17 09:58:18 +01:00
Cedric BAIL a865d41181 emile: remove use of custom structure and prefer Eina_Rectangle.
Get rid of warning inside of the jpeg loader that result of it. I do believe
this is not an ABI break on the loader API. If you disagree, please raise your
voice.
2015-03-17 09:58:18 +01:00
Cedric BAIL d40dad8f73 emile: initial addition of emile image support. 2015-03-17 09:58:18 +01:00
Cedric BAIL 3e6858dc2b emile: trying to fix security. 2015-03-17 09:58:18 +01:00
Cedric BAIL a089d8cd7b emile: Add SSL support. 2015-03-17 09:58:18 +01:00
Cedric BAIL ee57de59c2 emile: remove left over #ifdef 2015-03-17 09:58:18 +01:00
Cedric BAIL e649992bff emile: make the initialization part of backend cipher file to. 2015-03-17 09:58:18 +01:00
Cedric BAIL 10184ca860 emile: split OpenSSL, GNUTLS and no cipher into separate file as a first step toward module. 2015-03-17 09:58:18 +01:00
Cedric BAIL c3a1859e59 emile: make it cross platform. 2015-03-17 09:58:18 +01:00
Cedric BAIL 32c5f691c8 emile: make cipher initialization optional. 2015-03-17 09:58:17 +01:00
Cedric BAIL f9dd639a92 eet: use Emile instead of Zlib and LZ4 directly. 2015-03-17 09:58:17 +01:00
Cedric BAIL 0fa50a0804 emile: add compress/uncompress logic. 2015-03-17 09:58:17 +01:00
Cedric BAIL 2e34d835d6 emile: expose cipher/uncipher block logic. 2015-03-17 09:58:17 +01:00
Cedric BAIL cc88832353 ecore_con: depend on emile for initializing crypto library. 2015-03-17 09:58:17 +01:00
Cedric BAIL 2d342c2814 emile: move GNUTLS and OpenSSL initialization logic from Eet to Emile. 2015-03-17 09:58:17 +01:00