Commit Graph

13 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 84d313fdd1 e17: connman: ecrustify
SVN revision: 57942
2011-03-21 20:32:57 +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
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
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 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 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 Lima Chaves ef3674c073 Enable proper compiling with no -O2.
SVN revision: 45947
2010-02-06 20:54:58 +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