path: root/src/examples (follow)
AgeCommit message (Collapse)Author
2016-06-13Ecore_Input: define data type for joysticksShinwoo Kim
Summary: This adds support for joysticks for ecore_input Reviewers: cedric, devilhorns, Sergeant_Whitespace, raster, thiepha, zmike, jpeg Reviewed By: thiepha, zmike, jpeg Subscribers: thiepha, stefan_schmidt, zmike, singh.amitesh, Sergeant_Whitespace, jgerecke, cedric, seoz Tags: #efl Differential Revision:
2016-06-13examples: elementary: ad missing math lib to linker flagsStefan Schmidt
We are using cos() and sin() in the efl_thread examples here but never linked to the math lib. Ubuntu 14.04 on Travis CI errored out with this: /usr/bin/ld: efl_thread_1.o: undefined reference to symbol 'cos@@GLIBC_2.2.5' //lib/x86_64-linux-gnu/ error adding symbols: DSO missing from command line
2016-06-10examples: eolian_cxx: package extra headers into dist.Stefan Schmidt
Without them examples are not building from tarball distribution
2016-06-10examples: elementary: package needed headers into distStefan Schmidt
Without them examples are not building from tarball distribution
2016-06-10examples: edje: package po/mo data files into distStefan Schmidt
Without them examples are not building from tarball distribution.
2016-06-10Evas: Rename Evas.Image into Efl.Canvas.Image.InternalJean-Philippe Andre
Make it abstract. And add Evas.Image as a legacy-only class.
2016-06-09Evas/Edje/Elm: Use combined_min instead of min everywhereJean-Philippe Andre
This allows apps to set the objects min size with hint_min, while letting the rest of EFL define the minimum size with rstricted_min. I don't like the property names much...
2016-06-07examples: ecore: do not try to install files which are not availableStefan Schmidt
The ecore_audio examples have been disabled and now do not compile right now. But as they are disabled they never land in the tarball and thus we error out with files not aviavle for install. Found by the OpenSUSE build service. Thanks Simotek for reporting. [ 2172s] /home/abuild/rpmbuild/BUILD/efl- ecore_audio_custom.c does not exist.
2016-06-07examples: eio: update gitignore for new binariesStefan Schmidt
2016-06-07examples: evas: update gitignore for new binaryStefan Schmidt
2016-06-06examples: eio: remove unused variableStefan Schmidt
2016-06-06examples: eio: mark unused parameter as suchStefan Schmidt
Really shutting up warnings here to see what else the compiler has to say.
2016-06-06eolian-cxx: Rewrite to accomodate new features of the C++ bindingFelipe Magno de Almeida
2016-06-05eio: Add mime_type property in Eio_ModelLarry Jr
2016-06-03eina: Remove Eina_Promise* parameter to callbacks to promises in examplesFelipe Magno de Almeida
2016-06-03eolian-cxx: Fix C++ example compilationFelipe Magno de Almeida
2016-06-03eina: Fix examples using new Eina_Promise semanticsFelipe Magno de Almeida
2016-06-03examples: elementary: fix the wrong spell in comment.Jaehwan Kim
2016-06-02Evas: Rename Evas.Rectangle as Efl.Canvas.RectangleJean-Philippe Andre
2016-06-01Revert "Eo: Remove eo_del() and make eo_unref() the replacement."Tom Hacohen
This reverts commit 546ff7bbba788ec834c5608361c0834853f2d5d7. It seems that eo_del() is useful and removing it was creating bugs. The issue is that the way we defined parents in eo, both the parent and the programmer share a reference to the object. When we eo_unref() that reference as the programmer, eo has no way to know it's this specific reference we are freeing, and not a general one, so in some circumstances, for example: eo_ref(child); eo_unref(child); // trying to delete here eo_unref(container); // container is deleted here eo_unref(child); // child already has 0 refs before this point. We would have an issue with references and objects being freed too soon and in general, issue with the references. Having eo_del() solves that, because this one explicitly unparents if there is a parent, meaning the reference ownership is explicitly taken by the programmer. eo_del() is essentially a convenience function around "check if has parent, and if so unparent, otherwise, unref". Which should be used when you want to delete an object although it has a parent, and is equivalent to eo_unref() when it doesn't have one.
2016-05-31evas: updated evas_vg_sample with the appen_arc() api as well as ↵Subhransu Mohanty
_shape_dup() api test. Reviewers: Hermet, cedric Reviewed By: cedric Subscribers: cedric, jpeg Differential Revision: Signed-off-by: Cedric BAIL <>
2016-05-25eio: Adds Eo-based Eio APILauro Moura
The legacy Eio_File factory functions are replaced by an Eo object called Eo_Job that return promises wrapping the async file operations. With this commit, the legacy Eio callbacks are replaced by the following Eo/Promises counterparts : * Done_Cb -> Promise then success callback * Error_Cb -> Promise then error callback * Main_Cb -> Promise progress callback * Filter_Cb -> Job object event (more below) Events are used to deliver and get the filter data. To differentiate between the named and direct versions, they come in "filter,direct" and "filter,name" versions. Monitors were wrapped inside a new class Eo_Sentry. The user creates a sentry object and adds monitoring targets to it, listening to events on it. The sentry event info is composed of two strings. The source string is the path being monitored, i.e. the one passed to eio_sentry_add, and the trigger string is the path that actually triggered the event, e.g. a new file created in a monitored directory.
2016-05-19examples: emotion: adapt to name change from obj to objectStefan Schmidt
In commit 75a53ece1007d927b8f0b6c5d3f269726afb9108 obj was changed to object. As one can claerly see though make examples have not been run to verify this change. Catch up in examples with this rename.
2016-05-18js fixesFelipe Magno de Almeida
2016-05-18eo: for consistency use object like all our API.Cedric Bail
2016-05-18examples: elementary: remove unused variableStefan Schmidt
2016-05-18examples: evas: remove unused variableStefan Schmidt
pi is never used here. Actually for such cases we should use M_PI anyway.
2016-05-18examples: evas: build evas-3d-fog exampleStefan Schmidt
So far this file has only been in our tree but the example has not been build.
2016-05-18examples: ecore: add all needed files to SOURCES to make sure they are ↵Stefan Schmidt
distributed This worked in-tree but never landed in a distribution tarball and thus the examples build form such a tarball would fail.
2016-05-18examples: evas: add all needed files to SOURCES to make sure they are ↵Stefan Schmidt
distributed This worked in-tree but never landed in a distribution tarball and thus the examples build form such a tarball would fail.
2016-05-17Eo: Remove eo_del() and make eo_unref() the replacement.Tom Hacohen
We used to have eo_del() as the mirrored action to eo_add(). No longer, now you just always eo_unref() to delete an object. This change makes it so the reference of the parent is shared with the reference the programmer has. So eo_parent_set(obj, NULL) can free an object, and so does eo_unref() (even if there is a parent). This means Eo no longer complains if you have a parent during deletion.
2016-05-16Revert "autotools: fix lots of warning."Cedric Bail
This reverts commit 885d6c7d9bb0c253c49fd3f6351dd06d28a4cf74. Reverting all as it seems those warning where actually for working code...
2016-05-16autotools: fix lots of warning.Cedric Bail
Thankcs Jean Guyomarc'h.
2016-05-10examples: eolian_cxx: fix some problems after changing the colourable namespaceStefan Schmidt
Fix commit 3e8db298f70932ce7b2f5296d44b262a615ea87c the namepsace changed but only a few files have been fixed for this. Many files did still not compile with make examples. I fixed some more but stopped at the cxx files with the hope that the original author would actually do this.
2016-05-10examples: evas-3d: fix executable name for evas 3d fog exampleStefan Schmidt
This list contains the executable names and not the source file names.
2016-05-09efl: everyone should now rely on Eina MIN/MAX redefinition.Cedric BAIL
2016-05-08elementary: Fix example compilation when compiling in another directoryFelipe Magno de Almeida
2016-05-08eolian-cxx: Disable example and fix new naming standardFelipe Magno de Almeida
Fixed naming standard in some tests and disabled the callback test while Ecore Eo API is still rapidly changing
2016-05-08evas: Disabled C++ example while Eo API is still rapidly changingFelipe Magno de Almeida
2016-05-05elementary: make clean, clean edj correctly.Cedric BAIL
2016-05-05elementary: add resulting edj to allow make dist to work on a clean directory.Cedric BAIL
Due to dependencies from elementary codegen on the edj files triggered by the generation of .h and .c, we actually need to provide the edj as it would otherwise to build edje_cc prior to any make dist. As the edje file was added after in the git repository, you may have some timestamp issue to fix before doing a make dist. Try touch on all codegen_example files. T3588
2016-04-29Efl, Eio, Eldbus, Elementary: new model API use eina_promiseLarry Jr
Efl - efl_model_base changed to use eina_promise Eio - eio_model use efl_model_base with promise Eldbus - elddbus models use promise now Elementary - elm_view_list and elm_view_form use new models with promise updated all related examples and tests
2016-04-23efreetd - reduce memory usage by using stringshare much moreCarsten Haitzler (Rasterman)
lots of long paths for monitoring file paths for icons etc. are in memory for efreetd. this reduces that memory by sharing them much more. @optimization
2016-04-21elementary: actually this is part of our make dist and shouldn't be build ↵Cedric BAIL
2016-04-21eolian-cxx: Remove deprecated examplesFelipe Magno de Almeida
Removed deprecated and non-compilable examples for C++ using Evas. Users should look into C++ Elementary's examples instead.
2016-04-21Examples: Fix compilation (disable CXX examples!)Jean-Philippe Andre
Warning: This disables CXX examples because they use now-internal APIs that have no EO API binding. Those examples should be updated to use Efl.Ui widgets... once we have them.
2016-04-15evas: update evas-3d-shadow exampleOleksandr Shcherbina
Summary: Add possibility turn on/off rendering scene with/without post processing Reviewers: cedric, raster, Hermet Subscribers: jpeg Differential Revision: Signed-off-by: Cedric Bail <>
2016-04-14examples: add DESTDIR support for install.Cedric BAIL
2016-04-14evas.canvas3d: Change shade_mode to shader_modeOleksandr Shcherbina
Summary: enum Evas.Canvas3D.Shade_Mode are using for choose relevant shader source code. So renaming have a sence. Rename evas_canvas3d_shade_mode_set/get property to evas_canvas3d_shader_mode_set/get Rename internal fields and functions Reviewers: cedric, Hermet, raster Subscribers: jpeg Differential Revision:
2016-04-13example: eina log - set eina log levels in examplesAmitesh Singh