platform/upstream/efl.git
9 years agoecore_con: add tests cases to cover more scenarios in local sockets.
Srivardhan Hebbar [Wed, 18 Mar 2015 14:56:14 +0000 (15:56 +0100)]
ecore_con: add tests cases to cover more scenarios in local sockets.

Summary:
In this patch, ecore_test_ecore_con_local_system_negport test case was failing.

Note that this patch does play with some environment variable to check more
code path in ecore_con.

Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>
Reviewers: cedric

Reviewed By: cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2176

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoecore_con: add test case for download related functions.
Srivardhan Hebbar [Wed, 18 Mar 2015 14:41:16 +0000 (15:41 +0100)]
ecore_con: add test case for download related functions.

Summary:
This has test cases for download related functions. Will make url
configurable and add post/upload related functions in the coming patch.

Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>
Reviewers: cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2175

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoecore_con: fix ECORE_CON_LOCAL_SYSTEM use with negative port number.
Srivardhan Hebbar [Wed, 18 Mar 2015 14:33:19 +0000 (15:33 +0100)]
ecore_con: fix ECORE_CON_LOCAL_SYSTEM use with negative port number.

Summary:
The socket can be created even with negative port number, but in that case the port
is ignored so that you can connect to non Ecore_Con based IPC. This patch remove
that test to make the client and server match.

@fix

Bug: While creating ECORE_CON_LOCAL_SYSTEM server and client pair, when the socket
name was "test_socket" and port number "-8" (Any negative number). Then while creating
listening socket, the code would go to line no 291 and socket is created in tmp by
".ecore_servicetest_socket|-8". When the same is passed to bind then the code would
go to line 118 and the socket it would try to bind would be ".ecore_servicetest_socket" !!
So the bind would fail.

Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>
Reviewers: cedric

Reviewed By: cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2186

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: Evas_3d proxy example uses cube primitives.
Bogdan Devichev [Wed, 18 Mar 2015 13:48:50 +0000 (14:48 +0100)]
evas: Evas_3d proxy example uses cube primitives.

Reviewers: Hermet, raster, cedric

Reviewed By: cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2172

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: pick example uses sphere primitives.
Bogdan Devichev [Wed, 18 Mar 2015 13:47:50 +0000 (14:47 +0100)]
evas: pick example uses sphere primitives.

Reviewers: cedric, Hermet, raster

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2169

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: frustum example uses sphere and cube primitives.
Bogdan Devichev [Wed, 18 Mar 2015 13:46:06 +0000 (14:46 +0100)]
evas: frustum example uses sphere and cube primitives.

Reviewers: cedric, Hermet, raster

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2167

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: Evas_3D - add alpha testing.
Dmytro Dadyka [Wed, 18 Mar 2015 13:40:05 +0000 (14:40 +0100)]
evas: Evas_3D - add alpha testing.

Reviewers: Hermet, cedric

Reviewed By: cedric

Subscribers: Ievgen, cedric

Differential Revision: https://phab.enlightenment.org/D2046

9 years agoevas: cube-rotate example uses cube primitives.
Bogdan Devichev [Wed, 18 Mar 2015 13:36:52 +0000 (14:36 +0100)]
evas: cube-rotate example uses cube primitives.

Reviewers: Hermet, raster, cedric

Reviewed By: cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2165

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: cube2 example uses cube primitives.
Bogdan Devichev [Wed, 18 Mar 2015 13:35:37 +0000 (14:35 +0100)]
evas: cube2 example uses cube primitives.

Reviewers: Hermet, raster, cedric

Reviewed By: cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2164

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: aabb example uses cube primitives.
Bogdan Devichev [Wed, 18 Mar 2015 13:33:25 +0000 (14:33 +0100)]
evas: aabb example uses cube primitives.

Reviewers: Hermet, raster, cedric

Reviewed By: cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2161

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: refactor colorpick examples.
Bogdan Devichev [Wed, 18 Mar 2015 11:31:46 +0000 (12:31 +0100)]
evas: refactor colorpick examples.

Reviewers: cedric, Hermet, raster

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2152

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: fix shadows examples to see normalized primitives.
Bogdan Devichev [Wed, 18 Mar 2015 11:26:23 +0000 (12:26 +0100)]
evas: fix shadows examples to see normalized primitives.

Reviewers: cedric, Hermet, raster

View and composition will be restored after refactoring of all primitives.

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2151

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: fix parallax-occlusion example camera to save view of example with normalized...
Bogdan Devichev [Wed, 18 Mar 2015 11:25:04 +0000 (12:25 +0100)]
evas: fix parallax-occlusion example camera to save view of example with normalized cube.

Reviewers: Hermet, raster, cedric

Reviewed By: cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2150

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: build Evas_3D examples with helper.
Cedric BAIL [Wed, 18 Mar 2015 14:21:27 +0000 (15:21 +0100)]
evas: build Evas_3D examples with helper.

9 years agoevas: Evas_3D primitives: square, sphere and cube are normalized.
Bogdan Devichev [Wed, 18 Mar 2015 11:23:02 +0000 (12:23 +0100)]
evas: Evas_3D primitives: square, sphere and cube are normalized.

Reviewers: cedric, Hermet, raster

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2149

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: shooter resources is recycled and added in right way.
Bogdan Devichev [Wed, 18 Mar 2015 11:07:25 +0000 (12:07 +0100)]
evas: shooter resources is recycled and added in right way.

Summary:
- little symbols in pathes
- new standard pathes for assets for big examples
- deleted the largest resources
- size of shooter folder less than 4 Mb now

Reviewers: cedric, Hermet, raster

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2131

9 years agoevas: add evas-common.h to dist and move resources of parallax-occlusion to comon...
Bogdan Devichev [Wed, 18 Mar 2015 10:46:55 +0000 (11:46 +0100)]
evas: add evas-common.h to dist and move resources of parallax-occlusion to comon directory.

Reviewers: Hermet, raster, cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2044

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoefreet: add cmake support for components.
Marcel Hollerbach [Wed, 18 Mar 2015 10:29:41 +0000 (11:29 +0100)]
efreet: add cmake support for components.

Summary:
Add support for components in the efreet config. You can now add trash and mime.

Reviewers: tasn

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2178

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoecore_win32: fix segfault
Andrii Kroitor [Wed, 18 Mar 2015 10:05:20 +0000 (11:05 +0100)]
ecore_win32: fix segfault

Summary:
_ecore_exe_pipe_read_thread_cb and _ecore_exe_pipe_error_thread_cb expecting
object as argument.

Reviewers: cedric, seoz, Hermet

Subscribers: cedric, reutskiy.v.v

Differential Revision: https://phab.enlightenment.org/D2185

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoeio: fix cmake copy & paste error.
Marcel Hollerbach [Wed, 18 Mar 2015 09:52:27 +0000 (10:52 +0100)]
eio: fix cmake copy & paste error.

Summary:
I copyed the original file from eet and forgot to change eet to eio,

Sorry

Reviewers: cedric, tasn

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2177

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoTests: fix warnings.
Daniel Zaoui [Tue, 17 Mar 2015 11:09:46 +0000 (13:09 +0200)]
Tests: fix warnings.

@TAsn, I checked the code to be sure nothing is wrong :P

9 years agoEvas: Really use GLES3 by default (fix logic)
Jean-Philippe Andre [Wed, 18 Mar 2015 01:04:27 +0000 (10:04 +0900)]
Evas: Really use GLES3 by default (fix logic)

I enabled gles3 by default in a previous commit but apparently my
logic was all wrong and it fell back to gles2.

9 years agoecore-wayland: Use calloc rather than malloc+memset
Bryce Harrington [Wed, 18 Mar 2015 00:30:32 +0000 (20:30 -0400)]
ecore-wayland: Use calloc rather than malloc+memset

Summary:
In addition to being fewer lines of code,
malloc + memset to 0 is slower than calloc.  See
http://stackoverflow.com/questions/2688466/why-mallocmemset-is-slower-than-calloc

Signed-off-by: Bryce Harrington <bryce@osg.samsung.com>
Reviewers: zmike, cedric, devilhorns

Reviewed By: devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2182

9 years agoecore-wayland: Doublecheck input validity
Bryce Harrington [Tue, 17 Mar 2015 23:52:43 +0000 (19:52 -0400)]
ecore-wayland: Doublecheck input validity

Summary:
Most of the other ecore-wayland API will return NULL in the (hopefully
theoretical) case of bad inputs; this API routine should so similarly
for consistency.

Reviewers: zmike, cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2181

9 years agoecore_wayland: Improve API docs
Bryce Harrington [Tue, 17 Mar 2015 23:23:48 +0000 (19:23 -0400)]
ecore_wayland: Improve API docs

Summary:
For calls that return pointers, specify that NULL is a
potential return value.  Add API documentation for some misc. routines
missing it.

Reviewers: zmike, cedric, devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2180

9 years agoMerge branch 'devs/devilhorns/evas_wayland_shm'
Chris Michael [Tue, 17 Mar 2015 19:53:38 +0000 (15:53 -0400)]
Merge branch 'devs/devilhorns/evas_wayland_shm'

This merge pulls in the Evas Wayland Shm engine refactor which
addressed resize issues causing crashes in E wl compositor.

9 years agoecore-evas-wayland: Remove frame callbacks from Ecore_Evas wayland
Chris Michael [Tue, 17 Mar 2015 19:50:56 +0000 (15:50 -0400)]
ecore-evas-wayland: Remove frame callbacks from Ecore_Evas wayland
engine

Summary: Frame callbacks are now handled inside the engine itself and
are thus not needed here anymore

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoevas-wayland-shm: Refactor Evas Wayland Shm Engine (Fix T2201)
Chris Michael [Tue, 17 Mar 2015 19:49:09 +0000 (15:49 -0400)]
evas-wayland-shm: Refactor Evas Wayland Shm Engine (Fix T2201)

Summary: This patch set fixes the issue of Evas wayland shm engine
causing crashes when resizing efl apps in the E wayland compositor. It
refactors the evas engine to wait for release events on buffers, and
hooks into frame callbacks so that release events will get triggered
at the appropriate time.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoevas-wayland-shm: Remove old wayland_shm engine swapper files
Chris Michael [Tue, 17 Mar 2015 19:32:29 +0000 (15:32 -0400)]
evas-wayland-shm: Remove old wayland_shm engine swapper files

Summary: Part of engine refactor to address resize issue in E wayland
compositor

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: add ecore_drm_devices_get to get the list of drm devices
Boram Park [Tue, 17 Mar 2015 13:30:59 +0000 (09:30 -0400)]
ecore-drm: add ecore_drm_devices_get to get the list of drm devices

Summary:
    when enlightenment is working as wayland display server, enlightenment
    changes KDSETMODE to KD_GRAPHICS in _ecore_drm_tty_setup(). However,
    when enlightenment is killed by SIGSEGV, it doesn't changes KDSETMODE
    to KD_TEXT because englightenment process doesn't call ecore_drm_tty_close().
    To make possible enlightenment call ecore_drm_tty_close(), drm devices
    should be exposed.
    When enlightenment is killed by SIGSEGV, it will get drm devices with
    ecore_drm_device_get_list(), and will call ecore_drm_launcher_disconnect(),
    and ecore_drm_launcher_disconnect will call ecore_drm_tty_close() internally.

@feature

Change-Id: I1c594739ec96660a09cee77b823ace6548ee5282

Reviewers: zmike, cedric, raster, gwanglim, devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2159

9 years agocmake: Add files for Emile, the serial killer
Jean-Philippe Andre [Tue, 17 Mar 2015 10:19:28 +0000 (19:19 +0900)]
cmake: Add files for Emile, the serial killer

9 years agoecore_cocoa: add missing window state functions
pierre lamot [Thu, 12 Mar 2015 11:13:08 +0000 (12:13 +0100)]
ecore_cocoa: add missing window state functions

implement missing window state functions:

  * raise
  * lower
  * activate
  * iconified_set
  * withdrawn_set
  * move

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoecore_cocoa: add functions to allow min/max window size
pierre lamot [Wed, 11 Mar 2015 14:31:36 +0000 (15:31 +0100)]
ecore_cocoa: add functions to allow min/max window size

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoecore_cocoa: fix mouse scrollwheel direction
pierre lamot [Tue, 3 Mar 2015 17:11:55 +0000 (18:11 +0100)]
ecore_cocoa: fix mouse scrollwheel direction

horizontal and vertical direction where inverted

@fix

9 years agoecore_cocoa: don't reject mouse events outside the window
pierre lamot [Tue, 3 Mar 2015 16:11:08 +0000 (17:11 +0100)]
ecore_cocoa: don't reject mouse events outside the window

mouse events ouside the window where rejected. that was creating
interactions where half an event was created, the application was
then not able to process correctly following events.

@fix

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoeio: don't restart a monitor on MacOSX when every paths have been removed.
pierre lamot [Tue, 3 Mar 2015 16:01:03 +0000 (17:01 +0100)]
eio: don't restart a monitor on MacOSX when every paths have been removed.

This patch check that when a monitor is removed the FSEvent service, it is
not restarted if there is no more paths to monitor. This was generating an
error message from FSEvent.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: bypass lockfocus in NSView on OSX
pierre lamot [Tue, 24 Feb 2015 14:50:58 +0000 (15:50 +0100)]
evas: bypass lockfocus in NSView on OSX

this patch bypass calls to (un)lockFocus, avoid segv
when closing windows

This is certainly not the cleanest way to do it but it seems
to be working correctly at the moment. this may leads to
unexepected behavior which haven't been identified now

@fix

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoecore_cocoa: add support for non latin keyboard events
pierre lamot [Fri, 20 Feb 2015 13:35:16 +0000 (14:35 +0100)]
ecore_cocoa: add support for non latin keyboard events

this patch adds support for non latin keyboard layout such as
arabic, greek or hebrew, some language might not be functionnal
tough like korean or chineese

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoecore_evas: rewrite render loop to conform with other engines.
pierre lamot [Fri, 30 Jan 2015 17:21:14 +0000 (18:21 +0100)]
ecore_evas: rewrite render loop to conform with other engines.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: make current context on lockFocus for gl_cocoa backend.
pierre lamot [Fri, 30 Jan 2015 16:42:09 +0000 (17:42 +0100)]
evas: make current context on lockFocus for gl_cocoa backend.

make current context on lockFocus as suggested by (following best practice):
https://developer.apple.com/library/mac/documentation/GraphicsImaging/Conceptual/OpenGL-MacProgGuide

@fix

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoecore_cocoa: release resources on window close event
pierre lamot [Fri, 30 Jan 2015 16:15:55 +0000 (17:15 +0100)]
ecore_cocoa: release resources on window close event

@fix this patch:

catch the window close event from cocoa and send an ecore event
this event is catched by a handler in ecore_evas wich will
call the registered fn_delete_request (from elementary for instance)

/!\ this patch is currently incomplete and leads to a segv when
closing the last window

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoEvas GL: Fallback to safe GL configs with GLX as well
Jean-Philippe Andre [Tue, 17 Mar 2015 03:21:00 +0000 (12:21 +0900)]
Evas GL: Fallback to safe GL configs with GLX as well

9 years agoEvas GL: Fallback to safe values of depth, stencil & msaa if not supported
Jean-Philippe Andre [Tue, 17 Mar 2015 03:12:19 +0000 (12:12 +0900)]
Evas GL: Fallback to safe values of depth, stencil & msaa if not supported

Depth32, Stencil16 and MSAA are known to be unsupported on many platforms.
While applications should try not to request them, we can try to fallback
nicely and still render using depth24+stencil8 (which is often supported),
or reducing the number of MSAA samples (until 0 if not supported at all).

9 years agoMerge branch 'devs/cedric/emile'
Cedric BAIL [Tue, 17 Mar 2015 08:59:16 +0000 (09:59 +0100)]
Merge branch 'devs/cedric/emile'

Here come a major code refactoring. There is still work to be done, especially on Ecore_Con_SSl
and also image compression, but it is already an improvement over current situation. Further
development should happen in master.

Emile does provide a library to put together serialization, compression and ciphering. It is a
low level library and can be use by anything above Eina.

9 years agoemile: fix coding style with ecrustify.
Cedric BAIL [Tue, 17 Mar 2015 07:51:01 +0000 (08:51 +0100)]
emile: fix coding style with ecrustify.

9 years agoemile: add a note regarding useless structure member.
Cedric BAIL [Tue, 17 Mar 2015 07:50:58 +0000 (08:50 +0100)]
emile: add a note regarding useless structure member.

9 years agoecore_con: fix build with -DISCOMFITOR and OpenSSL.
Cedric BAIL [Tue, 17 Mar 2015 07:50:57 +0000 (08:50 +0100)]
ecore_con: fix build with -DISCOMFITOR and OpenSSL.

9 years agoecore_con: remove deprecated use of Eina_Binbuf functions.
Cedric BAIL [Tue, 17 Mar 2015 07:50:56 +0000 (08:50 +0100)]
ecore_con: remove deprecated use of Eina_Binbuf functions.

9 years agoedje: remove deprecated use of Eina_Binbuf functions.
Cedric BAIL [Tue, 17 Mar 2015 07:50:55 +0000 (08:50 +0100)]
edje: remove deprecated use of Eina_Binbuf functions.

9 years agoeet: remove use of deprecated Eina_Binbuf functions.
Cedric BAIL [Tue, 17 Mar 2015 07:50:54 +0000 (08:50 +0100)]
eet: remove use of deprecated Eina_Binbuf functions.

9 years agoemile: remove use of deprecated eina binbuf function.
Cedric BAIL [Tue, 17 Mar 2015 07:50:53 +0000 (08:50 +0100)]
emile: remove use of deprecated eina binbuf function.

9 years agoeina: provide a generic eina_binbuf_manage_new.
Cedric BAIL [Tue, 17 Mar 2015 07:50:52 +0000 (08:50 +0100)]
eina: provide a generic eina_binbuf_manage_new.

eina_binbuf_manage_new provide the functionnality of both eina_binbuf_manage_new_length
and eina_binbuf_manage_read_only_new_length. Those function get deprecated.

9 years agoemile: make sure given boolean are really boolean.
Cedric BAIL [Tue, 17 Mar 2015 07:50:51 +0000 (08:50 +0100)]
emile: make sure given boolean are really boolean.

9 years agoemile: remove binbuf from emile compression functions.
Cedric BAIL [Tue, 17 Mar 2015 07:50:50 +0000 (08:50 +0100)]
emile: remove binbuf from emile compression functions.

9 years agoemile: use Eina_Log for Jpeg error message.
Cedric BAIL [Tue, 17 Mar 2015 07:50:49 +0000 (08:50 +0100)]
emile: use Eina_Log for Jpeg error message.

9 years agoecore_con: unbreak GNUTLS support.
Cedric BAIL [Tue, 17 Mar 2015 07:50:49 +0000 (08:50 +0100)]
ecore_con: unbreak GNUTLS support.

9 years agoemile: update to latest GNUTLS/GCRYPT API.
Cedric BAIL [Tue, 17 Mar 2015 07:50:48 +0000 (08:50 +0100)]
emile: update to latest GNUTLS/GCRYPT API.

9 years agoemile: fix some warnings in gnutls component
Vincent Torri [Tue, 17 Mar 2015 07:50:47 +0000 (08:50 +0100)]
emile: fix some warnings in gnutls component

9 years agoemile: ERROR is a macro already defined on Windows
Vincent Torri [Tue, 17 Mar 2015 07:50:46 +0000 (08:50 +0100)]
emile: ERROR is a macro already defined on Windows

9 years agoemile: fix emile_binbuf_sha1() signature when no cipher is used
Vincent Torri [Tue, 17 Mar 2015 07:50:45 +0000 (08:50 +0100)]
emile: fix emile_binbuf_sha1() signature when no cipher is used

9 years agoemile: fix array count
Vincent Torri [Tue, 17 Mar 2015 07:50:44 +0000 (08:50 +0100)]
emile: fix array count

9 years agoemile: cleanup comments and internal functions name.
Cedric BAIL [Tue, 17 Mar 2015 07:50:44 +0000 (08:50 +0100)]
emile: cleanup comments and internal functions name.

9 years agoemile: cleanup private header.
Cedric BAIL [Tue, 17 Mar 2015 07:50:43 +0000 (08:50 +0100)]
emile: cleanup private header.

9 years agoemile: cleanup header from useless cruft.
Cedric BAIL [Tue, 17 Mar 2015 07:50:42 +0000 (08:50 +0100)]
emile: cleanup header from useless cruft.

9 years agoemile: follow convention for Emile_Compressor_Level.
Cedric BAIL [Tue, 17 Mar 2015 07:50:42 +0000 (08:50 +0100)]
emile: follow convention for Emile_Compressor_Level.

9 years agoemile: normalize compression header.
Cedric BAIL [Tue, 17 Mar 2015 07:50:41 +0000 (08:50 +0100)]
emile: normalize compression header.

9 years agoemile: normalize version number to 1.14.
Cedric BAIL [Tue, 17 Mar 2015 07:50:40 +0000 (08:50 +0100)]
emile: normalize version number to 1.14.

9 years agoemile: implement emile_cipher_module_get in a useful way.
Cedric BAIL [Tue, 17 Mar 2015 07:50:40 +0000 (08:50 +0100)]
emile: implement emile_cipher_module_get in a useful way.

9 years agoemile: document the stable cipher function.
Cedric BAIL [Tue, 17 Mar 2015 07:50:39 +0000 (08:50 +0100)]
emile: document the stable cipher function.

9 years agoemile: actually this set of function are neat enough to be a public API.
Cedric BAIL [Tue, 17 Mar 2015 07:50:38 +0000 (08:50 +0100)]
emile: actually this set of function are neat enough to be a public API.

9 years agoemile: change the API to allow supporting other cipher in the future.
Cedric BAIL [Tue, 17 Mar 2015 07:50:37 +0000 (08:50 +0100)]
emile: change the API to allow supporting other cipher in the future.

9 years agoemile: mark ssl layer as a beta API for now.
Cedric BAIL [Tue, 17 Mar 2015 07:50:36 +0000 (08:50 +0100)]
emile: mark ssl layer as a beta API for now.

9 years agoeet: use Emile type for encoding.
Cedric BAIL [Tue, 17 Mar 2015 07:50:36 +0000 (08:50 +0100)]
eet: use Emile type for encoding.

9 years agoemile: document Emile_Image.
Cedric BAIL [Tue, 17 Mar 2015 07:50:35 +0000 (08:50 +0100)]
emile: document Emile_Image.

9 years agoemile: reduce code duplication between gnutls and openssl backend.
Cedric BAIL [Tue, 17 Mar 2015 07:50:34 +0000 (08:50 +0100)]
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).

9 years agoemile: remove ambiguity especially for Windows platform.
Cedric BAIL [Tue, 17 Mar 2015 07:50:33 +0000 (08:50 +0100)]
emile: remove ambiguity especially for Windows platform.

Thanks Vincent Torri for the review.

9 years agoemile: add documentation for compression function.
Cedric BAIL [Tue, 17 Mar 2015 07:50:33 +0000 (08:50 +0100)]
emile: add documentation for compression function.

9 years agoemile: use an enum for level instead of just an int.
Cedric BAIL [Tue, 17 Mar 2015 07:50:32 +0000 (08:50 +0100)]
emile: use an enum for level instead of just an int.

9 years agoemile: update documentation version.
Cedric BAIL [Tue, 17 Mar 2015 07:50:31 +0000 (08:50 +0100)]
emile: update documentation version.

9 years agoemile: split headers.
Cedric BAIL [Tue, 17 Mar 2015 07:50:30 +0000 (08:50 +0100)]
emile: split headers.

9 years agoemile: fix crash when cspaces is left unchanged.
Cedric BAIL [Tue, 17 Mar 2015 07:50:29 +0000 (08:50 +0100)]
emile: fix crash when cspaces is left unchanged.

9 years agoemile: build examples after adding emile.
Cedric BAIL [Tue, 17 Mar 2015 07:50:29 +0000 (08:50 +0100)]
emile: build examples after adding emile.

9 years agoeet: encode lossy image with AGRY88 or GRY8 whenever possible.
Cedric BAIL [Tue, 17 Mar 2015 07:50:28 +0000 (08:50 +0100)]
eet: encode lossy image with AGRY88 or GRY8 whenever possible.

9 years agoeet: refactoring jpeg encoding.
Cedric BAIL [Tue, 17 Mar 2015 07:50:27 +0000 (08:50 +0100)]
eet: refactoring jpeg encoding.

9 years agoeet: handle AGRY88 encoding for JPEG encoded image.
Cedric BAIL [Tue, 17 Mar 2015 07:50:26 +0000 (08:50 +0100)]
eet: handle AGRY88 encoding for JPEG encoded image.

The alpha and the grey being encoded in two separated grey JPEG.

9 years agoemile: handle AGRY88 for JPEG image.
Cedric BAIL [Tue, 17 Mar 2015 07:50:25 +0000 (08:50 +0100)]
emile: handle AGRY88 for JPEG image.

9 years agoeet: fix error handling when decoding TGV file format.
Cedric BAIL [Tue, 17 Mar 2015 07:50:24 +0000 (08:50 +0100)]
eet: fix error handling when decoding TGV file format.

9 years agoeet: use Emile to decode jpeg.
Cedric BAIL [Tue, 17 Mar 2015 07:50:23 +0000 (08:50 +0100)]
eet: use Emile to decode jpeg.

9 years agoemile: decode GRAY JPEG as GRY8.
Cedric BAIL [Tue, 17 Mar 2015 07:50:22 +0000 (08:50 +0100)]
emile: decode GRAY JPEG as GRY8.

9 years agoemile: simplify error handling for jpeg data decoding.
Cedric BAIL [Tue, 17 Mar 2015 07:50:21 +0000 (08:50 +0100)]
emile: simplify error handling for jpeg data decoding.

9 years agoevas: use emile to decompress JPEG files.
Cedric BAIL [Tue, 17 Mar 2015 07:50:21 +0000 (08:50 +0100)]
evas: use emile to decompress JPEG files.

9 years agoevas: simplify structure.
Cedric BAIL [Tue, 17 Mar 2015 07:50:20 +0000 (08:50 +0100)]
evas: simplify structure.

9 years agoemile: add JPEG support.
Cedric BAIL [Tue, 17 Mar 2015 07:50:19 +0000 (08:50 +0100)]
emile: add JPEG support.

9 years agoeet: use Emile to decode TGV image section.
Cedric BAIL [Tue, 17 Mar 2015 07:50:18 +0000 (08:50 +0100)]
eet: use Emile to decode TGV image section.

9 years agoemile: remove use of custom structure and prefer Eina_Rectangle.
Cedric BAIL [Tue, 17 Mar 2015 07:50:17 +0000 (08:50 +0100)]
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.

9 years agoevas: use Emile to decode TGV.
Cedric BAIL [Tue, 17 Mar 2015 07:50:16 +0000 (08:50 +0100)]
evas: use Emile to decode TGV.

9 years agoevas: use Emile for defining all possible loader API.
Cedric BAIL [Tue, 17 Mar 2015 07:50:15 +0000 (08:50 +0100)]
evas: use Emile for defining all possible loader API.

9 years agoemile: initial addition of emile image support.
Cedric BAIL [Tue, 17 Mar 2015 07:50:15 +0000 (08:50 +0100)]
emile: initial addition of emile image support.

9 years agoeet: use eina_binbuf and emile to manipulate TGV compressed data.
Cedric BAIL [Tue, 17 Mar 2015 07:50:14 +0000 (08:50 +0100)]
eet: use eina_binbuf and emile to manipulate TGV compressed data.

9 years agoemile: trying to fix security.
Cedric BAIL [Tue, 17 Mar 2015 07:50:13 +0000 (08:50 +0100)]
emile: trying to fix security.