platform/upstream/efl.git
9 years agoeina: Eina_Rectangle API documentation
Ghislain Loaec [Tue, 30 Sep 2014 14:07:51 +0000 (16:07 +0200)]
eina: Eina_Rectangle API documentation

9 years agoevas: fix typo in documentation and document the return value of evas_device_add.
Nicolas Aguirre [Fri, 10 Oct 2014 10:44:03 +0000 (12:44 +0200)]
evas: fix typo in documentation and document the return value of evas_device_add.

9 years agoemotion: add documentation for Emotion_Version structure.
Nicolas Aguirre [Fri, 10 Oct 2014 10:21:04 +0000 (12:21 +0200)]
emotion: add documentation for Emotion_Version structure.

9 years agoembryo: add documentation for Embryo_Version structure.
Nicolas Aguirre [Fri, 10 Oct 2014 10:20:45 +0000 (12:20 +0200)]
embryo: add documentation for Embryo_Version structure.

9 years agoeldbus: add documentation for Eldbus_Version structure.
Nicolas Aguirre [Fri, 10 Oct 2014 10:20:24 +0000 (12:20 +0200)]
eldbus: add documentation for Eldbus_Version structure.

9 years agoethumb: add documentation for Ethumb_Version structure.
Nicolas Aguirre [Fri, 10 Oct 2014 10:17:12 +0000 (12:17 +0200)]
ethumb: add documentation for Ethumb_Version structure.

9 years agoefreet: add documentation for Efreet_Version structure.
Nicolas Aguirre [Fri, 10 Oct 2014 10:16:24 +0000 (12:16 +0200)]
efreet: add documentation for Efreet_Version structure.

9 years agoeeze: add documentation for Eeze_Version structure.
Nicolas Aguirre [Fri, 10 Oct 2014 10:15:36 +0000 (12:15 +0200)]
eeze: add documentation for Eeze_Version structure.

9 years agoecore_x: add documentation for Ecore_X_Version structure.
Nicolas Aguirre [Fri, 10 Oct 2014 10:14:46 +0000 (12:14 +0200)]
ecore_x: add documentation for Ecore_X_Version structure.

9 years agoecore: add documentation for Ecore_Version structure.
Nicolas Aguirre [Fri, 10 Oct 2014 10:01:42 +0000 (12:01 +0200)]
ecore: add documentation for Ecore_Version structure.

9 years agoevas: add documentation for Evas_Version structure.
Nicolas Aguirre [Fri, 10 Oct 2014 09:45:02 +0000 (11:45 +0200)]
evas: add documentation for Evas_Version structure.

9 years agoedje: Edje_Edit - fix edje_edit_state_aspect_pref_set() function to setup Source...
Kateryna Fesyna [Mon, 20 Oct 2014 15:30:26 +0000 (17:30 +0200)]
edje: Edje_Edit - fix edje_edit_state_aspect_pref_set() function to setup Source and None aspect preferences

Summary:
This commit fixes check of passed value of aspect preference in edje_edit_state_aspect_pref_set() because it ignores None and Sorce values.
@fix

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

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: evas_map - fix cast from double to int with using lround()
artem.popov [Mon, 20 Oct 2014 15:27:53 +0000 (17:27 +0200)]
evas: evas_map - fix cast from double to int with using lround()

Summary:
All points in map are double, when try to get point coordinates, there
are issues with rounding.

@fix

Reviewers: Hermet, raster, seoz, cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoecore-drm: Remove useless return
Chris Michael [Mon, 20 Oct 2014 14:16:07 +0000 (10:16 -0400)]
ecore-drm: Remove useless return

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Added initial support to check if drm device is hotplug and update outputs
vivek [Mon, 20 Oct 2014 14:15:41 +0000 (10:15 -0400)]
ecore-drm: Added initial support to check if drm device is hotplug and update outputs

Summary:
Added watch to check if drm output device is hotplug and update the
outputs accordingly.

NB: This is only partially complete. The actual update of outputs
still needs to be implemented.

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

Subscribers: cedric

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

9 years agoecore-wayland: We should be dispatching pending events After we flush
Chris Michael [Mon, 20 Oct 2014 14:13:18 +0000 (10:13 -0400)]
ecore-wayland: We should be dispatching pending events After we flush
clients

Summary: When flush_clients is called, those clients may add events to
the queue. We should be waiting to dispatch pending events until After
clients have been flushed.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoEolian: fix generated Eo files installation.
Daniel Zaoui [Mon, 20 Oct 2014 09:17:54 +0000 (12:17 +0300)]
Eolian: fix generated Eo files installation.

make distcheck was failing on trying to write to a read only file.

9 years agoEolian: fix Makefile for distcheck.
Daniel Zaoui [Mon, 20 Oct 2014 08:32:04 +0000 (11:32 +0300)]
Eolian: fix Makefile for distcheck.

Files have been added to test descriptions in H files and were missing
in the makefile for distcheck.

9 years agoedje: correctly destroy reference to removed part.
Cedric BAIL [Mon, 20 Oct 2014 08:46:16 +0000 (10:46 +0200)]
edje: correctly destroy reference to removed part.

NOTE: I do believe their is still the possibility that a wrong program
or part may reference a dead part. Would require to check that scenario
better later.

9 years agoEvas GL: Fix compilation on some platforms
Jean-Philippe Andre [Mon, 20 Oct 2014 06:42:22 +0000 (15:42 +0900)]
Evas GL: Fix compilation on some platforms

Damn these OpenGL headers and their typedefs!

9 years agoEvas GL: Add support for OpenGL-ES 1.1 and some new APIs
Jean-Philippe Andre [Mon, 20 Oct 2014 04:24:49 +0000 (13:24 +0900)]
Evas GL: Add support for OpenGL-ES 1.1 and some new APIs

This adds support for the following features:
- OpenGL-ES 1.1 (works only with EGL right now),
- PBuffer (basic support),
- Multithreading safety in gl_x11,
- EGL fence_sync extension,
- Improve direct rendering,
- And a few other evas_gl_ APIs.

Merge branch 'devs/jpeg/evasgl'

9 years agoEvas GL: Fix gl_x11/GLX engine
Jean-Philippe Andre [Tue, 7 Oct 2014 00:57:31 +0000 (09:57 +0900)]
Evas GL: Fix gl_x11/GLX engine

Forgot to set the TLS value after creating a new context.
No problem would show up in most cases, even in my test app.
But elementary_test GLView would just not work at all, spitting
incomplete FBO errors at me. Damn this one line was hard to find.

But introduced in df66916cd22ec6c4.

9 years agoEvas GL: Add support for PBuffer surfaces with GLX
Jean-Philippe Andre [Mon, 6 Oct 2014 12:26:11 +0000 (21:26 +0900)]
Evas GL: Add support for PBuffer surfaces with GLX

Not fully tested, but allows calling evas_gl_make_current, so
it works for dummy surfaces (eg. 1x1 for a render thread).

9 years agoEvas GL: Enable direct rendering even with alpha images
Jean-Philippe Andre [Tue, 23 Sep 2014 08:17:07 +0000 (17:17 +0900)]
Evas GL: Enable direct rendering even with alpha images

9 years agoEvas GL: Add support for OpenGL-ES 1.1 (part 3)
Jean-Philippe Andre [Tue, 23 Sep 2014 06:33:16 +0000 (15:33 +0900)]
Evas GL: Add support for OpenGL-ES 1.1 (part 3)

This introduces XPixmap usage for indirect rendering.
Of course this works only for the gl_x11 engine... and for
now only when using EGL... and only on some drivers...
damn limitations.
Direct rendering should work on more platforms (eg. some desktop
nvidia cards with the EGL drivers).

9 years agoEvas GL: Add support for OpenGL-ES 1.1 (part 2)
Jean-Philippe Andre [Mon, 22 Sep 2014 10:15:37 +0000 (19:15 +0900)]
Evas GL: Add support for OpenGL-ES 1.1 (part 2)

Add version param to context_create.
Add support for 1.1 contexts in the GL_X11 engine, and checks
for version in all other engines (return NULL).
Add API wrappers for all OpenGL-ES 1.1 APIs (normal and debug
modes).

9 years agoEvas GL: Add support for OpenGL-ES 1.1 (part 1)
Jean-Philippe Andre [Mon, 22 Sep 2014 08:53:06 +0000 (17:53 +0900)]
Evas GL: Add support for OpenGL-ES 1.1 (part 1)

This commit adds lots of required definitions (GL_ stuff),
new API entries in the Evas_GL_API struct, and basic new APIs
to create OpenGL-ES 1.1 contexts.

@feature

9 years agoEvas GL: Fix sigsegv with recent Nvidia EGL driver
Jean-Philippe Andre [Mon, 22 Sep 2014 07:23:52 +0000 (16:23 +0900)]
Evas GL: Fix sigsegv with recent Nvidia EGL driver

Welp, glGetString() crashes if called before eglInit... And this
piece of code is now useless because "safe native" mode is not
used anymore (safe_native is never read).

Remove all safe native-related code.

9 years agoEvas GL: Fix compilation for EGL/GLES
Jean-Philippe Andre [Fri, 19 Sep 2014 08:44:56 +0000 (17:44 +0900)]
Evas GL: Fix compilation for EGL/GLES

Configure with --with-opengl=es --enable-egl
Fixes runtime link dependencies

9 years agoEvas GL: Add support for pbuffer surfaces
Jean-Philippe Andre [Fri, 19 Sep 2014 08:32:26 +0000 (17:32 +0900)]
Evas GL: Add support for pbuffer surfaces

Supports only EGL for now :(

These pbuffer surfaces can be used to create dummy surfaces for
make_current and render threads.

@feature

9 years agoEvas GL: Some documentation fixups
Jean-Philippe Andre [Fri, 19 Sep 2014 06:45:28 +0000 (15:45 +0900)]
Evas GL: Some documentation fixups

9 years agoEvas GL: Add evas_gl_surface_query
Jean-Philippe Andre [Fri, 19 Sep 2014 06:17:08 +0000 (15:17 +0900)]
Evas GL: Add evas_gl_surface_query

When using EGL, this function should return the properties of
a surface. Limited to a subset of known attributes.

Right now, this function will only work fine with EGL.
GLX support or any other engine is not implemented.

@feature

9 years agoEvas GL: Add support for fence_sync and similar extensions
Jean-Philippe Andre [Fri, 19 Sep 2014 05:53:01 +0000 (14:53 +0900)]
Evas GL: Add support for fence_sync and similar extensions

This should add support for the following EGL extensions:
- EGL_KHR_fence_sync
- EGL_KHR_reusable_sync (eglSignalSyncKHR)
- EGL_KHR_wait_sync (eglWaitSyncKHR)

@feature

9 years agoEvas GL: Add evasglCreateImageForContext + import defs
Jean-Philippe Andre [Fri, 19 Sep 2014 05:33:53 +0000 (14:33 +0900)]
Evas GL: Add evasglCreateImageForContext + import defs

evas gl CreateImage function was assuming the current context
should be used to create an image, while the equivalent EGL function
specifically requires the context to be specified.

This also imports some definitions for CreateImage.

And fixes typo in glEGLImageTargetRenderbufferStorageOES.

This adds new functions in Evas_GL_API struct. The version
number will be bumped to 2 in a later commit.

@feature

9 years agoEvas GL: Add support for client-side rotation
Jean-Philippe Andre [Thu, 4 Sep 2014 02:42:01 +0000 (11:42 +0900)]
Evas GL: Add support for client-side rotation

This is a new feature allowing direct rendering even when
the view is rotated. In that case, the application is responsible
for rotating its view and rendering it properly given the object
geometry.

This implements support for the flag
EVAS_GL_OPTIONS_CLIENT_SIDE_ROTATION

@feature

9 years agoEvas GL: Fix rotation angle get to check for DR first
Jean-Philippe Andre [Thu, 4 Sep 2014 02:41:27 +0000 (11:41 +0900)]
Evas GL: Fix rotation angle get to check for DR first

direct_enabled() is not visible from the engines... but it is from
evas_gl_core which calls the engine.

9 years agoEvas GL: Return safe empty string "" instead of NULL
Jean-Philippe Andre [Wed, 3 Sep 2014 07:25:42 +0000 (16:25 +0900)]
Evas GL: Return safe empty string "" instead of NULL

This is so dumb.

9 years agoEvas GL: Add API evas_gl_rotation_get
Jean-Philippe Andre [Tue, 2 Sep 2014 12:29:25 +0000 (21:29 +0900)]
Evas GL: Add API evas_gl_rotation_get

This will be used to increase the chances of having direct
rendering (no fallback to FBO) even if the window is rotated.

The client is then responsible for handling the view rotation.

@feature

9 years agoEvas GL: Add support for current sfc/ctx get with osmesa
Jean-Philippe Andre [Tue, 2 Sep 2014 09:55:58 +0000 (18:55 +0900)]
Evas GL: Add support for current sfc/ctx get with osmesa

9 years agoEvas GL: Implement basic error get in software generic
Jean-Philippe Andre [Tue, 2 Sep 2014 06:33:06 +0000 (15:33 +0900)]
Evas GL: Implement basic error get in software generic

9 years agoEvas GL: Fix runtime linking issues
Jean-Philippe Andre [Tue, 2 Sep 2014 03:52:52 +0000 (12:52 +0900)]
Evas GL: Fix runtime linking issues

There is some mess with gl common functions that need to be
called from the engine itself, eg. error set/get.

9 years agoEvas GL: Add safety checks for missing functions
Jean-Philippe Andre [Mon, 1 Sep 2014 12:12:29 +0000 (21:12 +0900)]
Evas GL: Add safety checks for missing functions

9 years agoEvas GL: Skip glClear() with direct rendering & transparent color
Jean-Philippe Andre [Mon, 1 Sep 2014 11:22:12 +0000 (20:22 +0900)]
Evas GL: Skip glClear() with direct rendering & transparent color

When using direct rendering, glClear() should not do anything
if the ClearColor was (0,0,0,0). The application would indeed
expect a transparent output (so, see the widgets below the view),
but glClear would erase the pixels instead. So add a quick check
to skip glClear entirely in that specific case.

9 years agoEvas GL: Add APIs to get current surface/context
Jean-Philippe Andre [Mon, 1 Sep 2014 11:15:33 +0000 (20:15 +0900)]
Evas GL: Add APIs to get current surface/context

- evas_gl_current_surface_get
- evas_gl_current_context_get

@feature

9 years agoEvas GL: Add more thread safety to gl_x11
Jean-Philippe Andre [Mon, 1 Sep 2014 10:40:07 +0000 (19:40 +0900)]
Evas GL: Add more thread safety to gl_x11

9 years agoEvas GL: Save EGL error codes in gl_x11 engine
Jean-Philippe Andre [Mon, 1 Sep 2014 10:16:21 +0000 (19:16 +0900)]
Evas GL: Save EGL error codes in gl_x11 engine

9 years agoEvas GL: Add API evas_gl_error_get()
Jean-Philippe Andre [Mon, 1 Sep 2014 09:11:53 +0000 (18:11 +0900)]
Evas GL: Add API evas_gl_error_get()

Similar in meaning to eglGetError()

@feature

9 years agoEvas GL: Add some thread safety
Jean-Philippe Andre [Mon, 1 Sep 2014 07:50:19 +0000 (16:50 +0900)]
Evas GL: Add some thread safety

This is only the core evas gl support.
TODO: gl_x11 and other engines

9 years agoedje: destroy left over reference when removing a part.
Cedric BAIL [Sun, 19 Oct 2014 23:27:27 +0000 (01:27 +0200)]
edje: destroy left over reference when removing a part.

NOTE: This patch is still not complete, their is more reference, but I couldn't
find all of them yet.

9 years agoedje: actually reuse the right Part_Lookup and not a destroyed one.
Cedric BAIL [Sun, 19 Oct 2014 23:26:35 +0000 (01:26 +0200)]
edje: actually reuse the right Part_Lookup and not a destroyed one.

9 years agoEolian/Generator: support common descriptions for properties.
Daniel Zaoui [Sun, 19 Oct 2014 10:21:11 +0000 (13:21 +0300)]
Eolian/Generator: support common descriptions for properties.

9 years agoEolian: add support for property descriptions.
Daniel Zaoui [Sun, 19 Oct 2014 08:17:39 +0000 (11:17 +0300)]
Eolian: add support for property descriptions.

For properties, set and get descriptions were supported but common
comment was not.

9 years agoevas/gl: code refactoring.
ChunEon Park [Sun, 19 Oct 2014 06:39:51 +0000 (15:39 +0900)]
evas/gl: code refactoring.

improve code readibility.

9 years agoeio: actually correctly set all field to NULL.
Cedric BAIL [Sat, 18 Oct 2014 13:22:30 +0000 (15:22 +0200)]
eio: actually correctly set all field to NULL.

@fix T1729

9 years agoedje: fix the image set bug.
Jaehwan Kim [Sat, 18 Oct 2014 11:56:30 +0000 (13:56 +0200)]
edje: fix the image set bug.

Summary: Before using the parameter ep->param1.set, it should be set.

Test Plan:
 diff --git a/data/themes/edc/elm/button.edc b/data/themes/edc/elm/button.edc
 index 097ce85..34a2b98 100644
 --- a/data/themes/edc/elm/button.edc
 +++ b/data/themes/edc/elm/button.edc
@@ -3,6 +3,15 @@ group { name: "elm/button/base/default";
    alias: "elm/button/base/naviframe/back_btn/pager";
    images.image: "button_normal.png" COMP;
    images.image: "button_clicked.png" COMP;
+   images {
+      set {
+         name: "button_normal";
+         image {
+             image: "button_normal.png" COMP;
+             size: 0 0 9999 9999;
+         }
+      }
+   }
 #define ICON     1
 #define LABEL    2
 #define MASK     3
@@ -74,7 +83,7 @@ group { name: "elm/button/base/default";
    parts {
       image { "base"; nomouse;
          desc { "default";
-            image.normal: "button_normal.png";
+            image.normal: "button_normal";
             image.border: 4 4 3 5;
             image.middle: SOLID;
             rel1.offset: -1 0;

and print the value ep->param1.set about "base" part of "elm/button/base/default" group before it is used.
It has a NULL at first time.

Reviewers: raster, jinsol, herb, cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: improve documentation.
Tae-Hwan Kim [Sat, 18 Oct 2014 11:52:59 +0000 (13:52 +0200)]
evas: improve documentation.

Summary: Add more reference link and read proof.

Reviewers: raster, huchi, Hermet, cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoedje: Edje_Edit - add state alloc for PROXY part.
Maksym Volodin [Sat, 18 Oct 2014 11:48:45 +0000 (13:48 +0200)]
edje: Edje_Edit - add state alloc for PROXY part.

Summary:
To allow edje_edit_state_add work properly for PROXY part, EDIT_ALLOC_POOL for PROXY is added.
@fix

Reviewers: Hermet, seoz, cedric

Reviewed By: cedric

Subscribers: cedric, reutskiy.v.v

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoedje: Edje_Edit - fix edje_edit_image_usage_list_get() to return usage list with...
Kateryna Fesyna [Sat, 18 Oct 2014 11:47:25 +0000 (13:47 +0200)]
edje: Edje_Edit - fix edje_edit_image_usage_list_get() to return usage list with images with USER compression.

Summary:
add recalculating of image id in edje_edit_image_usage_list_get() to fix wrong behavior of this function when the image has USER compression.

@fix

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

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoedje: Edje_Edit - get the source name of the sample
Igor Gala [Sat, 18 Oct 2014 11:44:25 +0000 (13:44 +0200)]
edje: Edje_Edit - get the source name of the sample

@feature

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

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoelua: generate property wrapper bodies with correct arguments in lualian
Daniel Kolesa [Fri, 17 Oct 2014 15:52:41 +0000 (16:52 +0100)]
elua: generate property wrapper bodies with correct arguments in lualian

9 years agoelua: generate __properties in lualian
Daniel Kolesa [Fri, 17 Oct 2014 15:44:08 +0000 (16:44 +0100)]
elua: generate __properties in lualian

9 years agoelua: handle event/property mixins correctly in eo
Daniel Kolesa [Fri, 17 Oct 2014 15:14:49 +0000 (16:14 +0100)]
elua: handle event/property mixins correctly in eo

9 years agoelua: complete property handling in eo bindings (getters, setters, keys, vals)
Daniel Kolesa [Fri, 17 Oct 2014 14:54:07 +0000 (15:54 +0100)]
elua: complete property handling in eo bindings (getters, setters, keys, vals)

9 years agoelua: we don't need property system in object core anymore
Daniel Kolesa [Fri, 17 Oct 2014 14:19:06 +0000 (15:19 +0100)]
elua: we don't need property system in object core anymore

9 years agoelua: ffi.string in method calls is bad... reduce allocs
Daniel Kolesa [Fri, 17 Oct 2014 13:56:28 +0000 (14:56 +0100)]
elua: ffi.string in method calls is bad... reduce allocs

9 years agoecore_imf: Add normal and password variations
Jihoon Kim [Fri, 17 Oct 2014 12:34:08 +0000 (21:34 +0900)]
ecore_imf: Add normal and password variations

9 years agoecore_imf: Add example code link in Ecore_IMF API doxygen
Jihoon Kim [Fri, 17 Oct 2014 04:54:02 +0000 (13:54 +0900)]
ecore_imf: Add example code link in Ecore_IMF API doxygen

9 years agoscale: add the API edje_object_base_scale_get.
Jaehwan Kim [Thu, 16 Oct 2014 04:15:38 +0000 (13:15 +0900)]
scale: add the API edje_object_base_scale_get.

This function returns the base_scale factor set on the
Edje object.
The base_scale can be set in the collection of edc.
If it isn't set, the default value is 1.0.

9 years agoEcore_Win32: Fix string for the BackSpace key on Windows
Vincent Torri [Tue, 14 Oct 2014 12:55:20 +0000 (14:55 +0200)]
Ecore_Win32: Fix string for the BackSpace key on Windows

@fix

9 years agoEdje_Edit: creating new hash in global data if it is not created yet
Vitalii Vorobiov [Mon, 13 Oct 2014 13:51:29 +0000 (16:51 +0300)]
Edje_Edit: creating new hash in global data if it is not created yet

Summary: edje_edit_data_add doesn't work if loaded EDJ file doesn't contain
any data items. It can't add new data item to emptry (NULL) hash.
Now, if there is no data in EDJ yet (so hash is empty), by adding new data it
will create hash and after that will add new data.

@fix

9 years agoeo-cxx: Replace C++ throw with EFL_CXX_THROW.
Savio S. Machado [Mon, 13 Oct 2014 10:45:34 +0000 (07:45 -0300)]
eo-cxx: Replace C++ throw with EFL_CXX_THROW.

9 years agoecore: Add more documentation for ecore_animator_source_set().
Daniel Juyung Seo [Mon, 13 Oct 2014 05:56:19 +0000 (14:56 +0900)]
ecore: Add more documentation for ecore_animator_source_set().

9 years agoevas: more defensive programming.
Cedric BAIL [Sun, 12 Oct 2014 08:11:26 +0000 (10:11 +0200)]
evas: more defensive programming.

9 years agoelua: properly hook up gc so that eo objects are unref'd in C when collected
Daniel Kolesa [Fri, 10 Oct 2014 14:44:49 +0000 (15:44 +0100)]
elua: properly hook up gc so that eo objects are unref'd in C when collected

9 years agoelua: fix eo callback return
Daniel Kolesa [Fri, 10 Oct 2014 13:46:50 +0000 (14:46 +0100)]
elua: fix eo callback return

9 years agoelua: very basic event support in eo bindings
Daniel Kolesa [Fri, 10 Oct 2014 12:58:04 +0000 (13:58 +0100)]
elua: very basic event support in eo bindings

9 years agoelua: initial, restricted support for property syntax and property/event inheritance
Daniel Kolesa [Fri, 10 Oct 2014 12:48:25 +0000 (13:48 +0100)]
elua: initial, restricted support for property syntax and property/event inheritance

9 years agoelua/autotools: unbork (forgot to remove this)
Daniel Kolesa [Fri, 10 Oct 2014 12:07:46 +0000 (13:07 +0100)]
elua/autotools: unbork (forgot to remove this)

9 years agoelua: remove testing elementary bindings
Daniel Kolesa [Fri, 10 Oct 2014 12:04:15 +0000 (13:04 +0100)]
elua: remove testing elementary bindings

9 years agoRevert "Revert "Eo: Move eo_add_ref logic inside the library.""
Tom Hacohen [Fri, 10 Oct 2014 08:30:52 +0000 (09:30 +0100)]
Revert "Revert "Eo: Move eo_add_ref logic inside the library.""

This reverts commit 11da9421842c439474ea08b346cdb1ee986db361.

Can't reproduce with the non-existent bug report, thus have no choice
but consider it as working.

9 years agoRevert "Eo: Move eo_add_ref logic inside the library."
Mike Blumenkrantz [Fri, 10 Oct 2014 01:01:48 +0000 (21:01 -0400)]
Revert "Eo: Move eo_add_ref logic inside the library."

This reverts commit 8d16d8eb5711d246509e44bf0ce5366f65fd9aea.

this broke child object deletion in all the cases that I tested and regular object deletion in some cases as well

9 years agoecore_imf/wayland: Use simple code to fix infinite loop bug related to ibus-hangul
Jihoon Kim [Fri, 10 Oct 2014 01:01:53 +0000 (10:01 +0900)]
ecore_imf/wayland: Use simple code to fix infinite loop bug related to ibus-hangul

9 years agoFix a bug with using Eio_File handler in main callback.
Guillaume Friloux [Thu, 9 Oct 2014 19:41:55 +0000 (21:41 +0200)]
Fix a bug with using Eio_File handler in main callback.

When using eio_file_stat_ls() (or any other exposing Eio_File *handler),
it will not be possible to use it from the main callback due to eio
freeing data too fast from the thread.

Moved frees from _eio_file_eina_ls_heavy() to eio_async_end() to be
sure that all the calls to main callback are over.
This implied adding the Eina_Iterator from eina_file_stat_ls to
the _Eio_File_Ls structure.

9 years agoeina-cxx: Replace throws with EFL_CXX_THROW.
Savio S. Machado [Thu, 9 Oct 2014 17:00:56 +0000 (14:00 -0300)]
eina-cxx: Replace throws with EFL_CXX_THROW.

9 years agoevas: GL_X11 context need to always be with alpha or it will fail to change.
Cedric BAIL [Thu, 9 Oct 2014 10:20:53 +0000 (12:20 +0200)]
evas: GL_X11 context need to always be with alpha or it will fail to change.

@fix

9 years agoeolian-cxx: Fixed pointer dereferencing for Eolian types and constant propagation...
Felipe Magno de Almeida [Thu, 9 Oct 2014 00:09:19 +0000 (21:09 -0300)]
eolian-cxx: Fixed pointer dereferencing for Eolian types and constant propagation for C++ eina list containers

With the addition of pointer types, the eolian C++ generator now has
to dereference to get the base type which might be a complex type.

9 years agoecore_con: Fix connect() handling
Guillaume Friloux [Wed, 8 Oct 2014 09:53:15 +0000 (11:53 +0200)]
ecore_con: Fix connect() handling

If connect() returns 0, we must send the ECORE_CON_EVENT_SERVER_ADD event
because it wont be given by select(). select() will ONLY notice it if connect
returns -1 with errno set to EINPROGRESS.

This bug is reproductible with 100% chance using ecore_con_telnet_client example
from https://github.com/gfriloux/examples if you connect to 127.0.0.1 instead of
of an external network ip, under FreeBSD (and likely any BSD).

Seems very rare to trigger it under GNU/Linux as it seems that connect()
doesnt want to return 0 when having non blocking sockets (or is too slow),
but it seems i was having this bug too on production servers, without being
ever able to reproduce it.

9 years agoeina: remove macros referencing to absent functions.
Tae-Hwan Kim [Wed, 8 Oct 2014 16:58:32 +0000 (18:58 +0200)]
eina: remove macros referencing to absent functions.

Summary: eina_ustrbuf_insert_printf and eina_ustrbuf_insert_vprintf are absent

@fix

Reviewers: huchi, raster, cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: fix warnings introduced by Evas_3D eet import/export feature.
Bogdan Devichev [Wed, 8 Oct 2014 16:42:41 +0000 (18:42 +0200)]
evas: fix warnings introduced by Evas_3D eet import/export feature.

Summary:
This is a fix of those warnings. Sorry for existence of them.
   CC       lib/evas/common/lib_evas_libevas_la-evas_alpha_main.lo
../../src/lib/evas/canvas/evas_3d_mesh_loader_eet.c:113:13: warning:
assignment from incompatible pointer type
     eet_file = _evas_3d_eet_file_new();
              ^
   CC       lib/evas/common/lib_evas_libevas_la-evas_blend_main.lo
   CC       lib/evas/common/lib_evas_libevas_la-evas_blit_main.lo
   CC       lib/evas/common/lib_evas_libevas_la-evas_convert_color.lo
../../src/lib/evas/canvas/evas_3d_mesh_saver_eet.c: In function
'evas_3d_mesh_save_eet':
../../src/lib/evas/canvas/evas_3d_mesh_saver_eet.c:159:13: warning:
assignment from incompatible pointer type
     eet_file = _evas_3d_eet_file_new();
              ^
   CC       lib/evas/common/lib_evas_libevas_la-evas_convert_colorspace.lo
   CC       lib/evas/common/lib_evas_libevas_la-evas_convert_gry_1.lo
../../src/lib/evas/canvas/evas_3d_eet.c: In function
'_evas_3d_eet_file_new':
../../src/lib/evas/canvas/evas_3d_eet.c:28:4: warning: return discards
'const' qualifier from pointer target type
     return creating_file;

Reviewers: cedric, artem.popov

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoecore-evas-drm: Fix formatting
Chris Michael [Wed, 8 Oct 2014 15:35:17 +0000 (11:35 -0400)]
ecore-evas-drm: Fix formatting

NB: No functional changes, just cosmetic

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-evas-drm: Set the ecore_drm_device reference in the engine data
Chris Michael [Wed, 8 Oct 2014 15:30:36 +0000 (11:30 -0400)]
ecore-evas-drm: Set the ecore_drm_device reference in the engine data

Summary: Since we have a field inside the engine info structure to
store a reference to the Ecore_Drm_Device, then let's set it.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agogitignore: let's ignore some more generated files.
Cedric BAIL [Wed, 8 Oct 2014 15:08:52 +0000 (17:08 +0200)]
gitignore: let's ignore some more generated files.

9 years agoevas: let's fix all Tasn borkage.
Cedric BAIL [Wed, 8 Oct 2014 15:08:02 +0000 (17:08 +0200)]
evas: let's fix all Tasn borkage.

9 years agoecore-drm: Fix drm cards on ARM platform not having boot_vga parameter
Chris Michael [Wed, 8 Oct 2014 14:06:45 +0000 (10:06 -0400)]
ecore-drm: Fix drm cards on ARM platform not having boot_vga parameter

Summary:
On some ARM platforms, the drivers do not list boot_vga as an
attribute, so we cannot do checks for that. This patch fixes finding
drm cards on those platforms by skipping the boot_vga check if we had
to use "platform" to find it.

Thanks to shiin for the report :)

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Fix failure of finding drm device on ARM platforms.
Chris Michael [Wed, 8 Oct 2014 13:31:37 +0000 (09:31 -0400)]
ecore-drm: Fix failure of finding drm device on ARM platforms.

Summary:
On some ARM platforms we were failing to find the drm device card.
This was due to those ARM platforms using SUBSYSTEM="platform" as a
udev attribute instead of "pci". This fixes that issue so that those
devices are found again.

Thanks to shiin for the report :)

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoevas-gl-common: Fix compile for EGL due to missing GL_LINE_SMOOTH
Chris Michael [Wed, 8 Oct 2014 13:04:21 +0000 (09:04 -0400)]
evas-gl-common: Fix compile for EGL due to missing GL_LINE_SMOOTH

Summary:
When compiling for EGL, GL_LINE_SMOOTH ends up not being defined so
compile breaks. This fix just checks if GL_LINE_SMOOTH is missing and
if so it defines it.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoelua: fix class c get function in lualian and make lua files rebuild on lualian changes
Daniel Kolesa [Wed, 8 Oct 2014 08:58:40 +0000 (09:58 +0100)]
elua: fix class c get function in lualian and make lua files rebuild on lualian changes

9 years agoEvas examples: Fix 3d aabb example.
Tom Hacohen [Wed, 8 Oct 2014 08:14:48 +0000 (09:14 +0100)]
Evas examples: Fix 3d aabb example.

This fixes evas-3d-aabb.c after the changes to eo_add.

Fixes T1719.

9 years agoEvas: Remove unused array calculate_objects
Jean-Philippe Andre [Wed, 8 Oct 2014 06:50:28 +0000 (15:50 +0900)]
Evas: Remove unused array calculate_objects

9 years agoevas: support anti-alias for gl line drawing.
ChunEon Park [Wed, 8 Oct 2014 06:47:58 +0000 (15:47 +0900)]
evas: support anti-alias for gl line drawing.