platform/upstream/efl.git
8 years agoevas: fix some indentation and formatting in textblock.
Subodh Kumar [Mon, 9 Nov 2015 23:39:10 +0000 (15:39 -0800)]
evas: fix some indentation and formatting in textblock.

Summary: Fix some indentation and formatting.

Reviewers: herdsman, tasn

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoevas: unification of color pick mechanism.
Oleksandr Shcherbina [Mon, 9 Nov 2015 23:07:15 +0000 (15:07 -0800)]
evas: unification of color pick mechanism.

Summary:
Use same way using color pick under GLES and not:
 Use GL_RGBA texture insted of GL_RED
 Generate and pass to engine 3 components color of mesh
See T2761

Reviewers: cedric, Hermet

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoecore_x: don't add a x selection clear event if the time is the same as when selectio...
indefini [Mon, 9 Nov 2015 23:04:27 +0000 (15:04 -0800)]
ecore_x: don't add a x selection clear event if the time is the same as when selection was made.

Summary:
Without this, selection can get cleared when changing focus.
For example, if we have 2 entries:
The first entry is focused and has a selection.
When we focus the second entry, we want to select all the text.
But the old selection gets unfocused and sends a clear signal
to the new focused entry and it gets unselected.

This should fix T2739.

Reviewers: raster, tasn, devilhorns

Subscribers: herdsman, thiepha, cedric

Maniphest Tasks: T2739

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoevas: add common part of savers and loaders.
Bogdan Devichev [Mon, 9 Nov 2015 23:01:54 +0000 (15:01 -0800)]
evas: add common part of savers and loaders.

Summary:
Common part will make savers and loaders shorter and easier for understanding and refactoring.
https://phab.enlightenment.org/T2713 - due to this task.
Should be merged after https://phab.enlightenment.org/D3030

Should be merged to start adding refactored savers and loaders.

Reviewers: Hermet, raster, Oleksander, cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoevas: move model save/load from common to common3d.
Bogdan Devichev [Mon, 9 Nov 2015 22:44:36 +0000 (14:44 -0800)]
evas: move model save/load from common to common3d.

Summary:
Move model save/load to common3d.
Here also will be common algorithms  and structures which will be used in all loaders and savers.
See task https://phab.enlightenment.org/T2713.

Reviewers: cedric, Hermet, raster, Oleksander

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoevas: refactor duplicated data structure with eina_matrix.
se.osadchy [Mon, 9 Nov 2015 22:37:42 +0000 (14:37 -0800)]
evas: refactor duplicated data structure with eina_matrix.

Summary: Move data structure and functionality to eina_matrix from evas_mat.

Reviewers: raster, Hermet, cedric

Subscribers: Oleksander, cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoevas: API for Convex Hull in Evas.Canvas3d
perepelits.m [Mon, 9 Nov 2015 22:29:44 +0000 (14:29 -0800)]
evas: API for Convex Hull in Evas.Canvas3d

Summary: This API builds vertex and index data of convex hull around the given mesh.

Reviewers: raster, perepelits.m, Hermet, cedric

Reviewed By: cedric

Subscribers: cedric, artem.popov

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoeina: add API eina_strftime
Shilpa Singh [Mon, 9 Nov 2015 20:42:48 +0000 (12:42 -0800)]
eina: add API eina_strftime

Summary:
Add new API eina_strftime API in eina_str

@feature

Test Plan: test case and example also updated

Reviewers: tasn, cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoector: move freetype rasterizer library to itw own directory.
Cedric BAIL [Sun, 8 Nov 2015 22:25:31 +0000 (23:25 +0100)]
ector: move freetype rasterizer library to itw own directory.

8 years agoeina: add eina_tmpstr_manage_new, eina_tmpstr_manage_new_length APIs
Shilpa Singh [Tue, 3 Nov 2015 22:01:51 +0000 (14:01 -0800)]
eina: add eina_tmpstr_manage_new, eina_tmpstr_manage_new_length APIs

Summary:
Add eina_tmpstr_manage_new, eina_tmpstr_manage_new_length APIs, these APIs create new tmpstr but reuse the input string memory.

@feature

Test Plan: Test case and example updated

Reviewers: tasn, cedric

Reviewed By: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoeina: fix computation of sqrt near 1.
Cedric BAIL [Thu, 22 Oct 2015 23:55:10 +0000 (16:55 -0700)]
eina: fix computation of sqrt near 1.

This is still not so good below 1.

@fix

8 years agoeina: add test case for eina_strbuf_tolower API.
Srivardhan Hebbar [Thu, 22 Oct 2015 19:26:31 +0000 (12:26 -0700)]
eina: add test case for eina_strbuf_tolower API.

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

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoeina: updated example to add eina_strbuf_tolower.
Srivardhan Hebbar [Wed, 21 Oct 2015 21:04:46 +0000 (14:04 -0700)]
eina: updated example to add eina_strbuf_tolower.

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

Reviewed By: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoeina: add API for converting strbuf to lowercase.
Srivardhan Hebbar [Wed, 21 Oct 2015 21:04:43 +0000 (14:04 -0700)]
eina: add API for converting strbuf to lowercase.

Summary:
This API would be used in efl_network_websocket.

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

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoector: remove inline on function pointer.
Cedric BAIL [Tue, 20 Oct 2015 23:38:52 +0000 (16:38 -0700)]
ector: remove inline on function pointer.

8 years agoector: cleanup code convention of the gradient code.
Cedric BAIL [Tue, 20 Oct 2015 23:36:20 +0000 (16:36 -0700)]
ector: cleanup code convention of the gradient code.

8 years agoector: simplify code by avoiding unecessary intermediate function.
Cedric BAIL [Tue, 20 Oct 2015 22:55:32 +0000 (15:55 -0700)]
ector: simplify code by avoiding unecessary intermediate function.

8 years agoector: follow function naming convention.
Cedric BAIL [Tue, 20 Oct 2015 22:30:06 +0000 (15:30 -0700)]
ector: follow function naming convention.

8 years agoedje entry: remove unreachable dead code
Subodh Kumar [Tue, 20 Oct 2015 19:06:00 +0000 (12:06 -0700)]
edje entry: remove unreachable dead code

Summary:
Remove dead code

If anchor sel is not there, code inside
while can not execute.

Test Plan: NA

Reviewers: tasn, herdsman, cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoedje entry: do not create object if theme source is not available.
Subodh Kumar [Tue, 20 Oct 2015 18:57:17 +0000 (11:57 -0700)]
edje entry: do not create object if theme source is not available.

Summary:
Object not created if theme source is not available.

In many case we dont need or define all the
theme sources for entry, even if the sources are
null, edje object is being created.

Test Plan: NA

Reviewers: tasn, herdsman, cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoecore_cocoa/evas_gl_cocoa: fix indent, remove printf, and add DBG messages
Nicolas Aguirre [Thu, 6 Aug 2015 17:06:34 +0000 (19:06 +0200)]
ecore_cocoa/evas_gl_cocoa: fix indent, remove printf, and add DBG messages

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoemile: deprecate the use of SSLv3 with GNUTLS backend to.
Cedric BAIL [Mon, 9 Nov 2015 18:30:00 +0000 (10:30 -0800)]
emile: deprecate the use of SSLv3 with GNUTLS backend to.

8 years agoecore_con: fix warning on Windows
Vincent Torri [Sat, 7 Nov 2015 13:08:32 +0000 (14:08 +0100)]
ecore_con: fix warning on Windows

The macro ERROR is already defined on Windows, renaming it to ERROR_SSL.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoefreet: fix warning
Vincent Torri [Sat, 7 Nov 2015 13:05:56 +0000 (14:05 +0100)]
efreet: fix warning

Commit 0cd59bb1 introduced the use of basename()
which needs libgen.h (hence winsock2.h before) on Windows.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoeolian generator: finalize refactoring main.c
Daniel Kolesa [Fri, 6 Nov 2015 15:08:56 +0000 (15:08 +0000)]
eolian generator: finalize refactoring main.c

8 years agoeolian generator: refactor the main function (remove cruft)
Daniel Kolesa [Fri, 23 Oct 2015 13:43:57 +0000 (14:43 +0100)]
eolian generator: refactor the main function (remove cruft)

8 years agoeolian generator: remove useless --eo argument
Daniel Kolesa [Tue, 13 Oct 2015 13:34:47 +0000 (14:34 +0100)]
eolian generator: remove useless --eo argument

8 years agoRevert "Eo: Optimise event callback call"
Tom Hacohen [Mon, 9 Nov 2015 14:06:39 +0000 (14:06 +0000)]
Revert "Eo: Optimise event callback call"

This reverts commit 4b116627c24a43248abf5a34a391241b1c0cf983.

This can't be done, because the freeze state can change from within the
callbacks so you need to check if events are frozen every time.

8 years agoEo: Optimise event callback call
Jérémy Zurcher [Mon, 9 Nov 2015 14:03:03 +0000 (15:03 +0100)]
Eo: Optimise event callback call

 check if the event is frozen before walking the event list

8 years agoEo do: use the __thread directive when available to manage call stack.
Tom Hacohen [Fri, 16 Oct 2015 14:13:51 +0000 (15:13 +0100)]
Eo do: use the __thread directive when available to manage call stack.

This is faster in most cases, and to be honest, should be much faster
than it is. I don't understand why there's no better directive to mark a
variable as *really* important thread storage that is used all the time.

8 years agoEo: Remove extra paranoid-never could happen safety checks.
Tom Hacohen [Fri, 16 Oct 2015 09:51:19 +0000 (10:51 +0100)]
Eo: Remove extra paranoid-never could happen safety checks.

I was not able to reach those without arbitrary memory corruption, but
in that case we are in trouble anyway.

8 years agoEo: Reorganise some of the code and cleanup.
Tom Hacohen [Fri, 16 Oct 2015 09:08:33 +0000 (10:08 +0100)]
Eo: Reorganise some of the code and cleanup.

This is cleaner and makes more sense.

8 years agoEo: Removed weird unneeded condition.
Tom Hacohen [Thu, 15 Oct 2015 17:38:32 +0000 (18:38 +0100)]
Eo: Removed weird unneeded condition.

8 years agoEo: Move op resolve check to where it belongs (out of hot path).
Tom Hacohen [Thu, 15 Oct 2015 17:03:27 +0000 (18:03 +0100)]
Eo: Move op resolve check to where it belongs (out of hot path).

It was put in the wrong place. It should abort early if it detects we
can't resolve, and shouldn't check it if we already know it's OK.

8 years agoEo unref: Decrease amount of checks and hint branch prediction.
Tom Hacohen [Thu, 15 Oct 2015 16:51:20 +0000 (17:51 +0100)]
Eo unref: Decrease amount of checks and hint branch prediction.

This may look minor, but this is such a hot path, that this actually
speeds things up a bit.

8 years agoEo: Split object checking from class checking and simplify.
Tom Hacohen [Thu, 15 Oct 2015 11:56:15 +0000 (12:56 +0100)]
Eo: Split object checking from class checking and simplify.

The check there was wrong for objects anyway, and was ultra conservative
for classes.

8 years agoEo callback call: Remove redundant safety checks.
Tom Hacohen [Thu, 15 Oct 2015 11:22:14 +0000 (12:22 +0100)]
Eo callback call: Remove redundant safety checks.

This is already being checked by eo_do, no need to duplicate this here.

8 years agoEo callback call: Remove redundant refcounting.
Tom Hacohen [Thu, 15 Oct 2015 11:18:34 +0000 (12:18 +0100)]
Eo callback call: Remove redundant refcounting.

We already get refcounting from eo_do, no need to have more refcounting here.

8 years agoEo callback call: Simplify callback desc matching code.
Tom Hacohen [Thu, 15 Oct 2015 11:04:05 +0000 (12:04 +0100)]
Eo callback call: Simplify callback desc matching code.

As part of this change, we also error on adding invalid callbacks.

8 years agoEo callbacks: simplify callback call code a bit.
Tom Hacohen [Thu, 15 Oct 2015 08:21:39 +0000 (09:21 +0100)]
Eo callbacks: simplify callback call code a bit.

We don't need this check because it's already checked in the match function.

8 years agoEo benchmarks: Add basic callbacks benchmarks.
Tom Hacohen [Wed, 14 Oct 2015 14:03:33 +0000 (15:03 +0100)]
Eo benchmarks: Add basic callbacks benchmarks.

8 years agoEo benchmarks: Improve benchmarks.
Tom Hacohen [Wed, 14 Oct 2015 09:54:02 +0000 (10:54 +0100)]
Eo benchmarks: Improve benchmarks.

Add more cases, and tune the number of times we test.

8 years agoEo benchmark: Fix super benchmark.
Tom Hacohen [Wed, 14 Oct 2015 09:28:41 +0000 (10:28 +0100)]
Eo benchmark: Fix super benchmark.

8 years agoEo: Reduce call stack memory footprint.
Tom Hacohen [Mon, 12 Oct 2015 16:58:44 +0000 (17:58 +0100)]
Eo: Reduce call stack memory footprint.

We don't really need the eo_id most of the time, and when we do, it's
very easy to get it. It's better if we just don't save the eo_id on the
stack, and just save if it's an object or a class instead.

8 years agoEo: Remove useless optimisation that is more harm than good.
Tom Hacohen [Mon, 12 Oct 2015 16:20:02 +0000 (17:20 +0100)]
Eo: Remove useless optimisation that is more harm than good.

It seems that the idea behind that optimisation, is to save object data
fetching when calling functions implemented by the object's class inside
functions implemented by the object's class. This should be rare enough
not to worth the upkeep, memory reads and memory writes, especially
since for all cases apart of mixins (for which this optimisation won't
work for anyway), the upkeep is more costly than fetching the data
again.

8 years agoEo: use correct mask when checking if an id is a class
Tom Hacohen [Mon, 12 Oct 2015 15:27:55 +0000 (16:27 +0100)]
Eo: use correct mask when checking if an id is a class

8 years agoEo: Optimise object data fetching a bit more.
Tom Hacohen [Mon, 12 Oct 2015 15:21:19 +0000 (16:21 +0100)]
Eo: Optimise object data fetching a bit more.

Removed safety check that is not necessary. This may seem small,
but this in addition to the previous commit, account for around
2% of CPU usage.

8 years agoEo: Optimise object data fetching (minor).
Tom Hacohen [Mon, 12 Oct 2015 15:12:36 +0000 (16:12 +0100)]
Eo: Optimise object data fetching (minor).

Pre-calculate object data offset for improved performance.

8 years agoconfigure: Switch to dev mode again. Merge window for 1.17 is open now
Stefan Schmidt [Mon, 9 Nov 2015 10:45:24 +0000 (11:45 +0100)]
configure: Switch to dev mode again. Merge window for 1.17 is open now

8 years agorelease: Update NEWS and bump version for 1.16.0 release upstream/1.16.0 v1.16.0
Stefan Schmidt [Mon, 9 Nov 2015 09:46:03 +0000 (10:46 +0100)]
release: Update NEWS and bump version for 1.16.0 release

8 years agopo: update po files before release
Stefan Schmidt [Mon, 9 Nov 2015 09:44:06 +0000 (10:44 +0100)]
po: update po files before release

8 years agodoc: Deprecate filter reference page and link to the wiki
Jean-Philippe Andre [Mon, 9 Nov 2015 07:21:45 +0000 (16:21 +0900)]
doc: Deprecate filter reference page and link to the wiki

8 years agodoc: Fixup EDC doc for Evas 3D stuff
Jean-Philippe Andre [Mon, 9 Nov 2015 07:08:10 +0000 (16:08 +0900)]
doc: Fixup EDC doc for Evas 3D stuff

Use same paragraph title format

8 years agodoc: Add EDC doc for desc.proxy, fix for desc.fill
Jean-Philippe Andre [Mon, 9 Nov 2015 06:47:42 +0000 (15:47 +0900)]
doc: Add EDC doc for desc.proxy, fix for desc.fill

8 years agoecore: remove useless printf in Win32 main loop.
Cedric BAIL [Fri, 6 Nov 2015 18:49:33 +0000 (10:49 -0800)]
ecore: remove useless printf in Win32 main loop.

8 years agoeina/efreet: open file with binary file on Windows
Vincent Torri [Fri, 6 Nov 2015 18:30:57 +0000 (19:30 +0100)]
eina/efreet: open file with binary file on Windows

@fix

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoecore-drm: Remove unused function
Chris Michael [Thu, 5 Nov 2015 14:37:48 +0000 (09:37 -0500)]
ecore-drm: Remove unused function

As we no longer have an fd handler to listen on the drm fd, we don't
need this function anymore

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-drm: Fix issue of hanging in read()
Chris Michael [Thu, 5 Nov 2015 13:59:37 +0000 (08:59 -0500)]
ecore-drm: Fix issue of hanging in read()

Summary: As we already call drmHandleEvent when we pageflip, we don't
need to be using an fd handler to catch them. This should fix T2791

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-drm: Fix issue of duplicate page flips
Chris Michael [Thu, 5 Nov 2015 13:58:46 +0000 (08:58 -0500)]
ecore-drm: Fix issue of duplicate page flips

Summary: If we already have a pending pageflip scheduled for a given
framebuffer, don't reschedule another one. This also includes a minor
fix when mmap'ing the framebuffer (previously was also mapped
PROT_READ).

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoevas - patch in one more if check for obj layer to avoid shutdown crash
Carsten Haitzler (Rasterman) [Thu, 5 Nov 2015 00:41:35 +0000 (09:41 +0900)]
evas - patch in one more if check for obj layer to avoid shutdown crash

this should fix T2715

8 years agoevas gl-x11: add missing EVAS_NATIVE_SURFACE_WL support
Mike Blumenkrantz [Wed, 4 Nov 2015 19:10:06 +0000 (14:10 -0500)]
evas gl-x11: add missing EVAS_NATIVE_SURFACE_WL support

copy/pasted from other engines, only functional with gles+wayland,
A Thoroughly Tested Calculated Risk™

ref 1dbecbb6764bdd6f477b5cc6624e791a52cfe1d5

8 years agoecore-drm: Check return value of drmHandleEvent and cleanup
Chris Michael [Wed, 4 Nov 2015 17:44:29 +0000 (12:44 -0500)]
ecore-drm: Check return value of drmHandleEvent and cleanup

Summary: drmHandleEvent will return 0 on success, or -1 on error. We
should trap for the error case so that we can cleanup any allocated
callback structures.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoevas-gl-drm: Implement eglSetDamageRegionKHR
Chris Michael [Wed, 4 Nov 2015 16:20:39 +0000 (11:20 -0500)]
evas-gl-drm: Implement eglSetDamageRegionKHR

Summary: In efforts to reduce tearing in the gl_drm engine, implement
support for eglSetDamageRegionKHR to mark parts of a surface as being
damaged.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoevas-gl-drm: Find symlink for eglSetDamageRegionKHR
Chris Michael [Wed, 4 Nov 2015 16:18:25 +0000 (11:18 -0500)]
evas-gl-drm: Find symlink for eglSetDamageRegionKHR

In efforts to reduce tearing in the gl_drm engine, find and link to
the eglSetDamageRegionKHR function so we can mark damaged regions of a
surface

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-evas-gl-drm: Don't create software dumb buffers when using gl
Chris Michael [Wed, 4 Nov 2015 14:43:35 +0000 (09:43 -0500)]
ecore-evas-gl-drm: Don't create software dumb buffers when using gl

Summary: If we are rendering using gl_drm, then we don't need to be
creating extra software dumb buffers.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-drm: Don't always check fb size against dumb buffer
Chris Michael [Wed, 4 Nov 2015 14:40:54 +0000 (09:40 -0500)]
ecore-drm: Don't always check fb size against dumb buffer

Summary: If we are running using gl_drm, then we don't need to create
software dumb buffers on the drm device. Since we may not have the
dumb buffers (only used in software rendering), then we should not
always be checking the framebuffer size against the dumb buffer size.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoevas-gl-drm: Set Outbuf vsync according to engine
Chris Michael [Wed, 4 Nov 2015 14:24:18 +0000 (09:24 -0500)]
evas-gl-drm: Set Outbuf vsync according to engine

The engine setup code already checks if we are disabling vsync
(defaults to on), so we should be setting the Outbuf vsync according
to what the engine info has

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoEvas: minor whitespace and debug changes
Jean-Philippe Andre [Tue, 3 Nov 2015 09:13:59 +0000 (18:13 +0900)]
Evas: minor whitespace and debug changes

8 years agoEvas Text: avoid SIGSEV while ellipsis recalculation
Vitalii Vorobiov [Wed, 4 Nov 2015 04:58:58 +0000 (13:58 +0900)]
Evas Text: avoid SIGSEV while ellipsis recalculation

Summary:
Fix Segmentation Fault when TEXT part getting resized and when it has
some params (for example ellipsis).

Fix T2640
@fix

Test Plan: Refer to T2640

Reviewers: raster, Hermet, seoz, herdsman, cedric, reutskiy.v.v, NikaWhite

Subscribers: stefan_schmidt, tasn, cedric

Maniphest Tasks: T2640

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

8 years agoeolian: fix function parameter memory leak with value
Daniel Kolesa [Tue, 3 Nov 2015 13:40:17 +0000 (13:40 +0000)]
eolian: fix function parameter memory leak with value

8 years agotests/ecore_con: check saved env variables before setting them again.
Stefan Schmidt [Tue, 3 Nov 2015 11:37:17 +0000 (12:37 +0100)]
tests/ecore_con: check saved env variables before setting them again.

We see segfaults on Jenkins with these two test cases. Better check
before setting them as we had similar problems before on this setup
as XDG_RUNTIME_DIR might never be set.

8 years agoemile/ecore_con: drop SSLv3 support due to security issue.
Cedric BAIL [Mon, 2 Nov 2015 22:11:09 +0000 (14:11 -0800)]
emile/ecore_con: drop SSLv3 support due to security issue.

SSLv3 has been compromised a year ago by what is known as POODLE
(https://en.wikipedia.org/wiki/POODLE). Every major browser have now
dropped support for SSLv3 and distribution are starting to do so also.
It is a good timing for us to do so, especially as it breaks build on
some distribution.

8 years agoevas gl_drm: don't deref null ptr on output free
Mike Blumenkrantz [Mon, 2 Nov 2015 21:07:52 +0000 (16:07 -0500)]
evas gl_drm: don't deref null ptr on output free

8 years agoevas-wayland-egl: Add missing include header for gl_common
Chris Michael [Mon, 2 Nov 2015 21:15:21 +0000 (16:15 -0500)]
evas-wayland-egl: Add missing include header for gl_common

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoevas-wayland-egl: Fix missing support for EVAS_NATIVE_SURFACE_WL
Chris Michael [Mon, 2 Nov 2015 21:08:27 +0000 (16:08 -0500)]
evas-wayland-egl: Fix missing support for EVAS_NATIVE_SURFACE_WL

Summary: Support for using EVAS_NATIVE_SURFACE_WL was missing/incomplete in the
wayland_egl engine. This commit addresses that issue so that now the
wayland_egl engine can support both EVAS_NATIVE_SURFACE_OPENGL and
EVAS_NATIVE_SURFACE_WL.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore_cocoa: prevent mouse event loss when clicking in titlebar
pierre lamot [Fri, 23 Oct 2015 16:18:39 +0000 (18:18 +0200)]
ecore_cocoa: prevent mouse event loss when clicking in titlebar

  fix

8 years agoevas-gl-drm: Fix issue of gl_drm engine not working
Chris Michael [Mon, 2 Nov 2015 14:27:56 +0000 (09:27 -0500)]
evas-gl-drm: Fix issue of gl_drm engine not working

Summary: With linux kernels >= 4.2.x, the gl_drm engine was not
functional. This is due to the egl config returning an improper config
which did not match the expected pixel format. This commit fixes that
issue and gl_drm evas engine works again. Should fix ticket T2807

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-evas-drm: Use GBM_FORMAT_XRGB8888 when creating new canvas
Chris Michael [Mon, 2 Nov 2015 14:25:40 +0000 (09:25 -0500)]
ecore-evas-drm: Use GBM_FORMAT_XRGB8888 when creating new canvas

Summary: With linux kernels >= 4.2.x, we need to use
GBM_FORMAT_XRGB8888 when creating a new canvas else we end up with a
format mismatch when trying to add the framebuffer

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoEvas: Remove dead code (cached surfaces)
Jean-Philippe Andre [Mon, 2 Nov 2015 07:03:48 +0000 (16:03 +0900)]
Evas: Remove dead code (cached surfaces)

While cached surfaces is a topic we're discussing recently,
this code is dead right now, and we will have to redesign the
buffer caching better to handle proxies, maps, smart objects, etc...

8 years agotests: Fix build warning
Jean-Philippe Andre [Mon, 2 Nov 2015 06:08:05 +0000 (15:08 +0900)]
tests: Fix build warning

8 years agoEvas render: Fix 'no_render' when object is proxy source
Jean-Philippe Andre [Mon, 2 Nov 2015 03:23:00 +0000 (12:23 +0900)]
Evas render: Fix 'no_render' when object is proxy source

When the no_render flag was set on a proxy source, the object would
not be visible, but it would also not render inside the proxy surface,
which completely beats the purpose of this flag. This patch makes
the objects render inside a proxy surface.

8 years agoecore_evas_convert: Improve cmdline help a bit
Jean-Philippe Andre [Thu, 29 Oct 2015 13:14:08 +0000 (22:14 +0900)]
ecore_evas_convert: Improve cmdline help a bit

8 years agoecore_file: Fix ecore_file_file_get function on Windows.
Jaehyun Cho [Mon, 2 Nov 2015 01:19:39 +0000 (10:19 +0900)]
ecore_file: Fix ecore_file_file_get function on Windows.

On Windows, both backslash and slash can be used as file path
separators. Therefore, it is fixed to consider backslash as a file path
separator as well on Windows.

@fix

8 years agoefreet - fix efreetd to not exit on $home being in extra app dirs
Carsten Haitzler (Rasterman) [Mon, 2 Nov 2015 01:11:53 +0000 (10:11 +0900)]
efreet - fix efreetd to not exit on $home being in extra app dirs

if a client added $home in the efreet extra desktops dirs, then
efreetd would detect and nuke cache, exit, causing a restart cycle
forever. this makes efreet simply ignore the errant dir so it can keep
working.

@fix

8 years agoecore imf - fix modules that are x11 based to only load in x11 and in wl
Carsten Haitzler (Rasterman) [Sat, 31 Oct 2015 02:35:19 +0000 (11:35 +0900)]
ecore imf - fix modules that are x11 based to only load in x11 and in wl

use env vars to determine module init for ecore-imf so you don't have
things like e locking up trying to init scim when running in wl mode.
do the same for ibus and xim modules too. do the inverse for wayland
imf module but here add also the check for ELM_DISPLAY that wasn't
there (like it is now in the other modules) so it is only initted on
wayland.

@fix

8 years agoecore: add test case for idler enterer function
Vivek Ellur [Sat, 31 Oct 2015 01:37:17 +0000 (02:37 +0100)]
ecore: add test case for idler enterer function

Summary:
Added test case for ecore_idle_enterer_before_add function

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

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoevas: removing redundant if case in gl_cocoa backend.
Srivardhan Hebbar [Sat, 31 Oct 2015 01:36:14 +0000 (02:36 +0100)]
evas: removing redundant if case in gl_cocoa backend.

Summary:
According to my understanding of this function, this check of im_old is
redundant, as im_old will never be NULL. For im_old to be NULL, image should be
NULL. But that is checked at line 637. im is assigned image and im is checked for NULL. At line 654 im_old is assigned image and it is not modified till line 673. So this check would always return true and enter if case and would never
enter else case. So removing the redundant code.

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

Reviewed By: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoevas: handling realloc failure in gl_generic.
Srivardhan Hebbar [Fri, 30 Oct 2015 06:20:31 +0000 (07:20 +0100)]
evas: handling realloc failure in gl_generic.

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

Reviewers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoevas: removing redundant assignment in gl_drm.
Srivardhan Hebbar [Fri, 30 Oct 2015 06:19:06 +0000 (07:19 +0100)]
evas: removing redundant assignment in gl_drm.

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

Reviewers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoevas: removing redundant assigment in gl_common.
Srivardhan Hebbar [Fri, 30 Oct 2015 06:18:08 +0000 (07:18 +0100)]
evas: removing redundant assigment in gl_common.

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

Reviewers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoeet: removing useless assignment variables.
Srivardhan Hebbar [Fri, 30 Oct 2015 06:15:09 +0000 (07:15 +0100)]
eet: removing useless assignment variables.

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

Reviewers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoevas: removing redundant check in gl_x11 backend.
Srivardhan Hebbar [Fri, 30 Oct 2015 05:53:36 +0000 (06:53 +0100)]
evas: removing redundant check in gl_x11 backend.

Summary:
Checking for NULL is redundant here, because if cfgs was NULL, then at
line 760 it would fail.

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

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoector: fix null pointer dereference issue
Vivek Ellur [Fri, 30 Oct 2015 05:39:15 +0000 (06:39 +0100)]
ector: fix null pointer dereference issue

Summary:
Fix Coverity CID1293003

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

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoeina_hash: add test cases for eina_hash_add/del by hash functions
Vivek Ellur [Fri, 30 Oct 2015 03:06:25 +0000 (04:06 +0100)]
eina_hash: add test cases for eina_hash_add/del by hash functions

Summary:
Added test cases for eina_hash_add_by_hash/del_by_hash functions

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

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoeina_quaternion: add test case for rotation function
Vivek Ellur [Fri, 30 Oct 2015 03:00:33 +0000 (04:00 +0100)]
eina_quaternion: add test case for rotation function

Summary:
Added test case for eina_quaternion_rotate function

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

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoeina_quaternion: add test cases for quaternion rotation functions
Vivek Ellur [Fri, 30 Oct 2015 02:59:21 +0000 (03:59 +0100)]
eina_quaternion: add test cases for quaternion rotation functions

Summary:
Added test cases for eina_quaternion_f16p16_rotate and
eina_quaternion_f16p16_rotation_matrix3_get functions

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

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoeina_quaternion: correct the API name in header file
Vivek Ellur [Fri, 30 Oct 2015 02:57:06 +0000 (03:57 +0100)]
eina_quaternion: correct the API name in header file

Summary:
This is not an ABI break as we never did provide the broken name symbol, just a typo
in the header that wasn't detected until now.

@fix

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

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoecore-drm: Add some debug printing for driver details
Chris Michael [Fri, 30 Oct 2015 20:00:32 +0000 (16:00 -0400)]
ecore-drm: Add some debug printing for driver details

Summary: In efforts to debug some non-working drm issues for people,
it would be helpful to know what drivers and versions they are using.
This commit just adds some debug printing for that information

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoecore-evas-wl: Ignore step size when maximizing
Chris Michael [Fri, 30 Oct 2015 19:12:41 +0000 (15:12 -0400)]
ecore-evas-wl: Ignore step size when maximizing

Summary; This fixes an issue where maximizing efl/elm apps in Weston
and in Enlightenment would cause extra space to be left around the
window.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoevas-gl-drm: Resize gbm surface when canvas size changes
Chris Michael [Fri, 30 Oct 2015 18:49:01 +0000 (14:49 -0400)]
evas-gl-drm: Resize gbm surface when canvas size changes

Summary: When we are told to resize the canvas, we should also be
resizing the gbm_surface. This should fix the issue of wl_drm module
in E not working when the canvas gets resized (WFM now)

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>