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

10 years agoEolian: Add an internal environment for class variables.
Daniel Zaoui [Wed, 28 May 2014 12:46:30 +0000 (15:46 +0300)]
Eolian: Add an internal environment for class variables.

To reduce the invocations to strings conversions, we store the
classname, the Eo prefix in upper and lower cases in global variables.
The problem comes when we have to handle overriding functions. A lot of
conflicts between class base and class inheriting can happen.

The chosen solution is to create independent environments storing the
converted strings.

10 years agoEolian: fix test.
Daniel Zaoui [Wed, 28 May 2014 10:51:49 +0000 (13:51 +0300)]
Eolian: fix test.

Constructor has to be defined in the constructors section and not as a
method.

10 years agoEvas_3d: fix warnings.
Daniel Zaoui [Wed, 28 May 2014 14:24:23 +0000 (17:24 +0300)]
Evas_3d: fix warnings.

10 years agoRevert "Evas: gif decoding bug fix"
Carsten Haitzler (Rasterman) [Thu, 29 May 2014 05:21:54 +0000 (14:21 +0900)]
Revert "Evas: gif decoding bug fix"

This reverts commit 96f9353f4c951dd5dd41a687e272ffe1c28bb9ba.

This breaks gif playing BAAAADLY!

10 years agoecore-drm: convert compose string into utf8
Moritz Bitsch [Thu, 29 May 2014 02:33:20 +0000 (11:33 +0900)]
ecore-drm: convert compose string into utf8

Summary:
Key event string encoding was LATIN1 instead of UTF-8.
This unifies the handling with the x backend.

Reviewers: raster

Reviewed By: raster

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

10 years agoEo/evas events: Fix support of mixing legacy smart events and eo events.
Tom Hacohen [Wed, 28 May 2014 11:28:41 +0000 (12:28 +0100)]
Eo/evas events: Fix support of mixing legacy smart events and eo events.

This merge removes the old hash table and a few other things that were
wrong in the old way of doing things. This should also make things a bit
faster with legacy callbacks.

@fix (no backport, as it's too intrusive)

10 years agoEo legacy events: Add legacy events tests.
Tom Hacohen [Tue, 20 May 2014 14:31:53 +0000 (15:31 +0100)]
Eo legacy events: Add legacy events tests.

These tests test mixing legacy events with eo events.

10 years agoEo: Support mixing legacy and non-legacy callbacks.
Tom Hacohen [Mon, 19 May 2014 14:28:49 +0000 (15:28 +0100)]
Eo: Support mixing legacy and non-legacy callbacks.

10 years agoEo/evas events: Move legacy events dynamic generator to eo.
Tom Hacohen [Mon, 19 May 2014 14:17:08 +0000 (15:17 +0100)]
Eo/evas events: Move legacy events dynamic generator to eo.

10 years agowarning--
Carsten Haitzler (Rasterman) [Wed, 28 May 2014 09:26:51 +0000 (18:26 +0900)]
warning--

10 years ago[Evas/evas_3d_scene] Propagate events.
se.osadchy [Wed, 28 May 2014 09:24:58 +0000 (18:24 +0900)]
[Evas/evas_3d_scene] Propagate events.

Summary: Add 3 new APIs function for full work of the picking nodes.

Reviewers: Hermet, cedric, raster

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

10 years agoC++11 explicit conversion from accessor to bollean
Vitor Sousa [Wed, 28 May 2014 08:54:01 +0000 (17:54 +0900)]
C++11 explicit conversion from accessor to bollean

Summary:
Replaced the "safe bool idiom" by explicit conversion to bollean,
in order to follow the improved conventions of the C++11.

Reviewers: felipealmeida, cedric, woohyun, smohanty, raster

Reviewed By: raster

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

10 years agoCorrection for the macro EINA_CXX_DOM_LOG
Vitor Sousa [Wed, 28 May 2014 08:51:14 +0000 (17:51 +0900)]
Correction for the macro EINA_CXX_DOM_LOG

Summary: The previous definition of EINA_CXX_DOM_LOG could cause a problem if used inside an one-line "if" statement followed by an "else". Changed the top "if" by a "for" statement to avoid this problem.

Reviewers: felipealmeida, cedric, woohyun, smohanty, raster

Reviewed By: raster

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

10 years agoFixed rbegin/rend implementation on the Eina C++ ranges.
Vitor Sousa [Wed, 28 May 2014 08:49:06 +0000 (17:49 +0900)]
Fixed rbegin/rend implementation on the Eina C++ ranges.

Summary:
Fixed the rbegin/rend functions returning switched reverse iterators.
Added code to some unit tests for comparing elements in reverse order, in interest of
checking the correctness of the rbegin/rend functions.

Reviewers: felipealmeida, cedric, woohyun, smohanty, raster

Reviewed By: felipealmeida

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

10 years agoeina-tiler:add union, subtract, intersection, equal apis for tilers
MinJeong Kim [Wed, 28 May 2014 07:34:05 +0000 (16:34 +0900)]
eina-tiler:add union, subtract, intersection, equal apis for tilers

Summary:
Support union, subtract, intersection, equal(comparison) between tilers.
@feature

Test Plan: Test with added test case(src/tests/eina/eina_test_tiler.c) and the example(src/examples/eina/eina_tiler_02.c)

Reviewers: gwanglim, devilhorns, raster, zmike, cedric

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

10 years agoEolian: fix issue for Windows.
Daniel Zaoui [Wed, 28 May 2014 06:32:56 +0000 (09:32 +0300)]
Eolian: fix issue for Windows.

On Windows, '\' are used to separate the names of a path. It was not
supported.
This patch fixes that. Thanks to Vincent Torri for catching it (and good
luck in Windows ;-))

10 years agogl_x11/evas_engine: Prevent dereference before NULL check
Jaehyun Cho [Wed, 28 May 2014 05:32:39 +0000 (14:32 +0900)]
gl_x11/evas_engine: Prevent dereference before NULL check

Summary: re->win pointer was not compared with NULL pointer before re->win was referenced.

Reviewers: Hermet

Reviewed By: Hermet

CC: seoz, cedric
Differential Revision: https://phab.enlightenment.org/D910

10 years agoevas_gl_rectangle: Remove unnecessary conditional expression
Jaehyun Cho [Wed, 28 May 2014 05:29:22 +0000 (14:29 +0900)]
evas_gl_rectangle: Remove unnecessary conditional expression

Summary: The comparison gc->dc with NULL is not necessary. So the unnecessary conditional expression is removed.

Reviewers: Hermet

CC: seoz, cedric
Differential Revision: https://phab.enlightenment.org/D909

10 years agoevas/textblock - apply efl coding style.
ChunEon Park [Wed, 28 May 2014 05:19:46 +0000 (14:19 +0900)]
evas/textblock - apply efl coding style.

10 years agoevas/textblock - removed unnecessary null check.
ChunEon Park [Wed, 28 May 2014 05:14:35 +0000 (14:14 +0900)]
evas/textblock - removed unnecessary null check.

It should be definitely valid.
It's meaningless checking the value there.

10 years agoevas/textblock - null check format.
ChunEon Park [Wed, 28 May 2014 05:07:20 +0000 (14:07 +0900)]
evas/textblock - null check format.

logically it's insane that it doesn't check the null there but it checks right next line.

10 years agoEvas rg_etc2: Fix Windows build
Jean-Philippe Andre [Wed, 28 May 2014 03:04:36 +0000 (12:04 +0900)]
Evas rg_etc2: Fix Windows build

Use unsigned char/int instead of stdint in the header file.

10 years agoevas_draw_main: Remove unnecessary conditional expression
Jaehyun Cho [Wed, 28 May 2014 02:24:56 +0000 (11:24 +0900)]
evas_draw_main: Remove unnecessary conditional expression

Summary: The comparison dc with NULL is not necessary. So remove the unnecessary conditional expression.

Reviewers: Hermet

Reviewed By: Hermet

CC: seoz, cedric
Differential Revision: https://phab.enlightenment.org/D908

10 years agoevas_font_dir: Prevent the use after free
Jaehyun Cho [Wed, 28 May 2014 02:22:51 +0000 (11:22 +0900)]
evas_font_dir: Prevent the use after free

Summary: Pointer fd is used after being deallocated.

Reviewers: Hermet

Reviewed By: Hermet

CC: seoz, cedric
Differential Revision: https://phab.enlightenment.org/D906

10 years agoEolian test: Fix other compilation warnings
Jean-Philippe Andre [Wed, 28 May 2014 02:18:03 +0000 (11:18 +0900)]
Eolian test: Fix other compilation warnings

10 years agoEolian test: Fix test on hardened gentoo
Jean-Philippe Andre [Wed, 28 May 2014 02:12:45 +0000 (11:12 +0900)]
Eolian test: Fix test on hardened gentoo

Invalid snprintf, why declare MAX_PATH and then use PATH_MAX?

10 years agoEvas rg_etc1: Fix build break (with DEBUG)
Jean-Philippe Andre [Tue, 27 May 2014 23:12:29 +0000 (08:12 +0900)]
Evas rg_etc1: Fix build break (with DEBUG)

Ooops, bad code merge here.
This breaks the nightly builds.

10 years agoevas/evas3d - fixed incorrect usage in evas-3d-aabb example.
ChunEon Park [Tue, 27 May 2014 13:41:40 +0000 (22:41 +0900)]
evas/evas3d - fixed incorrect usage in evas-3d-aabb example.

10 years agoRevert "ecore/ecore_event - logically this check is redundant."
ChunEon Park [Tue, 27 May 2014 13:24:44 +0000 (22:24 +0900)]
Revert "ecore/ecore_event - logically this check is redundant."

This reverts commit df60e63bf9968a4528577762a7da262466ac7683.

seems this patch is wrong.