Commit Graph

191 Commits

Author SHA1 Message Date
Lucas De Marchi dc908c9a3c e/connman: fix eina_safety checks
SVN revision: 76064
2012-09-03 22:04:49 +00:00
Bruno Dilly c603073254 e/connman: unregister agent
SVN revision: 76063
2012-09-03 22:03:23 +00:00
Bruno Dilly 3abf1f04e6 e/connman: register agent
SVN revision: 76062
2012-09-03 22:03:18 +00:00
Bruno Dilly 69b4c1537c e/connman: add macro INF for eina logging
SVN revision: 76061
2012-09-03 22:03:13 +00:00
Bruno Dilly ac49b72e17 e/connman: trigger connecting animation
It should happens while state is association or configuration.



SVN revision: 76059
2012-09-03 22:01:30 +00:00
Bruno Dilly 35007e200a e/connman: support more service types and states
Also fix manager_update_inst function.



SVN revision: 76058
2012-09-03 22:01:24 +00:00
Bruno Dilly 3e4cc4ca2e e/connman: show security on services list
SVN revision: 76057
2012-09-03 22:01:18 +00:00
Lucas De Marchi e5f228edba e/connman: allow to connect and disconnect
Networks that don't require agent interations (i.e. passphrases) can be
(dis)connected now.



SVN revision: 76054
2012-09-03 22:00:10 +00:00
Lucas De Marchi 339cd51087 e/connman: split stringshare and non-stringshare
search



SVN revision: 76053
2012-09-03 22:00:04 +00:00
Lucas De Marchi 091380518e e/connman: remove unused parameter nonsense
SVN revision: 76052
2012-09-03 21:59:59 +00:00
Lucas De Marchi bb153f478c e/connman: duh... these are not includes
Put cflags in the proper place. Apparently all the other modules put the
cflags together with includes.  I thought about using my script-foos to
change that, but it was postponed for never^Wlater.



SVN revision: 76051
2012-09-03 21:59:54 +00:00
Lucas De Marchi 2b478a4119 e/connman: show menu on 3rd mouse button click
SVN revision: 76050
2012-09-03 21:59:50 +00:00
Lucas De Marchi 5da9539335 e/connman: Add stub functions to implement the agent
SVN revision: 76049
2012-09-03 21:59:45 +00:00
Lucas De Marchi e3a8e242bd e/connman: Add security types to Connman_Service
SVN revision: 76048
2012-09-03 21:59:40 +00:00
Lucas De Marchi 2f3aac7e18 e/connman: destroy popup when unfocused
Borrow functions from previous implementation to destroy the popup when
we click in another place.



SVN revision: 76047
2012-09-03 21:59:35 +00:00
Lucas De Marchi bccb734939 e/connman: state transitions back to sanity
SVN revision: 76046
2012-09-03 21:59:30 +00:00
Lucas De Marchi 2553881343 e/connman: remove unused text parts
SVN revision: 76045
2012-09-03 21:59:25 +00:00
Lucas De Marchi 0ba8b9e95b e/connman: Add strength property
SVN revision: 76044
2012-09-03 21:59:20 +00:00
Lucas De Marchi 6237df554b e/connman: Add icon to list of services
SVN revision: 76043
2012-09-03 21:59:16 +00:00
Lucas De Marchi 20c53c31ed e/connman: Show simple list of services on mouse click
SVN revision: 76042
2012-09-03 21:59:11 +00:00
Lucas De Marchi a5c9a890ef e/connman: Use cm pointer instead of additional bool
SVN revision: 76041
2012-09-03 21:59:06 +00:00
Lucas De Marchi a46499fdcc e/connman: rename remaining _connman functions
SVN revision: 76040
2012-09-03 21:59:01 +00:00
Lucas De Marchi 9da9c3bf8b e/connman: remove extra debug for properties changed
SVN revision: 76039
2012-09-03 21:58:57 +00:00
Lucas De Marchi d116a7d254 e/connman: monitor ServicesChanged signal
SVN revision: 76038
2012-09-03 21:58:52 +00:00
Lucas De Marchi e8d07693ee e/connman: use "others" icon if we don't know tech
type



SVN revision: 76037
2012-09-03 21:58:47 +00:00
Lucas De Marchi 24a547a8f5 e/connman: do not print an error if name has no owner
SVN revision: 76036
2012-09-03 21:58:42 +00:00
Lucas De Marchi abea9f9a65 e/connman: also update view after manager is in/out
SVN revision: 76035
2012-09-03 21:58:37 +00:00
Lucas De Marchi ea95cb673f e/connman: use notifier function instead of event
For handling manager in/out inside the module, use a notifier function
instead of an event.



SVN revision: 76034
2012-09-03 21:58:31 +00:00
Lucas De Marchi 0bb82b9d1b e/connman: use stringshare for object path and fix
leaks



SVN revision: 76033
2012-09-03 21:58:26 +00:00
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 b0afb392ef e/connman: remove unused header
SVN revision: 76030
2012-09-03 21:58:10 +00:00
Lucas De Marchi f29da01183 e/connman: move types to header to easy of use
SVN revision: 76029
2012-09-03 21:58:05 +00:00
Lucas De Marchi 580020bf71 e/connman: get list of services on startup
SVN revision: 76028
2012-09-03 21:57:59 +00:00
Lucas De Marchi 01a3319909 e/connman: free bus owner after manager is freed
SVN revision: 76027
2012-09-03 21:57:54 +00:00
Lucas De Marchi bdbc5ac934 e/connman: objectify manager and monitor properties
SVN revision: 76026
2012-09-03 21:57:48 +00:00
Lucas De Marchi 6decf38d1f e/connman: monitor owner instead of bus names
edbus is not able to continue watching for signals when name owner
changes happen. If we don't monitor the owner we will not receive any
signals anymore after it has changed.

The proper fix would be to change edbus to allow monitoring bus names.



SVN revision: 76025
2012-09-03 21:57:43 +00:00
Lucas De Marchi 514ed5bad1 e/connman: use only one log domain
SVN revision: 76024
2012-09-03 21:57:37 +00:00
Lucas De Marchi d29b65e819 e/connman: watch for ServicesChanged and
PropertyChanged



SVN revision: 76023
2012-09-03 21:57:32 +00:00
Lucas De Marchi 07f951dd8e e/connman: group pending calls and signal handlers
SVN revision: 76022
2012-09-03 21:57:27 +00:00
Lucas De Marchi 69b9a86d2a e/connman: zero ecore event on shutdown
SVN revision: 76021
2012-09-03 21:57:22 +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
Mike Blumenkrantz f666f1d28e more #undefs
SVN revision: 72106
2012-06-14 07:37:09 +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 4305b8e7fe e/docs: do bare documentation for e.
Just some groups and basic description for modules. I'm NOT going back
to this anytime soon, but would be VERY happy if people could do some
screenshots and put the images for each module in docs/img/ folder,
linking to them from each e_mod_main.h



SVN revision: 67362
2012-01-19 23:25:32 +00:00
Carsten Haitzler 9a613de952 with connman 07x changes - make sure headers dont conflict with old
edbus1.x too.



SVN revision: 65506
2011-11-22 03:12:20 +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
Boris Faure 6048d46024 remove .cvsignore files
SVN revision: 60246
2011-06-12 21:38:37 +00:00
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