summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-05-31element: Remove IPv4Daniel Wagner3-17/+0
2011-05-31element: Remove connected failed codeDaniel Wagner2-9/+0
2011-05-31network: Use __connman_service_indicate_error for connetion failedDaniel Wagner2-2/+16
2011-05-31element: Remove unused CONNMAN_ELEMENT_ERROR_DHCP_FAILEDDaniel Wagner3-6/+0
2011-05-31element: Remove service codeDaniel Wagner2-3/+0
2011-05-31element: Remove vendor codeDaniel Wagner2-3/+0
2011-05-31element: Remove zeroconf codeDaniel Wagner2-3/+0
2011-05-31element: Remove bootp codeDaniel Wagner2-3/+0
2011-05-31element: Remove profile codeDaniel Wagner2-3/+0
2011-05-31element: Remove IPv6 element codeDaniel Wagner2-3/+0
2011-05-276to4: Remove unused variablesMarcel Holtmann1-3/+1
2011-05-27dnsproxy: Fix unused variable warningsMarcel Holtmann1-2/+10
2011-05-27rtnl: Fix debug handling to not cause false positivesMarcel Holtmann1-1/+1
2011-05-27timezone: Fix error handling of inotify functionMarcel Holtmann1-0/+3
2011-05-27network: Remove unused variablesMarcel Holtmann1-6/+0
2011-05-27task: Remove unused variableMarcel Holtmann1-2/+1
2011-05-27main: Remove unused variable old_umaskMarcel Holtmann1-2/+1
2011-05-27openvpn: Remove unused variable for VPN domainMarcel Holtmann1-3/+0
2011-05-27ofono: Remove unused code for online support checkMarcel Holtmann1-5/+1
2011-05-27wifi: Remove unused variableMarcel Holtmann1-2/+0
2011-05-27gdhcp: Remove unused variableMarcel Holtmann1-3/+0
2011-05-27tools: Fix unused variable warnings for WISPr clientMarcel Holtmann1-3/+12
2011-05-27gweb: Remove usage of unused variablesMarcel Holtmann1-2/+4
2011-05-27gdbus: Remove unused result variable from g_dbus_pending_successSzymon Janc1-2/+1
2011-05-22openvpn: Add remote-cert-tlsDaniel Wagner1-0/+1
2011-05-13session: Fix error path __connman_session_creat()Daniel Wagner1-0/+1
Don't free the session if it exists already.
2011-05-13session: Fix RoamingPolicy parsingDaniel Wagner1-1/+1
If the session has an invalid roaming policy and appending a NULL to the D-Bus message leads to a crash.
2011-05-13session: Use pointer for service_infoDaniel Wagner1-26/+49
Reduce the size of struct connman_session so that we don't have to load the whole data structure and increase the likeklihood that the data structure can stay in cache.
2011-05-13service: Remove unused __connman_service_*() functionsDaniel Wagner3-35/+1
These were only used in session.c which does not depend on them anymore.
2011-05-13session: Remove update_info()Daniel Wagner1-13/+10
2011-05-13session: Update bearer in create_service_entryDaniel Wagner1-21/+13
2011-05-13session: Update ifname in create_service_entryDaniel Wagner1-11/+12
2011-05-13session: Remove use of __connman_service_get_name()Daniel Wagner1-15/+12
2011-05-13session: Track service changes through notifierDaniel Wagner1-10/+46
2011-05-13session: Move reason into service_entryDaniel Wagner1-10/+8
2011-05-13service: Add create callback for __connman_service_get_list()Daniel Wagner3-51/+105
2011-05-13session: Add hash table to track service listDaniel Wagner1-52/+41
Instead of having our own code for finding the iterator pointers in the service list we are using the same approach as in service.c. Store the iterator in a service hash with the service as key and the service list iterator as value. With this we can get rid of service_remove_from_session and lookup_service.
2011-05-13session: Use service session usage countingDaniel Wagner1-21/+36
And introduce a new disconnect function which takes care if a service has to be disconnected if no other session is using this service.
2011-05-13service: Add __connman_service_session_inc()/dec()Daniel Wagner2-0/+26
2011-05-13session: Track connect reasonDaniel Wagner1-14/+74
2011-05-13session: Pass on all service state changesDaniel Wagner1-10/+8
All session should be informed that when there is service state change. For example, if one session calls Session.Connect() and the other session is only wants to free ride then it also needs to be informed (call session_changed).
2011-05-13session: Fix indentionDaniel Wagner1-1/+1
2011-05-13service: Fix forwared declerationDaniel Wagner2-1/+3
2011-05-08tools: Add support for broken WISPr responsesMarcel Holtmann1-3/+23
Some hotspots answer with 404 or 200 responses, but are still in login stage. If the WISPr XML strings are found, treat all status results the same to trigger login procedure.
2011-05-08tools: Add support for WISPr authentication pollingMarcel Holtmann1-3/+20
To log into a FON access point, the redirect site needs to be requested since it contains the 2nd stage authentication challenge.
2011-05-03network: Return an Error Appropriate for Function SignatureGrant Erickson1-1/+1
Currently, one of the return paths in __connman_network_set_ipconfig returns FALSE, inconsistently with its function signature return type of 'int'. This patch returns the error code specified in 'ret'.
2011-05-02session: Call update_info() if service changesDaniel Wagner1-32/+6
Instead of trying to figure out when to call update_info() at various places, just call update_info() at the end of session_changed when the selected service has been changed. Another noteworthy change is the remove of g_timeout_add_seconds(..., session_notify(), ...). It was introduced to 'fix' a problem where sometimes the notification message was not send. The source of this problem seemed to be that session_notify() couldn't be called if the current context was called from a incoming D-Bus call (e.g. Session.Connect()). Though without g_timeout_add_seconds it still works now. So it's properly better to remove it again since it's seems not necessary.
2011-05-02session: Fix NULL pointer name appendDaniel Wagner1-0/+2
A network name can be NULL, for example for a wifi network.
2011-04-28session: Refactor session_changedDaniel Wagner1-44/+142
Pass the type of the trigger into session_changed. With this additional information it's simpler to decide what to do and it allows calling session_notify inside session_changed either directly or via g_timeout_add_seconds.
2011-04-28session: Factor out select code from session_changedDaniel Wagner1-31/+28