platform/upstream/eldbus.git
12 years agoedbus: Add edbus_proxy_properties_changed_callback_add
José Roberto de Souza [Fri, 26 Oct 2012 18:19:46 +0000 (18:19 +0000)]
edbus: Add edbus_proxy_properties_changed_callback_add

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

SVN revision: 78547

12 years agoedbus: Add edbus_proxy_property_local_get and get_all
José Roberto de Souza [Fri, 26 Oct 2012 18:19:42 +0000 (18:19 +0000)]
edbus: Add edbus_proxy_property_local_get and get_all

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

SVN revision: 78546

12 years agoedbus: Mark properties_signal to be removed
Lucas De Marchi [Fri, 26 Oct 2012 18:19:37 +0000 (18:19 +0000)]
edbus: Mark properties_signal to be removed

SVN revision: 78545

12 years agoedbus: Implementation of EDBUS_PROXY_EVENTS and edbus_proxy_properties_monitor
José Roberto de Souza [Fri, 26 Oct 2012 18:19:32 +0000 (18:19 +0000)]
edbus: Implementation of EDBUS_PROXY_EVENTS and edbus_proxy_properties_monitor

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

SVN revision: 78544

12 years agoedbus: Parse EDBus_Message to Eina_Value
José Roberto de Souza [Fri, 26 Oct 2012 18:19:25 +0000 (18:19 +0000)]
edbus: Parse EDBus_Message to Eina_Value

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

SVN revision: 78543

12 years agoedbus: Fix remaining signature with EDBUS_ARGS({ NULL, NULL })
Lucas De Marchi [Fri, 26 Oct 2012 16:46:06 +0000 (16:46 +0000)]
edbus: Fix remaining signature with EDBUS_ARGS({ NULL, NULL })

SVN revision: 78542

12 years agoedbus: Fix instrospect signature
José Roberto de Souza [Fri, 26 Oct 2012 16:45:58 +0000 (16:45 +0000)]
edbus: Fix instrospect signature

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

SVN revision: 78541

12 years agoDoxyfile.in: Remove obsolte doxygen tags from all our Doxyfile.in files.
Stefan Schmidt [Wed, 24 Oct 2012 19:50:29 +0000 (19:50 +0000)]
Doxyfile.in: Remove obsolte doxygen tags from all our Doxyfile.in files.

Doygen tells us:
warning: Tag `SHOW_DIRECTORIES' at line 507 of file Doxyfile has become obsolete.
To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
warning: Tag `HTML_ALIGN_MEMBERS' at line 879 of file Doxyfile has become obsolete.
To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
warning: Tag `USE_INLINE_TREES' at line 1065 of file Doxyfile has become obsolete.
To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"

So we are nice and remove them. A yay for the day where we have amerged tree and
not two dozens of Doxyfile.in files floating around.

SVN revision: 78409

12 years agoedbus: Add initializers to stop warnings
Sebastian Dransfeld [Sun, 21 Oct 2012 04:52:59 +0000 (04:52 +0000)]
edbus: Add initializers to stop warnings

SVN revision: 78292

12 years agoedbus: Add example for emitting signal
Lucas De Marchi [Fri, 19 Oct 2012 18:24:36 +0000 (18:24 +0000)]
edbus: Add example for emitting signal

SVN revision: 78263

12 years agoedbus: Remove space after for-like macros
Lucas De Marchi [Fri, 19 Oct 2012 18:24:30 +0000 (18:24 +0000)]
edbus: Remove space after for-like macros

SVN revision: 78262

12 years agoedbus: Add a private function edbus_message_iter_sub_iter_get()
José Roberto de Souza [Thu, 18 Oct 2012 20:11:10 +0000 (20:11 +0000)]
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

12 years agoedbus: Avoid call _on_signal_handler_free over freed object or proxy
José Roberto de Souza [Thu, 18 Oct 2012 20:11:04 +0000 (20:11 +0000)]
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

12 years agoedbus: Use NULL instead of EDBUS_ARGS({"", ""})
José Roberto de Souza [Thu, 18 Oct 2012 17:00:28 +0000 (17:00 +0000)]
edbus: Use NULL instead of EDBUS_ARGS({"", ""})

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

SVN revision: 78192

12 years agoedbus: Fix type check of solo structs
José Roberto de Souza [Tue, 16 Oct 2012 22:35:50 +0000 (22:35 +0000)]
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

12 years agoedbus: Add dictionary iterator
José Roberto de Souza [Tue, 16 Oct 2012 22:35:44 +0000 (22:35 +0000)]
edbus: Add dictionary iterator

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

SVN revision: 78071

12 years agoedbus: Add const EDBus_Message parameter of
José Roberto de Souza [Tue, 16 Oct 2012 15:07:17 +0000 (15:07 +0000)]
edbus: Add const EDBus_Message parameter of
 edbus_message_iter_get

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

SVN revision: 78068

12 years agoedbus: Rename functions to obey EFL codding style
José Roberto de Souza [Tue, 16 Oct 2012 15:07:11 +0000 (15:07 +0000)]
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

12 years agoedbus: Remove edbus_real_method
José Roberto de Souza [Tue, 9 Oct 2012 15:23:25 +0000 (15:23 +0000)]
edbus: Remove edbus_real_method

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

SVN revision: 77656

12 years agoedbus: Fix example of double container
José Roberto de Souza [Tue, 9 Oct 2012 15:23:13 +0000 (15:23 +0000)]
edbus: Fix example of double container

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

SVN revision: 77655

12 years agoedbus: check if DBUS_TYPE_UNIX_FD exists
Sebastian Dransfeld [Tue, 9 Oct 2012 08:47:59 +0000 (08:47 +0000)]
edbus: check if DBUS_TYPE_UNIX_FD exists

SVN revision: 77629

12 years agoedbus: Improve doc of name_owner_changed_callback_add()
Lucas De Marchi [Tue, 2 Oct 2012 21:42:02 +0000 (21:42 +0000)]
edbus: Improve doc of name_owner_changed_callback_add()

Explain the reason for the extra flag on this function.

SVN revision: 77339

12 years agoedbus: Add flag to name_owner_changed_callback_add to
José Roberto de Souza [Tue, 2 Oct 2012 21:41:58 +0000 (21:41 +0000)]
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

12 years agoedbus: Call callback if already have a unique id when
José Roberto de Souza [Tue, 2 Oct 2012 21:41:53 +0000 (21:41 +0000)]
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

12 years agoedbus: Fix typos
Luis Felipe Strano Moraes [Tue, 2 Oct 2012 21:02:16 +0000 (21:02 +0000)]
edbus: Fix typos

Patch by: Luis Felipe Strano Moraes <luis.strano@gmail.com>

SVN revision: 77335

12 years agoedbus: Fix lib name in edbus2.pc.in
José Roberto de Souza [Wed, 26 Sep 2012 20:33:53 +0000 (20:33 +0000)]
edbus: Fix lib name in edbus2.pc.in

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

SVN revision: 77102

12 years agoedbus: Full file path on EXTRA_DIST of doc
José Roberto de Souza [Wed, 26 Sep 2012 18:49:16 +0000 (18:49 +0000)]
edbus: Full file path on EXTRA_DIST of doc

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

SVN revision: 77098

12 years agoedbus: Add edbus_signal_handler_match_extra_vset
José Roberto de Souza [Wed, 26 Sep 2012 18:16:34 +0000 (18:16 +0000)]
edbus: Add edbus_signal_handler_match_extra_vset

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

SVN revision: 77095

12 years agoedbus: Fix building doc outside of tree
José Roberto de Souza [Wed, 26 Sep 2012 18:16:28 +0000 (18:16 +0000)]
edbus: Fix building doc outside of tree

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

SVN revision: 77094

12 years agoedbus: Add example of 2 containners at same level.
José Roberto de Souza [Fri, 21 Sep 2012 22:44:17 +0000 (22:44 +0000)]
edbus: Add example of 2 containners at same level.

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

SVN revision: 77007

12 years agoedbus: Reduce variable scope and add const where it's
Lucas De Marchi [Fri, 21 Sep 2012 22:44:11 +0000 (22:44 +0000)]
edbus: Reduce variable scope and add const where it's
 due

SVN revision: 77006

12 years agoedbus: Do not build examples by default
Lucas De Marchi [Fri, 21 Sep 2012 22:44:05 +0000 (22:44 +0000)]
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

12 years agoedbus: Fix memory leak in
José Roberto de Souza [Fri, 21 Sep 2012 22:43:58 +0000 (22:43 +0000)]
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

12 years agoedbus: Ignore the compiled library
Lucas De Marchi [Fri, 21 Sep 2012 21:57:37 +0000 (21:57 +0000)]
edbus: Ignore the compiled library

SVN revision: 77003

12 years agoedbus: Also rename installed lib to edbus2
Lucas De Marchi [Fri, 21 Sep 2012 20:20:08 +0000 (20:20 +0000)]
edbus: Also rename installed lib to edbus2

SVN revision: 76997

12 years agoedbus: Rename edbus.pc to edbus2.pc to avoi conflict
Lucas De Marchi [Fri, 21 Sep 2012 19:56:52 +0000 (19:56 +0000)]
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

12 years agoAdd new edbus library, aka e_dbus v2
Lucas De Marchi [Mon, 17 Sep 2012 20:41:05 +0000 (20:41 +0000)]
Add new edbus library, aka e_dbus v2

SVN revision: 76775