platform/upstream/efl.git
9 years agoelua: make eo bindings work with the new generated format
Daniel Kolesa [Thu, 28 May 2015 14:54:35 +0000 (15:54 +0100)]
elua: make eo bindings work with the new generated format

9 years agoelua: generate separate key/value numbers for getters/setters
Daniel Kolesa [Thu, 28 May 2015 14:41:30 +0000 (15:41 +0100)]
elua: generate separate key/value numbers for getters/setters

9 years agoecore_imf/wayland: support input language mode in wayland text input
Jihoon Kim [Thu, 28 May 2015 04:13:25 +0000 (13:13 +0900)]
ecore_imf/wayland: support input language mode in wayland text input

@feature

9 years agoecore_imf/wayland: support input hint in wayland text input
Jihoon Kim [Thu, 28 May 2015 02:00:20 +0000 (11:00 +0900)]
ecore_imf/wayland: support input hint in wayland text input

@feature

9 years agoevas: make image_size_get() return the actual image size
Mike Blumenkrantz [Thu, 28 May 2015 02:11:56 +0000 (22:11 -0400)]
evas: make image_size_get() return the actual image size

proxy/3d/etc images would previously return 0x0, breaking size calcs

@fix

@jpeg

9 years agoecore_imf/wayland: support password mode in wayland text input
Jihoon Kim [Thu, 28 May 2015 01:05:11 +0000 (10:05 +0900)]
ecore_imf/wayland: support password mode in wayland text input

@feature

9 years agoemotion gstreamer1 module - support 709 color matrix properly now
Carsten Haitzler (Rasterman) [Wed, 27 May 2015 14:31:28 +0000 (23:31 +0900)]
emotion gstreamer1 module - support 709 color matrix properly now

now that 709 colorsp[ace works in evas, use it properly in gst1 module
if possible

9 years agoeolian: allow a filename (rather than path) to be given to eolian_file_parse
Daniel Kolesa [Wed, 27 May 2015 13:32:03 +0000 (14:32 +0100)]
eolian: allow a filename (rather than path) to be given to eolian_file_parse

9 years agoevas - fix yuv support to no longer ignore 709 colorspace params
Carsten Haitzler (Rasterman) [Wed, 27 May 2015 11:17:20 +0000 (20:17 +0900)]
evas - fix yuv support to no longer ignore 709 colorspace params

if yuou use 709 instead of 601 yuv (ycbcr) evas will just be wrong and
use 601. this fixes that and implements 709. it also fixes a scaling
bug for yuv in the gl engine. no one noticed but me, so i won't call
this a bug fix, and it can go into the next efl release - no need to
backport unless it actually bothers peolpe (which it seemingly doesn't)

9 years agoeolian: better error reporting (include correct token info)
Daniel Kolesa [Wed, 27 May 2015 10:25:04 +0000 (11:25 +0100)]
eolian: better error reporting (include correct token info)

9 years agoEvas textblock: Add underline height support
Subodh Kumar [Wed, 27 May 2015 10:14:59 +0000 (11:14 +0100)]
Evas textblock: Add underline height support

Summary:
For showing text error like spell error thick underline is used hence added the underline height support.

@feature

Test Plan: test case added in evas textblock test.

Reviewers: raster, shilpasingh, tasn

Subscribers: govi, rajeshps, cedric

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

TAsn comment: I wonder if the format should be renamed to
underline_relheight instead of height. If you have any thoughts, please
let me know.

9 years agoeolian: make sure CLASS/COMPLEX type is always pointer backed
Daniel Kolesa [Wed, 27 May 2015 10:00:08 +0000 (11:00 +0100)]
eolian: make sure CLASS/COMPLEX type is always pointer backed

9 years agoecore_imf/wayland: support autocapital mode in wayland text input
Jihoon Kim [Wed, 27 May 2015 05:39:37 +0000 (14:39 +0900)]
ecore_imf/wayland: support autocapital mode in wayland text input

@feature

9 years agoevas: fix color pick compatibility of Evas_3D with GLES.
se.osadchy [Tue, 26 May 2015 17:12:24 +0000 (19:12 +0200)]
evas: fix color pick compatibility of Evas_3D with GLES.

Summary:
Use fourth component texture. Update mechanism generation pixels, scene renderer
to texture and geting color pixels from texture. Update shader for color pick.

Reviewers: Hermet, raster, cedric

Reviewed By: cedric

Subscribers: Oleksander, cedric

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

9 years agoedje: add of descriptors for Evas_3d integration.
perepelits.m [Tue, 26 May 2015 17:05:39 +0000 (19:05 +0200)]
edje: add of descriptors for Evas_3d integration.

Summary: Creates descriptors for all structures

Reviewers: cedric, Hermet, raster

Subscribers: cedric, artem.popov

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: add API for creation Evas_3D node primitives.
Bogdan Devichev [Tue, 26 May 2015 16:49:15 +0000 (18:49 +0200)]
evas: add API for creation Evas_3D node primitives.

Summary: Now mechanism of creation of primitives is similar to model loading.

Reviewers: Oleksander, Hermet, raster, cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: fix compatibility with GLES2.0. Shadow effect
Oleksandr Shcherbina [Tue, 26 May 2015 16:40:03 +0000 (18:40 +0200)]
evas: fix compatibility with GLES2.0. Shadow effect

Summary:
Use RGBA texture unit for generation shadow. Use separate framebuffer and
renderbuffer for shadow map.
Refactor shadow map shader to use position of shadow and pack depth value in
RGBA texture.
Refactor shader function for generation shadow factor to unpack depth value from
RGBA shadow map.

Reviewers: cedric, Hermet

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoedje: fix memory leak detected by prevent static analyser.
jiin.moon [Tue, 26 May 2015 16:34:32 +0000 (18:34 +0200)]
edje: fix memory leak detected by prevent static analyser.

Summary:
Modified codes according to prevent result
The im will be freed by data_image_preload_done api.
But if image load error happen, never call that api

@fix

Test Plan: prevent tool

Reviewers: Jaehyun, Hermet, cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoeina: add test cases for various APIs in eina_quad module.
Vivek Ellur [Tue, 26 May 2015 16:31:55 +0000 (18:31 +0200)]
eina: add test cases for various APIs in eina_quad module.

Summary:
Added test cases for all the APIs in einq_quad module

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

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoembryo_cc: prevent memory curruption
jiin.moon [Tue, 26 May 2015 16:31:12 +0000 (18:31 +0200)]
embryo_cc: prevent memory curruption

Summary:
modified codes according to prevent result,
@fix

Reviewers: Jaehyun, Hermet, cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: fix errors when updating the bounding box of Evas_3d_Node.
Ivan Furs [Tue, 26 May 2015 16:29:18 +0000 (18:29 +0200)]
evas: fix errors when updating the bounding box of Evas_3d_Node.

Summary:
For calculation 'aabb' need  to know how mesh was transformed.
So for  primary data of mesh was calculate all transformation.

Reviewers: Hermet, cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoeolian/generator: fix memory leak
Daniel Kolesa [Tue, 26 May 2015 16:25:11 +0000 (17:25 +0100)]
eolian/generator: fix memory leak

9 years agoevas: define EGL_OPENGL_ES3_BIT_KHR in all case for better portability.
Cedric BAIL [Tue, 26 May 2015 07:17:50 +0000 (09:17 +0200)]
evas: define EGL_OPENGL_ES3_BIT_KHR in all case for better portability.

9 years agoautotools: ecore_con_legacy.c is not compiled directly, but must be in dist tarball
Daniel Kolesa [Sat, 23 May 2015 00:20:46 +0000 (01:20 +0100)]
autotools: ecore_con_legacy.c is not compiled directly, but must be in dist tarball

9 years agoeina: change module init error message to an info message
Mike Blumenkrantz [Fri, 22 May 2015 17:20:56 +0000 (13:20 -0400)]
eina: change module init error message to an info message

a module deciding to return false is a valid non-error case for many modules.
the module can print an error if an error occurs

9 years agoeolian: merge eo_file_parse and eot_file_parse
Daniel Kolesa [Fri, 22 May 2015 16:32:21 +0000 (17:32 +0100)]
eolian: merge eo_file_parse and eot_file_parse

9 years agoeolian: reuse the parsed eot hash for eo too (simplify code)
Daniel Kolesa [Fri, 22 May 2015 16:14:38 +0000 (17:14 +0100)]
eolian: reuse the parsed eot hash for eo too (simplify code)

9 years agoeolian: use eo_parser_database_fill for import
Daniel Kolesa [Fri, 22 May 2015 16:09:14 +0000 (17:09 +0100)]
eolian: use eo_parser_database_fill for import

9 years agoeolian: simplify eolian_eo_file_parse
Daniel Kolesa [Fri, 22 May 2015 15:53:21 +0000 (16:53 +0100)]
eolian: simplify eolian_eo_file_parse

This also moves the ctor stuff into database_fill,
saving some loops when a class is already parsed.

9 years agoeolian: remove obsolete code dealing with multiple classes per file
Daniel Kolesa [Fri, 22 May 2015 15:46:07 +0000 (16:46 +0100)]
eolian: remove obsolete code dealing with multiple classes per file

9 years agoeolian: initial support for importing eo files
Daniel Kolesa [Fri, 22 May 2015 15:34:48 +0000 (16:34 +0100)]
eolian: initial support for importing eo files

9 years agoeolian: disallow cyclic dependencies between .eo files
Daniel Kolesa [Fri, 22 May 2015 14:03:38 +0000 (15:03 +0100)]
eolian: disallow cyclic dependencies between .eo files

Eo files will now fail to compile if a cycle is detected.

This required some temporary changes in existing eo files
(we had 2 cycles) for which I added a FIXME (they do not
affect C generation).

@feature

9 years agoeolian: silence static analysis false positive
Daniel Kolesa [Fri, 22 May 2015 10:26:28 +0000 (11:26 +0100)]
eolian: silence static analysis false positive

Fixes CID 1299412.

9 years agoeina_cxx, eldbus_cxx: Fix perfect forwarding of arguments
Vitor Sousa [Fri, 22 May 2015 09:31:18 +0000 (10:31 +0100)]
eina_cxx, eldbus_cxx: Fix perfect forwarding of arguments

Summary:
Changed some std::move clauses to std::forward<Type> in order to allow
perfect forwarding.

@fix

Reviewers: felipealmeida, JackDanielZ, tasn, q66

Reviewed By: q66

Subscribers: cedric

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

9 years agoevas gl engine - dont complain if refs are still there in cache on trim
Carsten Haitzler (Rasterman) [Fri, 22 May 2015 08:12:14 +0000 (17:12 +0900)]
evas gl engine - dont complain if refs are still there in cache on trim

9 years agoeolian: remove unnecessary function
Daniel Kolesa [Thu, 21 May 2015 15:37:30 +0000 (16:37 +0100)]
eolian: remove unnecessary function

9 years agoecore-drm: Remove call to set drm mode when creating an output
Chris Michael [Thu, 21 May 2015 14:51:29 +0000 (10:51 -0400)]
ecore-drm: Remove call to set drm mode when creating an output

Summary: As it turns out, we don't need to make the call to set an
output mode during creation. The mode will end up getting set anyway
when we set the first buffer.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-wl: Remove +x from ecore_wl_input.c
Chris Michael [Thu, 21 May 2015 13:24:03 +0000 (09:24 -0400)]
ecore-wl: Remove +x from ecore_wl_input.c

Summary: Unsure how this file mode got changed, but it should not be +x.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoEina cxx tests: Fix the failing tests.
Tom Hacohen [Thu, 21 May 2015 10:33:40 +0000 (11:33 +0100)]
Eina cxx tests: Fix the failing tests.

This broke following my eo_constructor() changes. This is weird though
as:
1. Eina doesn't depend on Eo.
2. It was casting the constructor for some reasons.

Anyhow, fixed now.

9 years agoEo: Fix typo in error message.
Tom Hacohen [Thu, 21 May 2015 09:52:26 +0000 (10:52 +0100)]
Eo: Fix typo in error message.

Thanjs to q66 for reporting.

9 years agoevas shader generation - add comments to indicate to commit the files
Carsten Haitzler (Rasterman) [Thu, 21 May 2015 08:13:25 +0000 (17:13 +0900)]
evas shader generation - add comments to indicate to commit the files

so you know the files should change when you "make" and shf files are
updated, add notes to the .x files generated to indicate they should
be committed back to the repo so it is clear

9 years agoupdate shaders
Carsten Haitzler (Rasterman) [Thu, 21 May 2015 08:03:24 +0000 (17:03 +0900)]
update shaders

9 years agoevas_object_textblock: fix dereference before null check
MinJeong Kim [Thu, 21 May 2015 07:48:56 +0000 (08:48 +0100)]
evas_object_textblock: fix dereference before null check

Summary:
Fix coverity CID 1270031 Dereference before null check
@fix

Reviewers: devilhorns, zmike, raster, tasn

Reviewed By: tasn

Subscribers: tasn, cedric

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

9 years agoFix warning on unused parameter
Daniel Zaoui [Thu, 21 May 2015 07:22:40 +0000 (10:22 +0300)]
Fix warning on unused parameter

9 years agoFix Eolian Cxx generator
Daniel Zaoui [Thu, 21 May 2015 06:38:34 +0000 (09:38 +0300)]
Fix Eolian Cxx generator

Compilation was failing due to the changes in the Eolian library. The
generator has not been updated.

This patch fixes the compilation but not the tests that I let to my
lovely q66.

9 years agoevas: add keysym member to key event structs
Mike Blumenkrantz [Wed, 20 May 2015 18:49:51 +0000 (14:49 -0400)]
evas: add keysym member to key event structs

@feature

9 years agoecore-input: add keysym to Ecore_Event_Key struct
Mike Blumenkrantz [Wed, 20 May 2015 18:38:38 +0000 (14:38 -0400)]
ecore-input: add keysym to Ecore_Event_Key struct

currently only functional for x11, wl, drm

@feature

9 years agoecore-wl: Set keycode in event structure for key down/up
Chris Michael [Wed, 20 May 2015 18:42:03 +0000 (14:42 -0400)]
ecore-wl: Set keycode in event structure for key down/up

Summary: When we generate an Ecore key down/up event, we should also
be setting the keycode in the event structure

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoeolian: properly handle errors in database_fill
Daniel Kolesa [Wed, 20 May 2015 17:11:02 +0000 (18:11 +0100)]
eolian: properly handle errors in database_fill

Fixes CID 1299294.

@fix

9 years agoeolian: remove const_get/const_set support
Daniel Kolesa [Wed, 20 May 2015 17:05:45 +0000 (18:05 +0100)]
eolian: remove const_get/const_set support

This was made obsolete by per-accessor values. It was
also hacky and i've wanted to remove it for a while.

9 years agoeolian: remove @const_get occurences in the EFL
Daniel Kolesa [Wed, 20 May 2015 16:48:52 +0000 (17:48 +0100)]
eolian: remove @const_get occurences in the EFL

9 years agoeolian: allow keys/values in property get/set
Daniel Kolesa [Wed, 20 May 2015 16:42:00 +0000 (17:42 +0100)]
eolian: allow keys/values in property get/set

Sometimes it is necessary to specify a different set of values for a
getter or a setter. This commit allows such specializations. This also
renders @const_get and @const_set useless (soon to be removed).

To function correctly, this required adjustment of several public APIs
as well as deprecation of eolian_function_parameter_get_by_name.

This function was not used in any generator and was pretty much
useless in the first place, so it was removed.

@fix

9 years agoEolian cxx tests: Fix tests according to new Eo changes.
Tom Hacohen [Wed, 20 May 2015 16:06:35 +0000 (17:06 +0100)]
Eolian cxx tests: Fix tests according to new Eo changes.

Thanks to Jenkins for spotting it, and JackDanielZ for making sure
I know it's my fault.

9 years agoeolian: remove unused variable
Daniel Kolesa [Wed, 20 May 2015 16:07:09 +0000 (17:07 +0100)]
eolian: remove unused variable

9 years agoeolian: distinguish between get/set for property keys/values retrieval
Daniel Kolesa [Wed, 20 May 2015 16:03:14 +0000 (17:03 +0100)]
eolian: distinguish between get/set for property keys/values retrieval

9 years agoEo: Better handle object cleanup on failure.
Tom Hacohen [Wed, 20 May 2015 15:48:20 +0000 (16:48 +0100)]
Eo: Better handle object cleanup on failure.

While unrefing twice works, it's cleaner to unref the ref we
have and delete normally. It will handle parnet detachments in
a nicer way, and is just more correct.

9 years agoeolian: use eolian_property_values_get correctly
Daniel Kolesa [Wed, 20 May 2015 15:39:00 +0000 (16:39 +0100)]
eolian: use eolian_property_values_get correctly

9 years agoEcore file test: Fix access to uninitialized memory.
Tom Hacohen [Wed, 20 May 2015 14:32:12 +0000 (15:32 +0100)]
Ecore file test: Fix access to uninitialized memory.

9 years agoEo: Remove eo_error_set() and clean up finalizer()
Tom Hacohen [Wed, 20 May 2015 13:56:45 +0000 (14:56 +0100)]
Eo: Remove eo_error_set() and clean up finalizer()

This is another cleanup in perparation for the Eo stable release.
This is no longer needed thanks to the proper error reporting with
eo_constructor()'s new return value.

The finalizer change cleans it up a bit so it catches more cases/issues.
This also means that the finalizer cleans up the object in all cases,
and not only some.

@feature.

9 years agoEcore con url: Fix wrong object destruction.
Tom Hacohen [Wed, 20 May 2015 14:34:37 +0000 (15:34 +0100)]
Ecore con url: Fix wrong object destruction.

Because we defer the deletion of this object until we get all the
responses from the network, we must manually free it. A better solution
would possibly be to just free the requests upon object deletion instead
of deferring the deletion.

@fix

9 years agoEcore con url: correctly destruct the object.
Tom Hacohen [Wed, 20 May 2015 13:26:02 +0000 (14:26 +0100)]
Ecore con url: correctly destruct the object.

9 years agoEo base: Correct comment regarding the finalizer.
Tom Hacohen [Wed, 20 May 2015 13:02:56 +0000 (14:02 +0100)]
Eo base: Correct comment regarding the finalizer.

9 years agoeolian: keep track of all currently parsing files
Daniel Kolesa [Wed, 20 May 2015 14:41:07 +0000 (15:41 +0100)]
eolian: keep track of all currently parsing files

9 years agoeolian: unify inherits and dependencies for parsing purposes
Daniel Kolesa [Wed, 20 May 2015 14:15:53 +0000 (15:15 +0100)]
eolian: unify inherits and dependencies for parsing purposes

9 years agoeolian: test for possible duplicates in deps list
Daniel Kolesa [Wed, 20 May 2015 13:45:32 +0000 (14:45 +0100)]
eolian: test for possible duplicates in deps list

9 years agoEo: Add a return value to eo_constructor().
Tom Hacohen [Tue, 19 May 2015 10:41:27 +0000 (11:41 +0100)]
Eo: Add a return value to eo_constructor().

From now on, constructors should return a value, usually the object
being worked on, or NULL (if the constructor failed). This can also
be used for implementing singletons, by just always returning the same
object from the constructor.

This is one of the final steps towards stabilizing Eo.

@feature

9 years agoEcore audio: Remove redundant constructor/destructor.
Tom Hacohen [Tue, 19 May 2015 09:30:11 +0000 (10:30 +0100)]
Ecore audio: Remove redundant constructor/destructor.

There's no need to have a constructor/destructor that just
do the super call.

9 years agoecore_imf/wayland: support feature to change layout of virtual keyboard
Jihoon Kim [Wed, 20 May 2015 09:47:58 +0000 (18:47 +0900)]
ecore_imf/wayland: support feature to change layout of virtual keyboard

9 years agoEolian/Generator: support eot files
Daniel Zaoui [Wed, 20 May 2015 07:34:58 +0000 (10:34 +0300)]
Eolian/Generator: support eot files

9 years agoeolian: use data_type consistently in the C generator
Daniel Kolesa [Tue, 19 May 2015 16:46:11 +0000 (17:46 +0100)]
eolian: use data_type consistently in the C generator

This change makes it use full class name everywhere (instead of just class name).

@fix

9 years agoeolian: cleaner cyclic import checks
Daniel Kolesa [Tue, 19 May 2015 14:44:33 +0000 (15:44 +0100)]
eolian: cleaner cyclic import checks

9 years agoeolian: tests for import
Daniel Kolesa [Tue, 19 May 2015 14:38:31 +0000 (15:38 +0100)]
eolian: tests for import

9 years agoeolian: add a functional "import" statement
Daniel Kolesa [Tue, 19 May 2015 14:26:53 +0000 (15:26 +0100)]
eolian: add a functional "import" statement

9 years agoeolian: initial lex/parse for import statement
Daniel Kolesa [Tue, 19 May 2015 13:25:45 +0000 (14:25 +0100)]
eolian: initial lex/parse for import statement

9 years agoeina: add tests cases for eina_rectangle and eina_str functions
Vivek Ellur [Tue, 19 May 2015 12:13:17 +0000 (14:13 +0200)]
eina: add tests cases for eina_rectangle and eina_str functions

Summary:
Added test cases for eina_rectangle_union and eina_streq functions

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

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoedje: switch Evas_3D color to use Edje_Color.
perepelits.m [Tue, 19 May 2015 10:39:05 +0000 (12:39 +0200)]
edje: switch Evas_3D color to use Edje_Color.

Summary: Changes float on uchar as we do in other place for color component

Reviewers: raster, Hermet, cedric

Reviewed By: cedric

Subscribers: cedric, artem.popov

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: fix compatibility with GLES. Alpha test
Oleksandr Shcherbina [Tue, 19 May 2015 10:38:27 +0000 (12:38 +0200)]
evas: fix compatibility with GLES. Alpha test

Summary:
Add alpha test in shader code instead of function glAlphaFunc that doesn't supported
in GLES2.0
Add gag and TODO in shader function that generate shadow. Without it all scene is
shadowed, because shadow effect doesn't work yet.

Reviewers: cedric, Hermet

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoedje: add cubic bezier transition example.
kumar navneet [Tue, 19 May 2015 10:37:13 +0000 (12:37 +0200)]
edje: add cubic bezier transition example.

Summary:
Example was missing for cubic bezier transition, hence added the same.
Signed-Off By: Shilpa Singh <shilpa.singh@samsung.com>

Test Plan: bezier-transition-example.edc added

Reviewers: shilpasingh, cedric

Subscribers: poornima.srinivasan, cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoeina: print error message when eina_module_load() fails.
Youngbok Shin [Tue, 19 May 2015 10:36:46 +0000 (12:36 +0200)]
eina: print error message when eina_module_load() fails.

Summary:
When dlopen() fails, eina_module_load() print error information using dlerror().
But, it is printed with WRN. If EINA_LOG_LEVEL is lower than WRN,
application developer is hard to see which has a problem.

Reviewers: woohyun, Hermet, raster, cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoecore_imf/wayland: hide input panel explicitly in focus-out handler
Jihoon Kim [Tue, 19 May 2015 10:19:54 +0000 (19:19 +0900)]
ecore_imf/wayland: hide input panel explicitly in focus-out handler

9 years agoecore-x: add function to init ecore-x from external Display* object
Mike Blumenkrantz [Mon, 18 May 2015 19:26:50 +0000 (15:26 -0400)]
ecore-x: add function to init ecore-x from external Display* object

when using glx it's necessary to share a Display* object, and this object
may be created externally

no tests provided since they would not be run, would require direct linkage to xlib,
and is literally a 2 LoC change from regular ecore_x_init()

@feature

9 years agoeina-bt: Fix Coverity CID1297405 (dereference before null check)
Chris Michael [Mon, 18 May 2015 17:43:30 +0000 (13:43 -0400)]
eina-bt: Fix Coverity CID1297405 (dereference before null check)

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoeolian: fix eolian_type_enum_field_c_name_get for namespaced enums
Daniel Kolesa [Mon, 18 May 2015 15:37:42 +0000 (16:37 +0100)]
eolian: fix eolian_type_enum_field_c_name_get for namespaced enums

9 years agoeolian: Eina_Bool -> bool
Daniel Kolesa [Mon, 18 May 2015 15:25:59 +0000 (16:25 +0100)]
eolian: Eina_Bool -> bool

9 years agoeolian: new syntax for params/values/keys
Daniel Kolesa [Mon, 18 May 2015 15:13:08 +0000 (16:13 +0100)]
eolian: new syntax for params/values/keys

Instead of "@in type name;" we now use "@in name: type;". This change
is done because of consistency with the rest of Eolian; pretty much
every other part of Eolian syntax uses the latter form.

This is a big breaking change in the .eo format, so please update your
.eo files accordingly and compile Elementary together with the EFL.

@feature

9 years agoecore-drm: Only try to set the crtc mode if an output is connected
Chris Michael [Mon, 18 May 2015 14:15:09 +0000 (10:15 -0400)]
ecore-drm: Only try to set the crtc mode if an output is connected

Summary: If an output is disconnected, then we should not be trying to
set the mode of it's CRTC as that is going to fail anyway.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoedje: Remove unused variables
Chris Michael [Mon, 18 May 2015 14:13:07 +0000 (10:13 -0400)]
edje: Remove unused variables

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoevas: New Evas Callback added when viewport is resized.
Amitesh Singh [Mon, 18 May 2015 11:10:21 +0000 (20:10 +0900)]
evas: New Evas Callback added when viewport is resized.

Summary: @feature

Reviewers: seoz, Hermet, cedric, raster

Subscribers: seoz, cedric, sachin.dev

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

9 years agoecore_con: changed Ecore_Con_Url to Efl_Network_Url.
Srivardhan Hebbar [Mon, 18 May 2015 09:36:13 +0000 (11:36 +0200)]
ecore_con: changed Ecore_Con_Url to Efl_Network_Url.

Summary: This is just the beginning. I tried for one class to check.
Tell me if this is fine, I'll change in other classes also. The goal
is to simplify and make our API clearer to understand to new comers.

Reviewers: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoembryo: fix inverse trigonometry functions typos.
Deborshi Saha [Mon, 18 May 2015 09:14:19 +0000 (11:14 +0200)]
embryo: fix inverse trigonometry functions typos.

Summary:
Issue: when asin,acos,atan functions were called from edc, wrong values were returned
Solution: fixed asin,acos,atan functions in embryo script.

Test Plan: embryo script functions asin,acos,atan to be called from edc and return value to be verified.

Reviewers: Hermet, prince.dubey, shilpasingh, raster, cedric

Reviewed By: shilpasingh, cedric

Subscribers: rajeshps, govi, cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoedje: add set_state_anim API to embryo script.
kumar navneet [Mon, 18 May 2015 09:01:24 +0000 (11:01 +0200)]
edje: add set_state_anim API to embryo script.

Summary:
Issue: Current embryo script do not provide any mechanism to set transition type in animation
Solution: A new API set_state_anim is added.

Signed-Off by: Kumar Navneet <k.navneet@samsung.com>
Signed-Off by: Shilpa Singh <shilpa.singh@samsung.com>

Test Plan: A test edc (embryo_set_state_anim.edc) is added to edje examples to test set_state_anim API.

Reviewers: shilpasingh, raster, cedric

Reviewed By: cedric

Subscribers: poornima.srinivasan, cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoeina: add test case for eina_file_copy function.
vivek [Mon, 18 May 2015 08:52:54 +0000 (10:52 +0200)]
eina: add test case for eina_file_copy function.

Summary:
Added test case for eina_file_copy function to check copying of two files

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

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoeina: use less stack on Windows for eina_environment_home_get, and no snprintf()
Vincent Torri [Fri, 15 May 2015 07:03:48 +0000 (09:03 +0200)]
eina: use less stack on Windows for eina_environment_home_get, and no snprintf()

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas font draw - fix up some whitespace/indenting/formatting
Carsten Haitzler (Rasterman) [Mon, 18 May 2015 08:13:38 +0000 (17:13 +0900)]
evas font draw - fix up some whitespace/indenting/formatting

9 years agoedje edc examples - remobe trailing \ from edc list
Carsten Haitzler (Rasterman) [Mon, 18 May 2015 08:00:05 +0000 (17:00 +0900)]
edje edc examples - remobe trailing \ from edc list

this may be a build issue - i don't see it though.

9 years agoset_tween_state_anim API added.
kumar navneet [Mon, 18 May 2015 06:22:00 +0000 (15:22 +0900)]
set_tween_state_anim API added.

Summary:
Issue: Current embryo script do not provide any mechanism to set transition type in animation, by default supports only linear
e.g: set_tween_state API
Solution: To not break backward compatibility, a new API set_tween_state_anim is added in which we can even specify type of transition required.

Signed-Off by: Kumar Navneet <k.navneet@samsung.com>
Signed-Off by: Shilpa Singh <shilpa.singh@samsung.com>

Test Plan: A test edc (embryo_tween_anim.edc) is added to edje examples to test set_tween_state_anim API.

Reviewers: raster, cedric, shilpasingh, Hermet

Reviewed By: shilpasingh

Subscribers: poornima.srinivasan, SubodhKumar, rajeshps, cedric, govi

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

9 years agoevas canvas: fix insane mouse move events on proxy source.
ChunEon Park [Fri, 15 May 2015 15:31:52 +0000 (00:31 +0900)]
evas canvas: fix insane mouse move events on proxy source.

There is no need compare - transformed mouse pos and origin pos.
This compare just block the mouse move event trigger on source.

@fix

9 years agoeolian: use the new decl storage to retrieve REGULAR base types
Daniel Kolesa [Fri, 15 May 2015 14:16:48 +0000 (15:16 +0100)]
eolian: use the new decl storage to retrieve REGULAR base types

9 years agoeolian: much better and stricter redefinition checking
Daniel Kolesa [Fri, 15 May 2015 14:10:58 +0000 (15:10 +0100)]
eolian: much better and stricter redefinition checking

We can now check redefinitions between different types of declarations,
such as redefinition of struct as variable etc.

@feature

9 years agoeina_cpu - up max number of threads to 32
Carsten Haitzler (Rasterman) [Fri, 15 May 2015 10:07:42 +0000 (19:07 +0900)]
eina_cpu - up max number of threads to 32

this should be better for todays systems - max number of cores we can
query for now is 32.

@feature