summaryrefslogtreecommitdiff
path: root/src/examples/eldbus (follow)
AgeCommit message (Collapse)Author
2019-10-16examples/eldbus: fix pointer leak on failure caseMike Blumenkrantz
Summary: CID 1400787 Reviewers: kimcinoo Reviewed By: kimcinoo Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10407
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: fix warnings regarding multiple definesMarcel Hollerbach
compiling them stand alone still defines the correct definitions
2018-11-23efl: make Efl.Model.properties_get return an Iterator<string>.Cedric BAIL
Reviewed-by: Vitor Sousa da Silva <vitorsousa@expertisesolutions.com.br> Differential Revision: https://phab.enlightenment.org/D7289
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-01eldbus: update dbus efl.model example.Cedric BAIL
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-02-15eldbus: rename custom constructor methodsMike Blumenkrantz
"constructor" conflicts with the base efl object constructor some of the params for these should maybe be refactored into properties and use finalize?
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-03-09eldbus: don't abs() an unsigned valueJean Guyomarc'h
clang complained about abs() being used on an unsigned integer. Calling abs() is actually unnecessary.
2016-11-04examples/eldbus/dbusmodel.c improve situation, far from correct.Gustavo Sverzut Barbieri
it was using old API, updated, but still doesn't work as expected, lots of warnings from children being left alive, all proxies are reporting no properties... when model dies, all children proxies should die as well, otherwise we get on console: ``` CRI:eldbus lib/eldbus/eldbus_core.c:215 eldbus_shutdown() Alive TYPE_SYSTEM connection ERR:eldbus lib/eldbus/eldbus_core.c:175 print_live_connection() conn=0x8219230 alive object=0x8276d50 net.connman of bus=net.connman ... ``` Also, all proxies are reporting no properties "(no properties yet)", likely they are missing to fetch such... even if "--wait" to let it run, no asynchronous properties are delivered, at least not triggering EFL_MODEL_EVENT_PROPERTIES_CHANGED.
2016-09-05Rename efl_self to efl_addedTom Hacohen
It has been discussed on the ML (thread: "[RFC] rename efl_self") and IRC, and has been decided we should rename it to this in order to avoid confusion with the already established meaning of self which is very similar to what we were using it for, but didn't have complete overlap. Kudos to Marcel Hollerbach for initiating the discussion and fighting for it until he convinced a significant mass. :) This commit breaks API, and depending on compiler potentially ABI. @feature
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-06-17examples: eldbus and elementary: fix build after efl model changesStefan Schmidt
In commit 8e4f383d61188020d5ceeee691fd7df761f10202 the function signature changed but examples have not been build and fixed.
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-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-14examples: add DESTDIR support for install.Cedric BAIL
2016-04-12Eo event: rename Eo_Event->event_info to Eo_Event->info.Tom Hacohen
The previous naming was redundant and too long.
2016-03-29Examples: remind Tom to compile before pushingDaniel Zaoui
He will spank me for the commit message!!!
2016-03-15Change the EFL according to the renaming of the eo_add() current object.Tom Hacohen
2016-03-11Revert "Automatic migration to the new eo_add syntax."Tom Hacohen
This reverts commit 4f949a2757b6332306264d7f126b15ba7bfd37d4.
2016-03-11Revert "Fix examples according to the recent eo event changes."Tom Hacohen
This reverts commit d2fba6c5959f82f35984167131d3b67207780f48.
2016-03-09Fix examples according to the recent eo event changes.Tom Hacohen
2016-03-09Automatic migration to the new eo_add syntax.Tom Hacohen
2016-03-03Automatic migration to Eo4.Tom Hacohen
I just ran my script (email to follow) to migrate all of the EFL automatically. This commit is *only* the automatic conversion, so it can be easily reverted and re-run.
2015-12-10eldbus: add eldbus.model examplesLarry
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-12-10eldbus: add efl.model implementation.Guilherme Lepsch
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
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-11-07examples/eldbus: Initialize all description membersStefan Schmidt
Better to initialize all members here in the example.
2014-11-07examples/eldbus: Make sure Eldbus_Service_Interface_Desc is initialized for ↵Stefan Schmidt
all members The property_set callback might be automatically set to NULL here but making it explicit avoids confusion on how many members this description has.
2014-11-07examples/eldebus: Unregister service interface on shutdown.Stefan Schmidt
As we use this as an example for devlopers we better also handle the shutdown case cleanly.
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-05-24efl: remove some warnings.Savio Sena
Summary: Mainly from the examples but also from libunibreak and tests/eet. I'm not sure if it's really worth to remove warnings from the examples -- because it adds pedantic-ness to something supposed to be didatic, but I leave for you guys to judge. Reviewers: tasn, cedric CC: felipealmeida, raster, smohanty, cedric Differential Revision: https://phab.enlightenment.org/D896 Signed-off-by: Cedric Bail <cedric.bail@free.fr>
2013-07-05eldbus: Handle removal of last reference of connection inside of callbackJosé Roberto de Souza
2013-07-04Updated Eldbus connect_address exampleEduardo Lima (Etrunko)
See description on the header of the source file Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
2013-06-11Split .gitignore into multiple filesEduardo Lima (Etrunko)
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
2013-05-28Example for eldbus_address_connection_get() functionsEduardo Lima (Etrunko)
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
2013-05-04eldbus: Add eldbus_message_iter_fixed_array_append()José Roberto de Souza
2013-04-25fix examples makefiles to find Efl_Config.hCarsten Haitzler (Rasterman)
2013-04-23Rename edbus->eldbusLucas De Marchi
git grep -l edbus2 | while read f; do sed -i 's/edbus2/eldbus/g' "$f"; done find . -name '*edbus2*' -exec rename edbus2 eldbus {} \; git grep -l "EDBUS" | while read f; do sed -i 's/EDBUS/ELDBUS/g' "$f"; done git grep -l "EDBus" | while read f; do sed -i 's/EDBus/Eldbus/g' "$f"; done git grep -l "edbus (v2)" | while read f; do sed -i 's/edbus (v2)/eldbus/g' "$f"; done git grep -l "Edbus" | while read f; do sed -i 's/Edbus/Eldbus/g' "$f"; done git grep -l "edbus" | while read f; do sed -i 's/edbus/eldbus/g' "$f"; done find . -name '*edbus*' -exec rename edbus eldbus {} \; find . -name '*EDBus*' -exec rename EDBus Eldbus {} \;