platform/upstream/efl.git
9 years agoelua: minor eo bindings optimization
Daniel Kolesa [Thu, 26 Feb 2015 17:07:33 +0000 (17:07 +0000)]
elua: minor eo bindings optimization

9 years agoelua: update eo bindings for lualian generated code
Daniel Kolesa [Thu, 26 Feb 2015 15:36:15 +0000 (15:36 +0000)]
elua: update eo bindings for lualian generated code

9 years agobuild: Workaround an automake limitation during parallel install relinking
Stefan Schmidt [Thu, 26 Feb 2015 11:35:50 +0000 (12:35 +0100)]
build: Workaround an automake limitation during parallel install relinking

With this commit I'm finally able to use -j10 for make install on my machine.

During install libtool does some relinking which can result in to broken linking
if the dependencies are not handled correctly. Sadly automake has a problem with
the automatic dependency handling during install with LTLIBRARIES which we use
for all our modules. For the details please see this 4.5 years old bug report:
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7328

We are now setting the dependency manually to force automake to the right decision
during install relinking.

Speed improvement itself is not that high (make -j 1 compared to -j10):
real 0m21.410s  vs. real 0m17.066s

The bigger benefit is the unified use of MAKEOPTS or normal -j X in all our
build targets. I have seen quite some bug reports where -j was used for install
target when it was used in the build target. Last but not least it helps me to
unify some parts of the jenkins jobs and finally allows me to run distcheck
with -j Which uses install internally and failed before. Which goes down from
real 12m50.349s to real 5m52.120s.

9 years agoeina + ecore - fix main loop thread id tracking on fork
Carsten Haitzler (Rasterman) [Thu, 26 Feb 2015 10:45:53 +0000 (19:45 +0900)]
eina + ecore - fix main loop thread id tracking on fork

if you fork and even if you do ecore_fork_reset() a thread calling
ecore_main_loop_thread_safe_call_async(0 for example eill end up
resetting the mainloop thread id to itself (a non mainlopo thread) via
calling eina_main_loop_is() since pid changed. there is little point
in doing this so remove the pid tracking from eina and ensure mainloop
thread id is updated in ecore's fork reset.

@fix

9 years agoEvas masking: Simplify map masking shaders.
Jean-Philippe Andre [Thu, 26 Feb 2015 08:19:07 +0000 (17:19 +0900)]
Evas masking: Simplify map masking shaders.

Use vertex shader for all coordinates computations.
This reduces the number of varyings used.

9 years agoeina: add test case for eina_memdup in eina str
vivek [Wed, 25 Feb 2015 16:26:03 +0000 (17:26 +0100)]
eina: add test case for eina_memdup in eina str

Summary:
Added test case for eina_memdup function in eina_str test module

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

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoelua: completely revamped object system
Daniel Kolesa [Wed, 25 Feb 2015 15:45:18 +0000 (15:45 +0000)]
elua: completely revamped object system

These changes now allow us to do proper __tostring overrides and require
fewer method references, as everything shares a single metatable.

9 years agobuild: Ensure we have $(DESTDIR)$(libdir) during parallel install
Stefan Schmidt [Wed, 25 Feb 2015 13:20:16 +0000 (14:20 +0100)]
build: Ensure we have $(DESTDIR)$(libdir) during parallel install

While install-exec-hook gets normally executed after install and
thus we would have this we need to ensure it here when we want to
be safe regarding parallel install.

9 years agobuild: Unify use of $(MKDIR_P) for creating a dir within the build system
Stefan Schmidt [Wed, 25 Feb 2015 13:05:42 +0000 (14:05 +0100)]
build: Unify use of $(MKDIR_P) for creating a dir within the build system

While we used different variation of mkdir -p all over we also had spots
where we did not use the option. This is one step in trying to make our
build system ready for parallel install. Using something like -j 10 even
for the install should help to speed up our jenkins jobs as well as distcheck.

9 years agoelua: multiple inheritance aware is_a
Daniel Kolesa [Wed, 25 Feb 2015 15:16:35 +0000 (15:16 +0000)]
elua: multiple inheritance aware is_a

9 years agoelua: guarantee multiple inheritance availability on any object
Daniel Kolesa [Wed, 25 Feb 2015 15:11:52 +0000 (15:11 +0000)]
elua: guarantee multiple inheritance availability on any object

9 years agoelua: add object system mixin support without interfering with parents
Daniel Kolesa [Wed, 25 Feb 2015 15:06:10 +0000 (15:06 +0000)]
elua: add object system mixin support without interfering with parents

9 years agoelua: correct inheritance system in lualian generator
Daniel Kolesa [Wed, 25 Feb 2015 14:43:27 +0000 (14:43 +0000)]
elua: correct inheritance system in lualian generator

9 years agoelua: better mixin behavior (+ fix bad lookup)
Daniel Kolesa [Wed, 25 Feb 2015 14:01:45 +0000 (14:01 +0000)]
elua: better mixin behavior (+ fix bad lookup)

9 years agoelua: extra generator info for inheritance handling (and easy lookups)
Daniel Kolesa [Wed, 25 Feb 2015 13:33:28 +0000 (13:33 +0000)]
elua: extra generator info for inheritance handling (and easy lookups)

9 years agoelua: delegative multiple inheritance support in util object system
Daniel Kolesa [Wed, 25 Feb 2015 13:03:00 +0000 (13:03 +0000)]
elua: delegative multiple inheritance support in util object system

9 years agoelua: slightly less broken mixin behavior
Daniel Kolesa [Wed, 25 Feb 2015 12:09:16 +0000 (12:09 +0000)]
elua: slightly less broken mixin behavior

9 years agoEvas GL: Fix leak of surfaces with GLES 1.1
Jean-Philippe Andre [Wed, 25 Feb 2015 05:58:19 +0000 (14:58 +0900)]
Evas GL: Fix leak of surfaces with GLES 1.1

When destroying a GLES 1.1 surface, it is necessary to also
destroy and remove the main surface from the list.

This issue probably never really showed up because people
don't:
- use GLES 1.1
- constantly create & destroy new Evas GL surfaces
- but mostly no one cares about 1.1 anymore :)

@fix

9 years agoedje: optimize style matching.
Cedric BAIL [Tue, 24 Feb 2015 21:37:53 +0000 (22:37 +0100)]
edje: optimize style matching.

Most of the time the style string will come from the eet file directly, so
thanks to the dictionnary build in they should be pointing to the same string.
We still need to keep strcmp case for Edje_Edit case, but that shouldn't be
a real issue as the worst case is when it match. When it doesn't match strcmp
should return quite fast on average.

9 years agoedje: refactor styles add logic.
Cedric BAIL [Tue, 24 Feb 2015 21:37:24 +0000 (22:37 +0100)]
edje: refactor styles add logic.

9 years agoedje: Add edje to text_class_member_hash properly.
Sohyun Kim [Tue, 24 Feb 2015 17:26:18 +0000 (18:26 +0100)]
edje: Add edje to text_class_member_hash properly.

Summary:
When textblock styles have text_classes, all edjes in the files were added
to text_class_member_hash even if the edjes didn't use the textblock styles. It
makes time long to update text_class.
This will add the edje using the textblock style which has a text_class to
text_class_member_hash.

Reviewers: cedric, raster

Subscribers: cedric

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

9 years agoevil: fix gecos field of struct pw
Vincent Torri [Tue, 24 Feb 2015 14:17:29 +0000 (15:17 +0100)]
evil: fix gecos field of struct pw

@fix

9 years agoEo: Add eo_do_super_ret.
Tom Hacohen [Tue, 24 Feb 2015 14:23:15 +0000 (14:23 +0000)]
Eo: Add eo_do_super_ret.

This is the equivalent of eo_do_ret for super calls.

9 years agoEvas GL: Restore viewport and scissor test for GLESv1
Jean-Philippe Andre [Tue, 24 Feb 2015 13:18:53 +0000 (22:18 +0900)]
Evas GL: Restore viewport and scissor test for GLESv1

This is necessary when switching back to direct rendering.
But I suspect there are other corner cases that we didn't spot.

9 years agoEvas GL: Fix support for GLES 1.1 indirect rendering
Jean-Philippe Andre [Tue, 24 Feb 2015 11:54:55 +0000 (20:54 +0900)]
Evas GL: Fix support for GLES 1.1 indirect rendering

This requires a special context that matches the configuration
required for GLES 1.1. Otherwise eglMakeCurrent() would fail
miserably with EGL_BAD_MATCH in case of indirect rendering
(at least on some drivers).

9 years agoEvas GL: Wrap glGetString() for gles1.x.
Minkyoung Kim [Tue, 24 Feb 2015 10:32:35 +0000 (19:32 +0900)]
Evas GL: Wrap glGetString() for gles1.x.

Summary:
- Implement glGetString() wrapper func in the same way as gles2.x.
- Small bug fix glGetString() for gles2.x.

Reviewers: cedric, raster, jpeg

Subscribers: cedric, mythri, wonsik, spacegrapher

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

9 years agoEvas GL: Add hidden config values for direct rendering options
Jean-Philippe Andre [Tue, 24 Feb 2015 10:05:39 +0000 (19:05 +0900)]
Evas GL: Add hidden config values for direct rendering options

Those 2 new values are here to avoid using environment variables
that have side effects on the whole application.

I'm actually wondering if we shouldn't just kill off the env
vars altogether. Also, direct override is a terrible option that
should never be used.
Memory optimization can make sense (needs more testing tho).

9 years agoedje: fix windows build
Andrii Kroitor [Tue, 24 Feb 2015 10:53:06 +0000 (11:53 +0100)]
edje: fix windows build

Summary:
"far" and "near" are keywords on windows and can't be used as names of variables.

@fix

Reviewers: cedric, Hermet, raster, perepelits.m

Subscribers: reutskiy.v.v, cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoEdje: Edje_Edit - code style fix accoring to Coding Convention
Vitalii Vorobiov [Tue, 24 Feb 2015 11:14:18 +0000 (13:14 +0200)]
Edje: Edje_Edit - code style fix accoring to Coding Convention

Oops!
According to Coding Convention it should be like that:
...
>>> function forward declaration/prototype should be a single line;
>>> function definition should have the return at one line, then function name starts at next line, column 0;
...

9 years agoEdje: Edje_Edit - setter and getter for min param of TABLE/BOX parts
Vitalii Vorobiov [Tue, 24 Feb 2015 10:12:39 +0000 (12:12 +0200)]
Edje: Edje_Edit - setter and getter for min param of TABLE/BOX parts

Add new functions for set and get whether
minimum size's of the box are equal to the minimum vertical or horizontal size
of the items or not.

@feature

9 years agoEvas GL:Add evasgl extension macro '_EVASGL_EXT_DRVNAME_PRIVATE'.
Minkyoung Kim [Mon, 23 Feb 2015 12:31:41 +0000 (21:31 +0900)]
Evas GL:Add evasgl extension macro '_EVASGL_EXT_DRVNAME_PRIVATE'.

Summary:
To distinguish supported extension name from not supported.
This patch can be solution to the problem, glGetString() returns non-supported extention name.

Test Plan: Local tests

Reviewers: raster, jpeg, Hermet, cedric

Subscribers: cedric, spacegrapher, wonsik

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

Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
9 years agoevas: Add more notes about size_hint APIs.
Daniel Juyung Seo [Tue, 24 Feb 2015 00:30:09 +0000 (09:30 +0900)]
evas: Add more notes about size_hint APIs.

Stop asking why size hint may or may not work on elementary widget.

9 years agoeolian_cxx: Fix occasional build error with eolian_cxx_test_wrapper.cc
Vitor Sousa [Fri, 13 Feb 2015 02:31:11 +0000 (00:31 -0200)]
eolian_cxx: Fix occasional build error with eolian_cxx_test_wrapper.cc

9 years agoeolian_cxx: Fix wrapper constructors by updating to the new eo_add_ref interface
Vitor Sousa [Mon, 23 Feb 2015 20:04:53 +0000 (17:04 -0300)]
eolian_cxx: Fix wrapper constructors by updating to the new eo_add_ref interface

9 years agoecore-drm: Add output id to output event
Chris Michael [Mon, 23 Feb 2015 18:57:44 +0000 (13:57 -0500)]
ecore-drm: Add output id to output event

Summary: When we raise an event for an output, also include the output
id in the event structure. This will allow us to better identify which
output the event occured on.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoevas: textures are standardized 256*256.
Bogdan Devichev [Mon, 23 Feb 2015 18:24:12 +0000 (19:24 +0100)]
evas: textures are standardized 256*256.

Summary:
Textures for evas-3d are standardized 256*256.
.tga for parallax occlusion aren't changed to save alpha channel.
-50Mb for efl without obvious lost of quality

Reviewers: cedric, Hermet, raster

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoeo: fix examples to follow new eo_do syntax.
Cedric BAIL [Mon, 23 Feb 2015 17:46:11 +0000 (18:46 +0100)]
eo: fix examples to follow new eo_do syntax.

9 years agoevas: refactoring evas examples descriptions.
Bogdan Devichev [Mon, 23 Feb 2015 16:59:05 +0000 (17:59 +0100)]
evas: refactoring evas examples descriptions.

Summary:
Descriptions of evas examples are standardized.
Added missing descriptions to examples.
Deleted copy of description in evas-init-shutdown.c.

Reviewers: Hermet, raster, cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoautotools: fix build with correct VPATH support.
Guilherme Lepsch [Mon, 23 Feb 2015 16:57:25 +0000 (17:57 +0100)]
autotools: fix build with correct VPATH support.

Summary:
The build was failing with "modules/evas/engines/gl_common/shader_3d/gen_shaders_3d.sh not found" on Mac OSX.

The recipe of a rule will execute as written. Changed it to use automatic variables. Ref.: http://www.gnu.org/software/make/manual/make.html#Recipes_002fSearch

Reviewers: q66, herdsman, vtorri

Subscribers: cedric

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

9 years agoFix code to conform to recent Eo changes.
Tom Hacohen [Mon, 23 Feb 2015 16:38:00 +0000 (16:38 +0000)]
Fix code to conform to recent Eo changes.

9 years agoEo: Remove GCCism and make it more portable.
Tom Hacohen [Mon, 23 Feb 2015 16:06:40 +0000 (16:06 +0000)]
Eo: Remove GCCism and make it more portable.

This affects eo_do() and eo_add() that used to use the ({}) GCCism.
Following a discussion with Peter de Ridder after my talk at FOSDEM,
we've decided to reopen the GCCism (works with other gcc compatible
compilers like clang and intelc) discussion, and after a bit of back and
forth it was decided to make things more portable, at the cost of ease
of use.

For example:
if (eo_do(obj, visible_get()))
is no longer allowed, the portable alternative
Eina_Bool tmp;
if (eo_do_ret(obj, tmp, visible_get()))
is to be used instead.

However:
eo_do(obj, a = a_get(), b = b_get(), bool_set(!bool_get))
are still allowed and OK.

eo_do(obj, if (a_get()) return;);
is no longer allowed, but:
eo_do(obj, if (a_get()) something());
is still allowed.

For clarity, this commit only incorporates the Eo changes, and not the
EFL changes to make the efl conform with this change.

Thanks again to Peter de Ridder for triggering this important discussion
which led to this change.

9 years agoecore: remove warning from tests case.
Cedric BAIL [Mon, 23 Feb 2015 16:34:31 +0000 (17:34 +0100)]
ecore: remove warning from tests case.

9 years agoeolian/generator: use a temporary variable for return in legacy impls
Daniel Kolesa [Mon, 23 Feb 2015 15:30:15 +0000 (15:30 +0000)]
eolian/generator: use a temporary variable for return in legacy impls

This is so that portability updates to eo_do can be done.

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>