platform/upstream/efl.git
10 years agoeldbus-codegen: More memory leak fixes for generated code.
Stefan Schmidt [Mon, 24 Nov 2014 09:04:03 +0000 (10:04 +0100)]
eldbus-codegen: More memory leak fixes for generated code.

Same fix as we did for simple method calls we need in complex method calls as
well. Unref message on error path.

@fix

10 years agoelocation/geoclue2: Update generated code after generator leak fixes.
Stefan Schmidt [Mon, 24 Nov 2014 09:03:01 +0000 (10:03 +0100)]
elocation/geoclue2: Update generated code after generator leak fixes.

This brings in some fixed memory leaks from the generator.

10 years agoeldbus-codegen: Free msg on error path for generated code.
Stefan Schmidt [Mon, 24 Nov 2014 08:54:06 +0000 (09:54 +0100)]
eldbus-codegen: Free msg on error path for generated code.

If eldbus_message_arguments_append we would never unref the message.
This will fix various Coverity issues in generatd eldbus code.

@fix

CID: 1255634125563612556371255639

10 years agoecore-evas - fix focus skip flag to be one way
Carsten Haitzler (Rasterman) [Sun, 23 Nov 2014 13:01:34 +0000 (22:01 +0900)]
ecore-evas - fix focus skip flag to be one way

this fixes focus skip being set if someone else sets skip
pager/taskbar. it's a one-way prop. if focus skip is set THEN skip
pager/taskbar is set. not the other way.

10 years agoecore-drm: fix error check of _device_flags_set function
Seunghun Lee [Fri, 21 Nov 2014 14:18:29 +0000 (09:18 -0500)]
ecore-drm: fix error check of _device_flags_set function

Summary: the function return -1 if it's failed so checking for ! is
incorrect. We should check if the return is less than zero.

@fix

Reviewers: gwanglim, devilhorns

Reviewed By: devilhorns

Subscribers: cedric

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

10 years agoecore_file : Changed documentation of ecore_file_mksubdirs
kabeer khan [Fri, 21 Nov 2014 14:16:56 +0000 (09:16 -0500)]
ecore_file : Changed documentation of ecore_file_mksubdirs

Summary:
Corrected documentation of ecore_file_mksubdirs by replacing dirs with subdirs

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

Reviewed By: devilhorns

Subscribers: cedric

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

10 years agoeolian: one func for filling in namespaces
Daniel Kolesa [Fri, 21 Nov 2014 14:12:40 +0000 (14:12 +0000)]
eolian: one func for filling in namespaces

10 years agoeolian: get rid of the PARSE_SECTION macro nonsense
Daniel Kolesa [Fri, 21 Nov 2014 13:59:42 +0000 (13:59 +0000)]
eolian: get rid of the PARSE_SECTION macro nonsense

10 years agoexamples/evas: Ignore evas_3d_ply example binary
Stefan Schmidt [Fri, 21 Nov 2014 10:48:59 +0000 (11:48 +0100)]
examples/evas: Ignore evas_3d_ply example binary

10 years agoelocation: Update generated code for geoclue2 after eldbus-codegen bugfix
Stefan Schmidt [Fri, 14 Nov 2014 12:35:42 +0000 (13:35 +0100)]
elocation: Update generated code for geoclue2 after eldbus-codegen bugfix

Property set works now.

10 years agoelocation: Add generated GeoClue2 DBus helper code.
Stefan Schmidt [Mon, 3 Nov 2014 15:16:16 +0000 (16:16 +0100)]
elocation: Add generated GeoClue2 DBus helper code.

Generated by eldbus-codegen to avoid writing the boilerplate code by hand.

10 years agoelocation: Add enums for GeoClue2 accuracy levels
Stefan Schmidt [Thu, 30 Oct 2014 15:52:47 +0000 (16:52 +0100)]
elocation: Add enums for GeoClue2 accuracy levels

Some stay the same between 1 and 2 and others have changed. Mark enums that
are only available on one version.

10 years agotests/eo: Do not test for an integer when you get a pointer.
Stefan Schmidt [Fri, 21 Nov 2014 09:20:36 +0000 (10:20 +0100)]
tests/eo: Do not test for an integer when you get a pointer.

It works but the compiler is right when complaining about it. fail_unless()
expects and integer but we passed in a pointer. Negate the pointer and use
fail_if() like we do in all other places.

10 years agoelua: update eolian bindings
Daniel Kolesa [Thu, 20 Nov 2014 17:16:04 +0000 (17:16 +0000)]
elua: update eolian bindings

10 years agoeolian: forgot to add prototype to header
Daniel Kolesa [Thu, 20 Nov 2014 17:13:12 +0000 (17:13 +0000)]
eolian: forgot to add prototype to header

10 years agoeolian: add support for @optional ctor tag
Daniel Kolesa [Thu, 20 Nov 2014 15:21:44 +0000 (15:21 +0000)]
eolian: add support for @optional ctor tag

This implements task T1804.
@feature

10 years agoallow for loading of eo.lua files from module path
Daniel Kolesa [Wed, 19 Nov 2014 14:05:18 +0000 (14:05 +0000)]
allow for loading of eo.lua files from module path

10 years agoelua: put all scripts required for lua file generation into deps
Daniel Kolesa [Wed, 19 Nov 2014 13:46:26 +0000 (13:46 +0000)]
elua: put all scripts required for lua file generation into deps

This is a bit ugly but at least we can make sure a full
re-generation is triggered when stuff changes.

10 years agoelua: do not emit spaces where not required
Daniel Kolesa [Wed, 19 Nov 2014 12:57:10 +0000 (12:57 +0000)]
elua: do not emit spaces where not required

10 years agoelua: simplify lualian typeconv
Daniel Kolesa [Wed, 19 Nov 2014 11:40:49 +0000 (11:40 +0000)]
elua: simplify lualian typeconv

10 years agoEvas: Check load_error before loading again (GL)
Jean-Philippe Andre [Wed, 19 Nov 2014 10:45:04 +0000 (19:45 +0900)]
Evas: Check load_error before loading again (GL)

This is a new attempt at avoiding reload of an image
that failed to load during async preload.

See 42d2f8a12b4706b79e7cf16162d34f259bdc23d4 (reverted).

I still can't figure out why setting load_error does not
work as expected (E pager becomes blank).

10 years agoRevert "Evas: Set image load_error after load"
Jean-Philippe Andre [Wed, 19 Nov 2014 10:19:56 +0000 (19:19 +0900)]
Revert "Evas: Set image load_error after load"

Oops, I didn't test this enough.
This causes some problems with E's pager for instance.

This reverts commit 42d2f8a12b4706b79e7cf16162d34f259bdc23d4.

10 years agoEvas: Set image load_error after load
Jean-Philippe Andre [Wed, 19 Nov 2014 10:06:18 +0000 (19:06 +0900)]
Evas: Set image load_error after load

In case of async preload, this avoids loading an image twice
if it already failed loading.

Thanks Minkyoung Kim for spotting this.

10 years agoEvas: Cosmetic changes in evas_gl_image
Jean-Philippe Andre [Wed, 19 Nov 2014 09:54:36 +0000 (18:54 +0900)]
Evas: Cosmetic changes in evas_gl_image

10 years agoEvas: Remove irrelevant comment and disabled code
Jean-Philippe Andre [Wed, 19 Nov 2014 08:10:37 +0000 (17:10 +0900)]
Evas: Remove irrelevant comment and disabled code

10 years agoEvas GL: Change comment and DBG message
Jean-Philippe Andre [Wed, 19 Nov 2014 06:30:12 +0000 (15:30 +0900)]
Evas GL: Change comment and DBG message

10 years agoEvas GL: Wrap glGetString for VERSION
Jean-Philippe Andre [Wed, 19 Nov 2014 06:08:00 +0000 (15:08 +0900)]
Evas GL: Wrap glGetString for VERSION

- glGetString(GL_VERSION) should not return "OpenGL ES 3.0" because
  GLESv3 is not supported yet.

- GL_EXTENSIONS should return only the list of supported extensions
  --> disabled for now as the whitelist of safe extensions is way
      too small.

10 years agoEo: protect against recursive object destruction calls, fixes T1741
Jérémy Zurcher [Tue, 18 Nov 2014 15:24:39 +0000 (15:24 +0000)]
Eo: protect against recursive object destruction calls, fixes T1741

Summary:
    Eo: semantic obj->del replaced by obj->destructed
    Eo: protect against recursive object destruction calls
    Eo: add tests for bfada4b

Reviewers: JackDanielZ, tasn

Reviewed By: tasn

Subscribers: cedric

Maniphest Tasks: T1741

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

Fixes T1741

@fix

10 years agoefreetd_cache: Resolved TODO checking symbolic link to monitor real path
kabeer khan [Tue, 18 Nov 2014 11:24:06 +0000 (12:24 +0100)]
efreetd_cache: Resolved TODO checking symbolic link to monitor real path

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

Reviewers: englebass

Reviewed By: englebass

Subscribers: devilhorns, cedric

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

10 years agoEcore File : Added test suite for Ecore File module
kabeer khan [Tue, 18 Nov 2014 09:26:43 +0000 (10:26 +0100)]
Ecore File : Added test suite for Ecore File module

Summary:
Added 3 test cases. First to test initialise, shutdown Ecore_File module.
Second to test all file operation functions defined in the module.
Third to test ecore file monitor

Signed-off-by: kabeer khan <kabeer.khan@samsung.com>
Reviewers: devilhorns, stefan_schmidt

Subscribers: cedric

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

10 years agoEvas GL: Create TLS during make_current if there isn't any
Jean-Philippe Andre [Tue, 18 Nov 2014 09:37:59 +0000 (18:37 +0900)]
Evas GL: Create TLS during make_current if there isn't any

Apps would crash if they call make current without creating
a surface in the same thread. I don't see a good reason why
we should have this a limitation.

10 years agoEvas GL: Add some debug
Jean-Philippe Andre [Tue, 18 Nov 2014 08:37:25 +0000 (17:37 +0900)]
Evas GL: Add some debug

It will be triggered when EVAS_GL_API_DEBUG is set.
Yeah, that's abusing the variable a bit, as it was intended for
GL calls only, but this is pretty harmless.

Also add string  "GL_DEPTH_STENCIL".

10 years agoedje: Set the default image in image set.
Jaehwan Kim [Tue, 18 Nov 2014 08:13:38 +0000 (17:13 +0900)]
edje: Set the default image in image set.

If there's no suitable image in image set, set the first image among
the set.

10 years agoevas/3d: Fix dereferencing a pointer that might be null found by coverity
Bogdan Devichev [Mon, 17 Nov 2014 16:14:23 +0000 (17:14 +0100)]
evas/3d: Fix dereferencing a pointer that might be null found by coverity

Summary:
@fix
CID: 1254626

Reviewers: cedric, artem.popov, Oleksander

Subscribers: cedric, stefan_schmidt

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

10 years agoexamples/elocation: Shutup some unused parameter warnings
Stefan Schmidt [Mon, 17 Nov 2014 15:51:55 +0000 (16:51 +0100)]
examples/elocation: Shutup some unused parameter warnings

10 years agomakefile_eolian_cxx: Fix indent and trailing whitespace
Stefan Schmidt [Mon, 17 Nov 2014 15:48:13 +0000 (16:48 +0100)]
makefile_eolian_cxx: Fix indent and trailing whitespace

Purely cosmetic as I stumbled over it when looking at the file.

10 years agoexamples/evas-3d-shooter: Rename varibales to avopid shadowing
Stefan Schmidt [Mon, 17 Nov 2014 15:47:15 +0000 (16:47 +0100)]
examples/evas-3d-shooter: Rename varibales to avopid shadowing

Scene is used as local variable in a lot places so we rename the global
scene here.

10 years agoeldbus-codegen: Make generated code for property set work by setting the cb
Stefan Schmidt [Fri, 14 Nov 2014 11:33:08 +0000 (12:33 +0100)]
eldbus-codegen: Make generated code for property set work by setting the cb

Whenever you tried using a propset function from code generated with
eldbus-codegen it would segfault as we never set the callback function but
passed in data instead.

@fix

10 years agoelocation: Check for one more retrun of eldbus_message_iter_arguments_get
Stefan Schmidt [Fri, 14 Nov 2014 09:51:56 +0000 (10:51 +0100)]
elocation: Check for one more retrun of eldbus_message_iter_arguments_get

In this case we want to continue with the loop.

CID: 1251472

10 years agoevas: Evas_3D - add .ply export/import.
Bogdan Devichev [Fri, 14 Nov 2014 06:11:09 +0000 (07:11 +0100)]
evas: Evas_3D - add .ply export/import.

Summary:
.ply format is important for relation blender and EFl, because in blender exist only two mesh export API: bpy.ops.import_mesh.ply and bpy.ops.import_mesh.stl. One of them is necessary for .edc 3D generator. Which I writing now.
Sorry, it isn't like image loader. Refactoring of import/export will be soon.

Reviewers: Oleksander, artem.popov, Hermet, raster, cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
10 years agoedje, evas: add of new structures
perepelits.m [Fri, 14 Nov 2014 06:06:00 +0000 (07:06 +0100)]
edje, evas: add of new structures

Summary: Preparation for the 3d edc adding.

Reviewers: raster, Hermet, cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
10 years agoeina: enhance doxygen in eina_counter.h
Tae-Hwan Kim [Fri, 14 Nov 2014 06:05:10 +0000 (07:05 +0100)]
eina: enhance doxygen in eina_counter.h

Summary:
Add @details for detailed description
Add @note for noted description
Add [in] & [out] for parameters
Fix indentation & Fix typeof

Reviewers: raster, cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
10 years agoedje: add formating for floating point numbers in EDC.
Kateryna Fesyna [Fri, 14 Nov 2014 06:01:52 +0000 (07:01 +0100)]
edje: add formating for floating point numbers in EDC.

Summary:
this commit contains calculation of format string for floating point numbers in order to print them with at least one symbol after point. (For example: 'relateve: 1.0 0.45;')
@fix

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

Reviewed By: reutskiy.v.v

Subscribers: cedric, reutskiy.v.v

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
10 years agoedje: fix wrong generation of 'minmul' and 'text.min' parameters in EDC.
Kateryna Fesyna [Fri, 14 Nov 2014 05:58:19 +0000 (06:58 +0100)]
edje: fix wrong generation of 'minmul' and 'text.min' parameters in EDC.

Summary:
minmul: add check of 'minmul.have' value and fix check on default vales of minmul (0.0 0.0 -> 1.0 1.0)
min: delete quotation marks from 'w' and 'h' values

@fix

Reviewers: Hermet, raster, cedric

Reviewed By: cedric

Subscribers: cedric, reutskiy.v.v

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
10 years agoedje: Edje_Edit - add generation of 'limits' parameter of group in EDC.
Kateryna Fesyna [Fri, 14 Nov 2014 05:53:09 +0000 (06:53 +0100)]
edje: Edje_Edit - add generation of 'limits' parameter of group in EDC.

Summary: the generation of limits of group is added with this commit.

@feature

Reviewers: Hermet, cedric, raster

Subscribers: cedric, reutskiy.v.v

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
10 years agoeina: fix calloc() parameters order in eina_share.
Jean Guyomarc'h [Fri, 14 Nov 2014 05:49:54 +0000 (06:49 +0100)]
eina: fix calloc() parameters order in eina_share.

Summary: The first parameter must be the count of elements to be allocated.

Reviewers: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
10 years agoecore_anim: fix source_set bug.
Jaehwan Kim [Fri, 14 Nov 2014 02:39:42 +0000 (11:39 +0900)]
ecore_anim: fix source_set bug.

The source and the function should be set after _end_tick is called.

@fix

10 years agoEvas GL: Fix bug in evgl_eng_pbuffer_surface_create (EGL)
Jean-Philippe Andre [Fri, 14 Nov 2014 02:22:59 +0000 (11:22 +0900)]
Evas GL: Fix bug in evgl_eng_pbuffer_surface_create (EGL)

Thanks Henry Song for the report.

@fix

10 years agoEvas GL: Import a few more extensions and fix a name
Jean-Philippe Andre [Fri, 14 Nov 2014 02:10:27 +0000 (11:10 +0900)]
Evas GL: Import a few more extensions and fix a name

10 years agoEvas GL: Add extension string for ETC2
Jean-Philippe Andre [Mon, 27 Oct 2014 11:59:00 +0000 (20:59 +0900)]
Evas GL: Add extension string for ETC2

10 years agoEvas GL: Scan extensions for OpenGL-ES 1.1
Jean-Philippe Andre [Mon, 27 Oct 2014 08:28:17 +0000 (17:28 +0900)]
Evas GL: Scan extensions for OpenGL-ES 1.1

10 years agoEvas GL: Enable some more GLES2 extension APIs
Jean-Philippe Andre [Mon, 27 Oct 2014 06:03:53 +0000 (15:03 +0900)]
Evas GL: Enable some more GLES2 extension APIs

NOTE: The draw_buffers extension might need to be checked more and
wrapped, if it can have adverse effects on how Evas works (could
it replace the default render target?).

This adds support for the following extensions:
- disjoint_timer_query
- occlusion_query_boolean
- alpha_test
- draw_buffers
- read_buffer
- read_buffer_front
- framebuffer_blit

10 years agoEvas GL: Add support for some required extensions
Jean-Philippe Andre [Fri, 24 Oct 2014 13:56:51 +0000 (22:56 +0900)]
Evas GL: Add support for some required extensions

- debug
- debug_label
- debug_marker

10 years agoEvas GL: Introduce concept of safe extensions
Jean-Philippe Andre [Fri, 24 Oct 2014 12:25:08 +0000 (21:25 +0900)]
Evas GL: Introduce concept of safe extensions

This will mark some extension functions as "safe", which means
we don't need to wrap them in order to expose them.

All the known extensions from Evas_GL_API have been marked as safe
for now.

In the future, we may encounter extensions that are not safe
out of the box, but can be wrapped. At that time, we will have
to mark them as safe but return the pointer to the wrapper instead.
Until then, only whitelisted extensions will be supported.

@feature

10 years agoEvas GL: Pass calls to getProcAddress down to the engines
Jean-Philippe Andre [Fri, 24 Oct 2014 11:48:08 +0000 (20:48 +0900)]
Evas GL: Pass calls to getProcAddress down to the engines

Later we need to add a whitelist of supported functions.

10 years agoEvas GL: Introduce macro _EVASGL_EXT_FUNCTION_DRVFUNC_PROCADDR
Jean-Philippe Andre [Fri, 24 Oct 2014 11:26:46 +0000 (20:26 +0900)]
Evas GL: Introduce macro _EVASGL_EXT_FUNCTION_DRVFUNC_PROCADDR

It will be used to link to extension functions that need no
wrapping.

10 years agoEvas GL: Scan for GL-ES 1.1 extensions
Jean-Philippe Andre [Fri, 24 Oct 2014 11:05:46 +0000 (20:05 +0900)]
Evas GL: Scan for GL-ES 1.1 extensions

10 years agoEvas GL: Add original extension names to the EVAS_GL_EXTENSIONS string
Jean-Philippe Andre [Fri, 24 Oct 2014 10:52:51 +0000 (19:52 +0900)]
Evas GL: Add original extension names to the EVAS_GL_EXTENSIONS string

The idea is that normal opengl applications might very well want to
check for an extension using the usual string and not have to do
something special just because they're using evas_gl and not egl.

10 years agoEvas GL: Fix list of shaders to distribute
Jean-Philippe Andre [Fri, 14 Nov 2014 00:41:15 +0000 (09:41 +0900)]
Evas GL: Fix list of shaders to distribute

Some shader files (shd) were not included in EXTRA_DIST. This didn't break
the build because the .x file was correctly generated.
I guess the missing files in previous releases also had no impact because
the .h files would be generated and shipped.

Also generate the enum automagically. New shaders need to be added
to Makefile_Evas.am.

10 years agoedje_cc: update usage text
Vyacheslav Reutskiy [Thu, 13 Nov 2014 17:10:59 +0000 (17:10 +0000)]
edje_cc: update usage text

Add clatification, that for "-l license" and "-a authors" need to
specify files.

10 years agoedje_cc: fix log message for authors write procedure.
Vyacheslav Reutskiy [Thu, 13 Nov 2014 17:03:03 +0000 (17:03 +0000)]
edje_cc: fix log message for authors write procedure.

@fix

10 years agoFix bug ecore_imf_context_cursor_position_set was not called when cursor was moved...
Jihoon Kim [Thu, 13 Nov 2014 06:36:46 +0000 (15:36 +0900)]
Fix bug ecore_imf_context_cursor_position_set was not called when cursor was moved by ECORE_IMF_CALLBACK_SELECTION_SET

@fix

10 years agoEvas: Don't pass whole RGBA_Image to low-level render functions
Jean-Philippe Andre [Thu, 13 Nov 2014 02:27:50 +0000 (11:27 +0900)]
Evas: Don't pass whole RGBA_Image to low-level render functions

Idea originated from Cedric the b0rker.

This is a big fat search-and-replace commit.
This commit also introduces space changes... Sorry for the mix.

NOTE: This commit may have one side effect as there was some very
      dubious code chaning the dst image's alpha flag in the
      Gfx get functions. Logically this didn't make sense (at
      draw time the dst alpha should already be well defined),
      so it should be safe.

10 years agoecore-wayland: Fix the issue of UnIconifying an xdg_surface
vivek [Wed, 12 Nov 2014 13:32:10 +0000 (08:32 -0500)]
ecore-wayland: Fix the issue of UnIconifying an xdg_surface

Summary:
Fixed the issue of UnIconifying an xdg_surface which is
needed for Enlightenment IBox scenario.

@fix

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

Reviewed By: devilhorns

Subscribers: cedric

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

10 years agoecore_drm: Added internal function for drm output updates when device is hotplug
vivek [Wed, 12 Nov 2014 13:30:53 +0000 (08:30 -0500)]
ecore_drm: Added internal function for drm output updates when device is hotplug

Summary:
Added internal function _ecore_drm_update_outputs which will update the
outputs if the drm device is hotplug

@fix

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

Reviewed By: devilhorns

Subscribers: cedric

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

10 years agoEvas: Use ENFN/ENDT in proxy subrender
Jean-Philippe Andre [Wed, 12 Nov 2014 10:25:21 +0000 (19:25 +0900)]
Evas: Use ENFN/ENDT in proxy subrender

Again, just a code readability change.

10 years agoEvas: Avoid creating an extra context for proxy rendering
Jean-Philippe Andre [Wed, 12 Nov 2014 10:18:09 +0000 (19:18 +0900)]
Evas: Avoid creating an extra context for proxy rendering

10 years agoelocation: Check return from eldbus_message_iter_arguments_get
Stefan Schmidt [Wed, 12 Nov 2014 09:18:58 +0000 (10:18 +0100)]
elocation: Check return from eldbus_message_iter_arguments_get

Coverity spotted my laziness here with the eldbus functions. Better check that
they actually succeeded.

CID: 1251470125147112514721251473

10 years agovieet: list the sections of an eet file if a section isn't passed.
Tom Hacohen [Thu, 23 Oct 2014 14:28:30 +0000 (15:28 +0100)]
vieet: list the sections of an eet file if a section isn't passed.

Thanks to Sachiel for suggesting this feature.

10 years agoelocation: Fix EAPI define for win32 builds
Stefan Schmidt [Wed, 12 Nov 2014 09:01:47 +0000 (10:01 +0100)]
elocation: Fix EAPI define for win32 builds

That clearyl shows that I never build this for win32 and I missed to change
from ecore to elocation when copying the definition. My bad. Thanks goes to
jenkins and jpeg.

10 years agoelocation: _EVENT_IN and _EVENT_OUT are internal events which means no EAPI
Stefan Schmidt [Wed, 12 Nov 2014 08:54:58 +0000 (09:54 +0100)]
elocation: _EVENT_IN and _EVENT_OUT are internal events which means no EAPI

10 years agoEvas: Improved code consistency
Jaeun Choi [Wed, 22 Oct 2014 10:59:50 +0000 (19:59 +0900)]
Evas: Improved code consistency

Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
10 years agoEvas: Fixed indentation
Jaeun Choi [Fri, 10 Oct 2014 01:33:13 +0000 (10:33 +0900)]
Evas: Fixed indentation

This is a purely cosmetic change.

Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
10 years agoEvas: Use common function for proxy_subrender
Jean-Philippe Andre [Thu, 23 Oct 2014 06:27:40 +0000 (15:27 +0900)]
Evas: Use common function for proxy_subrender

Merges functions from:
- filters
- image object

10 years agoEvas: Fix COPY op for mask+color
Jean-Philippe Andre [Mon, 10 Nov 2014 09:16:56 +0000 (18:16 +0900)]
Evas: Fix COPY op for mask+color

Also, mark some functions with a FIXME as they look just wrong.
COPY_REL is never used...

MMX and NEON optimizations should be implemented for COPY MASK+COL.

10 years agoEvas: Fix SW rendering COPY function with mask
Jean-Philippe Andre [Mon, 10 Nov 2014 07:48:38 +0000 (16:48 +0900)]
Evas: Fix SW rendering COPY function with mask

This does not fix any known bug as there is no known path using this
function.

10 years agoEvas image: Use macros ENFN/ENDT to improve code readability
Jean-Philippe Andre [Wed, 22 Oct 2014 09:34:51 +0000 (18:34 +0900)]
Evas image: Use macros ENFN/ENDT to improve code readability

These macros replace some very repetitive code:
 - define ENFN obj->layer->evas->engine.func
 - define ENDT obj->layer->evas->engine.data.output

This commit includes lots of space changes as well.
This is a purely cosmetic commit.

10 years agoEvas shaders: Auto-generate the shaders from Makefile
Jean-Philippe Andre [Wed, 12 Nov 2014 05:55:34 +0000 (14:55 +0900)]
Evas shaders: Auto-generate the shaders from Makefile

Let's regenerate the shaders when a SHD file changes.
I've removed the Git commit id because only touching a file
would insert a code change.

10 years agoEvas shaders: Write new shader generator script
Jean-Philippe Andre [Wed, 12 Nov 2014 05:41:23 +0000 (14:41 +0900)]
Evas shaders: Write new shader generator script

All shaders will be in a single .x (C) file.
There shall be no more useless .h files.

This also removes the need for awk (replaced by sed and bash stuff)

10 years agoEvas: Remove ugly REND_DBG
Jean-Philippe Andre [Wed, 5 Nov 2014 05:54:35 +0000 (14:54 +0900)]
Evas: Remove ugly REND_DBG

Here's a macro that's used for debugging in some of the ugliest
ways possible: avoid passing an extra argument to a function when the
cost of always passing it is negligible (it's an int).

Fixes T1749.

10 years agoelocation: Make sure the pc file gets installed like the others.
Stefan Schmidt [Tue, 11 Nov 2014 16:22:48 +0000 (17:22 +0100)]
elocation: Make sure the pc file gets installed like the others.

Forgot about this when merging it it from the separate lib where
the tooling did handle it. Thanks goes to Scimmia for letting me
know so quickly. :)

10 years agotests/elocation: Disable elocation test suite until deps are installed on jenkins
Stefan Schmidt [Tue, 11 Nov 2014 15:57:53 +0000 (16:57 +0100)]
tests/elocation: Disable elocation test suite until deps are installed on jenkins

I expected them to be installed but I was wrong. Will keep this disabled until
this is sorted out on jenkins.

10 years agopo: disable xgettext_wrapper for the time being (not really used and possibly won...
Daniel Kolesa [Tue, 11 Nov 2014 15:07:03 +0000 (15:07 +0000)]
po: disable xgettext_wrapper for the time being (not really used and possibly won't be)

10 years agoelocation: Add elocation libraray to EFL.
Stefan Schmidt [Tue, 11 Nov 2014 12:36:10 +0000 (13:36 +0100)]
elocation: Add elocation libraray to EFL.

Elocation is meant as a convenience library to ease application developers
the usage of geo information in their apps. Adding a geo tag to a picture or
translating an address to a GPS position and show it on a map widget are just
some of the use cases.

This has been developed a while ago and was living in my private dev space.
It is about time to move this into EFL and bring it forward.

So far it has only support for GeoClue1 while I already work on GeoClue2
support. The API is not considered stable yet and it will change for sure when
the GeoClue2 support gets merged. We will likely start if a reduced API when
1.13 gets released and extend if over time.

10 years agotests/elocation: Disable problematic elocation status test for now.
Stefan Schmidt [Tue, 11 Nov 2014 11:26:56 +0000 (12:26 +0100)]
tests/elocation: Disable problematic elocation status test for now.

This seems to fail in some cases. Have it disabled for now to have the
rest of the tests run stable.

10 years agoelocation: Check if the passed in address/position/status is already up to date
Stefan Schmidt [Tue, 11 Nov 2014 11:02:10 +0000 (12:02 +0100)]
elocation: Check if the passed in address/position/status is already up to date

This API needs to get rewritten when the GeoClue2 support lands.

10 years agoelocation: Cleanup status code handling
Stefan Schmidt [Tue, 11 Nov 2014 10:46:14 +0000 (11:46 +0100)]
elocation: Cleanup status code handling

The code is an integer enum so we should really handle it like this. Use dummy
free callbacks for ecore_event_add as we pass not malloced data in.

10 years agotests/elocation: Enhance tests to wait for callback arrival.
Stefan Schmidt [Wed, 29 Oct 2014 13:39:47 +0000 (14:39 +0100)]
tests/elocation: Enhance tests to wait for callback arrival.

These message are passes async over dbus so we better wait until we see the
reply if we want to have a test case that is somewhat useful.

10 years agotests/elocation: Generate libcheck xml output for jenkins
Stefan Schmidt [Wed, 29 Oct 2014 10:28:17 +0000 (11:28 +0100)]
tests/elocation: Generate libcheck xml output for jenkins

Jenkins reads the xml file generated by libcheck to display the coverage.
Also setup EFL_RUN_IN_TREE to make sure all paths are setup correctly.

10 years agodocs/elocation: Update some more version tags
Stefan Schmidt [Wed, 29 Oct 2014 10:23:58 +0000 (11:23 +0100)]
docs/elocation: Update some more version tags

10 years agotests/elocation: Avoid testing of non elocation things in the elocation suite
Stefan Schmidt [Wed, 29 Oct 2014 08:48:55 +0000 (09:48 +0100)]
tests/elocation: Avoid testing of non elocation things in the elocation suite

These inits and shutdown are already done in elocation_init() directly. As we
do not use any of its functionality here we better concentrate on elocation
unit tests in here.

10 years agoexamples/elocation: Add example makefile for elocation
Stefan Schmidt [Tue, 28 Oct 2014 16:35:05 +0000 (17:35 +0100)]
examples/elocation: Add example makefile for elocation

To make the example worthwhile to run alone add a basic makefile for the
example like we do for others.

10 years agoelocation: Mute all unused parameter warnings
Stefan Schmidt [Tue, 28 Oct 2014 16:01:07 +0000 (17:01 +0100)]
elocation: Mute all unused parameter warnings

The signature is given by the callback so the only thing we can do here is to
mute the warnings.

10 years agodoc: Add reference to Elocation documentation from main page
Stefan Schmidt [Tue, 28 Oct 2014 15:22:00 +0000 (16:22 +0100)]
doc: Add reference to Elocation documentation from main page

10 years agodoc/elocation: Make it fit into the efl documentation
Stefan Schmidt [Tue, 28 Oct 2014 15:20:17 +0000 (16:20 +0100)]
doc/elocation: Make it fit into the efl documentation

@mainpage would override the main efl page. Its no longer a separate
lib which needs its own mainpage. We just need to make sure the group
and sections show up from the main page.

10 years agodoc/elocation: Update since tag to an appropriate 1.13
Stefan Schmidt [Tue, 28 Oct 2014 15:11:23 +0000 (16:11 +0100)]
doc/elocation: Update since tag to an appropriate 1.13

10 years agoexamples/elocation: Add gitignore file for generated elocation examples
Stefan Schmidt [Tue, 28 Oct 2014 14:58:18 +0000 (15:58 +0100)]
examples/elocation: Add gitignore file for generated elocation examples

10 years agopc: Ignore newly generated elocation.pc file
Stefan Schmidt [Tue, 28 Oct 2014 14:57:25 +0000 (15:57 +0100)]
pc: Ignore newly generated elocation.pc file

10 years agotests/elocation: Add elocation test suite.
Stefan Schmidt [Tue, 28 Oct 2014 14:55:02 +0000 (15:55 +0100)]
tests/elocation: Add elocation test suite.

Not covering all cases yet but still a good start.

10 years agoelocation: Add example for using the elocation API
Stefan Schmidt [Tue, 28 Oct 2014 12:00:11 +0000 (13:00 +0100)]
elocation: Add example for using the elocation API

Basic example to show API usage.