summaryrefslogtreecommitdiff
path: root/src/examples/eio (follow)
AgeCommit message (Collapse)Author
2020-05-07Use __func__ C99 identifier instead of __FUNCTION__ compiler extensionVincent Torri
Summary: see http://www.open-std.org/JTC1/SC22/wg14/www/docs/n1124.pdf section 6.4.2.2 page 52 Test Plan: compilation Reviewers: raster, devilhorns Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11785
2019-06-18autotools: REMOVAL!Marcel Hollerbach
Get your seatbelt fastend! It is happening! AUTOTOOLS IS GONE NOW! All praise to meson! This time the final version, ci has been adjusted, and now does not try anymore to build a removed buildsystem. However, the scripts in there need cleaning up. Differential Revision: https://phab.enlightenment.org/D9027
2019-06-18Revert "autotools: REMOVAL!"Marcel Hollerbach
This reverts commit e8c69667b01e2795c1e4ead0536652f935ffa674. git push on a wrong branch, sorry. This will land today, but not now.
2019-06-18autotools: REMOVAL!Marcel Hollerbach
Get your seatbelt fastend! It is happening! AUTOTOOLS IS GONE NOW! All praise to meson! Differential Revision: https://phab.enlightenment.org/D9027
2019-01-02examples: remove setted but not used variableMarcel Hollerbach
2018-10-02here comes mesonMarcel Hollerbach
a new shiny buildtool that currently completes in the total of ~ 4 min.. 1 min. conf time 2:30 min. build time Where autotools takes: 1:50 min. conf time 3:40 min. build time. meson was taken because it went quite good for enlightenment, and is a traction gaining system that is also used by other mayor projects. Additionally, the DSL that is defined my meson makes the configuration of the builds a lot easier to read. Further informations can be gathered from the README.meson Right now, bindings & windows support are missing. It is highly recommented to use meson 0.48 due to optimizations in meson that reduced the time the meson call would need. Co-authored-by: Mike Blumenkrantz <zmike@samsung.com> Differential Revision: https://phab.enlightenment.org/D7012 Depends on D7011
2018-08-03build: move src/examples/ to a single makefileMike Blumenkrantz
this greatly improves build times by improving parallelizing, though it does introduce more BUILT_SOURCES usage which causes builds with cxx bindings to take significantly longer fix T7157 ref T7154 Differential Revision: https://phab.enlightenment.org/D6633
2018-05-24Revert "efl_add_ref - fis to use efl_add properly with a parent."Cedric BAIL
This reverts commit 2fb5cc3ad09f6aaf82b5d1131ac5ed22ed848bd4. Most of this change where wrong as they didn't affect the destruction of the object. efl_add_ref allow for manual handling of the lifecycle of the object and make sure it is still alive during destructor. efl_add will not allow you to access an object after invalidate also efl.parent.get will always return NULL once the object is invalidated. Differential Revision: https://phab.enlightenment.org/D6062
2018-05-01eio: update efl_io_manager_ls example.Cedric BAIL
2018-05-01eio: fix example to use the new EINA_VALUE_ARRAY_FOREACH.Cedric BAIL
2018-03-29efl_add_ref - fis to use efl_add properly with a parent.Carsten Haitzler (Rasterman)
fixes bc18b7e7ad1f8c5d587400b27fabab0865017011 and 168849e8a08966ecc284e28f64126a3a85965965
2018-03-20efl: use efl_add_ref to create objects which have no parentCedric BAIL
Signed-off-by: Mike Blumenkrantz <zmike@osg.samsung.com>
2018-03-03Revert "cxx: Fix manual code after efl_app change."Carsten Haitzler (Rasterman)
This reverts commit 135154303bea691c6f7f9472a5dec32d9103c38d. Revert "efl: move signal events from efl.loop to efl.app" This reverts commit 3dbca39f98288580c62a43c179ac11621433ec88. Revert "efl: add test suite for efl_app" This reverts commit 3e94be5d73256a7f5c02d3a9474173226be7beff. Revert "efl: create Efl.App class, the parent of Efl.Loop" This reverts commit 28fe00b94e55575c15684959b89a614d5a579309. Go back to before efl.app because I think this should be done with superclassing here not a parent object. reasons? 1. multiple loops per single thread make no sense. so if multilpe loop objects they wont be contained in a single app object and then deleted like this. 2. the app object is not really sharable in this design so it cant be accessed from other threads 3. it makes it harder to get the main loop or app object (well 2 func calls one calling the other and more typing. it is longer to type and more work where it is not necessary, and again it can't work from other threads unless we go duplicating efl.app per thread and then what is the point of splittyign out the signal events from efl.loop then?) etc.
2018-02-26efl: create Efl.App class, the parent of Efl.LoopMike Blumenkrantz
2018-01-02efl loop - rename ecore_main_loop_get to efl_main_loop_getCarsten Haitzler (Rasterman)
ecore_main_loop_get() is really a new "eo api" but it's using our old ecore_* namespace, so move to the new efl namespace.
2017-10-09eio: fix multiple open/close chain example.Cedric Bail
2017-10-09eio: update example for openning and closing file asynchronously using a chain.Cedric Bail
2017-10-05build: fix make examples on WindowsCedric BAIL
Summary: We should define the windows version before including evil. Test Plan: Run make examples on windows newer than XP. Reviewers: vtorri Subscribers: jenkins, cedric, jpeg Tags: #efl, #windows Differential Revision: https://phab.enlightenment.org/D5261 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2017-10-05eio: migrate example to use Eina_Future.Cedric BAIL
2017-05-08examples: use printf instead of fprintf(stdout, ...)Bryce Harrington
Summary: Applies same change as e8355c93 for evas, to the remaining examples. This uses the shell command-line: src/examples/evas$ grep -sr 'fprintf(stdout' . | cut -d: -f1 \ | uniq | xargs sed -i "s/fprintf(stdout/printf(/" Note that use of the "fprintf(stdout" construct can generate warnings when -Wformat-security is enabled, if the fprintf statement has no format arguments, so in addition to the stylistic simplification this also helps quell those spurious warnings. Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4836 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2017-04-20examples: Fix most trivial warningsJean-Philippe Andre
This fixes all warnings for "make examples" for: -Wunused-parameter -Wshadow -Wformat-security -Wenum-conversion Some remaining warnings include: -Wdeprecated-delcarations
2017-03-09eio: fix printf format errorJean Guyomarc'h
2016-09-09eio: finish port to new efl_io_manager API.Cedric BAIL
2016-08-30Efl object: Rename Eo_Event -> Efl_Event.Tom Hacohen
This is the last step of the Eo renaming efforts.
2016-08-15Eo: Finish the renaming of Eo to the EFL.Tom Hacohen
This renames all the rest of the API to the EFL namespace except for Eo_Event that will follow soon. Obviously breaks both API and ABI.
2016-08-11Change the EFL to follow the new Eo rename.Tom Hacohen
2016-06-30examples: update various gitignore files for new example binariesStefan Schmidt
These have been forgotten to be added recently.
2016-06-23examples: rename eio_job to efl_io_manager, finish a job half doneStefan Schmidt
This rename was missing in the examples. Running make examples or even a simple grep shows this. I expect higher b0rking skills by now. :)
2016-06-20Adjust the code according to the eo event stop changes.Tom Hacohen
This was changed in the previous commit.
2016-06-07examples: eio: update gitignore for new binariesStefan 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-03eina: Remove Eina_Promise* parameter to callbacks to promises in examplesFelipe Magno de Almeida
2016-06-03eina: Fix examples using new Eina_Promise semanticsFelipe Magno de Almeida
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-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-14examples: add DESTDIR support for install.Cedric BAIL
2015-12-15Examples: Fix compilation on Windows for eina, eio, elocation and eolian_cxxVincent Torri
Summary: When compiling on Windows, Evil.h must be included, so update Makefile.am accordinglY Reviewers: cedric, jpeg Reviewed By: jpeg Subscribers: jpeg Differential Revision: https://phab.enlightenment.org/D3439
2015-08-07Fix grammar in error messages.Yomi
Summary: Changes: src/examples/eio/eio_file_copy.c src/tests/eio/eio_test_file.c src/tests/eio/eio_test_xattr.c Reviewers: cedric, thiepha, Hermet Reviewed By: thiepha, Hermet Subscribers: thiepha, cedric Differential Revision: https://phab.enlightenment.org/D2912
2015-08-03eio: grammar and typo fixes in docs.Yomi
Summary: Fix a sentence. Changes: src/examples/eio/eio_file_ls.c Reviewers: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2894
2015-04-09eio model: Removed non-existent emodel.la library linkingFelipe Magno de Almeida
The library emodel.la doesn't exist. Emodel is now efl model interface. No need to link to it.
2015-04-05emodel: Created Emodel and Eio_Model.Larry Jr
2015-03-17emile: build examples after adding emile.Cedric BAIL
2015-02-25build: Unify use of $(MKDIR_P) for creating a dir within the build systemStefan Schmidt
While we used different variation of mkdir -p all over we also had spots where we did not use the option. This is one step in trying to make our build system ready for parallel install. Using something like -j 10 even for the install should help to speed up our jenkins jobs as well as distcheck.
2014-07-02autotools: Fixed 'make examples' and 'make examples-install'Savio Sena
It was broken in set-ups with ($(builddir) != $(srcdir)) && ($(builddir) != $(srcdir)/build)
2014-02-28examples: Use EINA_UNUSED in examples to silence a ton of warningStefan Schmidt
First step to get the examples compiling output in a useful state. With all the warning noise one would never see the important messages. If you add new code please make sure its warning free.
2013-06-11Split .gitignore into multiple filesEduardo Lima (Etrunko)
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
2013-04-25fix examples makefiles to find Efl_Config.hCarsten Haitzler (Rasterman)
2013-02-08efl: add makefile.examples to each libRicardo de Almeida Gonzaga
Patch by: Ricardo de Almeida Gonzaga <ricardo@profusion.mobi> SVN revision: 83795
2013-02-08efl: add and fix some gcc lines and fix some examples. Its not possible to ↵Ricardo de Almeida Gonzaga
build from outside the directory with eina_prefix, the build still depends on PACKAGE_DATA_DIR Patch by: Ricardo de Almeida Gonzaga <ricardo@profusion.mobi> SVN revision: 83794