Lucas De Marchi [Mon, 17 Dec 2012 18:25:13 +0000 (18:25 +0000)]
edbus: rename DISCONNECTED event
SVN revision: 81177
Lucas De Marchi [Mon, 17 Dec 2012 18:25:06 +0000 (18:25 +0000)]
edbus: Fix formatting
SVN revision: 81176
Lucas De Marchi [Mon, 17 Dec 2012 18:25:00 +0000 (18:25 +0000)]
edbus: simplify end condition check in loop
SVN revision: 81175
Lucas De Marchi [Mon, 17 Dec 2012 18:24:54 +0000 (18:24 +0000)]
edbus: avoid using dbus_signature_iter_get_signature when not needed
SVN revision: 81174
Lucas De Marchi [Mon, 17 Dec 2012 18:24:49 +0000 (18:24 +0000)]
edbus: Use eina_log in client example and generalize expected values
Keep expected values in a struct. It would be ideal to have all values
and compare functions in an array, so we would be able to set the same
callback function for all methods. But it's already short enough so keep
it as is.
The usage of eina_log here allows us to easily catch which test failed.
SVN revision: 81173
Lucas De Marchi [Mon, 17 Dec 2012 18:24:43 +0000 (18:24 +0000)]
edbus: Fix typo in error message
SVN revision: 81172
Lucas De Marchi [Mon, 17 Dec 2012 18:24:37 +0000 (18:24 +0000)]
edbus: Don't use "bool" as a variable name
Using bool as variable name is asking for trouble in C99. If we end up
including stdbool.h, this would fail.
SVN revision: 81171
Lucas De Marchi [Mon, 17 Dec 2012 18:24:31 +0000 (18:24 +0000)]
edbus: Let arguments_get fail if getting less args than passed
If user passed a string with more elements, return EINA_FALSE on
edbus_message_arguments_get() so he knows not all elements are
initialized. Before this patch, we would notify user of its error if he
did something like:
i) edbus_message_arguments_get(msg, "uu", &a)
ii) edbus_message_arguments_get(msg, "uu", &a, &b)
And "msg" containing only 1 argument.
This also fixes the case in which user is getting the elements of an
array iterator and the array is empty. We were previously returning
EINA_TRUE, even if we were not filling the variable.
Last but not least, if the user was calling
edbus_message_iter_arguments_get() in an empty array, we would return
EINA_FALSE, even if we didn't actually get any element.
SVN revision: 81170
Lucas De Marchi [Mon, 17 Dec 2012 18:24:23 +0000 (18:24 +0000)]
edbus: do not use dbus_signature_iter_get_signature in edbus_message_iter_arguments_vget
we are only interested in the first char of the signature so we can use
dbus_signature_iter_get_current_type and:
a) avoid the allocation of the signature for each complete type
b) simplify the check for struct and dict, since *_get_current_type()
does TheRightThing (TM)
This also rename some variables to clarify the new semantics:
iter_type -> iter
sig_type -> sig_iter
SVN revision: 81169
Lucas De Marchi [Fri, 14 Dec 2012 16:29:08 +0000 (16:29 +0000)]
edbus: Improve doc of edbus_{private_,}connection_get
SVN revision: 80968
Lucas De Marchi [Fri, 14 Dec 2012 16:29:01 +0000 (16:29 +0000)]
edbus: add edbus.spec to gitignore
SVN revision: 80967
Lucas De Marchi [Fri, 14 Dec 2012 16:28:55 +0000 (16:28 +0000)]
edbus: Remove useless defines
These values are used only using they directly are more meaninful than
those defines.
SVN revision: 80966
Lucas De Marchi [Fri, 14 Dec 2012 16:28:50 +0000 (16:28 +0000)]
edbus: remove unneeded code
SVN revision: 80965
Lucas De Marchi [Fri, 14 Dec 2012 16:28:46 +0000 (16:28 +0000)]
edbus: if you goto end, you don't use else
SVN revision: 80964
Lucas De Marchi [Fri, 14 Dec 2012 16:28:41 +0000 (16:28 +0000)]
edbus: Add missing EINA_WARN_UNUSED_RESULT to service API
SVN revision: 80963
Lucas De Marchi [Fri, 14 Dec 2012 16:28:36 +0000 (16:28 +0000)]
edbus: Add blank lines to separate function docs
find . -name '*.h' -exec \
sed -i '/^\s*$/b; N; /\n\/\*\*/{P;x;p;x;D}' {} \;
This ensures to add a blank line above a doxygen comment if and only if
there wasn't one.
SVN revision: 80962
Lucas De Marchi [Fri, 14 Dec 2012 16:28:27 +0000 (16:28 +0000)]
edbus: Give proper doc to edbus_service_property_changed()
SVN revision: 80961
José Roberto de Souza [Tue, 11 Dec 2012 19:52:24 +0000 (19:52 +0000)]
edbus: Dont create proxy of FDO.Instropectable
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 80712
José Roberto de Souza [Tue, 11 Dec 2012 19:52:20 +0000 (19:52 +0000)]
edbus: Dont create proxy of FDO.Peer
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 80711
José Roberto de Souza [Tue, 11 Dec 2012 19:52:15 +0000 (19:52 +0000)]
edbus: Fix typo in object manager
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 80710
José Roberto de Souza [Tue, 11 Dec 2012 19:52:11 +0000 (19:52 +0000)]
edbus: Dont create proxy of Object Manager on edbus_object_managed_objects_get()
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 80709
José Roberto de Souza [Tue, 11 Dec 2012 19:52:06 +0000 (19:52 +0000)]
edbus: Only one ref of Properties interface in each object
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 80708
Lucas De Marchi [Tue, 11 Dec 2012 19:52:02 +0000 (19:52 +0000)]
edbus: Better naming for FDO proxy in connection
Patch by: Lucas De Marchi <lucas.de.marchi@gmail.com>
SVN revision: 80707
José Roberto de Souza [Tue, 11 Dec 2012 19:51:38 +0000 (19:51 +0000)]
edbus: Keep only one reference of object and proxy of dbus daemon interface per connection
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 80706
Lucas De Marchi [Tue, 11 Dec 2012 19:51:34 +0000 (19:51 +0000)]
edbus: simplify returning new ref of obj/proxy
Patch by: Lucas De Marchi <lucas.de.marchi@gmail.com>
SVN revision: 80705
José Roberto de Souza [Tue, 11 Dec 2012 19:51:29 +0000 (19:51 +0000)]
edbus: Add ref to object and proxy in edbus_object/proxy_get
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 80704
José Roberto de Souza [Tue, 11 Dec 2012 19:51:25 +0000 (19:51 +0000)]
edbus: Fix typo on doc of edbus_message_arguments_get
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 80703
José Roberto de Souza [Tue, 11 Dec 2012 19:51:20 +0000 (19:51 +0000)]
edbus: Add object method call
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 80702
José Roberto de Souza [Tue, 11 Dec 2012 19:51:16 +0000 (19:51 +0000)]
edbus: Add missing break in edbus_message_from_eina_value
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 80701
José Roberto de Souza [Tue, 11 Dec 2012 19:51:12 +0000 (19:51 +0000)]
edbus: Add example for reading str array inside a variant using eina_value
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 80700
José Roberto de Souza [Tue, 11 Dec 2012 19:51:02 +0000 (19:51 +0000)]
edbus: Change some function parameters to const
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 80699
José Roberto de Souza [Tue, 11 Dec 2012 19:50:58 +0000 (19:50 +0000)]
edbus: Signal property changed after a successful property-set in complex server example
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 80698
José Roberto de Souza [Tue, 11 Dec 2012 19:50:53 +0000 (19:50 +0000)]
edbus: Fix signature check in edbus_message_iter_fixed_array_get()
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 80697
José Roberto de Souza [Tue, 11 Dec 2012 19:50:49 +0000 (19:50 +0000)]
edbus: Add Variant to Property set function
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 80696
José Roberto de Souza [Tue, 11 Dec 2012 19:50:45 +0000 (19:50 +0000)]
edbus: Add proxy to Proxy_Event_Property_Changed
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 80695
José Roberto de Souza [Tue, 11 Dec 2012 19:50:40 +0000 (19:50 +0000)]
edbus: Remove signal_handler_del over a already freed signal
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 80694
José Roberto de Souza [Tue, 11 Dec 2012 19:50:29 +0000 (19:50 +0000)]
edbus: Add Disconnected event in connection
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 80693
José Roberto de Souza [Tue, 11 Dec 2012 19:50:25 +0000 (19:50 +0000)]
edbus: Remove unnecessary connection events
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 80692
José Roberto de Souza [Tue, 11 Dec 2012 19:50:20 +0000 (19:50 +0000)]
edbus: Add edbus_private_connection_get()
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 80691
José Roberto de Souza [Tue, 11 Dec 2012 19:50:16 +0000 (19:50 +0000)]
edbus: Refactor examples
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 80690
José Roberto de Souza [Tue, 11 Dec 2012 19:50:11 +0000 (19:50 +0000)]
edbus: Support '(' and '{' in edbus_message_iter_get_and_next()
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 80689
José Roberto de Souza [Tue, 11 Dec 2012 19:50:06 +0000 (19:50 +0000)]
edbus: Allow to monitor unique id in edbus_name_owner_changed_callback_add
This allows to monitor when a client exits. Clients in general don't
register a name in the bus and in some cases it's even not allowed to do
(for example an agent talking to bluetoothd, that runs in system bus).
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 80687
José Roberto de Souza [Tue, 11 Dec 2012 19:50:01 +0000 (19:50 +0000)]
edbus: Fix bug found in refactored banshee example
Refactor edbus_signal_handler_add() so internal signal handlers don't
set the connection free callback. This fixes the bug in which
EDBus_Connection was freeing the signal handler of EDBus_Conenction_Name
==22814== Invalid read of size 4
==22814== at 0x40564B0: edbus_signal_handler_del (edbus_signal_handler.c:278)
==22814== by 0x4040E65: _edbus_connection_name_unref (edbus_core.c:507)
==22814== by 0x404106B: edbus_connection_name_owner_monitor (edbus_core.c:520)
==22814== by 0x4055F63: _edbus_signal_handler_clean (edbus_signal_handler.c:217)
==22814== by 0x40564F8: edbus_signal_handler_del (edbus_signal_handler.c:279)
==22814== by 0x4043088: _edbus_connection_unref (edbus_core.c:1045)
==22814== by 0x404352F: edbus_connection_unref (edbus_core.c:1105)
==22814== by 0x80498AA: main (banshee.c:233)
==22814== Address 0x44bea48 is 0 bytes inside a block of size 72 free'd
==22814== at 0x402C06C: free (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==22814== by 0x4056118: _edbus_signal_handler_del (edbus_signal_handler.c:249)
==22814== by 0x4056401: edbus_signal_handler_unref (edbus_signal_handler.c:272)
==22814== by 0x4056503: edbus_signal_handler_del (edbus_signal_handler.c:280)
==22814== by 0x4043088: _edbus_connection_unref (edbus_core.c:1045)
==22814== by 0x404352F: edbus_connection_unref (edbus_core.c:1105)
==22814== by 0x80498AA: main (banshee.c:233)
==22814==
CRI<22814>: src/lib/edbus_signal_handler.c:278 edbus_signal_handler_del() *** Eina Magic Check Failed !!!
Input handle has already been freed!
*** NAUGHTY PROGRAMMER!!!
*** SPANK SPANK SPANK!!!
*** Now go fix your code. Tut tut tut!
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 80686
José Roberto de Souza [Tue, 11 Dec 2012 19:49:57 +0000 (19:49 +0000)]
edbus: Refactor banshee example
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 80685
José Roberto de Souza [Tue, 11 Dec 2012 19:49:46 +0000 (19:49 +0000)]
edbus: Refactor edbus_connection_name
Simplifications on "monitor" of NameOwnerChanged
Life cycle tied with refcount, objs, and name_owner_changed list.
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 80684
José Roberto de Souza [Tue, 11 Dec 2012 19:49:42 +0000 (19:49 +0000)]
edbus: Handle 'unref signal handler inside of own callback' with ref and unref
This way is much simpler and doesn't generate many events when main loop
is quit inside of a signal handler callback.
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 80683
José Roberto de Souza [Tue, 11 Dec 2012 19:49:37 +0000 (19:49 +0000)]
edbus: Use edbus_connection_name_get() instead of try find and alloc
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 80682
José Roberto de Souza [Tue, 11 Dec 2012 19:49:33 +0000 (19:49 +0000)]
edbus: Add EINA_ARG_NONNULL and EINA_WARN_UNUSED_RESULT to API
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 80681
José Roberto de Souza [Tue, 11 Dec 2012 19:49:27 +0000 (19:49 +0000)]
edbus: Implement edbus_object_managed_objects_get()
Also removed edbus_object_interfaces_added_callback_add/del() because we already
have object events for that.
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 80680
José Roberto de Souza [Mon, 3 Dec 2012 12:09:53 +0000 (12:09 +0000)]
edbus: Implement edbus_object_event_callback_add()
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 80058
Lucas De Marchi [Mon, 3 Dec 2012 12:09:43 +0000 (12:09 +0000)]
edbus: remove static from var
This is not needed. Let it on stack.
SVN revision: 80057
Rui Seabra [Sun, 18 Nov 2012 11:22:16 +0000 (11:22 +0000)]
rpm spec for new edbus
SVN revision: 79417
José Roberto de Souza [Fri, 16 Nov 2012 13:07:58 +0000 (13:07 +0000)]
edbus: Fix doxygen layout
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 79389
José Roberto de Souza [Fri, 16 Nov 2012 13:07:53 +0000 (13:07 +0000)]
edbus: Add main page to doxygen
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 79388
José Roberto de Souza [Fri, 16 Nov 2012 13:07:45 +0000 (13:07 +0000)]
edbus: Rename edbus_object_bus_path_get() to edbus_object_path_get()
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 79387
José Roberto de Souza [Fri, 16 Nov 2012 13:07:38 +0000 (13:07 +0000)]
edbus: Fix search of children objects when path = "/"
Example: there's an object in "/org/bla" and we are adding an object in
"/". Thus the second should becaome the parent of the first, which was a
root object since it had no parent yet.
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 79386
José Roberto de Souza [Fri, 16 Nov 2012 13:07:32 +0000 (13:07 +0000)]
edbus: Fix segfault in edbus_message_to_eina_value() when message have no args
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 79385
José Roberto de Souza [Fri, 16 Nov 2012 13:07:26 +0000 (13:07 +0000)]
edbus: Cosmetic change
There's no need to call eina_array_count(). Pop until it finishes.
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 79384
José Roberto de Souza [Fri, 16 Nov 2012 13:07:21 +0000 (13:07 +0000)]
edbus: Remove stringshare of Instrospectable interface
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 79383
José Roberto de Souza [Fri, 16 Nov 2012 13:07:14 +0000 (13:07 +0000)]
edbus: Add edbus_service_object_manager_attach/detach
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 79382
José Roberto de Souza [Fri, 16 Nov 2012 13:07:06 +0000 (13:07 +0000)]
edbus: Fix leak in GetAll Properties of Proxy monitor
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 79381
José Roberto de Souza [Fri, 16 Nov 2012 13:06:53 +0000 (13:06 +0000)]
edbus: Add input message to get property function
Without this message, it's not possible for user create the error
message. Also update the docs to clarify usage of the Get/Set callbacks.
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 79380
Lucas De Marchi [Mon, 12 Nov 2012 16:16:16 +0000 (16:16 +0000)]
edbus: add const where it's due and remove casts
SVN revision: 79185
Lucas De Marchi [Mon, 12 Nov 2012 16:16:10 +0000 (16:16 +0000)]
edbus: check signature earlier and fail on invalid signature
The problem is: if there's any arg with invalid signatures, we cannot
continue adding the interface. Just fail with a log message so user will
notice it.
This means we need to check if signals are valid much earlier. Actually
before even adding the object/interface.
Also change the iteration on signals so we don't use a needless index.
SVN revision: 79184
Lucas De Marchi [Mon, 12 Nov 2012 16:16:04 +0000 (16:16 +0000)]
edbus: do not alloc/free eina_strbuf. Reset it instead
SVN revision: 79183
Lucas De Marchi [Mon, 12 Nov 2012 16:15:58 +0000 (16:15 +0000)]
edbus: simplify/unify appending args to methods/signals
Functions to append methods/properties/signals also marked as inline as
they should be called by only one place.
SVN revision: 79182
Lucas De Marchi [Mon, 12 Nov 2012 16:15:52 +0000 (16:15 +0000)]
edbus: compat introspection with no annotation/arg
SVN revision: 79181
Lucas De Marchi [Mon, 12 Nov 2012 16:15:43 +0000 (16:15 +0000)]
edbus: add son in server example for tests
SVN revision: 79180
Lucas De Marchi [Mon, 12 Nov 2012 16:07:12 +0000 (16:07 +0000)]
edbus: fix checking if root objects are our son
strncmp'ing is not sufficient because it whould fail in case an object
like "/org/bla" is registered (and in conn->root_objs) and we were
registering "/org/blatest/". We would incorrectly put "/org/bla" as son
of "/org/blatest". Fix this by looking up the next char, checking if
it's a slash.
Also re-format the code a little bit.
SVN revision: 79179
Lucas De Marchi [Mon, 12 Nov 2012 16:07:06 +0000 (16:07 +0000)]
edbus: simplify and fix formatting
SVN revision: 79178
Lucas De Marchi [Mon, 12 Nov 2012 16:07:01 +0000 (16:07 +0000)]
edbus: move function up - no fwd declaration when not needed
SVN revision: 79177
Lucas De Marchi [Mon, 12 Nov 2012 16:06:51 +0000 (16:06 +0000)]
edbus: simplify and explain code
No need to strlen(obj->path) twice per loop iteration. Do it only once
and add a comment explaining the difference between handling "/" and
"/my/path/to/obj".
SVN revision: 79176
José Roberto de Souza [Mon, 12 Nov 2012 16:06:41 +0000 (16:06 +0000)]
edbus: Append path of child objects in Introspectable
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 79175
Sebastian Dransfeld [Sun, 11 Nov 2012 20:58:38 +0000 (20:58 +0000)]
edbus: reply for name request is reply code
SVN revision: 79121
Carsten Haitzler [Sat, 10 Nov 2012 04:26:48 +0000 (04:26 +0000)]
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
José Roberto de Souza [Fri, 9 Nov 2012 18:35:20 +0000 (18:35 +0000)]
edbus: Add invalidate to EDBus_Property
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 79036
José Roberto de Souza [Fri, 9 Nov 2012 18:35:14 +0000 (18:35 +0000)]
edbus: Implement DBus.Properties for services
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 79035
Sebastian Dransfeld [Sat, 3 Nov 2012 21:43:40 +0000 (21:43 +0000)]
edbus: Fix typo
SVN revision: 78887
Sebastian Dransfeld [Fri, 2 Nov 2012 20:12:27 +0000 (20:12 +0000)]
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
Gustavo Sverzut Barbieri [Fri, 2 Nov 2012 14:38:51 +0000 (14:38 +0000)]
add copying (lgpl like elm) and readme.
SVN revision: 78868
Sebastian Dransfeld [Fri, 2 Nov 2012 02:49:24 +0000 (02:49 +0000)]
edbus: prevent segv
SVN revision: 78816
Sebastian Dransfeld [Fri, 2 Nov 2012 01:46:56 +0000 (01:46 +0000)]
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
Sebastian Dransfeld [Fri, 2 Nov 2012 01:46:50 +0000 (01:46 +0000)]
edbus: typo
SVN revision: 78810
Lucas De Marchi [Thu, 1 Nov 2012 16:41:17 +0000 (16:41 +0000)]
edbus: exec configure in the end to preserve return code
SVN revision: 78803
José Roberto de Souza [Thu, 1 Nov 2012 16:41:11 +0000 (16:41 +0000)]
edbus: Add Properties to edbus service API
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 78802
José Roberto de Souza [Thu, 1 Nov 2012 16:41:04 +0000 (16:41 +0000)]
edbus: Use separate struct for description of Service Interface
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 78801
José Roberto de Souza [Mon, 29 Oct 2012 22:02:46 +0000 (22:02 +0000)]
edbus: Make on_name_owner_changed() return upon error getting args
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 78626
José Roberto de Souza [Mon, 29 Oct 2012 22:02:41 +0000 (22:02 +0000)]
edbus: Remove unnecessary define
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 78625
José Roberto de Souza [Mon, 29 Oct 2012 22:02:36 +0000 (22:02 +0000)]
edbus: Add missed eina_magic names
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 78624
José Roberto de Souza [Mon, 29 Oct 2012 22:02:32 +0000 (22:02 +0000)]
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
Lucas De Marchi [Mon, 29 Oct 2012 22:02:25 +0000 (22:02 +0000)]
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
José Roberto de Souza [Fri, 26 Oct 2012 18:20:19 +0000 (18:20 +0000)]
edbus: Add some EINA_SAFETY to public API
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 78553
José Roberto de Souza [Fri, 26 Oct 2012 18:20:14 +0000 (18:20 +0000)]
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
José Roberto de Souza [Fri, 26 Oct 2012 18:20:09 +0000 (18:20 +0000)]
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
José Roberto de Souza [Fri, 26 Oct 2012 18:20:02 +0000 (18:20 +0000)]
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
José Roberto de Souza [Fri, 26 Oct 2012 18:19:57 +0000 (18:19 +0000)]
edbus: Break while if a error happen in message_arguments_set
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 78549
José Roberto de Souza [Fri, 26 Oct 2012 18:19:52 +0000 (18:19 +0000)]
edbus: Parse Eina_Value to edbus_message
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 78548
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
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
Lucas De Marchi [Fri, 26 Oct 2012 18:19:37 +0000 (18:19 +0000)]
edbus: Mark properties_signal to be removed
SVN revision: 78545