platform/upstream/efl.git
10 years agoefreet: Correctly handle default merge dir
Sebastian Dransfeld [Tue, 10 Jun 2014 11:44:58 +0000 (13:44 +0200)]
efreet: Correctly handle default merge dir

When main menu file is gnome-applications.menu or kde-applications.menu,
we should be using applications as base for merged dir.

Part of T1284

10 years agofix whitespace
Carsten Haitzler (Rasterman) [Tue, 10 Jun 2014 10:22:04 +0000 (19:22 +0900)]
fix whitespace

10 years agoevas gl: distinguish between IMG and EXT MSAA extensions
Dongyeon Kim [Tue, 10 Jun 2014 10:20:16 +0000 (19:20 +0900)]
evas gl: distinguish between IMG and EXT MSAA extensions

Summary:
For drivers that support IMG_multisampled_render_to_texture,
GL_MAX_SAMPLES_IMG should be used to query max supported samples
Likewise, for drivers that support EXT_multisampled_render_to_texture,
GL_MAX_SAMPLES_EXT should be used to query max supported samples

@fix

Reviewers: seoz, Hermet, raster, cedric

Reviewed By: cedric

CC: cedric
Differential Revision: https://phab.enlightenment.org/D948

10 years agopo: Set initial values for Language-Team in all po files
Stefan Schmidt [Tue, 10 Jun 2014 08:43:05 +0000 (10:43 +0200)]
po: Set initial values for Language-Team in all po files

10 years agopo: Set initial language value in po file where it is missing
Stefan Schmidt [Tue, 10 Jun 2014 08:33:42 +0000 (10:33 +0200)]
po: Set initial language value in po file where it is missing

Some file have it and some not. My hopes are that this will fix the
build problems on jenkins.

10 years agoEcore_Evas: add new API for unset the cursor from Ecore_Evas.
Vyacheslav Reutskiy [Tue, 10 Jun 2014 08:32:10 +0000 (17:32 +0900)]
Ecore_Evas: add new API for unset the cursor from Ecore_Evas.

Summary:
Add ecore_evas_cursor_unset function.
Use the new function in the ecore_evas_object_example.

@feature

Test Plan: ecore_evas_object_example

Reviewers: raster, cedric, seoz, Hermet

CC: cedric
Differential Revision: https://phab.enlightenment.org/D812

10 years agoEvas: Implement full ETC2 encoder
Jean-Philippe Andre [Tue, 10 Jun 2014 05:58:47 +0000 (14:58 +0900)]
Evas: Implement full ETC2 encoder

Supports T, H, and Planar mode as well as Alpha.

Merge branch 'devs/jpeg/etc2'

@feature

10 years agoEvas TGV: Improve debug logs when saving ETC2
Jean-Philippe Andre [Tue, 10 Jun 2014 02:09:47 +0000 (11:09 +0900)]
Evas TGV: Improve debug logs when saving ETC2

Separate PSNR between Alpha and RGB channels.
This will give results comparable to etcpack.

10 years agoEvas ETC2: Clean up debug code
Jean-Philippe Andre [Tue, 10 Jun 2014 01:52:57 +0000 (10:52 +0900)]
Evas ETC2: Clean up debug code

Disable flag and disable unused function if DEBUG is not set.

10 years agoEvas ETC2: Fix alpha encoding with high quality
Jean-Philippe Andre [Mon, 9 Jun 2014 10:34:34 +0000 (19:34 +0900)]
Evas ETC2: Fix alpha encoding with high quality

Use an exhaustive search when encoding alpha at high quality.
This can be very slow if we don't have a perfect solution.

10 years agoEvas ETC2: Implement Planar mode
Jean-Philippe Andre [Mon, 9 Jun 2014 09:39:39 +0000 (18:39 +0900)]
Evas ETC2: Implement Planar mode

And this completes the first version of this ETC2 encoder.
It's pretty slow and not exhaustive.

Color selection for T and H modes could probably be optimized
for both performance and quality. As for the planar mode, there
is no selection to speak of, as we just take the values of the
pixels directly (no scan, very fast)

On a sample image with lots of blue, white and noisy gradients,
T+H+Planar mode boost the PNSR from 41.22dB to 42.01dB.
Without planar mode, the PSNR was 41.94dB.

@feature

10 years agoEvas ETC2: Implement H mode encoding
Jean-Philippe Andre [Fri, 30 May 2014 06:26:07 +0000 (15:26 +0900)]
Evas ETC2: Implement H mode encoding

And we gain some more decibels of PSNR :)

@feature

10 years agoEvas ETC2: Implement T mode encoding
Jean-Philippe Andre [Thu, 29 May 2014 02:30:51 +0000 (11:30 +0900)]
Evas ETC2: Implement T mode encoding

In this mode, two colors are encoded in RGB444, a multiplier and
distance (index) are selected. Two extra colors are extrapolated
from the main base color. As in ETC1 we have 4 base colors to paint
our block.

@feature

10 years agoEvas TGV: Add some debugging features
Jean-Philippe Andre [Tue, 27 May 2014 09:11:14 +0000 (18:11 +0900)]
Evas TGV: Add some debugging features

10 years agoEvas TGV: Add ETC2 support to the TGV saver
Jean-Philippe Andre [Tue, 27 May 2014 07:34:04 +0000 (16:34 +0900)]
Evas TGV: Add ETC2 support to the TGV saver

This will call the new ETC2 encoding functions.
Note that the quality and performance will be horrible, but at
least alpha should be supported.

Also, there is no way to choose between ETC1 and ETC2 from
the client API side, which, well, sucks. So ETC2 is selected
if and only if the image has alpha (according to its flag).

@feature: Encode images in ETC2 with support for Alpha (if needed).

10 years agoEvas ETC2: Add ETC2 encoder skeletton
Jean-Philippe Andre [Tue, 27 May 2014 06:02:23 +0000 (15:02 +0900)]
Evas ETC2: Add ETC2 encoder skeletton

Implement Alpha encoding, brute force way, but doesn't scan
all possibilities either (only based on average alpha).

RGB encoding is still entirely left to the rg-etc1 encoder.
T, H and Planar mode will come in the next commits.

@feature: Implement an ETC2 encoder from scratch for RGB8 and RGBA8

10 years agoEo: Fix crash on WIN32 (wrong check for NULL)
Jean-Philippe Andre [Tue, 10 Jun 2014 05:24:36 +0000 (14:24 +0900)]
Eo: Fix crash on WIN32 (wrong check for NULL)

Thanks vtorri for the report

10 years agoEolian/Generator: use a specific define for the Eo APIs.
Daniel Zaoui [Mon, 9 Jun 2014 13:08:33 +0000 (16:08 +0300)]
Eolian/Generator: use a specific define for the Eo APIs.

The generation of EOAPI instead of EAPI for the Eo functions is only
needed for code readibility.

10 years agoedje: Edje_Edit - fix func edje_edit_state_text_source_set()
Igor Gala [Mon, 9 Jun 2014 18:54:34 +0000 (20:54 +0200)]
edje: Edje_Edit - fix func edje_edit_state_text_source_set()

Summary:
There are new API for block 'text.source' get and set. Those function
return or set the name of part which is source style for given part.

@fix

Reviewers: seoz, Hermet, cedric, raster

Reviewed By: cedric

CC: reutskiy.v.v, cedric
Differential Revision: https://phab.enlightenment.org/D970

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
10 years agoeo: force zeroing memory on non Linux system.
Cedric BAIL [Mon, 9 Jun 2014 17:55:00 +0000 (19:55 +0200)]
eo: force zeroing memory on non Linux system.

@fix

10 years agoEolian/Generator: Fix comments generation.
Daniel Zaoui [Mon, 9 Jun 2014 07:05:17 +0000 (10:05 +0300)]
Eolian/Generator: Fix comments generation.

This patch:
- removes the @def from Doxygen, as it is not correct for API
functions.
- fixes the generation of class comments. When no class description is
supplied, no comment should be added.

10 years agoevas/evas_3d - build evas_3d_obj example.
ChunEon Park [Mon, 9 Jun 2014 06:25:55 +0000 (15:25 +0900)]
evas/evas_3d - build evas_3d_obj example.

10 years agoEolian/Generator: concentrate the function name calculation to one
Daniel Zaoui [Sun, 8 Jun 2014 08:57:31 +0000 (11:57 +0300)]
Eolian/Generator: concentrate the function name calculation to one
place.

Instead of having the calculation (class name + function name + set/get)
in many places in the code, it is now in one place and accessible via a
function environment structure.

10 years agoEdje Edit: Fix shadow declarations.
Daniel Zaoui [Sun, 8 Jun 2014 06:42:27 +0000 (09:42 +0300)]
Edje Edit: Fix shadow declarations.

10 years ago3d: Fix shadow declaration
Daniel Zaoui [Sun, 8 Jun 2014 06:35:14 +0000 (09:35 +0300)]
3d: Fix shadow declaration

10 years agoEolian/Generator: remove unused code.
Daniel Zaoui [Sun, 8 Jun 2014 06:24:43 +0000 (09:24 +0300)]
Eolian/Generator: remove unused code.

The removed code was needed for Eo1 and is no more necessary.

10 years agoEolian: set default value when no set/get is defined on a property.
Daniel Zaoui [Sun, 8 Jun 2014 05:58:46 +0000 (08:58 +0300)]
Eolian: set default value when no set/get is defined on a property.

If no set/get is defined in a property, the type will be set as
EOLIAN_PROPERTY, meaning set and get.

10 years agoEolian/Tests: expand the usage of the generation process.
Daniel Zaoui [Sun, 8 Jun 2014 05:13:20 +0000 (08:13 +0300)]
Eolian/Tests: expand the usage of the generation process.

The function executing the Eolian generator was using specific options.
This patch permits addition other kinds of generation tests.

10 years agoedje: Edje_Edit - add edje_edit_group_broadcast_signal_set/_get.
Maksym Volodin [Sat, 7 Jun 2014 20:57:49 +0000 (22:57 +0200)]
edje: Edje_Edit - add edje_edit_group_broadcast_signal_set/_get.

Summary:
Add two main functions:
edje_edit_group_broadcast_signal_set/_get.
_get return EINA_FALSE if group not accept broadcast signal, EINA_TRUE otherwise (Default to true since 1.1.).
Also support access into group's source code generation.

Reviewers: seoz, Hermet, raster, cedric

CC: reutskiy.v.v, cedric
Differential Revision: https://phab.enlightenment.org/D957

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
10 years agoedje: simplify and deprecate stub function.
Cedric BAIL [Sat, 7 Jun 2014 16:13:39 +0000 (18:13 +0200)]
edje: simplify and deprecate stub function.

10 years agoautotools: fix more spelling errors in warnings
Alex-P. Natsios [Sat, 7 Jun 2014 00:51:14 +0000 (02:51 +0200)]
autotools: fix more spelling errors in warnings

Summary: fontconfig & eo ID warning message fixes

Reviewers: raster, cedric

CC: cedric
Differential Revision: https://phab.enlightenment.org/D964

10 years ago.gitignore: don't track generated file.
Cedric BAIL [Sat, 7 Jun 2014 00:47:12 +0000 (02:47 +0200)]
.gitignore: don't track generated file.

10 years agoexamples: add new example for Evas_3D.
se.osadchy [Fri, 6 Jun 2014 17:11:15 +0000 (19:11 +0200)]
examples: add new example for Evas_3D.

Summary: This example need for demonstration work of the propagate events.

Reviewers: Hermet, cedric, raster

CC: cedric
Differential Revision: https://phab.enlightenment.org/D890

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
10 years agoautotools: fix small typo in xim warning
Alex-P. Natsios [Fri, 6 Jun 2014 16:33:05 +0000 (18:33 +0200)]
autotools: fix small typo in xim warning

Summary: suport -> support

Reviewers: raster, cedric

Reviewed By: cedric

CC: cedric, tasn
Differential Revision: https://phab.enlightenment.org/D963

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
10 years agoedje: Edje_Edit - add parameters to generate source code for part.
Mykyta Biliavskyi [Fri, 6 Jun 2014 16:26:16 +0000 (18:26 +0200)]
edje: Edje_Edit - add parameters to generate source code for part.

Summary:
Add generate source code for absent parameters for part description.
Also use fields from internal structure Edje_Real_Part instead call public API

@feature

Reviewers: cedric, raster, seoz, Hermet

CC: reutskiy.v.v, cedric
Differential Revision: https://phab.enlightenment.org/D960

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
10 years agoecore-drm: remove unnecessary extra variable.
Chris Michael [Fri, 6 Jun 2014 15:52:58 +0000 (11:52 -0400)]
ecore-drm: remove unnecessary extra variable.

We can assign the result of these calculations directly, so remove the
extra integer.

Signed-off-by: Chris Michael <devilhorns@comcast.net>
10 years agoecore-drm: don't declare w & h integers if we don't need them.
Chris Michael [Fri, 6 Jun 2014 15:47:33 +0000 (11:47 -0400)]
ecore-drm: don't declare w & h integers if we don't need them.

We only use w & h if one of the dev->abs.rel_* axis values are less
than zero, so let's not declare integers that we May not use until we
need them.

Signed-off-by: Chris Michael <devilhorns@comcast.net>
10 years agoecore-drm: Fix formatting issues from D933 patch
Chris Michael [Fri, 6 Jun 2014 15:46:45 +0000 (11:46 -0400)]
ecore-drm: Fix formatting issues from D933 patch

Signed-off-by: Chris Michael <devilhorns@comcast.net>
10 years agoecore-drm: implement multitouch support
Moritz Bitsch [Fri, 6 Jun 2014 15:40:33 +0000 (11:40 -0400)]
ecore-drm: implement multitouch support

Summary: Support for type B touch devices, tested with egalax_ts compatible touchscreen.

Reviewers: devilhorns

Reviewed By: devilhorns

CC: cedric
Differential Revision: https://phab.enlightenment.org/D933

10 years agoUpdating catalan translation
maxerba [Fri, 6 Jun 2014 11:17:25 +0000 (13:17 +0200)]
Updating catalan translation

10 years agofix memory leak in Eina_Strbuf usage
Jérémy Zurcher [Thu, 5 Jun 2014 22:05:06 +0000 (00:05 +0200)]
fix memory leak in Eina_Strbuf usage

buf was not freed on error, and never on success

CID 1194715

10 years agofix memory leak in Eina_Strbuf usage
Jérémy Zurcher [Thu, 5 Jun 2014 21:28:25 +0000 (23:28 +0200)]
fix memory leak in Eina_Strbuf usage

buf wasn't freed on success neighter on
edje_edit_image_compression_type_get(...) failure

CID 1194716

10 years agoeina: fix possible access to NULL.
Cedric BAIL [Thu, 5 Jun 2014 20:50:20 +0000 (22:50 +0200)]
eina: fix possible access to NULL.

CID 1039422.

10 years agoeina: leave a comment for CID 1039688.
Cedric BAIL [Thu, 5 Jun 2014 20:26:07 +0000 (22:26 +0200)]
eina: leave a comment for CID 1039688.

10 years agoeina: fix typo in matrixsparce.
Cedric BAIL [Thu, 5 Jun 2014 20:18:59 +0000 (22:18 +0200)]
eina: fix typo in matrixsparce.

CID 98417.

10 years agoevas: Evas_3D - add evas_box3_ray3_intersect and evas_box2_intersect_2d functions.
perepelits.m [Thu, 5 Jun 2014 18:50:42 +0000 (20:50 +0200)]
evas: Evas_3D - add evas_box3_ray3_intersect and evas_box2_intersect_2d functions.

Summary: First function is used for intersection of ray and parallelepiped, the second one - for intersection of ray and rectangle in two-dimensional case.

@feature

Reviewers: Hermet, cedric, raster

CC: cedric
Differential Revision: https://phab.enlightenment.org/D956

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
10 years agoevas: Evas_3D - add .obj export/import.
Bogdan Devichev [Thu, 5 Jun 2014 17:46:55 +0000 (19:46 +0200)]
evas: Evas_3D - add .obj export/import.

@feature

Reviewers: raster, Hermet, cedric

Reviewed By: cedric

CC: cedric
Differential Revision: https://phab.enlightenment.org/D954

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
10 years agoedje: Edje_Edit - add edje_edit_part_cursor_mode functions.
Vorobiov Vitalii [Thu, 5 Jun 2014 17:43:49 +0000 (19:43 +0200)]
edje: Edje_Edit - add edje_edit_part_cursor_mode functions.

Summary:
Add two main functions
- edje_edit_part_cursor_mode_get
- edje_edit_part_cursor_mode_set
Also support cursor_mode into part's source code generation.

@feature

Reviewers: seoz, Hermet, cedric, raster

CC: reutskiy.v.v, cedric
Differential Revision: https://phab.enlightenment.org/D952

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
10 years agoedje: Edje_Edit - add edje_edit_part_multiline functions.
Vorobiov Vitalii [Thu, 5 Jun 2014 17:43:02 +0000 (19:43 +0200)]
edje: Edje_Edit - add edje_edit_part_multiline functions.

Summary:
Add two main functions
- edje_edit_part_multiline_get
- edje_edit_part_multiline_set
Also support multiline into part's source code generation.

@feature

Reviewers: seoz, Hermet, cedric, raster

CC: reutskiy.v.v, cedric
Differential Revision: https://phab.enlightenment.org/D951

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
10 years agoedje: Edje_Edit - Improved speed generate source code for program.
Mykyta Biliavskyi [Thu, 5 Jun 2014 17:41:46 +0000 (19:41 +0200)]
edje: Edje_Edit - Improved speed generate source code for program.

Summary:
_edje_generate_source_program gets Edje_Program pointer from _edje_program_get_byname
at start of function,but in body calls public methods for get parameters of programs.
Each of this methods calls _edje_program_get_byname, what make generation of source
whole program is  slow.
Replaced public API calls with using fields of Edje_Program structure.

Reviewers: cedric, raster, seoz, Hermet

Reviewed By: cedric

CC: reutskiy.v.v, cedric
Differential Revision: https://phab.enlightenment.org/D950

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
10 years agoedje: Edje_Edit - add edje_edit_group_orientation_set/_get.
Maksym Volodin [Thu, 5 Jun 2014 17:38:20 +0000 (19:38 +0200)]
edje: Edje_Edit - add edje_edit_group_orientation_set/_get.

Summary:
Set or get orientation for group:
0 for EDJE_ORIENTATION_AUTO, 1 for EDJE_ORIENTATION_LTR, 2 for EDJE_ORIENTATION_RTL.
_get return 0 (AUTO), 1 (LTR), 2(RTL) orientation was setted for the group. -1 if an error occurred.
_set return EINA_TRUE if successful, EINA_FALSE otherwise.

@feature

Reviewers: cedric, raster, seoz, Hermet

CC: reutskiy.v.v, cedric
Differential Revision: https://phab.enlightenment.org/D938

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
10 years agoRemove autogen.sh from the dist tarball.
Tom Hacohen [Thu, 5 Jun 2014 16:29:55 +0000 (17:29 +0100)]
Remove autogen.sh from the dist tarball.

This should not be distributed.

@fix.

10 years agoEolian: Add a few missing @ingroup fields for doxygen
Kai Huuhko [Thu, 5 Jun 2014 16:01:01 +0000 (19:01 +0300)]
Eolian: Add a few missing @ingroup fields for doxygen

10 years agoCoverage: Fix base directory.
Tom Hacohen [Thu, 5 Jun 2014 15:31:37 +0000 (16:31 +0100)]
Coverage: Fix base directory.

The base compilation directory is the root of the repo, not src/.

All the relative paths are relative to there.

10 years agoEolian: Re-generate the ragel file, but this time from the right place.
Tom Hacohen [Thu, 5 Jun 2014 15:23:16 +0000 (16:23 +0100)]
Eolian: Re-generate the ragel file, but this time from the right place.

10 years agoAdd --disable-gui.
Guillaume Friloux [Thu, 5 Jun 2014 11:40:44 +0000 (13:40 +0200)]
Add --disable-gui.

This allows people to disable the building of anything GUI related.
In my case, it is used for servers.

I encourage anyone that think they can do a better patch to improve it,
as i dislike having to add all those AM_CONDITIONAL().

Maybe the macros should be improved.

10 years agoEolian/Generator: Fix Windows issue during string manipulation.
Daniel Zaoui [Thu, 29 May 2014 12:41:10 +0000 (15:41 +0300)]
Eolian/Generator: Fix Windows issue during string manipulation.

For Windows, it is simpler to replace all the \r\n with \n after having
read the file.

10 years agoEolian: rename internal files.
Daniel Zaoui [Thu, 5 Jun 2014 07:11:13 +0000 (10:11 +0300)]
Eolian: rename internal files.

This files were needed to be renamed a long time ago :-)

10 years agoEolian: Fix Coverity issue.
Daniel Zaoui [Thu, 5 Jun 2014 04:38:58 +0000 (07:38 +0300)]
Eolian: Fix Coverity issue.

In a certain case, the function was returning without releasing all the
resources.

CID 1220084

10 years agoeina: removing more dead code looking for strange int.
Cedric BAIL [Thu, 5 Jun 2014 01:30:43 +0000 (03:30 +0200)]
eina: removing more dead code looking for strange int.

CID 98377.

10 years agoeina: removing more dead code that expect strange int.
Cedric BAIL [Thu, 5 Jun 2014 01:29:16 +0000 (03:29 +0200)]
eina: removing more dead code that expect strange int.

CID 1039941.

10 years agoeina: remove logically dead code.
Cedric BAIL [Thu, 5 Jun 2014 01:24:46 +0000 (03:24 +0200)]
eina: remove logically dead code.

I am wondering why this code was around, an useless variable and an if
that would never be taken...

CID 1039940.

10 years agoeina: remove logically dead code.
Cedric BAIL [Thu, 5 Jun 2014 01:22:27 +0000 (03:22 +0200)]
eina: remove logically dead code.

Removing this code let me wonder what could be an int value that is not 0,
not < 0 and not > 0...

CID 1039938.

10 years agoeina: let's check for returned value of realloc.
Cedric BAIL [Thu, 5 Jun 2014 01:20:56 +0000 (03:20 +0200)]
eina: let's check for returned value of realloc.

CID 1039689.

10 years agoeina: remove logically dead code.
Cedric BAIL [Thu, 5 Jun 2014 01:10:43 +0000 (03:10 +0200)]
eina: remove logically dead code.

The for loop above would exit with at least length = 0, so < 0 is
just impossible.

CID 1039943.

10 years agoeina: simplifie logic to not go with multiple level of callback for just getting...
Cedric BAIL [Thu, 5 Jun 2014 01:02:06 +0000 (03:02 +0200)]
eina: simplifie logic to not go with multiple level of callback for just getting the first entry in a hash.

CID 1039937.

10 years agoeina: fix possible memory leak on failure in eina_tiler_equal.
Cedric BAIL [Thu, 5 Jun 2014 00:51:54 +0000 (02:51 +0200)]
eina: fix possible memory leak on failure in eina_tiler_equal.

CID 1216618, 1216615, 1216614.

10 years agoeina_cxx: add documentation to the Eina C++ header files.
vitor.sousa [Wed, 4 Jun 2014 20:34:42 +0000 (22:34 +0200)]
eina_cxx: add documentation to the Eina C++ header files.

Summary:
Added documentation to almost all classes that are intended for direct use by the library users.
Marked classes/functions used by the library itself as @internal.
Modified the Doxyfile.in to enable the generation of documentation to the bindings.

Reviewers: felipealmeida, cedric, woohyun, smohanty, raster

CC: savio, cedric
Differential Revision: https://phab.enlightenment.org/D947

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
10 years agoedje: Edje_Edit - add edje_edit_part_access functions.
Vorobiov Vitalii [Wed, 4 Jun 2014 18:03:39 +0000 (20:03 +0200)]
edje: Edje_Edit - add edje_edit_part_access functions.

Summary:
Add two main functions
- edje_edit_part_access_get
- edje_edit_part_access_set
Also support access into part's source code generation.

@feature

Reviewers: seoz, Hermet, raster, cedric

CC: reutskiy.v.v, cedric
Differential Revision: https://phab.enlightenment.org/D946

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
10 years agoedje: Edje_Edit - add edje_edit_part_precide_is_inside functions.
Vorobiov Vitalii [Wed, 4 Jun 2014 18:01:40 +0000 (20:01 +0200)]
edje: Edje_Edit - add edje_edit_part_precide_is_inside functions.

Summary:
Add two main functions
- edje_edit_part_precise_is_inside_get
- edje_edit_part_precise_is_inside_set
Also support precise_is_inside into part's source code generation.

@feature

Reviewers: cedric, seoz, Hermet, raster

CC: reutskiy.v.v, cedric
Differential Revision: https://phab.enlightenment.org/D945

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
10 years agoedje: Edje_Edit - add getters and setters for source2-source6 TEXTBLOCK properties
Andrii Kroitor [Wed, 4 Jun 2014 17:57:10 +0000 (19:57 +0200)]
edje: Edje_Edit - add getters and setters for source2-source6 TEXTBLOCK properties

Reviewers: cedric, raster, seoz, Hermet

CC: reutskiy.v.v, cedric
Differential Revision: https://phab.enlightenment.org/D943

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
10 years agoevas: Evas_3D - Revision frustum culling.
Oleksandr Shcherbina [Wed, 4 Jun 2014 17:46:55 +0000 (19:46 +0200)]
evas: Evas_3D - Revision frustum culling.

Summary:
Add API that checks OBB's points of node are inside frustum of camera.
Add example with frustum culling.

@feature

Reviewers: Hermet, cedric, raster

CC: cedric
Differential Revision: https://phab.enlightenment.org/D942

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
10 years agoedje: Edje_Edit - add edje_edit_part_pointer_mode functions.
Vorobiov Vitalii [Wed, 4 Jun 2014 17:45:28 +0000 (19:45 +0200)]
edje: Edje_Edit - add edje_edit_part_pointer_mode functions.

Summary:
Add two main functions
- edje_edit_part_pointer_mode_get
- edje_edit_part_pointer_mode_set

Also support pointer mode into part's source code generation.
EVAS_OBJECT_POINTER_MODE_AUTOGRAB is default value,
so generation won't add "AUTOGRAB" into source code if this type of
pointer mode is set.

@feature

Reviewers: cedric, seoz, Hermet, raster

Reviewed By: cedric

CC: reutskiy.v.v, cedric
Differential Revision: https://phab.enlightenment.org/D941

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
10 years agoedje: Edje_Edit - add edje_edit_part_copy function that copy parts within whole group.
Vorobiov Vitalii [Wed, 4 Jun 2014 17:39:32 +0000 (19:39 +0200)]
edje: Edje_Edit - add edje_edit_part_copy function that copy parts within whole group.

Summary:
Add ability to copy whole part and create same part but with new name).
This feature also require to slightly remake function edje_edit_state_copy to make
it able to copy state from one part to different one (only for part_copy usage).

@feature

Reviewers: cedric, seoz, raster, Hermet

CC: reutskiy.v.v, cedric
Differential Revision: https://phab.enlightenment.org/D939

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
10 years agogitignore: let's ignore generated binary.
Cedric BAIL [Wed, 4 Jun 2014 17:16:44 +0000 (19:16 +0200)]
gitignore: let's ignore generated binary.

10 years agoedje: Edje_Edit - fix edje_edit_part_source_set
Andrii Kroitor [Wed, 4 Jun 2014 17:15:19 +0000 (19:15 +0200)]
edje: Edje_Edit - fix edje_edit_part_source_set

Summary:
Fixed edje_edit_part_source_set so that it does not destroy TEXTBLOCK.
Changed type check to switch-case to stress allowed types.

@fix

Reviewers: cedric, raster, seoz, Hermet

Reviewed By: cedric

CC: reutskiy.v.v, cedric
Differential Revision: https://phab.enlightenment.org/D931

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
10 years agoC++ bindings: Generate them as part of the build, not pre build.
Tom Hacohen [Wed, 4 Jun 2014 15:14:29 +0000 (16:14 +0100)]
C++ bindings: Generate them as part of the build, not pre build.

There's no reason why it should be forced in with BUILT_SOURCES.
It should be part of the normal build and dependency based (nothing should depend
on it anyway).

This patch fixes that.

10 years agoEvas textblock: Fix crash when cutting ligatures with formats.
Tom Hacohen [Wed, 4 Jun 2014 09:14:24 +0000 (10:14 +0100)]
Evas textblock: Fix crash when cutting ligatures with formats.

"f<color=#f00>i</color>f" could cause textblock to crash. It doesn't
crash anymore. It doesn't render the colours correctly either, but at
least this is the first step.

This is the start of fixing T1308

@bugfix

10 years agoevas: check that we don't use a NULL pointer on wrong frame number.
Cedric BAIL [Tue, 3 Jun 2014 23:18:51 +0000 (01:18 +0200)]
evas: check that we don't use a NULL pointer on wrong frame number.

CID 1220083

10 years agoevas: Examples - fix Evsa3D Eo classnames.
Savio Sena [Tue, 3 Jun 2014 22:45:37 +0000 (00:45 +0200)]
evas: Examples - fix Evsa3D Eo classnames.

Summary: Renamed EVAS_OBJ_.+_CLASS to EVAS_.+_CLASS so that "make examples" works.

@fix

Reviewers: cedric, tasn, Hermet

CC: felipealmeida, smohanty, raster, cedric
Differential Revision: https://phab.enlightenment.org/D935

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
10 years agoedje: Edje_Edit - add sounds list accessor.
Igor Gala [Tue, 3 Jun 2014 22:44:42 +0000 (00:44 +0200)]
edje: Edje_Edit - add sounds list accessor.

Summary:
make "get" functions for block "sounds" which return
a sounds or tones list (Eina_List *) off the given edje object.
@feature

Reviewers: raster, cedric, seoz, Hermet

Reviewed By: cedric

CC: reutskiy.v.v, cedric
Differential Revision: https://phab.enlightenment.org/D932

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
10 years agoedje: Edje_Edit - add new feature edje_edit_image_compression_set.
Maksym Volodin [Tue, 3 Jun 2014 22:38:27 +0000 (00:38 +0200)]
edje: Edje_Edit - add new feature edje_edit_image_compression_set.

Summary:
Set compression type for the given image. Has object being edited,
the name of the image and Edje_Edit_Image_Comp(EDJE_EDIT_IMAGE_COMP_RAW,
EDJE_EDIT_IMAGE_COMP_USER, EDJE_EDIT_IMAGE_COMP_COMP,
EDJE_EDIT_IMAGE_COMP_LOSSY[_ETC1]) as in parametrs.
Return EINA_TRUE if successful, EINA_FALSE - otherwise.

Reviewers: cedric, raster, seoz, Hermet

Reviewed By: cedric

CC: reutskiy.v.v, cedric
Differential Revision: https://phab.enlightenment.org/D929

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
10 years agoFix curl dynamic loading on windows
Raoul Hecky [Tue, 3 Jun 2014 16:09:14 +0000 (18:09 +0200)]
Fix curl dynamic loading on windows

With win-builds.org curl dll name is libcurl-4.dll. Try to load this
correct filename first

10 years agoFix gcc warning about uninitialized variable.
Guillaume Friloux [Tue, 3 Jun 2014 14:37:50 +0000 (16:37 +0200)]
Fix gcc warning about uninitialized variable.

10 years agoEolian CXX: Remove unneeded Eo.h include.
Tom Hacohen [Tue, 3 Jun 2014 12:41:38 +0000 (13:41 +0100)]
Eolian CXX: Remove unneeded Eo.h include.

Eo.h depends on things that are generated by normal Eolian, and because Eolian C++
is generating code pre-build (WHY THE FUCK???), the dependencies are missing.

This removes the stupid include, but a more proper fix would be to move eolian_cxx
to be part of the build process and not pre-build.

10 years agoEo base: Start generating eo_base from the .eo file.
Tom Hacohen [Tue, 3 Jun 2014 10:23:53 +0000 (11:23 +0100)]
Eo base: Start generating eo_base from the .eo file.

10 years agoEfl: Update code to use the new class names generated by eolian.
Tom Hacohen [Mon, 2 Jun 2014 13:47:59 +0000 (14:47 +0100)]
Efl: Update code to use the new class names generated by eolian.

10 years agoEolian cxx: Fix it to use the right class names.
Tom Hacohen [Tue, 3 Jun 2014 09:16:04 +0000 (10:16 +0100)]
Eolian cxx: Fix it to use the right class names.

This is following the class name change in normal eolian.

10 years agoEolian: Use class name and not prefix in the class macro.
Daniel Zaoui [Mon, 2 Jun 2014 12:40:52 +0000 (15:40 +0300)]
Eolian: Use class name and not prefix in the class macro.

So for example a class called Eo_Base with prefix: eo, used to be
generated to EO_CLASS instead of EO_BASE_CLASS.

10 years agoEo: Fix and use the abstract class .eo file.
Tom Hacohen [Mon, 2 Jun 2014 12:09:21 +0000 (13:09 +0100)]
Eo: Fix and use the abstract class .eo file.

Until now it was just there, but never generated or used.

10 years agoEolian: Fix bad behavior when the .eo is incorrect
Daniel Zaoui [Mon, 2 Jun 2014 20:07:46 +0000 (23:07 +0300)]
Eolian: Fix bad behavior when the .eo is incorrect

In this case, the section 'implements' contains bad information about the
function to override. If the first (at least) function is correct, it
will never fail but use the last correct information retrieved from the
database.
The patch fixes it by checking the result of the database function
eolian_implement_information_get.

@fix

10 years agoEolian: Fix class look up.
Daniel Zaoui [Mon, 2 Jun 2014 13:58:35 +0000 (16:58 +0300)]
Eolian: Fix class look up.

If a class (e.g Evas_Object) is expected as a base class but is not
present in the existing expected file (e.g evas_object.eo), it will not
fail.
This patch fixes it by checking the existence of the class into the
database after the parsing of the file.

@fix

10 years agoDont install c++ headers of bindings when --disable-c++11 is used.
Guillaume Friloux [Mon, 2 Jun 2014 13:54:06 +0000 (15:54 +0200)]
Dont install c++ headers of bindings when --disable-c++11 is used.

10 years agoEo base: rename event_freeze_get to event_freeze_count_get.
Tom Hacohen [Mon, 2 Jun 2014 11:49:46 +0000 (12:49 +0100)]
Eo base: rename event_freeze_get to event_freeze_count_get.

This is needed because of a possible clash between the method event_freeze
and the property event_freeze with bindings.

10 years agoeina/file - revert 18be4c50d9990c82ed9ce4269b7820e61f772699
ChunEon Park [Sat, 31 May 2014 09:34:48 +0000 (18:34 +0900)]
eina/file - revert 18be4c50d9990c82ed9ce4269b7820e61f772699

I realized that's not a bug in eina but user usage was inccorect.
revert the patch

@fix

10 years agoevas/blend: oops, missed a variable declaration.
ChunEon Park [Sat, 31 May 2014 05:43:48 +0000 (14:43 +0900)]
evas/blend: oops, missed a variable declaration.

build error by this commit.

aede29e2d4cd49c370b5225196fd267a712d3593

10 years agoevas/blend - disable neon code.
ChunEon Park [Sat, 31 May 2014 05:32:46 +0000 (14:32 +0900)]
evas/blend - disable neon code.

Current neon code is a little buggy, the blend won't be done correctly.
so leave the c code depends on the compiler optimization.

10 years agoEo: Fix docs of functions that have changed in eo2.
Tom Hacohen [Fri, 30 May 2014 13:54:10 +0000 (14:54 +0100)]
Eo: Fix docs of functions that have changed in eo2.

10 years agoFix unused var warning in emotion.
Guillaume Friloux [Fri, 30 May 2014 12:37:42 +0000 (14:37 +0200)]
Fix unused var warning in emotion.

10 years agoFix unused var warning.
Guillaume Friloux [Fri, 30 May 2014 12:34:13 +0000 (14:34 +0200)]
Fix unused var warning.