Commit Graph

24 Commits

Author SHA1 Message Date
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 53de66ea92 edbus: Fix lib name in edbus2.pc.in
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 77102
2012-09-26 20:33:53 +00:00
José Roberto de Souza 9177bdef75 edbus: Full file path on EXTRA_DIST of doc
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 77098
2012-09-26 18:49: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 4f1ea191d6 edbus: Fix building doc outside of tree
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 77094
2012-09-26 18:16:28 +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
Lucas De Marchi 97fc82b5ff edbus: Do not build examples by default
It's weird to enable/disable the examples at configure time rather than
having a rule "make examples", but this appears to be how it's done in
EFL.



SVN revision: 77005
2012-09-21 22:44:05 +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 d855ad62c9 edbus: Ignore the compiled library
SVN revision: 77003
2012-09-21 21:57:37 +00:00
Lucas De Marchi b7949a68d2 edbus: Also rename installed lib to edbus2
SVN revision: 76997
2012-09-21 20:20:08 +00:00
Lucas De Marchi ba033df38f edbus: Rename edbus.pc to edbus2.pc to avoi conflict
Even though the previous library was named E_DBus, it was installing an
edbus.pc file. Rename our file so it doesn't conflct with the other.



SVN revision: 76995
2012-09-21 19:56:52 +00:00
Vincent Torri 371defbd32 merge: add COPYING files (BSD 2-clause, LGPL and GPL) and doc
doc though head.html should be improved :)



SVN revision: 76843
2012-09-19 06:57:03 +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