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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
raster [Wed, 2 Dec 2009 08:07:38 +0000 (08:07 +0000)]
and back to a pre-svn sonme after snap
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@44118
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Wed, 2 Dec 2009 07:40:59 +0000 (07:40 +0000)]
aaah bah - move to 05 not 04
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@44116
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Wed, 2 Dec 2009 07:22:35 +0000 (07:22 +0000)]
asparagus - finally
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@44113
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
billiob [Wed, 18 Nov 2009 14:43:00 +0000 (14:43 +0000)]
add m4 generated files to ignore
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@43777
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Sun, 8 Nov 2009 20:27:22 +0000 (20:27 +0000)]
Remove storage of return value
We don't use the return value from the func, so remove it. The function
prototype has changed anyway.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@43541
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sat, 7 Nov 2009 22:08:28 +0000 (22:08 +0000)]
create DLL for ehal and enotify
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@43517
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Fri, 6 Nov 2009 18:17:40 +0000 (18:17 +0000)]
formatting
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@43494
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Fri, 6 Nov 2009 10:19:05 +0000 (10:19 +0000)]
add -I m4
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@43484
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Fri, 6 Nov 2009 08:14:50 +0000 (08:14 +0000)]
and fix compilation on Winodws (yes, DBus is ported to windows)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@43482
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Fri, 6 Nov 2009 08:00:46 +0000 (08:00 +0000)]
add m4 file needed for __UNUSED__
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@43481
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Fri, 6 Nov 2009 07:50:50 +0000 (07:50 +0000)]
headers inclusion is a real mess...
* headers inclusion should be clean in dbus and hal,
not that clean in nm. I didn't touch much connman
as Gustavo seems to rewrite it
* remove unused param warnings in dbus, hal and nm
* fix connman compilation (error stuff)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@43480
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33