summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-09-08Release 0.600.60Marcel Holtmann2-1/+10
2010-09-08network: don't connect if already removedPekka Pessi1-0/+3
2010-09-08network: don't add into profile while unregisteredPekka Pessi1-5/+9
The connman_network_set_group() created an extra ref to service if it was called before network was probed and registered.
2010-09-08service: debug log ref and unrefPekka Pessi1-1/+3
2010-09-08Revert "service: don't keep ref to a removed network"Pekka Pessi1-6/+0
This reverts commit 485625099ef90e11099157dd72fbbebe04a74680.
2010-09-08Set the devices offline mode to FALSE when setting the Powered propertySamuel Ortiz1-1/+8
2010-09-08Fix calling watch callbacks after it has been removedLuiz Augusto von Dentz1-30/+49
Pending call should be removed if the watch is removed since the application no longer expect that to be reached and may already freed the data associated with it.
2010-09-08Fix signal watch when a service name is givenLuiz Augusto Von Dentz1-33/+128
The bus name should be resolved when adding a watch by service name since messages do always come with sender set to owner's bus name, also it should listen to owner updates since it can change without invalidating the watch.
2010-09-08Do not automatically remove watches for service namesLuiz Augusto Von Dentz1-6/+7
Services can be owned again so it is perfectly fine to keep the watch.
2010-09-08Try to detect portal even if the location driver is already setSamuel Ortiz1-2/+9
With DHCP renewals the ConnMan state can go from Online to Ready and a location detect will start. Since the location driver is already set by then, this will fail and ConnMan's state will be stuck at Ready. Instead of returning an error, the location finish() hooks is called and a new portal detection is triggered.
2010-09-08Send Ethernet property changed signal when the ipconfig layer is enabledSamuel Ortiz1-4/+9
2010-09-07Reset proxy setting when disconnectingSamuel Ortiz1-0/+2
2010-08-28service: don't keep ref to a removed networkPekka Pessi1-0/+6
2010-08-28device: remove stale pointer from networkPekka Pessi1-0/+2
2010-08-28Ingnore the offline operation of the blocked deviceMartin Xu1-0/+3
2010-08-22Release 0.590.59Marcel Holtmann2-1/+4
2010-08-21Ensure that all provider object paths are validMarcel Holtmann1-3/+9
2010-08-21Ensure to also replace colon in provider D-Bus object pathMarcel Holtmann1-1/+1
2010-08-21Release 0.580.58Marcel Holtmann2-1/+8
2010-08-21Fix VPN nameservers parsingSamuel Ortiz1-4/+10
2010-08-21Disconnect VPNs when no physical services are leftSamuel Ortiz2-12/+9
This was previously handled by the provider notifier code, but with the VPNs being moved to the service list top, it has to be handled from the service layer directly.
2010-08-20Default service change notification when going onlineSamuel Ortiz1-0/+3
2010-08-20VPN services should have the highest orderSamuel Ortiz1-0/+2
2010-08-20VPN services also have an interfaceSamuel Ortiz1-0/+6
Although they don't have any networks, they have an interface.
2010-08-20Set VPN services as the default onesSamuel Ortiz1-4/+11
With full-tunnel VPNs, the default service should be the VPN one.
2010-08-20Service lookup based on interface indexSamuel Ortiz2-0/+20
This routine allows to go from an interface index to a service pointer.
2010-08-20error: fix warning about formatting stringPekka Pessi1-1/+1
2010-08-20Make backtrace script a bit more genericMarcel Holtmann1-3/+3
2010-08-20Move the backtrace functions to a different placeMarcel Holtmann1-46/+46
2010-08-20Fix iptables-test to work with iptables 1.4.9Robert Piasek1-2/+2
Starting with version 1.4.9 iptables dropped xtables_set_revision function. This patch removes any use of it.
2010-08-19Remove wrong comma from D-Bus error message helperMarcel Holtmann1-1/+1
2010-08-19Add printf format attribute for error creation helperMarcel Holtmann1-1/+2
2010-08-19Fix whitespace damageDaniel Wagner1-1/+1
2010-08-18Add support for roaming/home network statisticDaniel Wagner4-189/+288
Currently connman only has one set of counters for collecting statistics on online time and the amount of transfered bytes. For 3G connections we should destinguish between home network and roaming. This patch introduces two sets of counter values for home network and roaming network. Changing from Home to Roaming counters relies on connman_network_set_roaming being called. Currently, this is only done in the ofono plugin. Getting Wifi 'Hot-Spot Provider' Roaming (e.g. T-Mobile Germany to T-Mobile USA) is not yet working.
2010-08-18Remove "__connman" prefix from static functionsDaniel Wagner3-23/+23
__connman prefixes are for non static functions exported to all connman core code (but not plugins). connman prefixes are for non static functions exported to all connman (core and plugins).
2010-08-18Add configuration file naming rules to documentationFabien Marotte1-2/+2
In case the user provides configuration files to connman, the file name must respect some rules.
2010-08-17Always check for ns_initparsePekka Pessi1-6/+6
ns_initparse is used by gresolv, too.
2010-08-17Backtrace support documentationSamuel Ortiz1-0/+28
2010-08-17Fix backtrace script formatting and mode bitsSamuel Ortiz1-10/+12
2010-08-17ConnMan backtrace supportSamuel Ortiz3-1/+107
Add a generic signal handler in order to dump ConnMan backtrace when crashing. The implementation is based on glibc backtrace() routines and thus can not resolve static function names. A little python wrapper over addr2line fixes that by taking a full backtrace from a complete connman log file.
2010-08-17Remove some pointless spaces violating the coding styleMarcel Holtmann1-2/+2
2010-08-17Add support for EAP-TTLS configurationFabien Marotte2-5/+14
EAP-TTLS and EAP-PEAP are similar in terms of options to pass to wpa_supplicant. So in case of TTLS, the PEAP path is used.
2010-08-17Add more debug statements to DHCP libraryMarcel Holtmann1-0/+21
2010-08-16Save profile when enabling device while in offline modeSamuel Ortiz1-1/+4
The profile is no longer offline when doing so and that state change should be stored.
2010-08-13Remove bluetooth network from device only when device is removedSamuel Ortiz1-17/+16
unregister_network could be called twice when unplugging and plugging the same bluetooth dongle, when the same network gets detected.
2010-08-13Disable technology when removing deviceSamuel Ortiz2-2/+5
If device_disable() returns being in progress, the technology has to be disabled. Some technologies like 3G will call remove_device directly when unplugging a modem and without disabling the corresponding technology, the notifier enabled refcounts will get out pf sync.
2010-08-12Release 0.570.57Marcel Holtmann2-1/+9
2010-08-12Both host and domain provider strings should not be NULLSamuel Ortiz1-1/+1
2010-08-12Device is not offline when enabled succeeds or is in progressSamuel Ortiz1-4/+2
2010-08-10Fix typoMarcel Holtmann1-1/+1