platform/upstream/efl.git
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.

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

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

10 years agoFix warning with undefined ntohl().
Guillaume Friloux [Fri, 30 May 2014 12:15:27 +0000 (14:15 +0200)]
Fix warning with undefined ntohl().

10 years agoFix warnings with sig_atomic_t being a long on FreeBSD.
Guillaume Friloux [Fri, 30 May 2014 12:02:36 +0000 (14:02 +0200)]
Fix warnings with sig_atomic_t being a long on FreeBSD.

10 years agoEo: Add eo_finalize. A func that's called at the end of eo_add.
Tom Hacohen [Fri, 30 May 2014 10:17:36 +0000 (11:17 +0100)]
Eo: Add eo_finalize. A func that's called at the end of eo_add.

This function lets you hook at the end of eo_add and override it for a
class. This is essentially the first step towards killing custom
constructors. Instead of having a custom constructor, you should just
do:
eo_add(CLASS, parent, a_set(3), b_set("eou"));
eo_constructor is called at the beginning for pre-init things.
eo_finalize is called at the end, for actually finalizing and doing
things. This cleans up the API and possibly saves a lot of things that
would have been stupid and slow in the past, like loading an elm widget
with an existing theme, and then changing the theme.

** This breaks Eo ABI, please recompile elementary and everything else that
creates eo objects.

@feature

10 years agoAdd prototype of evas_3d_mesh_aabb_add_to_frame for evas_3d_mesh_loader_md2.c
Guillaume Friloux [Fri, 30 May 2014 09:50:02 +0000 (11:50 +0200)]
Add prototype of evas_3d_mesh_aabb_add_to_frame for evas_3d_mesh_loader_md2.c

10 years agoFix warning with -Wincompatible-pointer-types-discards-qualifiers
Guillaume Friloux [Fri, 30 May 2014 08:43:54 +0000 (10:43 +0200)]
Fix warning with -Wincompatible-pointer-types-discards-qualifiers

10 years agoFix unused param warning when building on non linux.
Guillaume Friloux [Fri, 30 May 2014 08:38:27 +0000 (10:38 +0200)]
Fix unused param warning when building on non linux.

10 years agoRemove warning by adding eina_cpu.h which expose eina_cpu_page_size()
Guillaume Friloux [Fri, 30 May 2014 08:25:05 +0000 (10:25 +0200)]
Remove warning by adding eina_cpu.h which expose eina_cpu_page_size()

10 years agoRemoved double inclusion of eina_thread.h
Guillaume Friloux [Fri, 30 May 2014 08:04:45 +0000 (10:04 +0200)]
Removed double inclusion of eina_thread.h

10 years agoFix warnings in eina_thread.c
Guillaume Friloux [Fri, 30 May 2014 08:01:42 +0000 (10:01 +0200)]
Fix warnings in eina_thread.c

10 years agoFix warnings on calls to iconv, on freebsd.
Guillaume Friloux [Fri, 30 May 2014 07:31:11 +0000 (09:31 +0200)]
Fix warnings on calls to iconv, on freebsd.

10 years agoFix unused var warning when not building on linux.
Guillaume Friloux [Fri, 30 May 2014 07:25:33 +0000 (09:25 +0200)]
Fix unused var warning when not building on linux.

10 years agoevas/evas_3d: fix implicit declaration function call.
ChunEon Park [Thu, 29 May 2014 23:44:08 +0000 (08:44 +0900)]
evas/evas_3d: fix implicit declaration function call.

Thanks JackDaniel for reporting.

10 years agoEvas: Update for giflib 5.1 api change
Doug Newgard [Thu, 29 May 2014 23:29:49 +0000 (08:29 +0900)]
Evas: Update for giflib 5.1 api change

Summary: Slight change in the file close function.

Reviewers: jpeg

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

10 years agoEvas/Textblock: add support for ellipsis values
Daniel Hirt [Thu, 29 May 2014 14:46:45 +0000 (15:46 +0100)]
Evas/Textblock: add support for ellipsis values

Summary:
This enables textblock to support more values other than 1.0.
For 0 <= ellipsis < 1.0, it splits the text such that it fits the
textblock's width. The ellipsis is relatively position according to the
ellipsis value, and characters are removed also relatively.
For example, a value of 0.5 will position the ellipsis right in the
center of the textblock's width, while removing characters equally right
and left from the center.

Basic approach to this feature was to do some work before the layout
process. We calculate the expected total width of the items, and by how
much we exceed from the textblock's width. Afterwards is it just some
careful work to set the boundaries of the width we want to cut, and
deciding which characters we need to removed to fulfill this requirement.
The rest is splitting the text and visually-removing the part we
need to cut.
This is all handled before any logical lines are created, so the
_layout_par function remains almost intact. A designated _ellip_prev_it
field in the Paragraph struct instructs after which item we place the
ellipsis item, if at all.

Note that we keep the fast path for ellipsis 1.0, as heavier work needs
to be done for the other values.

Added tests to evas_suite for a range of ellipsis values.

Also, multiline is unsupported at the moment.
@feature

Test Plan: Anything that uses Evas Textblock (single-line, please)

Reviewers: tasn, id213sin, raster

CC: cedric, JackDanielZ, raster
Differential Revision: https://phab.enlightenment.org/D905

10 years agoEolian: modify 'implement' API parameters.
Daniel Zaoui [Thu, 29 May 2014 11:42:16 +0000 (14:42 +0300)]
Eolian: modify 'implement' API parameters.

The function eolian_implement_information_get was returning strings for
the class and the function. It was written in this way at the beginning
because it was not needed to verify the correctness of the class and
the function.
Now that we have the namespace feature, this function must check it,
meaning that the class and the function are now known.
So we can return them instead of returning the strings.

The generators had to find the class from the classname. It is no more
needed.

The C++ generator has been adapted to this new API.

10 years agoWin64: Fix a bunch of warnings
Jean-Philippe Andre [Thu, 29 May 2014 10:54:22 +0000 (19:54 +0900)]
Win64: Fix a bunch of warnings

Fix invalid casts.
Use printf("%z") where appropriate.
Fix unused variables warnings.

Thanks vtorri for the patch.

@fix

10 years agoEvas: Remove invalid cast and fix warning/bug on windows
Jean-Philippe Andre [Thu, 29 May 2014 08:04:34 +0000 (17:04 +0900)]
Evas: Remove invalid cast and fix warning/bug on windows

On Windows, long is 32 even on Win64.
Thanks Vincent for spotting this.

@fix

10 years agoEo legacy events: Add missing addition to hash table.
Tom Hacohen [Thu, 29 May 2014 08:24:28 +0000 (09:24 +0100)]
Eo legacy events: Add missing addition to hash table.

This rendered the whole thing useless.

Found thanks to coverity.
CID 1216616
CID 1216617

10 years agoevas loader - redo gif fix so it doesn't break everything
Carsten Haitzler (Rasterman) [Thu, 29 May 2014 08:05:27 +0000 (17:05 +0900)]
evas loader - redo gif fix so it doesn't break everything

this fixes 96f9353f4c951dd5dd41a687e272ffe1c28bb9ba so it works right
@fix

10 years agoEolian: modify generators to use internal variables environment.
Daniel Zaoui [Wed, 28 May 2014 14:24:35 +0000 (17:24 +0300)]
Eolian: modify generators to use internal variables environment.

10 years agoEolian: add the super invocation for developer code generation.
Daniel Zaoui [Wed, 28 May 2014 13:17:38 +0000 (16:17 +0300)]
Eolian: add the super invocation for developer code generation.

Now the eo_do_super is invoked for constructors overridding in a
inheriting class.