Commit Graph

67 Commits

Author SHA1 Message Date
Lucas De Marchi 90d02d48da e/connman: update manager information on UI
SVN revision: 76032
2012-09-03 21:58:20 +00:00
Lucas De Marchi 15dd8a74eb e/connman: cleanup module
SVN revision: 76031
2012-09-03 21:58:15 +00:00
Lucas De Marchi 0d26bde204 New code base for connman module
ConnMan 1.0 is the first stable release and the one being packed by most
distros. Completely remove the old code, together with the
econnman-0.7x dependency. The relevant code is now maintained together
with e17 module for easier maintenance.



SVN revision: 76020
2012-09-03 21:57:16 +00:00
Mike Blumenkrantz 2434f5adbe more PATH_MAX cleanups
SVN revision: 75520
2012-08-22 07:32:12 +00:00
Mike Blumenkrantz 94e2fc5257 clean up gadget right click menus to stop leaking
SVN revision: 75285
2012-08-15 07:22:04 +00:00
Mike Blumenkrantz 98601e4198 sed -i 's/(E_Gadcon_Client_Class/(const E_Gadcon_Client_Class/g'
SVN revision: 74474
2012-07-27 08:25:22 +00:00
Carsten Haitzler e6958153cb dont report the connman error more than once here
SVN revision: 69046
2012-03-08 10:13:42 +00:00
Gustavo Sverzut Barbieri 160e660ed5 e: port to use econnman-0.7x
SVN revision: 65500
2011-11-21 20:56:22 +00:00
Carsten Haitzler ac66e366ba match connman api revert.
SVN revision: 65417
2011-11-20 04:01:17 +00:00
Boris Faure 328496c8f4 e: oopsie. warnings--
SVN revision: 65205
2011-11-14 22:04:27 +00:00
Gustavo Sverzut Barbieri fd984e41a0 e/connman: update to new api.
SVN revision: 65193
2011-11-14 17:29:32 +00:00
Lucas De Marchi f5cd6e1600 e/connman: bye bye deprecated method
SVN revision: 65172
2011-11-14 15:16:28 +00:00
Gustavo Sverzut Barbieri 9db4ca1976 connman: match upstream change to security property.
Security is now a list of security supported by access point.


SVN revision: 65119
2011-11-13 06:03:53 +00:00
Mike Blumenkrantz 03c043ca35 more warnings
SVN revision: 62866
2011-08-26 17:19:17 +00:00
Cedric BAIL f64603d630 e: cleanup connman error detection.
SVN revision: 62237
2011-08-09 08:43:14 +00:00
Cedric BAIL 313ef3a6d5 e: add new connman error message naming.
SVN revision: 61394
2011-07-15 09:06:38 +00:00
Lucas De Marchi 37db64a949 e17: connman: ipv4_method can be NULL
Fix segv: properties can be NULL, so it's not a good thing to use with
strcmp.



SVN revision: 57948
2011-03-21 23:37:13 +00:00
Lucas De Marchi bba300c20a e17: connman: show current IP when using dhcp
When service is configured as 'dhcp', instead of showing blank values for
IP and netmask, show the currently configured ones.




SVN revision: 57946
2011-03-21 23:00:12 +00:00
Lucas De Marchi 84d313fdd1 e17: connman: ecrustify
SVN revision: 57942
2011-03-21 20:32:57 +00:00
Hannes Janetzek 7f457f1911 e17: add option to have gadcon client settings menu in toplevel again.
added e_menu_item_new_relative(E_Menu, E_Menu_Item *rel) which appends 
 new item to rel or prepends it when rel is NULL.

changed e_gadcon_util_client_menu_append to to take only the gadget menu
 and returns the new toplevel menu that should be shown by gcc
 depending on the setting this is a new menu with gadget menu as submenu
 or the gadet_menu with gadget menu items appended

updated e-modules-extra comes in a minute


SVN revision: 57826
2011-03-17 17:08:36 +00:00
Lucas De Marchi d786ea3805 bool -> Eina_Bool
By: Eduardo Lima (Etrunko) <etrunko@profusion.mobi>



SVN revision: 53414
2010-10-14 17:13:27 +00:00
Miculcy Brian 2f8f31fbf5 This commit will change the shelf menu completly:
If you have a Gadget and open the menu over it, all gadget specific options are under a separate submenu. The menu items which the Gadget sets theirself can be put on the main menu tree or on the Gadget submenu.
If you don't see a reason for this, check the ibar menu _before_ and _after_. :)

This api change broke all modules but i already fixed them all. Hope everything works... I also shortend text strings, etc, etc.
Hope you like it! :)


SVN revision: 52041
2010-09-09 14:44:21 +00:00
Lucas De Marchi 6638a10e20 FORMATTING
* Remove vim modelines:
 find . -name '*.[chx]' -exec sed -i '/\/\*$/ {N;N;/ \* vim:ts/d}' \{\} \;
 find . -name '*.[chx]' -exec sed -i '/\/[\*\/] *vim:/d' \{\} \;

* Remove leading blank lines:
 find . -name '*.[cxh]' -exec sed -i '/./,$!d'

If you use vim, use this in your .vimrc:
set ts=8 sw=3 sts=8 expandtab cino=>5n-3f0^-2{2(0W1st0



SVN revision: 50816
2010-08-04 16:57:32 +00:00
Lucas De Marchi 916000bccc connman: show configuration instead of status in config dialog
IPv4.* are the status properties and are valid only when a service is
connected. In a configuration dialog, the right properties to use are
the IPv4.Configuration.* ones.



SVN revision: 49940
2010-06-29 16:30:10 +00:00
Cedric BAIL c6a118d738 * e: remove warning due to Ecore API change.
SVN revision: 49833
2010-06-24 16:19:12 +00:00
Lucas De Marchi 56fff0c70f connman: fix default technology change
Log "default technology changed" only if it really changed



SVN revision: 48481
2010-04-30 15:27:36 +00:00
Gustavo Sverzut Barbieri 02dfcdd264 unfuck indentation, sorry.
SVN revision: 47164
2010-03-12 19:31:47 +00:00
Gustavo Sverzut Barbieri 4118dd6edc formatting and minor improvements.
- popup menu/settings now brings "controls" dialog

 - -Wextra cleanups

 - formatting... bad Lucas ;-)



SVN revision: 47148
2010-03-12 00:16:21 +00:00
Gustavo Sverzut Barbieri 6177180010 econnman: remove unneed popup_del
the function already do the popup_del with the proper NULL check.

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



SVN revision: 47119
2010-03-10 20:57:06 +00:00
Gustavo Sverzut Barbieri efa3ed8435 Migrate technologies to use Technology interface
Instead of parse 2 vectors of Enabled and Disabled technologies, use the
technology interface with its 'state' field. It's much easier to extend
this design than the other, also allowing the UI to be easily updated
upon devices (dis)appearing.

This breaks compatibility with connman version < 0.49.

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



SVN revision: 46881
2010-03-04 21:58:23 +00:00
Gustavo Sverzut Barbieri bf36aae4d2 improve connman control dialog a bit.
* remove the inner toolbook until we actually have proxy, removes
   some clutter;

 * add todo with idea to use pager to simplify the list (actually
   there is the problem on how to reorder elements, same thing in
   other dialogs, such as the startup applications);

 * better scale/expand/fill of elements;

 * remove some warnings.



SVN revision: 46788
2010-03-02 15:48:24 +00:00
Gustavo Sverzut Barbieri 9309f0af3f add new status string "online" and "login".
SVN revision: 46192
2010-02-15 16:31:42 +00:00
Gustavo Sverzut Barbieri 5a60848741 Use eina_log on econnman
Registry domain 'econnman' and log messages with eina_log instead of
casual printfs.

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



SVN revision: 46130
2010-02-13 12:16:14 +00:00
Gustavo Sverzut Barbieri e71c7d1453 Use proper error handling on initialization
By: Lucas De Marchi <lucas.demarchi@profusion.mobi>



SVN revision: 46129
2010-02-13 12:14:44 +00:00
Gustavo Sverzut Barbieri b1462593e1 Registry config dialog into Settings Panel
By: Lucas De Marchi <lucas.demarchi@profusion.mobi>



SVN revision: 45816
2010-02-02 18:29:37 +00:00
Gustavo Sverzut Barbieri d3ac4a7f77 Add dialog to configure connman
By: Lucas De Marchi <lucas.demarchi@profusion.mobi>



SVN revision: 45815
2010-02-02 18:28:50 +00:00
Gustavo Sverzut Barbieri 7d02d75954 Request scan on all technologies upon start
By: Lucas De Marchi <lucas.demarchi@profusion.mobi>



SVN revision: 45814
2010-02-02 17:41:02 +00:00
Gustavo Sverzut Barbieri 91e3640b56 Fix services list not being initialized
Services list must be initialized to NULL, otherwise when turning the
module back bad things may happen.

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



SVN revision: 45813
2010-02-02 17:39:06 +00:00
Gustavo Sverzut Barbieri 5dcd42d899 Add list of enabled technologies
Create a list with the names of enabled technologies and allow user
to determine if a certain technology is enabled.

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



SVN revision: 45812
2010-02-02 17:36:51 +00:00
Gustavo Sverzut Barbieri c99d8c8100 Add list of available technologies
Add E_Connman_Technology struct and create a list inside
E_Connman_Module_Context which will keep track of all available
technologies.

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


SVN revision: 45811
2010-02-02 17:34:40 +00:00
Gustavo Sverzut Barbieri 0384befb49 Create _connman_service_new_list_item()
In order to be able to share item creation with config dialog.



SVN revision: 45810
2010-02-02 17:31:52 +00:00
Gustavo Sverzut Barbieri 0f1322c04b cleaning - remove extra comments and debugs
By: Lucas De Marchi <lucas.demarchi@profusion.mobi>



SVN revision: 45809
2010-02-02 17:29:40 +00:00
Gustavo Sverzut Barbieri 251bb08baf Do not go back to online when marked as 'Offline'
The way it was, if you changed offline it was repeatedly toggling due
E "offline mode" state and connman module fighting. Now it does it once.

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



SVN revision: 45410
2010-01-21 18:26:08 +00:00
Gustavo Sverzut Barbieri 7367354419 make this variable static.
This is the nasty bug with mixer module... it didn't happen before 
because I always compile with -fvisibility=hidden




SVN revision: 44992
2010-01-08 21:35:51 +00:00
Gustavo Sverzut Barbieri 0e29bef4b6 lots of minor improvements and fix the damn segfault problem.
* passphrase dialog now has a minimum set size.

 * gadget service name just shows if gadget is larger than 32px, this
   avoids useless 1-2 letters + ellipsis on small gadgets.

 * it's not clear from connman, but seems that error is just
   meaningful if they are in state == failure, they just don't append
   the error and do not notify it went away :-(

 * NotConnected is the name, not the message. Now disconnect on
   already disconnected is fine (called when one request passphrase
   again)

 * fix typo "Disconnect s/to/from/g network service"

 * add some notes on where to handle cellular services.



SVN revision: 44854
2010-01-02 22:12:36 +00:00
Gustavo Sverzut Barbieri 5d21509986 connman improvements, almost fully usable.
* interacts with offline mode (menu > settings > mode > offline)

 * asks password if service requrires a password or failed to connect.

 * on server exit stringshares go wrong and it crashes. It is very
   weird that this does not happen with e_dbus_connman_test and
   valgrind reports no error there. It is easy to reproduce, but hard
   to track as things are asynchronously and stringshare will report
   the error on the last _del(), that might the correct one and the
   spurious happened before.

 * part of the usability issues are due connman server (connmand), it
   should have an "authentication failed" error (instead of generic
   "Failed: input/output error" and it should stop entering
   "InProgress" when it is not (often happens when one enters invalid
   password, gets an Failed i/o error, then system keeps into
   InProgress). Toggling offline mode might help reset the status.



SVN revision: 44847
2010-01-02 05:25:27 +00:00
Gustavo Sverzut Barbieri 91d80a9736 disconnect actiom, bit better gadget and tip, still lacks offline mode indicator
SVN revision: 44842
2010-01-01 17:20:19 +00:00
Christopher Michael a1bc311d9a Fix some formatting in connman.
Remove some commented lines in quickpanel.
Add some printfs to quickpanel sort.
Remove dead code line in illume2 layout.
Separate illume and illume2 modules in build process (this allows illume &
illume2 to be enabled/disabled separately)



SVN revision: 44841
2010-01-01 17:15:16 +00:00
Gustavo Sverzut Barbieri f644b3c86e connman popup to give useful information, last commit this year!
SVN revision: 44837
2010-01-01 01:12:53 +00:00
Gustavo Sverzut Barbieri d141b8d627 connman is in a good and usable shape now: connects and goes offline.
Please someone help with the gadget :-)



SVN revision: 44836
2009-12-31 23:51:13 +00:00