platform/upstream/efl.git
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.

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

9 years agobuild: display crypto system as a feature of Emile.
Cedric BAIL [Tue, 17 Mar 2015 07:50:12 +0000 (08:50 +0100)]
build: display crypto system as a feature of Emile.

9 years agoemile: remove left over #ifdef
Cedric BAIL [Tue, 17 Mar 2015 07:50:10 +0000 (08:50 +0100)]
emile: remove left over #ifdef

9 years agoemile: make the initialization part of backend cipher file to.
Cedric BAIL [Tue, 17 Mar 2015 07:50:09 +0000 (08:50 +0100)]
emile: make the initialization part of backend cipher file to.

9 years agoemile: with Emile and as long as you don't use any cipher, it will be just fine.
Cedric BAIL [Tue, 17 Mar 2015 07:50:08 +0000 (08:50 +0100)]
emile: with Emile and as long as you don't use any cipher, it will be just fine.

9 years agoemile: split OpenSSL, GNUTLS and no cipher into separate file as a first step toward...
Cedric BAIL [Tue, 17 Mar 2015 07:50:07 +0000 (08:50 +0100)]
emile: split OpenSSL, GNUTLS and no cipher into separate file as a first step toward module.

9 years agoemile: make it cross platform.
Cedric BAIL [Tue, 17 Mar 2015 07:50:06 +0000 (08:50 +0100)]
emile: make it cross platform.

9 years agoeet: initialize emile on demand.
Cedric BAIL [Tue, 17 Mar 2015 07:50:05 +0000 (08:50 +0100)]
eet: initialize emile on demand.

9 years agoecore_con: initialize emile cipher support on demand.
Cedric BAIL [Tue, 17 Mar 2015 07:50:04 +0000 (08:50 +0100)]
ecore_con: initialize emile cipher support on demand.

9 years agoemile: make cipher initialization optional.
Cedric BAIL [Tue, 17 Mar 2015 07:50:03 +0000 (08:50 +0100)]
emile: make cipher initialization optional.

9 years agoeet: use Emile instead of Zlib and LZ4 directly.
Cedric BAIL [Tue, 17 Mar 2015 07:50:03 +0000 (08:50 +0100)]
eet: use Emile instead of Zlib and LZ4 directly.

9 years agoemile: add compress/uncompress logic.
Cedric BAIL [Tue, 17 Mar 2015 07:50:02 +0000 (08:50 +0100)]
emile: add compress/uncompress logic.

9 years agoeet: move to use emile for ciphering logic.
Cedric BAIL [Tue, 17 Mar 2015 07:50:01 +0000 (08:50 +0100)]
eet: move to use emile for ciphering logic.

9 years agoemile: expose cipher/uncipher block logic.
Cedric BAIL [Tue, 17 Mar 2015 07:50:00 +0000 (08:50 +0100)]
emile: expose cipher/uncipher block logic.

9 years agoecore_con: depend on emile for initializing crypto library.
Cedric BAIL [Tue, 17 Mar 2015 07:49:59 +0000 (08:49 +0100)]
ecore_con: depend on emile for initializing crypto library.

9 years agoemile: move GNUTLS and OpenSSL initialization logic from Eet to Emile.
Cedric BAIL [Tue, 17 Mar 2015 07:49:58 +0000 (08:49 +0100)]
emile: move GNUTLS and OpenSSL initialization logic from Eet to Emile.

9 years agoemile: initial introduction of Emile.
Cedric BAIL [Tue, 17 Mar 2015 07:49:57 +0000 (08:49 +0100)]
emile: initial introduction of Emile.

The intent of Emile is to be the common layer for serialisation, compression
and ciphering. It will expose the library we currently use internally to an
easier use from the outside (like gcrypt and lz4). It should improve portability.
Instead of pushing JSON, XML and what's not to Eina, I do think that they will
fit better in Emile.

As for the naming of Emile, you will need to be French and say :
"Un quoi ?" "Un serializer !"

Regarding why it is put there in the stack. Right now there is two users of
compression (eet and terminology), two users of cipher library (eet and ecore_con)
and a few handful of user for serialization (eina, eet, efreet, ecore_con, ...).
So the choice was quite simple, it needed to be below Eet. Now it could have been
on top of Eo or integrated into Eina.

One of the use case I am thinking of, is to compress Eo object when a canvas get
hidden/minized. For that it require Eo to use that library and it can't be a higher
level object. And with current implementation of Eo it is perfectly possible to
implement such idea. So not at Eo level.

As for Eina, I am starting to think it is getting to much things in its namespace.
I do believe that infact Eina_Simple_XML and Eina_File should after all have landed
in their own library. That's why I am putting the current logic in a new library.
It is going to expand, I want it to provide an few SAX like parser for JSON,
Eet_Data and protobuf with also an API like Eet_Data to directly feed those value
into a C structure without using a DOM at all. It would also be the right place
to experiment and benchmark for a new Eet_Data format that could be more efficient
to use.

So at the end, and due to how I see things going and being used, I do think it
is better of in its own library.

9 years agoefl: autotools - move Eet section after Eo.
Cedric BAIL [Tue, 17 Mar 2015 07:49:56 +0000 (08:49 +0100)]
efl: autotools - move Eet section after Eo.

9 years agoRevert "Add --disable-gui."
Cedric BAIL [Tue, 17 Mar 2015 07:49:54 +0000 (08:49 +0100)]
Revert "Add --disable-gui."

This reverts commit 3ed4f745907d3e842e64b341e2426c0c99cf3297.

9 years agoEolian: add filename to error message
Daniel Zaoui [Tue, 17 Mar 2015 07:32:54 +0000 (09:32 +0200)]
Eolian: add filename to error message

9 years agoefl - bring back symlink complaint regardless of env vars
Carsten Haitzler (Rasterman) [Tue, 17 Mar 2015 03:04:10 +0000 (12:04 +0900)]
efl - bring back symlink complaint regardless of env vars

@fix

9 years agoEvas GL: use texture for native surface in glx backend
Dongyeon Kim [Tue, 17 Mar 2015 02:40:04 +0000 (11:40 +0900)]
Evas GL: use texture for native surface in glx backend

Summary:
EVAS_NATIVE_SURFACE_EVASGL uses egl image, but egl image is
not supported in glx backend, so use texture instead.

Test Plan: Local tests on pc

Reviewers: jpeg

Subscribers: cedric, mer.kim, mythri, wonsik

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

jpeg: fixed casts

9 years agoevas/gl_x11: Optimize out calls to make current
Minkyoung Kim [Tue, 17 Mar 2015 02:17:26 +0000 (11:17 +0900)]
evas/gl_x11: Optimize out calls to make current

Summary: Reducing the number of calling eglMakeCurrent.

Reviewers: jpeg

Subscribers: wonsik, cedric, spacegrapher

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

9 years agoevas/clip: If the clipper is image or has color, clipped area should be redrawn.
Youngbok Shin [Tue, 17 Mar 2015 02:02:04 +0000 (11:02 +0900)]
evas/clip: If the clipper is image or has color, clipped area should be redrawn.

Summary:
If the clipper is image or has color, it affects to its clipees.
Even if we unset the clipper or change the clipper to another object,
it seems the clipper is not changed.

Test Plan:
Make two clipper objects and one clipee object.
And make clip the clipee according to following example

ex) Clipee object -> inner_clipper -> clipper

evas_object_clip_set(clipee, inner_clipper);
evas_object_clip_set(inner_clipper, clipper);

After checking the result and hide inner_clipper.

evas_object_clip_set(clipee, clipper);
evas_object_hide(inner_clipper);

See the result.

Reviewers: raster, cedric, Hermet, jpeg

Subscribers: woohyun, cedric

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

Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
Note: Technically we should not check the color of the fact that
      the clipper is a mask and not a simple rect. But because of
      real-life performance issues, damage_add was disabled so we're
      trying to keep the perf in most cases while being correct in
      cases where the clipper is visually important.

9 years agoEolian: add API to return the class from a function.
Daniel Zaoui [Mon, 16 Mar 2015 15:04:44 +0000 (17:04 +0200)]
Eolian: add API to return the class from a function.

@feature

9 years agoEvas GL: Fix GL_X11 engine when using GLX
Jean-Philippe Andre [Mon, 16 Mar 2015 08:42:07 +0000 (17:42 +0900)]
Evas GL: Fix GL_X11 engine when using GLX

eglGetProcAddress is obviously not supported in that case.

9 years agoEvas GL: Fallback to depth24, stencil8 if GL_GLES is used
Jean-Philippe Andre [Mon, 16 Mar 2015 08:19:37 +0000 (17:19 +0900)]
Evas GL: Fallback to depth24, stencil8 if GL_GLES is used

If depth32 or stencil16 are requested, those are most likely to
fail with GLES. In that case, fallback automatically to 24+8.

9 years agoEvas GL: Add more debug logs
Jean-Philippe Andre [Mon, 16 Mar 2015 07:58:37 +0000 (16:58 +0900)]
Evas GL: Add more debug logs

Print some INFormation for app developers.

9 years agoFix a previous commit: remove binary files and garbage in src/
Jean-Philippe Andre [Mon, 16 Mar 2015 07:09:47 +0000 (16:09 +0900)]
Fix a previous commit: remove binary files and garbage in src/

When rebasing the commits, I have been lazy and did a git add src/ that
actually added the files that were not ignored. My bad, sorry about that.
The original patch was fine.

Thanks sung.

9 years agoEvas GL: Adjust function naming and remove macros
Dongyeon Kim [Fri, 13 Mar 2015 07:31:54 +0000 (16:31 +0900)]
Evas GL: Adjust function naming and remove macros

Summary:
Change function and variable names to more suitable ones.
Remove FBO_FUNC macros.
Little tidying up from previous commit.

Test Plan: Local Evas GL tests for 1.1, 2.0, and 3.0

Reviewers: jpeg

Subscribers: cedric, mer.kim, mythri, wonsik

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

Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
9 years agoEvas GL: Fix build errors for glx backend
Dongyeon Kim [Mon, 9 Mar 2015 11:41:58 +0000 (20:41 +0900)]
Evas GL: Fix build errors for glx backend

Summary:
Fix build errors for glx backend made from previous commit
Revert parameter naming

Test Plan: Local Evas GL tests for 1.1, 2.0, and 3.0

Reviewers: jpeg

Subscribers: mythri, wonsik, cedric, mer.kim

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

9 years agoEvas GL: Use EGL image to share between Evas GL and GL backend
Dongyeon Kim [Mon, 9 Mar 2015 08:25:20 +0000 (17:25 +0900)]
Evas GL: Use EGL image to share between Evas GL and GL backend

Summary:
When the context version between Evas GL and GL backend differs,
we cannot share texture between them.
So, when the driver has support for KHR_gl_texture_2D_image extension,
use EGL image to share between Evas GL and GL backend

Test Plan: Local Evas GL tests for 1.1, 2.0 and 3.0

Reviewers: jpeg

Subscribers: mythri, mer.kim, wonsik, cedric

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

9 years agoEvas GL: change function naming and small bug fixes
Dongyeon Kim [Mon, 9 Mar 2015 08:17:19 +0000 (17:17 +0900)]
Evas GL: change function naming and small bug fixes

Summary:
Remove gles1 prefixes for functions that are also used by gles3.
Refactor evgl_make_current a little bit.
Destroy indirect context properly.
Some log message changes and typo fixes.

Test Plan: Local tests on desktop PC

Reviewers: jpeg

Subscribers: mythri, mer.kim, wonsik, cedric

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

9 years agoEvas GL: Fix logic in debug check
Jean-Philippe Andre [Thu, 5 Mar 2015 08:20:57 +0000 (17:20 +0900)]
Evas GL: Fix logic in debug check

9 years agoEvas GL: Fix build errors and warnings from previous commit
Jean-Philippe Andre [Thu, 5 Mar 2015 06:57:14 +0000 (15:57 +0900)]
Evas GL: Fix build errors and warnings from previous commit

9 years agoEvas GL: Add support for Evas GL 3.0
mythri.venugopal [Thu, 5 Mar 2015 06:36:35 +0000 (15:36 +0900)]
Evas GL: Add support for Evas GL 3.0

Summary:
This should enable applications to use GLES 3.0 through evas gl.
Todo: Fix indirect rendering issue occuring because texture objects
cannot be shared between different version of GLES contexts.
Todo: extension pointers need to be updated for GLES 3.0

Reviewers: wonsik, spacegrapher, jpeg

Subscribers: cedric

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

@feature

9 years agoEvas GL: Remove excessive debug
Jean-Philippe Andre [Mon, 16 Mar 2015 05:55:40 +0000 (14:55 +0900)]
Evas GL: Remove excessive debug

- Check debug flag before warning that a surface is not direct
- Remove notes about surface reconfigure, as this will not be implemented
  (see previous commit).

9 years agoevas_gl: Add feature to set depth/stencil/msaa bit to window surface.
Wonsik Jung [Mon, 16 Mar 2015 04:57:09 +0000 (13:57 +0900)]
evas_gl: Add feature to set depth/stencil/msaa bit to window surface.

Summary:
When Evas GL runs with direct rendering, it can not set depth, stencil and msaa to Window surface.
This patch is possible to use "option" input paramater of ecore_evas_gl_x11_options_new.
So, new API is not needed.

The other patch is in elementary. The elementary patch will be used this patch.

Test Plan: Test elm gl veiw in elementary_test and JP's test app.

Reviewers: spacegrapher, cedric, raster, jpeg

Reviewed By: jpeg

Subscribers: cedric, mer.kim

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

Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
Note: jpeg changed the original patch a bit (fix style and depth value)

9 years agoecore-wayland: Whitespace cleanup
Bryce Harrington [Sat, 14 Mar 2015 01:40:59 +0000 (21:40 -0400)]
ecore-wayland: Whitespace cleanup

Summary: Remove trailing whitespace, convert tabs to spaces as per style guide.

Reviewers: zmike

Subscribers: cedric

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

9 years agoecore-wl dnd target interface should accept a NULL mime_type
Mike Blumenkrantz [Fri, 13 Mar 2015 18:52:58 +0000 (14:52 -0400)]
ecore-wl dnd target interface should accept a NULL mime_type

according to protocol, this indicates that the target does not support the drop type

9 years agoecore-wl xdg surface configure no longer requires special case for fs/max
Mike Blumenkrantz [Fri, 13 Mar 2015 18:35:28 +0000 (14:35 -0400)]
ecore-wl xdg surface configure no longer requires special case for fs/max

the surface size comes directly from the compositor shell when applicable

9 years agoecore_imf: fix doxygen about key and mouse release event
Jihoon Kim [Fri, 13 Mar 2015 09:59:38 +0000 (18:59 +0900)]
ecore_imf: fix doxygen about key and mouse release event

9 years agoedje: Edje_Edit - add data items into generated code for the group.
Mykyta Biliavskyi [Fri, 13 Mar 2015 08:43:11 +0000 (09:43 +0100)]
edje: Edje_Edit - add data items into generated code for the group.

Summary:
Include data items, that present in edje object.
Data items, which data ends with '\n' recognized as data.file item and not included into the generated source code.
@fix

Reviewers: Hermet, reutskiy.v.v, raster, cedric

Reviewed By: cedric

Subscribers: cedric

Projects: #efl

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoeina: fix warning due to sign vs unsign tests.
Cedric BAIL [Fri, 13 Mar 2015 08:25:15 +0000 (09:25 +0100)]
eina: fix warning due to sign vs unsign tests.

9 years agoeina: xattr order is not guaranty at all, fix the test accordingly.
Cedric BAIL [Fri, 13 Mar 2015 08:21:42 +0000 (09:21 +0100)]
eina: xattr order is not guaranty at all, fix the test accordingly.

9 years agoevas: correcting transpose and transverse of software_generic image rotation support.
kabeer khan [Fri, 13 Mar 2015 07:44:47 +0000 (08:44 +0100)]
evas: correcting transpose and transverse of software_generic image rotation support.

Summary:
Current definition of transpose and transverse was wrong. Corrected it by
interchanging both definitions.

Signed-off-by: kabeer khan <kabeer.khan@samsung.com>
Reviewers: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoecore_con: move Socks API documentation to Ecore_Con.h
Srivardhan Hebbar [Fri, 13 Mar 2015 07:43:50 +0000 (08:43 +0100)]
ecore_con: move Socks API documentation to Ecore_Con.h

Summary:

Reviewers: cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoecore_con: add more test cases related to ssl functions.
Srivardhan Hebbar [Fri, 13 Mar 2015 07:42:49 +0000 (08:42 +0100)]
ecore_con: add more test cases related to ssl functions.

Summary:

Reviewers: cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoeina: add test cases for eina_xattr.
vivek [Fri, 13 Mar 2015 07:34:32 +0000 (08:34 +0100)]
eina: add test cases for eina_xattr.

Summary:
Added test cases for various eina_xattr_list functions and eina_xattr_copy functions

Signed-off-by: vivek <vivek.ellur@samsung.com>
Reviewers: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoedje: add edje_edit_full_source_generate() as a public API.
Maksym Volodin [Fri, 13 Mar 2015 07:33:04 +0000 (08:33 +0100)]
edje: add edje_edit_full_source_generate() as a public API.

Summary: added full source code generation as public API for Edje Editor application.

Reviewers: Hermet, seoz, raster, cedric

Reviewed By: cedric

Subscribers: reutskiy.v.v, cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoedje: Edje_Edit - fix program transition source generation
Andrii Kroitor [Fri, 13 Mar 2015 07:31:47 +0000 (08:31 +0100)]
edje: Edje_Edit - fix program transition source generation

Summary:
added missing in some cases ";\n"
@fix

Reviewers: Hermet, seoz, raster, cedric

Reviewed By: cedric

Subscribers: cedric, reutskiy.v.v

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoeina: extend eina_str_escape to escape more common case.
Mykyta Biliavskyi [Fri, 13 Mar 2015 07:15:57 +0000 (08:15 +0100)]
eina: extend eina_str_escape to escape more common case.

Summary: Added new symbols, that will be escaped. There are '\"', '\t' and '\n'.

Reviewers: raster, cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoecore: don't leak directory during testing of Ecore_File infrastructure.
Cedric BAIL [Fri, 13 Mar 2015 07:15:17 +0000 (08:15 +0100)]
ecore: don't leak directory during testing of Ecore_File infrastructure.

9 years agoeina: don't leak directory during testing of Eina_File infrastructure.
Cedric BAIL [Fri, 13 Mar 2015 07:14:50 +0000 (08:14 +0100)]
eina: don't leak directory during testing of Eina_File infrastructure.

9 years agoecore signals - make note of forkfd stuff that is new to avoid sigchld
Carsten Haitzler (Rasterman) [Fri, 13 Mar 2015 05:54:02 +0000 (14:54 +0900)]
ecore signals - make note of forkfd stuff that is new to avoid sigchld

9 years agoecore-wl now allocates cursor_theme_name struct member of Ecore_Wl_Input
Mike Blumenkrantz [Thu, 12 Mar 2015 19:52:10 +0000 (15:52 -0400)]
ecore-wl now allocates cursor_theme_name struct member of Ecore_Wl_Input

previous behavior would result in invalid memory access if the externally-passed
string were ever deallocated

@fix

9 years agoecore-wl use calloc for Ecore_Wl_Input allocation instead of malloc+memset
Mike Blumenkrantz [Thu, 12 Mar 2015 19:49:59 +0000 (15:49 -0400)]
ecore-wl use calloc for Ecore_Wl_Input allocation instead of malloc+memset

9 years agoecore-wl cursor setup no longer triggers errors on startup
Mike Blumenkrantz [Thu, 12 Mar 2015 19:49:03 +0000 (15:49 -0400)]
ecore-wl cursor setup no longer triggers errors on startup

@fix T2202

9 years agoecore-wl now prints an error when the socket dies
Mike Blumenkrantz [Thu, 12 Mar 2015 18:33:45 +0000 (14:33 -0400)]
ecore-wl now prints an error when the socket dies

9 years agoecore: cosmetic grouping if that belong together.
Cedric BAIL [Thu, 12 Mar 2015 06:21:56 +0000 (07:21 +0100)]
ecore: cosmetic grouping if that belong together.

9 years agoecore_con: fix uninitialized warning in tests suite.
Cedric BAIL [Thu, 12 Mar 2015 06:20:34 +0000 (07:20 +0100)]
ecore_con: fix uninitialized warning in tests suite.

9 years agoeio: include eio tests suite inside the release tarball.
Cedric BAIL [Thu, 12 Mar 2015 06:19:33 +0000 (07:19 +0100)]
eio: include eio tests suite inside the release tarball.

9 years agoeio: add OSX implementation of eio_monitor based on FSEvent
pierre lamot [Thu, 26 Feb 2015 13:37:45 +0000 (14:37 +0100)]
eio: add OSX implementation of eio_monitor based on FSEvent

this patch adds an implementation of eio_monitor based on FSEvent
for OSX. This implentation has some limitations compared to inotify
implementation. Folowing events are not detected:
  - EIO_MONITOR_FILE_CLOSED
  - EIO_MONITOR_SELF_RENAME
  - EIO_MONITOR_SELF_DELETED

It should be noted that some events that happend before the call
to eio_monitor_add can be catched. This is why sleep timers have
been added in the test suite.

Tests have been added to check uncovered scenarios.

some things might still be improved:
  - self_deleted events for files might be handled by checking the
    file_name manually

  - self_deleted events for directories might be handled by setting
    kFSEventStreamCreateFlagWatchRoot. I've noticed by doing so that
a lot more unwanted event are raised

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoecore_cocoa: fix keyboad event handling
pierre lamot [Thu, 19 Feb 2015 15:34:33 +0000 (16:34 +0100)]
ecore_cocoa: fix keyboad event handling

This patch allows to interpret correctly several types of key combinations:
  - alt keys : € œ ¬
  - dead keys : ä ë
  - dead keys (bis, they are handled differently) : ~ ã
  - control keys: ^C ^A
  - page up/ page down

@fix

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoecore_cocoa: handle right and other mouse events
pierre lamot [Thu, 19 Feb 2015 09:25:00 +0000 (10:25 +0100)]
ecore_cocoa: handle right and other mouse events

right and other mouse events where missing in the patch
correcting mouse event handling

@fix

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoecore_cocoa: move mouse event handling to NSWindow
pierre lamot [Wed, 18 Feb 2015 13:11:00 +0000 (14:11 +0100)]
ecore_cocoa: move mouse event handling to NSWindow

Mouse events was broken after a resize of the window from the left
or the bottom. As I understand, theses resize were changing the origin
of Cocoa window independly from the origin of the EFL.

This has been resolved by moving mouse envents handling to our NSWindow
delegate. thus events are always in the right referential.

@fix

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: symetric lock/unlock calls in gl_cocoa backend.
Nicolas Aguirre [Thu, 12 Feb 2015 07:29:40 +0000 (08:29 +0100)]
evas: symetric lock/unlock calls in gl_cocoa backend.

this code add symetric calls to lock and unlock focus view

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoecore_cocoa: remove ObjC autorelease block to avoid segv when window is closed.
Nicolas Aguirre [Thu, 12 Feb 2015 07:07:01 +0000 (08:07 +0100)]
ecore_cocoa: remove ObjC autorelease block to avoid segv when window is closed.

autorelease block is used in ObjC to release automatically objects not used
anymore. Placed here this block release the NSWindow we created by hand in the
ecore_cocoa code and give us a SEGV as we use memory already freed
automatically. Removing this block fix this issue.

@fix

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: free EvasGlView when the evas is freed in gl_cocoa backend.
Nicolas Aguirre [Thu, 5 Feb 2015 17:29:56 +0000 (18:29 +0100)]
evas: free EvasGlView when the evas is freed in gl_cocoa backend.

EvasGLView is now correctly freed when the Evas is destroyed

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: lock and unlock focus on Cocoa view when drawing surface
Romain Perier [Thu, 22 Jan 2015 12:28:47 +0000 (13:28 +0100)]
evas: lock and unlock focus on Cocoa view when drawing surface

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: use a shared OpenGL context in gl_cocoa backend.
Romain Perier [Thu, 22 Jan 2015 09:26:55 +0000 (10:26 +0100)]
evas: use a shared OpenGL context in gl_cocoa backend.

Evas GL backend uses a global OpenGL context for all windows inside
an application. Each window has its own texture to render its
content. We use a singleton NSOpenGLContext shared between all
NSOpenGLView, it solves rendering issues for multiple windows.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoecore_evas: add support for multiple windows to cocoa backend.
Romain Perier [Thu, 15 Jan 2015 15:55:40 +0000 (16:55 +0100)]
ecore_evas: add support for multiple windows to cocoa backend.

Each new Ecore_Evas was already stored into the evases container, however only
the first one was returned and used from events handler, which is not correct if
the application uses multiple windows. This commit adds support to handle
Ecore_Event_Cocoa_Window event type from event handlers and modify
_ecore_evas_cocoa_match() to find the right Ecore_Evas associated with the window
indentifier passed throught Ecore_Event_Cocoa_Window.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: remove warnings due to unused variables from gl_cocoa backend.
Nicolas Aguirre [Thu, 29 Jan 2015 16:09:42 +0000 (17:09 +0100)]
evas: remove warnings due to unused variables from gl_cocoa backend.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoeio: fix segmentation fault on eio_monitor for win32 api
michelle legrand [Fri, 27 Feb 2015 14:18:47 +0000 (15:18 +0100)]
eio: fix segmentation fault on eio_monitor for win32 api

@fix

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoeio: add unit tests for eio file and directory monitoring.
plamot [Mon, 23 Feb 2015 13:44:48 +0000 (14:44 +0100)]
eio: add unit tests for eio file and directory monitoring.

this patch adds units test to check the behavior of eio file
and directory monitoring module

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoeina: win32 release lock in case of error
Michelle Legrand [Fri, 13 Feb 2015 13:33:58 +0000 (14:33 +0100)]
eina: win32 release lock in case of error

Summary:
It's better to realese the lock before returning NULL. Otherwise the program
is waiting indefinitely then crashing on Windows ("program not responding").

@fix

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevil: add strndup().
Michelle Legrand [Thu, 12 Feb 2015 13:45:07 +0000 (14:45 +0100)]
evil: add strndup().

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoeina: add more access to created file.
Michelle Legrand [Wed, 11 Feb 2015 09:00:10 +0000 (10:00 +0100)]
eina: add more access to created file.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>