platform/upstream/efl.git
8 years agoecore_drm/ecore_wl2: logging: remove errant usage of %m
Derek Foreman [Thu, 14 Jan 2016 18:05:55 +0000 (13:05 -0500)]
ecore_drm/ecore_wl2: logging: remove errant usage of %m

Summary:
printf %m stringifies and prints errno.  I've tried to remove its use
anywhere that the immediately preceding function might not set errno
or is a complicated function for which knowing errno doesn't really
give any useful information.

I've left a few of the drmMode calls because they're just wrappers
around ioctl, which legitimately sets errno.

@fix

Reviewers: zmike, devilhorns

Reviewed By: zmike, devilhorns

Subscribers: cedric, jpeg

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

8 years agoecore_wayland: move check for pointer capability
Duna Oh [Thu, 14 Jan 2016 16:18:24 +0000 (11:18 -0500)]
ecore_wayland: move check for pointer capability

Summary:
We don't need to work for cursor if system doesn't have pointer devices.
Since this function is called by elementary(e.g. entry) also, we move a check condition into the function.

@fix

Reviewers: raster, zmike, devilhorns, ManMower, gwanglim

Subscribers: cedric, JHyun, input.hacker, jpeg

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

8 years agoeina_test: Add test-case for eina_quaternion_transform
Oleksandr Shcherbina [Thu, 14 Jan 2016 10:51:45 +0000 (11:51 +0100)]
eina_test: Add test-case for eina_quaternion_transform

Reviewers: stefan_schmidt, cedric

Subscribers: jpeg

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

8 years agoecore_evas/tests: add tests for Ecore_Evas_Cocoa
Jean Guyomarc'h [Wed, 13 Jan 2016 23:09:49 +0000 (00:09 +0100)]
ecore_evas/tests: add tests for Ecore_Evas_Cocoa

8 years agoecore_evas/tests: remove trailing whitespaces
Jean Guyomarc'h [Wed, 13 Jan 2016 21:33:17 +0000 (22:33 +0100)]
ecore_evas/tests: remove trailing whitespaces

Cosmetic changes only

8 years agoevas: follow file rename to keep distcheck working
Stefan Schmidt [Thu, 14 Jan 2016 10:32:54 +0000 (11:32 +0100)]
evas: follow file rename to keep distcheck working

In 8b00eb1dd1241290025e041973f6c8748b3e8fe4 the file was moved but the rename
forgotten in the Makefile.

8 years agoEvas 3d example: Print message for usage
Jean-Philippe Andre [Thu, 14 Jan 2016 03:18:53 +0000 (12:18 +0900)]
Evas 3d example: Print message for usage

8 years agoEvas: fix example for convex hull
perepelits.m [Thu, 14 Jan 2016 02:45:26 +0000 (11:45 +0900)]
Evas: fix example for convex hull

Summary: Made new models with no normal component to print
сorrect print message for testing not only by visual result.

Reviewers: cedric, raster, Hermet

Subscribers: jpeg, artem.popov

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

8 years agoExamples: Fix compilation of elocation ex (out of tree)
Jean-Philippe Andre [Thu, 14 Jan 2016 02:38:27 +0000 (11:38 +0900)]
Examples: Fix compilation of elocation ex (out of tree)

8 years agoemile: Added example program for base64 encoding and decoding.
Srivardhan Hebbar [Thu, 14 Jan 2016 02:28:40 +0000 (11:28 +0900)]
emile: Added example program for base64 encoding and decoding.

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

Reviewers: cedric, jpeg

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

8 years agoecore_wl2: fix key down event called to often
Marcel Hollerbach [Wed, 13 Jan 2016 18:24:51 +0000 (19:24 +0100)]
ecore_wl2: fix key down event called to often

if many events are coming in, a release event can be skipped. if this happens
the timer continues with the new keycode. so if a new key pressed event
enter checks for the old timer and delete the timer if there is one.

If the timer kicks in and emits additional key down events dont call the
callback which gets called by wl, and emit the signal directly.

8 years agoecore_drm: close all devices in shutdown
Marcel Hollerbach [Mon, 11 Jan 2016 21:53:18 +0000 (22:53 +0100)]
ecore_drm: close all devices in shutdown

8 years agoecore_drm: check if device is already opened before open and free
Marcel Hollerbach [Mon, 11 Jan 2016 20:43:12 +0000 (21:43 +0100)]
ecore_drm: check if device is already opened before open and free

check if fd is -1 before opening a device, so a device cannot be opened
twice.

Also check if fd is != -1 before closing it.

8 years agoeina: add all test cases for eina_vector2.
se.osadchy [Wed, 13 Jan 2016 14:43:23 +0000 (15:43 +0100)]
eina: add all test cases for eina_vector2.

Summary: All tests passes for eina_vector2 functions.

Reviewers: cedric, stefan_schmidt

Subscribers: jpeg

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

8 years agoecore_drm: make sure we include math.h and link against libm for floor()
Stefan Schmidt [Wed, 13 Jan 2016 16:03:36 +0000 (17:03 +0100)]
ecore_drm: make sure we include math.h and link against libm for floor()

When we introduced the usage of floor() in ecore_drm_evdev.c we forgot to
include math.h for it as well as linking against libm. This caused linking
failures on some systems while it still worked on others. Better fix it for
good.

Original patch by aerodynamik.

ref T2953

8 years agobuild: check for dlopen() when we build the ecore_evas drm module
Stefan Schmidt [Wed, 13 Jan 2016 15:25:47 +0000 (16:25 +0100)]
build: check for dlopen() when we build the ecore_evas drm module

We use it to check for libglapi.so.0

Original patch by aerodynamik

ref T2953

8 years agoecore_wayland: send mouse_move when sets touch_focus window in cb_touch_down
Duna Oh [Wed, 13 Jan 2016 15:10:05 +0000 (10:10 -0500)]
ecore_wayland: send mouse_move when sets touch_focus window in cb_touch_down

Summary:
When user touches the screen, ecore_drm generates MOUSE_MOVE event before MOUSE_BUTTON_DOWN.
But when ecore_wayland gets touch_motion before touch_down, touch_focus window is NULL and sending MOUSE_MOVE event fails.
Also in terms of 'touch' input, touch_focus needs be set in cb_touch_down, not in cb_pointer_enter.
So this commit makes sure that ecore_wayland generates MOUSE_MOVE when touch_focus is set.

@fix

Test Plan:
when the application is launched for first time, user clicks on any area of the screen.
We can see the posion of touch event wrong.

Reviewers: raster, zmike, devilhorns, gwanglim, ManMower

Reviewed By: ManMower

Subscribers: jpeg, JHyun, cedric, input.hacker

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

8 years agopo: update po files
Stefan Schmidt [Wed, 13 Jan 2016 13:38:16 +0000 (14:38 +0100)]
po: update po files

8 years agoeina: Add test-case for eina_normal3_matrix_get
Oleksandr Shcherbina [Wed, 13 Jan 2016 13:14:50 +0000 (14:14 +0100)]
eina: Add test-case for eina_normal3_matrix_get

Summary: Test case fail, need apply that D3563

Reviewers: cedric, Hermet, stefan_schmidt

Subscribers: jpeg

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

8 years agoeina: Fix possible wrong value due to null in determinant of matrix
Oleksandr Shcherbina [Wed, 13 Jan 2016 13:04:34 +0000 (14:04 +0100)]
eina: Fix possible wrong value due to null in determinant of matrix

Reviewers: cedric, Hermet

Subscribers: jpeg

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

8 years agoeina: add test case for eina_vector2
se.osadchy [Wed, 13 Jan 2016 12:46:49 +0000 (13:46 +0100)]
eina: add test case for eina_vector2

Summary: Create eina_test_vector and add first test case.

Reviewers: cedric, stefan_schmidt

Subscribers: jpeg

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

8 years agoedje: enhance edje_calc circular dependency error message
Shinwoo Kim [Wed, 13 Jan 2016 10:59:31 +0000 (19:59 +0900)]
edje: enhance edje_calc circular dependency error message

8 years agoEctor GL: Remove duplicated functions (eo)
Jean-Philippe Andre [Wed, 13 Jan 2016 08:44:01 +0000 (17:44 +0900)]
Ector GL: Remove duplicated functions (eo)

8 years agoEvas filter: Rename constructor/destructor to ctor/dtor
Jean-Philippe Andre [Wed, 13 Jan 2016 08:40:07 +0000 (17:40 +0900)]
Evas filter: Rename constructor/destructor to ctor/dtor

This avoids a name clash with Eo.Base.

8 years agoefl: edje: make comments for something we need to break for efl2 not now
Carsten Haitzler (Rasterman) [Wed, 13 Jan 2016 07:48:10 +0000 (16:48 +0900)]
efl: edje: make comments for something we need to break for efl2 not now

make notes about https://phab.enlightenment.org/D2980

8 years agoEFL: Mark EOLIAN functions as static when possible
Jean-Philippe Andre [Wed, 13 Jan 2016 06:19:07 +0000 (15:19 +0900)]
EFL: Mark EOLIAN functions as static when possible

This affects mostly evas filters.

8 years agoEvas: remove extra if from evas_3d_utils.h
perepelits.m [Wed, 13 Jan 2016 04:48:32 +0000 (13:48 +0900)]
Evas: remove extra if from evas_3d_utils.h

Summary: remove extra if from evas_3d_utils.h according to Coverity (CID1339788)

Reviewers: raster, Hermet, cedric

Subscribers: jpeg, artem.popov

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

8 years agoEdje: enhance embryo stack broken error message
Shinwoo Kim [Wed, 13 Jan 2016 02:55:46 +0000 (11:55 +0900)]
Edje: enhance embryo stack broken error message

Summary: Enhance embry stack broken error message

Test Plan: Make a run_program run a script

Reviewers: raster, zmike, jpeg

Reviewed By: jpeg

Subscribers: cedric, seoz, jpeg

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

8 years agoEvas filters: Fix unused variables
Jean-Philippe Andre [Wed, 13 Jan 2016 02:11:53 +0000 (11:11 +0900)]
Evas filters: Fix unused variables

Thanks @stefan_schmidt for the report

8 years agoEvas render: Fix typo (use & instead of &)
Jean-Philippe Andre [Wed, 13 Jan 2016 02:10:25 +0000 (11:10 +0900)]
Evas render: Fix typo (use & instead of &)

Thanks @stefan_schmidt for the report

8 years agoEvas GL: Reset current surface for all contexts to null when surface is destroyed
Dongyeon Kim [Mon, 11 Jan 2016 01:11:58 +0000 (10:11 +0900)]
Evas GL: Reset current surface for all contexts to null when surface is destroyed

When evas gl surface is destroyed, not only the current surface for the current context
should be set to NULL, but current surface for all contexts should be reset.

8 years agoevas: fix resource file for billboard in evas-3d-shadow example
Oleksandr Shcherbina [Tue, 12 Jan 2016 22:05:32 +0000 (14:05 -0800)]
evas: fix resource file for billboard in evas-3d-shadow example

Summary: Due to evas.canvas3d shader flips resource image.

Reviewers: cedric, Hermet

Subscribers: jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoedje: convert Edje_Text_Class, Edje_Size_Class data type to public
Jee-Yong Um [Tue, 12 Jan 2016 22:01:27 +0000 (14:01 -0800)]
edje: convert Edje_Text_Class, Edje_Size_Class data type to public

Summary:
APIs iterating works through active text classes and size classes were added,
but Edje_Text_Class and Edje_Size_Class data type are still concealed.
This patch uncovers those data types so as to allow developers to use them.

Reviewers: jpeg, cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoecore-drm: Call inputs shutdown before eina_shutdown
Chris Michael [Mon, 11 Jan 2016 18:57:23 +0000 (13:57 -0500)]
ecore-drm: Call inputs shutdown before eina_shutdown

As we end up freeing the input hash inside the
_ecore_drm_inputs_shutdown function, it should be called before we
shutdown eina

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoEvas textblock: Remove redundant NULL check.
Tom Hacohen [Tue, 12 Jan 2016 10:59:52 +0000 (10:59 +0000)]
Evas textblock: Remove redundant NULL check.

Detected by smatch.

8 years agoEvas textblock: slight style fixes.
Tom Hacohen [Tue, 12 Jan 2016 10:55:49 +0000 (10:55 +0000)]
Evas textblock: slight style fixes.

8 years agoEdje UI mirroring: Fix UI mirroring for GROUP parts.
Tom Hacohen [Tue, 12 Jan 2016 10:39:37 +0000 (10:39 +0000)]
Edje UI mirroring: Fix UI mirroring for GROUP parts.

GROUP parts were not mirrored with the rest of the edje object,
this commits fixes that.

This is an improvement of the now reverted
55b62bbd70e32f5824cbc760bc2f8e49eafa4cdd.

Thanks to cedric for the pointer that lead to this commit.

Ref T3021

8 years agoRevert "Edje UI mirroring: Fix UI mirroring for GROUP parts."
Tom Hacohen [Tue, 12 Jan 2016 10:34:22 +0000 (10:34 +0000)]
Revert "Edje UI mirroring: Fix UI mirroring for GROUP parts."

The following commit solves it in a better way.

This reverts commit 55b62bbd70e32f5824cbc760bc2f8e49eafa4cdd.

8 years agoedje: unswallow objects from parent edje when swallowing into new edje
Mike Blumenkrantz [Mon, 11 Jan 2016 23:27:35 +0000 (18:27 -0500)]
edje: unswallow objects from parent edje when swallowing into new edje

the passed edje is not guaranteed to be the one which owns the swallowed
object at any given time, so get the current owner to ensure that the
correct one is passed

ref a645c8153f82c593920190416b8115b546b3668f

 #MasterOfAllBorkers

@fix

8 years agoeldbus model: no need to double const a Eina_Stringshare
Stefan Schmidt [Mon, 11 Jan 2016 21:38:25 +0000 (22:38 +0100)]
eldbus model: no need to double const a Eina_Stringshare

Eina_Stringshare is already const, no need to const it again.

8 years agoeina_inline_value: use void to force empty function parameters
Stefan Schmidt [Mon, 11 Jan 2016 21:18:37 +0000 (22:18 +0100)]
eina_inline_value: use void to force empty function parameters

We have to use void in a function declaration if we want no function
parameters. Using just empty parenthesis means the function takes an
unspecified number of parameters.

8 years agoeina-cxx: Remove Eo classes defined manually
Felipe Magno de Almeida [Mon, 11 Jan 2016 18:10:55 +0000 (16:10 -0200)]
eina-cxx: Remove Eo classes defined manually

Use Eolian to generate the Eo classes for the tests. This should fix T2940.

@fix

8 years agorelease: Update NEWS and bump version for 1.17.0-beta1 release
Stefan Schmidt [Mon, 11 Jan 2016 11:32:25 +0000 (12:32 +0100)]
release: Update NEWS and bump version for 1.17.0-beta1 release

8 years agoconfigure: Fail if opengl=full is used with EGL
Jean-Philippe Andre [Mon, 11 Jan 2016 04:47:41 +0000 (13:47 +0900)]
configure: Fail if opengl=full is used with EGL

So many problems from people who customize their builds in this
incompatible manner.

There really should be only one configure option as we don't
support opengl+egl (although possible in theory) or gles without
egl. Keeping both to not break existing builds.

8 years agoevas: fix optimization of vertex count in convex hull
perepelits.m [Fri, 8 Jan 2016 23:32:47 +0000 (00:32 +0100)]
evas: fix optimization of vertex count in convex hull

Summary: FLT_COMPARISON should be used everywhere in evas_3d_utils.h

Reviewers: cedric, raster, Hermet

Subscribers: jpeg, artem.popov

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoeina: add test case for eina_strbuf_manage_read_only_new_length API.
Srivardhan Hebbar [Fri, 8 Jan 2016 23:28:21 +0000 (00:28 +0100)]
eina: add test case for eina_strbuf_manage_read_only_new_length API.

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

Reviewers: jpeg, cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoeina: removing base64 from eina example.
Srivardhan Hebbar [Fri, 8 Jan 2016 22:51:41 +0000 (23:51 +0100)]
eina: removing base64 from eina example.

Summary:
As base64 API's are no longer part of eina, removing them. Will add
separate file for emile examples.

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

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

8 years agoEdje entry: Fix memory leak.
Subodh Kumar [Fri, 8 Jan 2016 16:17:29 +0000 (16:17 +0000)]
Edje entry: Fix memory leak.

Summary:
Fix memory leak

If user or extra cursor is used, these should be free on
shutdown.

@fix

Test Plan: NA

Reviewers: tasn, herdsman

Subscribers: shilpasingh, cedric, jpeg

Projects: #efl

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

8 years agoEdje UI mirroring: Fix UI mirroring for GROUP parts.
Tom Hacohen [Fri, 8 Jan 2016 14:57:00 +0000 (14:57 +0000)]
Edje UI mirroring: Fix UI mirroring for GROUP parts.

GROUP parts were not mirrored with the rest of the edje object,
this commits fixes that.

Fixes T3021

@fix

8 years agobuild: hopefully last fix for efl_gfx.x
Stefan Schmidt [Fri, 8 Jan 2016 10:57:55 +0000 (11:57 +0100)]
build: hopefully last fix for efl_gfx.x

Cedrics original change made sure the file was actually dist_installed but
failed to be placed inthe correct inlucde folder and thus failed the elm build.
While raster fixed this he broke the distcheck build as the file was no longer
put into the tarball being marked as nodist.
This fix handles all the cases I tried in my testing here.

8 years agoefl - fix build break with efl_gfx.x
Carsten Haitzler (Rasterman) [Fri, 8 Jan 2016 01:15:49 +0000 (10:15 +0900)]
efl - fix build break with efl_gfx.x

8 years agoedje: correct function that should have been Eo API already.
Cedric BAIL [Fri, 8 Jan 2016 00:25:17 +0000 (16:25 -0800)]
edje: correct function that should have been Eo API already.

8 years agoemile: move all eina_str_base64 to emile_base64.
Cedric BAIL [Thu, 7 Jan 2016 23:53:12 +0000 (15:53 -0800)]
emile: move all eina_str_base64 to emile_base64.

8 years agoefl: move Ector_Color to be defined in Efl.Gfx as it makes more sense.
Cedric BAIL [Thu, 7 Jan 2016 19:16:33 +0000 (11:16 -0800)]
efl: move Ector_Color to be defined in Efl.Gfx as it makes more sense.

This create some possible naming clash and is why I come up with
efl_gfx_color*_type_set functions. We will have to think about this more
carefully as it makes sense to now pass this colors directly to our color
API. Ideally the default 8 bits interface would become just a convenience
wrapper around the more complex possibility.

8 years agojs: fix binding after namespace change of connector
Lauro Moura [Thu, 7 Jan 2016 18:31:53 +0000 (10:31 -0800)]
js: fix binding after namespace change of connector

Summary:
Update register function after change introduced in
the commit dc560521509b93a58905c8280d7cf9622d4e87c4
changed the native API.

@fix

Reviewers: q66, cedric, felipealmeida

Subscribers: jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoecore-evas: Rename ecore_evas_wayland_window_get2 function
Chris Michael [Thu, 7 Jan 2016 20:02:13 +0000 (15:02 -0500)]
ecore-evas: Rename ecore_evas_wayland_window_get2 function

This renames the ecore_evas_wayland_window_get2 function to be
ecore_evas_wayland2_window_get before the 1.17 roll out.

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoecore-wl2: API expose ecore_wl2_input_grab function
Chris Michael [Thu, 7 Jan 2016 16:55:52 +0000 (11:55 -0500)]
ecore-wl2: API expose ecore_wl2_input_grab function

This input_grab function should have been exposed via EAPI for use in
enlightenment, but was missed before the push

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoeina mp: also include malloc_np.h on FreeBSD
Daniel Kolesa [Thu, 7 Jan 2016 15:43:26 +0000 (15:43 +0000)]
eina mp: also include malloc_np.h on FreeBSD

8 years agoeina mp: only include malloc.h on linux
Daniel Kolesa [Thu, 7 Jan 2016 15:31:59 +0000 (15:31 +0000)]
eina mp: only include malloc.h on linux

Elsewhere, everything is in stdlib.h.

@fix

8 years agoecore-drm: Fix formatting
Chris Michael [Thu, 7 Jan 2016 13:55:49 +0000 (08:55 -0500)]
ecore-drm: Fix formatting

NB: No functional changes

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoecore_wayland: set touch_focus window when gets pointer_enter
Duna Oh [Thu, 7 Jan 2016 13:49:36 +0000 (08:49 -0500)]
ecore_wayland: set touch_focus window when gets pointer_enter

Summary:
When user touches the screen, ecore_wayland gets touch_motion event before touch_down event.
But touch_focus would be NULL in cb_touch_motion, so doesn't send ECORE_EVENT_MOUSE_MOVE event to client.
This fix set touch_focus when gets pointer_enter same as pointer_focus.

Test Plan:
when the application is launched for first time, user clicks on any area of the screen.
We can see the posion of touch event wrong.

@fix

Reviewers: devilhorns, raster, ManMower, zmike

Subscribers: input.hacker, cedric, jpeg, JHyun

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

8 years agoEo: Rearrange class creation code a bit.
Tom Hacohen [Thu, 7 Jan 2016 13:00:26 +0000 (13:00 +0000)]
Eo: Rearrange class creation code a bit.

This is not really needed, I just did it to make it easier for coverity
(and future static analysers) to understand that the class id doesn't
need to be accessed with a lock.

CID1341854

8 years agoecore_cocoa: don't redefine EAPI in private header
Jean Guyomarc'h [Tue, 5 Jan 2016 23:19:27 +0000 (00:19 +0100)]
ecore_cocoa: don't redefine EAPI in private header

8 years agoecore_cocoa: don't expose Ecore_Cocoa_Screen in the public API
Jean Guyomarc'h [Tue, 5 Jan 2016 23:06:59 +0000 (00:06 +0100)]
ecore_cocoa: don't expose Ecore_Cocoa_Screen in the public API

8 years agoecore_cocoa: remove unimplemented function
Jean Guyomarc'h [Tue, 5 Jan 2016 22:59:28 +0000 (23:59 +0100)]
ecore_cocoa: remove unimplemented function

8 years agoecore_cocoa: remove non-implemented functions
Jean Guyomarc'h [Tue, 5 Jan 2016 22:55:49 +0000 (23:55 +0100)]
ecore_cocoa: remove non-implemented functions

8 years agoecore_cocoa: possibly avoid useless copies
Jean Guyomarc'h [Tue, 5 Jan 2016 22:51:54 +0000 (23:51 +0100)]
ecore_cocoa: possibly avoid useless copies

8 years agoevas_gl_cocoa: update function parameters
Jean Guyomarc'h [Wed, 6 Jan 2016 22:48:01 +0000 (23:48 +0100)]
evas_gl_cocoa: update function parameters

Commit fd4e133cc1af3351b79946cfb1bc6d79feec9d30 changed the internal
API, but it was not reflected in evas_gl_cocoa.

This commit fix a compiling warning and possible undetermined behaviour.

@fix

8 years agoecore_cocoa: remove unimplemented function
Jean Guyomarc'h [Tue, 5 Jan 2016 22:38:13 +0000 (23:38 +0100)]
ecore_cocoa: remove unimplemented function

8 years agoecore_cocoa: don't use Ecore_Cocoa's EAPI in Eina
Jean Guyomarc'h [Tue, 5 Jan 2016 22:29:35 +0000 (23:29 +0100)]
ecore_cocoa: don't use Ecore_Cocoa's EAPI in Eina

8 years agoecore_con: fix compiling on OS X
Jean Guyomarc'h [Tue, 5 Jan 2016 22:23:04 +0000 (23:23 +0100)]
ecore_con: fix compiling on OS X

IPV6_ADD_MEMBERSHIP does not exist on OS X, and seems to be obsolete,
according to my glibc's bits/in.h.
IPV6_JOIN_GROUP, however, exists on both.

@fix

8 years agoefreet: fix undeclared function
Jean Guyomarc'h [Tue, 5 Jan 2016 22:19:18 +0000 (23:19 +0100)]
efreet: fix undeclared function

libgen is needed on OSX because it contains the prototype
of basename() which is required in the compiling unit.
The result of basename() was therefore implicitely converted into
an integer, which could leed to subtile issues.

@fix

8 years agoEvas filters: Fix minor compilation warning
Jean-Philippe Andre [Thu, 7 Jan 2016 10:19:09 +0000 (19:19 +0900)]
Evas filters: Fix minor compilation warning

8 years agoEina: Move vector2 to eina_inline_vector.x
Jean-Philippe Andre [Thu, 7 Jan 2016 09:58:54 +0000 (18:58 +0900)]
Eina: Move vector2 to eina_inline_vector.x

For consistency.

Also, include inside Eina.h
Thanks @vtorri for the remark.

8 years agoEina Vector2: Move EAPI to static inline
Jean-Philippe Andre [Thu, 7 Jan 2016 08:57:44 +0000 (17:57 +0900)]
Eina Vector2: Move EAPI to static inline

This removes lots of unnecessary symbols

8 years agoEvas filters: Fix async render and unify SW + GL
Jean-Philippe Andre [Thu, 7 Jan 2016 07:54:42 +0000 (16:54 +0900)]
Evas filters: Fix async render and unify SW + GL

SW async render mode was broken because it was party sync, partly
async (bad hack in a recent commit). This patch fixes that by
using a proper callback for render_post (main loop).

Since the engines and ector now abstract all pixel access functions,
the only difference between GL and SW is the async rendering.

8 years agoEvas filters: Run immediately in async mode (flush vs. enqueue)
Jean-Philippe Andre [Thu, 7 Jan 2016 06:55:02 +0000 (15:55 +0900)]
Evas filters: Run immediately in async mode (flush vs. enqueue)

8 years agobuild: add efl as internal dep for eldbus
Romain Naour [Tue, 8 Sep 2015 20:04:23 +0000 (22:04 +0200)]
build: add efl as internal dep for eldbus

The build stop wile building eldbus-codegen:

  CCLD     bin/eldbus/eldbus-codegen
  CXXLD    bin/eolian_cxx/eolian_cxx
  CCLD     lib/ecore_x/ecore_x_vsync
  CCLD     lib/evas/common/libevas_op_blend_sse3.la
  CCLD     lib/evas/common/libevas_convert_rgb_32.la
  CCLD     lib/ecore_ipc/libecore_ipc.la
[...]/i686-ctng-linux-gnu/bin/ld: warning: libefl.so.1, needed by lib/ecore/.libs/libecore.so, not found (try using -rpath or -rpath-link)
lib/ecore/.libs/libecore.so: undefined reference to `efl_control_suspend_set'
lib/ecore/.libs/libecore.so: undefined reference to `efl_control_interface_get'
collect2: error: ld returned 1 exit status
Makefile:19135: recipe for target 'bin/eldbus/eldbus-codegen' failed
make[6]: *** [bin/eldbus/eldbus-codegen] Error 1

A dependency on libefl seems to be missing for eldbus.

Fixes T2718 and T2952

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
8 years agoevas_xcb: fix build with xcb after TBM patches
Stefan Schmidt [Thu, 7 Jan 2016 07:48:56 +0000 (08:48 +0100)]
evas_xcb: fix build with xcb after TBM patches

GLX was not the only thing which did no longer compile. Same for xcb here.
Thanks Jenkins for testing this for us.

8 years agobuild: if we have this option we at least need to make sure the docs are matching
Stefan Schmidt [Thu, 7 Jan 2016 07:41:09 +0000 (08:41 +0100)]
build: if we have this option we at least need to make sure the docs are matching

Putting aside the question if we need or want this option we should make sure
people at least have correctly updated documentation. We switched the option to
..abb but not the docs.

8 years agoeina: Updated documentation of strbuf_substr_get.
Srivardhan Hebbar [Thu, 7 Jan 2016 06:33:38 +0000 (15:33 +0900)]
eina: Updated documentation of strbuf_substr_get.

Summary:
Fixes T2949.
In the bug, its been mentioned about updating the documentation, so added this.

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

Reviewed By: jpeg

Maniphest Tasks: T2949

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

8 years agoeina: Updated testcases of strbuf_substr_get.
Srivardhan Hebbar [Thu, 7 Jan 2016 06:35:06 +0000 (15:35 +0900)]
eina: Updated testcases of strbuf_substr_get.

Summary:
Fixes T2949.

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

Reviewed By: jpeg

Maniphest Tasks: T2949

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

8 years agoEvas: Document Evas.Render_Op
Jean-Philippe Andre [Thu, 7 Jan 2016 06:08:33 +0000 (15:08 +0900)]
Evas: Document Evas.Render_Op

1. MASK is not used for masking
2. only BLEND and COPY actually work

Should we merge Efl.Gfx.Render_Op and Evas.Render_Op?
(this would mean Efl.Gfx.Render_Op.copy = 2 instead of 1)

8 years agoEvas filters: Remove ERR message
Jean-Philippe Andre [Thu, 7 Jan 2016 05:46:22 +0000 (14:46 +0900)]
Evas filters: Remove ERR message

GL filters now work. Slow, but they work.

8 years agoEvas render: Fix render artifacts with a mapped object
Jean-Philippe Andre [Wed, 6 Jan 2016 13:08:58 +0000 (22:08 +0900)]
Evas render: Fix render artifacts with a mapped object

Problem visible in Enventor "map" example, with the SW engine.

Fixes T2979

8 years agoEvas render: Distinguish has_map and can_map
Jean-Philippe Andre [Wed, 6 Jan 2016 12:52:46 +0000 (21:52 +0900)]
Evas render: Distinguish has_map and can_map

This patch is a minor code cleanup before fixing T2979
(render artifacts inside Enventor).

8 years agoevas: fix a NULL dereference issue
Minwoo, Lee [Wed, 6 Jan 2016 19:24:16 +0000 (11:24 -0800)]
evas: fix a NULL dereference issue

Summary:
If evas engine init failed, it can make crash.
For example
If opengl init failed, then ee->prop.window is 0
ecore_evas_gl_x11_options_new_internal
{
   if (!ee->prop.window)
     {
        ERR("evas_engine_info_set() init engine '%s' failed.", ee->driver);
        ecore_evas_free(ee);
        return NULL;
     }
}

ecore_evas_free calls evas_fonts_zero_pressure
and this time evas->engine.func is NULL so it makes crash.

Reviewers: cedric

Subscribers: cedric, jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agobuild: add uuid as dependency for wayland build
Stefan Schmidt [Wed, 6 Jan 2016 18:53:56 +0000 (19:53 +0100)]
build: add uuid as dependency for wayland build

The wayland build requires uuid which we need to make sure we have as dependency.
Not a real problem as all wayland supported systems should have it.

Based on a patch by aerodynamik. Thanks!

Fixes T2951

8 years agoecore-wl2: Mark API as Beta before 1.17 gets released
Chris Michael [Wed, 6 Jan 2016 17:16:33 +0000 (12:16 -0500)]
ecore-wl2: Mark API as Beta before 1.17 gets released

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoevas-wayland-egl: Remove unused variables and unused function
Chris Michael [Wed, 6 Jan 2016 17:11:53 +0000 (12:11 -0500)]
evas-wayland-egl: Remove unused variables and unused function

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoeldbus: add missing since tags for all new symbols
Stefan Schmidt [Wed, 6 Jan 2016 15:31:55 +0000 (16:31 +0100)]
eldbus: add missing since tags for all new symbols

8 years agoeina_value: correct the since tag for new symbols
Stefan Schmidt [Wed, 6 Jan 2016 15:21:52 +0000 (16:21 +0100)]
eina_value: correct the since tag for new symbols

Thiese symbols are only available since after 1.16, thus the since 1.17 tag.

8 years agoeina_strbuf: add missing since tag to new symbols
Stefan Schmidt [Wed, 6 Jan 2016 14:55:32 +0000 (15:55 +0100)]
eina_strbuf: add missing since tag to new symbols

8 years agoeina_bezier: correct since version for two new APIs.
Stefan Schmidt [Wed, 6 Jan 2016 14:31:48 +0000 (15:31 +0100)]
eina_bezier: correct since version for two new APIs.

These are only available from 1.17 and not already from 1.16.

8 years agoefl model: add missing since tags for new APIs
Stefan Schmidt [Wed, 6 Jan 2016 14:26:30 +0000 (15:26 +0100)]
efl model: add missing since tags for new APIs

8 years agoedje: add missing since tags to new edje_size_class symbols
Stefan Schmidt [Wed, 6 Jan 2016 14:19:28 +0000 (15:19 +0100)]
edje: add missing since tags to new edje_size_class symbols

8 years agoecore_wl2: add since tag to all new symbols in 1.17 missing it
Stefan Schmidt [Wed, 6 Jan 2016 14:08:13 +0000 (15:08 +0100)]
ecore_wl2: add since tag to all new symbols in 1.17 missing it

8 years agoecore_evas: add missing since tags for new APIs coming with 1.17
Stefan Schmidt [Wed, 6 Jan 2016 13:52:56 +0000 (14:52 +0100)]
ecore_evas: add missing since tags for new APIs coming with 1.17

8 years agoEvas: Fix the build... I hope
Jean-Philippe Andre [Wed, 6 Jan 2016 08:18:57 +0000 (17:18 +0900)]
Evas: Fix the build... I hope

I forgot to modify some lines. Of course randomness made things
work for me.

8 years agoEctor: Do not install any header file
Jean-Philippe Andre [Wed, 6 Jan 2016 07:43:46 +0000 (16:43 +0900)]
Ector: Do not install any header file

Also fix spelling in .pc file