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

10 years agoEvas textblock: Fix wrong advance calculation when bidi is disabled.
Tom Hacohen [Tue, 27 May 2014 13:18:40 +0000 (14:18 +0100)]
Evas textblock: Fix wrong advance calculation when bidi is disabled.

The last_it was not updated correctly with bidi disabled.

Thanks to Daniel Hirt for spotting this.

@fix

10 years agoedje/epp - clean up memory allocated.
ChunEon Park [Tue, 27 May 2014 13:17:01 +0000 (22:17 +0900)]
edje/epp - clean up memory allocated.

10 years ago[evas/evas-3d] Add OBB and AABB.
Oleksandr Shcherbina [Tue, 27 May 2014 13:07:28 +0000 (22:07 +0900)]
[evas/evas-3d] Add OBB and AABB.

Summary: Add axis-aligned bounding box (AABB) to frame. Set and update AABB and oriented bounding box (OBB) in node.

Reviewers: Hermet, cedric, raster

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

10 years agoedje/edje_cc - intensive null check.
ChunEon Park [Tue, 27 May 2014 13:00:59 +0000 (22:00 +0900)]
edje/edje_cc - intensive null check.

10 years agoecore/ecore_exe - removed duplicated null check.
ChunEon Park [Tue, 27 May 2014 11:44:37 +0000 (20:44 +0900)]
ecore/ecore_exe - removed duplicated null check.

10 years agoecore/ecore_event - logically this check is redundant.
ChunEon Park [Tue, 27 May 2014 11:34:42 +0000 (20:34 +0900)]
ecore/ecore_event - logically this check is redundant.

remove check so that prevent tool doens't notify this anymore.

10 years agoautotools: Add xz as additional tarball format
Stefan Schmidt [Tue, 27 May 2014 09:15:35 +0000 (11:15 +0200)]
autotools: Add xz as additional tarball format

If this turns out well we will remove bz2 in 1.12

10 years agoEolian: fix coverity issues.
Daniel Zaoui [Tue, 27 May 2014 05:18:33 +0000 (08:18 +0300)]
Eolian: fix coverity issues.

CID 1216274
CID 1216275
CID 1216276
CID 1216277
CID 1216278
CID 1216279
CID 1216280

10 years agoEvas rg_etc: Show in the doc that we use BGRA now
Jean-Philippe Andre [Thu, 8 May 2014 01:48:35 +0000 (10:48 +0900)]
Evas rg_etc: Show in the doc that we use BGRA now

10 years agoEvas rg_etc2: Small performance fix
Jean-Philippe Andre [Wed, 7 May 2014 08:08:19 +0000 (17:08 +0900)]
Evas rg_etc2: Small performance fix

Alpha is always 255 otherwise we need to loop around and
clamp the values to 255 anyways.

10 years agoEvas rg_etc1: Also decode RGBA8 from the TGV loader
Jean-Philippe Andre [Wed, 7 May 2014 05:50:29 +0000 (14:50 +0900)]
Evas rg_etc1: Also decode RGBA8 from the TGV loader

10 years agoEvas rg_etc2: Complete support for ETC2 with RGBA8_EAC
Jean-Philippe Andre [Wed, 7 May 2014 05:47:45 +0000 (14:47 +0900)]
Evas rg_etc2: Complete support for ETC2 with RGBA8_EAC

Add support for alpha in the ETC2 decoder.

10 years agoEvas rg_etc2: Use new ETC2 decoder for RGB8_ETC2
Jean-Philippe Andre [Wed, 30 Apr 2014 08:18:50 +0000 (17:18 +0900)]
Evas rg_etc2: Use new ETC2 decoder for RGB8_ETC2

Alpha support is still a TODO.

10 years agoEvas rg_etc2: Add ETC2 decoding routines
Jean-Philippe Andre [Wed, 30 Apr 2014 05:10:33 +0000 (14:10 +0900)]
Evas rg_etc2: Add ETC2 decoding routines

Simple implementation of the OpenGL ES 3.0 specification, annex C.1.

10 years agoEvas rg_etc1: Unroll the decoding loop for performance
Matvey Konovalov [Wed, 30 Apr 2014 05:08:55 +0000 (14:08 +0900)]
Evas rg_etc1: Unroll the decoding loop for performance

Measurements have shown a 40% perf increase with these changes.
Patch by Matvey Konovalov.

Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
10 years agoUpdating galician, lithuanian and adding turkish translations
maxerba [Mon, 26 May 2014 19:36:43 +0000 (21:36 +0200)]
Updating galician, lithuanian and adding turkish translations

10 years agoedje should only match swallow visibility if it's actually a group part
Mike Blumenkrantz [Mon, 26 May 2014 16:23:29 +0000 (12:23 -0400)]
edje should only match swallow visibility if it's actually a group part

fixes visibility of actual swallow parts

10 years agoRevert "Revert "recursively hide edje group objects on edje hide""
Mike Blumenkrantz [Mon, 26 May 2014 16:25:07 +0000 (12:25 -0400)]
Revert "Revert "recursively hide edje group objects on edje hide""

This reverts commit b8ca758658cc71bdfecd45bc2a5b8d31ca5e17fc.

10 years agoRevert "recursively hide edje group objects on edje hide"
Carsten Haitzler (Rasterman) [Mon, 26 May 2014 14:17:33 +0000 (23:17 +0900)]
Revert "recursively hide edje group objects on edje hide"

Unless you like your desktop to look something like:

http://www.enlightenment.org/ss/e-53834e0c0cb3c1.87889787.png

then this commit really needs reverting.

This reverts commit 385326b8e4d7c05794670773aad6ece236ea71d9.

10 years agoupdate po's
Carsten Haitzler (Rasterman) [Mon, 26 May 2014 07:41:39 +0000 (16:41 +0900)]
update po's

10 years agorecursively hide edje group objects on edje hide
zmike [Thu, 22 May 2014 17:39:14 +0000 (13:39 -0400)]
recursively hide edje group objects on edje hide

this massively improves edje performance when using groups, which previously would continue calculating their parts even when their parent object was hidden

CPU usage in my test case went from 20-30% to 1%.

@fix

10 years agoEolian: fix generation when optimization is set.
Daniel Zaoui [Mon, 26 May 2014 12:37:33 +0000 (15:37 +0300)]
Eolian: fix generation when optimization is set.

When using -O2 or -O3, the Eina_Bool legacy_support (unsigned char) was
overriding the int eo_needed.

The result was a failure during options check:
Eo flag is not specified (use --eo). Aborting eo generation.

@fix

10 years agoEolian/Generator: add support to namespaces.
Daniel Zaoui [Sun, 25 May 2014 13:44:50 +0000 (16:44 +0300)]
Eolian/Generator: add support to namespaces.

The C generators now support namespaces generation.

10 years agoEolian: add support of namespaces.
Daniel Zaoui [Sun, 25 May 2014 10:53:49 +0000 (13:53 +0300)]
Eolian: add support of namespaces.

It is now possible to define a class in a .eo file as e.g:
Elm::Widgets::Button.
Elm and Widgets will be the namespaces of the class Button.

@feature

10 years agoEolian: remove unused structures.
Daniel Zaoui [Sun, 25 May 2014 08:39:33 +0000 (11:39 +0300)]
Eolian: remove unused structures.

These structs were belonging to a feature that has been removed cause
not considered as needed.

10 years agoEolian/Tests: add test for events.
Daniel Zaoui [Fri, 23 May 2014 14:38:39 +0000 (17:38 +0300)]
Eolian/Tests: add test for events.

10 years agoEolian: modify API to allow future scalability
Daniel Zaoui [Thu, 22 May 2014 14:24:50 +0000 (17:24 +0300)]
Eolian: modify API to allow future scalability

Until now, the functions giving access to class information were taking
the class name as parameter.
Except the fact that we needed to search into a hash table for the internal
class structure, no flexibility is possible.

This change consists in modifying most of the APIs using the class name
with a new Eolian_Class type and adapt the code of the C and C++
generators accordingly.

10 years agoEolian/Tests: add test for overriding functions
Daniel Zaoui [Wed, 21 May 2014 10:56:31 +0000 (13:56 +0300)]
Eolian/Tests: add test for overriding functions

10 years agoEolian/Tests: add test for consts
Daniel Zaoui [Wed, 21 May 2014 08:39:16 +0000 (11:39 +0300)]
Eolian/Tests: add test for consts

This tests checks the different 'const' possibilities in the .eo file
and their good parsing.

10 years agoEolian: add test for generator.
Daniel Zaoui [Fri, 2 May 2014 16:20:10 +0000 (19:20 +0300)]
Eolian: add test for generator.

The test checks the dev code generator.

10 years agoEolian/Generator: add support for implementation source file.
Daniel Zaoui [Thu, 1 May 2014 12:07:26 +0000 (15:07 +0300)]
Eolian/Generator: add support for implementation source file.

By using -gi option, the generator appends the functions that are
present into the given eo file and missing into the developer file
(given via -o option as an in/out file).

@feature

10 years agoEolian/Tests: move parsing tests to a specific file
Daniel Zaoui [Thu, 1 May 2014 12:05:33 +0000 (15:05 +0300)]
Eolian/Tests: move parsing tests to a specific file

10 years agoEolian: add support for typedefs.
Daniel Zaoui [Wed, 30 Apr 2014 09:03:09 +0000 (12:03 +0300)]
Eolian: add support for typedefs.

It includes parser updates, database fill and tests on basic and complex
types.

One can define types in this way:
type Evas_Coord: int; /* Simple type definition */
type List_Objects: Eina_List * <Eo *>;

@feature

10 years agorelease: Switch back to development mode
Stefan Schmidt [Mon, 26 May 2014 10:45:42 +0000 (12:45 +0200)]
release: Switch back to development mode

Open for 1.11 changes now.

10 years agorelease: v1.10.0 v1.10.0
Stefan Schmidt [Mon, 26 May 2014 09:50:38 +0000 (11:50 +0200)]
release: v1.10.0