Commit Graph

478 Commits

Author SHA1 Message Date
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
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
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
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
Cedric Bail bb1d1c4f2a autotools: remove left over from optional Evas 3D support. 2014-04-28 13:52:40 +02:00
Stefan Schmidt aa4418e14a release: v1.10.0 alpha1 2014-04-28 13:00:32 +02:00
Cedric Bail 335e8c0b91 autotools: enable lua old support before testing for it. 2014-04-27 12:02:53 +02:00
Jean-Philippe Andre 72b959239d Evas: Add lua support for evas
Since Lua is already a dependency for Edje, I believe it is safe
to add it as a dependency for Evas as well.

This will be used to replace the (bad) scripting language used for
the Evas filters (text effects).
2014-04-27 17:40:55 +09:00
Cedric Bail b1342d933d evas: our API are always build in, only the header require define to be used. 2014-04-25 16:41:08 +02:00
Taekyun Kim 8fda631730 Evas: 3D: Introducing 3D scene rendering features
Enable 3D features using --enable-evas-3d=yes when configuring.
APIs are exposed through Evas_3D.h.
Currently, evas-3d is being supported only on gl_x11 engine.

Conflicts:

	src/lib/evas/Evas_Eo.h
2014-04-25 16:15:41 +09:00
Stefan Schmidt 164233ffb6 Revert "build: Temporary disable debug log output during coverage"
This reverts commit 02a5a6bfea.

Daniel fixed the underlaying problem in eolian debug statements which should
make this band aid unnecessary.
2014-04-15 15:24:51 +02:00
Daniel Zaoui e4ab76c397 Eolian: add support for cmake
Now with the file :-)
2014-04-14 13:55:26 +03:00
Stefan Schmidt 02a5a6bfea build: Temporary disable debug log output during coverage
Due to the amount of generated debug messages from eolion generation
we end up with 3.8GB log files for elm builds when efl was build with
coverage enabled. Temporary disable this until eolion is fixed and
we can turn it on again.
2014-04-14 12:23:25 +02:00
Tom Hacohen 09b46fa668 Revert "Eolian: add support for cmake"
You forgot to add the file, you broke compilation for everyone.

This reverts commit df6ef6aa78.
2014-04-14 11:04:36 +01:00
Daniel Zaoui df6ef6aa78 Eolian: add support for cmake 2014-04-14 12:42:21 +03:00
Carsten Haitzler c940d00c9f set default help info for multisense to match new default on state 2014-04-11 15:18:21 +09:00
Carsten Haitzler 069940d026 turn multisense on by default since ecore_audio is already 2014-04-10 18:04:09 +09:00
Ryuan Choi 89d6e0b142 configure: Fix the possible build break after 83af91c8b
Added eet into internal dependencies for ecore_evas_connect, ethumb, ethumb_client

I got below errors for ecore_evas_connect, ethumb, ethumb_client

lib/evas/.libs/libevas.so: undefined reference to `eet_data_image_colorspace_get'
lib/evas/.libs/libevas.so: undefined reference to `eet_data_image_read_to_cspace_surface_cipher'
collect2: error: ld returned 1 exit status
2014-04-07 10:21:19 +09:00
Cedric BAIL 2c4ae3fe6f autotools: better fix for rewriting content of src/Makefile 2014-04-02 10:31:34 +09:00
Cedric BAIL 5009030d41 autotools: fix to many argument on shell script during make check
The autogenerated check macro by autotools lead to a huge number of file
being added on the command line of a script, when the only things it does
is to test for the definition of those strings.

Hoping this is going to fix the problem. If that doesn't we will need to write
our own CHECK macro here.
2014-04-01 22:00:54 +09:00
Cedric BAIL b56d7bba60 evas: add benchmark for TGV loader and saver. 2014-04-01 22:00:14 +09:00
Cedric BAIL 961ecab040 evas: add a tgv loader.
The TGV file format is specifically created for Evas. It is designed to allow
region decompression and parallele decompression with a fast path for GPU that
do handle ETC1 compression. Plan for adding other compression method will come
later.
2014-04-01 22:00:13 +09:00
Felipe Magno de Almeida ab3eb4b2d3 eet-cxx: add implementation for eet C++.
Usage example:

  struct type
  {
    int foo;
    float bar;
  };

  type t0;

  auto descriptor = make_descriptor("type", &type::ofo, &type::bar);

  eet_data_write(file, descriptor.native_handle(), "type", &t0, false);

  std::unique_ptr<type> p = read_by_ptr(file, "type", descriptor);
  type t = read(file, "type", descriptor);

@feature

Reviewers: cedric, smohanty

Reviewed By: cedric

CC: savio, cedric

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

Signed-off-by: Cedric BAIL <cedric.bail@free.fr>
2014-04-01 22:00:13 +09:00
Stefan Schmidt 3cc0e400cd build: Disallow non-working sdl + opengl ES combination
To build SDL with OpenGL ES we need a SDL version which ships these headers
which only starts with SDL 2.x. So we only allow it for full OpenGL right
now until someone wants to port our code over to SDL 2.x

Fixes T856
@fix
2014-03-26 09:12:23 +01:00
Jean-Philippe Andre 1edf113ec0 configure.ac: Print eolian_gen if specified with --with-bin-eolian-gen 2014-03-21 15:52:10 +09:00
Carsten Haitzler 19b1f1cd27 oops - remove debug echo 2014-03-21 15:49:59 +09:00
Carsten Haitzler f48741d93d fix dbus service file complaint to work again. 2014-03-20 17:21:16 +09:00
Alex-P. Natsios fa2b1b3d30 evas: improve portability for BSD system.
configure: fix prerequisite header issue

Summary:
in some platforms like openBSD <sys/socket.h> must be included before
net/if.h

the canonical way to ensure that with autotools is by providing that
fourth directive.

evas: use MAP_ANON instead of MAP_ANONYMOUS

Stupid unpredictable standards (or not so standard).
MAP_ANON exists and is defined almost anywhere unlike MAP_ANONYMOUS

Let's use that for portability's sake (they are practically identical
anyway)

Reviewers: raster, cedric

Reviewed By: cedric

CC: cedric

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

Signed-off-by: Cedric BAIL <cedric.bail@free.fr>
2014-03-15 19:58:08 +09:00
Jérémy Zurcher 995eac166a eolian: generate eo_lexer.c with ragel if available 2014-03-10 18:15:25 +01:00
Chris Michael 2d3cb24e4d ecore-drm: Add dependency on xkbcommon
@feature: Add xkbcommon as a dependency for ecore_drm so we can
process input keys

In order for keyboard input to work for ecore_evas_drm, we will need
to translate keypress events into meaningful key names, so require
xkbcommon to deal with the translation.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-03-10 12:40:30 +00:00
Gustavo Sverzut Barbieri 6bd0392339 configure alerts: be smarter regarding dbus and cover systemd.
Some people (I'm one of them) will do user-local builds of EFL and
don't want to install services in /usr, or provide links, rather
choosing to install in ~/.local/share/dbus-1. Then figure out this
case and do not show an alert when the setup is ready.

As we mention $XDG_DATA_DIRS in our alert, we should not do the alert
when the user follows its recommendation. This is now checked.

And handle systemd services if they are used.
2014-03-10 00:09:13 -03:00
Gustavo Sverzut Barbieri c52da37d0b link dbus and systemd services, allows systemd activation.
If the dbus service contains SystemdService entry and the dbus-daemon
is started with --systemd-activation, then requests for services on
the user session bus will be handled by systemd, creating cgroups and
being handled as native systemd services of Type=dbus.
2014-03-10 00:09:12 -03:00
Ryuan Choi c2bdda6f9b Fix build break because of evas_object_line_class_get
Added edje into internal dependencies for ethumb_client.

I got below error.
/usr/elocal/lib/libedje.so.1: undefined reference to `evas_object_line_class_get'
collect2: error: ld returned 1 exit status
make[4]: *** [bin/ethumb_client/ethumbd] Error 1
make[4]: *** Waiting for unfinished jobs....
2014-03-09 09:14:45 +09:00
Chris Michael 83dce935f5 efl: Fix build with drm disabled
@bugfix: Drm is optional, so ecore-evas should not internally depend
on it unless ecore-drm is found.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-03-06 12:36:53 +00:00
Chris Michael e2357578d3 ecore-drm: Add configure.ac autofoo for ecore-drm
@feature: This adds necessary dependencies for ecore_drm library to
build.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-03-06 10:57:26 +00:00
Joel Klinghed 0f1883df9a efl: Use actual destination dirs in warning about using non-standard prefix
Summary:
Instead of relying on ${prefix}/share to be the default for ${datadir} or
${dbusservicedir} use the actual paths where the files will be placed.

Somewhat tricky because of autoconfs desire to keep prefix changeable but
continuously evaluating the variables until they don't change work.

Reviewers: raster, englebass

Reviewed By: raster

CC: cedric, stefan_schmidt

Differential Revision: https://phab.enlightenment.org/D581
2014-03-06 19:28:20 +09:00
Daniel Zaoui 49822ec28d Eolian: remove Ecore_File dependency 2014-03-03 18:14:14 +02:00
Tom Hacohen fabea6399c Eolian: Added an helper to call eolian_gen from within the project. 2014-03-03 14:09:54 +02:00
Tom Hacohen 5a4f68d472 Eolian: Added eolian to the build system. 2014-03-03 14:09:53 +02:00
Chris Michael 5267daa9ae evas-drm: Rename drm hardware acceleration option
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-02-28 13:11:42 +00:00
Chris Michael 0ebdaec9cd evas-drm: Fix configure.ac typo for drm hw accel argument
@bugfix: Fix typo in configure.ac file for drm hardware acceleration

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-02-28 13:09:14 +00:00
Chris Michael 437654c6b5 evas-drm: Add option to enable drm hardware acceleration
@feature: Start on drm hardware acceleration

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-02-28 13:08:57 +00:00
Snacker (Vladimir) 8e17290f19 @feature - Apply NEON intrisics improvement to rotation 2014-02-28 07:04:52 +09:00
Stefan Schmidt 3f1c866b50 configure: Bump version to 1.9.99 to indicate development cycle
1.9 is released and the master branch is now in development mode
again. Make sure the version indicates that.
2014-02-26 09:25:44 +01:00
Joel Klinghed 19e118cd8f ecore_avahi: Use result of pkg-config avahi-client when building
Summary: Fix avahi-client detection

Reviewers: cedric

Reviewed By: cedric

CC: cedric

Differential Revision: https://phab.enlightenment.org/D580
2014-02-25 18:39:34 -03:00
Felipe Magno de Almeida f279225a63 eina: add a C++ bindings to Eina @feature.
The goal of this library is to make the life of C++ developers easier
when having to manipulate Eina datatype by providing a layer to abstract
those data type in C++. Check examples for now. Documentation will come
soon, but we are pushing that rather sooner to get feedback on those bindings.

As you will notice, this library is just composed of headers. There is no .so
and we do think it is better this way. Reducing ABI and API stability issue for
applications developers who are the primary target of this binding.

Also please note that you will need to have C++11 to use this binding.

Signed-off-by: Cedric Bail <cedric.bail@free.fr>
2014-02-25 18:05:01 -03:00
Stefan Schmidt 3ac51e3fee Release version 1.9.0 2014-02-24 17:20:02 +01:00
Sebastian Dransfeld 2b02809268 fix previous commit 768df672
Need /share added to path as well.
2014-02-24 12:50:40 +01:00
Sebastian Dransfeld 768df67275 configure: add optional solution to alert
XDG_DATA_DIRS are searched by dbus. So if prefix is added before dbus is
started, it will find the services.
2014-02-24 12:47:09 +01:00