path: root/src/ (follow)
AgeCommit message (Collapse)Author
2016-06-23ecore: fix Windows build by properly defining EAPI in all case for internal ↵Cedric BAIL
API user.
2016-06-22ecore: fix arguments to use Eo native array type.Cedric BAIL
2016-06-21build: clean generated js and lua files manually to avoid problems with ↵Stefan Schmidt
CLEANFILES We hit another argument too long error with CLEANFILES. Moving the generated files for js and lua into separated variables and cleaning them manually fixes the issue.
2016-06-10build: split EXTRA_DIST files in src/ off from DISTFILES and handle separatelyStefan Schmidt
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-03ecore: Efl.Timer should be Efl.Loop.Timer for coherence.Cedric BAIL
As we add more object in the main loop, they can't live in the top namespace as they make little sense there (Efl.Fd !). For coherence, everyone should in the loop namespace, so move timer there.
2016-06-03ecore: remove Ecore_Animator Eo object.Cedric BAIL
This is only a legacy API.
2016-05-31efl test suite - test args event and args valuesCarsten Haitzler (Rasterman)
2016-05-30efl loop - add an args event and ability to produce itCarsten Haitzler (Rasterman)
this is an args event. right now we don't use it, but this should be done by some of the setup/init of an app and then produce an args event. the idea would be that this can be used by single-instance apps like web browsers, terminology to treat launch as an event.
2016-05-23c++: Reorganized C++ binding generationFelipe Magno de Almeida
Moved all generation to a single file instead of throughout the whole project. And fixed C++ generation on Elementary after elm merge.
2016-05-18ecore audio test - improve samples for ecore audio testCarsten Haitzler (Rasterman)
2016-05-06ecore: add Efl.Loop.Fd.Cedric BAIL
This allow you to monitor fd and get notification using Eo events. I have not implemented the buffered read as used by X. I think that if this is useful, we should just do another class to handle bufferred fd.
2016-05-06Ecore.h wants efl_timer.eo.legacy.h so lets make sure it is thereCarsten Haitzler (Rasterman)
so ensure it is generated AND installed. otherwise good luck building anything against efl.
2016-05-05ecore: add an efl.loop_user class.Cedric BAIL
2016-05-04ecore: rename ecore_timer to efl_timer.Cedric BAIL
2016-05-03ecore: remove dead Ecore_Job eo object.Cedric BAIL
2016-05-02ecore: add test case for Efl.Loop.Job.Cedric Bail
2016-04-21ecore: rename Ecore_Mainloop to Efl.Loop.Cedric BAIL
2016-04-21ecore: move ecore idle exiter to relly on the factorized main loop event.Cedric BAIL
2016-04-21ecore: use new refactorized idle infrastructure to make idle enterer rely on ↵Cedric BAIL
mainloop events
2016-04-21ecore: move Ecore_Idler to legacy and rely on Eo event restart capability.Cedric BAIL
2016-04-15autotools: fix make distcheck.Cedric Bail
2016-04-05ecore: add tests for promises with ecore_thread_promise_runFelipe Magno de Almeida
Signed-off-by: Cedric Bail <>
2016-04-05ecore: add promise for Ecore_ThreadFelipe Magno de Almeida
Add ecore_thread_promise_run function that returns a Promise and runs function in another thread which you can set the value on a Eina_Promise_Owner. Eina_Promise* promise; Ecore_Thread* thread = ecore_thread_promise_run ( &function_heavy, &cancellation_function, private_data, sizeof(ValueType), &promise); This calls function_heavy on another thread and returns the Ecore_Thread and a Eina_Promise as an out-parameter. Signed-off-by: Cedric Bail <>
2016-03-31build: keep our CLEANFILES tidy to avoid argument list too long during cleanStefan Schmidt
We have been putting the generated eo files and BUILT_SOURCES into CLEANFILES several times. So far this have not been a real problem but with the elm merge and more and more eo files showing up this did explode recently. During make distcheck a lot of files kept being around and make complained about them. It took some digging to find the arguments list to long error. If you want details on this great limitation have a look here: In our case we have been lucky enough that we just appened many files over and over again. Not doing that solves the issue for now. My testing showed no problems but if I missed something let me know. Fixes T3386
2016-03-08Revert "ecore: Create Promises"Tom Hacohen
Reverting this at Felipe's request following my email. There are many things I strongly object to in this commit. I've touched the surface of those on the ML (which doesn't work at the moment), though we need to better discuss it. The gist: 1. dlsym is a really bad hack that is not even needed. 2. I don't see why eo should even be aware of promises. It's not aware of list, hash and etc. 3. The eolian changes were done wrong. This should have been discussed and consulted before done, even if only because of the amount of hacks it includes and the cross-domain (ecore, eo and eolian) nature of it. This reverts commit f9ba80ab33e0b94dad7ec103e6d261a644f7835f.
2016-03-06ecore: Create PromisesFelipe Magno de Almeida
Add a promise object that allows Eolian interface to include promises as a way to have asynchronous value return and composibility. The usage is like this in a .eo file: class Foo { methods { bar { params { promise: Promise<int>; } } } } Which will create the following API interface: void foo_bar(Ecore_Promise** promise); and the equivalent declaration for implementation. However, the API function will instantiate the Promise for the user and the implementer of the class.
2016-02-09ecore: create ecore_types.eot and add Ecore.Time to itVitor Sousa
Create the file ecore_types.eot to hold common types related with Ecore. Add Ecore.Time as an external type to ecore_types.eot. This type is intended to be a alias to struct tm (from time.h). That way .eo files have a standard way to reference it. Each language should manually bind it.
2015-12-23efl-js: JavaScript Eolian bindingFelipe Magno de Almeida
To configure efl sources with bindings to use in nodejs add ––with-js=nodejs in configure flags to generate node files $ configure --with-js=nodejs and compile normally with: $ make $ make install To use, you have to require efl: efl = require('efl') The bindings is divided in two parts: generated and manually written. The generation uses the Eolian library for parsing Eo files and generate C++ code that is compiled against V8 interpreter library to create a efl.node file that can be required in a node.js instance. @feature
2015-05-08Ecore tests: REMOVE wayland tests.Tom Hacohen
These tests aren't really testing anything, and are just broken and annoying. They only test init and shutdown, and they require a running wayland compositor. They fail for anyone that has wayland enabled but not running in a wayland session. They should be brought back once they actual test something, or once we allow skipping tests that can't be run due to environment issues.
2015-05-07Revert "autotools: enable make check per individual modules."Stefan Schmidt
This reverts commit 35119e7bfdc7c13c2041293f3d0b2ebe1fb7c313. Reverted to bring make check back in a working state. Also the way we want to handle a more modular testing needs discussion.
2015-05-07autotools: enable make check per individual modules.kabeer khan
Currently make check runs tests of whole EFL.Enabled running of tests of individual modules by make check-<modulename> Signed-off-by: kabeer khan <> Signed-off-by: Cedric BAIL <>
2015-04-06ecore_con: Split ecore_con test suite from ecore.Srivardhan Hebbar
Summary: Have created ecore_con test suite. Signed-off-by: Srivardhan Hebbar <> Reviewers: cedric, Sergeant_Whitespace, stefan_schmidt Subscribers: stefan_schmidt, Sergeant_Whitespace, cedric Maniphest Tasks: T2235 Differential Revision:
2015-03-12ecore: cosmetic grouping if that belong together.Cedric BAIL
2015-03-11tests/ecore: Make sure server keys end up in dist so the ecore ssl tests workStefan Schmidt
I would really appreciate if people would run distcheck more often.
2015-02-26build: Workaround an automake limitation during parallel install relinkingStefan Schmidt
With this commit I'm finally able to use -j10 for make install on my machine. During install libtool does some relinking which can result in to broken linking if the dependencies are not handled correctly. Sadly automake has a problem with the automatic dependency handling during install with LTLIBRARIES which we use for all our modules. For the details please see this 4.5 years old bug report: We are now setting the dependency manually to force automake to the right decision during install relinking. Speed improvement itself is not that high (make -j 1 compared to -j10): real 0m21.410s vs. real 0m17.066s The bigger benefit is the unified use of MAKEOPTS or normal -j X in all our build targets. I have seen quite some bug reports where -j was used for install target when it was used in the build target. Last but not least it helps me to unify some parts of the jenkins jobs and finally allows me to run distcheck with -j Which uses install internally and failed before. Which goes down from real 12m50.349s to real 5m52.120s.
2015-01-30autotools: fix make check build error on Windowsmichelle legrand
Windows does not use ECORE_X. @fix Signed-off-by: Cedric BAIL <>
2014-11-18Ecore File : Added test suite for Ecore File modulekabeer khan
Summary: Added 3 test cases. First to test initialise, shutdown Ecore_File module. Second to test all file operation functions defined in the module. Third to test ecore file monitor Signed-off-by: kabeer khan <> Reviewers: devilhorns, stefan_schmidt Subscribers: cedric Differential Revision:
2014-11-10Revert "Ecore File : Added test suite for Ecore File module"Stefan Schmidt
Same problem with this as for the revert before. Fails when run the second time. See last commit for details. This reverts commit 5866e166bb02374930922e38cd1c89809a5520d4.
2014-10-29ecore-tests: Add missing separatorChris Michael
Summary: Previous patch for this was causing build issues due to missing separator. NB: Totally my fault for not testing the patch !! @fix Signed-off-by: Chris Michael <>
2014-10-29Ecore File : Added test suite for Ecore File modulekabeer khan
Summary: Added 2 test cases. First to test initialise, shutdown Ecore_File module and second to test all file operation functions defined in the module. Signed-off-by: kabeer khan <> Reviewers: devilhorns Subscribers: cedric Differential Revision:
2014-10-29ecore_input: Added test suite for ecore_input.Srivardhan Hebbar
Summary: Added test suite for ecore_input with one test case. Signed-off-by: Srivardhan Hebbar <> Reviewers: devilhorns Subscribers: cedric Differential Revision:
2014-10-29ecore-fb: Adding test suite for ecore_fbvivek
Summary: Added test suite for ecore_fb with test for ecore_fb_init w Signed-off-by: vivek <> Reviewers: devilhorns Reviewed By: devilhorns Subscribers: cedric Differential Revision:
2014-10-27ecore_drm: Adding test-suite to ecore_drm.Srivardhan Hebbar
Summary: Adding test-suite to ecore_drm with one test case. Signed-off-by: Srivardhan Hebbar <> Reviewers: devilhorns Subscribers: cedric Differential Revision:
2014-10-21ecore_wayland: Added test case to check ecore_wl_init by passing socket name.Srivardhan Hebbar
Summary: Added a test case for ecore_wayland to test ecore_wl_init by passing the socket name. Wayland display is created and a socket is added to the display, then this socket is passed to ecore_wl_init to connect. It should successfully connect. Then ecore_wl_shutdown is called to verify if it closes. Signed-off-by: Srivardhan Hebbar <> Reviewers: devilhorns Subscribers: cedric Differential Revision:
2014-10-06elua/autotools: generate .eo.lua files out of all eo files at build timeDaniel Kolesa
Also change the generator a bit so that it doesn't rely on lib name information and fix the runtime to properly source lua files within tree.
2014-10-02Build system: Clean up the generation of sources from eolian.Tom Hacohen
This cleans up a lot of the build system. This makes everything consistent, clean, less redundant and also fixes the issue of make clean not cleaning up generated files.
2014-09-29ecore_wayland: Created test suit for ecore_wayland.Srivardhan Hebbar
Summary: Created test suit for ecore_wayland and added test case for ecore_wl_init and ecore_wl_shutdown. Signed-off-by: Srivardhan Hebbar <> Reviewers: devilhorns Subscribers: cedric Differential Revision:
2014-08-27Ecore exe: refactor and fix compilation on windows.Tom Hacohen
This is the first step towards splitting it nicely. This fixes compilation on windows (or so it seems from my testing) and takes out all the platform specific code (posix included) out of the main source file.
2014-08-26Ecore exe: Fix windows build by making the windows stuff less redundant.Tom Hacohen
This should fix the dumb way it was split until now (everything was redundant). Now we just reimplement the parts we need to reimplement and the rest is shared. The win32 code is called from within the normal code.
2014-08-21Ecore Exe: Migrate to eo.Tom Hacohen