Commit Graph

22 Commits

Author SHA1 Message Date
Sebastian Dransfeld 878bfd2616 edbus: Add initializers to stop warnings
SVN revision: 78292
2012-10-21 04:52:59 +00:00
Lucas De Marchi 1799e141b7 edbus: Add example for emitting signal
SVN revision: 78263
2012-10-19 18:24:36 +00:00
Lucas De Marchi 6d2bd31902 edbus: Remove space after for-like macros
SVN revision: 78262
2012-10-19 18:24:30 +00:00
José Roberto de Souza cc28164d70 edbus: Add a private function edbus_message_iter_sub_iter_get()
Function will be used in a future patch.

Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 78199
2012-10-18 20:11:10 +00:00
José Roberto de Souza 3efa417886 edbus: Avoid call _on_signal_handler_free over freed object or proxy
If a signal handler callback remove the last reference of his parent, his parent
will unref all your childrens including signal handler, but signal handler could
not be freed until your callback was finish so a event to delete it will be
created and when this event happen the signal handler parent was already freed
and we could not call _on_signal_handler_free().

Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 78198
2012-10-18 20:11:04 +00:00
José Roberto de Souza c6bf21cbbe edbus: Use NULL instead of EDBUS_ARGS({"", ""})
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 78192
2012-10-18 17:00:28 +00:00
José Roberto de Souza a0cae1706e edbus: Fix type check of solo structs
When reading messages that contain structs the type that comes from the
wire (and obtained with dbus_message_iter_get_arg_type()) is 'r'.
However 'r' never appears in a signature and dbus_signature_iter_*
returns '('.

Ref: http://dbus.freedesktop.org/doc/dbus-specification.html#message-protocol-signatures

"STRUCT has a type code, ASCII character 'r', but this type code does not
appear in signatures. Instead, ASCII characters '(' and ')' are used to
mark the beginning and end of the struct. So for example, a struct
containing two integers would have this signature:"

Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 78072
2012-10-16 22:35:50 +00:00
José Roberto de Souza ca8f710577 edbus: Add dictionary iterator
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 78071
2012-10-16 22:35:44 +00:00
José Roberto de Souza ea64771a7a edbus: Add const EDBus_Message parameter of
edbus_message_iter_get

Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 78068
2012-10-16 15:07:17 +00:00
José Roberto de Souza ca539d0fd7 edbus: Rename functions to obey EFL codding style
Rename edbus_message_iter_append_basic to edbus_message_iter_basic_append.
Rename edbus_message_iter_get_basic to edbus_message_iter_basic_get

Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 78067
2012-10-16 15:07:11 +00:00
José Roberto de Souza fe34dc2b72 edbus: Remove edbus_real_method
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 77656
2012-10-09 15:23:25 +00:00
José Roberto de Souza 90ee430ce5 edbus: Fix example of double container
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 77655
2012-10-09 15:23:13 +00:00
Sebastian Dransfeld 9f188af2d8 edbus: check if DBUS_TYPE_UNIX_FD exists
SVN revision: 77629
2012-10-09 08:47:59 +00:00
Lucas De Marchi 63e697d752 edbus: Improve doc of name_owner_changed_callback_add()
Explain the reason for the extra flag on this function.



SVN revision: 77339
2012-10-02 21:42:02 +00:00
José Roberto de Souza de5d201e7e edbus: Add flag to name_owner_changed_callback_add to
allow initial call

Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 77338
2012-10-02 21:41:58 +00:00
José Roberto de Souza c2e818bd3f edbus: Call callback if already have a unique id when
another callback is added

Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 77337
2012-10-02 21:41:53 +00:00
Luis Felipe Strano Moraes 4be3f1e204 edbus: Fix typos
Patch by: Luis Felipe Strano Moraes <luis.strano@gmail.com>



SVN revision: 77335
2012-10-02 21:02:16 +00:00
José Roberto de Souza 06439a3ee8 edbus: Add edbus_signal_handler_match_extra_vset
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 77095
2012-09-26 18:16:34 +00:00
José Roberto de Souza 9de9bccb9a edbus: Add example of 2 containners at same level.
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 77007
2012-09-21 22:44:17 +00:00
Lucas De Marchi 3cf6418906 edbus: Reduce variable scope and add const where it's
due



SVN revision: 77006
2012-09-21 22:44:11 +00:00
José Roberto de Souza 49ea849059 edbus: Fix memory leak in
edbus_signal_handler_match_extra_set()

And allow values == "" in match_extra_set()

Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 77004
2012-09-21 22:43:58 +00:00
Lucas De Marchi 5934eb6788 Add new edbus library, aka e_dbus v2
SVN revision: 76775
2012-09-17 20:41:05 +00:00