barbieri [Sat, 1 May 2010 19:38:28 +0000 (19:38 +0000)]
unmarshal for string lists must eina_stringshare_add() them.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@48519
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
lucas [Fri, 30 Apr 2010 15:10:25 +0000 (15:10 +0000)]
Use proper error handling functions
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@48479
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Thu, 29 Apr 2010 18:16:26 +0000 (18:16 +0000)]
e_hal: fix const
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@48430
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
sachiel [Thu, 29 Apr 2010 14:45:05 +0000 (14:45 +0000)]
Default to yes for ehal
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@48417
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Thu, 29 Apr 2010 09:56:00 +0000 (09:56 +0000)]
fix ehal build, I'll figure this out later
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@48415
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Wed, 28 Apr 2010 20:55:11 +0000 (20:55 +0000)]
yet another forgotten oops
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@48406
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Wed, 28 Apr 2010 20:53:17 +0000 (20:53 +0000)]
oops forgot to add the pc
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@48405
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
discomfitor [Wed, 28 Apr 2010 20:40:58 +0000 (20:40 +0000)]
add completed ukit (upower/udisks aka devicekit) module
fixes for hal module:
more readable by using defined type insertion
now utility functions always return stringshared strings. DO NOT FREE THESE.
Note that until you see a followup commit from me in e17, the filemanager/battery/illume modules will all potentially break from attempting to free stringshares
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@48404
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Tue, 27 Apr 2010 19:41:11 +0000 (19:41 +0000)]
Revert r48365 as requested by Mike.
It turns out that the hal stringshare part will break efm without his
other changes, so it must wait the full change that includes udev
work.
Sorry!
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@48366
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Tue, 27 Apr 2010 19:37:40 +0000 (19:37 +0000)]
HAL changes to make API cleaner and fix string handling.
By: Mike@zentific.com
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@48365
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
rui [Wed, 21 Apr 2010 20:55:23 +0000 (20:55 +0000)]
Apply the same fix MEJ did ( marc.info/?l=enlightenment-svn&m=
127157420508183&w=3 ) to more specs
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@48213
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Sun, 18 Apr 2010 00:59:12 +0000 (00:59 +0000)]
fix func signature, remove warnings.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@48091
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Tue, 23 Mar 2010 19:05:19 +0000 (19:05 +0000)]
e_dbus/ofono: fix memory leak on test
By: João Paulo Rechi Vita <jprvita@profusion.mobi>
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@47398
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Tue, 23 Mar 2010 19:04:03 +0000 (19:04 +0000)]
e_dbus/ofono: fix: with empty vectors property_get returns NULL and... BOOM!
By: João Paulo Rechi Vita <jprvita@profusion.mobi>
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@47397
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Thu, 18 Mar 2010 22:09:55 +0000 (22:09 +0000)]
e_dbus/ofono: Add SmsManager interface support.
By: João Paulo Rechi Vita <jprvita@profusion.mobi>
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@47336
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Thu, 18 Mar 2010 22:06:59 +0000 (22:06 +0000)]
char -> uint8_t as it is unsigned...
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@47334
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Mon, 15 Mar 2010 20:45:15 +0000 (20:45 +0000)]
e_dbus/ofono: change bool to Eina_Bool
By: João Paulo Rechi Vita <jprvita@profusion.mobi>
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@47257
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Mon, 15 Mar 2010 20:45:09 +0000 (20:45 +0000)]
e_dbus/ofono: add functions to check element's interface.
By: João Paulo Rechi Vita <jprvita@profusion.mobi>
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@47256
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Mon, 15 Mar 2010 20:45:04 +0000 (20:45 +0000)]
e_dbus/ofono: shorten var name
By: João Paulo Rechi Vita <jprvita@profusion.mobi>
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@47255
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Mon, 15 Mar 2010 20:44:58 +0000 (20:44 +0000)]
e_dbus/ofono: add function to get Modems property.
By: João Paulo Rechi Vita <jprvita@profusion.mobi>
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@47254
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Mon, 15 Mar 2010 20:44:50 +0000 (20:44 +0000)]
e_dbus/ofono: fix manager events names.
By: João Paulo Rechi Vita <jprvita@profusion.mobi>
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@47253
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Fri, 12 Mar 2010 19:32:03 +0000 (19:32 +0000)]
unfuck indentation, sorry.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@47165
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Fri, 12 Mar 2010 13:50:09 +0000 (13:50 +0000)]
couple of missing getters and fixes, consts...
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@47159
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Fri, 12 Mar 2010 13:49:21 +0000 (13:49 +0000)]
add missing func attributes.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@47158
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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