framework/uifw/edbus.git
14 years agoadd missing func attributes.
barbieri [Fri, 12 Mar 2010 13:47:11 +0000 (13:47 +0000)]
add missing func attributes.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@47157 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoconst
barbieri [Fri, 12 Mar 2010 01:15:58 +0000 (01:15 +0000)]
const

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@47149 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoelement type checking.
barbieri [Thu, 11 Mar 2010 23:48:37 +0000 (23:48 +0000)]
element type checking.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@47147 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago-Wextra cleanup.
barbieri [Thu, 11 Mar 2010 23:20:33 +0000 (23:20 +0000)]
-Wextra cleanup.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@47146 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoformatting, damn!
barbieri [Thu, 11 Mar 2010 23:16:25 +0000 (23:16 +0000)]
formatting, damn!

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@47145 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago[PATCH 5/5] e_dbus/bluez: move to Eina_Bool
barbieri [Wed, 10 Mar 2010 20:36:17 +0000 (20:36 +0000)]
[PATCH 5/5] e_dbus/bluez: move to Eina_Bool

By: Gustavo F. Padovan <padovan@profusion.mobi>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@47117 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago[PATCH 4/5] e_dbus/bluez: add more bluez functions to e_dbus
barbieri [Wed, 10 Mar 2010 20:36:09 +0000 (20:36 +0000)]
[PATCH 4/5] e_dbus/bluez: add more bluez functions to e_dbus
On this commit set/get for 3 adapters properties: Name, Discoverable,
DiscoverableTimeout.

By: Gustavo F. Padovan <padovan@profusion.mobi>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@47116 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago[PATCH 3/5] e_dbus/bluez: fix some errors on doc
barbieri [Wed, 10 Mar 2010 20:36:04 +0000 (20:36 +0000)]
[PATCH 3/5] e_dbus/bluez: fix some errors on doc

By: Gustavo F. Padovan <padovan@profusion.mobi>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@47115 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago[PATCH 2/5] e_dbus/bluez: fix crash when reattaching a dbus iface
barbieri [Wed, 10 Mar 2010 20:35:56 +0000 (20:35 +0000)]
[PATCH 2/5] e_dbus/bluez: fix crash when reattaching a dbus iface

By: Gustavo F. Padovan <padovan@profusion.mobi>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@47114 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago[PATCH 1/5] e_dbus/bluez: fix compile warning
barbieri [Wed, 10 Mar 2010 20:35:42 +0000 (20:35 +0000)]
[PATCH 1/5] e_dbus/bluez: fix compile warning

By: Gustavo F. Padovan <padovan@profusion.mobi>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@47113 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoset svn:ignore for ofono files.
barbieri [Wed, 10 Mar 2010 20:35:17 +0000 (20:35 +0000)]
set svn:ignore for ofono files.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@47112 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoe_dbus: add support to Technologies interface
barbieri [Sun, 7 Mar 2010 20:10:05 +0000 (20:10 +0000)]
e_dbus: add support to Technologies interface

By: Lucas De Marchi <lucas.demarchi@profusion.mobi>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@46959 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago[PATCH 2/2] Add tests for Technology interface
barbieri [Wed, 3 Mar 2010 23:31:37 +0000 (23:31 +0000)]
[PATCH 2/2] Add tests for Technology interface

By: Lucas De Marchi <lucas.demarchi@profusion.mobi>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@46855 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago[PATCH 1/2] Fix device listing
barbieri [Wed, 3 Mar 2010 23:30:38 +0000 (23:30 +0000)]
[PATCH 1/2] Fix device listing
When iterating over devices in a certain technology, it was using wrong
prop name.

Remove also a trailing space

By: Lucas De Marchi <lucas.demarchi@profusion.mobi>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@46854 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoe_dbus/bluez: add adapter_get_discovering function
barbieri [Mon, 1 Mar 2010 21:26:25 +0000 (21:26 +0000)]
e_dbus/bluez: add adapter_get_discovering function

By: "Gustavo F. Padovan" <padovan@profusion.mobi>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@46743 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoremove useless libtool libs
caro [Sat, 27 Feb 2010 18:49:13 +0000 (18:49 +0000)]
remove useless libtool libs

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@46596 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoremove useless dependencies (already managed by automake)
caro [Sat, 27 Feb 2010 18:43:02 +0000 (18:43 +0000)]
remove useless dependencies (already managed by automake)

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@46595 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agowell that was bunk! put EAPI in headers!
raster [Sat, 27 Feb 2010 06:37:14 +0000 (06:37 +0000)]
well that was bunk! put EAPI in headers!

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@46569 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago[PATCH 16/16] e_dbus/bluez: move DeviceFound to e_bluez_devicefound.c
barbieri [Sat, 27 Feb 2010 05:28:07 +0000 (05:28 +0000)]
[PATCH 16/16] e_dbus/bluez: move DeviceFound to e_bluez_devicefound.c

By: Gustavo F. Padovan <padovan@profusion.mobi>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@46568 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago[PATCH 15/16] e_dbus/bluez: Add get_alias() function for DeviceFound
barbieri [Sat, 27 Feb 2010 05:28:01 +0000 (05:28 +0000)]
[PATCH 15/16] e_dbus/bluez: Add get_alias() function for DeviceFound

By: Gustavo F. Padovan <padovan@profusion.mobi>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@46567 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago[PATCH 14/16] e_dbus: Don't crash when method return NULL
barbieri [Sat, 27 Feb 2010 05:27:55 +0000 (05:27 +0000)]
[PATCH 14/16] e_dbus: Don't crash when method return NULL

By: Gustavo F. Padovan <padovan@profusion.mobi>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@46566 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago[PATCH 13/16] e_dbus/bluez: add CreatePairedDevice method
barbieri [Sat, 27 Feb 2010 05:27:49 +0000 (05:27 +0000)]
[PATCH 13/16] e_dbus/bluez: add CreatePairedDevice method

By: Gustavo F. Padovan <padovan@profusion.mobi>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@46565 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago[PATCH 12/16] e_dbus/bluez: add handler to DeviceFound signal
barbieri [Sat, 27 Feb 2010 05:27:43 +0000 (05:27 +0000)]
[PATCH 12/16] e_dbus/bluez: add handler to DeviceFound signal
E_Bluez_Device_Found should be free by the user, calling
e_bluez_adapter_device_found_free()

By: Gustavo F. Padovan <padovan@profusion.mobi>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@46564 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago[PATCH 11/16] e_dbus/connman: fix bug when calling dbus methods with bool parameter
barbieri [Sat, 27 Feb 2010 05:27:37 +0000 (05:27 +0000)]
[PATCH 11/16] e_dbus/connman: fix bug when calling dbus methods with bool parameter

By: João Paulo Rechi Vita <jprvita@profusion.mobi>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@46563 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago[PATCH 10/16] e_dbus/bluez: fix bug when calling dbus methods with bool parameter
barbieri [Sat, 27 Feb 2010 05:27:31 +0000 (05:27 +0000)]
[PATCH 10/16] e_dbus/bluez: fix bug when calling dbus methods with bool parameter

By: João Paulo Rechi Vita <jprvita@profusion.mobi>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@46562 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago[PATCH 09/16] e_dbus/ofono: fix bug when calling dbus methods with bool parameter
barbieri [Sat, 27 Feb 2010 05:27:26 +0000 (05:27 +0000)]
[PATCH 09/16] e_dbus/ofono: fix bug when calling dbus methods with bool parameter

By: João Paulo Rechi Vita <jprvita@profusion.mobi>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@46561 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago[PATCH 08/16] e_dbus/ofono: Add NetworkRegistration interface.
barbieri [Sat, 27 Feb 2010 05:27:20 +0000 (05:27 +0000)]
[PATCH 08/16] e_dbus/ofono: Add NetworkRegistration interface.

By: João Paulo Rechi Vita <jprvita@profusion.mobi>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@46560 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago[PATCH 07/16] e_dbus/ofono: Add interface parameter to send msg functions.
barbieri [Sat, 27 Feb 2010 05:27:14 +0000 (05:27 +0000)]
[PATCH 07/16] e_dbus/ofono: Add interface parameter to send msg functions.
This is necessary to make possible sending messages to different
interfaces than the associated with the element on it's creation.

By: João Paulo Rechi Vita <jprvita@profusion.mobi>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@46559 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago[PATCH 06/16] e_dbus/ofono: Add Modem interface.
barbieri [Sat, 27 Feb 2010 05:27:09 +0000 (05:27 +0000)]
[PATCH 06/16] e_dbus/ofono: Add Modem interface.

By: João Paulo Rechi Vita <jprvita@profusion.mobi>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@46558 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago[PATCH 05/16] e_dbus/ofono: Add support for array of interfaces.
barbieri [Sat, 27 Feb 2010 05:27:00 +0000 (05:27 +0000)]
[PATCH 05/16] e_dbus/ofono: Add support for array of interfaces.
Automatically register new elements if an element have an array of
interfaces under its property list.

By: João Paulo Rechi Vita <jprvita@profusion.mobi>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@46557 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago[PATCH 04/16] e_dbus/ofono: Refactor element.
barbieri [Sat, 27 Feb 2010 05:26:50 +0000 (05:26 +0000)]
[PATCH 04/16] e_dbus/ofono: Refactor element.
Makes elements hash be indexed by object path and interface.

By: João Paulo Rechi Vita <jprvita@profusion.mobi>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@46556 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago[PATCH 03/16] e_dbus: Add initial oFono support.
barbieri [Sat, 27 Feb 2010 05:25:03 +0000 (05:25 +0000)]
[PATCH 03/16] e_dbus: Add initial oFono support.

By: João Paulo Rechi Vita <jprvita@profusion.mobi>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@46555 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago[PATCH 02/16] e_dbus: Improve some error messages.
barbieri [Sat, 27 Feb 2010 05:11:31 +0000 (05:11 +0000)]
[PATCH 02/16] e_dbus: Improve some error messages.

By: João Paulo Rechi Vita <jprvita@profusion.mobi>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@46552 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago[PATCH 01/16] e_dbus/bluez: Fix some copy and paste typos.
barbieri [Sat, 27 Feb 2010 05:11:15 +0000 (05:11 +0000)]
[PATCH 01/16] e_dbus/bluez: Fix some copy and paste typos.

By: João Paulo Rechi Vita <jprvita@profusion.mobi>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@46551 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoTRUE/FALSE -> EINA_TRUE/EINA_FALSE
barbieri [Fri, 26 Feb 2010 23:53:16 +0000 (23:53 +0000)]
TRUE/FALSE -> EINA_TRUE/EINA_FALSE

By Lucas De Marchi.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@46536 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agohal: remove pointless test gui.
barbieri [Fri, 26 Feb 2010 23:05:02 +0000 (23:05 +0000)]
hal: remove pointless test gui.

gui was using ewl, causing confusion among newcomers and their
packages will not come now. the test ui was pointless and if someone
want it back, write a new one using elementary.

Actually, hal is dead. If you plan to do some work, write a new module
for DeviceKit-disks
(http://www.freedesktop.org/wiki/Software/DeviceKit)

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@46532 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoedbus/nm project is dead, not updated in years and broken.
barbieri [Fri, 26 Feb 2010 22:59:01 +0000 (22:59 +0000)]
edbus/nm project is dead, not updated in years and broken.

gone, for good.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@46531 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoe_dbus/bluez: remove another unneeded else
barbieri [Mon, 22 Feb 2010 21:40:19 +0000 (21:40 +0000)]
e_dbus/bluez: remove another unneeded else

By: Gustavo F. Padovan <padovan@profusion.mobi>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@46373 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoe_dbus/bluez: add start/stop discovery methods
barbieri [Mon, 22 Feb 2010 21:38:01 +0000 (21:38 +0000)]
e_dbus/bluez: add start/stop discovery methods

By: Gustavo F. Padovan <padovan@profusion.mobi>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@46372 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoe_dbus/bluez: fix funcion export name
barbieri [Mon, 22 Feb 2010 21:36:53 +0000 (21:36 +0000)]
e_dbus/bluez: fix funcion export name

By: Gustavo F. Padovan <padovan@profusion.mobi>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@46371 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoe_dbus/bluez: add data param in e_bluez_manager_default_adapter
barbieri [Mon, 22 Feb 2010 21:17:11 +0000 (21:17 +0000)]
e_dbus/bluez: add data param in e_bluez_manager_default_adapter

By: Gustavo F. Padovan <padovan@profusion.mobi>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@46370 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoe_dbus/bluez: fix var names
barbieri [Mon, 22 Feb 2010 21:15:31 +0000 (21:15 +0000)]
e_dbus/bluez: fix var names

By: Gustavo F. Padovan <padovan@profusion.mobi>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@46369 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoe_dbus/bluez: add check for NULL
barbieri [Mon, 22 Feb 2010 21:14:16 +0000 (21:14 +0000)]
e_dbus/bluez: add check for NULL

By: Gustavo F. Padovan <padovan@profusion.mobi>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@46368 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoe_dbus/bluez: add method to get powered state
barbieri [Mon, 22 Feb 2010 21:13:09 +0000 (21:13 +0000)]
e_dbus/bluez: add method to get powered state

By: Gustavo F. Padovan <padovan@profusion.mobi>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@46367 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoe_dbus/bluez: fix var name
barbieri [Mon, 22 Feb 2010 21:10:35 +0000 (21:10 +0000)]
e_dbus/bluez: fix var name

By: Gustavo F. Padovan <padovan@profusion.mobi>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@46366 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoe_dbus/bluez: fix e_bluez shutdown
barbieri [Mon, 22 Feb 2010 21:02:55 +0000 (21:02 +0000)]
e_dbus/bluez: fix e_bluez shutdown

By: Gustavo F. Padovan <padovan@profusion.mobi>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@46365 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoe_dbus/bluez: fix some copy and paste typos.
barbieri [Mon, 22 Feb 2010 20:14:53 +0000 (20:14 +0000)]
e_dbus/bluez: fix some copy and paste typos.

By: João Paulo Rechi Vita <jprvita@profusion.mobi>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@46363 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoFix make dist so it includes the rpm spec.
rui [Sun, 21 Feb 2010 18:24:21 +0000 (18:24 +0000)]
Fix make dist so it includes the rpm spec.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@46347 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoe_dbus/bluez: add support to method DefaultAdapter()
barbieri [Wed, 17 Feb 2010 18:49:03 +0000 (18:49 +0000)]
e_dbus/bluez: add support to method DefaultAdapter()

By: Gustavo F. Padovan <padovan@profusion.mobi>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@46257 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoe_dbus/bluez: Initial support to get and set individual properties
barbieri [Wed, 17 Feb 2010 18:46:14 +0000 (18:46 +0000)]
e_dbus/bluez: Initial support to get and set individual properties

Only 3 methods are suportted right now: _bluez_device_name_get,
e_bluez_adapter_powered_set, e_bluez_adapter_address_get.
One should refer to the BlueZ doc to look what's missing to implement.

By: Gustavo F. Padovan <padovan@profusion.mobi>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@46256 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoManager "Devices" is gone.
barbieri [Mon, 15 Feb 2010 16:27:41 +0000 (16:27 +0000)]
Manager "Devices" is gone.

This property is gone, now we must iterate over "Technologies" and get
their "Devices".

NOTE: we still lack listing of "Technologies" properties, that were
recently added. This will come later.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@46191 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoupdate docs
barbieri [Mon, 15 Feb 2010 15:34:09 +0000 (15:34 +0000)]
update docs

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@46190 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agorevert last bluez patch until e_bluez_device.c is sent :-/
barbieri [Sat, 13 Feb 2010 14:23:43 +0000 (14:23 +0000)]
revert last bluez patch until e_bluez_device.c is sent :-/

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@46143 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoe_dbus/bluez: Initial support to get and set individual properties
barbieri [Sat, 13 Feb 2010 12:35:25 +0000 (12:35 +0000)]
e_dbus/bluez: Initial support to get and set individual properties

Only 3 methods are suportted right now: _bluez_device_name_get,
e_bluez_adapter_powered_set, e_bluez_adapter_address_get.
One should refer to the BlueZ doc to look what's missing to implement.

By: "Gustavo F. Padovan" <padovan@profusion.mobi>

E17 module should be coming soon!

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@46137 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoe_dbus/bluez: add support to register/unregister adapters agents
barbieri [Sat, 13 Feb 2010 12:32:21 +0000 (12:32 +0000)]
e_dbus/bluez: add support to register/unregister adapters agents

By: Gustavo F. Padovan <padovan@profusion.mobi>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@46135 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoe_dbus: add BlueZ module
barbieri [Sat, 13 Feb 2010 12:27:02 +0000 (12:27 +0000)]
e_dbus: add BlueZ module

This module is using connman module as base. Right now is possible get
properties and set properties for Manager, Adapters and Devices on BlueZ.

By: Gustavo F. Padovan <padovan@profusion.mobi>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@46133 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoe_dbus/connman: fix set_property with boolean
barbieri [Sat, 13 Feb 2010 12:21:31 +0000 (12:21 +0000)]
e_dbus/connman: fix set_property with boolean

By: Gustavo F. Padovan <padovan@profusion.mobi>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@46132 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoe_dbus: remove extra braces
barbieri [Sat, 13 Feb 2010 12:19:07 +0000 (12:19 +0000)]
e_dbus: remove extra braces

By: Gustavo F. Padovan <padovan@profusion.mobi>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@46131 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoe_dbus remove unused code on notification module
barbieri [Thu, 11 Feb 2010 21:44:26 +0000 (21:44 +0000)]
e_dbus remove unused code on notification module

By: Gustavo F. Padovan <padovan@profusion.mobi>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@46100 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoe_dbus: fix implicit declaration on conmann lib
barbieri [Thu, 11 Feb 2010 21:26:09 +0000 (21:26 +0000)]
e_dbus: fix implicit declaration on conmann lib

By: Gustavo F. Padovan <padovan@profusion.mobi>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@46098 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoe_dbus: remove unused code on connman lib
barbieri [Thu, 11 Feb 2010 21:25:04 +0000 (21:25 +0000)]
e_dbus: remove unused code on connman lib

By: Gustavo F. Padovan <padovan@profusion.mobi>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@46097 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoAdd getters for Technology interface
barbieri [Thu, 4 Feb 2010 14:52:30 +0000 (14:52 +0000)]
Add getters for Technology interface

Technology has only readonly properties. Implement their getters.

By: Lucas De Marchi <lucas.demarchi@profusion.mobi>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@45873 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoAdd Technology interface support
barbieri [Thu, 4 Feb 2010 14:51:00 +0000 (14:51 +0000)]
Add Technology interface support

By: Lucas De Marchi <lucas.demarchi@profusion.mobi>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@45872 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoMatch previous and current array of elements
barbieri [Thu, 4 Feb 2010 14:49:29 +0000 (14:49 +0000)]
Match previous and current array of elements

Find out which elements were deleted/added based on 2 arrays showing
the system state before and after. It does so in linear time by using
another auxiliar list.

By: Lucas De Marchi <lucas.demarchi@profusion.mobi>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@45871 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoDo not free elements twice
barbieri [Thu, 4 Feb 2010 14:47:52 +0000 (14:47 +0000)]
Do not free elements twice

eina_hash_del_by_key() already calls _e_connman_element_unregister_internal().
Calling it again will add another core event that will try to unref the element more than
it was referenced, so element's refcounter is going to < 0.

Bug is visible if e_connman_element_unregister() is called inside e_dbus.

By: Lucas De Marchi <lucas.demarchi@profusion.mobi>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@45870 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoAdd missing break in switch statement
barbieri [Wed, 3 Feb 2010 21:53:23 +0000 (21:53 +0000)]
Add missing break in switch statement

By: Lucas De Marchi <lucas.demarchi@profusion.mobi>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@45857 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoFind out which dbus version we use
englebass [Sat, 30 Jan 2010 22:51:15 +0000 (22:51 +0000)]
Find out which dbus version we use

Also correct check for dbus_watch_get_unix_fd, spotted by Shane McGuire

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@45749 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoswitch to eina_strbuf, remove ecore_data
englebass [Wed, 27 Jan 2010 20:49:08 +0000 (20:49 +0000)]
switch to eina_strbuf, remove ecore_data

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@45652 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agofix EINA_PURE usage.
barbieri [Tue, 26 Jan 2010 15:13:34 +0000 (15:13 +0000)]
fix EINA_PURE usage.

No functions shall be pure on e_dbus. Otherwise compiler could
'optimize' certain parts of the code removing calls and using
previously obtained values.  However they may have been changed in
between.

Pure functions are those dependent exclusively on their args, as for
example sqrt(5). If communication is involved, most likely it will not
be pure.

By: Lucas De Marchi <lucas.demarchi@profusion.mobi>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@45589 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoE_Dbus: remove pure attr from non pure functions
antognolli [Mon, 18 Jan 2010 16:07:44 +0000 (16:07 +0000)]
E_Dbus: remove pure attr from non pure functions

The following patch removes EINA_PURE from functions that need to
communicate through dbus instead of being only functions of their
parameters. This fixes a bug of not displaying network names in
econnman when compiling with -O2. It happens because gcc removes the
calls inside _connman_service_changed.

Patch by: Lucas De Marchi <lucas.demarchi@profusion.mobi>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@45290 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoremove Ecore_Data
englebass [Sat, 16 Jan 2010 14:13:25 +0000 (14:13 +0000)]
remove Ecore_Data

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@45226 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoe_dbus connman: declare alloca
caro [Sat, 16 Jan 2010 09:17:36 +0000 (09:17 +0000)]
e_dbus connman: declare alloca

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@45207 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoWe don't use Ecore_Data
englebass [Fri, 15 Jan 2010 20:51:12 +0000 (20:51 +0000)]
We don't use Ecore_Data

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@45198 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agofix error reporting system.
barbieri [Sat, 2 Jan 2010 03:48:18 +0000 (03:48 +0000)]
fix error reporting system.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@44846 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoreport if methods succeed on server
barbieri [Thu, 31 Dec 2009 07:22:13 +0000 (07:22 +0000)]
report if methods succeed on server

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@44829 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoallow configuring IPv4 services.
barbieri [Thu, 31 Dec 2009 07:10:48 +0000 (07:10 +0000)]
allow configuring IPv4 services.

ConnMan fails to notify these properties changed, so they'll get out
of sync. This should be solved in upstream/connman in future.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@44828 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agofix ipv4 info retrieving, add ethernet.
barbieri [Thu, 31 Dec 2009 03:31:03 +0000 (03:31 +0000)]
fix ipv4 info retrieving, add ethernet.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@44819 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agolist of technologies.
barbieri [Wed, 30 Dec 2009 21:17:10 +0000 (21:17 +0000)]
list of technologies.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@44813 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agomore manager methods, not so useful, but they were easy.
barbieri [Wed, 30 Dec 2009 20:33:40 +0000 (20:33 +0000)]
more manager methods, not so useful, but they were easy.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@44812 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agocouple of easy manager functions:
barbieri [Wed, 30 Dec 2009 19:53:56 +0000 (19:53 +0000)]
couple of easy manager functions:

request_scan(type)
technology_enable(type)
technology_disable(type)

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@44811 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agohandle more cases of failure, init value to NULL as dbus does not do that for bool...
barbieri [Wed, 30 Dec 2009 19:34:13 +0000 (19:34 +0000)]
handle more cases of failure, init value to NULL as dbus does not do that for bool=false

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@44809 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoprofile name_set
barbieri [Wed, 30 Dec 2009 19:12:25 +0000 (19:12 +0000)]
profile name_set

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@44808 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agomore easy properties for network, fix typo with "Strength".
barbieri [Wed, 30 Dec 2009 19:02:35 +0000 (19:02 +0000)]
more easy properties for network, fix typo with "Strength".

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@44807 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agodevice and network "address_get"
barbieri [Wed, 30 Dec 2009 18:26:39 +0000 (18:26 +0000)]
device and network "address_get"

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@44802 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agofix docs to correct variable name.
barbieri [Wed, 30 Dec 2009 18:15:54 +0000 (18:15 +0000)]
fix docs to correct variable name.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@44800 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoservice's "immutable" property.
barbieri [Wed, 30 Dec 2009 18:09:39 +0000 (18:09 +0000)]
service's "immutable" property.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@44799 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agore-arrange E_Connman.h to make more sense to users.
barbieri [Wed, 30 Dec 2009 17:34:43 +0000 (17:34 +0000)]
re-arrange E_Connman.h to make more sense to users.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@44798 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoconnman: update to latest server API.
barbieri [Wed, 30 Dec 2009 17:29:11 +0000 (17:29 +0000)]
connman: update to latest server API.

This API is much more sane and will end in 0.48 (to be released). As
one can see, lots of code is removed.

New missing methods appeared, mainly to avoid IPv4 advanced
configurations. They will be done later.

This commit just remove a bunch of methods, everything related to
'connection' and also renames:

   e_connman_manager_register_agent()
   e_connman_manager_unregister_agent()

to:

   e_connman_manager_agent_register()
   e_connman_manager_agent_unregister()

to be more EFL conformant.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@44797 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoService::ClearProperty implemented.
barbieri [Wed, 30 Dec 2009 15:36:07 +0000 (15:36 +0000)]
Service::ClearProperty implemented.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@44793 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoremove most of warnigns with -Wextra (add __UNUSED__ to some parameters).
barbieri [Wed, 30 Dec 2009 15:19:10 +0000 (15:19 +0000)]
remove most of warnigns with -Wextra (add __UNUSED__ to some parameters).

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@44792 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoformatting and remove logging prefix.
barbieri [Wed, 30 Dec 2009 15:13:29 +0000 (15:13 +0000)]
formatting and remove logging prefix.

 - delete trailing whitespaces
 - reindent
 - remove E-Dbus connman: prefix, it's already done by eina log.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@44790 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agofix uninitialized variable causing segfaults.
barbieri [Wed, 30 Dec 2009 15:03:13 +0000 (15:03 +0000)]
fix uninitialized variable causing segfaults.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@44789 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoexport e_connman_element_is_service() and use EAPI.
barbieri [Sun, 20 Dec 2009 18:45:38 +0000 (18:45 +0000)]
export e_connman_element_is_service() and use EAPI.

This was breaking test compilation with -fvisibility=hidden.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@44612 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoReadd connman_service to makefile now that it exists :)
devilhorns [Sun, 20 Dec 2009 00:12:28 +0000 (00:12 +0000)]
Readd connman_service to makefile now that it exists :)

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@44586 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoMissing file :-(
barbieri [Sun, 20 Dec 2009 00:05:49 +0000 (00:05 +0000)]
Missing file :-(

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@44585 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoDon't try using a source file that does not exist when building.
devilhorns [Sun, 20 Dec 2009 00:02:11 +0000 (00:02 +0000)]
Don't try using a source file that does not exist when building.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@44584 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoEDBus: ConnMan service api.
barbieri [Sat, 19 Dec 2009 22:18:02 +0000 (22:18 +0000)]
EDBus: ConnMan service api.

This patch adds the high level "Services" API from ConnMan.

Services is the recommended way to use this system as it will have the
server to do all the low level part, such as dealing with devices,
networks and others.  Network, Devices, Manager and others are still
provided as they might be useful in some cases.

To be done soon is a revamp of econnman module in
e/src/modules/connman. Maybe someone is interested in writing a
fancy elementary application to manage more details?

Patch by: Bruno Dilly

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@44581 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoimprove configure output
caro [Fri, 11 Dec 2009 10:57:44 +0000 (10:57 +0000)]
improve configure output

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@44364 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agobaack to normal pre- release name now
raster [Wed, 2 Dec 2009 22:50:36 +0000 (22:50 +0000)]
baack to normal pre- release name now

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@44146 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoquick make svnrev that has right release names
raster [Wed, 2 Dec 2009 22:19:53 +0000 (22:19 +0000)]
quick make svnrev that has right release names

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@44140 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33