summaryrefslogtreecommitdiff
path: root/src/lib/eldbus (follow)
AgeCommit message (Collapse)Author
2018-05-19efl: Add missing event typesXavi Artigas
Summary: All events must have a type now, otherwise bindings don't know how to handle the event_info field. Most of the missing event types were actually "void" (no event_info present). Some struct definitions had to be moved to eo instead of h files, so they are available to bindings. Some have not, and are marked with FIXME. Some namespaces have been fixed (like Efl_Event_Cb -> Efl.Event_Cb). In general, there are hundreds of changed files, but mostly to add a type which was not present before, so there's no harm done. Also, A lot of FIXMEs have been added which should be, like, fixed. For example, some events can send different types of event_info, which is very inconvenient (and error prone). Test Plan: make with c# bindings works, make check and make examples work too. Reviewers: cedric, q66, lauromoura Subscribers: zmike Tags: #efl Differential Revision: https://phab.enlightenment.org/D6169
2018-05-13eolian: second batch of unused import removalsDaniel Kolesa
This fixes all remaining occurences introduced by false negatives in 6bcd70f01d527cb05c16bfde0bf85ce79bef465e. The rest was already fixed in 6be3809c04fad847e353edecf5b6eef3c8766df4.
2018-05-13eolian: first batch of unused import removalsDaniel Kolesa
Initial results of our static analysis showed a bunch of unused imports or imports used only for documentation references. In the first case, remove entirely, in the second case, change to 'parse' in order to keep references working. The static analysis is not perfect and yields false negatives for certain cases, so there will be a second batch later.
2018-05-01efl: update Efl.Model to properly propagate ↵Cedric BAIL
EFL_MODEL_EVENT_CHILDREN_COUNT_CHANGED.
2018-05-01eldbus: make sure we do not destroy our log domain until we shutoff eina.Cedric BAIL
2018-04-30ecore: move efl_model_list_value_get to be an internal function.Cedric BAIL
2018-04-30eldbus: migrate and refactor eldbus.model to new efl.model API.Cedric Bail
2018-04-30eldbus: refactor model code.Cedric Bail
2018-04-17eolian gen: enable constness generation on property getter implsDaniel Kolesa
This changes a lot of things all across the EFL. Previously, methods tagged @const had both their external prototype and internal impl generated with const on object, while property getters only had const on the external API. This is now changed and it all has const everywhere. Ref T6859.
2018-04-05eldbus: call ecore_init in eldbus_initMike Blumenkrantz
eldbus requires ecore and cannot run without it @fix Reviewed-by: Stefan Schmidt <stefan@osg.samsung.com>
2018-03-19eldbus: ensure the lifetime of the eldbus object path is monitored for proxiesCedric BAIL
the object is instantly destroyed when connection is lost Signed-off-by: Mike Blumenkrantz <zmike@osg.samsung.com>
2018-03-19eldbus: use efl_del when clearing the model connection child listCedric BAIL
it is an error to delete an object with an existing parent Signed-off-by: Mike Blumenkrantz <zmike@osg.samsung.com>
2018-02-15eldbus: rename conflicting "name" properties for some classesMike 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-02-02eldbus: make connections fork-safeMike Blumenkrantz
after a fork, any existing connection objects can no longer be used, but it's up to the user to destroy them. internally, this prevents existing connections from ever being returned as valid connections and creates new ones after a fork also destroy fd handlers for connections to ensure that no data is accidentally clobbered before the connections are cleaned up
2018-02-02eldbus: do not require error return when adding/removing signal matchesMike Blumenkrantz
this forces the functions to be synchronous and blocks (potentially forever)
2018-01-18all: Simplify definition of EAPIVincent Torri
This will help in the transition from Autotools to Meson. This has been tested on Windows for which EFL_XXX_BUILD were first introduced.
2017-11-02eo files: convert various to use @crefDaniel Kolesa
2017-10-26eldbus_message: Add description to fix doxygen warningJaehyun Cho
Change-Id: Id85f85de352019b29268cfa3d6e70df7cd8e84ee
2017-10-26eldbus_connection: Add description of parameters to fix doxygen warningJaehyun Cho
Change-Id: I3be25d4b7c8bdb69c23c1c5071fac8ac1420d87d
2017-10-26eldbus signal handler: add param, return type description for doxygenJinYong Park
Summary: Add omitted description to eldbus signal handler for doxygen warning Test Plan: API Doxygen Revision Reviewers: raster, cedric, jpeg, myoungwoon, Jaehyun_Cho Differential Revision: https://phab.enlightenment.org/D5379
2017-10-26eldbus-service: add parameters and return type description for doxygenJinYong Park
Summary: Add omitted descriptions for doxygen warning Test Plan: API Doxygen Revision Reviewers: raster, cedric, jpeg, myoungwoon, Jaehyun_Cho Differential Revision: https://phab.enlightenment.org/D5378
2017-08-01eldbus - make file local func added in fix staticCarsten Haitzler (Rasterman)
better to keep the func local unless needed elsewhere too
2017-07-31eldbus: check message serial before usingShinwoo Kim
Summary: Whatever the dbus_connection_send_with_reply returns, the serial value should be checked, because if the seral value is invalid a process could be aborted. There is backtrace as below. The dbus_connection_send_with_reply could return TRUE even though it has a problem. Please refer to following comment: /* Refuse to send fds on a connection that cannot handle them. Unfortunately we cannot return a proper error here, so the best we can do is return TRUE but leave *pending_return as NULL. */ Test Plan: There is not a exact reproduce step. If the Tizen login manager is relaunched repeatedly, then the dbus and other service processes are relaunched. If a service process tries to use dbus when the dbus has problem as above, then it could be possilbe to get above backtrace. Reviewers: raster, zehortigoza Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D5053 @fix
2017-07-30eldbus lower error print levesl from ER to WRN in get all propsCarsten Haitzler (Rasterman)
this is generally unnecessary noise as the majority of the time i see this it's because the message was canceled by the caller... thats not an error though then... it's intended. less debug noise to sift through.
2017-04-26eldbus: check return of dbus_signature_iter_next()Stefan Schmidt
CID: 1341856
2017-01-26cmake: add eldbus.Gustavo Sverzut Barbieri
2016-12-27eldbus: use new property impl syntaxDaniel Kolesa
2016-12-06eldbus: change to idle_enterer from idlerJean-Philippe Andre
Summary: This patch set changes eldbus to use idle_enterer from idler. If an application does not give idle time, then the eldbus cannot have chance to work. Reviewers: raster, cedric Subscribers: jpeg Differential Revision: https://phab.enlightenment.org/D4443
2016-11-07docs: eldbus: add docs for new eldbus enumStefan Schmidt
2016-11-04eldbus eo: remove pointersDaniel Kolesa
2016-11-04eldbus/eo: improve APIGustavo Sverzut Barbieri
remove setters that do not make sense, they are set in the constructor functions and cannot be changed. define the Eldbus_Connection_Type in .eo, properly type functions using it.
2016-10-20docs: eldbus: document all eldbus structs and its membersStefan Schmidt
2016-09-29efl: Update Efl.Model to use new Efl_Promise and Efl_FutureFelipe Magno de Almeida
Replaced all Eina_Promise_Owner and Eina_Promise with Efl_Promise and Efl_Future.
2016-09-20eldbus: fix null value usageJi-Youn Park
2016-09-20eldbus: null checking before using the pointerWooHyun Jung
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-30efl callbacks: update some events calls to no longer trigger legacy callbacksdevs/vitorsousa/update_event_callsVitor Sousa
2016-08-26Efl Object: remove legacy callback calls from event_callback_callVitor Sousa
Efl.Object.event_callback_call no longer calls legacy smart callbacks; calling only event callbacks registered with the given event description pointer. Create the method Efl.Object.event_callback_legacy_call to inherit the old behavior from Efl.Object.event_callback_call, calling both Efl.Object events and legacy smart callbacks. Update all other files accordingly in order to still supply legacy callbacks while they are necessary.
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-07-29eldbus: make sure eldbus model is hidden behind the BETA API flagStefan Schmidt
Make sure we keep this in beta for now until our EO based interfaces are ready.
2016-07-21eldbus: Check return value and error out if necessaryChris Michael
Coverity reports that we do not check the return value of _eldbus_model_proxy_load here. We likely should be checking that in case the model proxy fails to load so we can return proper values here. Fixes Coverity CID1355233 @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2016-06-21eolian: implement a stringshare builtinDaniel Kolesa
This implements a new builtin, stringshare, which is replaced with the right pointer to Eina_Strinshare as necessary. This allows simplifying binding code (it can call the proper eina APIs, deal with lifetime etc). It also removes the extern Eina.Stringshare typedef from eina_types.eot, which was actually incorrect and would generate invalid code in binding generators. @feature @fix
2016-06-16efl: Move promise parameter to return in data modelFelipe Magno de Almeida
Summary: Instead of: efl_model_property_get("name", &promise); now: promise = efl_model_property_get("name"); Reviewers: stefan_schmidt, cedric Subscribers: jpeg Differential Revision: https://phab.enlightenment.org/D4038
2016-06-09eina: Remove value type promisesLauro Moura
All values in promises are now considered as by-pointer.
2016-06-03eina: Remove unnecessary indirection to promisesFelipe Magno de Almeida
Now when dealing with pointer types, we will not get pointer to pointer semantics in callbacks and eina_promise_owner_value_set for Eina_Promise. It will work as expected: Eina_Promise_Owner* promise = eina_promise_add(); void* p = malloc(sizeof(T)); eina_promise_owner_value_set(promise, p, &free);
2016-05-31eolian: utilize the new builtin string type across eo filesDaniel Kolesa
2016-05-24eldbus: divide dbus call timeouts by 1000 to convert from millisecondsMike Blumenkrantz
@fix
2016-05-23eolian: remove pointers from complex and class typesDaniel Kolesa
Complex types (i.e. list, array, hash, accessor etc.) now do not require pointers with them anymore (the pointer is implied) and the same goes for class handles. Eolian now explicitly disallows creating pointers to these as well. This is the first part of the work to remove pointers from Eolian completely, with the goal of simplifying the DSL (higher level) and therefore making it easier for bindings (as well as easier API usage). @feature