platform/upstream/efl.git
9 years agogitignore: don't track generated example.
Cedric BAIL [Mon, 23 Feb 2015 14:10:57 +0000 (15:10 +0100)]
gitignore: don't track generated example.

9 years agoevas: build evas_3d_parallax_occlusion.
Cedric BAIL [Mon, 23 Feb 2015 14:10:33 +0000 (15:10 +0100)]
evas: build evas_3d_parallax_occlusion.

9 years agoevas: some fixes to evas examples.
Bogdan Devichev [Mon, 23 Feb 2015 13:46:15 +0000 (14:46 +0100)]
evas: some fixes to evas examples.

Summary:
Fixed : errors (connected with eo and new resources path) in evas-object-manipulation-eo.c
Fixed : warning: format not a string literal and no format arguments [-Wformat-security]
FIxed : unused variables in evas-images3.c are deleted

Reviewers: raster, Hermet, cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: fix evas software_generic backend while doing rotation in stress test.
kabeer khan [Mon, 23 Feb 2015 13:43:31 +0000 (14:43 +0100)]
evas: fix evas software_generic backend while doing rotation in stress test.

Summary:
Resolved T2133 by using eng_image_data_get instead of evas_cache_image_pixels to
get image pixels. Also made other minor changes for error handling.

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

Subscribers: cedric

Maniphest Tasks: T2133

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: Evas_3D - add destructors for clean of memory.
se.osadchy [Mon, 23 Feb 2015 13:42:42 +0000 (14:42 +0100)]
evas: Evas_3D - add destructors for clean of memory.

Summary: Update and add new destructors.

Reviewers: Hermet, raster, cedric

Reviewed By: cedric

Subscribers: cedric

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

9 years agoedje: updated .gitignore to ignore edje-edit-part-box example.
kabeer khan [Mon, 23 Feb 2015 13:39:11 +0000 (14:39 +0100)]
edje: updated .gitignore to ignore edje-edit-part-box example.

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

Reviewers: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoedje: add orientation properties for Evas_3D node.
perepelits.m [Mon, 23 Feb 2015 13:36:55 +0000 (14:36 +0100)]
edje: add orientation properties for Evas_3D node.

Summary: Adding of two modes of node orientation: by setting of the target name and by setting of the point to look on.

Reviewers: Hermet, raster, cedric

Subscribers: cedric, artem.popov

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: Evas_3D - add parallax occlusion shading.
Dmytro Dadyka [Mon, 23 Feb 2015 13:25:49 +0000 (14:25 +0100)]
evas: Evas_3D - add parallax occlusion shading.

Reviewers: Hermet, cedric

Reviewed By: cedric

Subscribers: cedric

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

9 years agoevas: Evas_3D - add texture units count checking.
Dmytro Dadyka [Mon, 23 Feb 2015 13:20:45 +0000 (14:20 +0100)]
evas: Evas_3D - add texture units count checking.

Reviewers: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoEvas GL: Fix issues in gles extensions initialisation
mythri.venugopal [Mon, 23 Feb 2015 10:39:42 +0000 (19:39 +0900)]
Evas GL: Fix issues in gles extensions initialisation

Summary:
Fix 1- If extension is not listed in GL_EXTENSIONS, do not try
to get the function address of the extension functions.
Fix 2- For GL_EXT_robustness, for GLESv1 version, do not try to
export glGetnUniformXXX functions.

Reviewers: jpeg

Subscribers: cedric

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

Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
9 years agoRevert "Revert "evas: refcounting initialisation and protect things.""
Cedric BAIL [Mon, 23 Feb 2015 10:36:03 +0000 (11:36 +0100)]
Revert "Revert "evas: refcounting initialisation and protect things.""

This reverts commit 789633b321dbb0669b93ba2da3bbaaede3de6233.

Now this should be useful since we have refactored the shutdown logic of all engine.

9 years agoevas: refactor shutdown.
Cedric BAIL [Mon, 23 Feb 2015 10:35:29 +0000 (11:35 +0100)]
evas: refactor shutdown.

9 years agoEdcref: fix a mispelled property
Dave Andreoli [Sat, 21 Feb 2015 15:33:28 +0000 (16:33 +0100)]
Edcref: fix a mispelled property

9 years agoevas: Evas_3D - fix bug with pack meshes data.
Dmytro Dadyka [Fri, 20 Feb 2015 17:40:11 +0000 (18:40 +0100)]
evas: Evas_3D - fix bug with pack meshes data.

Reviewers: cedric

@fix

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: resources for evas-2d examples are added to resource folder.
Bogdan Devichev [Fri, 20 Feb 2015 16:59:27 +0000 (17:59 +0100)]
evas: resources for evas-2d examples are added to resource folder.

Summary:  Process of loading is standard now. TODOs which are added here will be done in one of the next commits soon.

Reviewers: cedric, Hermet, raster

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: Evas_3D - add common code for primitive shape.
Dmytro Dadyka [Fri, 20 Feb 2015 16:57:18 +0000 (17:57 +0100)]
evas: Evas_3D - add common code for primitive shape.

Reviewers: Hermet, cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoRevert "evas: refcounting initialisation and protect things."
Cedric BAIL [Fri, 20 Feb 2015 16:39:27 +0000 (17:39 +0100)]
Revert "evas: refcounting initialisation and protect things."

This reverts commit 216397bea635d93266aca73f9e724979375f2e3b.

We do have some engine that are doing partial shutdown outside of the protected
function, leading to a crash.

9 years agoevas: use two thread when scaling image.
Cedric BAIL [Fri, 20 Feb 2015 16:11:44 +0000 (17:11 +0100)]
evas: use two thread when scaling image.

This is for now just a small experiment. It was based on the experiment made
with OpenMP. I prefered to only use Eina here as we have already all the infrastructure
to do this nicely and simply. As a result I get a 65% speed improved on average for
the involved scaling operation. The secondary CPU is on my laptop running with a load of
75% percent. I don't have right now the time to do power consumption analysis, but I
think it shouldn't be to bad. I am also not throwing more core at this as we are not able
to use the second core at its max already, so additional core may result in a bigger
energy loss without enough gain.

9 years agoedje: add of material properties.
perepelits.m [Fri, 20 Feb 2015 15:33:17 +0000 (16:33 +0100)]
edje: add of material properties.

Summary: Filling of fields: "ambient", "diffuse", "specular", "material", "normal", "shininess" and "shade".

Reviewers: Hermet, raster, cedric

Reviewed By: cedric

Subscribers: cedric, artem.popov

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: refcounting initialisation and protect things.
Cedric BAIL [Fri, 20 Feb 2015 14:10:12 +0000 (15:10 +0100)]
evas: refcounting initialisation and protect things.

9 years agoevas: refactor software engine initialisation.
Cedric BAIL [Fri, 20 Feb 2015 14:04:52 +0000 (15:04 +0100)]
evas: refactor software engine initialisation.

9 years agoecore_cocoa: cosmetic color.
Guilherme Lepsch [Fri, 20 Feb 2015 13:53:00 +0000 (14:53 +0100)]
ecore_cocoa: cosmetic color.

Summary: The log is registered with the private definition ECORE_DEFAULT_LOG_COLOR from ecore_private.h. Changed to a explicit color.

Reviewers: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoeina: add test case for eina unicode escape function.
vivek [Fri, 20 Feb 2015 11:24:12 +0000 (12:24 +0100)]
eina: add test case for eina unicode escape function.

Summary:
Added test case for eina_unicode_escape function

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

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoecore_con: move documentation of ssl functions from ecore_con_ssl.c to Ecore_Con.h
Srivardhan Hebbar [Fri, 20 Feb 2015 11:22:08 +0000 (12:22 +0100)]
ecore_con: move documentation of ssl functions from ecore_con_ssl.c to Ecore_Con.h

Summary: Moved documentation of ssl functions from ecore_con_ssl.c to Ecore_Con.h.

Reviewers: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: Evas_3D - add creation of folder for saving and usage of PACKAGE_DATA_DIR to...
Bogdan Devichev [Fri, 20 Feb 2015 11:02:08 +0000 (12:02 +0100)]
evas: Evas_3D - add creation of folder for saving and usage of PACKAGE_DATA_DIR to every example of Evas_3D.

Reviewers: cedric, Hermet, raster

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoeina_str: add null check condition in eina_memdup.
vivek [Fri, 20 Feb 2015 10:40:43 +0000 (11:40 +0100)]
eina_str: add null check condition in eina_memdup.

Summary:
Added null check in eina_memdup function in eina_str

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

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoedje: add camera properties to edje_cc.
perepelits.m [Fri, 20 Feb 2015 10:31:09 +0000 (11:31 +0100)]
edje: add camera properties to edje_cc.

Summary: Filling of "fovy", "aspect", "near" and "far".

@feature

Reviewers: raster, Hermet, cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoecore_cocoa: remove duplicated includes.
Guilherme Lepsch [Fri, 20 Feb 2015 10:29:23 +0000 (11:29 +0100)]
ecore_cocoa: remove duplicated includes.

Summary: Remove duplicated includes in source file.

Reviewers: naguirre

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoecore_cocoa: fix MacOS X build with clang 3.6
Guilherme Lepsch [Fri, 20 Feb 2015 10:26:24 +0000 (11:26 +0100)]
ecore_cocoa: fix MacOS X build with clang 3.6

Summary:
* Fix extern declaration of _ecore_cocoa_log_domain variable defined as private with static;
* Fix including a private header from another module (ecore).

Reviewers: naguirre

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: apparently some configuration can't generate this file correctly, so putting...
Cedric BAIL [Thu, 19 Feb 2015 22:48:52 +0000 (23:48 +0100)]
evas: apparently some configuration can't generate this file correctly, so putting it in.

9 years agoupdate myself in AUTHORS
Boris Faure [Sun, 15 Feb 2015 17:25:15 +0000 (18:25 +0100)]
update myself in AUTHORS

9 years agoecore_con_url: add ecore_con_url_head()
Boris Faure [Mon, 9 Feb 2015 20:23:32 +0000 (21:23 +0100)]
ecore_con_url: add ecore_con_url_head()

Just like ecore_con_url_get() or ecore_con_url_post() but to a HTTP HEAD.

@feature

9 years agoecore_con_url: use an enum instead of multiple defines
Boris Faure [Mon, 9 Feb 2015 20:08:28 +0000 (21:08 +0100)]
ecore_con_url: use an enum instead of multiple defines

9 years agoevas gl: fix build when GL_COVERAGE_SAMPLES_NV is defined byg <GL/gl.h>
Boris Faure [Thu, 19 Feb 2015 21:51:14 +0000 (22:51 +0100)]
evas gl: fix build when GL_COVERAGE_SAMPLES_NV is defined byg <GL/gl.h>

9 years agoecore-drm Add hooks for updating wl_output when outputs are hotplugged
Derek Foreman [Thu, 19 Feb 2015 19:47:34 +0000 (14:47 -0500)]
ecore-drm Add hooks for updating wl_output when outputs are hotplugged

Summary:
This provides callbacks to any bound wl_output listeners when a
display is hotplugged.

NOTE: Currently we don't receive hotplug events
ANOTHER NOTE: We don't yet handle display removal

Reviewers: devilhorns, zmike

Reviewed By: devilhorns, zmike

Subscribers: cedric

Maniphest Tasks: T2131

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

9 years agoecore-drm Add API for querying output parameters
Derek Foreman [Thu, 19 Feb 2015 19:47:26 +0000 (14:47 -0500)]
ecore-drm Add API for querying output parameters

Reviewers: zmike, devilhorns

Reviewed By: devilhorns

Subscribers: cedric

Maniphest Tasks: T2131

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

9 years agoecore-drm Fix typo
Derek Foreman [Thu, 19 Feb 2015 19:46:36 +0000 (14:46 -0500)]
ecore-drm Fix typo

Reviewers: devilhorns, zmike

Reviewed By: devilhorns, zmike

Subscribers: cedric

Maniphest Tasks: T2131

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

9 years agoEdje: new set/get API omogeneous, paddings and align for BOX/TABLE in Edje Edit
Vitalii Vorobiov [Thu, 19 Feb 2015 14:57:17 +0000 (16:57 +0200)]
Edje: new set/get API omogeneous, paddings and align for BOX/TABLE in Edje Edit

Those include such functions like:
> edje_edit_state_table_homogeneous_set/get (function for TABLE only)
> edje_edit_state_container_padding_get
(container means that functions both for TABLE and BOX)
> edje_edit_state_container_align_get (also for TABLE and BOX)

@feature

9 years agoeolian: fix make distcheck
Marcel Hollerbach [Thu, 19 Feb 2015 14:20:47 +0000 (15:20 +0100)]
eolian: fix make distcheck

Summary: null.eo was missing in the makefile.

Test Plan: run make distcheck

Reviewers: q66

Reviewed By: q66

Subscribers: cedric, herdsman

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

9 years agoEvas 3D: Fix distcheck build
Marcel Hollerbach [Thu, 19 Feb 2015 14:29:50 +0000 (15:29 +0100)]
Evas 3D: Fix distcheck build

Summary:
The new files for the shaders and he header file where not part of
EXTRA_DIST, so they where not found when running make distcheck.

Test Plan: just run make distcheck

Reviewers: cedric, q66

Reviewed By: q66

Subscribers: cedric, herdsman

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

9 years agoevas: more warning fix.
Cedric BAIL [Wed, 18 Feb 2015 21:38:11 +0000 (22:38 +0100)]
evas: more warning fix.

9 years agoevas: Evas_3D - Makefile updated for resources ordering in evas examples.
Bogdan Devichev [Wed, 18 Feb 2015 21:22:53 +0000 (22:22 +0100)]
evas: Evas_3D - Makefile updated for resources ordering in evas examples.

Reviewers: cedric, Hermet, raster

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: Evas_3D - regularize resource for 3D examples.
Bogdan Devichev [Wed, 18 Feb 2015 21:21:47 +0000 (22:21 +0100)]
evas: Evas_3D - regularize resource for 3D examples.

Summary: This commit makes folder of examples for evas more ordered.

Reviewers: raster, Hermet, cedric

Subscribers: artem.popov, cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: remove compilation warning.
Cedric BAIL [Wed, 18 Feb 2015 21:16:48 +0000 (22:16 +0100)]
evas: remove compilation warning.

9 years agoevas: Evas_3D - improve Shooter example.
perepelits.m [Wed, 18 Feb 2015 21:00:58 +0000 (22:00 +0100)]
evas: Evas_3D - improve Shooter example.

Summary: This example includes some previous developments to create 3d-world mechanics.

Reviewers: cedric, raster, Hermet

Subscribers: cedric, artem.popov

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: Evas_3D - callbacks for Evas 3D.
Oleksandr Shcherbina [Wed, 18 Feb 2015 20:43:23 +0000 (21:43 +0100)]
evas: Evas_3D - callbacks for Evas 3D.

Summary:
Add class and type Evas_3D_Callback like wrapper under smart object
Incapsulate Evas_3D_Callback in Evas_3D_Object
Add virtual function register and unregister in Evas_3D_Object
Add function evas_3d_callback_call
Add callbacks clicked and collision for Evas_3D_Node

@feature

Reviewers: raster, Hermet, cedric

Reviewed By: cedric

Subscribers: artem.popov, cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: Evas_3D - refactor shader system.
Dmytro Dadyka [Wed, 18 Feb 2015 20:19:28 +0000 (21:19 +0100)]
evas: Evas_3D - refactor shader system.

Reviewers: Hermet, raster, jpeg, cedric

Subscribers: artem.popov, cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoeolian: convenience macro to fill base structures in parser
Daniel Kolesa [Wed, 18 Feb 2015 15:41:50 +0000 (15:41 +0000)]
eolian: convenience macro to fill base structures in parser

9 years agoecore-drm: Fix issue with ecore_drm_evdev->path being incorrect
Chris Michael [Tue, 17 Feb 2015 21:18:13 +0000 (16:18 -0500)]
ecore-drm: Fix issue with ecore_drm_evdev->path being incorrect

Summary: When we try to ReleaseDevice of our evdev structure, the
'path' which was getting passed to our logind code was incorrect. This
was due to libinput not providing a function to get the full device
path. We fix this by making some eeze udev calls to find this device
and get the full device path.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Fix issue of ecore_drm not calling ReleaseDevice when an
Chris Michael [Tue, 17 Feb 2015 21:15:52 +0000 (16:15 -0500)]
ecore-drm: Fix issue of ecore_drm not calling ReleaseDevice when an
input is destroyed

Summary: This fixes an issue where if you VT switch away from a
running Enlightenment and VT switch back, then input would no longer
be working. This was because we never called ReleaseDevice (dbus call)
when we destroyed a device, so any calls to recreate the device would
fail in libinput due to control already being taken.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Don't recreate ecore_event handlers if we already have them
Chris Michael [Tue, 17 Feb 2015 21:13:28 +0000 (16:13 -0500)]
ecore-drm: Don't recreate ecore_event handlers if we already have them

Summary: If we already have the ecore_event_handlers for logind, then
do not recreate them on logind_connect.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Fix issue of checking improper eldbus message for errors
Chris Michael [Tue, 17 Feb 2015 21:11:27 +0000 (16:11 -0500)]
ecore-drm: Fix issue of checking improper eldbus message for errors

Summary: When we send_and_block, we should be checking the 'reply' for
errors, not the original message which was sent.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoevas: fix error checking of eglBindAPI.
Minkyoung Kim [Tue, 17 Feb 2015 15:34:35 +0000 (16:34 +0100)]
evas: fix error checking of eglBindAPI.

Summary: If eglGetError sequencially called, second eglGetError() doesn't give the information of real Error.

@fix

Reviewers: raster, jpeg, cedric, Hermet

Subscribers: cedric, spacegrapher, wonsik

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoedje: add a block "position" for Evas_3D part (camera, light and node).
perepelits.m [Tue, 17 Feb 2015 15:31:03 +0000 (16:31 +0100)]
edje: add a block "position" for Evas_3D part (camera, light and node).

Summary: add a block "position" to fill the position field for nodes.

Reviewers: raster, Hermet, cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: Evas_3D - refactor node shapes update mechanism.
Dmytro Dadyka [Tue, 17 Feb 2015 14:33:05 +0000 (15:33 +0100)]
evas: Evas_3D - refactor node shapes update mechanism.

Reviewers: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: updated .gitignore to not track evas_3d_colorpick example.
kabeer khan [Mon, 16 Feb 2015 11:11:19 +0000 (12:11 +0100)]
evas: updated .gitignore to not track evas_3d_colorpick example.

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

Reviewers: cedric, Oleksander

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoedje: Edje_Edit - add examples for it's API using for BOX part and items
Vitalii Vorobiov [Mon, 16 Feb 2015 11:03:19 +0000 (12:03 +0100)]
edje: Edje_Edit - add examples for it's API using for BOX part and items

Summary:
Some little example about how and when edje_edit functions can be applied.
In this example there is a box part with items in edj, and by using edje_edit
program actually changes edj file directly. (adding items,
changing layouts of box, changing params of items, etc).

It is pushed as a reference for people who would like to do there own
Edje editor. Normal application should not use that API.

Reviewers: Hermet, raster, seoz, cedric

Reviewed By: cedric

Subscribers: cedric, reutskiy.v.v

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: fix misspellings in evas_render2.
Yomi [Mon, 16 Feb 2015 10:58:48 +0000 (11:58 +0100)]
evas: fix misspellings in evas_render2.

Summary: fix misspellings of 'canvas' and 'work' in the comments.

Reviewers: raster

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoecore_con: updatet documentation about Ecore_Con events.
Srivardhan Hebbar [Mon, 16 Feb 2015 10:57:35 +0000 (11:57 +0100)]
ecore_con: updatet documentation about Ecore_Con events.

Summary: Ordered events into server side events, client side events and update the text.

Reviewers: cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: Evas GL - add glGetError() after surface capability test.
Minkyoung Kim [Mon, 16 Feb 2015 10:54:23 +0000 (11:54 +0100)]
evas: Evas GL - add glGetError() after surface capability test.

Summary:
After using gl funcs, must call glGetError().
To prevent wrong error catch for subsequent glGetError().

Test Plan: Local tests

Reviewers: raster, jpeg, Hermet, cedric

Reviewed By: cedric

Subscribers: spacegrapher, wonsik, cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoedje: Edje_Edit - functions to edit layouts of BOX parts
Vitalii Vorobiov [Fri, 13 Feb 2015 16:47:56 +0000 (18:47 +0200)]
edje: Edje_Edit - functions to edit layouts of BOX parts

New functions for setting such BOX's params like primary and fallback layouts:
> edje_edit_state_box_layout_set
> edje_edit_state_box_layout_get
> edje_edit_state_box_alt_layout_set
> edje_edit_state_box_alt_layout_get

@feature

9 years agoedje: edje_edit - fix group source generation of box params
Vitalii Vorobiov [Fri, 13 Feb 2015 16:43:04 +0000 (18:43 +0200)]
edje: edje_edit - fix group source generation of box params

Need to generate such params of box like align, padding, min and layouts
(both primary and alternative).

@fix

9 years agoedje: edje_edit - fix group source generation of item 'weight' param
Vitalii Vorobiov [Fri, 13 Feb 2015 16:40:38 +0000 (18:40 +0200)]
edje: edje_edit - fix group source generation of item 'weight' param

@fix

9 years agoedje, eeze: compiler portability (use full ternary operator)
Daniel Kolesa [Fri, 13 Feb 2015 14:20:32 +0000 (14:20 +0000)]
edje, eeze: compiler portability (use full ternary operator)

9 years agoeina: remove useless eina_inline_lock_win32.x file.
Vincent Torri [Fri, 13 Feb 2015 07:37:19 +0000 (08:37 +0100)]
eina: remove useless eina_inline_lock_win32.x file.

9 years agoeina: fix compilation on Widows due to removal of native thread support.
Vincent Torri [Fri, 13 Feb 2015 07:31:38 +0000 (08:31 +0100)]
eina: fix compilation on Widows due to removal of native thread support.

Native thread support has been replaced by a POSIX one (provided by
mingw-w64). So eina_inline_lock_posix.x must be installed instead of
eina_inline_lock_win32.x

9 years agoecore/drm: Compile ecore_drm_logind.c without condition
Stefan Schmidt [Fri, 13 Feb 2015 09:03:05 +0000 (10:03 +0100)]
ecore/drm: Compile ecore_drm_logind.c without condition

Right now we excluded the file from the build if we did not find system-logind.
We are using some symbols from this file without any condition though:
lib/ecore_drm/.libs/libecore_drm.so: undefined reference to `_ecore_drm_logind_device_open_no_pending'
lib/ecore_drm/.libs/libecore_drm.so: undefined reference to `_ecore_drm_logind_connect'
lib/ecore_drm/.libs/libecore_drm.so: undefined reference to `_ecore_drm_logind_disconnect'
lib/ecore_drm/.libs/libecore_drm.so: undefined reference to `_ecore_drm_logind_device_close'

This comes from a Gentoo machine without systemd.

As the logind relevant parts are ifdef'ed in the code itself it is safe to build
this file in all cases and thus avoid the undefined references.

@fix

9 years agoEvas: Fix compilation warning (-Wshadow)
Jean-Philippe Andre [Fri, 13 Feb 2015 05:00:23 +0000 (14:00 +0900)]
Evas: Fix compilation warning (-Wshadow)

9 years agoEvas: Free variable in error path
Jean-Philippe Andre [Fri, 13 Feb 2015 02:06:25 +0000 (11:06 +0900)]
Evas: Free variable in error path

Fixes CID 1270032
  Resource leaks  (RESOURCE_LEAK)
  Variable "exim" going out of scope leaks the storage it points to.

9 years agoee-win32 probably might compile now
Mike Blumenkrantz [Thu, 12 Feb 2015 21:21:52 +0000 (16:21 -0500)]
ee-win32 probably might compile now

<vtorri> bad Mike !
<vtorri> the name of the function is not good, so compilation fails on Windows
<vtorri> remove 'object' in the name of the definition of the function :)

@fix

9 years agoecore/drm: Fix libinput >= 0.8 check
Stefan Schmidt [Thu, 12 Feb 2015 17:37:42 +0000 (18:37 +0100)]
ecore/drm: Fix libinput >= 0.8 check

We need #if here as LIBINPUT_HIGHER_08 will be either 0 or 1

@fix

9 years agoecore-drm: Fix bad German formatting ;)
Chris Michael [Thu, 12 Feb 2015 17:09:47 +0000 (12:09 -0500)]
ecore-drm: Fix bad German formatting ;)

Summary: No functional changes, just formatting

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore/drm: Add support for changed libinput API since 0.8
Stefan Schmidt [Thu, 12 Feb 2015 17:01:55 +0000 (18:01 +0100)]
ecore/drm: Add support for changed libinput API since 0.8

We check for libinput 06 or higher. In version 0.8 they got an API break
(hopefully the last one before 1.0) which we did not support so far. I have
seen libinput 0.9 used on gentoo and newer ubuntu systems so we should
definitely support them.

Adding a LIBINPUT_HIGHER_08 define to check for this. So far we have only one
location where we need it. Once there is a libinput 1.0 we should remove the
support for older versions.

http://lists.freedesktop.org/archives/wayland-devel/2015-January/019383.html

9 years agoedje_cc: Avoid segfault when strcmp NULL items
Stefan Schmidt [Thu, 12 Feb 2015 14:24:27 +0000 (15:24 +0100)]
edje_cc: Avoid segfault when strcmp NULL items

Martin reported a porblem with one of the SHR project edc files after an upgrade
to 1.13. The segfault itself is easy enough to fix here but I think there might
be other problems with the edc after this segfault is gone. We will see.

Fixes T2106

9 years agoEolian: improve the class searching.
Daniel Zaoui [Wed, 11 Feb 2015 15:03:08 +0000 (17:03 +0200)]
Eolian: improve the class searching.

If the class is not found, we retrieve its full path if it has already
been scanned.

This patch is needed by Espion so Eolian can find the full path of a
class by its name. Espion has no way to determine it by itself.

9 years agoEolian: store the class filenames with the extensions.
Daniel Zaoui [Wed, 11 Feb 2015 14:58:53 +0000 (16:58 +0200)]
Eolian: store the class filenames with the extensions.

This change is needed to give Espion a way to request the parsing of a
class when a eo_add happens and the class is not known by Eolian.

9 years agotests/evas: Enable evas 3d mesh test case again after the code got fixed.
Stefan Schmidt [Thu, 12 Feb 2015 13:43:34 +0000 (14:43 +0100)]
tests/evas: Enable evas 3d mesh test case again after the code got fixed.

The problem have been in the new evas block/unblock code which did not work
for evas 3d. Thanks to Bogdan for spotting it and raster for reverting the
3d part for now to keep the code working.

Fixes T2104

9 years agoeolian: add testcase for nullable/optional
Daniel Kolesa [Thu, 12 Feb 2015 13:42:57 +0000 (13:42 +0000)]
eolian: add testcase for nullable/optional

9 years agoeolian: remove unneeded code
Daniel Kolesa [Thu, 12 Feb 2015 13:31:23 +0000 (13:31 +0000)]
eolian: remove unneeded code

9 years agoevas 3d - undo async block code - 3d objects dont inherit from evas obj
Carsten Haitzler (Rasterman) [Thu, 12 Feb 2015 13:25:06 +0000 (22:25 +0900)]
evas 3d - undo async block code - 3d objects dont inherit from evas obj

9 years agoevas - image obj - filled mode - never use invalid 0x0 fill
Carsten Haitzler (Rasterman) [Thu, 12 Feb 2015 03:10:04 +0000 (12:10 +0900)]
evas - image obj - filled mode - never use invalid 0x0 fill

this fixes a lot of noise for filled image objects that set fill to
0x0 if objetc is 0x0. this clamps minimum fill at 1x1 and thus keeps
things silent and sensible. also just silently ignore 0x0 filled image
objects. noise is not that useful.

9 years agoeolian: add APIs for nullable/optional (+ lua bindings)
Daniel Kolesa [Thu, 12 Feb 2015 13:24:06 +0000 (13:24 +0000)]
eolian: add APIs for nullable/optional (+ lua bindings)

9 years agoeolian: write the new parameters into the database
Daniel Kolesa [Thu, 12 Feb 2015 11:32:34 +0000 (11:32 +0000)]
eolian: write the new parameters into the database

9 years agoeolian: check the other boolean rather than itself
Daniel Kolesa [Thu, 12 Feb 2015 11:19:24 +0000 (11:19 +0000)]
eolian: check the other boolean rather than itself

9 years agoeolian: parsing of @nullable and @optional args on func params
Daniel Kolesa [Thu, 12 Feb 2015 11:14:45 +0000 (11:14 +0000)]
eolian: parsing of @nullable and @optional args on func params

9 years agoRevert "ecore: fix path comparison in Ecore_File test suite."
Stefan Schmidt [Thu, 12 Feb 2015 08:52:21 +0000 (09:52 +0100)]
Revert "ecore: fix path comparison in Ecore_File test suite."

This reverts commit 66c0f3261dab904fce533b0f7d30b1b374abd658.

This commit breaks the eina_file suite on Gentoo (our jenkins OS).

ref T2105

9 years agotests/evas: Disable segfaulting evas_object_mesh_loader_saver
Stefan Schmidt [Thu, 12 Feb 2015 09:23:50 +0000 (10:23 +0100)]
tests/evas: Disable segfaulting evas_object_mesh_loader_saver

This test case segfault on jenkins as well as on my devel machine.
Disable until fixed.

ref T2104

9 years agoeina: Fix MacOS X build with clang 3.6.
Guilherme Lepsch [Thu, 12 Feb 2015 06:25:10 +0000 (07:25 +0100)]
eina: Fix MacOS X build with clang 3.6.

Summary:
printf contains and erroneous format specifier and cast
missing LIBTOOLFLAGS for cocoa

Reviewers: felipealmeida, larryolj, naguirre

Subscribers: cedric

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

Signed-off-by: Nicolas Aguirre <aguirre.nicolas@gmail.com>
9 years agoRevert "Evas GL: Add support for uniforms in the shaders"
Jean-Philippe Andre [Thu, 12 Feb 2015 06:10:53 +0000 (15:10 +0900)]
Revert "Evas GL: Add support for uniforms in the shaders"

This reverts commit 21d08f86e6087f7e30ff2015c7551c06e359bba9.

9 years agoRevert "Evas GL common: Use uniform instead of attribute for sample"
Jean-Philippe Andre [Thu, 12 Feb 2015 05:56:03 +0000 (14:56 +0900)]
Revert "Evas GL common: Use uniform instead of attribute for sample"

This reverts commit 986b60eaf0175b3592883c85cfb6f5f5a280f31d.
Added PUSH_SAMPLE for simplicity.

It was dumb of me to use uniforms, so I added a comment to prevent
other dumb people from making the same mistake later.

9 years agoEvas GL common: Improve code readability (simplify macro)
Jean-Philippe Andre [Wed, 11 Feb 2015 12:45:50 +0000 (21:45 +0900)]
Evas GL common: Improve code readability (simplify macro)

The exact same ugly macro would appear hundreds of times in the GL
code:
  GLERR(__FUNCTION__, __FILE__, __LINE__, "");

Instead, override the common GL functions iif GL_ERRORS is defined.
This greatly simplifies code and removes tons of useless lines.
Also, this will give better debugging output as the exact code line
is printed, and the function name is also printed.

Also, fix linking to the glerr function.

This is a code cleanup. Hopefully I didn't break anything with this
big operation of find & replace.

9 years agoEvas GL common: Simplify GL pipe code with macros
Jean-Philippe Andre [Wed, 11 Feb 2015 12:32:15 +0000 (21:32 +0900)]
Evas GL common: Simplify GL pipe code with macros

A lot of the code was just brutal copy & paste.
Reduced by using simpler macros, which I believe are even
more readable.

9 years agoEvas GL common: Call glGetUniformLocation as early as possible
Jean-Philippe Andre [Wed, 11 Feb 2015 12:13:13 +0000 (21:13 +0900)]
Evas GL common: Call glGetUniformLocation as early as possible

This should speed up setting uniforms in the shaders, by storing
their locations in the Evas_GL_Program description.

I kept the previous solution with name as fallback, but it won't
actually be used with the current shaders.

9 years agoEvas GL common: Use uniform instead of attribute for sample
Jean-Philippe Andre [Wed, 11 Feb 2015 11:39:05 +0000 (20:39 +0900)]
Evas GL common: Use uniform instead of attribute for sample

Image and texture programs "12", "21" and "22" used tex_sample
as a texture attribute passed to the vertex shader. Instead of
this seemingly hackish solution, use a vec2 uniform.

9 years agoevas - render - have lock point to allow for async obj walk + update add
Carsten Haitzler (Rasterman) [Tue, 10 Feb 2015 11:44:38 +0000 (20:44 +0900)]
evas - render - have lock point to allow for async obj walk + update add

this adds a lock for when walking all the objects to generate render
commands for an async render. this allows even the object tree walk
plus update area caluclation to be moved off into async if every oject
that can change canvas state actually does so correctly. this change
adds all those lock block calls to synchronise with an async object
tree walk.

9 years agoecore-drm: Print error when taking control of a device fails
Chris Michael [Wed, 11 Feb 2015 20:42:02 +0000 (15:42 -0500)]
ecore-drm: Print error when taking control of a device fails

Summary: If we send a dbus blocking message, and it returns an error
then we should be printing out this error message

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoeldbus: Fix formatting
Chris Michael [Wed, 11 Feb 2015 20:29:29 +0000 (15:29 -0500)]
eldbus: Fix formatting

Summary: No functional changes, just formatting

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Disable/Enable inputs if we release/aquire VT through logind
Chris Michael [Wed, 11 Feb 2015 19:51:44 +0000 (14:51 -0500)]
ecore-drm: Disable/Enable inputs if we release/aquire VT through logind

Summary: Due to libinput processing events directly from evdev, we
need to disable/enable input events when we release/acquire the vt.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Disable/Enable inputs if we release/acquire the VT
Chris Michael [Wed, 11 Feb 2015 19:14:52 +0000 (14:14 -0500)]
ecore-drm: Disable/Enable inputs if we release/acquire the VT

Summary: Due to libinput process events directly from evdev, when we
VT switch we should disable/enable inputs accordingly.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoevas: Evas_3D - iport/export of Obj format can be read even if obj-file does not...
Bogdan Devichev [Wed, 11 Feb 2015 17:13:58 +0000 (18:13 +0100)]
evas: Evas_3D - iport/export of Obj format can be read even if obj-file does not have normals or tex-coords.

Summary:
This commit fixed several bugs, and show what was be fixed.

Bugs:
- When designer save obj file in Blender, he/she can set flags (fig 1). Normals and UV coords flags was necessary  for obj loader. Loader crushed when they are not set as true. It fixed by this commit.
- Another loaders set default values to data which aren't in loading file, so mesh need more memory for unused data. It fixed by this commit for obj and will be fixed for another formats in future.
- Saver saved incorrect data if normals or tex_coords was not set in mesh in evas. Now it fixed.
- Saver failed if it save mesh without material. It fixed and in this case material file is not created now.
- Also fixed some leaks and undefined behavior which valgrind shows.

Example:
- Example shows cases described above. Example use files saved with different flags for it.

Resources:
- man_mesh is replaced by several smaller file, to use them for showing new features and fixes. For example, similar to that models can be added when implement work with material for obj, work with different flags for obj loader/saver etc. (big count of man_meshes is to much memory).
- texture for home is flipped, because of bug with texture in efl to see if tex_coords is incorrect.

Test:
- test should be rewritten in future, because another formats still use default values for normals and tex_coords. And test can not pass for all types of obj file because of standardization for any format in him.

Test Plan: Test suit will be rewritten after correcting of other formats (they will set NULL to file when save an empty data (like mesh without normals))

Reviewers: Hermet, raster, cedric

Reviewed By: cedric

Subscribers: cedric

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

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