Commit Graph

60 Commits

Author SHA1 Message Date
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
Gustavo Sverzut Barbieri 2d2f2236a4 add copying (lgpl like elm) and readme.
SVN revision: 78868
2012-11-02 14:38:51 +00:00
Sebastian Dransfeld 5b3ac2cb0c edbus: prevent segv
SVN revision: 78816
2012-11-02 02:49:24 +00:00
Sebastian Dransfeld 75579a775b edbus: register interface before name
Else will clients activating a service fail, as the dbus expects to know
available interfaces on name request.

SVN revision: 78811
2012-11-02 01:46:56 +00:00
Sebastian Dransfeld 593b9c00e0 edbus: typo
SVN revision: 78810
2012-11-02 01:46:50 +00:00
Lucas De Marchi 20ec8868e6 edbus: exec configure in the end to preserve return code
SVN revision: 78803
2012-11-01 16:41:17 +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 f94520c1fa edbus: Fix wrong pointer passed to edbus_message_iter_arguments_get
We were expected to pass an int pointer, but instead we were passing a
char, which leads to a crash in complex_type_server.

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



SVN revision: 78623
2012-10-29 22:02:32 +00:00
Lucas De Marchi b312303137 edbus: Use a "make examples" rule to make examples
Instead of having to enable the examples during configure time, separate
the examples in a special target, "make examples". It's currently a bit
different from the libraries in the common efl tree since we are not
using recursive makefiles.



SVN revision: 78622
2012-10-29 22:02:25 +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 a69f6ce338 edbus: Add edbus_message to/from eina_value examples
Also move properties changed example to this file.

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



SVN revision: 78550
2012-10-26 18:20:02 +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
Lucas De Marchi 6f52b71822 edbus: Mark properties_signal to be removed
SVN revision: 78545
2012-10-26 18:19:37 +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
Lucas De Marchi 6fb7d45936 edbus: Fix remaining signature with EDBUS_ARGS({ NULL, NULL })
SVN revision: 78542
2012-10-26 16:46:06 +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
Stefan Schmidt cedf5d0cf9 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
2012-10-24 19:50:29 +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 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 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