Commit Graph

82 Commits

Author SHA1 Message Date
Christopher Michael 78afddd95b E17: Connman: Cleanup some compiler warnings about unused variables &
unused functions.



SVN revision: 58512
2011-04-09 03:14:36 +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
Massimo Maiurana 308534cc44 updating russian translations
SVN revision: 57124
2011-02-17 12:15:59 +00:00
Massimo Maiurana f13cdcbd02 updating german translations
SVN revision: 55935
2011-01-06 17:49:35 +00:00
Mike Blumenkrantz 15468f69f6 fix include paths for all these makefiles to add $top_builddir/src/bin instead of $top_srcdir/src/lib
SVN revision: 55884
2011-01-05 17:50:05 +00:00
Massimo Maiurana 4a57615505 updating portuguese translations
SVN revision: 55041
2010-11-28 14:34:04 +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 3dad9bbfa9 Don't show what is not used in connman module
SVN revision: 51660
2010-08-26 14:48:46 +00:00
Lucas De Marchi 63f07459a0 Convert (hopefully) all comparisons to NULL
Apply badzero.cocci, badnull.coci and badnull2.cocci

This should convert all cases where there's a comparison to NULL to simpler
forms. This patch applies the following transformations:

code before patch               ||code after patch
===============================================================

return a == NULL;                 return !a;

return a != NULL;                 return !!a;

func(a == NULL);                  func(!a);

func(a != NULL);                  func(!!a);

b = a == NULL;                    b = !a;

b = a != NULL;                    b = !!a;

b = a == NULL ? c : d;            b = !a ? c : d;

b = a != NULL ? c : d;            b = a ? c : d;


other cases:

a == NULL                         !a
a != NULL                         a




SVN revision: 51487
2010-08-21 13:52:25 +00:00
Cedric BAIL 9617253990 * edje: fix count that lead to memleak.
SVN revision: 51047
2010-08-12 15:07:26 +00:00
Cedric BAIL 288403f62b * edje: fix for updated edje file format.
SVN revision: 51037
2010-08-12 13:26:09 +00:00
Cedric BAIL 068d07757f * edje: converting edje file to make them compatible with old and new
loader. I didn't expect so many of them, maybe some one can take care
	of reducing their number (0 would be a good target).


SVN revision: 50938
2010-08-09 18:05:22 +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
Lucas De Marchi 9869d0e479 connman: fix offline_mode not being initialized
Offline mode check was not being initialized upon config window
creation.



SVN revision: 48480
2010-04-30 15:26:48 +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
Miculcy Brian b80eca5ad3 remove the now useless title
SVN revision: 47002
2010-03-08 16:09:21 +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 Lima Chaves ef3674c073 Enable proper compiling with no -O2.
SVN revision: 45947
2010-02-06 20:54:58 +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 d41cc63c97 new icons, from exalt-client, by rasterman.
SVN revision: 44852
2010-01-02 16:22:28 +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
Gustavo Sverzut Barbieri 22580d466d rework of connman module, a semi-functional display only module so far.
SVN revision: 44834
2009-12-31 21:44:33 +00:00
Gustavo Sverzut Barbieri 58925e0232 Update to match new EINA init/shutdown.
SVN revision: 42301
2009-09-06 22:23:04 +00:00