Commit Graph

35 Commits

Author SHA1 Message Date
WooHyun Jung 59ef5ab8f1 Makefile_Cxx: add include dependency with evas/gesture
Summary:
There was a build break when "make check". This patch will
fix the issue.

Test Plan:
- ./autogen.sh --with-tests=regular --enable-csharp-bindings
- make
- sudo make install
- sudo make check

Reviewers: Jaehyun_Cho, CHAN, zmike, segfaultxavi

Reviewed By: Jaehyun_Cho

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8896
2019-05-15 15:14:15 +09:00
Daniel Kolesa 159e955168 eolian: fix conflicts between eo file names in tests
Fixes T7911.
2019-05-06 17:05:22 +02:00
Lauro Moura c06486ca49 cxx: Fix missing bits from header rename
Reviewed-by: Vincent Torri <vincent.torri@gmail.com>
Differential Revision: https://phab.enlightenment.org/D8811
2019-05-03 08:47:14 +02:00
Lauro Moura cacbd9e58d cxx: Fix eldbus meta include name
Summary:
It should not conflict with Eldbus_Model header

Fixes T7805

Reviewers: vtorri

Reviewed By: vtorri

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7805

Differential Revision: https://phab.enlightenment.org/D8611
2019-04-15 19:20:10 -03:00
Mike Blumenkrantz ad81ef1364 build: define PACKAGE_BUILD_DIR as $(abs_top_builddir) for all test suites
Summary:
this needs to be consistent so that it can be used reliably across suites

also these build flags really need to be consolidated into a single variable
that can be reused

Depends on D6666

Reviewers: devilhorns, bu5hm4n

Reviewed By: bu5hm4n

Subscribers: bu5hm4n, cedric, #committers

Tags: #efl_build

Differential Revision: https://phab.enlightenment.org/D6731
2018-08-08 09:45:30 -04:00
Mike Blumenkrantz 1cff96fb40 build: rewrite remaining $(OBJEXT) rules
fix the naming for these targets based on automake 1.16+ presence and
naming scheme

ref D6594
fix T7154

Differential Revision: https://phab.enlightenment.org/D6675
2018-08-08 12:55:45 +02:00
Lauro Moura 473d5b79c5 efl_cxx: remove eolized promises from the CXX bindings
Summary:
Also added a blacklist header to temporarily disable generation of eo
methods with futures as arguments or return type.

Once the models branch lands, we should enable future support again with
eina_futures.

Reviewers: cedric

Reviewed By: cedric

Differential Revision: https://phab.enlightenment.org/D6018
2018-05-01 10:39:01 -07:00
Lauro Moura 0749a3f6af efl-cxx: Fix installation of efl_part_impl header
It was being installed directly into efl-cxx instead of efl-cxx/cxx.
2018-03-16 11:12:49 -03:00
Felipe Magno de Almeida f869065873 efl-cxx: Fixes in automake Makefiles 2017-12-14 17:42:42 -02:00
Felipe Magno de Almeida e67d6484b8 efl-cxx: Fixes to make dist 2017-12-13 14:13:09 -02:00
Jean-Philippe Andre 09cf282741 cxx: Use per-function guards in efl object
This prevents generation of del().
I also removed constructor, finalize and destructor as I believe this
requires special work with eo_inherit (where did this work go??).
2017-12-05 15:01:45 +09:00
Jean-Philippe Andre 63725d71fd cxx: Implement proper part support (wrt. refs)
It's VERY hacky, but works as expected: no leak, no extra unref. This is
a lucky case of simply overriding efl_part() implementation in C++,
without having to modify the declaration.
2017-12-05 10:14:03 +09:00
Jean-Philippe Andre cfb3365060 cxx: Add strbuf support
Comes in two fashions:
 - strbuf_view (read-only)
 - strbuf (read/write)
2017-12-05 10:09:58 +09:00
Daniel Kolesa 823edb9487 cxx build: update after the evas gesture build fix
The changes in f334f2a504 also need
an update in the C++ build.
2017-10-19 20:15:33 +02:00
Jean-Philippe Andre 0a13e15c7d evas/gesture: Fix up a couple of APIs, add some FIXME
Some things have clearly not been tested. Some APIs have not been
modified after repeated review comments. C++ failed to build due to
"long" being used as a namespace.

Remaining issues:
 - The original finger_list API was broken by design. I didn't try to
   replace it yet.
 - Long tap is also broken by design: if no move happens the recognizer
   gets no event, and doesn't trigger anything when the timeout is
   reached. An API or event is lacking here.
 - Only 2 very basic gestures have been implemented. All the gestures
   from elm_gesture_layer need to be covered. None of the multi touch
   support has been really implemented, except for a single bool flag.
 - The configuration must be loaded from elm_config, passed on to the
   recognizers.
 - Some micro optimization may be required, especially if the input
   device is high frequency (eg. 1KHz gaming mouse).
2017-10-19 12:25:57 +09:00
Felipe Magno de Almeida 80449ef83e elementary-cxx: Make C++ test compile a not used archive so linking can be avoided
Fixes linking errors for some older combos of C++ compiler and linker.

T2838
2017-02-09 21:24:33 -02:00
Felipe Magno de Almeida 70d947901d Rename Efl.hh to Efl.eo.hh in CLEANFILES
This avoid make clean removing Efl.hh in the tree
2017-01-19 22:48:59 -02:00
Felipe Magno de Almeida a1f2db255b cxx: Modify how to generate C++ headers and allow cyclic dependencies
Allow cyclic dependencies in generated C++ headers by changing order
of includes and creating forward declarations.
2017-01-18 22:47:04 -02:00
Felipe Magno de Almeida b06d2510de eolian-js: Fix compilation of JavaScript binding 2016-11-29 16:43:09 -02:00
Lauro Moura 90b6468bbd cxx: Ecore depends on generated eo headers 2016-11-29 16:43:09 -02:00
Felipe Magno de Almeida 2773f8301b eolian-cxx: Normalize variabla name for generated C++ files in automake 2016-10-25 12:23:34 -02:00
Felipe Magno de Almeida eb1fd44dbb cxx: Fix Makefiles for C++ compilation and installation 2016-10-13 17:56:11 +09:00
Stefan Schmidt de8ac30d1a bindings: cxx: add more new files to buildsystem to make sure they land in dist
Another set of new files which have not been referenced and thus never put into
dist.
2016-09-14 18:01:25 +02:00
Stefan Schmidt b62789479d tests: eo_cxx: make sure new header files is included in dist tarball
This new file is available in the src tree but as we do not reference it in the
Makefile it is never put into the dist tarball making distcheck fail.
2016-09-12 13:01:48 +02:00
Felipe Magno de Almeida a63cfcafc7 eolian-cxx: Implement future template class for C++ 2016-09-11 23:44:05 -03:00
Felipe Magno de Almeida 428cf0cbad elementary-cxx: Speed C++ compilation test
Remove unnecessary linking libraries from test so
linking becomes fast
2016-09-03 19:55:19 -03:00
Stefan Schmidt e28bc49bc6 tests: eina_cxx: make sure simple.eo gets disted in all cases
If we turn on release mode simple.eo did not land in the tarball as it was
behind the EFL_ENABLE_TESTS condition. We now dist it in all cases.
2016-07-18 15:56:50 +02:00
Felipe Magno de Almeida 8071109a70 elementary-cxx: Fix Elementary.hh header to #define EFL_EO_API_SUPPORT 2016-06-15 15:50:04 -03:00
Stefan Schmidt 3fd8322307 eina_cxx: make sure we ship eina_deleter.hh with our distribution
IN commit 8906998ef2 this new file was added but
never made sure that it actually gets shipped.
2016-06-15 12:13:36 +02:00
Stefan Schmidt 93eadd76d6 build: split EXTRA_DIST files in src/ off from DISTFILES and handle separately
This is again to avoid the "Argument list too long" error we are hitting more and
more now. Given we just merged elementary, emotion generic players, evas generic
loaders and elm_code it is not surprising we are hitting it again.

This time the number of files being hold in DISTFILES has just grown to big so a
make dist was no longer possible. If one looks at what the DISTFILES variable
from automake holds you can image it grows a lot with all the source files plus
generated files we have in tree now.

DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)

To cut off a big chunk but still keep all the other automagic in place for
SOURCE files I went and renamed the EXTRA_DIST in src/ to EXTRA_DIST2 and handle
the files in a dist-hook now.

Another thing to note here is that this also only happens as we have the one big
Makefile with includes. If we go back to per directory Makefiles this problem
should vanish as well. In any case we need a solution for 1.18 now and this is
what I have to offer. If you have a cleaner solution in mind feel welcome to
test it out and if everything we need keeps working (make, make examples,
make check, make benchmark, make dist and make distcheck) go ahead.
2016-06-10 13:04:18 +02:00
Felipe Magno de Almeida b2a07ca150 eo-cxx: Remove commented headers 2016-06-06 04:09:23 -03:00
Felipe Magno de Almeida 2a3d7860db eolian-cxx: Rewrite to accomodate new features of the C++ binding 2016-06-06 02:54:36 -03:00
Stefan Schmidt c785089f26 build: cxx bindings: make sure we ship needed headers in distribution
Ecore.hh and eina_workarounds.hh have not been shipped in the dist and thus
failed the build.
2016-05-24 10:47:22 +02:00
Stefan Schmidt d549b4d705 build: cxx binding: fix typo in file path to be cleaned 2016-05-24 10:16:06 +02:00
Felipe Magno de Almeida e3c8b280c6 c++: Reorganized C++ binding generation
Moved all generation to a single Makefile_Cxx.am file instead of
throughout the whole project. And fixed C++ generation on Elementary
after elm merge.
2016-05-23 15:05:50 -03:00