path: root/src/lib/eldbus (unfollow)
AgeCommit message (Collapse)Author
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 <>
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:
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
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
2016-05-12Efl: Remove "legacy_prefix: null;" as it's now the default.Tom Hacohen
2016-05-12Eldbus: Fix namespacing to use . and not _.Tom Hacohen
2016-05-12Eldbus: Fix namespacing to use . and not _.Tom Hacohen
2016-05-10Eldbus: remove shadowing variable.Tom Hacohen
FFS people, turn on your compiler warnings.
2016-05-10Efl model: Remove the no longer needed .Base hack.Tom Hacohen
2016-05-06eldbus: send exit/quit event upon disconnecting the session busMike Blumenkrantz
if an application is connected to the session bus, being disconnected should indicate that the session has been terminated and all applications in that session should also be terminated this ensures that no zombie processes will remain after the session bus dies
2016-04-29Eldbus: fixed property_set in Eldbus.Model_ProxyLarry Jr
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-22docs: ector: document ector cairo surface classesStefan Schmidt
For both the cairo and the cairo software surfaces.
2016-04-22docs: eldbus: document property valuesStefan Schmidt
Add documentation comments and switch away from the generic "value" name.
2016-04-20docs: eldbus: add class and property descriptions for eldbus model filesStefan Schmidt
Also fix some existing docs while being there.
2016-04-12ecore - system modules - fix eldbus interdependency and complaintsCarsten Haitzler (Rasterman)
so ecore uses ecore system modules ... that use eldbus. eldbus inits ecore. this is a vicious cycle. eldbus shouldnt init ecore. it's a dependency but should be provided outside of initting eldbus. this all led to hack-arounds on initting eldbus in these ecore modules that just break things like shutting down eldbus when still in use. this ensures any pending messages are canceled on ecore module shutdown. this ensures every ecore module fully inits and shuts down eldbus as they should so refcounting the inits works. this stops eldbus from inittign ecore to avoid the circuluar dependency. this stops lots of CRI/ERR complaints eg if you run elua with no cmdline options. this is just better. @fix
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-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.
2016-02-23eldbus: eldbus is already defined in eoMarcel Hollerbach
the struct is already defined in eldbus_general.eoeldbus: eldbus is already defined in eo the struct is already defined in eldbus_general.eott
2016-02-19eldbus: print dbus errors incurred when failing at signal handler operationsMike Blumenkrantz
seeing these errors is significantly more helpful when debugging why the system is not responding as expected
2016-02-17Eldbus: Move more types to eldbus_types.eot.Tom Hacohen
2016-02-17Eldbus: Create eldbus_types.eot and start using it.Tom Hacohen
2016-02-17Eldbus model arguments: Fix Eolian warnings.Tom Hacohen
This includes either migrating types to eolian, fixing namespace or importing extra types.
2016-02-13eldbus: add more debug prints for proxy and signal handlerMike Blumenkrantz
2016-02-01eldbus: Correctly read/write boolean to eina_valueJosé Roberto de Souza
DBus bool type is a uint32_t not a uint8_t, just changing how read and write, not chaging how it is stored in eina_value to save some bytes of RAM. This fix the stack overflow pointed out here: @fix
2016-01-11eldbus model: no need to double const a Eina_StringshareStefan Schmidt
Eina_Stringshare is already const, no need to const it again.
2016-01-06eldbus: add missing since tags for all new symbolsStefan Schmidt
2015-12-10eldbus: add efl.model implementation.Guilherme Lepsch
Signed-off-by: Cedric BAIL <>
2015-10-29[eldbus] assign NULL to fd_handler, after deletion.Shinwoo Kim
Summary: [eldbus] assign NULL to fd_handler, after deletion. Test Plan: N/A Reviewers: raster, cedric Subscribers: seoz Differential Revision:
2015-10-06eldbus - only do syntax checks if libdbus is new enoughCarsten Haitzler (Rasterman)
2015-10-04eldbus - make method calls less crasy since libdbus likes to abortCarsten Haitzler (Rasterman)
changes zmike made to e's systray make e abort due to libdbus seeing the bus name as invalid. it actually is. it's /org/ayatana/NotificationItem/steam for example - instead of or.whatever.blah - thuis e aborts continually if you run steam at all. eldbus should be more crash-proof thus this adds checks so dbus fun doesnt cause an app to crash if it happens to call incorrect dbus names. @fix
2015-10-02eldbus: fix _eldbus_message_iter_arguments_vgetMarcel Hollerbach
Summary: there is a problem with _eldbus_message_iter_arguments_vget. Assume: We have a array of type y, there are 3 elements in the array. Lets say we are iterating with printf("%c", dbus_message_iter_get_arg_type(iter)); and dbus_message_iter_next(iter); throuw the iter. You will see that this will output yyy. As we are having 3 times v. While the signature of the message iterator is y. If you now call eldbus_message_iter_arguments_get(message, "y", &cont) it will return false, with the errormessage in line 766, reason for this is that the type of the signature iterator differs from the message iterator. Because of the upper example. So all in all: The signature given to the method has not to be equal to the signature of the message iterator, it has to be equal to the iterated signature, which cannot be found easily with the eldbus api. The solution is to only iterate in the message iterator that long until the signature iterator is at the end, if the type differs in this region, give a error and return false. Otherwise return true. The sad thing about this is that it is a behaviour break, but the behaviour is borked, so its a fix. I tested this over a week now, without any problem in efl/elm/e. Reviewers: stefan_schmidt, zmike Reviewed By: stefan_schmidt Subscribers: zmike, ceolin, simotek, DaveMDS, cedric Projects: #efl Differential Revision:
2015-10-01doc/eldbus: fix parameter in documentThiep Ha
Summary: The allow_initial_call apprears two times in eldbus_name_owner_changed_callback_add api. @fix Reviewers: seoz, Hermet Reviewed By: Hermet Subscribers: cedric, seoz Differential Revision:
2015-09-28eldbus: fix typos in documentationAmitesh Singh
2015-09-23eldbus: add dbus_pending NULL checkThiep Ha
Summary: When we call dbus_connection_send_with_reply, the dbus_pending can be NULL. In this case, the next call dbus_pending_call_set_notify will cause application crash. We should check if dbus_pending is NULL before calling dbus API. @fix Reviewers: cedric Subscribers: englebass, cedric, seoz Differential Revision:
2015-09-22eldbus: fix broken fallback interface.Lukasz Stanislawski
Summary: Previous implementation assumed that fallback interface path should be changed on every method call. This is generally not needed since real request path can be obtained directly from dbus message passed as method call paremeter. This patch reverts this behaviour and additionally fix broken Property and Introspect interface handling of fallback interface. Reviewers: raster, lucasdemarchi, cedric Subscribers: cedric, seoz Differential Revision: Signed-off-by: Cedric BAIL <>
2015-08-24eldbus: add since tag for now public eldbus_message_signal_new APIStefan Schmidt
Thanks go to vtorri for bringing this to my attention.
2015-08-24eldbus: remove now public eldbus_message_signal_new declaration from private.hStefan Schmidt
The declaration is now on eldbus_message as EAPI so we can safely remove it here.
2015-08-24eldbus: add eldbus_message_signal_new to public headerLukasz Stanislawski
Test Plan: elementary tests Reviewers: cedric Subscribers: seoz, cedric Differential Revision: