Rui Seabra
aa10dd0b5a
rpm spec for new edbus
...
SVN revision: 79417
11 years ago
José Roberto de Souza
8338efaf60
edbus: Fix doxygen layout
...
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 79389
11 years ago
José Roberto de Souza
ba1f699883
edbus: Add main page to doxygen
...
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 79388
11 years ago
José Roberto de Souza
4fa2b8d735
edbus: Rename edbus_object_bus_path_get() to edbus_object_path_get()
...
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 79387
11 years ago
José Roberto de Souza
c3828323c2
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
11 years ago
José Roberto de Souza
7a407c66db
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
11 years ago
José Roberto de Souza
e3607b5b35
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
11 years ago
José Roberto de Souza
f1db6fcba9
edbus: Remove stringshare of Instrospectable interface
...
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 79383
11 years ago
José Roberto de Souza
2c9e6e4760
edbus: Add edbus_service_object_manager_attach/detach
...
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 79382
11 years ago
José Roberto de Souza
d26d9a48b1
edbus: Fix leak in GetAll Properties of Proxy monitor
...
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 79381
11 years ago
José Roberto de Souza
7c2d19fce2
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
11 years ago
Lucas De Marchi
0fa753cd7d
edbus: add const where it's due and remove casts
...
SVN revision: 79185
11 years ago
Lucas De Marchi
c2de1aa13e
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
11 years ago
Lucas De Marchi
1478175b5f
edbus: do not alloc/free eina_strbuf. Reset it instead
...
SVN revision: 79183
11 years ago
Lucas De Marchi
e877a52f97
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
11 years ago
Lucas De Marchi
219ca93d23
edbus: compat introspection with no annotation/arg
...
SVN revision: 79181
11 years ago
Lucas De Marchi
0f927daa19
edbus: add son in server example for tests
...
SVN revision: 79180
11 years ago
Lucas De Marchi
8fe3146fe8
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
11 years ago
Lucas De Marchi
312bb0d887
edbus: simplify and fix formatting
...
SVN revision: 79178
11 years ago
Lucas De Marchi
0bc346c979
edbus: move function up - no fwd declaration when not needed
...
SVN revision: 79177
11 years ago
Lucas De Marchi
e619f29e6e
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
11 years ago
José Roberto de Souza
fb26be4f1b
edbus: Append path of child objects in Introspectable
...
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 79175
11 years ago
Sebastian Dransfeld
f8d97711a7
edbus: reply for name request is reply code
...
SVN revision: 79121
11 years ago
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
11 years ago
José Roberto de Souza
5169b73515
edbus: Add invalidate to EDBus_Property
...
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 79036
11 years ago
José Roberto de Souza
ffc6f5cf9f
edbus: Implement DBus.Properties for services
...
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 79035
11 years ago
Sebastian Dransfeld
faefc75e95
edbus: Fix typo
...
SVN revision: 78887
11 years ago
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
11 years ago
Gustavo Sverzut Barbieri
2d2f2236a4
add copying (lgpl like elm) and readme.
...
SVN revision: 78868
11 years ago
Sebastian Dransfeld
5b3ac2cb0c
edbus: prevent segv
...
SVN revision: 78816
11 years ago
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
11 years ago
Sebastian Dransfeld
593b9c00e0
edbus: typo
...
SVN revision: 78810
11 years ago
Lucas De Marchi
20ec8868e6
edbus: exec configure in the end to preserve return code
...
SVN revision: 78803
11 years ago
José Roberto de Souza
dfd2bd0204
edbus: Add Properties to edbus service API
...
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 78802
11 years ago
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
11 years ago
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
11 years ago
José Roberto de Souza
959cc5ade9
edbus: Remove unnecessary define
...
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 78625
11 years ago
José Roberto de Souza
f0532b7643
edbus: Add missed eina_magic names
...
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 78624
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
José Roberto de Souza
1513705c9b
edbus: Parse Eina_Value to edbus_message
...
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 78548
11 years ago
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
11 years ago
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
11 years ago
Lucas De Marchi
6f52b71822
edbus: Mark properties_signal to be removed
...
SVN revision: 78545
11 years ago
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
11 years ago