Commit Graph

41 Commits

Author SHA1 Message Date
Carsten Haitzler 2c93e58673 even if we have an older libdbus - let's #define the strings that are
missing - at r4untime we wont get them, but hey - we'll compile at
least and when dbus is upgrade... we'll get them and work right. :)



SVN revision: 79080
2012-11-10 04:26:48 +00:00
José Roberto de Souza 5169b73515 edbus: Add invalidate to EDBus_Property
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 79036
2012-11-09 18:35:20 +00:00
José Roberto de Souza ffc6f5cf9f edbus: Implement DBus.Properties for services
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 79035
2012-11-09 18:35:14 +00:00
Sebastian Dransfeld faefc75e95 edbus: Fix typo
SVN revision: 78887
2012-11-03 21:43:40 +00:00
Sebastian Dransfeld d96f7e9f98 edbus2: quiet warning (again)
Say what you want, but this creates quite a lot of warnings, and
warnings when including another header into a project is no good. I want
to just see my own warnings.

So as long as there is only two NULLs, please let them be there.

SVN revision: 78873
2012-11-02 20:12:27 +00:00
Sebastian Dransfeld 5b3ac2cb0c edbus: prevent segv
SVN revision: 78816
2012-11-02 02:49:24 +00:00
Sebastian Dransfeld 593b9c00e0 edbus: typo
SVN revision: 78810
2012-11-02 01:46:50 +00:00
José Roberto de Souza dfd2bd0204 edbus: Add Properties to edbus service API
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 78802
2012-11-01 16:41:11 +00:00
José Roberto de Souza 5719e45bbd edbus: Use separate struct for description of Service Interface
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 78801
2012-11-01 16:41:04 +00:00
José Roberto de Souza 4de063a9fb edbus: Make on_name_owner_changed() return upon error getting args
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 78626
2012-10-29 22:02:46 +00:00
José Roberto de Souza 959cc5ade9 edbus: Remove unnecessary define
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 78625
2012-10-29 22:02:41 +00:00
José Roberto de Souza f0532b7643 edbus: Add missed eina_magic names
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 78624
2012-10-29 22:02:36 +00:00
José Roberto de Souza dd7e8ad1a7 edbus: Add some EINA_SAFETY to public API
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 78553
2012-10-26 18:20:19 +00:00
José Roberto de Souza 5153494542 edbus: Revert 'Add initializers to stop warnings' r78292
http://www.mail-archive.com/enlightenment-devel@lists.sourceforge.net/msg46587.html

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



SVN revision: 78552
2012-10-26 18:20:14 +00:00
José Roberto de Souza de74c4245b edbus: Add doc of edbus_message to/from eina_value
Move edbus_to/from_eina_value.h to single file

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



SVN revision: 78551
2012-10-26 18:20:09 +00:00
José Roberto de Souza c256bce151 edbus: Break while if a error happen in message_arguments_set
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 78549
2012-10-26 18:19:57 +00:00
José Roberto de Souza 1513705c9b edbus: Parse Eina_Value to edbus_message
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 78548
2012-10-26 18:19:52 +00:00
José Roberto de Souza 4f1b905db3 edbus: Add edbus_proxy_properties_changed_callback_add
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 78547
2012-10-26 18:19:46 +00:00
José Roberto de Souza e8b9c7d42e edbus: Add edbus_proxy_property_local_get and get_all
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 78546
2012-10-26 18:19:42 +00:00
José Roberto de Souza c30124d90a edbus: Implementation of EDBUS_PROXY_EVENTS and edbus_proxy_properties_monitor
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 78544
2012-10-26 18:19:32 +00:00
José Roberto de Souza 45a5f7e5d5 edbus: Parse EDBus_Message to Eina_Value
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 78543
2012-10-26 18:19:25 +00:00
José Roberto de Souza b0c6e26b47 edbus: Fix instrospect signature
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 78541
2012-10-26 16:45:58 +00:00
Sebastian Dransfeld 878bfd2616 edbus: Add initializers to stop warnings
SVN revision: 78292
2012-10-21 04:52:59 +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
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
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