Commit Graph

212 Commits

Author SHA1 Message Date
Lucas De Marchi 221774ddcc e/connman: Fix not updating main icon on new gadget
We need to call the function to udpate the current instance when adding
a new gadget, otherwise it will not represent the current state.



SVN revision: 77017
2012-09-22 14:12:12 +00:00
Bruno Dilly 867d205ef6 e/connman: add check to show / hide password
Configuring default behavior on module settings later could
be nice.



SVN revision: 76633
2012-09-14 01:25:54 +00:00
Bruno Dilly 54d3dcd794 e/connman: fix code style
SVN revision: 76632
2012-09-14 01:24:36 +00:00
Bruno Dilly 7373927847 e/connman: focus first mandatory entry
SVN revision: 76579
2012-09-13 06:25:06 +00:00
Bruno Dilly a8ef12a337 e/connman: mark dialog as NULL for every case of delete
It was missing delete when user close the windows, so later
it would try to double free dialog.



SVN revision: 76578
2012-09-13 06:24:58 +00:00
Bruno Dilly e89801c6ec e/connman: avoid double free on dialog delete
SVN revision: 76577
2012-09-13 06:24:49 +00:00
Carsten Haitzler 83191bb795 and add wifi powered on/off check for connman otherwise the gagdte is
basically useles to people as connman starts by being powered off
first time.



SVN revision: 76529
2012-09-12 13:35:32 +00:00
Bruno Dilly cf5ffd3309 e/connman: delete networks list popup when launching config
app




SVN revision: 76434
2012-09-11 04:42:08 +00:00
Gustavo Sverzut Barbieri e9dfdd2fa9 econnman: call econnman (app) from the configure/settings.
there is no need to configure it as it will use the EConnMan desktop
file, whatever is available (user can create a new desktop with such
Name= and it will work, this can be done by a gui in e17 itself).

the module will warn people that do not have the application installed.



SVN revision: 76212
2012-09-06 02:18:32 +00:00
Mike Blumenkrantz eb16b89190 initializer warn--
SVN revision: 76177
2012-09-05 08:16:13 +00:00
Mike Blumenkrantz 32b3c3f375 expose connman module as extern, make popup delete non-static, delete connman popups whenever input agent is shown
TODO--


SVN revision: 76176
2012-09-05 08:15:41 +00:00
Lucas De Marchi 972bd60496 e/connman: Add TODO file
SVN revision: 76079
2012-09-03 22:11:09 +00:00
Bruno Dilly 4d7e006d5a e/connman: add button to call econnam-bin
Need to get path
User should set that on module settings



SVN revision: 76076
2012-09-03 22:07:01 +00:00
Bruno Dilly 7f7b93b3a8 e/connman: Fix main icon
SVN revision: 76075
2012-09-03 22:06:53 +00:00
Bruno Dilly 3c2641d17a e/connman: Better online / ready status
Show it on wired / 3g / ... as well



SVN revision: 76074
2012-09-03 22:06:48 +00:00
Lucas De Marchi c781c7a1d7 e/connman: don't leak network name
SVN revision: 76070
2012-09-03 22:05:59 +00:00
Lucas De Marchi 11aeb5322d e/connman: discard previous message if a new arrives
SVN revision: 76069
2012-09-03 22:05:55 +00:00
Bruno Dilly 893d7160a0 e/connman: implement agent dialogs
With that it should already be possible to connect to many wifi networks:
wep, wpa, hidden, wpa enterprise... using wps.

Actually I didn't test anything.



SVN revision: 76068
2012-09-03 22:05:29 +00:00
Bruno Dilly aa826e29ff e/connman: fixes considering efl coding style
SVN revision: 76067
2012-09-03 22:05:23 +00:00
Lucas De Marchi 7d40b9ec7d e/connman: differentiate hidden networks
SVN revision: 76066
2012-09-03 22:04:57 +00:00
Lucas De Marchi 0fc7926e55 e/connman: Parse RequestInput message
It compiles, but it's untested. I didn't allocate Connman_Field because
I'm not sure it will be useful afterwards or if we only have to use it
to create the widget. If it will be used, it would be good to use
einastringshare for its values.



SVN revision: 76065
2012-09-03 22:04:53 +00:00
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