Commit Graph

25655 Commits

Author SHA1 Message Date
Stefan Schmidt 435f9eaac3 configure: Print out eolian_cxx path in summary if set 2014-05-05 11:46:36 +02:00
Mike Blumenkrantz caf27c4fc3 eldbus-codegen no longer passes garbage values to error callbacks
@fix
2014-05-04 20:37:27 -04:00
Cedric Bail faf8f51ff6 autotools: add our own macro that disable anything not really C++11. 2014-05-04 13:55:37 +02:00
Cedric Bail 70a0ebeef2 autotools: fix typos for autodetecting C++11. 2014-05-04 13:24:30 +02:00
Cedric Bail 5c7c38c025 eolian_cxx: oops, forgot to disable build of Eolian_Cxx if C++11 is not available. 2014-05-04 13:11:11 +02:00
Felipe Magno de Almeida 8149823897 eolian-cxx: fix make distcheck and automake files for Eolian C++
Summary:
Fixed distcheck for Eolian C++. Made the generated files as
nodist so it doesn't get picked up for generation way too
early.

Reviewers: cedric, seoz

CC: cedric

Maniphest Tasks: T1220

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

Signed-off-by: Cedric Bail <cedric.bail@free.fr>
2014-05-04 12:21:30 +02:00
Daniel Zaoui 05963f4052 Eolian: Fix support of virtual constructors. 2014-05-04 09:36:02 +03:00
Daniel Zaoui 9cd038fb36 Eolian: Fix Coverity issue CID1210805.
The list is not used anymore so it can be removed.
2014-05-04 07:41:46 +03:00
Cedric Bail 0c0fe54c73 eolian_cxx: add forgotten include for packaging. 2014-05-04 02:17:45 +02:00
Cedric Bail 3924b8c3fe eolian_cxx: fix include for cross compiling on Windows. 2014-05-04 01:58:53 +02:00
Cedric Bail 4bf0a64358 evas: let's not leak on failure.
CID 1210815
2014-05-04 00:20:12 +02:00
Cedric Bail d590ad8041 evas: reuse buffer instead of leaking it.
CID 1210816
2014-05-04 00:18:55 +02:00
Cedric Bail 202b3ad6ba evas: behave nicely with unitialized data.
CID 1210818

It would be a better and more working fix to use Evas_GL_Image, sadly
no time to do it right now and may be to intrusive for an alpha release.
2014-05-04 00:16:35 +02:00
Cedric Bail ede36d8382 evas: fix use of uninitialized pointer.
CID 1210819
2014-05-04 00:14:52 +02:00
Savio Sena 46b6e8a563 eolian_cxx: initial version of the EFL C++ Bindings Generator.
Summary:
This patch adds 'eolian_cxx' -- a C++ bindings generator --
to the EFL tree. Eolian Cxx uses Eolian API to read .eo files and generate
.eo.hh. It relies/depends on Eo Cxx and Eina Cxx (both non-generated
bindings).

src/bin/eolian_cxx: The eolian_cxx program.
src/lib/eolian_cxx: A header-only library that implements the C++ code
generation that binds the .eo classes.

=Examples=

src/examples/eolian_cxx/eolian_cxx_simple_01.cc: The simplest example,
it just uses some "dummy" generated C++ classes.

src/examples/eolian_cxx/eolian_cxx_inherit_01.cc: Illustrates how
pure C++ classes inherit from .eo generated classes.

src/examples/evas/evas_cxx_rectangle.cc: More realistic example using
the generated bindings Evas Cxx. Still a bit shallow because we don't
have full fledged .eo descriptions yet, but will be improved.

=Important=

The generated code is not supported and not a stable API/ABI. It is
here to gather people interest and get review before we set things in
stone for release 1.11.

@feature

Reviewers: cedric, smohanty, raster, stefan_schmidt

CC: felipealmeida, JackDanielZ, cedric, stefan

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

Signed-off-by: Cedric Bail <cedric.bail@free.fr>
2014-05-03 00:56:32 +02:00
Felipe Magno de Almeida 64c6c63725 eina-cxx: add eina_integer_sequence, eina_optional and their tests.
Summary: eina::optional mimics C++14 std::optional behavior and semantics.

Reviewers: felipealmeida, cedric, smohanty, woohyun, raster

CC: cedric

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

Signed-off-by: Cedric Bail <cedric.bail@free.fr>
2014-05-03 00:53:31 +02:00
Savio Sena 98efcdcd63 eet-cxx: remove unused typedef.
Summary: This patch removes warnings.

Reviewers: cedric, smohanty, felipealmeida

CC: cedric

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

Signed-off-by: Cedric Bail <cedric.bail@free.fr>
2014-05-02 08:19:02 +02:00
Tom Hacohen 1fe084b78c Eo: Made some functions class functions again.
This broke in the transition to Eo2.
2014-05-01 13:58:27 +01:00
Tom Hacohen e699087521 Eo: fixed misleading indentation. 2014-05-01 13:28:30 +01:00
Cedric Bail 36e8daf187 evas: protect against lacking light. 2014-05-01 12:05:37 +02:00
Cedric Bail 3f46fe2742 evas: don't track Evas_3D examples. 2014-05-01 12:05:37 +02:00
Cedric Bail bb47730b6d evas: make evas_3d_node_add visible to others. 2014-05-01 12:05:36 +02:00
Cedric Bail bcfae42b3c evas: fix Evas_3D examples to use Eo API. 2014-05-01 12:05:32 +02:00
Stefan Schmidt 07c3edec4a configure: Only allow wayland + egl with opengl ES
We only support the Wayland EGL engine build with OpenGL ES but not full
OpenGL. Reflect this in our configure to avoid compile errors after a
successful configure run. Fixes T1202
@fix
2014-04-30 16:39:33 +02:00
ChunEon Park a238e091d6 evas/evas3d: rewrite evas-3d-md2 example with eo based. 2014-04-30 22:02:23 +09:00
ChunEon Park 4c35b22c2a evas/evas3d: rewrite evas-3d-cube2 example with eo based. 2014-04-30 21:40:47 +09:00
ChunEon Park 862488083b evas/evas3d: cleanup cube example code.
fixed eo grammar error.
added static keywords for internal variables.
include eo header explicitly.
fixed indentation.
2014-04-30 21:36:04 +09:00
ChunEon Park 387bd78921 evas/evas3d: removed unnecessary header include. 2014-04-30 21:11:48 +09:00
ChunEon Park 4a70c3aea8 evas/evas_3d: rewrite evas_3d_cube eo based.
still evas_3d_node_add() call should be changed to eo_add().
2014-04-30 20:37:20 +09:00
ChunEon Park fac0ab79b0 evas/evas3d: exceptional handling if a camera doesn't set to a scene. 2014-04-30 20:24:20 +09:00
Daniel Zaoui 0fdd06c73b Eolian: fix prints 2014-04-30 14:07:09 +03:00
Jean-Philippe Andre 27650fb94a Evas filters: Fix parsing of instructions with unnamed arguments 2014-04-30 14:52:39 +09:00
Jean-Philippe Andre 64baafe176 Evas filters: Premultiply colors after parsing integers 2014-04-30 14:52:39 +09:00
Carsten Haitzler d237f2236d return stride for yuv formats as width in bytes (y width). 2014-04-29 23:11:23 +09:00
Stefan Schmidt 7797546d7f build/lcov/: Disable coverage for external headers
Some gcc header sneaked in before but with the new lcov option
we can avoid this.
2014-04-29 14:48:06 +02:00
Stefan Schmidt 9a1151c1bd build: Fix coevrage build with eolian and lcov 1.10
Mixing up the new eolian test with its generated eo_lexer code and a new
version of lcov like 1.10. It works fine with lcov 1.6.

The problem is that this combination somhow triggers a wrong file path
with filename NONE. It was only triggered when adding the eolian test
suite so its a combination here.

For now we use this bandaid to remove the broken files. Need to find a
way to report this to lcov upstream.
2014-04-29 13:55:56 +02:00
Jean-Philippe Andre fa9f7a4c89 Evas: Fix stretching of ETC1/2 textures
ETC1/2 textures are (for now) allocated one by one for each image,
because we use only glCompressedTexImage (not SubImage). So,
the texture height must fit that of its content.

This commit bypasses the usual pool allocation logic where textures
are rounded up to the next multiple of 16 pixels in height, in
case of ETC1/2.
2014-04-29 15:48:47 +09:00
ChunEon Park c399017cef evas - removed unncessary header include
it's already done in evas_common_private.h. no need it in each file.
2014-04-29 15:44:29 +09:00
ChunEon Park 6904354fed ecore/example: --warning.
use scanf() return value for removing compiling warning.
2014-04-29 14:04:10 +09:00
Jean-Philippe Andre a0fc68ee11 Evas GL: Fix invalid definitions of ETC2 GLenum
Bad copy and paste.
2014-04-29 09:03:41 +09:00
Jean-Philippe Andre 8c2e98b840 Evas: Fix wrong comment 2014-04-29 09:03:40 +09:00
Mike Blumenkrantz 7823b187d9 edje_cc now requires quotes for using lazEDC block naming
this was making syntax errors much harder to debug and only served the purpose of further enabling shitty, nonconformant edc creating. removing now before it becomes an api break
2014-04-28 10:17:23 -04:00
Cedric Bail bb1d1c4f2a autotools: remove left over from optional Evas 3D support. 2014-04-28 13:52:40 +02:00
ChunEon Park 78142d0566 evas/gl - make simple.
it already prints error msg inside new functions.
2014-04-28 20:51:02 +09:00
Stefan Schmidt aa4418e14a release: v1.10.0 alpha1 2014-04-28 13:00:32 +02:00
Daniel Zaoui 8d8ab37b4d Eolian/Tests: fix distcheck.
The .eo file was not added into EXTRA_DIST and as consequence the test
was failing during distcheck.
2014-04-28 12:05:27 +03:00
Daniel Zaoui a4ec4a6019 Eolian: update cmake.
The change is needed for applications that want to use the installed .eo files
(currently of efl and elementary).
2014-04-28 11:26:46 +03:00
Daniel Zaoui 183ecab18b Eolian: add API to retrieve the file name of a class 2014-04-28 08:46:19 +03:00
Cedric Bail 17debde44b emotion: remove warning. 2014-04-27 20:43:14 +02:00
Daniel Zaoui fea029a0a3 Eolian: add API to parse all the .eo files. 2014-04-27 16:25:23 +03:00